@apps-in-toss/web-framework 2.5.2 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/prebuilt/dev.android.rn84.js +223 -81
- package/dist/prebuilt/dev.ios.rn84.js +223 -81
- package/dist/prebuilt/prod.android.rn72.js +73 -1
- package/dist/prebuilt/prod.android.rn84.js +73 -1
- package/dist/prebuilt/prod.ios.rn72.js +73 -1
- package/dist/prebuilt/prod.ios.rn84.js +73 -1
- package/package.json +8 -8
|
@@ -136682,7 +136682,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
136682
136682
|
var _default = exports.default = _framework.AppsInToss.registerApp(AppContainer, {
|
|
136683
136683
|
context: _context.context
|
|
136684
136684
|
});
|
|
136685
|
-
},1279,[1280,
|
|
136685
|
+
},1279,[1280,2595,9],"src/_app.tsx");
|
|
136686
136686
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
136687
136687
|
"use strict";
|
|
136688
136688
|
|
|
@@ -140974,7 +140974,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
140974
140974
|
..._$$_REQUIRE(_dependencyMap[5], "@apps-in-toss/native-modules"),
|
|
140975
140975
|
..._$$_REQUIRE(_dependencyMap[19], "@apps-in-toss/types")
|
|
140976
140976
|
});
|
|
140977
|
-
},1280,[21,20,17,48,1281,1282,2,1469,34,6,9,2436,2517,611,2520,
|
|
140977
|
+
},1280,[21,20,17,48,1281,1282,2,1469,34,6,9,2436,2517,611,2520,2569,2577,2594,2445,1283,750],"../../../../.yarn/__virtual__/@apps-in-toss-framework-virtual-afbad361af/1/packages/apps-in-toss/framework/dist/index.cjs");
|
|
140978
140978
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
140979
140979
|
"use strict";
|
|
140980
140980
|
|
|
@@ -141632,6 +141632,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
141632
141632
|
closeView: () => closeView,
|
|
141633
141633
|
contactsViral: () => contactsViral,
|
|
141634
141634
|
eventLog: () => eventLog,
|
|
141635
|
+
fetchAlbumItems: () => fetchAlbumItems,
|
|
141635
141636
|
fetchAlbumPhotos: () => fetchAlbumPhotos,
|
|
141636
141637
|
fetchContacts: () => fetchContacts,
|
|
141637
141638
|
generateHapticFeedback: () => generateHapticFeedback,
|
|
@@ -141658,6 +141659,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
141658
141659
|
onVisibilityChangedByTransparentServiceWeb: () => onVisibilityChangedByTransparentServiceWeb,
|
|
141659
141660
|
openCamera: () => openCamera,
|
|
141660
141661
|
openGameCenterLeaderboard: () => openGameCenterLeaderboard,
|
|
141662
|
+
openPDFViewer: () => openPDFViewer,
|
|
141661
141663
|
openURL: () => openURL2,
|
|
141662
141664
|
processProductGrant: () => processProductGrant,
|
|
141663
141665
|
requestNotificationAgreement: () => requestNotificationAgreement,
|
|
@@ -142612,7 +142614,43 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142612
142614
|
});
|
|
142613
142615
|
return _saveBase64Data.apply(this, arguments);
|
|
142614
142616
|
}
|
|
142615
|
-
function
|
|
142617
|
+
function openPDFViewer(_x16) {
|
|
142618
|
+
return _openPDFViewer.apply(this, arguments);
|
|
142619
|
+
}
|
|
142620
|
+
function _openPDFViewer() {
|
|
142621
|
+
_openPDFViewer = _asyncToGenerator(function* (params) {
|
|
142622
|
+
var isSupported = isMinVersionSupported({
|
|
142623
|
+
android: "5.261.0",
|
|
142624
|
+
ios: "5.261.0"
|
|
142625
|
+
});
|
|
142626
|
+
if (!isSupported) {
|
|
142627
|
+
var error = new Error("\uD1A0\uC2A4\uC571 5.261.0 \uBC84\uC804 \uC774\uC0C1\uC774 \uD544\uC694\uD574\uC694.");
|
|
142628
|
+
error.code = "UNSUPPORTED_APP_VERSION";
|
|
142629
|
+
throw error;
|
|
142630
|
+
}
|
|
142631
|
+
return safePostMessage("openPDFViewer", params);
|
|
142632
|
+
});
|
|
142633
|
+
return _openPDFViewer.apply(this, arguments);
|
|
142634
|
+
}
|
|
142635
|
+
function fetchAlbumItems(_x17) {
|
|
142636
|
+
return _fetchAlbumItems.apply(this, arguments);
|
|
142637
|
+
}
|
|
142638
|
+
function _fetchAlbumItems() {
|
|
142639
|
+
_fetchAlbumItems = _asyncToGenerator(function* (options) {
|
|
142640
|
+
var isSupported = isMinVersionSupported({
|
|
142641
|
+
android: "5.261.0",
|
|
142642
|
+
ios: "5.261.0"
|
|
142643
|
+
});
|
|
142644
|
+
if (!isSupported) {
|
|
142645
|
+
var error = new Error("\uD1A0\uC2A4\uC571 5.261.0 \uBC84\uC804 \uC774\uC0C1\uC774 \uD544\uC694\uD574\uC694.");
|
|
142646
|
+
error.code = "UNSUPPORTED_APP_VERSION";
|
|
142647
|
+
throw error;
|
|
142648
|
+
}
|
|
142649
|
+
return safePostMessage("fetchAlbumItems", options ?? {});
|
|
142650
|
+
});
|
|
142651
|
+
return _fetchAlbumItems.apply(this, arguments);
|
|
142652
|
+
}
|
|
142653
|
+
function setDeviceOrientation(_x18) {
|
|
142616
142654
|
return _setDeviceOrientation.apply(this, arguments);
|
|
142617
142655
|
}
|
|
142618
142656
|
function _setDeviceOrientation() {
|
|
@@ -142706,7 +142744,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142706
142744
|
});
|
|
142707
142745
|
return _getGameCenterGameProfile.apply(this, arguments);
|
|
142708
142746
|
}
|
|
142709
|
-
function submitGameCenterLeaderBoardScore(
|
|
142747
|
+
function submitGameCenterLeaderBoardScore(_x19) {
|
|
142710
142748
|
return _submitGameCenterLeaderBoardScore.apply(this, arguments);
|
|
142711
142749
|
}
|
|
142712
142750
|
function _submitGameCenterLeaderBoardScore() {
|
|
@@ -142752,7 +142790,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142752
142790
|
function isGrantPromotionRewardError(error) {
|
|
142753
142791
|
return typeof error === "object" && error !== null && "code" in error && typeof error.code === "string" && "message" in error && typeof error.message === "string";
|
|
142754
142792
|
}
|
|
142755
|
-
function grantPromotionReward(
|
|
142793
|
+
function grantPromotionReward(_x20) {
|
|
142756
142794
|
return _grantPromotionReward.apply(this, arguments);
|
|
142757
142795
|
}
|
|
142758
142796
|
function _grantPromotionReward() {
|
|
@@ -142779,7 +142817,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142779
142817
|
});
|
|
142780
142818
|
return _grantPromotionReward.apply(this, arguments);
|
|
142781
142819
|
}
|
|
142782
|
-
function grantPromotionRewardForGame(
|
|
142820
|
+
function grantPromotionRewardForGame(_x21) {
|
|
142783
142821
|
return _grantPromotionRewardForGame.apply(this, arguments);
|
|
142784
142822
|
}
|
|
142785
142823
|
function _grantPromotionRewardForGame() {
|
|
@@ -142830,7 +142868,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142830
142868
|
});
|
|
142831
142869
|
return unregisterCallbacks;
|
|
142832
142870
|
}
|
|
142833
|
-
function appsInTossSignTossCert(
|
|
142871
|
+
function appsInTossSignTossCert(_x22) {
|
|
142834
142872
|
return _appsInTossSignTossCert.apply(this, arguments);
|
|
142835
142873
|
}
|
|
142836
142874
|
function _appsInTossSignTossCert() {
|
|
@@ -142962,7 +143000,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142962
143000
|
function generateHapticFeedback(options) {
|
|
142963
143001
|
return CommonModule2.generateHapticFeedback(options);
|
|
142964
143002
|
}
|
|
142965
|
-
function share(
|
|
143003
|
+
function share(_x23) {
|
|
142966
143004
|
return _share.apply(this, arguments);
|
|
142967
143005
|
}
|
|
142968
143006
|
function _share() {
|
|
@@ -142974,7 +143012,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142974
143012
|
function setSecureScreen(options) {
|
|
142975
143013
|
return CommonModule2.setSecureScreen(options);
|
|
142976
143014
|
}
|
|
142977
|
-
function setScreenAwakeMode(
|
|
143015
|
+
function setScreenAwakeMode(_x24) {
|
|
142978
143016
|
return _setScreenAwakeMode.apply(this, arguments);
|
|
142979
143017
|
}
|
|
142980
143018
|
function _setScreenAwakeMode() {
|
|
@@ -142986,7 +143024,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
142986
143024
|
function getNetworkStatus() {
|
|
142987
143025
|
return CommonModule2.getNetworkStatus();
|
|
142988
143026
|
}
|
|
142989
|
-
function setIosSwipeGestureEnabled(
|
|
143027
|
+
function setIosSwipeGestureEnabled(_x25) {
|
|
142990
143028
|
return _setIosSwipeGestureEnabled.apply(this, arguments);
|
|
142991
143029
|
}
|
|
142992
143030
|
function _setIosSwipeGestureEnabled() {
|
|
@@ -143039,6 +143077,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
143039
143077
|
closeView,
|
|
143040
143078
|
contactsViral,
|
|
143041
143079
|
eventLog,
|
|
143080
|
+
fetchAlbumItems,
|
|
143042
143081
|
fetchAlbumPhotos,
|
|
143043
143082
|
fetchContacts,
|
|
143044
143083
|
generateHapticFeedback,
|
|
@@ -143065,6 +143104,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
143065
143104
|
onVisibilityChangedByTransparentServiceWeb,
|
|
143066
143105
|
openCamera,
|
|
143067
143106
|
openGameCenterLeaderboard,
|
|
143107
|
+
openPDFViewer,
|
|
143068
143108
|
openURL,
|
|
143069
143109
|
processProductGrant,
|
|
143070
143110
|
requestNotificationAgreement,
|
|
@@ -211150,7 +211190,29 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211150
211190
|
}
|
|
211151
211191
|
});
|
|
211152
211192
|
});
|
|
211153
|
-
var
|
|
211193
|
+
var _openPDFViewer = _$$_REQUIRE(_dependencyMap[24], "./MiniAppModule/native-modules/openPDFViewer");
|
|
211194
|
+
Object.keys(_openPDFViewer).forEach(function (key) {
|
|
211195
|
+
if (key === "default" || key === "__esModule") return;
|
|
211196
|
+
if (key in exports && exports[key] === _openPDFViewer[key]) return;
|
|
211197
|
+
Object.defineProperty(exports, key, {
|
|
211198
|
+
enumerable: true,
|
|
211199
|
+
get: function () {
|
|
211200
|
+
return _openPDFViewer[key];
|
|
211201
|
+
}
|
|
211202
|
+
});
|
|
211203
|
+
});
|
|
211204
|
+
var _fetchAlbumItems = _$$_REQUIRE(_dependencyMap[25], "./MiniAppModule/native-modules/fetchAlbumItems");
|
|
211205
|
+
Object.keys(_fetchAlbumItems).forEach(function (key) {
|
|
211206
|
+
if (key === "default" || key === "__esModule") return;
|
|
211207
|
+
if (key in exports && exports[key] === _fetchAlbumItems[key]) return;
|
|
211208
|
+
Object.defineProperty(exports, key, {
|
|
211209
|
+
enumerable: true,
|
|
211210
|
+
get: function () {
|
|
211211
|
+
return _fetchAlbumItems[key];
|
|
211212
|
+
}
|
|
211213
|
+
});
|
|
211214
|
+
});
|
|
211215
|
+
var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[26], "./MiniAppModule/native-modules/appsInTossSignTossCert");
|
|
211154
211216
|
Object.keys(_appsInTossSignTossCert).forEach(function (key) {
|
|
211155
211217
|
if (key === "default" || key === "__esModule") return;
|
|
211156
211218
|
if (key in exports && exports[key] === _appsInTossSignTossCert[key]) return;
|
|
@@ -211161,7 +211223,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211161
211223
|
}
|
|
211162
211224
|
});
|
|
211163
211225
|
});
|
|
211164
|
-
var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[
|
|
211226
|
+
var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[27], "./MiniAppModule/native-modules/getGameCenterGameProfile");
|
|
211165
211227
|
Object.keys(_getGameCenterGameProfile).forEach(function (key) {
|
|
211166
211228
|
if (key === "default" || key === "__esModule") return;
|
|
211167
211229
|
if (key in exports && exports[key] === _getGameCenterGameProfile[key]) return;
|
|
@@ -211172,7 +211234,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211172
211234
|
}
|
|
211173
211235
|
});
|
|
211174
211236
|
});
|
|
211175
|
-
var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[
|
|
211237
|
+
var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[28], "./MiniAppModule/native-modules/openGameCenterLeaderboard");
|
|
211176
211238
|
Object.keys(_openGameCenterLeaderboard).forEach(function (key) {
|
|
211177
211239
|
if (key === "default" || key === "__esModule") return;
|
|
211178
211240
|
if (key in exports && exports[key] === _openGameCenterLeaderboard[key]) return;
|
|
@@ -211183,7 +211245,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211183
211245
|
}
|
|
211184
211246
|
});
|
|
211185
211247
|
});
|
|
211186
|
-
var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[
|
|
211248
|
+
var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[29], "./MiniAppModule/native-modules/submitGameCenterLeaderBoardScore");
|
|
211187
211249
|
Object.keys(_submitGameCenterLeaderBoardScore).forEach(function (key) {
|
|
211188
211250
|
if (key === "default" || key === "__esModule") return;
|
|
211189
211251
|
if (key in exports && exports[key] === _submitGameCenterLeaderBoardScore[key]) return;
|
|
@@ -211194,7 +211256,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211194
211256
|
}
|
|
211195
211257
|
});
|
|
211196
211258
|
});
|
|
211197
|
-
var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[
|
|
211259
|
+
var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[30], "./MiniAppModule/native-modules/getAnonymousKey");
|
|
211198
211260
|
Object.keys(_getAnonymousKey).forEach(function (key) {
|
|
211199
211261
|
if (key === "default" || key === "__esModule") return;
|
|
211200
211262
|
if (key in exports && exports[key] === _getAnonymousKey[key]) return;
|
|
@@ -211205,7 +211267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211205
211267
|
}
|
|
211206
211268
|
});
|
|
211207
211269
|
});
|
|
211208
|
-
var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[
|
|
211270
|
+
var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[31], "./MiniAppModule/native-modules/getUserKeyForGame");
|
|
211209
211271
|
Object.keys(_getUserKeyForGame).forEach(function (key) {
|
|
211210
211272
|
if (key === "default" || key === "__esModule") return;
|
|
211211
211273
|
if (key in exports && exports[key] === _getUserKeyForGame[key]) return;
|
|
@@ -211216,7 +211278,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211216
211278
|
}
|
|
211217
211279
|
});
|
|
211218
211280
|
});
|
|
211219
|
-
var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[
|
|
211281
|
+
var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[32], "./MiniAppModule/native-modules/grantPromotionReward");
|
|
211220
211282
|
Object.keys(_grantPromotionReward).forEach(function (key) {
|
|
211221
211283
|
if (key === "default" || key === "__esModule") return;
|
|
211222
211284
|
if (key in exports && exports[key] === _grantPromotionReward[key]) return;
|
|
@@ -211227,7 +211289,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211227
211289
|
}
|
|
211228
211290
|
});
|
|
211229
211291
|
});
|
|
211230
|
-
var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[
|
|
211292
|
+
var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[33], "./MiniAppModule/native-modules/grantPromotionRewardForGame");
|
|
211231
211293
|
Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
|
|
211232
211294
|
if (key === "default" || key === "__esModule") return;
|
|
211233
211295
|
if (key in exports && exports[key] === _grantPromotionRewardForGame[key]) return;
|
|
@@ -211238,7 +211300,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211238
211300
|
}
|
|
211239
211301
|
});
|
|
211240
211302
|
});
|
|
211241
|
-
var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[
|
|
211303
|
+
var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[34], "./MiniAppModule/native-modules/getIsTossLoginIntegratedService");
|
|
211242
211304
|
Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
|
|
211243
211305
|
if (key === "default" || key === "__esModule") return;
|
|
211244
211306
|
if (key in exports && exports[key] === _getIsTossLoginIntegratedService[key]) return;
|
|
@@ -211249,7 +211311,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211249
211311
|
}
|
|
211250
211312
|
});
|
|
211251
211313
|
});
|
|
211252
|
-
var _getServerTime = _$$_REQUIRE(_dependencyMap[
|
|
211314
|
+
var _getServerTime = _$$_REQUIRE(_dependencyMap[35], "./MiniAppModule/native-modules/getServerTime");
|
|
211253
211315
|
Object.keys(_getServerTime).forEach(function (key) {
|
|
211254
211316
|
if (key === "default" || key === "__esModule") return;
|
|
211255
211317
|
if (key in exports && exports[key] === _getServerTime[key]) return;
|
|
@@ -211260,7 +211322,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211260
211322
|
}
|
|
211261
211323
|
});
|
|
211262
211324
|
});
|
|
211263
|
-
var _requestReview = _$$_REQUIRE(_dependencyMap[
|
|
211325
|
+
var _requestReview = _$$_REQUIRE(_dependencyMap[36], "./MiniAppModule/native-modules/requestReview");
|
|
211264
211326
|
Object.keys(_requestReview).forEach(function (key) {
|
|
211265
211327
|
if (key === "default" || key === "__esModule") return;
|
|
211266
211328
|
if (key in exports && exports[key] === _requestReview[key]) return;
|
|
@@ -211271,7 +211333,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
211271
211333
|
}
|
|
211272
211334
|
});
|
|
211273
211335
|
});
|
|
211274
|
-
},2520,[2521,2529,2530,2531,2532,2533,2534,2535,2536,2537,2538,2539,2541,2542,2543,2544,2545,2546,2547,2550,2551,2552,2553,2554,2555,2556,2558,
|
|
211336
|
+
},2520,[2521,2529,2530,2531,2532,2533,2534,2535,2536,2537,2538,2539,2541,2542,2543,2544,2545,2546,2547,2550,2551,2552,2553,2554,2555,2556,2557,2558,2560,2561,2562,2563,2564,2565,2566,2567,2568],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/async-bridges.ts");
|
|
211275
211337
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
211276
211338
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
211277
211339
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212045,6 +212107,62 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212045
212107
|
return _saveBase64Data.apply(this, arguments);
|
|
212046
212108
|
}
|
|
212047
212109
|
},2554,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/saveBase64Data.ts");
|
|
212110
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212111
|
+
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212112
|
+
Object.defineProperty(exports, "__esModule", {
|
|
212113
|
+
value: true
|
|
212114
|
+
});
|
|
212115
|
+
exports.openPDFViewer = openPDFViewer;
|
|
212116
|
+
var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
|
|
212117
|
+
var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
|
|
212118
|
+
var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
|
|
212119
|
+
function openPDFViewer(_x) {
|
|
212120
|
+
return _openPDFViewer.apply(this, arguments);
|
|
212121
|
+
}
|
|
212122
|
+
function _openPDFViewer() {
|
|
212123
|
+
_openPDFViewer = (0, _asyncToGenerator2.default)(function* (params) {
|
|
212124
|
+
var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
|
|
212125
|
+
android: '5.261.0',
|
|
212126
|
+
ios: '5.261.0'
|
|
212127
|
+
});
|
|
212128
|
+
if (!isSupported) {
|
|
212129
|
+
var error = new Error('토스앱 5.261.0 버전 이상이 필요해요.');
|
|
212130
|
+
error.code = 'UNSUPPORTED_APP_VERSION';
|
|
212131
|
+
throw error;
|
|
212132
|
+
}
|
|
212133
|
+
return (0, _natives.safePostMessage)('openPDFViewer', params);
|
|
212134
|
+
});
|
|
212135
|
+
return _openPDFViewer.apply(this, arguments);
|
|
212136
|
+
}
|
|
212137
|
+
},2555,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openPDFViewer.ts");
|
|
212138
|
+
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212139
|
+
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212140
|
+
Object.defineProperty(exports, "__esModule", {
|
|
212141
|
+
value: true
|
|
212142
|
+
});
|
|
212143
|
+
exports.fetchAlbumItems = fetchAlbumItems;
|
|
212144
|
+
var _asyncToGenerator2 = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "@babel/runtime/helpers/asyncToGenerator"));
|
|
212145
|
+
var _isMinVersionSupported = _$$_REQUIRE(_dependencyMap[2], "./isMinVersionSupported");
|
|
212146
|
+
var _natives = _$$_REQUIRE(_dependencyMap[3], "../../natives");
|
|
212147
|
+
function fetchAlbumItems(_x) {
|
|
212148
|
+
return _fetchAlbumItems.apply(this, arguments);
|
|
212149
|
+
}
|
|
212150
|
+
function _fetchAlbumItems() {
|
|
212151
|
+
_fetchAlbumItems = (0, _asyncToGenerator2.default)(function* (options) {
|
|
212152
|
+
var isSupported = (0, _isMinVersionSupported.isMinVersionSupported)({
|
|
212153
|
+
android: '5.261.0',
|
|
212154
|
+
ios: '5.261.0'
|
|
212155
|
+
});
|
|
212156
|
+
if (!isSupported) {
|
|
212157
|
+
var error = new Error('토스앱 5.261.0 버전 이상이 필요해요.');
|
|
212158
|
+
error.code = 'UNSUPPORTED_APP_VERSION';
|
|
212159
|
+
throw error;
|
|
212160
|
+
}
|
|
212161
|
+
return (0, _natives.safePostMessage)('fetchAlbumItems', options ?? {});
|
|
212162
|
+
});
|
|
212163
|
+
return _fetchAlbumItems.apply(this, arguments);
|
|
212164
|
+
}
|
|
212165
|
+
},2556,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/fetchAlbumItems.ts");
|
|
212048
212166
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212049
212167
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212050
212168
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212071,7 +212189,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212071
212189
|
});
|
|
212072
212190
|
return _appsInTossSignTossCert.apply(this, arguments);
|
|
212073
212191
|
}
|
|
212074
|
-
},
|
|
212192
|
+
},2557,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/appsInTossSignTossCert.ts");
|
|
212075
212193
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212076
212194
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212077
212195
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212095,7 +212213,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212095
212213
|
});
|
|
212096
212214
|
return _getGameCenterGameProfile.apply(this, arguments);
|
|
212097
212215
|
}
|
|
212098
|
-
},
|
|
212216
|
+
},2558,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGameCenterGameProfile.ts");
|
|
212099
212217
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212100
212218
|
Object.defineProperty(exports, "__esModule", {
|
|
212101
212219
|
value: true
|
|
@@ -212122,7 +212240,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212122
212240
|
android: '5.245.0',
|
|
212123
212241
|
ios: '5.245.0'
|
|
212124
212242
|
};
|
|
212125
|
-
},
|
|
212243
|
+
},2559,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/constants.ts");
|
|
212126
212244
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212127
212245
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212128
212246
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212152,7 +212270,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212152
212270
|
});
|
|
212153
212271
|
return _openGameCenterLeaderboard.apply(this, arguments);
|
|
212154
212272
|
}
|
|
212155
|
-
},
|
|
212273
|
+
},2560,[1,17,2,2548,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/openGameCenterLeaderboard.ts");
|
|
212156
212274
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212157
212275
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212158
212276
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212176,7 +212294,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212176
212294
|
});
|
|
212177
212295
|
return _submitGameCenterLeaderBoardScore.apply(this, arguments);
|
|
212178
212296
|
}
|
|
212179
|
-
},
|
|
212297
|
+
},2561,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/submitGameCenterLeaderBoardScore.ts");
|
|
212180
212298
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212181
212299
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212182
212300
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212208,7 +212326,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212208
212326
|
});
|
|
212209
212327
|
return _getAnonymousKey.apply(this, arguments);
|
|
212210
212328
|
}
|
|
212211
|
-
},
|
|
212329
|
+
},2562,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getAnonymousKey.ts");
|
|
212212
212330
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212213
212331
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212214
212332
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212226,7 +212344,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212226
212344
|
});
|
|
212227
212345
|
return _getUserKeyForGame.apply(this, arguments);
|
|
212228
212346
|
}
|
|
212229
|
-
},
|
|
212347
|
+
},2563,[1,17,2562],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getUserKeyForGame.ts");
|
|
212230
212348
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212231
212349
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212232
212350
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212267,7 +212385,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212267
212385
|
});
|
|
212268
212386
|
return _grantPromotionReward.apply(this, arguments);
|
|
212269
212387
|
}
|
|
212270
|
-
},
|
|
212388
|
+
},2564,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionReward.ts");
|
|
212271
212389
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212272
212390
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212273
212391
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212285,7 +212403,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212285
212403
|
});
|
|
212286
212404
|
return _grantPromotionRewardForGame.apply(this, arguments);
|
|
212287
212405
|
}
|
|
212288
|
-
},
|
|
212406
|
+
},2565,[1,17,2564],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/grantPromotionRewardForGame.ts");
|
|
212289
212407
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212290
212408
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212291
212409
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212310,7 +212428,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212310
212428
|
});
|
|
212311
212429
|
return _getIsTossLoginIntegratedService.apply(this, arguments);
|
|
212312
212430
|
}
|
|
212313
|
-
},
|
|
212431
|
+
},2566,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getIsTossLoginIntegratedService.ts");
|
|
212314
212432
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212315
212433
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212316
212434
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212335,7 +212453,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212335
212453
|
return _getServerTime.apply(this, arguments);
|
|
212336
212454
|
}
|
|
212337
212455
|
getServerTime.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(_constants.GET_SERVER_TIME_MIN_VERSION);
|
|
212338
|
-
},
|
|
212456
|
+
},2567,[1,17,2548,2523,2559],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getServerTime.ts");
|
|
212339
212457
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212340
212458
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212341
212459
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212369,7 +212487,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212369
212487
|
return _requestReview.apply(this, arguments);
|
|
212370
212488
|
}
|
|
212371
212489
|
requestReview.isSupported = () => (0, _isMinVersionSupported.isMinVersionSupported)(MIN_VERSION);
|
|
212372
|
-
},
|
|
212490
|
+
},2568,[1,17,2548,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestReview.ts");
|
|
212373
212491
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212374
212492
|
Object.defineProperty(exports, "__esModule", {
|
|
212375
212493
|
value: true
|
|
@@ -212451,7 +212569,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212451
212569
|
}
|
|
212452
212570
|
});
|
|
212453
212571
|
});
|
|
212454
|
-
},
|
|
212572
|
+
},2569,[2570,2571,2572,2573,2574,2575,2576],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/constant-bridges.ts");
|
|
212455
212573
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212456
212574
|
Object.defineProperty(exports, "__esModule", {
|
|
212457
212575
|
value: true
|
|
@@ -212469,7 +212587,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212469
212587
|
function replaceUnderbarToHypen(locale) {
|
|
212470
212588
|
return locale.replace(/_/g, '-');
|
|
212471
212589
|
}
|
|
212472
|
-
},
|
|
212590
|
+
},2570,[34,2522],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getLocale.ts");
|
|
212473
212591
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212474
212592
|
Object.defineProperty(exports, "__esModule", {
|
|
212475
212593
|
value: true
|
|
@@ -212479,7 +212597,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212479
212597
|
function getSchemeUri() {
|
|
212480
212598
|
return _BedrockModule.CommonModule.getConstants().schemeUri;
|
|
212481
212599
|
}
|
|
212482
|
-
},
|
|
212600
|
+
},2571,[2522],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getSchemeUri.ts");
|
|
212483
212601
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212484
212602
|
Object.defineProperty(exports, "__esModule", {
|
|
212485
212603
|
value: true
|
|
@@ -212489,7 +212607,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212489
212607
|
function getPlatformOS() {
|
|
212490
212608
|
return _reactNative.Platform.OS;
|
|
212491
212609
|
}
|
|
212492
|
-
},
|
|
212610
|
+
},2572,[34],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/BedrockModule/native-modules/natives/getPlatformOS.ts");
|
|
212493
212611
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212494
212612
|
Object.defineProperty(exports, "__esModule", {
|
|
212495
212613
|
value: true
|
|
@@ -212499,7 +212617,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212499
212617
|
function getOperationalEnvironment() {
|
|
212500
212618
|
return _natives.MiniAppModule.getConstants().operationalEnvironment;
|
|
212501
212619
|
}
|
|
212502
|
-
},
|
|
212620
|
+
},2573,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getOperationalEnvironment.ts");
|
|
212503
212621
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212504
212622
|
Object.defineProperty(exports, "__esModule", {
|
|
212505
212623
|
value: true
|
|
@@ -212509,7 +212627,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212509
212627
|
function getTossAppVersion() {
|
|
212510
212628
|
return _natives.MiniAppModule.getConstants().tossAppVersion;
|
|
212511
212629
|
}
|
|
212512
|
-
},
|
|
212630
|
+
},2574,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getTossAppVersion.ts");
|
|
212513
212631
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212514
212632
|
Object.defineProperty(exports, "__esModule", {
|
|
212515
212633
|
value: true
|
|
@@ -212519,7 +212637,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212519
212637
|
function getDeviceId() {
|
|
212520
212638
|
return _natives.MiniAppModule.getConstants().deviceId;
|
|
212521
212639
|
}
|
|
212522
|
-
},
|
|
212640
|
+
},2575,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getDeviceId.ts");
|
|
212523
212641
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212524
212642
|
Object.defineProperty(exports, "__esModule", {
|
|
212525
212643
|
value: true
|
|
@@ -212529,7 +212647,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212529
212647
|
function getGroupId() {
|
|
212530
212648
|
return _natives.MiniAppModule.getConstants().groupId;
|
|
212531
212649
|
}
|
|
212532
|
-
},
|
|
212650
|
+
},2576,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/getGroupId.ts");
|
|
212533
212651
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212534
212652
|
Object.defineProperty(exports, "__esModule", {
|
|
212535
212653
|
value: true
|
|
@@ -212567,7 +212685,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212567
212685
|
}
|
|
212568
212686
|
});
|
|
212569
212687
|
});
|
|
212570
|
-
},
|
|
212688
|
+
},2577,[2578,2593,2590],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/event-bridges.ts");
|
|
212571
212689
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212572
212690
|
Object.defineProperty(exports, "__esModule", {
|
|
212573
212691
|
value: true
|
|
@@ -212580,7 +212698,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212580
212698
|
}
|
|
212581
212699
|
startUpdateLocation.openPermissionDialog = _nativeModules.getCurrentLocation.openPermissionDialog;
|
|
212582
212700
|
startUpdateLocation.getPermission = _nativeModules.getCurrentLocation.getPermission;
|
|
212583
|
-
},
|
|
212701
|
+
},2578,[2579,2585],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/startUpdateLocation.ts");
|
|
212584
212702
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212585
212703
|
Object.defineProperty(exports, "__esModule", {
|
|
212586
212704
|
value: true
|
|
@@ -212591,7 +212709,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212591
212709
|
var _AppBridgeCallbackEvent = _$$_REQUIRE(_dependencyMap[2], "./internal/AppBridgeCallbackEvent");
|
|
212592
212710
|
var _VisibilityChangedByTransparentServiceWebEvent = _$$_REQUIRE(_dependencyMap[3], "./internal/VisibilityChangedByTransparentServiceWebEvent");
|
|
212593
212711
|
var appsInTossEvent = exports.appsInTossEvent = new _reactNative.GraniteEvent([new _UpdateLocationEvent.UpdateLocationEvent(), new _AppBridgeCallbackEvent.AppBridgeCallbackEvent(), new _VisibilityChangedByTransparentServiceWebEvent.VisibilityChangedByTransparentServiceWebEvent()]);
|
|
212594
|
-
},
|
|
212712
|
+
},2579,[2,2580,2581,2584],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/appsInTossEvent.ts");
|
|
212595
212713
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212596
212714
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212597
212715
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212658,7 +212776,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212658
212776
|
}
|
|
212659
212777
|
}]);
|
|
212660
212778
|
}(_reactNative.GraniteEventDefinition);
|
|
212661
|
-
},
|
|
212779
|
+
},2580,[1,21,20,22,25,26,1283,2,2523,2537],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/event-plugins/UpdateLocationEvent.ts");
|
|
212662
212780
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212663
212781
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212664
212782
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212718,7 +212836,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212718
212836
|
}
|
|
212719
212837
|
}]);
|
|
212720
212838
|
}(_reactNative.GraniteEventDefinition);
|
|
212721
|
-
},
|
|
212839
|
+
},2581,[1,21,20,22,25,26,2,2582,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/AppBridgeCallbackEvent.ts");
|
|
212722
212840
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212723
212841
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212724
212842
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212783,7 +212901,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212783
212901
|
unregisterCallback,
|
|
212784
212902
|
getCallbackIds
|
|
212785
212903
|
};
|
|
212786
|
-
},
|
|
212904
|
+
},2582,[1,48,90,2523,2583],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/appBridge.ts");
|
|
212787
212905
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212788
212906
|
Object.defineProperty(exports, "__esModule", {
|
|
212789
212907
|
value: true
|
|
@@ -212792,7 +212910,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212792
212910
|
function generateUUID(placeholder) {
|
|
212793
212911
|
return placeholder ? (placeholder ^ Math.random() * 16 >> placeholder / 4).toString(16) : (String(1e7) + 1e3 + 4e3 + 8e3 + 1e11).replace(/[018]/g, generateUUID);
|
|
212794
212912
|
}
|
|
212795
|
-
},
|
|
212913
|
+
},2583,[],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/generateUUID.ts");
|
|
212796
212914
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212797
212915
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
212798
212916
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -212850,7 +212968,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
212850
212968
|
}
|
|
212851
212969
|
}]);
|
|
212852
212970
|
}(_reactNative.GraniteEventDefinition);
|
|
212853
|
-
},
|
|
212971
|
+
},2584,[1,21,20,22,25,26,2,2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/VisibilityChangedByTransparentServiceWebEvent.ts");
|
|
212854
212972
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
212855
212973
|
Object.defineProperty(exports, "__esModule", {
|
|
212856
212974
|
value: true
|
|
@@ -213065,7 +213183,31 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213065
213183
|
}
|
|
213066
213184
|
});
|
|
213067
213185
|
});
|
|
213068
|
-
var
|
|
213186
|
+
var _openPDFViewer = _$$_REQUIRE(_dependencyMap[18], "./openPDFViewer");
|
|
213187
|
+
Object.keys(_openPDFViewer).forEach(function (key) {
|
|
213188
|
+
if (key === "default" || key === "__esModule") return;
|
|
213189
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
213190
|
+
if (key in exports && exports[key] === _openPDFViewer[key]) return;
|
|
213191
|
+
Object.defineProperty(exports, key, {
|
|
213192
|
+
enumerable: true,
|
|
213193
|
+
get: function () {
|
|
213194
|
+
return _openPDFViewer[key];
|
|
213195
|
+
}
|
|
213196
|
+
});
|
|
213197
|
+
});
|
|
213198
|
+
var _fetchAlbumItems = _$$_REQUIRE(_dependencyMap[19], "./fetchAlbumItems");
|
|
213199
|
+
Object.keys(_fetchAlbumItems).forEach(function (key) {
|
|
213200
|
+
if (key === "default" || key === "__esModule") return;
|
|
213201
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
213202
|
+
if (key in exports && exports[key] === _fetchAlbumItems[key]) return;
|
|
213203
|
+
Object.defineProperty(exports, key, {
|
|
213204
|
+
enumerable: true,
|
|
213205
|
+
get: function () {
|
|
213206
|
+
return _fetchAlbumItems[key];
|
|
213207
|
+
}
|
|
213208
|
+
});
|
|
213209
|
+
});
|
|
213210
|
+
var _setDeviceOrientation = _$$_REQUIRE(_dependencyMap[20], "./setDeviceOrientation");
|
|
213069
213211
|
Object.keys(_setDeviceOrientation).forEach(function (key) {
|
|
213070
213212
|
if (key === "default" || key === "__esModule") return;
|
|
213071
213213
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213077,7 +213219,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213077
213219
|
}
|
|
213078
213220
|
});
|
|
213079
213221
|
});
|
|
213080
|
-
var _storage = _$$_REQUIRE(_dependencyMap[
|
|
213222
|
+
var _storage = _$$_REQUIRE(_dependencyMap[21], "./storage");
|
|
213081
213223
|
Object.keys(_storage).forEach(function (key) {
|
|
213082
213224
|
if (key === "default" || key === "__esModule") return;
|
|
213083
213225
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213089,7 +213231,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213089
213231
|
}
|
|
213090
213232
|
});
|
|
213091
213233
|
});
|
|
213092
|
-
var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[
|
|
213234
|
+
var _openGameCenterLeaderboard = _$$_REQUIRE(_dependencyMap[22], "./openGameCenterLeaderboard");
|
|
213093
213235
|
Object.keys(_openGameCenterLeaderboard).forEach(function (key) {
|
|
213094
213236
|
if (key === "default" || key === "__esModule") return;
|
|
213095
213237
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213101,7 +213243,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213101
213243
|
}
|
|
213102
213244
|
});
|
|
213103
213245
|
});
|
|
213104
|
-
var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[
|
|
213246
|
+
var _getGameCenterGameProfile = _$$_REQUIRE(_dependencyMap[23], "./getGameCenterGameProfile");
|
|
213105
213247
|
Object.keys(_getGameCenterGameProfile).forEach(function (key) {
|
|
213106
213248
|
if (key === "default" || key === "__esModule") return;
|
|
213107
213249
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213113,7 +213255,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213113
213255
|
}
|
|
213114
213256
|
});
|
|
213115
213257
|
});
|
|
213116
|
-
var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[
|
|
213258
|
+
var _submitGameCenterLeaderBoardScore = _$$_REQUIRE(_dependencyMap[24], "./submitGameCenterLeaderBoardScore");
|
|
213117
213259
|
Object.keys(_submitGameCenterLeaderBoardScore).forEach(function (key) {
|
|
213118
213260
|
if (key === "default" || key === "__esModule") return;
|
|
213119
213261
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213125,7 +213267,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213125
213267
|
}
|
|
213126
213268
|
});
|
|
213127
213269
|
});
|
|
213128
|
-
var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[
|
|
213270
|
+
var _getAnonymousKey = _$$_REQUIRE(_dependencyMap[25], "./getAnonymousKey");
|
|
213129
213271
|
Object.keys(_getAnonymousKey).forEach(function (key) {
|
|
213130
213272
|
if (key === "default" || key === "__esModule") return;
|
|
213131
213273
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213137,7 +213279,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213137
213279
|
}
|
|
213138
213280
|
});
|
|
213139
213281
|
});
|
|
213140
|
-
var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[
|
|
213282
|
+
var _getUserKeyForGame = _$$_REQUIRE(_dependencyMap[26], "./getUserKeyForGame");
|
|
213141
213283
|
Object.keys(_getUserKeyForGame).forEach(function (key) {
|
|
213142
213284
|
if (key === "default" || key === "__esModule") return;
|
|
213143
213285
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213149,7 +213291,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213149
213291
|
}
|
|
213150
213292
|
});
|
|
213151
213293
|
});
|
|
213152
|
-
var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[
|
|
213294
|
+
var _grantPromotionReward = _$$_REQUIRE(_dependencyMap[27], "./grantPromotionReward");
|
|
213153
213295
|
Object.keys(_grantPromotionReward).forEach(function (key) {
|
|
213154
213296
|
if (key === "default" || key === "__esModule") return;
|
|
213155
213297
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213161,7 +213303,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213161
213303
|
}
|
|
213162
213304
|
});
|
|
213163
213305
|
});
|
|
213164
|
-
var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[
|
|
213306
|
+
var _grantPromotionRewardForGame = _$$_REQUIRE(_dependencyMap[28], "./grantPromotionRewardForGame");
|
|
213165
213307
|
Object.keys(_grantPromotionRewardForGame).forEach(function (key) {
|
|
213166
213308
|
if (key === "default" || key === "__esModule") return;
|
|
213167
213309
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213173,7 +213315,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213173
213315
|
}
|
|
213174
213316
|
});
|
|
213175
213317
|
});
|
|
213176
|
-
var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[
|
|
213318
|
+
var _getIsTossLoginIntegratedService = _$$_REQUIRE(_dependencyMap[29], "./getIsTossLoginIntegratedService");
|
|
213177
213319
|
Object.keys(_getIsTossLoginIntegratedService).forEach(function (key) {
|
|
213178
213320
|
if (key === "default" || key === "__esModule") return;
|
|
213179
213321
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213185,7 +213327,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213185
213327
|
}
|
|
213186
213328
|
});
|
|
213187
213329
|
});
|
|
213188
|
-
var _contactsViral = _$$_REQUIRE(_dependencyMap[
|
|
213330
|
+
var _contactsViral = _$$_REQUIRE(_dependencyMap[30], "../native-event-emitter/contactsViral");
|
|
213189
213331
|
Object.keys(_contactsViral).forEach(function (key) {
|
|
213190
213332
|
if (key === "default" || key === "__esModule") return;
|
|
213191
213333
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213197,7 +213339,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213197
213339
|
}
|
|
213198
213340
|
});
|
|
213199
213341
|
});
|
|
213200
|
-
var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[
|
|
213342
|
+
var _appsInTossSignTossCert = _$$_REQUIRE(_dependencyMap[31], "./appsInTossSignTossCert");
|
|
213201
213343
|
Object.keys(_appsInTossSignTossCert).forEach(function (key) {
|
|
213202
213344
|
if (key === "default" || key === "__esModule") return;
|
|
213203
213345
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213209,7 +213351,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213209
213351
|
}
|
|
213210
213352
|
});
|
|
213211
213353
|
});
|
|
213212
|
-
var _getGroupId = _$$_REQUIRE(_dependencyMap[
|
|
213354
|
+
var _getGroupId = _$$_REQUIRE(_dependencyMap[32], "./getGroupId");
|
|
213213
213355
|
Object.keys(_getGroupId).forEach(function (key) {
|
|
213214
213356
|
if (key === "default" || key === "__esModule") return;
|
|
213215
213357
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213221,7 +213363,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213221
213363
|
}
|
|
213222
213364
|
});
|
|
213223
213365
|
});
|
|
213224
|
-
var _shareWithScheme = _$$_REQUIRE(_dependencyMap[
|
|
213366
|
+
var _shareWithScheme = _$$_REQUIRE(_dependencyMap[33], "./shareWithScheme");
|
|
213225
213367
|
Object.keys(_shareWithScheme).forEach(function (key) {
|
|
213226
213368
|
if (key === "default" || key === "__esModule") return;
|
|
213227
213369
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213233,7 +213375,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213233
213375
|
}
|
|
213234
213376
|
});
|
|
213235
213377
|
});
|
|
213236
|
-
var _getServerTime = _$$_REQUIRE(_dependencyMap[
|
|
213378
|
+
var _getServerTime = _$$_REQUIRE(_dependencyMap[34], "./getServerTime");
|
|
213237
213379
|
Object.keys(_getServerTime).forEach(function (key) {
|
|
213238
213380
|
if (key === "default" || key === "__esModule") return;
|
|
213239
213381
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213245,7 +213387,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213245
213387
|
}
|
|
213246
213388
|
});
|
|
213247
213389
|
});
|
|
213248
|
-
var _requestReview = _$$_REQUIRE(_dependencyMap[
|
|
213390
|
+
var _requestReview = _$$_REQUIRE(_dependencyMap[35], "./requestReview");
|
|
213249
213391
|
Object.keys(_requestReview).forEach(function (key) {
|
|
213250
213392
|
if (key === "default" || key === "__esModule") return;
|
|
213251
213393
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213257,7 +213399,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213257
213399
|
}
|
|
213258
213400
|
});
|
|
213259
213401
|
});
|
|
213260
|
-
var _requestNotificationAgreement = _$$_REQUIRE(_dependencyMap[
|
|
213402
|
+
var _requestNotificationAgreement = _$$_REQUIRE(_dependencyMap[36], "./requestNotificationAgreement");
|
|
213261
213403
|
Object.keys(_requestNotificationAgreement).forEach(function (key) {
|
|
213262
213404
|
if (key === "default" || key === "__esModule") return;
|
|
213263
213405
|
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
@@ -213278,7 +213420,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213278
213420
|
showAppsInTossAdMob: _googleAdMobV.showAppsInTossAdMob,
|
|
213279
213421
|
isAppsInTossAdMobLoaded: _googleAdMobV.isAppsInTossAdMobLoaded
|
|
213280
213422
|
};
|
|
213281
|
-
},
|
|
213423
|
+
},2585,[2586,2552,2553,2546,2547,2543,2542,2541,2544,2539,2545,2575,2573,2574,2550,2588,2548,2554,2555,2556,2551,2589,2560,2558,2561,2562,2563,2564,2565,2566,2590,2557,2576,2591,2567,2568,2592],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/index.ts");
|
|
213282
213424
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213283
213425
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
213284
213426
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -213411,7 +213553,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213411
213553
|
});
|
|
213412
213554
|
}
|
|
213413
213555
|
isAppsInTossAdMobLoaded.isSupported = isAppsInTossAdMobLoadedSupported;
|
|
213414
|
-
},
|
|
213556
|
+
},2586,[1,17,1284,2587,2582,2573,2548],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/ads/googleAdMobV2.ts");
|
|
213415
213557
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213416
213558
|
Object.defineProperty(exports, "__esModule", {
|
|
213417
213559
|
value: true
|
|
@@ -213425,7 +213567,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213425
213567
|
return null;
|
|
213426
213568
|
}
|
|
213427
213569
|
}
|
|
213428
|
-
},
|
|
213570
|
+
},2587,[2],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/utils/getReferrer.ts");
|
|
213429
213571
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213430
213572
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
213431
213573
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -213676,7 +213818,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213676
213818
|
completeProductGrant,
|
|
213677
213819
|
getSubscriptionInfo
|
|
213678
213820
|
};
|
|
213679
|
-
},
|
|
213821
|
+
},2588,[1,17,1284,2548,2523,2582],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/iap.ts");
|
|
213680
213822
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213681
213823
|
Object.defineProperty(exports, "__esModule", {
|
|
213682
213824
|
value: true
|
|
@@ -213708,7 +213850,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213708
213850
|
removeItem,
|
|
213709
213851
|
clearItems
|
|
213710
213852
|
};
|
|
213711
|
-
},
|
|
213853
|
+
},2589,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/storage.ts");
|
|
213712
213854
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213713
213855
|
Object.defineProperty(exports, "__esModule", {
|
|
213714
213856
|
value: true
|
|
@@ -213744,7 +213886,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213744
213886
|
});
|
|
213745
213887
|
return unregisterCallbacks;
|
|
213746
213888
|
}
|
|
213747
|
-
},
|
|
213889
|
+
},2590,[2582,2548],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/contactsViral.ts");
|
|
213748
213890
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213749
213891
|
Object.defineProperty(exports, "__esModule", {
|
|
213750
213892
|
value: true
|
|
@@ -213754,7 +213896,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213754
213896
|
function shareWithScheme(params) {
|
|
213755
213897
|
return (0, _natives.safePostMessage)('shareWithScheme', params);
|
|
213756
213898
|
}
|
|
213757
|
-
},
|
|
213899
|
+
},2591,[2523],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/shareWithScheme.ts");
|
|
213758
213900
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213759
213901
|
Object.defineProperty(exports, "__esModule", {
|
|
213760
213902
|
value: true
|
|
@@ -213788,7 +213930,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213788
213930
|
}
|
|
213789
213931
|
});
|
|
213790
213932
|
}
|
|
213791
|
-
},
|
|
213933
|
+
},2592,[1284,2548,2582],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-modules/requestNotificationAgreement.ts");
|
|
213792
213934
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213793
213935
|
Object.defineProperty(exports, "__esModule", {
|
|
213794
213936
|
value: true
|
|
@@ -213798,7 +213940,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213798
213940
|
function onVisibilityChangedByTransparentServiceWeb(eventParams) {
|
|
213799
213941
|
return _appsInTossEvent.appsInTossEvent.addEventListener('onVisibilityChangedByTransparentServiceWeb', eventParams);
|
|
213800
213942
|
}
|
|
213801
|
-
},
|
|
213943
|
+
},2593,[2579],"../../../../.yarn/__virtual__/@apps-in-toss-native-modules-virtual-e56741e8de/1/packages/apps-in-toss/native-modules/src/MiniAppModule/native-event-emitter/internal/onVisibilityChangedByTransparentServiceWeb.ts");
|
|
213802
213944
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213803
213945
|
"use strict";
|
|
213804
213946
|
|
|
@@ -213845,12 +213987,12 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213845
213987
|
}
|
|
213846
213988
|
\`;document.head.appendChild(e);})();
|
|
213847
213989
|
`,
|
|
213848
|
-
m = '"use strict";(()=>{var ve=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},E=new ve,z=()=>Math.random().toString(36).substring(2,15),$=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function c(e){return(...t)=>{let r=z(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(E.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(E.on(`${e}/reject/${r}`,i=>{o(),a($(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=z(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError($(o))})];return E.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{E.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function v(e){return()=>E.getConstant(e)}var he=function(){return{emit:function(t,r){for(var n=this.events[t]||[],o=0,s=n.length;o<s;o++)n[o](r)},events:{},on:function(t,r){var n=this,o,s;return((o=this.events)[s=t]||(o[s]=[])).push(r),function(){var a;n.events[t]=(a=n.events[t])===null||a===void 0?void 0:a.filter(function(i){return r!==i})}}}};typeof window<"u"&&(window.__GRANITE_NATIVE_EMITTER=he());var it=c("closeView"),dt=c("generateHapticFeedback"),ct=c("share"),ut=c("setSecureScreen"),pt=c("setScreenAwakeMode"),lt=c("getNetworkStatus"),mt=c("setIosSwipeGestureEnabled"),gt=c("openURL"),ft=c("openPermissionDialog"),vt=c("getPermission"),ht=c("requestPermission"),wt=v("setClipboardText"),Et=v("getClipboardText"),At=v("fetchContacts"),bt=v("fetchAlbumPhotos"),_t=v("getCurrentLocation"),St=v("openCamera"),Ct=c("appLogin"),It=c("eventLog"),yt=c("getTossShareLink"),Tt=c("setDeviceOrientation"),Rt=c("checkoutPayment"),Lt=c("requestTossPayPaysBilling"),Pt=c("saveBase64Data"),xt=c("appsInTossSignTossCert"),Dt=c("getGameCenterGameProfile"),Nt=c("openGameCenterLeaderboard"),Mt=c("submitGameCenterLeaderBoardScore"),Ft=c("getAnonymousKey"),Gt=c("getUserKeyForGame"),Bt=c("grantPromotionReward"),kt=c("grantPromotionRewardForGame"),Ot=c("getIsTossLoginIntegratedService"),Vt=c("getServerTime"),Ht=c("requestReview"),qt=v("getLocale"),Ut=v("getSchemeUri"),Wt=v("getPlatformOS"),zt=v("getOperationalEnvironment"),$t=v("getTossAppVersion"),jt=v("getDeviceId"),Kt=v("getGroupId"),Jt=D("contactsViral"),Xt=D("startUpdateLocation"),Yt=D("onVisibilityChangedByTransparentServiceWeb");var C=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},j=class extends C{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends C{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=class extends C{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends C{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},X=V,Y=class extends C{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Z=class extends C{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var we=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},A=new we,de=()=>Math.random().toString(36).substring(2,15),ce=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function d(e){return(...t)=>{let r=de(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(A.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(A.on(`${e}/reject/${r}`,i=>{o(),a(ce(i))})),A.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function b(e){return t=>{let r=de(),n=[A.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),A.on(`${e}/onError/${r}`,o=>{t.onError(ce(o))})];return A.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{A.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>A.getConstant(e)}var ir={getItem:d("getStorageItem"),setItem:d("setStorageItem"),removeItem:d("removeStorageItem"),clearItems:d("clearItems")},Ee=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Q=e=>["*","x","X"].includes(e),ee=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ae=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Q(e)||Q(t))return 0;let[r,n]=Ae(ee(e),ee(t));return r>n?1:r<n?-1:0},te=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(Ee);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},re=(e,t)=>{let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let o=e[n]??"0",s=t[n]??"0",a=be(o,s);if(a!==0)return a}return 0},_e=(e,t)=>{let r=te(e),n=te(t),o=r.pop(),s=n.pop(),a=re(r,n);return a!==0?a:o&&s?re(o.split("."),s.split(".")):o?-1:s?1:0};function H(e){if(p("getOperationalEnvironment")()==="sandbox")return!0;let r=p("getTossAppVersion")(),o=p("getPlatformOS")()==="ios"?e.ios:e.android;return o===void 0?!1:o==="always"?!0:o==="never"?!1:_e(r,o)>=0}function ne(e){return d("processProductGrant")(e)}var dr={createOneTimePurchaseOrder:e=>{let t=H({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=H({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?b("requestOneTimePurchase")({options:{sku:i},onEvent:async g=>{if(g.type==="purchased"){let u=await o.processProductGrant({orderId:g.data.orderId});await ne({orderId:g.data.orderId,isProductGranted:u}).catch(a)}else s(g)},onError:g=>{a(g)}}):(d("iapCreateOneTimePurchaseOrder")({productId:i}).then(u=>{Promise.resolve(o.processProductGrant({orderId:u.orderId})).then(()=>{s({type:"success",data:u})}).catch(f=>{a(f)})}).catch(u=>{a(u)}),r)},createSubscriptionPurchaseOrder:e=>{let t=H({android:"5.248.0",ios:"5.249.0"}),r=()=>{};if(!t)return r;let{options:n,onEvent:o,onError:s}=e,{sku:a,offerId:i,processProductGrant:m}=n;return b("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await m({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await ne({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:d("iapGetProductItemList"),getPendingOrders:d("getPendingOrders"),getCompletedOrRefundedOrders:d("getCompletedOrRefundedOrders"),completeProductGrant:d("completeProductGrant"),getSubscriptionInfo:d("getSubscriptionInfo")},cr=p("getSafeAreaInsets");var ur=p("getSafeAreaInsets");var pr={loadAppsInTossAdMob:Object.assign(b("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(b("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(d("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var lr={getDeploymentId:p("getDeploymentId")},mr=p("deploymentId"),gr=p("brandDisplayName"),fr=p("brandIcon"),vr=p("brandPrimaryColor");var hr={addAccessoryButton:d("addAccessoryButton"),removeAccessoryButton:d("removeAccessoryButton")},Se=d("requestPermission"),Ce=d("getPermission"),Ie=d("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await Se(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Ie(e),n}var Er=I({handler:e=>d("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:j}),br=I({handler:e=>d("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:K}),Sr=I({handler:e=>d("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Ir=I({handler:e=>d("openCamera")(e),permission:{name:"camera",access:"access"},error:J}),Tr=I({handler:e=>d("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Z}),Lr=I({handler:()=>d("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:Y}),ye=d("getPermission"),Te=d("openPermissionDialog"),ue=e=>b("updateLocationEvent")({...e,onError:t=>{let r=new X;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ue.getPermission=()=>ye({name:"geolocation",access:"access"});ue.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var xr=Object.assign(b("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Dr=Object.assign(b("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function Re(e,t){let r=P.get(e);if(r)return r;let n=t(),o=!1,s={destroy(){o||(o=!0,P.get(e)===s&&P.delete(e),n.destroy())}};return P.set(e,s),s}function Le(){P=new WeakMap}var Pe=d("openURL");function xe(e){let t=De(e);return Pe(t)}function De(e){return["http://","https://"].some(r=>e.startsWith(r))?Ne(e):e}function Ne(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var oe="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",se=15e3,N=null;function S(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Me(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=S();if(e)return Promise.resolve(e);if(N)return N;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(m),N=null},a=()=>{let g=S();if(g){s(),r(g);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${oe}.`))},m=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${se}ms.`))},se);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=oe,document.head.appendChild(o)});return N=t,t}var _=Object.assign(b("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Fe=d("tossAdEventLog"),Ge=new Set(["1","2"]),pe="\\uC798\\uBABB\\uB41C \\uC694\\uCCAD\\uC774\\uC5D0\\uC694. \\uD544\\uC694\\uD55C \\uAC12\\uC774 \\uBE44\\uC5B4 \\uC788\\uC5B4\\uC694.";function M(e){return e.trim()}function U(){return new Error(pe)}function Be(){return{resultType:"FAIL",error:{reason:pe}}}function ke(e){return new Promise((t,r)=>{if(!_.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}let n=M(e.adGroupId);if(n.length===0){r(U());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function ae(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Ge.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function Oe(e){return Ve(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:ae(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:He(e)?{resultType:"SUCCESS",success:ae(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Ve(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function He(e){return!!(e&&typeof e=="object"&&"ads"in e)}function qe(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Be();try{let n=await ke({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return Oe(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ue(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(S()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Me().then(a=>{if(a.isInitialized())return;let m={environment:"live",customAdFetcher:qe(),opener:xe};a.init(m)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function We(e,t,r={}){let{callbacks:n}=r,o=M(e),s=a=>{let i=a instanceof Error?a:new Error(String(a));n?.onAdFailedToRender?.({slotId:"",adGroupId:o,adMetadata:{},error:{code:0,message:i.message}})};try{let a=o;if(a.length===0)throw U();let i=S();if(!i)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!i.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let m=typeof t=="string"?document.querySelector(t):t;if(!m)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let g={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:me(o,r.callbacks)};i.banner.createSlot(m,g)}catch(a){s(a)}}var ze="16px 20px",$e="20px",je="auto",Ke="blackAndWhite",Je="expanded",h="toss-ads-attach",ie="toss-ads-attach-style",le="data-toss-ads-attach-banner-wrapper",q=\'"Toss Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif\';function Xe(e){let t=e.ownerDocument;if(!t||t.getElementById(ie))return;let r=t.createElement("style");r.id=ie,r.textContent=`\n .${h},\n .${h} * {\n font-family: ${q};\n font-style: normal;\n }\n .${h} { background: #ffffff; }\n .${h}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${h} { background: #17171c; }\n .${h}.toss-ads-tone-grey { background: #101013; }\n }\n .${h}.toss-ads-theme-light { background: #ffffff; }\n .${h}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${h}.toss-ads-theme-dark { background: #17171c; }\n .${h}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function Ye(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(le)==="true"&&e.removeChild(t)})}function Ze(e,t,r={}){let{callbacks:n,theme:o=je,tone:s=Ke,variant:a=Je}=r,i=M(e),m=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},g=me(i,n);try{let u=i;if(u.length===0)throw U();let f=S();if(!f)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!f.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let R=typeof t=="string"?document.querySelector(t):t;if(!R)throw new Error(`[toss-ad] Failed to find target element: ${t}`);return Re(R,()=>{let l=document.createElement("div");l.style.width="100%",l.style.height="100%",l.style.boxSizing="border-box",l.style.display="flex",l.style.flexDirection="column",l.style.fontFamily=q,l.style.fontStyle="normal",l.style.justifyContent="center",l.style.overflow="hidden",l.setAttribute(le,"true"),a==="card"&&(l.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),w.style.fontFamily=q,w.style.fontStyle="normal",s==="grey"&&w.classList.add("toss-ads-tone-grey"),o==="light"?w.classList.add("toss-ads-theme-light"):o==="dark"&&w.classList.add("toss-ads-theme-dark"),a==="card"&&(w.style.borderRadius="16px",w.style.overflow="hidden"),l.appendChild(w);let x=!1,W=null;try{Xe(R),Ye(R),R.appendChild(l),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:fe=>fe==="1"?ze:$e,callbacks:g};W=f.banner.createSlot(w,O)}catch(O){throw x&&l.parentNode&&l.parentNode.removeChild(l),O}return{destroy(){W?.destroy(),x&&l.parentNode&&l.parentNode.removeChild(l),x=!1}}})}catch(u){return m(u),{destroy(){}}}}function Qe(e){let t=S();t?.banner&&t.banner.destroy(e)}function et(){let e=S();e?.banner&&(e.banner.destroyAll(),Le())}function me(e,t){if(!t)return;let r=n=>{let o={...n??{}};return o.adGroupId=o.adGroupId??o.spaceId??e,delete o.spaceId,o};return{onAdRendered:n=>t.onAdRendered?.(r(n)),onAdViewable:n=>t.onAdViewable?.(r(n)),onAdClicked:n=>t.onAdClicked?.(r(n)),onAdImpression:n=>{Fe({log_name:"display_ads_all::impression__1px_banner",log_type:"event",params:{event_type:"impression",schema_id:1812034,request_id:n?.adMetadata?.requestId??""}}),t.onAdImpression?.(r(n))},onAdFailedToRender:n=>t.onAdFailedToRender?.({...r(n),error:n?.error??{code:0,message:"UNKNOWN"}}),onNoFill:n=>t.onNoFill?.(r(n))}}var Nr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ze,{isSupported:_.isSupported}),destroy:Object.assign(Qe,{isSupported:_.isSupported}),destroyAll:Object.assign(et,{isSupported:_.isSupported})},Mr=Object.assign(d("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Fr=Object.assign(d("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=d("debugLog");log(t,r){try{this._log({log_name:`apps_in_toss_webview_${t}`,log_type:"debug",params:{...r,...this.getCommonParams()}})}catch{}}getCommonParams(){return{...this.getLocationInfo(),...this.getNavigatorInfo(),...this.getScreenInfo(),appName:window.__appsInToss.appName,deploymentId:window.__appsInToss.deploymentId,sessionId:window.__appsInToss.sessionId,isGame:window.__appsInToss.webViewType==="game",timestampMs:Date.now()}}getLocationInfo(){return{url:window.location.href,urlOrigin:window.location.origin,urlHost:window.location.hostname,urlPath:window.location.pathname,urlSearch:window.location.search}}getNavigatorInfo(){return{userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookieEnabled:navigator.cookieEnabled,hardwareConcurrency:navigator.hardwareConcurrency,deviceMemory:navigator.deviceMemory?navigator.deviceMemory*1024*1024:void 0,maxTouchPoints:navigator.maxTouchPoints}}getScreenInfo(){return{screenWidth:screen.width,screenHeight:screen.height,availableScreenWidth:screen.availWidth,availableScreenHeight:screen.availHeight,devicePixelRatio:window.devicePixelRatio,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight}}};var G=class{callbacks={};on(t,r){return typeof this.callbacks[t]>"u"&&(this.callbacks[t]=[]),this.callbacks[t].push(r),()=>{this.callbacks[t]=this.callbacks[t]?.filter(n=>n!==r)??[]}}emit(t,r){this.callbacks[t]?.forEach(n=>n(r))}};window.__appsInToss={appName:p("getAppName")(),deploymentId:p("getDeploymentId")(),webViewType:p("getWebViewType")(),sessionId:Math.random().toString(36).substring(2),eventEmitter:new G,debugLogger:new F};var y=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function B(e){window.fetch=new Proxy(window.fetch,{apply:e})}(()=>{if(window.__appsInToss.webViewType!=="game"||typeof caches>"u")return;let e="@apps-in-toss/caches/",t=`${e}${window.__appsInToss.deploymentId}`;window.addEventListener("load",async()=>{let r=await caches.keys();for(let n of r)n.startsWith(e)&&n!==t&&await caches.delete(n)}),B(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!y.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let g=i.headers.get("ETag"),u=i.headers.get("Last-Modified");g&&s.headers.set("If-None-Match",g),u&&s.headers.set("If-Modified-Since",u);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let m=await r.call(n,s);return a.put(s,m.clone()),m})})();B(async(e,t,r)=>{let n=new Request(r[0],r[1]),o=Date.now();window.__appsInToss.eventEmitter.emit("fetchRequest",{request:n});try{let s=await e.call(t,n);return window.__appsInToss.eventEmitter.emit("fetchResponse",{request:n,response:s,requestAt:o}),s}catch(s){throw window.__appsInToss.eventEmitter.emit("fetchError",{request:n,requestAt:o,error:s}),s}});HTMLCanvasElement.prototype.getContext=new Proxy(HTMLCanvasElement.prototype.getContext,{apply:(e,t,r)=>{let n=e.apply(t,r);return(n instanceof WebGL2RenderingContext||n instanceof WebGLRenderingContext)&&window.__appsInToss.eventEmitter.emit("webglGetContext",{canvas:t,context:n}),n}});var ge=window.__appsInToss.debugLogger;ge.log("load_start",{});window.addEventListener("load",()=>{let e=performance.timeOrigin,t=performance.getEntriesByType?.("navigation")[0]??null,r=typeof e<"u"&&t!==null,n=r?{navigationStartAtMs:e+t.startTime,navigationRedirectStartAtMs:e+t.redirectStart,navigationRedirectEndAtMs:e+t.redirectEnd,navigationRedirectCount:t.redirectCount,navigationServiceWorkerStartAtMs:e+t.workerStart,navigationFetchStartAtMs:e+t.fetchStart,navigationDomainLookupStartAtMs:e+t.domainLookupStart,navigationDomainLookupEndAtMs:e+t.domainLookupEnd,navigationConnectStartAtMs:e+t.connectStart,navigationSecureConnectStartAtMs:e+t.secureConnectionStart,navigationConnectEndAtMs:e+t.connectEnd,navigationRequestStartAtMs:e+t.requestStart,navigationResponseStartAtMs:e+t.responseStart,navigationResponseEndAtMs:e+t.responseEnd,navigationDomInteractiveAtMs:e+t.domInteractive,navigationDomContentLoadedEventStartAtMs:e+t.domContentLoadedEventStart,navigationDomContentLoadedEventEndAtMs:e+t.domContentLoadedEventEnd,navigationDomCompleteAtMs:e+t.domComplete}:{};ge.log("load_complete",{isNavigationDebugSupported:r,...n})});function T(e,t){return parseFloat(e.toFixed(t))}(()=>{if(typeof performance.memory>"u"||typeof performance.memory.usedJSHeapSize>"u"||typeof performance.memory.totalJSHeapSize>"u"||typeof performance.memory.jsHeapSizeLimit>"u")return;function e(t){window.__appsInToss.debugLogger.log(t,{usedJSHeapSize:T(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:T(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:T(performance.memory.jsHeapSizeLimit/1024,2)})}e("memory_usage_first_0s"),setTimeout(()=>e("memory_usage_first_1s"),1e3),setTimeout(()=>e("memory_usage_first_10s"),1e4),setTimeout(()=>e("memory_usage_first_30s"),3e4),setTimeout(()=>e("memory_usage_first_60s"),6e4),setInterval(()=>e("memory_usage_every_180s"),18e4)})();(()=>{let e=window.__appsInToss.debugLogger,t=performance.timeOrigin;if(typeof t>"u"||typeof PerformanceObserver>"u")return;new PerformanceObserver(o=>{o.getEntries().forEach(a=>{a.name==="first-paint"?e.log("first_paint",{fpStartAtMs:t+a.startTime}):a.name==="first-contentful-paint"&&e.log("first_contentful_paint",{fcpStartAtMs:t+a.startTime})})}).observe({type:"paint"}),new PerformanceObserver(o=>{o.getEntries().forEach(a=>{e.log("largest_contentful_paint",{lcpStartAtMs:t+a.startTime,lcpRenderSize:a.size})})}).observe({type:"largest-contentful-paint"})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.eventEmitter.on("webglGetContext",({canvas:t,context:r})=>{if(t.getAttribute("id")!=="unity-canvas")return;e();let n=r.getExtension("WEBGL_debug_renderer_info"),o=r.getParameter(r.MAX_VIEWPORT_DIMS),s={webGLRenderer:r.getParameter(r.RENDERER),webGLVendor:r.getParameter(r.VENDOR),webGLVersion:r.getParameter(r.VERSION),webGLShadingLanguageVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),webGLMaxTextureSize:r.getParameter(r.MAX_TEXTURE_SIZE),webGLMaxViewportWidth:o[0],webGLMaxViewportHeight:o[1],webGLMaxRenderbufferSize:r.getParameter(r.MAX_RENDERBUFFER_SIZE)},a=n?{webGLUnmaskedVendor:r.getParameter(n.UNMASKED_VENDOR_WEBGL),webGLUnmaskedRenderer:r.getParameter(n.UNMASKED_RENDERER_WEBGL)}:{};window.__appsInToss.debugLogger.log("unity_webgl_info",{...s,...a})})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.debugLogger,t=window.__appsInToss.eventEmitter;t.on("fetchRequest",({request:n})=>{y.test(n.url)&&e.log("game_resource_download_start",{gameResourceRequestURL:n.url})});function r({request:n,requestAt:o,error:s}){e.log("game_resource_download_error",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceError:s instanceof Error?s.message:"Unknown Error"})}t.on("fetchResponse",async({request:n,requestAt:o,response:s})=>{if(!y.test(n.url))return;let a=await s.clone().blob().then(m=>T(m.size/1024,2)).catch(m=>(r({request:n,requestAt:o,error:m}),null));if(a===null)return;let i=Date.now();e.log("game_resource_download_end",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceResponseAtMs:i,gameResourceResponseSize:a,gameResourceResponseStatus:s.__revalidateResponse?.status??s.status,gameResourceDownloadDurationMs:i-o})}),t.on("fetchError",async({request:n,requestAt:o,error:s})=>{y.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function tt(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){k.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function rt(){if(k.length===0)return;let e=k;k=[];let t=nt(e).toSorted(),r={};for(let o=0;o<=100;o+=10){let s=t[Math.floor((t.length-1)*(o/100))];s&&(r[`fpsP${o}`]=s)}let n=t.reduce((o,s)=>o+s,0);r.fpsAverage=n/t.length,window.__appsInToss.debugLogger.log("fps_every_300s",r)}function nt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>tt(),1e3);setInterval(()=>rt(),3e5);})();\n';
|
|
213990
|
+
m = '"use strict";(()=>{var ve=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},E=new ve,z=()=>Math.random().toString(36).substring(2,15),$=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function d(e){return(...t)=>{let r=z(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(E.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(E.on(`${e}/reject/${r}`,i=>{o(),a($(i))})),E.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function D(e){return t=>{let r=z(),n=[E.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),E.on(`${e}/onError/${r}`,o=>{t.onError($(o))})];return E.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{E.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function v(e){return()=>E.getConstant(e)}var he=function(){return{emit:function(t,r){for(var n=this.events[t]||[],o=0,s=n.length;o<s;o++)n[o](r)},events:{},on:function(t,r){var n=this,o,s;return((o=this.events)[s=t]||(o[s]=[])).push(r),function(){var a;n.events[t]=(a=n.events[t])===null||a===void 0?void 0:a.filter(function(i){return r!==i})}}}};typeof window<"u"&&(window.__GRANITE_NATIVE_EMITTER=he());var it=d("closeView"),dt=d("generateHapticFeedback"),ct=d("share"),ut=d("setSecureScreen"),pt=d("setScreenAwakeMode"),mt=d("getNetworkStatus"),lt=d("setIosSwipeGestureEnabled"),gt=d("openURL"),ft=d("openPermissionDialog"),vt=d("getPermission"),ht=d("requestPermission"),wt=v("setClipboardText"),Et=v("getClipboardText"),At=v("fetchContacts"),bt=v("fetchAlbumPhotos"),_t=v("getCurrentLocation"),St=v("openCamera"),Ct=d("appLogin"),It=d("eventLog"),yt=d("getTossShareLink"),Tt=d("setDeviceOrientation"),Rt=d("checkoutPayment"),Lt=d("requestTossPayPaysBilling"),Pt=d("saveBase64Data"),xt=d("openPDFViewer"),Dt=d("fetchAlbumItems"),Nt=d("appsInTossSignTossCert"),Mt=d("getGameCenterGameProfile"),Ft=d("openGameCenterLeaderboard"),Gt=d("submitGameCenterLeaderBoardScore"),Bt=d("getAnonymousKey"),kt=d("getUserKeyForGame"),Ot=d("grantPromotionReward"),Vt=d("grantPromotionRewardForGame"),Ht=d("getIsTossLoginIntegratedService"),qt=d("getServerTime"),Ut=d("requestReview"),Wt=v("getLocale"),zt=v("getSchemeUri"),$t=v("getPlatformOS"),jt=v("getOperationalEnvironment"),Kt=v("getTossAppVersion"),Jt=v("getDeviceId"),Xt=v("getGroupId"),Yt=D("contactsViral"),Zt=D("startUpdateLocation"),Qt=D("onVisibilityChangedByTransparentServiceWeb");var C=class extends Error{constructor({methodName:e,message:t}){super(),this.name=`${e} permission error`,this.message=t}},j=class extends C{constructor(){super({methodName:"fetchAlbumPhotos",message:"\\uC0AC\\uC9C4\\uCCA9 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},K=class extends C{constructor(){super({methodName:"fetchContacts",message:"\\uC5F0\\uB77D\\uCC98 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},J=class extends C{constructor(){super({methodName:"openCamera",message:"\\uCE74\\uBA54\\uB77C \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var V=class extends C{constructor(){super({methodName:"getCurrentLocation",message:"\\uC704\\uCE58 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},X=V,Y=class extends C{constructor(){super({methodName:"getClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC77D\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}},Z=class extends C{constructor(){super({methodName:"setClipboardText",message:"\\uD074\\uB9BD\\uBCF4\\uB4DC \\uC4F0\\uAE30 \\uAD8C\\uD55C\\uC774 \\uAC70\\uBD80\\uB418\\uC5C8\\uC5B4\\uC694."})}};var we=class{get _window(){return typeof window<"u"?window:{ReactNativeWebView:{postMessage:()=>{}},__GRANITE_NATIVE_EMITTER:{on:()=>()=>{}},__CONSTANT_HANDLER_MAP:{}}}postMessage(e){let t=this._window.ReactNativeWebView;if(!t)throw new Error("ReactNativeWebView is not available in browser environment");t.postMessage(JSON.stringify(e))}on(e,t){let r=this._window.__GRANITE_NATIVE_EMITTER;if(!r)throw new Error("__GRANITE_NATIVE_EMITTER is not available");return r.on(e,t)}getConstant(e){let t=this._window.__CONSTANT_HANDLER_MAP;if(t&&e in t)return t[e];throw new Error(`${e} is not a constant handler`)}},A=new we,de=()=>Math.random().toString(36).substring(2,15),ce=e=>{if(e&&e.__isError){let t=new Error(e.message);for(let[r,n]of Object.entries(e))t[r]=n;return t}return e};function c(e){return(...t)=>{let r=de(),n=[],o=()=>{for(let s of n)s()};return new Promise((s,a)=>{n.push(A.on(`${e}/resolve/${r}`,i=>{o(),s(i)})),n.push(A.on(`${e}/reject/${r}`,i=>{o(),a(ce(i))})),A.postMessage({type:"method",functionName:e,eventId:r,args:t})})}}function b(e){return t=>{let r=de(),n=[A.on(`${e}/onEvent/${r}`,o=>{t.onEvent(o)}),A.on(`${e}/onError/${r}`,o=>{t.onError(ce(o))})];return A.postMessage({type:"addEventListener",functionName:e,eventId:r,args:t.options}),()=>{A.postMessage({type:"removeEventListener",functionName:e,eventId:r}),n.forEach(o=>o())}}}function p(e){return()=>A.getConstant(e)}var cr={getItem:c("getStorageItem"),setItem:c("setStorageItem"),removeItem:c("removeStorageItem"),clearItems:c("clearItems")},Ee=/^[v^~<>=]*?(\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+)(?:\\.([x*]|\\d+))?(?:-([\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*))?(?:\\+[\\da-z\\\\-]+(?:\\.[\\da-z\\\\-]+)*)?)?)?$/i,Q=e=>["*","x","X"].includes(e),ee=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},Ae=(e,t)=>typeof e==typeof t?[e,t]:[String(e),String(t)],be=(e,t)=>{if(Q(e)||Q(t))return 0;let[r,n]=Ae(ee(e),ee(t));return r>n?1:r<n?-1:0},te=e=>{if(typeof e!="string")throw new TypeError("Invalid argument: expected a string");let t=e.match(Ee);if(!t)throw new Error(`Invalid semver: \'${e}\'`);let[,r,n,o,s,a]=t;return[r,n,o,s,a]},re=(e,t)=>{let r=Math.max(e.length,t.length);for(let n=0;n<r;n++){let o=e[n]??"0",s=t[n]??"0",a=be(o,s);if(a!==0)return a}return 0},_e=(e,t)=>{let r=te(e),n=te(t),o=r.pop(),s=n.pop(),a=re(r,n);return a!==0?a:o&&s?re(o.split("."),s.split(".")):o?-1:s?1:0};function H(e){if(p("getOperationalEnvironment")()==="sandbox")return!0;let r=p("getTossAppVersion")(),o=p("getPlatformOS")()==="ios"?e.ios:e.android;return o===void 0?!1:o==="always"?!0:o==="never"?!1:_e(r,o)>=0}function ne(e){return c("processProductGrant")(e)}var ur={createOneTimePurchaseOrder:e=>{let t=H({android:"5.219.0",ios:"5.219.0"}),r=()=>{};if(!t)return r;let n=H({android:"5.231.1",ios:"5.230.0"}),{options:o,onEvent:s,onError:a}=e,i=o.sku??o.productId;return n?b("requestOneTimePurchase")({options:{sku:i},onEvent:async g=>{if(g.type==="purchased"){let u=await o.processProductGrant({orderId:g.data.orderId});await ne({orderId:g.data.orderId,isProductGranted:u}).catch(a)}else s(g)},onError:g=>{a(g)}}):(c("iapCreateOneTimePurchaseOrder")({productId:i}).then(u=>{Promise.resolve(o.processProductGrant({orderId:u.orderId})).then(()=>{s({type:"success",data:u})}).catch(f=>{a(f)})}).catch(u=>{a(u)}),r)},createSubscriptionPurchaseOrder:e=>{let t=H({android:"5.248.0",ios:"5.249.0"}),r=()=>{};if(!t)return r;let{options:n,onEvent:o,onError:s}=e,{sku:a,offerId:i,processProductGrant:l}=n;return b("requestSubscriptionPurchase")({options:{sku:a,offerId:i??null},onEvent:async u=>{if(u.type==="purchased"){let f=await l({orderId:u.data.orderId,subscriptionId:u.data.subscriptionId});await ne({orderId:u.data.orderId,isProductGranted:f}).catch(s)}else o(u)},onError:u=>{s(u)}})},getProductItemList:c("iapGetProductItemList"),getPendingOrders:c("getPendingOrders"),getCompletedOrRefundedOrders:c("getCompletedOrRefundedOrders"),completeProductGrant:c("completeProductGrant"),getSubscriptionInfo:c("getSubscriptionInfo")},pr=p("getSafeAreaInsets");var mr=p("getSafeAreaInsets");var lr={loadAppsInTossAdMob:Object.assign(b("loadAppsInTossAdMob"),{isSupported:p("loadAppsInTossAdMob_isSupported")}),showAppsInTossAdMob:Object.assign(b("showAppsInTossAdMob"),{isSupported:p("showAppsInTossAdMob_isSupported")}),isAppsInTossAdMobLoaded:Object.assign(c("isAppsInTossAdMobLoaded"),{isSupported:p("isAppsInTossAdMobLoaded_isSupported")})};var gr={getDeploymentId:p("getDeploymentId")},fr=p("deploymentId"),vr=p("brandDisplayName"),hr=p("brandIcon"),wr=p("brandPrimaryColor");var Er={addAccessoryButton:c("addAccessoryButton"),removeAccessoryButton:c("removeAccessoryButton")},Se=c("requestPermission"),Ce=c("getPermission"),Ie=c("openPermissionDialog");function I({permission:e,handler:t,error:r}){let n=async(...o)=>{if(await Se(e)==="denied")throw new r;return t(...o)};return n.getPermission=()=>Ce(e),n.openPermissionDialog=()=>Ie(e),n}var br=I({handler:e=>c("fetchAlbumPhotos")(e),permission:{name:"photos",access:"read"},error:j}),Sr=I({handler:e=>c("fetchContacts")(e),permission:{name:"contacts",access:"read"},error:K}),Ir=I({handler:e=>c("getCurrentLocation")(e),permission:{name:"geolocation",access:"access"},error:V}),Tr=I({handler:e=>c("openCamera")(e),permission:{name:"camera",access:"access"},error:J}),Lr=I({handler:e=>c("setClipboardText")(e),permission:{name:"clipboard",access:"write"},error:Z}),xr=I({handler:()=>c("getClipboardText")(),permission:{name:"clipboard",access:"read"},error:Y}),ye=c("getPermission"),Te=c("openPermissionDialog"),ue=e=>b("updateLocationEvent")({...e,onError:t=>{let r=new X;return t instanceof Error&&t.name===r.name?e.onError(r):e.onError(t)}});ue.getPermission=()=>ye({name:"geolocation",access:"access"});ue.openPermissionDialog=()=>Te({name:"geolocation",access:"access"});var Nr=Object.assign(b("loadFullScreenAd"),{isSupported:p("loadFullScreenAd_isSupported")}),Mr=Object.assign(b("showFullScreenAd"),{isSupported:p("showFullScreenAd_isSupported")}),P=new WeakMap;function Re(e,t){let r=P.get(e);if(r)return r;let n=t(),o=!1,s={destroy(){o||(o=!0,P.get(e)===s&&P.delete(e),n.destroy())}};return P.set(e,s),s}function Le(){P=new WeakMap}var Pe=c("openURL");function xe(e){let t=De(e);return Pe(t)}function De(e){return["http://","https://"].some(r=>e.startsWith(r))?Ne(e):e}function Ne(e){return`supertoss://web?url=${encodeURIComponent(e)}&external=true`}var oe="https://static.toss.im/ads/sdk/toss-ads-space-kit-1.3.0.js",se=15e3,N=null;function S(){if(!(typeof window>"u"))return window.TossAdsSpaceKit}function Me(){if(typeof window>"u"||typeof document>"u")return Promise.reject(new Error("Ads SDK can only be loaded in a browser environment."));let e=S();if(e)return Promise.resolve(e);if(N)return N;let t=new Promise((r,n)=>{let o=document.createElement("script"),s=()=>{o.removeEventListener("load",a),o.removeEventListener("error",i),window.clearTimeout(l),N=null},a=()=>{let g=S();if(g){s(),r(g);return}s(),n(new Error("Ads SDK script loaded but window.TossAdsSpaceKit was not exposed."))},i=()=>{s(),n(new Error(`Failed to load Ads SDK script from ${oe}.`))},l=window.setTimeout(()=>{s(),n(new Error(`Loading Ads SDK timed out after ${se}ms.`))},se);o.addEventListener("load",a),o.addEventListener("error",i),o.async=!0,o.src=oe,document.head.appendChild(o)});return N=t,t}var _=Object.assign(b("fetchTossAd"),{isSupported:p("fetchTossAd_isSupported")}),Fe=c("tossAdEventLog"),Ge=new Set(["1","2"]),pe="\\uC798\\uBABB\\uB41C \\uC694\\uCCAD\\uC774\\uC5D0\\uC694. \\uD544\\uC694\\uD55C \\uAC12\\uC774 \\uBE44\\uC5B4 \\uC788\\uC5B4\\uC694.";function M(e){return e.trim()}function U(){return new Error(pe)}function Be(){return{resultType:"FAIL",error:{reason:pe}}}function ke(e){return new Promise((t,r)=>{if(!_.isSupported()){r(new Error("fetchTossAd is not supported in this environment."));return}let n=M(e.adGroupId);if(n.length===0){r(U());return}return _({options:{...e,adGroupId:n},onEvent:t,onError:r})})}function ae(e){let t=Array.isArray(e.ads)?e.ads.filter(r=>Ge.has(String(r.styleId))):[];return{requestId:e.requestId??"",status:e.status??"OK",ads:t,ext:e.ext}}function Oe(e){return Ve(e)?e.resultType!=="SUCCESS"?e:e.success?{...e,success:ae(e.success)}:{resultType:"FAIL",error:{reason:"fetchTossAd returned SUCCESS without payload"}}:He(e)?{resultType:"SUCCESS",success:ae(e)}:{resultType:"FAIL",error:{reason:"Invalid response from fetchTossAd"}}}function Ve(e){return!!(e&&typeof e=="object"&&"resultType"in e)}function He(e){return!!(e&&typeof e=="object"&&"ads"in e)}function qe(){return async(e,t)=>{let r=M(t.spaceUnitId);if(r.length===0)return Be();try{let n=await ke({adGroupId:r,sdkId:"108",availableStyleIds:["1","2"]});return Oe(n)}catch(n){return{resultType:"FAIL",error:{reason:n instanceof Error?n.message:"Unknown fetchTossAd error"}}}}}var L=null;function Ue(e){let{callbacks:t}=e,r=()=>t?.onInitialized?.(),n=a=>{let i=a instanceof Error?a:new Error(String(a));t?.onInitializationFailed?.(i)};if(S()?.isInitialized()){r();return}if(L!=null){L.then(r).catch(n);return}let s=Me().then(a=>{if(a.isInitialized())return;let l={environment:"live",customAdFetcher:qe(),opener:xe};a.init(l)});L=s,s.then(r).catch(n).finally(()=>{L===s&&(L=null)})}function We(e,t,r={}){let{callbacks:n}=r,o=M(e),s=a=>{let i=a instanceof Error?a:new Error(String(a));n?.onAdFailedToRender?.({slotId:"",adGroupId:o,adMetadata:{},error:{code:0,message:i.message}})};try{let a=o;if(a.length===0)throw U();let i=S();if(!i)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!i.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let l=typeof t=="string"?document.querySelector(t):t;if(!l)throw new Error(`[toss-ad] Failed to find target element: ${t}`);let g={spaceId:a,autoLoad:!0,theme:r.theme,padding:r.padding,callbacks:le(o,r.callbacks)};i.banner.createSlot(l,g)}catch(a){s(a)}}var ze="16px 20px",$e="20px",je="auto",Ke="blackAndWhite",Je="expanded",h="toss-ads-attach",ie="toss-ads-attach-style",me="data-toss-ads-attach-banner-wrapper",q=\'"Toss Product Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif\';function Xe(e){let t=e.ownerDocument;if(!t||t.getElementById(ie))return;let r=t.createElement("style");r.id=ie,r.textContent=`\n .${h},\n .${h} * {\n font-family: ${q};\n font-style: normal;\n }\n .${h} { background: #ffffff; }\n .${h}.toss-ads-tone-grey { background: #f2f4f7; }\n @media (prefers-color-scheme: dark) {\n .${h} { background: #17171c; }\n .${h}.toss-ads-tone-grey { background: #101013; }\n }\n .${h}.toss-ads-theme-light { background: #ffffff; }\n .${h}.toss-ads-theme-light.toss-ads-tone-grey { background: #f2f4f7; }\n .${h}.toss-ads-theme-dark { background: #17171c; }\n .${h}.toss-ads-theme-dark.toss-ads-tone-grey { background: #101013; }\n `;let n=t.head??t.body??t.documentElement;n&&n.appendChild(r)}function Ye(e){Array.from(e.children).forEach(t=>{t instanceof HTMLElement&&t.getAttribute(me)==="true"&&e.removeChild(t)})}function Ze(e,t,r={}){let{callbacks:n,theme:o=je,tone:s=Ke,variant:a=Je}=r,i=M(e),l=u=>{let f=u instanceof Error?u:new Error(String(u));n?.onAdFailedToRender?.({slotId:"",adGroupId:i,adMetadata:{},error:{code:0,message:f.message}})},g=le(i,n);try{let u=i;if(u.length===0)throw U();let f=S();if(!f)throw new Error("[toss-ad] Call initialize() before attaching an ad.");if(!f.banner)throw new Error("[toss-ad] Loaded TossAdsSpaceKit does not support banner ads.");let R=typeof t=="string"?document.querySelector(t):t;if(!R)throw new Error(`[toss-ad] Failed to find target element: ${t}`);return Re(R,()=>{let m=document.createElement("div");m.style.width="100%",m.style.height="100%",m.style.boxSizing="border-box",m.style.display="flex",m.style.flexDirection="column",m.style.fontFamily=q,m.style.fontStyle="normal",m.style.justifyContent="center",m.style.overflow="hidden",m.setAttribute(me,"true"),a==="card"&&(m.style.padding="0 10px");let w=document.createElement("div");w.classList.add(h),w.style.fontFamily=q,w.style.fontStyle="normal",s==="grey"&&w.classList.add("toss-ads-tone-grey"),o==="light"?w.classList.add("toss-ads-theme-light"):o==="dark"&&w.classList.add("toss-ads-theme-dark"),a==="card"&&(w.style.borderRadius="16px",w.style.overflow="hidden"),m.appendChild(w);let x=!1,W=null;try{Xe(R),Ye(R),R.appendChild(m),x=!0;let O={spaceId:u,autoLoad:!0,theme:o==="auto"?void 0:o,renderPadding:fe=>fe==="1"?ze:$e,callbacks:g};W=f.banner.createSlot(w,O)}catch(O){throw x&&m.parentNode&&m.parentNode.removeChild(m),O}return{destroy(){W?.destroy(),x&&m.parentNode&&m.parentNode.removeChild(m),x=!1}}})}catch(u){return l(u),{destroy(){}}}}function Qe(e){let t=S();t?.banner&&t.banner.destroy(e)}function et(){let e=S();e?.banner&&(e.banner.destroyAll(),Le())}function le(e,t){if(!t)return;let r=n=>{let o={...n??{}};return o.adGroupId=o.adGroupId??o.spaceId??e,delete o.spaceId,o};return{onAdRendered:n=>t.onAdRendered?.(r(n)),onAdViewable:n=>t.onAdViewable?.(r(n)),onAdClicked:n=>t.onAdClicked?.(r(n)),onAdImpression:n=>{Fe({log_name:"display_ads_all::impression__1px_banner",log_type:"event",params:{event_type:"impression",schema_id:1812034,request_id:n?.adMetadata?.requestId??""}}),t.onAdImpression?.(r(n))},onAdFailedToRender:n=>t.onAdFailedToRender?.({...r(n),error:n?.error??{code:0,message:"UNKNOWN"}}),onNoFill:n=>t.onNoFill?.(r(n))}}var Fr={initialize:Object.assign(Ue,{isSupported:_.isSupported}),attach:Object.assign(We,{isSupported:_.isSupported}),attachBanner:Object.assign(Ze,{isSupported:_.isSupported}),destroy:Object.assign(Qe,{isSupported:_.isSupported}),destroyAll:Object.assign(et,{isSupported:_.isSupported})},Gr=Object.assign(c("getServerTime"),{isSupported:p("getServerTime_isSupported")}),Br=Object.assign(c("requestReview"),{isSupported:p("requestReview_isSupported")});var F=class{_log=c("debugLog");log(t,r){try{this._log({log_name:`apps_in_toss_webview_${t}`,log_type:"debug",params:{...r,...this.getCommonParams()}})}catch{}}getCommonParams(){return{...this.getLocationInfo(),...this.getNavigatorInfo(),...this.getScreenInfo(),appName:window.__appsInToss.appName,deploymentId:window.__appsInToss.deploymentId,sessionId:window.__appsInToss.sessionId,isGame:window.__appsInToss.webViewType==="game",timestampMs:Date.now()}}getLocationInfo(){return{url:window.location.href,urlOrigin:window.location.origin,urlHost:window.location.hostname,urlPath:window.location.pathname,urlSearch:window.location.search}}getNavigatorInfo(){return{userAgent:navigator.userAgent,platform:navigator.platform,language:navigator.language,cookieEnabled:navigator.cookieEnabled,hardwareConcurrency:navigator.hardwareConcurrency,deviceMemory:navigator.deviceMemory?navigator.deviceMemory*1024*1024:void 0,maxTouchPoints:navigator.maxTouchPoints}}getScreenInfo(){return{screenWidth:screen.width,screenHeight:screen.height,availableScreenWidth:screen.availWidth,availableScreenHeight:screen.availHeight,devicePixelRatio:window.devicePixelRatio,colorDepth:screen.colorDepth,pixelDepth:screen.pixelDepth,viewportWidth:window.innerWidth,viewportHeight:window.innerHeight}}};var G=class{callbacks={};on(t,r){return typeof this.callbacks[t]>"u"&&(this.callbacks[t]=[]),this.callbacks[t].push(r),()=>{this.callbacks[t]=this.callbacks[t]?.filter(n=>n!==r)??[]}}emit(t,r){this.callbacks[t]?.forEach(n=>n(r))}};window.__appsInToss={appName:p("getAppName")(),deploymentId:p("getDeploymentId")(),webViewType:p("getWebViewType")(),sessionId:Math.random().toString(36).substring(2),eventEmitter:new G,debugLogger:new F};var y=/\\.(data|wasm|framework\\.js)(?:\\.gz|\\.br|\\.unityweb)?$/;function B(e){window.fetch=new Proxy(window.fetch,{apply:e})}(()=>{if(window.__appsInToss.webViewType!=="game"||typeof caches>"u")return;let e="@apps-in-toss/caches/",t=`${e}${window.__appsInToss.deploymentId}`;window.addEventListener("load",async()=>{let r=await caches.keys();for(let n of r)n.startsWith(e)&&n!==t&&await caches.delete(n)}),B(async(r,n,o)=>{let s=new Request(o[0],o[1]);if(!y.test(s.url))return await r.call(n,s);let a=await caches.open(t),i=await a.match(s);if(i){let g=i.headers.get("ETag"),u=i.headers.get("Last-Modified");g&&s.headers.set("If-None-Match",g),u&&s.headers.set("If-Modified-Since",u);let f=await r.call(n,s);return f.status===304?(i.__revalidateResponse=f,i):(a.put(s,f.clone()),f)}let l=await r.call(n,s);return a.put(s,l.clone()),l})})();B(async(e,t,r)=>{let n=new Request(r[0],r[1]),o=Date.now();window.__appsInToss.eventEmitter.emit("fetchRequest",{request:n});try{let s=await e.call(t,n);return window.__appsInToss.eventEmitter.emit("fetchResponse",{request:n,response:s,requestAt:o}),s}catch(s){throw window.__appsInToss.eventEmitter.emit("fetchError",{request:n,requestAt:o,error:s}),s}});HTMLCanvasElement.prototype.getContext=new Proxy(HTMLCanvasElement.prototype.getContext,{apply:(e,t,r)=>{let n=e.apply(t,r);return(n instanceof WebGL2RenderingContext||n instanceof WebGLRenderingContext)&&window.__appsInToss.eventEmitter.emit("webglGetContext",{canvas:t,context:n}),n}});var ge=window.__appsInToss.debugLogger;ge.log("load_start",{});window.addEventListener("load",()=>{let e=performance.timeOrigin,t=performance.getEntriesByType?.("navigation")[0]??null,r=typeof e<"u"&&t!==null,n=r?{navigationStartAtMs:e+t.startTime,navigationRedirectStartAtMs:e+t.redirectStart,navigationRedirectEndAtMs:e+t.redirectEnd,navigationRedirectCount:t.redirectCount,navigationServiceWorkerStartAtMs:e+t.workerStart,navigationFetchStartAtMs:e+t.fetchStart,navigationDomainLookupStartAtMs:e+t.domainLookupStart,navigationDomainLookupEndAtMs:e+t.domainLookupEnd,navigationConnectStartAtMs:e+t.connectStart,navigationSecureConnectStartAtMs:e+t.secureConnectionStart,navigationConnectEndAtMs:e+t.connectEnd,navigationRequestStartAtMs:e+t.requestStart,navigationResponseStartAtMs:e+t.responseStart,navigationResponseEndAtMs:e+t.responseEnd,navigationDomInteractiveAtMs:e+t.domInteractive,navigationDomContentLoadedEventStartAtMs:e+t.domContentLoadedEventStart,navigationDomContentLoadedEventEndAtMs:e+t.domContentLoadedEventEnd,navigationDomCompleteAtMs:e+t.domComplete}:{};ge.log("load_complete",{isNavigationDebugSupported:r,...n})});function T(e,t){return parseFloat(e.toFixed(t))}(()=>{if(typeof performance.memory>"u"||typeof performance.memory.usedJSHeapSize>"u"||typeof performance.memory.totalJSHeapSize>"u"||typeof performance.memory.jsHeapSizeLimit>"u")return;function e(t){window.__appsInToss.debugLogger.log(t,{usedJSHeapSize:T(performance.memory.usedJSHeapSize/1024,2),totalJSHeapSize:T(performance.memory.totalJSHeapSize/1024,2),jsHeapSizeLimit:T(performance.memory.jsHeapSizeLimit/1024,2)})}e("memory_usage_first_0s"),setTimeout(()=>e("memory_usage_first_1s"),1e3),setTimeout(()=>e("memory_usage_first_10s"),1e4),setTimeout(()=>e("memory_usage_first_30s"),3e4),setTimeout(()=>e("memory_usage_first_60s"),6e4),setInterval(()=>e("memory_usage_every_180s"),18e4)})();(()=>{let e=window.__appsInToss.debugLogger,t=performance.timeOrigin;if(typeof t>"u"||typeof PerformanceObserver>"u")return;new PerformanceObserver(o=>{o.getEntries().forEach(a=>{a.name==="first-paint"?e.log("first_paint",{fpStartAtMs:t+a.startTime}):a.name==="first-contentful-paint"&&e.log("first_contentful_paint",{fcpStartAtMs:t+a.startTime})})}).observe({type:"paint"}),new PerformanceObserver(o=>{o.getEntries().forEach(a=>{e.log("largest_contentful_paint",{lcpStartAtMs:t+a.startTime,lcpRenderSize:a.size})})}).observe({type:"largest-contentful-paint"})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.eventEmitter.on("webglGetContext",({canvas:t,context:r})=>{if(t.getAttribute("id")!=="unity-canvas")return;e();let n=r.getExtension("WEBGL_debug_renderer_info"),o=r.getParameter(r.MAX_VIEWPORT_DIMS),s={webGLRenderer:r.getParameter(r.RENDERER),webGLVendor:r.getParameter(r.VENDOR),webGLVersion:r.getParameter(r.VERSION),webGLShadingLanguageVersion:r.getParameter(r.SHADING_LANGUAGE_VERSION),webGLMaxTextureSize:r.getParameter(r.MAX_TEXTURE_SIZE),webGLMaxViewportWidth:o[0],webGLMaxViewportHeight:o[1],webGLMaxRenderbufferSize:r.getParameter(r.MAX_RENDERBUFFER_SIZE)},a=n?{webGLUnmaskedVendor:r.getParameter(n.UNMASKED_VENDOR_WEBGL),webGLUnmaskedRenderer:r.getParameter(n.UNMASKED_RENDERER_WEBGL)}:{};window.__appsInToss.debugLogger.log("unity_webgl_info",{...s,...a})})})();(()=>{if(window.__appsInToss.webViewType!=="game")return;let e=window.__appsInToss.debugLogger,t=window.__appsInToss.eventEmitter;t.on("fetchRequest",({request:n})=>{y.test(n.url)&&e.log("game_resource_download_start",{gameResourceRequestURL:n.url})});function r({request:n,requestAt:o,error:s}){e.log("game_resource_download_error",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceError:s instanceof Error?s.message:"Unknown Error"})}t.on("fetchResponse",async({request:n,requestAt:o,response:s})=>{if(!y.test(n.url))return;let a=await s.clone().blob().then(l=>T(l.size/1024,2)).catch(l=>(r({request:n,requestAt:o,error:l}),null));if(a===null)return;let i=Date.now();e.log("game_resource_download_end",{gameResourceRequestURL:n.url,gameResourceRequestAtMs:o,gameResourceResponseAtMs:i,gameResourceResponseSize:a,gameResourceResponseStatus:s.__revalidateResponse?.status??s.status,gameResourceDownloadDurationMs:i-o})}),t.on("fetchError",async({request:n,requestAt:o,error:s})=>{y.test(n.url)&&r({request:n,requestAt:o,error:s})})})();var k=[];function tt(){let e=0;function t(r){let n=performance.now();if(r<n-1e3){k.push(e);return}e+=1,window.requestAnimationFrame(()=>t(r))}window.requestAnimationFrame(()=>t(performance.now()))}function rt(){if(k.length===0)return;let e=k;k=[];let t=nt(e).toSorted(),r={};for(let o=0;o<=100;o+=10){let s=t[Math.floor((t.length-1)*(o/100))];s&&(r[`fpsP${o}`]=s)}let n=t.reduce((o,s)=>o+s,0);r.fpsAverage=n/t.length,window.__appsInToss.debugLogger.log("fps_every_300s",r)}function nt(e){let t=new Set(e);return Array.from(t.values())}setInterval(()=>tt(),1e3);setInterval(()=>rt(),3e5);})();\n';
|
|
213849
213991
|
0 && (module.exports = {
|
|
213850
213992
|
afterDocumentLoad,
|
|
213851
213993
|
beforeDocumentLoad
|
|
213852
213994
|
});
|
|
213853
|
-
},
|
|
213995
|
+
},2594,[],"../../user-scripts/dist/index.js");
|
|
213854
213996
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213855
213997
|
Object.defineProperty(exports, "__esModule", {
|
|
213856
213998
|
value: true
|
|
@@ -213863,7 +214005,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213863
214005
|
return files.get(id);
|
|
213864
214006
|
}
|
|
213865
214007
|
context.keys = () => Array.from(files.keys());
|
|
213866
|
-
},
|
|
214008
|
+
},2595,[2596,2597],"context.ts");
|
|
213867
214009
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213868
214010
|
Object.defineProperty(exports, "__esModule", {
|
|
213869
214011
|
value: true
|
|
@@ -213896,7 +214038,7 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213896
214038
|
})
|
|
213897
214039
|
});
|
|
213898
214040
|
}
|
|
213899
|
-
},
|
|
214041
|
+
},2596,[1280,34,9],"pages/index.tsx");
|
|
213900
214042
|
__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {
|
|
213901
214043
|
var _interopRequireDefault = _$$_REQUIRE(_dependencyMap[0], "@babel/runtime/helpers/interopRequireDefault");
|
|
213902
214044
|
Object.defineProperty(exports, "__esModule", {
|
|
@@ -213909,6 +214051,6 @@ __d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, e
|
|
|
213909
214051
|
}
|
|
213910
214052
|
});
|
|
213911
214053
|
var _index = _interopRequireDefault(_$$_REQUIRE(_dependencyMap[1], "./index"));
|
|
213912
|
-
},
|
|
214054
|
+
},2597,[1,2596],"pages/_404.tsx");
|
|
213913
214055
|
__r(188);
|
|
213914
214056
|
__r(0);
|