@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
|
@@ -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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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/
|
|
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,
|
|
@@ -154731,6 +154731,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154731
154731
|
GoogleAdMob: function GoogleAdMob() {
|
|
154732
154732
|
return _GoogleAdMob;
|
|
154733
154733
|
},
|
|
154734
|
+
IAP: function IAP() {
|
|
154735
|
+
return _IAP;
|
|
154736
|
+
},
|
|
154737
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: function INTERNAL__onVisibilityChangedByTransparentServiceWeb() {
|
|
154738
|
+
return _INTERNAL__onVisibilityChangedByTransparentServiceWeb;
|
|
154739
|
+
},
|
|
154734
154740
|
Storage: function Storage() {
|
|
154735
154741
|
return _Storage;
|
|
154736
154742
|
},
|
|
@@ -154782,6 +154788,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154782
154788
|
openCamera: function openCamera() {
|
|
154783
154789
|
return _openCamera;
|
|
154784
154790
|
},
|
|
154791
|
+
saveBase64Data: function saveBase64Data() {
|
|
154792
|
+
return _saveBase64Data;
|
|
154793
|
+
},
|
|
154785
154794
|
setClipboardText: function setClipboardText() {
|
|
154786
154795
|
return _setClipboardText;
|
|
154787
154796
|
},
|
|
@@ -154791,6 +154800,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154791
154800
|
startUpdateLocation: function startUpdateLocation() {
|
|
154792
154801
|
return _startUpdateLocation;
|
|
154793
154802
|
},
|
|
154803
|
+
useCreateUserAgent: function useCreateUserAgent() {
|
|
154804
|
+
return _useCreateUserAgent;
|
|
154805
|
+
},
|
|
154794
154806
|
useGeolocation: function useGeolocation() {
|
|
154795
154807
|
return _useGeolocation;
|
|
154796
154808
|
}
|
|
@@ -154799,7 +154811,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154799
154811
|
var import_analytics2 = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154800
154812
|
var import_analytics = _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics");
|
|
154801
154813
|
var import_react_native6 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154802
|
-
var
|
|
154814
|
+
var import_react_native_bedrock8 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154803
154815
|
var import_react2 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154804
154816
|
var import_react_native_bedrock2 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154805
154817
|
var _env = {
|
|
@@ -154989,7 +155001,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
154989
155001
|
};
|
|
154990
155002
|
var import_react_native5 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
154991
155003
|
var import_react3 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
154992
|
-
var
|
|
155004
|
+
var import_react_native_bedrock7 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154993
155005
|
var import_react_native_bedrock3 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
154994
155006
|
var EntryMessageExitedEvent = function (_import_react_native_) {
|
|
154995
155007
|
function EntryMessageExitedEvent() {
|
|
@@ -155196,7 +155208,50 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155196
155208
|
}
|
|
155197
155209
|
}]);
|
|
155198
155210
|
}(import_react_native_bedrock5.BedrockEventDefinition);
|
|
155199
|
-
var
|
|
155211
|
+
var import_react_native_bedrock6 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155212
|
+
var VisibilityChangedByTransparentServiceWebEvent = function (_import_react_native_4) {
|
|
155213
|
+
function VisibilityChangedByTransparentServiceWebEvent() {
|
|
155214
|
+
var _this5;
|
|
155215
|
+
_classCallCheck(this, VisibilityChangedByTransparentServiceWebEvent);
|
|
155216
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
155217
|
+
args[_key4] = arguments[_key4];
|
|
155218
|
+
}
|
|
155219
|
+
_this5 = _callSuper(this, VisibilityChangedByTransparentServiceWebEvent, [].concat(args));
|
|
155220
|
+
_this5.name = "onVisibilityChangedByTransparentServiceWeb";
|
|
155221
|
+
_this5.subscription = null;
|
|
155222
|
+
return _this5;
|
|
155223
|
+
}
|
|
155224
|
+
_inherits(VisibilityChangedByTransparentServiceWebEvent, _import_react_native_4);
|
|
155225
|
+
return _createClass(VisibilityChangedByTransparentServiceWebEvent, [{
|
|
155226
|
+
key: "remove",
|
|
155227
|
+
value: function remove() {
|
|
155228
|
+
var _this$subscription;
|
|
155229
|
+
(_this$subscription = this.subscription) === null || _this$subscription === void 0 || _this$subscription.remove();
|
|
155230
|
+
this.subscription = null;
|
|
155231
|
+
}
|
|
155232
|
+
}, {
|
|
155233
|
+
key: "listener",
|
|
155234
|
+
value: function listener(options, onEvent, onError) {
|
|
155235
|
+
var _this6 = this;
|
|
155236
|
+
var subscription = nativeEventEmitter.addListener("visibilityChangedByTransparentServiceWeb", function (params) {
|
|
155237
|
+
if (_this6.isVisibilityChangedByTransparentServiceWebResult(params)) {
|
|
155238
|
+
if (params.callbackId === options.callbackId) {
|
|
155239
|
+
onEvent(params.isVisible);
|
|
155240
|
+
}
|
|
155241
|
+
} else {
|
|
155242
|
+
onError(new Error("Invalid visibility changed by transparent service web result"));
|
|
155243
|
+
}
|
|
155244
|
+
});
|
|
155245
|
+
this.subscription = subscription;
|
|
155246
|
+
}
|
|
155247
|
+
}, {
|
|
155248
|
+
key: "isVisibilityChangedByTransparentServiceWebResult",
|
|
155249
|
+
value: function isVisibilityChangedByTransparentServiceWebResult(params) {
|
|
155250
|
+
return _typeof(params) === "object" && typeof params.callbackId === "string" && typeof params.isVisible === "boolean";
|
|
155251
|
+
}
|
|
155252
|
+
}]);
|
|
155253
|
+
}(import_react_native_bedrock6.BedrockEventDefinition);
|
|
155254
|
+
var _appsInTossEvent = new import_react_native_bedrock7.BedrockEvent([new UpdateLocationEvent(), new EntryMessageExitedEvent(), new AppBridgeCallbackEvent(), new VisibilityChangedByTransparentServiceWebEvent()]);
|
|
155200
155255
|
function getAppsInTossGlobals() {
|
|
155201
155256
|
if (global.__appsInToss == null) {
|
|
155202
155257
|
throw new Error("invalid apps-in-toss globals");
|
|
@@ -155258,6 +155313,9 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155258
155313
|
openCamera: function openCamera() {
|
|
155259
155314
|
return _openCamera;
|
|
155260
155315
|
},
|
|
155316
|
+
saveBase64Data: function saveBase64Data() {
|
|
155317
|
+
return _saveBase64Data;
|
|
155318
|
+
},
|
|
155261
155319
|
setClipboardText: function setClipboardText() {
|
|
155262
155320
|
return _setClipboardText;
|
|
155263
155321
|
},
|
|
@@ -155633,6 +155691,36 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155633
155691
|
}));
|
|
155634
155692
|
return _setDeviceOrientation2.apply(this, arguments);
|
|
155635
155693
|
}
|
|
155694
|
+
function _saveBase64Data(_x11) {
|
|
155695
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155696
|
+
}
|
|
155697
|
+
function _saveBase64Data2() {
|
|
155698
|
+
_saveBase64Data2 = _asyncToGenerator(_regeneratorRuntime().mark(function _callee16(params) {
|
|
155699
|
+
var isSupported;
|
|
155700
|
+
return _regeneratorRuntime().wrap(function _callee16$(_context16) {
|
|
155701
|
+
while (1) switch (_context16.prev = _context16.next) {
|
|
155702
|
+
case 0:
|
|
155703
|
+
isSupported = _isMinVersionSupported({
|
|
155704
|
+
android: "5.218.0",
|
|
155705
|
+
ios: "5.216.0"
|
|
155706
|
+
});
|
|
155707
|
+
if (isSupported) {
|
|
155708
|
+
_context16.next = 4;
|
|
155709
|
+
break;
|
|
155710
|
+
}
|
|
155711
|
+
console.warn("saveBase64Data is not supported in this app version");
|
|
155712
|
+
return _context16.abrupt("return");
|
|
155713
|
+
case 4:
|
|
155714
|
+
_context16.next = 6;
|
|
155715
|
+
return AppsInTossModule.saveBase64Data(params);
|
|
155716
|
+
case 6:
|
|
155717
|
+
case "end":
|
|
155718
|
+
return _context16.stop();
|
|
155719
|
+
}
|
|
155720
|
+
}, _callee16);
|
|
155721
|
+
}));
|
|
155722
|
+
return _saveBase64Data2.apply(this, arguments);
|
|
155723
|
+
}
|
|
155636
155724
|
var import_jsx_runtime = _$$_REQUIRE(_dependencyMap[5], "react/jsx-runtime");
|
|
155637
155725
|
function AppsInTossContainer(Container, _ref7) {
|
|
155638
155726
|
var children = _ref7.children,
|
|
@@ -155670,7 +155758,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155670
155758
|
},
|
|
155671
155759
|
debug: (_analytics$debug = analytics === null || analytics === void 0 ? void 0 : analytics.debug) !== null && _analytics$debug !== void 0 ? _analytics$debug : __DEV__
|
|
155672
155760
|
});
|
|
155673
|
-
return
|
|
155761
|
+
return import_react_native_bedrock8.Bedrock.registerApp(AppsInTossContainer.bind(null, container), {
|
|
155674
155762
|
appName: getAppName(),
|
|
155675
155763
|
context: context,
|
|
155676
155764
|
router: {
|
|
@@ -155832,7 +155920,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155832
155920
|
function createIsSupported() {
|
|
155833
155921
|
return function () {
|
|
155834
155922
|
if (ENVIRONMENT !== "toss") {
|
|
155835
|
-
console.warn("Google AdMob is not supported in the current environment");
|
|
155836
155923
|
return false;
|
|
155837
155924
|
}
|
|
155838
155925
|
return _isMinVersionSupported({
|
|
@@ -155876,6 +155963,66 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155876
155963
|
removeItem: removeItem,
|
|
155877
155964
|
clearItems: clearItems
|
|
155878
155965
|
};
|
|
155966
|
+
function createOneTimePurchaseOrder(_x12) {
|
|
155967
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155968
|
+
}
|
|
155969
|
+
function _createOneTimePurchaseOrder() {
|
|
155970
|
+
_createOneTimePurchaseOrder = _asyncToGenerator(_regeneratorRuntime().mark(function _callee17(params) {
|
|
155971
|
+
var isSupported;
|
|
155972
|
+
return _regeneratorRuntime().wrap(function _callee17$(_context17) {
|
|
155973
|
+
while (1) switch (_context17.prev = _context17.next) {
|
|
155974
|
+
case 0:
|
|
155975
|
+
isSupported = _isMinVersionSupported({
|
|
155976
|
+
android: "5.219.0",
|
|
155977
|
+
ios: "5.219.0"
|
|
155978
|
+
});
|
|
155979
|
+
if (isSupported) {
|
|
155980
|
+
_context17.next = 3;
|
|
155981
|
+
break;
|
|
155982
|
+
}
|
|
155983
|
+
return _context17.abrupt("return");
|
|
155984
|
+
case 3:
|
|
155985
|
+
return _context17.abrupt("return", AppsInTossModule.iapCreateOneTimePurchaseOrder(params));
|
|
155986
|
+
case 4:
|
|
155987
|
+
case "end":
|
|
155988
|
+
return _context17.stop();
|
|
155989
|
+
}
|
|
155990
|
+
}, _callee17);
|
|
155991
|
+
}));
|
|
155992
|
+
return _createOneTimePurchaseOrder.apply(this, arguments);
|
|
155993
|
+
}
|
|
155994
|
+
function getProductItemList() {
|
|
155995
|
+
return _getProductItemList.apply(this, arguments);
|
|
155996
|
+
}
|
|
155997
|
+
function _getProductItemList() {
|
|
155998
|
+
_getProductItemList = _asyncToGenerator(_regeneratorRuntime().mark(function _callee18() {
|
|
155999
|
+
var isSupported;
|
|
156000
|
+
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
156001
|
+
while (1) switch (_context18.prev = _context18.next) {
|
|
156002
|
+
case 0:
|
|
156003
|
+
isSupported = _isMinVersionSupported({
|
|
156004
|
+
android: "5.219.0",
|
|
156005
|
+
ios: "5.219.0"
|
|
156006
|
+
});
|
|
156007
|
+
if (isSupported) {
|
|
156008
|
+
_context18.next = 3;
|
|
156009
|
+
break;
|
|
156010
|
+
}
|
|
156011
|
+
return _context18.abrupt("return");
|
|
156012
|
+
case 3:
|
|
156013
|
+
return _context18.abrupt("return", AppsInTossModule.iapGetProductItemList({}));
|
|
156014
|
+
case 4:
|
|
156015
|
+
case "end":
|
|
156016
|
+
return _context18.stop();
|
|
156017
|
+
}
|
|
156018
|
+
}, _callee18);
|
|
156019
|
+
}));
|
|
156020
|
+
return _getProductItemList.apply(this, arguments);
|
|
156021
|
+
}
|
|
156022
|
+
var _IAP = {
|
|
156023
|
+
createOneTimePurchaseOrder: createOneTimePurchaseOrder,
|
|
156024
|
+
getProductItemList: getProductItemList
|
|
156025
|
+
};
|
|
155879
156026
|
var _TossPay = {
|
|
155880
156027
|
checkoutPayment: _checkoutPayment
|
|
155881
156028
|
};
|
|
@@ -155885,10 +156032,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155885
156032
|
loadAdMobRewardedAd: loadAdMobRewardedAd,
|
|
155886
156033
|
showAdMobRewardedAd: showAdMobRewardedAd
|
|
155887
156034
|
};
|
|
155888
|
-
var
|
|
156035
|
+
var import_react_native15 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155889
156036
|
var import_private = _$$_REQUIRE(_dependencyMap[6], "@toss-design-system/react-native/private");
|
|
155890
|
-
var
|
|
155891
|
-
var
|
|
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");
|
|
155892
156040
|
var bedrockAsyncBridges = __toESM(_$$_REQUIRE(_dependencyMap[7], "react-native-bedrock/async-bridges"), 1);
|
|
155893
156041
|
var bedrockConstantBridges = __toESM(_$$_REQUIRE(_dependencyMap[8], "react-native-bedrock/constant-bridges"), 1);
|
|
155894
156042
|
var import_react_native_webview = _$$_REQUIRE(_dependencyMap[9], "@react-native-bedrock/native/react-native-webview");
|
|
@@ -155896,7 +156044,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
155896
156044
|
var import_es_hangul = _$$_REQUIRE(_dependencyMap[10], "es-hangul");
|
|
155897
156045
|
var import_react4 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
155898
156046
|
var import_react_native13 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
155899
|
-
var
|
|
156047
|
+
var import_react_native_bedrock9 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
155900
156048
|
var import_react_native_svg = _$$_REQUIRE(_dependencyMap[11], "@react-native-bedrock/native/react-native-svg");
|
|
155901
156049
|
var import_react_native10 = _$$_REQUIRE(_dependencyMap[1], "@toss-design-system/react-native");
|
|
155902
156050
|
var import_react_native11 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
@@ -156017,7 +156165,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156017
156165
|
case 2:
|
|
156018
156166
|
isConfirmed = _context.sent;
|
|
156019
156167
|
if (isConfirmed) {
|
|
156020
|
-
(0,
|
|
156168
|
+
(0, import_react_native_bedrock9.closeView)();
|
|
156021
156169
|
}
|
|
156022
156170
|
case 4:
|
|
156023
156171
|
case "end":
|
|
@@ -156027,11 +156175,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156027
156175
|
})), [brandDisplayName, openConfirm]);
|
|
156028
156176
|
(0, import_react4.useEffect)(function () {
|
|
156029
156177
|
if (import_react_native13.Platform.OS === "ios") {
|
|
156030
|
-
(0,
|
|
156178
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
156031
156179
|
isEnabled: false
|
|
156032
156180
|
});
|
|
156033
156181
|
return function () {
|
|
156034
|
-
(0,
|
|
156182
|
+
(0, import_react_native_bedrock9.setIosSwipeGestureEnabled)({
|
|
156035
156183
|
isEnabled: true
|
|
156036
156184
|
});
|
|
156037
156185
|
};
|
|
@@ -156194,7 +156342,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156194
156342
|
}
|
|
156195
156343
|
}, _callee3);
|
|
156196
156344
|
}));
|
|
156197
|
-
return function (
|
|
156345
|
+
return function (_x13) {
|
|
156198
156346
|
return _ref19.apply(this, arguments);
|
|
156199
156347
|
};
|
|
156200
156348
|
}(), [onMessage]);
|
|
@@ -156222,7 +156370,51 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156222
156370
|
return _startUpdateLocation;
|
|
156223
156371
|
}
|
|
156224
156372
|
});
|
|
156225
|
-
var
|
|
156373
|
+
var import_react_native14 = _$$_REQUIRE(_dependencyMap[4], "react-native");
|
|
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");
|
|
156226
156418
|
var extractDateFromUUIDv7 = function extractDateFromUUIDv7(uuid) {
|
|
156227
156419
|
var timestampHex = uuid.split("-").join("").slice(0, 12);
|
|
156228
156420
|
var timestamp = Number.parseInt(timestampHex, 16);
|
|
@@ -156244,7 +156436,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156244
156436
|
};
|
|
156245
156437
|
var getReferrer = function getReferrer() {
|
|
156246
156438
|
try {
|
|
156247
|
-
var referrer = new URL((0,
|
|
156439
|
+
var referrer = new URL((0, import_react_native_bedrock12.getSchemeUri)());
|
|
156248
156440
|
return referrer.searchParams.get("referrer");
|
|
156249
156441
|
} catch (_unused4) {
|
|
156250
156442
|
return "";
|
|
@@ -156271,13 +156463,13 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156271
156463
|
var operationalEnvironment = _getOperationalEnvironment();
|
|
156272
156464
|
var TYPES = ["partner", "external", "game"];
|
|
156273
156465
|
var WEBVIEW_TYPES = {
|
|
156274
|
-
partner:
|
|
156275
|
-
external:
|
|
156466
|
+
partner: import_react_native15.PartnerWebViewScreen,
|
|
156467
|
+
external: import_react_native15.ExternalWebViewScreen,
|
|
156276
156468
|
game: GameWebView
|
|
156277
156469
|
};
|
|
156278
156470
|
function mergeSchemeQueryParamsInto(url) {
|
|
156279
156471
|
var baseUrl = new URL(url);
|
|
156280
|
-
var schemeUrl = new URL((0,
|
|
156472
|
+
var schemeUrl = new URL((0, import_react_native_bedrock13.getSchemeUri)());
|
|
156281
156473
|
baseUrl.pathname = schemeUrl.pathname;
|
|
156282
156474
|
var _iterator2 = _createForOfIteratorHelper(schemeUrl.searchParams.entries()),
|
|
156283
156475
|
_step2;
|
|
@@ -156309,55 +156501,56 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156309
156501
|
}
|
|
156310
156502
|
return url.toString();
|
|
156311
156503
|
}
|
|
156312
|
-
function _WebView(
|
|
156313
|
-
var type =
|
|
156314
|
-
local =
|
|
156315
|
-
onMessage =
|
|
156316
|
-
props = _objectWithoutProperties(
|
|
156504
|
+
function _WebView(_ref24) {
|
|
156505
|
+
var type = _ref24.type,
|
|
156506
|
+
local = _ref24.local,
|
|
156507
|
+
onMessage = _ref24.onMessage,
|
|
156508
|
+
props = _objectWithoutProperties(_ref24, _excluded3);
|
|
156317
156509
|
if (!TYPES.includes(type)) {
|
|
156318
156510
|
throw new Error("Invalid WebView type: '".concat(type, "'"));
|
|
156319
156511
|
}
|
|
156320
|
-
var bedrockEvent = (0,
|
|
156321
|
-
var uri = (0,
|
|
156512
|
+
var bedrockEvent = (0, import_react_native_bedrock13.useBedrockEvent)();
|
|
156513
|
+
var uri = (0, import_react7.useMemo)(function () {
|
|
156322
156514
|
return getWebViewUri(local);
|
|
156323
156515
|
}, [local]);
|
|
156324
156516
|
var top = (0, import_private.useSafeAreaTop)();
|
|
156325
156517
|
var bottom = (0, import_private.useSafeAreaBottom)();
|
|
156518
|
+
var global2 = getAppsInTossGlobals();
|
|
156326
156519
|
var handler = useBridgeHandler({
|
|
156327
156520
|
onMessage: onMessage,
|
|
156328
156521
|
eventListenerMap: _objectSpread(_objectSpread({}, event_bridges_exports), {}, {
|
|
156329
|
-
backEvent: function backEvent(
|
|
156330
|
-
var onEvent =
|
|
156331
|
-
onError =
|
|
156332
|
-
options =
|
|
156522
|
+
backEvent: function backEvent(_ref25) {
|
|
156523
|
+
var onEvent = _ref25.onEvent,
|
|
156524
|
+
onError = _ref25.onError,
|
|
156525
|
+
options = _ref25.options;
|
|
156333
156526
|
return bedrockEvent.addEventListener("backEvent", {
|
|
156334
156527
|
onEvent: onEvent,
|
|
156335
156528
|
onError: onError,
|
|
156336
156529
|
options: options
|
|
156337
156530
|
});
|
|
156338
156531
|
},
|
|
156339
|
-
entryMessageExited: function entryMessageExited(
|
|
156340
|
-
var onEvent =
|
|
156341
|
-
onError =
|
|
156532
|
+
entryMessageExited: function entryMessageExited(_ref26) {
|
|
156533
|
+
var onEvent = _ref26.onEvent,
|
|
156534
|
+
onError = _ref26.onError;
|
|
156342
156535
|
return _appsInTossEvent.addEventListener("entryMessageExited", {
|
|
156343
156536
|
onEvent: onEvent,
|
|
156344
156537
|
onError: onError
|
|
156345
156538
|
});
|
|
156346
156539
|
},
|
|
156347
|
-
updateLocationEvent: function updateLocationEvent(
|
|
156348
|
-
var onEvent =
|
|
156349
|
-
onError =
|
|
156350
|
-
options =
|
|
156540
|
+
updateLocationEvent: function updateLocationEvent(_ref27) {
|
|
156541
|
+
var onEvent = _ref27.onEvent,
|
|
156542
|
+
onError = _ref27.onError,
|
|
156543
|
+
options = _ref27.options;
|
|
156351
156544
|
return _appsInTossEvent.addEventListener("updateLocationEvent", {
|
|
156352
156545
|
onEvent: onEvent,
|
|
156353
156546
|
onError: onError,
|
|
156354
156547
|
options: options
|
|
156355
156548
|
});
|
|
156356
156549
|
},
|
|
156357
|
-
appBridgeCallbackEvent: function appBridgeCallbackEvent(
|
|
156358
|
-
var onEvent =
|
|
156359
|
-
onError =
|
|
156360
|
-
options =
|
|
156550
|
+
appBridgeCallbackEvent: function appBridgeCallbackEvent(_ref28) {
|
|
156551
|
+
var onEvent = _ref28.onEvent,
|
|
156552
|
+
onError = _ref28.onError,
|
|
156553
|
+
options = _ref28.options;
|
|
156361
156554
|
return _appsInTossEvent.addEventListener("appBridgeCallbackEvent", {
|
|
156362
156555
|
onEvent: onEvent,
|
|
156363
156556
|
onError: onError,
|
|
@@ -156369,13 +156562,21 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156369
156562
|
loadAdMobRewardedAd: _GoogleAdMob.loadAdMobRewardedAd,
|
|
156370
156563
|
showAdMobRewardedAd: _GoogleAdMob.showAdMobRewardedAd
|
|
156371
156564
|
}),
|
|
156372
|
-
constantHandlerMap: _objectSpread(_objectSpread(_objectSpread({}, bedrockConstantBridges), constant_bridges_exports), {}, {
|
|
156565
|
+
constantHandlerMap: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, bedrockConstantBridges), constant_bridges_exports), {}, {
|
|
156373
156566
|
getSafeAreaTop: function getSafeAreaTop() {
|
|
156374
156567
|
return top;
|
|
156375
156568
|
},
|
|
156376
156569
|
getSafeAreaBottom: function getSafeAreaBottom() {
|
|
156377
156570
|
return bottom;
|
|
156378
|
-
}
|
|
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
|
+
}))), {}, {
|
|
156379
156580
|
loadAdMobInterstitialAd_isSupported: _GoogleAdMob.loadAdMobInterstitialAd.isSupported,
|
|
156380
156581
|
showAdMobInterstitialAd_isSupported: _GoogleAdMob.showAdMobInterstitialAd.isSupported,
|
|
156381
156582
|
loadAdMobRewardedAd_isSupported: _GoogleAdMob.loadAdMobRewardedAd.isSupported,
|
|
@@ -156387,10 +156588,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156387
156588
|
getStorageItem: _Storage.getItem,
|
|
156388
156589
|
setStorageItem: _Storage.setItem,
|
|
156389
156590
|
removeStorageItem: _Storage.removeItem,
|
|
156390
|
-
clearItems: _Storage.clearItems
|
|
156591
|
+
clearItems: _Storage.clearItems,
|
|
156592
|
+
iapCreateOneTimePurchaseOrder: _IAP.createOneTimePurchaseOrder,
|
|
156593
|
+
iapGetProductItemList: _IAP.getProductItemList
|
|
156391
156594
|
})
|
|
156392
156595
|
});
|
|
156393
|
-
var baseProps = (0,
|
|
156596
|
+
var baseProps = (0, import_react7.useMemo)(function () {
|
|
156394
156597
|
switch (type) {
|
|
156395
156598
|
case "partner":
|
|
156396
156599
|
{
|
|
@@ -156421,17 +156624,24 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156421
156624
|
}, [type, props]);
|
|
156422
156625
|
var BaseWebView = WEBVIEW_TYPES[type];
|
|
156423
156626
|
var webViewDebuggingEnabled = operationalEnvironment === "sandbox";
|
|
156424
|
-
var handleNavigationStateChange = (0,
|
|
156627
|
+
var handleNavigationStateChange = (0, import_react7.useCallback)(function (event) {
|
|
156425
156628
|
if (event.url) {
|
|
156426
156629
|
trackScreen(event.url);
|
|
156427
156630
|
}
|
|
156428
156631
|
}, []);
|
|
156632
|
+
var userAgent = _useCreateUserAgent({
|
|
156633
|
+
colorPreference: "light"
|
|
156634
|
+
});
|
|
156429
156635
|
return (0, import_jsx_runtime5.jsx)(BaseWebView, _objectSpread(_objectSpread(_objectSpread({
|
|
156430
156636
|
ref: handler.ref
|
|
156431
156637
|
}, props), baseProps), {}, {
|
|
156432
156638
|
source: {
|
|
156433
|
-
uri: uri
|
|
156639
|
+
uri: uri,
|
|
156640
|
+
headers: {
|
|
156641
|
+
"User-Agent": userAgent
|
|
156642
|
+
}
|
|
156434
156643
|
},
|
|
156644
|
+
userAgent: import_react_native16.Platform.OS === "ios" ? userAgent : void 0,
|
|
156435
156645
|
sharedCookiesEnabled: true,
|
|
156436
156646
|
webviewDebuggingEnabled: webViewDebuggingEnabled,
|
|
156437
156647
|
thirdPartyCookiesEnabled: true,
|
|
@@ -156447,33 +156657,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156447
156657
|
}
|
|
156448
156658
|
return value;
|
|
156449
156659
|
}
|
|
156450
|
-
var import_react7 = _$$_REQUIRE(_dependencyMap[3], "react");
|
|
156451
|
-
var import_react_native_bedrock11 = _$$_REQUIRE(_dependencyMap[2], "react-native-bedrock");
|
|
156452
|
-
function _useGeolocation(_ref25) {
|
|
156453
|
-
var accuracy = _ref25.accuracy,
|
|
156454
|
-
distanceInterval = _ref25.distanceInterval,
|
|
156455
|
-
timeInterval = _ref25.timeInterval;
|
|
156456
|
-
var isVisible = (0, import_react_native_bedrock11.useVisibility)();
|
|
156457
|
-
var _ref26 = (0, import_react7.useState)(null),
|
|
156458
|
-
_ref27 = _slicedToArray(_ref26, 2),
|
|
156459
|
-
location = _ref27[0],
|
|
156460
|
-
setLocation = _ref27[1];
|
|
156461
|
-
(0, import_react7.useEffect)(function () {
|
|
156462
|
-
if (!isVisible) {
|
|
156463
|
-
return;
|
|
156464
|
-
}
|
|
156465
|
-
return _startUpdateLocation({
|
|
156466
|
-
options: {
|
|
156467
|
-
accuracy: accuracy,
|
|
156468
|
-
distanceInterval: distanceInterval,
|
|
156469
|
-
timeInterval: timeInterval
|
|
156470
|
-
},
|
|
156471
|
-
onEvent: setLocation,
|
|
156472
|
-
onError: console.error
|
|
156473
|
-
});
|
|
156474
|
-
}, [accuracy, distanceInterval, timeInterval, isVisible]);
|
|
156475
|
-
return location;
|
|
156476
|
-
}
|
|
156477
156660
|
var Accuracy2 = function (Accuracy3) {
|
|
156478
156661
|
Accuracy3[Accuracy3["Lowest"] = 1] = "Lowest";
|
|
156479
156662
|
Accuracy3[Accuracy3["Low"] = 2] = "Low";
|
|
@@ -156483,6 +156666,10 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156483
156666
|
Accuracy3[Accuracy3["BestForNavigation"] = 6] = "BestForNavigation";
|
|
156484
156667
|
return Accuracy3;
|
|
156485
156668
|
}(Accuracy2 || {});
|
|
156669
|
+
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
156670
|
+
return _appsInTossEvent.addEventListener("onVisibilityChangedByTransparentServiceWeb", eventParams);
|
|
156671
|
+
}
|
|
156672
|
+
var _INTERNAL__onVisibilityChangedByTransparentServiceWeb = onVisibilityChangedByTransparentServiceWeb;
|
|
156486
156673
|
__reExport(src_exports, _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics"), module.exports);
|
|
156487
156674
|
var Analytics2 = {
|
|
156488
156675
|
init: import_analytics2.Analytics.init,
|
|
@@ -156495,6 +156682,8 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156495
156682
|
Analytics: Analytics,
|
|
156496
156683
|
AppsInToss: _AppsInToss,
|
|
156497
156684
|
GoogleAdMob: _GoogleAdMob,
|
|
156685
|
+
IAP: _IAP,
|
|
156686
|
+
INTERNAL__onVisibilityChangedByTransparentServiceWeb: _INTERNAL__onVisibilityChangedByTransparentServiceWeb,
|
|
156498
156687
|
Storage: _Storage,
|
|
156499
156688
|
TossPay: _TossPay,
|
|
156500
156689
|
WebView: _WebView,
|
|
@@ -156512,9 +156701,11 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
156512
156701
|
getTossShareLink: _getTossShareLink,
|
|
156513
156702
|
isMinVersionSupported: _isMinVersionSupported,
|
|
156514
156703
|
openCamera: _openCamera,
|
|
156704
|
+
saveBase64Data: _saveBase64Data,
|
|
156515
156705
|
setClipboardText: _setClipboardText,
|
|
156516
156706
|
setDeviceOrientation: _setDeviceOrientation,
|
|
156517
156707
|
startUpdateLocation: _startUpdateLocation,
|
|
156708
|
+
useCreateUserAgent: _useCreateUserAgent,
|
|
156518
156709
|
useGeolocation: _useGeolocation
|
|
156519
156710
|
}, _$$_REQUIRE(_dependencyMap[0], "@apps-in-toss/analytics")));
|
|
156520
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");
|
|
@@ -224316,7 +224507,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224316
224507
|
}
|
|
224317
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");
|
|
224318
224509
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224319
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
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({
|
|
224320
224511
|
"__packager_asset": true,
|
|
224321
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",
|
|
224322
224513
|
"width": 24,
|
|
@@ -224328,7 +224519,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
224328
224519
|
});
|
|
224329
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");
|
|
224330
224521
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
224331
|
-
module.exports = _$$_REQUIRE(_dependencyMap[0], "/Users/
|
|
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({
|
|
224332
224523
|
"__packager_asset": true,
|
|
224333
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",
|
|
224334
224525
|
"width": 50,
|
|
@@ -229152,6 +229343,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
229152
229343
|
port: Ait.webPort,
|
|
229153
229344
|
host: Ait.webHost
|
|
229154
229345
|
},
|
|
229346
|
+
allowsBackForwardNavigationGestures: Ait.allowsBackForwardNavigationGestures,
|
|
229155
229347
|
mediaPlaybackRequiresUserAction: Ait.mediaPlaybackRequiresUserAction,
|
|
229156
229348
|
allowsInlineMediaPlayback: Ait.allowsInlineMediaPlayback,
|
|
229157
229349
|
bounces: Ait.bounces,
|