@orbit-software/sdk 1.10.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/esm/Overlay.d.ts +2 -0
- package/dist/esm/app/helpers.d.ts +2 -0
- package/dist/esm/app/ui/assets/IconBack.d.ts +1 -0
- package/dist/esm/app/ui/assets/IconClosePlain.d.ts +3 -0
- package/dist/esm/app/ui/components/AvatarProgress.d.ts +13 -0
- package/dist/esm/app/ui/components/ClosableModal.d.ts +11 -0
- package/dist/esm/app/ui/components/IconBalance.d.ts +3 -0
- package/dist/esm/app/ui/components/InputSwitch.d.ts +9 -0
- package/dist/esm/app/ui/components/Inventory/Inventory.d.ts +2 -0
- package/dist/esm/app/ui/components/Inventory/context.d.ts +10 -0
- package/dist/esm/app/ui/components/XsButton.d.ts +6 -0
- package/dist/esm/app/ui/hooks/useAnimateNumber.d.ts +1 -0
- package/dist/esm/app/utils.d.ts +2 -0
- package/dist/esm/boolean-D78EXBUO.mjs +1986 -0
- package/dist/esm/bootstrap.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconAd.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconAddCircle.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconCurrencyStar.d.ts +3 -0
- package/dist/esm/features/profile/assets/IconDrag.d.ts +2 -0
- package/dist/esm/features/profile/assets/IconEdit.d.ts +2 -0
- package/dist/esm/features/profile/assets/IconGame.d.ts +2 -0
- package/dist/esm/features/profile/assets/IconNoSign.d.ts +1 -0
- package/dist/esm/features/profile/assets/IconProfile.d.ts +1 -0
- package/dist/esm/features/profile/assets/moneyTongue.json.d.ts +3 -0
- package/dist/esm/features/profile/assets/newspaper.json.d.ts +3 -0
- package/dist/esm/features/profile/assets/profileBgGradients.d.ts +6 -0
- package/dist/esm/features/profile/components/Avatars.d.ts +8 -0
- package/dist/esm/features/profile/components/BalanceConfetti.d.ts +6 -0
- package/dist/esm/features/profile/components/BuyMenu.d.ts +8 -0
- package/dist/esm/features/profile/components/CircleParticles.d.ts +10 -0
- package/dist/esm/features/profile/components/FormattedXP.d.ts +8 -0
- package/dist/esm/features/profile/components/LevelInfoModal.d.ts +9 -0
- package/dist/esm/features/profile/components/ModalContainer.d.ts +6 -0
- package/dist/esm/features/profile/components/OverlayProfile.d.ts +8 -0
- package/dist/esm/features/profile/components/Profile.d.ts +3 -0
- package/dist/esm/features/profile/components/PurchaseConfirm.d.ts +9 -0
- package/dist/esm/features/profile/components/Ribbon.d.ts +6 -0
- package/dist/esm/features/profile/components/StarParticles.d.ts +10 -0
- package/dist/esm/features/profile/components/TaskCard.d.ts +21 -0
- package/dist/esm/features/profile/components/XpProgress.d.ts +14 -0
- package/dist/esm/features/profile/hooks/useAnimatedProfile.d.ts +5 -0
- package/dist/esm/gaussian-splat-compression-CzzkTP3L.mjs +1632 -0
- package/dist/esm/hooks/useForceRerender.d.ts +1 -0
- package/dist/esm/hooks/useMiniApp.d.ts +3 -0
- package/dist/esm/howler-Mh6LB0k5.mjs +572 -0
- package/dist/esm/i18n/index.d.ts +2 -0
- package/dist/esm/i18n/locales/translations/en.json.d.ts +213 -0
- package/dist/esm/i18n/locales/translations/ru.json.d.ts +210 -0
- package/dist/esm/launcherSrc/App.d.ts +2 -0
- package/dist/esm/launcherSrc/api/client.d.ts +3 -0
- package/dist/esm/launcherSrc/api/types.d.ts +181 -0
- package/dist/esm/launcherSrc/api/userApi.d.ts +22 -0
- package/dist/esm/launcherSrc/app/components/DebugConsole.d.ts +2 -0
- package/dist/esm/launcherSrc/app/contexts/SnackbarContext.d.ts +18 -0
- package/dist/esm/launcherSrc/app/helpers.d.ts +5 -0
- package/dist/esm/launcherSrc/app/hooks/forceRerender.d.ts +1 -0
- package/dist/esm/launcherSrc/app/hooks/useMainButtonControl.d.ts +7 -0
- package/dist/esm/launcherSrc/app/hooks/useMiniApp.d.ts +3 -0
- package/dist/esm/launcherSrc/app/hooks.d.ts +11 -0
- package/dist/esm/launcherSrc/app/store.d.ts +19 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconBack.d.ts +1 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconCheck.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconCheckThin.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconCross.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/assets/IconSearch.d.ts +2 -0
- package/dist/esm/launcherSrc/app/ui/components/AvatarProgress.d.ts +13 -0
- package/dist/esm/launcherSrc/app/ui/components/ClosableModal.d.ts +10 -0
- package/dist/esm/launcherSrc/app/ui/components/FormattedXP.d.ts +8 -0
- package/dist/esm/launcherSrc/app/ui/components/IconBalance.d.ts +3 -0
- package/dist/esm/launcherSrc/app/ui/components/InputSwitch.d.ts +9 -0
- package/dist/esm/launcherSrc/app/ui/components/Twemoji.d.ts +8 -0
- package/dist/esm/launcherSrc/app/ui/components/UICell.d.ts +16 -0
- package/dist/esm/launcherSrc/app/ui/components/UIDateInput.d.ts +21 -0
- package/dist/esm/launcherSrc/app/ui/components/UIDivider.d.ts +4 -0
- package/dist/esm/launcherSrc/app/ui/components/UIEmoji.d.ts +8 -0
- package/dist/esm/launcherSrc/app/ui/components/UIHero.d.ts +10 -0
- package/dist/esm/launcherSrc/app/ui/components/UISection.d.ts +9 -0
- package/dist/esm/launcherSrc/app/ui/components/UITextarea.d.ts +7 -0
- package/dist/esm/launcherSrc/app/ui/components/XpProgress.d.ts +13 -0
- package/dist/esm/launcherSrc/app/ui/components/XsButton.d.ts +6 -0
- package/dist/esm/launcherSrc/app/ui/hooks/useAnimateNumber.d.ts +1 -0
- package/dist/esm/launcherSrc/app/utils.d.ts +13 -0
- package/dist/esm/launcherSrc/assets/Icon28Edit.d.ts +2 -0
- package/dist/esm/launcherSrc/assets/Icon28Game.d.ts +1 -0
- package/dist/esm/launcherSrc/assets/Icon28Link.d.ts +1 -0
- package/dist/esm/launcherSrc/features/admin/components/Admin.d.ts +3 -0
- package/dist/esm/launcherSrc/features/admin/components/OverlayControl.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconFilter.d.ts +1 -0
- package/dist/esm/launcherSrc/features/games/assets/IconPlayers.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconQuestion.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconQuestionCircle.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconStar.d.ts +4 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownFilled.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsDownOutlined.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpFilled.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/assets/IconThumbsUpOutlined.d.ts +2 -0
- package/dist/esm/launcherSrc/features/games/components/GameItem.d.ts +10 -0
- package/dist/esm/launcherSrc/features/games/components/GamePage/GamePage.d.ts +6 -0
- package/dist/esm/launcherSrc/features/games/components/GamePage/GameReview.d.ts +10 -0
- package/dist/esm/launcherSrc/features/games/components/GamePage/GameReviews.d.ts +9 -0
- package/dist/esm/launcherSrc/features/games/components/Games.d.ts +3 -0
- package/dist/esm/launcherSrc/features/games/components/ResetStorageButton.d.ts +3 -0
- package/dist/esm/launcherSrc/features/games/components/ReviewModal.d.ts +10 -0
- package/dist/esm/launcherSrc/features/games/hooks/useGamesData.d.ts +13 -0
- package/dist/esm/launcherSrc/features/games/redux/gamesSlice.d.ts +34 -0
- package/dist/esm/launcherSrc/features/games/service/gamesService.d.ts +3 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/Rating.d.ts +1 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingCard/RatingCard.d.ts +10 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingInfo/RatingInfo.d.ts +1 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/IconWreaths.d.ts +3 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/RatingLevel.d.ts +6 -0
- package/dist/esm/launcherSrc/features/leaderboard/components/RatingLevel/lock.d.ts +3 -0
- package/dist/esm/launcherSrc/features/leaderboard/hooks/useLeaderboardData.d.ts +10 -0
- package/dist/esm/launcherSrc/features/leaderboard/index.d.ts +1 -0
- package/dist/esm/launcherSrc/features/leaderboard/redux/leaderboardSlice.d.ts +18 -0
- package/dist/esm/launcherSrc/features/leaderboard/services/leaderboardService.d.ts +2 -0
- package/dist/esm/launcherSrc/features/navigation/assets/IconGame.d.ts +1 -0
- package/dist/esm/launcherSrc/features/navigation/assets/IconProfile.d.ts +1 -0
- package/dist/esm/launcherSrc/features/navigation/assets/IconSmile.d.ts +2 -0
- package/dist/esm/launcherSrc/features/navigation/components/FloatingProfile.d.ts +2 -0
- package/dist/esm/launcherSrc/features/navigation/components/IconWithCounter.d.ts +7 -0
- package/dist/esm/launcherSrc/features/navigation/redux/navigationSlice.d.ts +15 -0
- package/dist/esm/launcherSrc/features/navigation/redux/tabsSlice.d.ts +12 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconAd.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconAddCircle.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconChevronRight.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconColorPicker.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconCurrencyStar.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconGlobe.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconLock.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconNoSign.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/assets/IconSignature.d.ts +5 -0
- package/dist/esm/launcherSrc/features/profile/assets/profileBgGradients.d.ts +50 -0
- package/dist/esm/launcherSrc/features/profile/components/AdsFree/BuyAdsFreeButton.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/AdsFree/PurchaseAdsFree.d.ts +9 -0
- package/dist/esm/launcherSrc/features/profile/components/Avatars/AvatarCreation.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/Avatars/Avatars.d.ts +11 -0
- package/dist/esm/launcherSrc/features/profile/components/Avatars/EditAvatarButton.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/ProfileBalance.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyMenu.d.ts +8 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/BuyOption.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/components/Balance/TopUpModal/Ribbon.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/BoxOpeningModal.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/DailyModal.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FIllBirthdate.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillCountry.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillEmail.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillProfile.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/FIllProfile/FillProfileLayout.d.ts +4 -0
- package/dist/esm/launcherSrc/features/profile/components/LevelInfoModal.d.ts +9 -0
- package/dist/esm/launcherSrc/features/profile/components/Profile.d.ts +3 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileGames.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileInventory.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileLeaderboard.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileReviews.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/ProfileTrophies.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/Tasks/TaskCard.d.ts +24 -0
- package/dist/esm/launcherSrc/features/profile/components/Tasks/Tasks.d.ts +2 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/BalanceConfetti.d.ts +6 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/CircleParticles.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/ConfettiParticles.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/components/particles/StarParticles.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/contexts/BoxOpeningContext.d.ts +12 -0
- package/dist/esm/launcherSrc/features/profile/data/countries.d.ts +10 -0
- package/dist/esm/launcherSrc/features/profile/hooks/useProfileData.d.ts +26 -0
- package/dist/esm/launcherSrc/features/profile/redux/profileSlice.d.ts +131 -0
- package/dist/esm/launcherSrc/features/profile/redux/shopSlice.d.ts +18 -0
- package/dist/esm/launcherSrc/features/profile/services/buyMenuService.d.ts +1 -0
- package/dist/esm/launcherSrc/features/profile/services/profileService.d.ts +12 -0
- package/dist/esm/launcherSrc/features/profile/services/shopService.d.ts +2 -0
- package/dist/esm/launcherSrc/i18n/index.d.ts +2 -0
- package/dist/esm/launcherSrc/index.d.ts +0 -0
- package/dist/esm/launcherSrc/setupTests.d.ts +0 -0
- package/dist/esm/launcherSrc/utils/openTelegramLinkFixed.d.ts +1 -0
- package/dist/esm/navmesh-BbINhDrO.mjs +1336 -0
- package/dist/esm/opentype-PR7hcvG5.mjs +4286 -0
- package/dist/esm/physics-B9pWoHiG.mjs +4375 -0
- package/dist/esm/process-DGf1Bnd3.mjs +2274 -0
- package/dist/esm/sdk-4y_oRGP7.mjs +76474 -0
- package/dist/esm/sdk.d.ts +130 -0
- package/dist/esm/sdk.mjs +9 -0
- package/dist/esm/sdk.umd.js +8382 -0
- package/dist/esm/stores/profileStore.d.ts +16 -0
- package/dist/esm/ui-C32u2WA-.mjs +2678 -0
- package/dist/esm/utils/global.d.ts +1 -0
- package/dist/umd/sdk.umd.js +8382 -0
- package/dist/umd_react/sdk_react.umd.js +8562 -0
- package/index.html +13 -0
- package/package.json +96 -0
|
@@ -0,0 +1,1336 @@
|
|
|
1
|
+
var $n = function() {
|
|
2
|
+
var be = typeof document < "u" && document.currentScript ? document.currentScript.src : void 0;
|
|
3
|
+
return function(t) {
|
|
4
|
+
t = t || {};
|
|
5
|
+
var t = typeof t < "u" ? t : {}, he, se;
|
|
6
|
+
t.ready = new Promise(function(e, r) {
|
|
7
|
+
he = e, se = r;
|
|
8
|
+
});
|
|
9
|
+
var B = {}, z;
|
|
10
|
+
for (z in t)
|
|
11
|
+
t.hasOwnProperty(z) && (B[z] = t[z]);
|
|
12
|
+
var ve = "./this.program", nn = !0, F = "";
|
|
13
|
+
function _n(e) {
|
|
14
|
+
return t.locateFile ? t.locateFile(e, F) : F + e;
|
|
15
|
+
}
|
|
16
|
+
var on;
|
|
17
|
+
typeof document < "u" && document.currentScript && (F = document.currentScript.src), be && (F = be), F.indexOf("blob:") !== 0 ? F = F.substr(0, F.replace(/[?#].*/, "").lastIndexOf("/") + 1) : F = "";
|
|
18
|
+
var an = t.print || console.log.bind(console), L = t.printErr || console.warn.bind(console);
|
|
19
|
+
for (z in B)
|
|
20
|
+
B.hasOwnProperty(z) && (t[z] = B[z]);
|
|
21
|
+
B = null, t.arguments && t.arguments, t.thisProgram && (ve = t.thisProgram), t.quit && t.quit;
|
|
22
|
+
function pn(e, r) {
|
|
23
|
+
if (typeof WebAssembly.Function == "function") {
|
|
24
|
+
for (var n = { i: "i32", j: "i64", f: "f32", d: "f64" }, i = { parameters: [], results: r[0] == "v" ? [] : [n[r[0]]] }, p = 1; p < r.length; ++p)
|
|
25
|
+
i.parameters.push(n[r[p]]);
|
|
26
|
+
return new WebAssembly.Function(i, e);
|
|
27
|
+
}
|
|
28
|
+
var d = [1, 0, 1, 96], m = r.slice(0, 1), f = r.slice(1), w = { i: 127, j: 126, f: 125, d: 124 };
|
|
29
|
+
d.push(f.length);
|
|
30
|
+
for (var p = 0; p < f.length; ++p)
|
|
31
|
+
d.push(w[f[p]]);
|
|
32
|
+
m == "v" ? d.push(0) : d = d.concat([1, w[m]]), d[1] = d.length - 2;
|
|
33
|
+
var Y = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0].concat(d, [2, 7, 1, 1, 101, 1, 102, 0, 0, 7, 5, 1, 1, 102, 0, 0])), oe = new WebAssembly.Module(Y), ae = new WebAssembly.Instance(oe, { e: { f: e } }), M = ae.exports.f;
|
|
34
|
+
return M;
|
|
35
|
+
}
|
|
36
|
+
var Ce = [], Q;
|
|
37
|
+
function sn() {
|
|
38
|
+
if (Ce.length)
|
|
39
|
+
return Ce.pop();
|
|
40
|
+
try {
|
|
41
|
+
U.grow(1);
|
|
42
|
+
} catch (e) {
|
|
43
|
+
throw e instanceof RangeError ? "Unable to grow wasm table. Set ALLOW_TABLE_GROWTH." : e;
|
|
44
|
+
}
|
|
45
|
+
return U.length - 1;
|
|
46
|
+
}
|
|
47
|
+
function cn(e, r) {
|
|
48
|
+
for (var n = e; n < e + r; n++) {
|
|
49
|
+
var i = me(n);
|
|
50
|
+
i && Q.set(i, n);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
function un(e, r) {
|
|
54
|
+
if (Q || (Q = /* @__PURE__ */ new WeakMap(), cn(0, U.length)), Q.has(e))
|
|
55
|
+
return Q.get(e);
|
|
56
|
+
var n = sn();
|
|
57
|
+
try {
|
|
58
|
+
Ee(n, e);
|
|
59
|
+
} catch (p) {
|
|
60
|
+
if (!(p instanceof TypeError))
|
|
61
|
+
throw p;
|
|
62
|
+
var i = pn(e, r);
|
|
63
|
+
Ee(n, i);
|
|
64
|
+
}
|
|
65
|
+
return Q.set(e, n), n;
|
|
66
|
+
}
|
|
67
|
+
var q;
|
|
68
|
+
t.wasmBinary && (q = t.wasmBinary), t.noExitRuntime, typeof WebAssembly != "object" && X("no native wasm support detected");
|
|
69
|
+
var $, we = !1;
|
|
70
|
+
function ce(e, r) {
|
|
71
|
+
e || X("Assertion failed: " + r);
|
|
72
|
+
}
|
|
73
|
+
var Ae = typeof TextDecoder < "u" ? new TextDecoder("utf8") : void 0;
|
|
74
|
+
function Pe(e, r, n) {
|
|
75
|
+
for (var i = r + n, p = r; e[p] && !(p >= i); ) ++p;
|
|
76
|
+
if (p - r > 16 && e.subarray && Ae)
|
|
77
|
+
return Ae.decode(e.subarray(r, p));
|
|
78
|
+
for (var d = ""; r < p; ) {
|
|
79
|
+
var m = e[r++];
|
|
80
|
+
if (!(m & 128)) {
|
|
81
|
+
d += String.fromCharCode(m);
|
|
82
|
+
continue;
|
|
83
|
+
}
|
|
84
|
+
var f = e[r++] & 63;
|
|
85
|
+
if ((m & 224) == 192) {
|
|
86
|
+
d += String.fromCharCode((m & 31) << 6 | f);
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
var w = e[r++] & 63;
|
|
90
|
+
if ((m & 240) == 224 ? m = (m & 15) << 12 | f << 6 | w : m = (m & 7) << 18 | f << 12 | w << 6 | e[r++] & 63, m < 65536)
|
|
91
|
+
d += String.fromCharCode(m);
|
|
92
|
+
else {
|
|
93
|
+
var Y = m - 65536;
|
|
94
|
+
d += String.fromCharCode(55296 | Y >> 10, 56320 | Y & 1023);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return d;
|
|
98
|
+
}
|
|
99
|
+
function ee(e, r) {
|
|
100
|
+
return e ? Pe(G, e, r) : "";
|
|
101
|
+
}
|
|
102
|
+
function ln(e, r, n, i) {
|
|
103
|
+
if (!(i > 0)) return 0;
|
|
104
|
+
for (var p = n, d = n + i - 1, m = 0; m < e.length; ++m) {
|
|
105
|
+
var f = e.charCodeAt(m);
|
|
106
|
+
if (f >= 55296 && f <= 57343) {
|
|
107
|
+
var w = e.charCodeAt(++m);
|
|
108
|
+
f = 65536 + ((f & 1023) << 10) | w & 1023;
|
|
109
|
+
}
|
|
110
|
+
if (f <= 127) {
|
|
111
|
+
if (n >= d) break;
|
|
112
|
+
r[n++] = f;
|
|
113
|
+
} else if (f <= 2047) {
|
|
114
|
+
if (n + 1 >= d) break;
|
|
115
|
+
r[n++] = 192 | f >> 6, r[n++] = 128 | f & 63;
|
|
116
|
+
} else if (f <= 65535) {
|
|
117
|
+
if (n + 2 >= d) break;
|
|
118
|
+
r[n++] = 224 | f >> 12, r[n++] = 128 | f >> 6 & 63, r[n++] = 128 | f & 63;
|
|
119
|
+
} else {
|
|
120
|
+
if (n + 3 >= d) break;
|
|
121
|
+
r[n++] = 240 | f >> 18, r[n++] = 128 | f >> 12 & 63, r[n++] = 128 | f >> 6 & 63, r[n++] = 128 | f & 63;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
return r[n] = 0, n - p;
|
|
125
|
+
}
|
|
126
|
+
function mn(e) {
|
|
127
|
+
for (var r = 0, n = 0; n < e.length; ++n) {
|
|
128
|
+
var i = e.charCodeAt(n);
|
|
129
|
+
i >= 55296 && i <= 57343 && (i = 65536 + ((i & 1023) << 10) | e.charCodeAt(++n) & 1023), i <= 127 ? ++r : i <= 2047 ? r += 2 : i <= 65535 ? r += 3 : r += 4;
|
|
130
|
+
}
|
|
131
|
+
return r;
|
|
132
|
+
}
|
|
133
|
+
function fn(e, r) {
|
|
134
|
+
V.set(e, r);
|
|
135
|
+
}
|
|
136
|
+
function dn(e, r, n) {
|
|
137
|
+
for (var i = 0; i < e.length; ++i)
|
|
138
|
+
V[r++ >> 0] = e.charCodeAt(i);
|
|
139
|
+
V[r >> 0] = 0;
|
|
140
|
+
}
|
|
141
|
+
function yn(e, r) {
|
|
142
|
+
return e % r > 0 && (e += r - e % r), e;
|
|
143
|
+
}
|
|
144
|
+
var Ne, V, G, y, ue;
|
|
145
|
+
function De(e) {
|
|
146
|
+
Ne = e, t.HEAP8 = V = new Int8Array(e), t.HEAP16 = new Int16Array(e), t.HEAP32 = y = new Int32Array(e), t.HEAPU8 = G = new Uint8Array(e), t.HEAPU16 = new Uint16Array(e), t.HEAPU32 = new Uint32Array(e), t.HEAPF32 = ue = new Float32Array(e), t.HEAPF64 = new Float64Array(e);
|
|
147
|
+
}
|
|
148
|
+
t.INITIAL_MEMORY;
|
|
149
|
+
var U, Se = [], Me = [], je = [];
|
|
150
|
+
function gn() {
|
|
151
|
+
if (t.preRun)
|
|
152
|
+
for (typeof t.preRun == "function" && (t.preRun = [t.preRun]); t.preRun.length; )
|
|
153
|
+
vn(t.preRun.shift());
|
|
154
|
+
le(Se);
|
|
155
|
+
}
|
|
156
|
+
function bn() {
|
|
157
|
+
le(Me);
|
|
158
|
+
}
|
|
159
|
+
function hn() {
|
|
160
|
+
if (t.postRun)
|
|
161
|
+
for (typeof t.postRun == "function" && (t.postRun = [t.postRun]); t.postRun.length; )
|
|
162
|
+
wn(t.postRun.shift());
|
|
163
|
+
le(je);
|
|
164
|
+
}
|
|
165
|
+
function vn(e) {
|
|
166
|
+
Se.unshift(e);
|
|
167
|
+
}
|
|
168
|
+
function Cn(e) {
|
|
169
|
+
Me.unshift(e);
|
|
170
|
+
}
|
|
171
|
+
function wn(e) {
|
|
172
|
+
je.unshift(e);
|
|
173
|
+
}
|
|
174
|
+
var W = 0, J = null;
|
|
175
|
+
function An(e) {
|
|
176
|
+
W++, t.monitorRunDependencies && t.monitorRunDependencies(W);
|
|
177
|
+
}
|
|
178
|
+
function Pn(e) {
|
|
179
|
+
if (W--, t.monitorRunDependencies && t.monitorRunDependencies(W), W == 0 && J) {
|
|
180
|
+
var r = J;
|
|
181
|
+
J = null, r();
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
t.preloadedImages = {}, t.preloadedAudios = {};
|
|
185
|
+
function X(e) {
|
|
186
|
+
t.onAbort && t.onAbort(e), e = "Aborted(" + e + ")", L(e), we = !0, e += ". Build with -s ASSERTIONS=1 for more info.";
|
|
187
|
+
var r = new WebAssembly.RuntimeError(e);
|
|
188
|
+
throw se(r), r;
|
|
189
|
+
}
|
|
190
|
+
var Nn = "data:application/octet-stream;base64,";
|
|
191
|
+
function Oe(e) {
|
|
192
|
+
return e.startsWith(Nn);
|
|
193
|
+
}
|
|
194
|
+
var j;
|
|
195
|
+
j = "navmesh.wasm", Oe(j) || (j = _n(j));
|
|
196
|
+
function Re(e) {
|
|
197
|
+
try {
|
|
198
|
+
if (e == j && q)
|
|
199
|
+
return new Uint8Array(q);
|
|
200
|
+
if (!on) throw "both async and sync fetching of the wasm failed";
|
|
201
|
+
} catch (r) {
|
|
202
|
+
X(r);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
function Dn() {
|
|
206
|
+
return !q && nn && typeof fetch == "function" ? fetch(j, { credentials: "same-origin" }).then(function(e) {
|
|
207
|
+
if (!e.ok)
|
|
208
|
+
throw "failed to load wasm binary file at '" + j + "'";
|
|
209
|
+
return e.arrayBuffer();
|
|
210
|
+
}).catch(function() {
|
|
211
|
+
return Re(j);
|
|
212
|
+
}) : Promise.resolve().then(function() {
|
|
213
|
+
return Re(j);
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
function Sn() {
|
|
217
|
+
var e = { a: In };
|
|
218
|
+
function r(m, f) {
|
|
219
|
+
var w = m.exports;
|
|
220
|
+
t.asm = w, $ = t.asm.m, De($.buffer), U = t.asm.Jb, Cn(t.asm.n), Pn();
|
|
221
|
+
}
|
|
222
|
+
An();
|
|
223
|
+
function n(m) {
|
|
224
|
+
r(m.instance);
|
|
225
|
+
}
|
|
226
|
+
function i(m) {
|
|
227
|
+
return Dn().then(function(f) {
|
|
228
|
+
return WebAssembly.instantiate(f, e);
|
|
229
|
+
}).then(function(f) {
|
|
230
|
+
return f;
|
|
231
|
+
}).then(m, function(f) {
|
|
232
|
+
L("failed to asynchronously prepare wasm: " + f), X(f);
|
|
233
|
+
});
|
|
234
|
+
}
|
|
235
|
+
function p() {
|
|
236
|
+
return !q && typeof WebAssembly.instantiateStreaming == "function" && !Oe(j) && typeof fetch == "function" ? fetch(j, { credentials: "same-origin" }).then(function(m) {
|
|
237
|
+
var f = WebAssembly.instantiateStreaming(m, e);
|
|
238
|
+
return f.then(n, function(w) {
|
|
239
|
+
return L("wasm streaming compile failed: " + w), L("falling back to ArrayBuffer instantiation"), i(n);
|
|
240
|
+
});
|
|
241
|
+
}) : i(n);
|
|
242
|
+
}
|
|
243
|
+
if (t.instantiateWasm)
|
|
244
|
+
try {
|
|
245
|
+
var d = t.instantiateWasm(e, r);
|
|
246
|
+
return d;
|
|
247
|
+
} catch (m) {
|
|
248
|
+
return L("Module.instantiateWasm callback failed with error: " + m), !1;
|
|
249
|
+
}
|
|
250
|
+
return p().catch(se), {};
|
|
251
|
+
}
|
|
252
|
+
function le(e) {
|
|
253
|
+
for (; e.length > 0; ) {
|
|
254
|
+
var r = e.shift();
|
|
255
|
+
if (typeof r == "function") {
|
|
256
|
+
r(t);
|
|
257
|
+
continue;
|
|
258
|
+
}
|
|
259
|
+
var n = r.func;
|
|
260
|
+
typeof n == "number" ? r.arg === void 0 ? me(n)() : me(n)(r.arg) : n(r.arg === void 0 ? null : r.arg);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
var K = [];
|
|
264
|
+
function me(e) {
|
|
265
|
+
var r = K[e];
|
|
266
|
+
return r || (e >= K.length && (K.length = e + 1), K[e] = r = U.get(e)), r;
|
|
267
|
+
}
|
|
268
|
+
function Ee(e, r) {
|
|
269
|
+
U.set(e, r), K[e] = r;
|
|
270
|
+
}
|
|
271
|
+
function Mn(e) {
|
|
272
|
+
return en(e + 16) + 16;
|
|
273
|
+
}
|
|
274
|
+
function jn(e) {
|
|
275
|
+
this.excPtr = e, this.ptr = e - 16, this.set_type = function(r) {
|
|
276
|
+
y[this.ptr + 4 >> 2] = r;
|
|
277
|
+
}, this.get_type = function() {
|
|
278
|
+
return y[this.ptr + 4 >> 2];
|
|
279
|
+
}, this.set_destructor = function(r) {
|
|
280
|
+
y[this.ptr + 8 >> 2] = r;
|
|
281
|
+
}, this.get_destructor = function() {
|
|
282
|
+
return y[this.ptr + 8 >> 2];
|
|
283
|
+
}, this.set_refcount = function(r) {
|
|
284
|
+
y[this.ptr >> 2] = r;
|
|
285
|
+
}, this.set_caught = function(r) {
|
|
286
|
+
r = r ? 1 : 0, V[this.ptr + 12 >> 0] = r;
|
|
287
|
+
}, this.get_caught = function() {
|
|
288
|
+
return V[this.ptr + 12 >> 0] != 0;
|
|
289
|
+
}, this.set_rethrown = function(r) {
|
|
290
|
+
r = r ? 1 : 0, V[this.ptr + 13 >> 0] = r;
|
|
291
|
+
}, this.get_rethrown = function() {
|
|
292
|
+
return V[this.ptr + 13 >> 0] != 0;
|
|
293
|
+
}, this.init = function(r, n) {
|
|
294
|
+
this.set_type(r), this.set_destructor(n), this.set_refcount(0), this.set_caught(!1), this.set_rethrown(!1);
|
|
295
|
+
}, this.add_ref = function() {
|
|
296
|
+
var r = y[this.ptr >> 2];
|
|
297
|
+
y[this.ptr >> 2] = r + 1;
|
|
298
|
+
}, this.release_ref = function() {
|
|
299
|
+
var r = y[this.ptr >> 2];
|
|
300
|
+
return y[this.ptr >> 2] = r - 1, r === 1;
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
function On(e, r, n) {
|
|
304
|
+
var i = new jn(e);
|
|
305
|
+
throw i.init(r, n), e;
|
|
306
|
+
}
|
|
307
|
+
function Rn() {
|
|
308
|
+
X("");
|
|
309
|
+
}
|
|
310
|
+
function En(e, r, n) {
|
|
311
|
+
G.copyWithin(e, r, r + n);
|
|
312
|
+
}
|
|
313
|
+
function Tn(e) {
|
|
314
|
+
try {
|
|
315
|
+
return $.grow(e - Ne.byteLength + 65535 >>> 16), De($.buffer), 1;
|
|
316
|
+
} catch {
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
function Fn(e) {
|
|
320
|
+
var r = G.length;
|
|
321
|
+
e = e >>> 0;
|
|
322
|
+
var n = 2147483648;
|
|
323
|
+
if (e > n)
|
|
324
|
+
return !1;
|
|
325
|
+
for (var i = 1; i <= 4; i *= 2) {
|
|
326
|
+
var p = r * (1 + 0.2 / i);
|
|
327
|
+
p = Math.min(p, e + 100663296);
|
|
328
|
+
var d = Math.min(n, yn(Math.max(e, p), 65536)), m = Tn(d);
|
|
329
|
+
if (m)
|
|
330
|
+
return !0;
|
|
331
|
+
}
|
|
332
|
+
return !1;
|
|
333
|
+
}
|
|
334
|
+
var fe = {};
|
|
335
|
+
function zn() {
|
|
336
|
+
return ve || "./this.program";
|
|
337
|
+
}
|
|
338
|
+
function Z() {
|
|
339
|
+
if (!Z.strings) {
|
|
340
|
+
var e = (typeof navigator == "object" && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8", r = { USER: "web_user", LOGNAME: "web_user", PATH: "/", PWD: "/", HOME: "/home/web_user", LANG: e, _: zn() };
|
|
341
|
+
for (var n in fe)
|
|
342
|
+
fe[n] === void 0 ? delete r[n] : r[n] = fe[n];
|
|
343
|
+
var i = [];
|
|
344
|
+
for (var n in r)
|
|
345
|
+
i.push(n + "=" + r[n]);
|
|
346
|
+
Z.strings = i;
|
|
347
|
+
}
|
|
348
|
+
return Z.strings;
|
|
349
|
+
}
|
|
350
|
+
var I = { mappings: {}, buffers: [null, [], []], printChar: function(e, r) {
|
|
351
|
+
var n = I.buffers[e];
|
|
352
|
+
r === 0 || r === 10 ? ((e === 1 ? an : L)(Pe(n, 0)), n.length = 0) : n.push(r);
|
|
353
|
+
}, varargs: void 0, get: function() {
|
|
354
|
+
I.varargs += 4;
|
|
355
|
+
var e = y[I.varargs - 4 >> 2];
|
|
356
|
+
return e;
|
|
357
|
+
}, getStr: function(e) {
|
|
358
|
+
var r = ee(e);
|
|
359
|
+
return r;
|
|
360
|
+
}, get64: function(e, r) {
|
|
361
|
+
return e;
|
|
362
|
+
} };
|
|
363
|
+
function Vn(e, r) {
|
|
364
|
+
var n = 0;
|
|
365
|
+
return Z().forEach(function(i, p) {
|
|
366
|
+
var d = r + n;
|
|
367
|
+
y[e + p * 4 >> 2] = d, dn(i, d), n += i.length + 1;
|
|
368
|
+
}), 0;
|
|
369
|
+
}
|
|
370
|
+
function kn(e, r) {
|
|
371
|
+
var n = Z();
|
|
372
|
+
y[e >> 2] = n.length;
|
|
373
|
+
var i = 0;
|
|
374
|
+
return n.forEach(function(p) {
|
|
375
|
+
i += p.length + 1;
|
|
376
|
+
}), y[r >> 2] = i, 0;
|
|
377
|
+
}
|
|
378
|
+
function xn(e) {
|
|
379
|
+
return 0;
|
|
380
|
+
}
|
|
381
|
+
function Wn(e, r, n, i) {
|
|
382
|
+
var p = I.getStreamFromFD(e), d = I.doReadv(p, r, n);
|
|
383
|
+
return y[i >> 2] = d, 0;
|
|
384
|
+
}
|
|
385
|
+
function Yn(e, r, n, i, p) {
|
|
386
|
+
}
|
|
387
|
+
function Hn(e, r, n, i) {
|
|
388
|
+
for (var p = 0, d = 0; d < n; d++) {
|
|
389
|
+
var m = y[r >> 2], f = y[r + 4 >> 2];
|
|
390
|
+
r += 8;
|
|
391
|
+
for (var w = 0; w < f; w++)
|
|
392
|
+
I.printChar(e, G[m + w]);
|
|
393
|
+
p += f;
|
|
394
|
+
}
|
|
395
|
+
return y[i >> 2] = p, 0;
|
|
396
|
+
}
|
|
397
|
+
function te(e) {
|
|
398
|
+
return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0);
|
|
399
|
+
}
|
|
400
|
+
function de(e, r) {
|
|
401
|
+
for (var n = 0, i = 0; i <= r; n += e[i++])
|
|
402
|
+
;
|
|
403
|
+
return n;
|
|
404
|
+
}
|
|
405
|
+
var re = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], ne = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
406
|
+
function _e(e, r) {
|
|
407
|
+
for (var n = new Date(e.getTime()); r > 0; ) {
|
|
408
|
+
var i = te(n.getFullYear()), p = n.getMonth(), d = (i ? re : ne)[p];
|
|
409
|
+
if (r > d - n.getDate())
|
|
410
|
+
r -= d - n.getDate() + 1, n.setDate(1), p < 11 ? n.setMonth(p + 1) : (n.setMonth(0), n.setFullYear(n.getFullYear() + 1));
|
|
411
|
+
else
|
|
412
|
+
return n.setDate(n.getDate() + r), n;
|
|
413
|
+
}
|
|
414
|
+
return n;
|
|
415
|
+
}
|
|
416
|
+
function Ln(e, r, n, i) {
|
|
417
|
+
var p = y[i + 40 >> 2], d = { tm_sec: y[i >> 2], tm_min: y[i + 4 >> 2], tm_hour: y[i + 8 >> 2], tm_mday: y[i + 12 >> 2], tm_mon: y[i + 16 >> 2], tm_year: y[i + 20 >> 2], tm_wday: y[i + 24 >> 2], tm_yday: y[i + 28 >> 2], tm_isdst: y[i + 32 >> 2], tm_gmtoff: y[i + 36 >> 2], tm_zone: p ? ee(p) : "" }, m = ee(n), f = { "%c": "%a %b %d %H:%M:%S %Y", "%D": "%m/%d/%y", "%F": "%Y-%m-%d", "%h": "%b", "%r": "%I:%M:%S %p", "%R": "%H:%M", "%T": "%H:%M:%S", "%x": "%m/%d/%y", "%X": "%H:%M:%S", "%Ec": "%c", "%EC": "%C", "%Ex": "%m/%d/%y", "%EX": "%H:%M:%S", "%Ey": "%y", "%EY": "%Y", "%Od": "%d", "%Oe": "%e", "%OH": "%H", "%OI": "%I", "%Om": "%m", "%OM": "%M", "%OS": "%S", "%Ou": "%u", "%OU": "%U", "%OV": "%V", "%Ow": "%w", "%OW": "%W", "%Oy": "%y" };
|
|
418
|
+
for (var w in f)
|
|
419
|
+
m = m.replace(new RegExp(w, "g"), f[w]);
|
|
420
|
+
var Y = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], oe = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
421
|
+
function ae(a, s, A) {
|
|
422
|
+
for (var b = typeof a == "number" ? a.toString() : a || ""; b.length < s; )
|
|
423
|
+
b = A[0] + b;
|
|
424
|
+
return b;
|
|
425
|
+
}
|
|
426
|
+
function M(a, s) {
|
|
427
|
+
return ae(a, s, "0");
|
|
428
|
+
}
|
|
429
|
+
function k(a, s) {
|
|
430
|
+
function A(T) {
|
|
431
|
+
return T < 0 ? -1 : T > 0 ? 1 : 0;
|
|
432
|
+
}
|
|
433
|
+
var b;
|
|
434
|
+
return (b = A(a.getFullYear() - s.getFullYear())) === 0 && (b = A(a.getMonth() - s.getMonth())) === 0 && (b = A(a.getDate() - s.getDate())), b;
|
|
435
|
+
}
|
|
436
|
+
function pe(a) {
|
|
437
|
+
switch (a.getDay()) {
|
|
438
|
+
case 0:
|
|
439
|
+
return new Date(a.getFullYear() - 1, 11, 29);
|
|
440
|
+
case 1:
|
|
441
|
+
return a;
|
|
442
|
+
case 2:
|
|
443
|
+
return new Date(a.getFullYear(), 0, 3);
|
|
444
|
+
case 3:
|
|
445
|
+
return new Date(a.getFullYear(), 0, 2);
|
|
446
|
+
case 4:
|
|
447
|
+
return new Date(a.getFullYear(), 0, 1);
|
|
448
|
+
case 5:
|
|
449
|
+
return new Date(a.getFullYear() - 1, 11, 31);
|
|
450
|
+
case 6:
|
|
451
|
+
return new Date(a.getFullYear() - 1, 11, 30);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
function tn(a) {
|
|
455
|
+
var s = _e(new Date(a.tm_year + 1900, 0, 1), a.tm_yday), A = new Date(s.getFullYear(), 0, 4), b = new Date(s.getFullYear() + 1, 0, 4), T = pe(A), x = pe(b);
|
|
456
|
+
return k(T, s) <= 0 ? k(x, s) <= 0 ? s.getFullYear() + 1 : s.getFullYear() : s.getFullYear() - 1;
|
|
457
|
+
}
|
|
458
|
+
var rn = { "%a": function(a) {
|
|
459
|
+
return Y[a.tm_wday].substring(0, 3);
|
|
460
|
+
}, "%A": function(a) {
|
|
461
|
+
return Y[a.tm_wday];
|
|
462
|
+
}, "%b": function(a) {
|
|
463
|
+
return oe[a.tm_mon].substring(0, 3);
|
|
464
|
+
}, "%B": function(a) {
|
|
465
|
+
return oe[a.tm_mon];
|
|
466
|
+
}, "%C": function(a) {
|
|
467
|
+
var s = a.tm_year + 1900;
|
|
468
|
+
return M(s / 100 | 0, 2);
|
|
469
|
+
}, "%d": function(a) {
|
|
470
|
+
return M(a.tm_mday, 2);
|
|
471
|
+
}, "%e": function(a) {
|
|
472
|
+
return ae(a.tm_mday, 2, " ");
|
|
473
|
+
}, "%g": function(a) {
|
|
474
|
+
return tn(a).toString().substring(2);
|
|
475
|
+
}, "%G": function(a) {
|
|
476
|
+
return tn(a);
|
|
477
|
+
}, "%H": function(a) {
|
|
478
|
+
return M(a.tm_hour, 2);
|
|
479
|
+
}, "%I": function(a) {
|
|
480
|
+
var s = a.tm_hour;
|
|
481
|
+
return s == 0 ? s = 12 : s > 12 && (s -= 12), M(s, 2);
|
|
482
|
+
}, "%j": function(a) {
|
|
483
|
+
return M(a.tm_mday + de(te(a.tm_year + 1900) ? re : ne, a.tm_mon - 1), 3);
|
|
484
|
+
}, "%m": function(a) {
|
|
485
|
+
return M(a.tm_mon + 1, 2);
|
|
486
|
+
}, "%M": function(a) {
|
|
487
|
+
return M(a.tm_min, 2);
|
|
488
|
+
}, "%n": function() {
|
|
489
|
+
return `
|
|
490
|
+
`;
|
|
491
|
+
}, "%p": function(a) {
|
|
492
|
+
return a.tm_hour >= 0 && a.tm_hour < 12 ? "AM" : "PM";
|
|
493
|
+
}, "%S": function(a) {
|
|
494
|
+
return M(a.tm_sec, 2);
|
|
495
|
+
}, "%t": function() {
|
|
496
|
+
return " ";
|
|
497
|
+
}, "%u": function(a) {
|
|
498
|
+
return a.tm_wday || 7;
|
|
499
|
+
}, "%U": function(a) {
|
|
500
|
+
var s = new Date(a.tm_year + 1900, 0, 1), A = s.getDay() === 0 ? s : _e(s, 7 - s.getDay()), b = new Date(a.tm_year + 1900, a.tm_mon, a.tm_mday);
|
|
501
|
+
if (k(A, b) < 0) {
|
|
502
|
+
var T = de(te(b.getFullYear()) ? re : ne, b.getMonth() - 1) - 31, x = 31 - A.getDate(), H = x + T + b.getDate();
|
|
503
|
+
return M(Math.ceil(H / 7), 2);
|
|
504
|
+
}
|
|
505
|
+
return k(A, s) === 0 ? "01" : "00";
|
|
506
|
+
}, "%V": function(a) {
|
|
507
|
+
var s = new Date(a.tm_year + 1900, 0, 4), A = new Date(a.tm_year + 1901, 0, 4), b = pe(s), T = pe(A), x = _e(new Date(a.tm_year + 1900, 0, 1), a.tm_yday);
|
|
508
|
+
if (k(x, b) < 0)
|
|
509
|
+
return "53";
|
|
510
|
+
if (k(T, x) <= 0)
|
|
511
|
+
return "01";
|
|
512
|
+
var H;
|
|
513
|
+
return b.getFullYear() < a.tm_year + 1900 ? H = a.tm_yday + 32 - b.getDate() : H = a.tm_yday + 1 - b.getDate(), M(Math.ceil(H / 7), 2);
|
|
514
|
+
}, "%w": function(a) {
|
|
515
|
+
return a.tm_wday;
|
|
516
|
+
}, "%W": function(a) {
|
|
517
|
+
var s = new Date(a.tm_year, 0, 1), A = s.getDay() === 1 ? s : _e(s, s.getDay() === 0 ? 1 : 7 - s.getDay() + 1), b = new Date(a.tm_year + 1900, a.tm_mon, a.tm_mday);
|
|
518
|
+
if (k(A, b) < 0) {
|
|
519
|
+
var T = de(te(b.getFullYear()) ? re : ne, b.getMonth() - 1) - 31, x = 31 - A.getDate(), H = x + T + b.getDate();
|
|
520
|
+
return M(Math.ceil(H / 7), 2);
|
|
521
|
+
}
|
|
522
|
+
return k(A, s) === 0 ? "01" : "00";
|
|
523
|
+
}, "%y": function(a) {
|
|
524
|
+
return (a.tm_year + 1900).toString().substring(2);
|
|
525
|
+
}, "%Y": function(a) {
|
|
526
|
+
return a.tm_year + 1900;
|
|
527
|
+
}, "%z": function(a) {
|
|
528
|
+
var s = a.tm_gmtoff, A = s >= 0;
|
|
529
|
+
return s = Math.abs(s) / 60, s = s / 60 * 100 + s % 60, (A ? "+" : "-") + ("0000" + s).slice(-4);
|
|
530
|
+
}, "%Z": function(a) {
|
|
531
|
+
return a.tm_zone;
|
|
532
|
+
}, "%%": function() {
|
|
533
|
+
return "%";
|
|
534
|
+
} };
|
|
535
|
+
for (var w in rn)
|
|
536
|
+
m.includes(w) && (m = m.replace(new RegExp(w, "g"), rn[w](d)));
|
|
537
|
+
var ge = Un(m);
|
|
538
|
+
return ge.length > r ? 0 : (fn(ge, e), ge.length - 1);
|
|
539
|
+
}
|
|
540
|
+
function Qn(e, r, n, i) {
|
|
541
|
+
return Ln(e, r, n, i);
|
|
542
|
+
}
|
|
543
|
+
function Un(e, r, n) {
|
|
544
|
+
var i = mn(e) + 1, p = new Array(i);
|
|
545
|
+
return ln(e, p, 0, p.length), p;
|
|
546
|
+
}
|
|
547
|
+
var In = { l: Mn, k: On, b: Rn, j: En, a: Fn, g: Vn, h: kn, c: xn, e: Wn, i: Yn, d: Hn, f: Qn };
|
|
548
|
+
Sn(), t.___wasm_call_ctors = function() {
|
|
549
|
+
return (t.___wasm_call_ctors = t.asm.n).apply(null, arguments);
|
|
550
|
+
};
|
|
551
|
+
var Te = t._emscripten_bind_VoidPtr___destroy___0 = function() {
|
|
552
|
+
return (Te = t._emscripten_bind_VoidPtr___destroy___0 = t.asm.o).apply(null, arguments);
|
|
553
|
+
}, Fe = t._emscripten_bind_rcConfig_rcConfig_0 = function() {
|
|
554
|
+
return (Fe = t._emscripten_bind_rcConfig_rcConfig_0 = t.asm.p).apply(null, arguments);
|
|
555
|
+
}, ze = t._emscripten_bind_rcConfig_get_width_0 = function() {
|
|
556
|
+
return (ze = t._emscripten_bind_rcConfig_get_width_0 = t.asm.q).apply(null, arguments);
|
|
557
|
+
}, Ve = t._emscripten_bind_rcConfig_set_width_1 = function() {
|
|
558
|
+
return (Ve = t._emscripten_bind_rcConfig_set_width_1 = t.asm.r).apply(null, arguments);
|
|
559
|
+
}, ke = t._emscripten_bind_rcConfig_get_height_0 = function() {
|
|
560
|
+
return (ke = t._emscripten_bind_rcConfig_get_height_0 = t.asm.s).apply(null, arguments);
|
|
561
|
+
}, xe = t._emscripten_bind_rcConfig_set_height_1 = function() {
|
|
562
|
+
return (xe = t._emscripten_bind_rcConfig_set_height_1 = t.asm.t).apply(null, arguments);
|
|
563
|
+
}, We = t._emscripten_bind_rcConfig_get_tileSize_0 = function() {
|
|
564
|
+
return (We = t._emscripten_bind_rcConfig_get_tileSize_0 = t.asm.u).apply(null, arguments);
|
|
565
|
+
}, Ye = t._emscripten_bind_rcConfig_set_tileSize_1 = function() {
|
|
566
|
+
return (Ye = t._emscripten_bind_rcConfig_set_tileSize_1 = t.asm.v).apply(null, arguments);
|
|
567
|
+
}, He = t._emscripten_bind_rcConfig_get_borderSize_0 = function() {
|
|
568
|
+
return (He = t._emscripten_bind_rcConfig_get_borderSize_0 = t.asm.w).apply(null, arguments);
|
|
569
|
+
}, Le = t._emscripten_bind_rcConfig_set_borderSize_1 = function() {
|
|
570
|
+
return (Le = t._emscripten_bind_rcConfig_set_borderSize_1 = t.asm.x).apply(null, arguments);
|
|
571
|
+
}, Qe = t._emscripten_bind_rcConfig_get_cs_0 = function() {
|
|
572
|
+
return (Qe = t._emscripten_bind_rcConfig_get_cs_0 = t.asm.y).apply(null, arguments);
|
|
573
|
+
}, Ue = t._emscripten_bind_rcConfig_set_cs_1 = function() {
|
|
574
|
+
return (Ue = t._emscripten_bind_rcConfig_set_cs_1 = t.asm.z).apply(null, arguments);
|
|
575
|
+
}, Ie = t._emscripten_bind_rcConfig_get_ch_0 = function() {
|
|
576
|
+
return (Ie = t._emscripten_bind_rcConfig_get_ch_0 = t.asm.A).apply(null, arguments);
|
|
577
|
+
}, Be = t._emscripten_bind_rcConfig_set_ch_1 = function() {
|
|
578
|
+
return (Be = t._emscripten_bind_rcConfig_set_ch_1 = t.asm.B).apply(null, arguments);
|
|
579
|
+
}, qe = t._emscripten_bind_rcConfig_get_bmin_1 = function() {
|
|
580
|
+
return (qe = t._emscripten_bind_rcConfig_get_bmin_1 = t.asm.C).apply(null, arguments);
|
|
581
|
+
}, Ge = t._emscripten_bind_rcConfig_set_bmin_2 = function() {
|
|
582
|
+
return (Ge = t._emscripten_bind_rcConfig_set_bmin_2 = t.asm.D).apply(null, arguments);
|
|
583
|
+
}, Je = t._emscripten_bind_rcConfig_get_bmax_1 = function() {
|
|
584
|
+
return (Je = t._emscripten_bind_rcConfig_get_bmax_1 = t.asm.E).apply(null, arguments);
|
|
585
|
+
}, Xe = t._emscripten_bind_rcConfig_set_bmax_2 = function() {
|
|
586
|
+
return (Xe = t._emscripten_bind_rcConfig_set_bmax_2 = t.asm.F).apply(null, arguments);
|
|
587
|
+
}, Ke = t._emscripten_bind_rcConfig_get_walkableSlopeAngle_0 = function() {
|
|
588
|
+
return (Ke = t._emscripten_bind_rcConfig_get_walkableSlopeAngle_0 = t.asm.G).apply(null, arguments);
|
|
589
|
+
}, Ze = t._emscripten_bind_rcConfig_set_walkableSlopeAngle_1 = function() {
|
|
590
|
+
return (Ze = t._emscripten_bind_rcConfig_set_walkableSlopeAngle_1 = t.asm.H).apply(null, arguments);
|
|
591
|
+
}, $e = t._emscripten_bind_rcConfig_get_walkableHeight_0 = function() {
|
|
592
|
+
return ($e = t._emscripten_bind_rcConfig_get_walkableHeight_0 = t.asm.I).apply(null, arguments);
|
|
593
|
+
}, et = t._emscripten_bind_rcConfig_set_walkableHeight_1 = function() {
|
|
594
|
+
return (et = t._emscripten_bind_rcConfig_set_walkableHeight_1 = t.asm.J).apply(null, arguments);
|
|
595
|
+
}, tt = t._emscripten_bind_rcConfig_get_walkableClimb_0 = function() {
|
|
596
|
+
return (tt = t._emscripten_bind_rcConfig_get_walkableClimb_0 = t.asm.K).apply(null, arguments);
|
|
597
|
+
}, rt = t._emscripten_bind_rcConfig_set_walkableClimb_1 = function() {
|
|
598
|
+
return (rt = t._emscripten_bind_rcConfig_set_walkableClimb_1 = t.asm.L).apply(null, arguments);
|
|
599
|
+
}, nt = t._emscripten_bind_rcConfig_get_walkableRadius_0 = function() {
|
|
600
|
+
return (nt = t._emscripten_bind_rcConfig_get_walkableRadius_0 = t.asm.M).apply(null, arguments);
|
|
601
|
+
}, _t = t._emscripten_bind_rcConfig_set_walkableRadius_1 = function() {
|
|
602
|
+
return (_t = t._emscripten_bind_rcConfig_set_walkableRadius_1 = t.asm.N).apply(null, arguments);
|
|
603
|
+
}, it = t._emscripten_bind_rcConfig_get_maxEdgeLen_0 = function() {
|
|
604
|
+
return (it = t._emscripten_bind_rcConfig_get_maxEdgeLen_0 = t.asm.O).apply(null, arguments);
|
|
605
|
+
}, ot = t._emscripten_bind_rcConfig_set_maxEdgeLen_1 = function() {
|
|
606
|
+
return (ot = t._emscripten_bind_rcConfig_set_maxEdgeLen_1 = t.asm.P).apply(null, arguments);
|
|
607
|
+
}, at = t._emscripten_bind_rcConfig_get_maxSimplificationError_0 = function() {
|
|
608
|
+
return (at = t._emscripten_bind_rcConfig_get_maxSimplificationError_0 = t.asm.Q).apply(null, arguments);
|
|
609
|
+
}, pt = t._emscripten_bind_rcConfig_set_maxSimplificationError_1 = function() {
|
|
610
|
+
return (pt = t._emscripten_bind_rcConfig_set_maxSimplificationError_1 = t.asm.R).apply(null, arguments);
|
|
611
|
+
}, st = t._emscripten_bind_rcConfig_get_minRegionArea_0 = function() {
|
|
612
|
+
return (st = t._emscripten_bind_rcConfig_get_minRegionArea_0 = t.asm.S).apply(null, arguments);
|
|
613
|
+
}, ct = t._emscripten_bind_rcConfig_set_minRegionArea_1 = function() {
|
|
614
|
+
return (ct = t._emscripten_bind_rcConfig_set_minRegionArea_1 = t.asm.T).apply(null, arguments);
|
|
615
|
+
}, ut = t._emscripten_bind_rcConfig_get_mergeRegionArea_0 = function() {
|
|
616
|
+
return (ut = t._emscripten_bind_rcConfig_get_mergeRegionArea_0 = t.asm.U).apply(null, arguments);
|
|
617
|
+
}, lt = t._emscripten_bind_rcConfig_set_mergeRegionArea_1 = function() {
|
|
618
|
+
return (lt = t._emscripten_bind_rcConfig_set_mergeRegionArea_1 = t.asm.V).apply(null, arguments);
|
|
619
|
+
}, mt = t._emscripten_bind_rcConfig_get_maxVertsPerPoly_0 = function() {
|
|
620
|
+
return (mt = t._emscripten_bind_rcConfig_get_maxVertsPerPoly_0 = t.asm.W).apply(null, arguments);
|
|
621
|
+
}, ft = t._emscripten_bind_rcConfig_set_maxVertsPerPoly_1 = function() {
|
|
622
|
+
return (ft = t._emscripten_bind_rcConfig_set_maxVertsPerPoly_1 = t.asm.X).apply(null, arguments);
|
|
623
|
+
}, dt = t._emscripten_bind_rcConfig_get_detailSampleDist_0 = function() {
|
|
624
|
+
return (dt = t._emscripten_bind_rcConfig_get_detailSampleDist_0 = t.asm.Y).apply(null, arguments);
|
|
625
|
+
}, yt = t._emscripten_bind_rcConfig_set_detailSampleDist_1 = function() {
|
|
626
|
+
return (yt = t._emscripten_bind_rcConfig_set_detailSampleDist_1 = t.asm.Z).apply(null, arguments);
|
|
627
|
+
}, gt = t._emscripten_bind_rcConfig_get_detailSampleMaxError_0 = function() {
|
|
628
|
+
return (gt = t._emscripten_bind_rcConfig_get_detailSampleMaxError_0 = t.asm._).apply(null, arguments);
|
|
629
|
+
}, bt = t._emscripten_bind_rcConfig_set_detailSampleMaxError_1 = function() {
|
|
630
|
+
return (bt = t._emscripten_bind_rcConfig_set_detailSampleMaxError_1 = t.asm.$).apply(null, arguments);
|
|
631
|
+
}, ht = t._emscripten_bind_rcConfig___destroy___0 = function() {
|
|
632
|
+
return (ht = t._emscripten_bind_rcConfig___destroy___0 = t.asm.aa).apply(null, arguments);
|
|
633
|
+
}, vt = t._emscripten_bind_Vec3_Vec3_0 = function() {
|
|
634
|
+
return (vt = t._emscripten_bind_Vec3_Vec3_0 = t.asm.ba).apply(null, arguments);
|
|
635
|
+
}, Ct = t._emscripten_bind_Vec3_Vec3_3 = function() {
|
|
636
|
+
return (Ct = t._emscripten_bind_Vec3_Vec3_3 = t.asm.ca).apply(null, arguments);
|
|
637
|
+
}, wt = t._emscripten_bind_Vec3_get_x_0 = function() {
|
|
638
|
+
return (wt = t._emscripten_bind_Vec3_get_x_0 = t.asm.da).apply(null, arguments);
|
|
639
|
+
}, At = t._emscripten_bind_Vec3_set_x_1 = function() {
|
|
640
|
+
return (At = t._emscripten_bind_Vec3_set_x_1 = t.asm.ea).apply(null, arguments);
|
|
641
|
+
}, Pt = t._emscripten_bind_Vec3_get_y_0 = function() {
|
|
642
|
+
return (Pt = t._emscripten_bind_Vec3_get_y_0 = t.asm.fa).apply(null, arguments);
|
|
643
|
+
}, Nt = t._emscripten_bind_Vec3_set_y_1 = function() {
|
|
644
|
+
return (Nt = t._emscripten_bind_Vec3_set_y_1 = t.asm.ga).apply(null, arguments);
|
|
645
|
+
}, Dt = t._emscripten_bind_Vec3_get_z_0 = function() {
|
|
646
|
+
return (Dt = t._emscripten_bind_Vec3_get_z_0 = t.asm.ha).apply(null, arguments);
|
|
647
|
+
}, St = t._emscripten_bind_Vec3_set_z_1 = function() {
|
|
648
|
+
return (St = t._emscripten_bind_Vec3_set_z_1 = t.asm.ia).apply(null, arguments);
|
|
649
|
+
}, Mt = t._emscripten_bind_Vec3___destroy___0 = function() {
|
|
650
|
+
return (Mt = t._emscripten_bind_Vec3___destroy___0 = t.asm.ja).apply(null, arguments);
|
|
651
|
+
}, jt = t._emscripten_bind_Triangle_Triangle_0 = function() {
|
|
652
|
+
return (jt = t._emscripten_bind_Triangle_Triangle_0 = t.asm.ka).apply(null, arguments);
|
|
653
|
+
}, Ot = t._emscripten_bind_Triangle_getPoint_1 = function() {
|
|
654
|
+
return (Ot = t._emscripten_bind_Triangle_getPoint_1 = t.asm.la).apply(null, arguments);
|
|
655
|
+
}, Rt = t._emscripten_bind_Triangle___destroy___0 = function() {
|
|
656
|
+
return (Rt = t._emscripten_bind_Triangle___destroy___0 = t.asm.ma).apply(null, arguments);
|
|
657
|
+
}, Et = t._emscripten_bind_DebugNavMesh_DebugNavMesh_0 = function() {
|
|
658
|
+
return (Et = t._emscripten_bind_DebugNavMesh_DebugNavMesh_0 = t.asm.na).apply(null, arguments);
|
|
659
|
+
}, Tt = t._emscripten_bind_DebugNavMesh_getTriangleCount_0 = function() {
|
|
660
|
+
return (Tt = t._emscripten_bind_DebugNavMesh_getTriangleCount_0 = t.asm.oa).apply(null, arguments);
|
|
661
|
+
}, Ft = t._emscripten_bind_DebugNavMesh_getTriangle_1 = function() {
|
|
662
|
+
return (Ft = t._emscripten_bind_DebugNavMesh_getTriangle_1 = t.asm.pa).apply(null, arguments);
|
|
663
|
+
}, zt = t._emscripten_bind_DebugNavMesh___destroy___0 = function() {
|
|
664
|
+
return (zt = t._emscripten_bind_DebugNavMesh___destroy___0 = t.asm.qa).apply(null, arguments);
|
|
665
|
+
}, Vt = t._emscripten_bind_dtNavMesh___destroy___0 = function() {
|
|
666
|
+
return (Vt = t._emscripten_bind_dtNavMesh___destroy___0 = t.asm.ra).apply(null, arguments);
|
|
667
|
+
}, kt = t._emscripten_bind_NavmeshData_NavmeshData_0 = function() {
|
|
668
|
+
return (kt = t._emscripten_bind_NavmeshData_NavmeshData_0 = t.asm.sa).apply(null, arguments);
|
|
669
|
+
}, xt = t._emscripten_bind_NavmeshData_get_dataPointer_0 = function() {
|
|
670
|
+
return (xt = t._emscripten_bind_NavmeshData_get_dataPointer_0 = t.asm.ta).apply(null, arguments);
|
|
671
|
+
}, Wt = t._emscripten_bind_NavmeshData_set_dataPointer_1 = function() {
|
|
672
|
+
return (Wt = t._emscripten_bind_NavmeshData_set_dataPointer_1 = t.asm.ua).apply(null, arguments);
|
|
673
|
+
}, Yt = t._emscripten_bind_NavmeshData_get_size_0 = function() {
|
|
674
|
+
return (Yt = t._emscripten_bind_NavmeshData_get_size_0 = t.asm.va).apply(null, arguments);
|
|
675
|
+
}, Ht = t._emscripten_bind_NavmeshData_set_size_1 = function() {
|
|
676
|
+
return (Ht = t._emscripten_bind_NavmeshData_set_size_1 = t.asm.wa).apply(null, arguments);
|
|
677
|
+
}, Lt = t._emscripten_bind_NavmeshData___destroy___0 = function() {
|
|
678
|
+
return (Lt = t._emscripten_bind_NavmeshData___destroy___0 = t.asm.xa).apply(null, arguments);
|
|
679
|
+
}, Qt = t._emscripten_bind_NavPath_getPointCount_0 = function() {
|
|
680
|
+
return (Qt = t._emscripten_bind_NavPath_getPointCount_0 = t.asm.ya).apply(null, arguments);
|
|
681
|
+
}, Ut = t._emscripten_bind_NavPath_getPoint_1 = function() {
|
|
682
|
+
return (Ut = t._emscripten_bind_NavPath_getPoint_1 = t.asm.za).apply(null, arguments);
|
|
683
|
+
}, It = t._emscripten_bind_NavPath___destroy___0 = function() {
|
|
684
|
+
return (It = t._emscripten_bind_NavPath___destroy___0 = t.asm.Aa).apply(null, arguments);
|
|
685
|
+
}, Bt = t._emscripten_bind_dtObstacleRef___destroy___0 = function() {
|
|
686
|
+
return (Bt = t._emscripten_bind_dtObstacleRef___destroy___0 = t.asm.Ba).apply(null, arguments);
|
|
687
|
+
}, qt = t._emscripten_bind_dtCrowdAgentParams_dtCrowdAgentParams_0 = function() {
|
|
688
|
+
return (qt = t._emscripten_bind_dtCrowdAgentParams_dtCrowdAgentParams_0 = t.asm.Ca).apply(null, arguments);
|
|
689
|
+
}, Gt = t._emscripten_bind_dtCrowdAgentParams_get_radius_0 = function() {
|
|
690
|
+
return (Gt = t._emscripten_bind_dtCrowdAgentParams_get_radius_0 = t.asm.Da).apply(null, arguments);
|
|
691
|
+
}, Jt = t._emscripten_bind_dtCrowdAgentParams_set_radius_1 = function() {
|
|
692
|
+
return (Jt = t._emscripten_bind_dtCrowdAgentParams_set_radius_1 = t.asm.Ea).apply(null, arguments);
|
|
693
|
+
}, Xt = t._emscripten_bind_dtCrowdAgentParams_get_height_0 = function() {
|
|
694
|
+
return (Xt = t._emscripten_bind_dtCrowdAgentParams_get_height_0 = t.asm.Fa).apply(null, arguments);
|
|
695
|
+
}, Kt = t._emscripten_bind_dtCrowdAgentParams_set_height_1 = function() {
|
|
696
|
+
return (Kt = t._emscripten_bind_dtCrowdAgentParams_set_height_1 = t.asm.Ga).apply(null, arguments);
|
|
697
|
+
}, Zt = t._emscripten_bind_dtCrowdAgentParams_get_maxAcceleration_0 = function() {
|
|
698
|
+
return (Zt = t._emscripten_bind_dtCrowdAgentParams_get_maxAcceleration_0 = t.asm.Ha).apply(null, arguments);
|
|
699
|
+
}, $t = t._emscripten_bind_dtCrowdAgentParams_set_maxAcceleration_1 = function() {
|
|
700
|
+
return ($t = t._emscripten_bind_dtCrowdAgentParams_set_maxAcceleration_1 = t.asm.Ia).apply(null, arguments);
|
|
701
|
+
}, er = t._emscripten_bind_dtCrowdAgentParams_get_maxSpeed_0 = function() {
|
|
702
|
+
return (er = t._emscripten_bind_dtCrowdAgentParams_get_maxSpeed_0 = t.asm.Ja).apply(null, arguments);
|
|
703
|
+
}, tr = t._emscripten_bind_dtCrowdAgentParams_set_maxSpeed_1 = function() {
|
|
704
|
+
return (tr = t._emscripten_bind_dtCrowdAgentParams_set_maxSpeed_1 = t.asm.Ka).apply(null, arguments);
|
|
705
|
+
}, rr = t._emscripten_bind_dtCrowdAgentParams_get_collisionQueryRange_0 = function() {
|
|
706
|
+
return (rr = t._emscripten_bind_dtCrowdAgentParams_get_collisionQueryRange_0 = t.asm.La).apply(null, arguments);
|
|
707
|
+
}, nr = t._emscripten_bind_dtCrowdAgentParams_set_collisionQueryRange_1 = function() {
|
|
708
|
+
return (nr = t._emscripten_bind_dtCrowdAgentParams_set_collisionQueryRange_1 = t.asm.Ma).apply(null, arguments);
|
|
709
|
+
}, _r = t._emscripten_bind_dtCrowdAgentParams_get_pathOptimizationRange_0 = function() {
|
|
710
|
+
return (_r = t._emscripten_bind_dtCrowdAgentParams_get_pathOptimizationRange_0 = t.asm.Na).apply(null, arguments);
|
|
711
|
+
}, ir = t._emscripten_bind_dtCrowdAgentParams_set_pathOptimizationRange_1 = function() {
|
|
712
|
+
return (ir = t._emscripten_bind_dtCrowdAgentParams_set_pathOptimizationRange_1 = t.asm.Oa).apply(null, arguments);
|
|
713
|
+
}, or = t._emscripten_bind_dtCrowdAgentParams_get_separationWeight_0 = function() {
|
|
714
|
+
return (or = t._emscripten_bind_dtCrowdAgentParams_get_separationWeight_0 = t.asm.Pa).apply(null, arguments);
|
|
715
|
+
}, ar = t._emscripten_bind_dtCrowdAgentParams_set_separationWeight_1 = function() {
|
|
716
|
+
return (ar = t._emscripten_bind_dtCrowdAgentParams_set_separationWeight_1 = t.asm.Qa).apply(null, arguments);
|
|
717
|
+
}, pr = t._emscripten_bind_dtCrowdAgentParams_get_updateFlags_0 = function() {
|
|
718
|
+
return (pr = t._emscripten_bind_dtCrowdAgentParams_get_updateFlags_0 = t.asm.Ra).apply(null, arguments);
|
|
719
|
+
}, sr = t._emscripten_bind_dtCrowdAgentParams_set_updateFlags_1 = function() {
|
|
720
|
+
return (sr = t._emscripten_bind_dtCrowdAgentParams_set_updateFlags_1 = t.asm.Sa).apply(null, arguments);
|
|
721
|
+
}, cr = t._emscripten_bind_dtCrowdAgentParams_get_obstacleAvoidanceType_0 = function() {
|
|
722
|
+
return (cr = t._emscripten_bind_dtCrowdAgentParams_get_obstacleAvoidanceType_0 = t.asm.Ta).apply(null, arguments);
|
|
723
|
+
}, ur = t._emscripten_bind_dtCrowdAgentParams_set_obstacleAvoidanceType_1 = function() {
|
|
724
|
+
return (ur = t._emscripten_bind_dtCrowdAgentParams_set_obstacleAvoidanceType_1 = t.asm.Ua).apply(null, arguments);
|
|
725
|
+
}, lr = t._emscripten_bind_dtCrowdAgentParams_get_queryFilterType_0 = function() {
|
|
726
|
+
return (lr = t._emscripten_bind_dtCrowdAgentParams_get_queryFilterType_0 = t.asm.Va).apply(null, arguments);
|
|
727
|
+
}, mr = t._emscripten_bind_dtCrowdAgentParams_set_queryFilterType_1 = function() {
|
|
728
|
+
return (mr = t._emscripten_bind_dtCrowdAgentParams_set_queryFilterType_1 = t.asm.Wa).apply(null, arguments);
|
|
729
|
+
}, fr = t._emscripten_bind_dtCrowdAgentParams_get_userData_0 = function() {
|
|
730
|
+
return (fr = t._emscripten_bind_dtCrowdAgentParams_get_userData_0 = t.asm.Xa).apply(null, arguments);
|
|
731
|
+
}, dr = t._emscripten_bind_dtCrowdAgentParams_set_userData_1 = function() {
|
|
732
|
+
return (dr = t._emscripten_bind_dtCrowdAgentParams_set_userData_1 = t.asm.Ya).apply(null, arguments);
|
|
733
|
+
}, yr = t._emscripten_bind_dtCrowdAgentParams___destroy___0 = function() {
|
|
734
|
+
return (yr = t._emscripten_bind_dtCrowdAgentParams___destroy___0 = t.asm.Za).apply(null, arguments);
|
|
735
|
+
}, gr = t._emscripten_bind_NavMesh_NavMesh_0 = function() {
|
|
736
|
+
return (gr = t._emscripten_bind_NavMesh_NavMesh_0 = t.asm._a).apply(null, arguments);
|
|
737
|
+
}, br = t._emscripten_bind_NavMesh_destroy_0 = function() {
|
|
738
|
+
return (br = t._emscripten_bind_NavMesh_destroy_0 = t.asm.$a).apply(null, arguments);
|
|
739
|
+
}, hr = t._emscripten_bind_NavMesh_build_5 = function() {
|
|
740
|
+
return (hr = t._emscripten_bind_NavMesh_build_5 = t.asm.ab).apply(null, arguments);
|
|
741
|
+
}, vr = t._emscripten_bind_NavMesh_buildFromNavmeshData_1 = function() {
|
|
742
|
+
return (vr = t._emscripten_bind_NavMesh_buildFromNavmeshData_1 = t.asm.bb).apply(null, arguments);
|
|
743
|
+
}, Cr = t._emscripten_bind_NavMesh_getNavmeshData_0 = function() {
|
|
744
|
+
return (Cr = t._emscripten_bind_NavMesh_getNavmeshData_0 = t.asm.cb).apply(null, arguments);
|
|
745
|
+
}, wr = t._emscripten_bind_NavMesh_freeNavmeshData_1 = function() {
|
|
746
|
+
return (wr = t._emscripten_bind_NavMesh_freeNavmeshData_1 = t.asm.db).apply(null, arguments);
|
|
747
|
+
}, Ar = t._emscripten_bind_NavMesh_getDebugNavMesh_0 = function() {
|
|
748
|
+
return (Ar = t._emscripten_bind_NavMesh_getDebugNavMesh_0 = t.asm.eb).apply(null, arguments);
|
|
749
|
+
}, Pr = t._emscripten_bind_NavMesh_getClosestPoint_1 = function() {
|
|
750
|
+
return (Pr = t._emscripten_bind_NavMesh_getClosestPoint_1 = t.asm.fb).apply(null, arguments);
|
|
751
|
+
}, Nr = t._emscripten_bind_NavMesh_getRandomPointAround_2 = function() {
|
|
752
|
+
return (Nr = t._emscripten_bind_NavMesh_getRandomPointAround_2 = t.asm.gb).apply(null, arguments);
|
|
753
|
+
}, Dr = t._emscripten_bind_NavMesh_moveAlong_2 = function() {
|
|
754
|
+
return (Dr = t._emscripten_bind_NavMesh_moveAlong_2 = t.asm.hb).apply(null, arguments);
|
|
755
|
+
}, Sr = t._emscripten_bind_NavMesh_getNavMesh_0 = function() {
|
|
756
|
+
return (Sr = t._emscripten_bind_NavMesh_getNavMesh_0 = t.asm.ib).apply(null, arguments);
|
|
757
|
+
}, Mr = t._emscripten_bind_NavMesh_computePath_2 = function() {
|
|
758
|
+
return (Mr = t._emscripten_bind_NavMesh_computePath_2 = t.asm.jb).apply(null, arguments);
|
|
759
|
+
}, jr = t._emscripten_bind_NavMesh_setDefaultQueryExtent_1 = function() {
|
|
760
|
+
return (jr = t._emscripten_bind_NavMesh_setDefaultQueryExtent_1 = t.asm.kb).apply(null, arguments);
|
|
761
|
+
}, Or = t._emscripten_bind_NavMesh_getDefaultQueryExtent_0 = function() {
|
|
762
|
+
return (Or = t._emscripten_bind_NavMesh_getDefaultQueryExtent_0 = t.asm.lb).apply(null, arguments);
|
|
763
|
+
}, Rr = t._emscripten_bind_NavMesh_addCylinderObstacle_3 = function() {
|
|
764
|
+
return (Rr = t._emscripten_bind_NavMesh_addCylinderObstacle_3 = t.asm.mb).apply(null, arguments);
|
|
765
|
+
}, Er = t._emscripten_bind_NavMesh_addBoxObstacle_3 = function() {
|
|
766
|
+
return (Er = t._emscripten_bind_NavMesh_addBoxObstacle_3 = t.asm.nb).apply(null, arguments);
|
|
767
|
+
}, Tr = t._emscripten_bind_NavMesh_removeObstacle_1 = function() {
|
|
768
|
+
return (Tr = t._emscripten_bind_NavMesh_removeObstacle_1 = t.asm.ob).apply(null, arguments);
|
|
769
|
+
}, Fr = t._emscripten_bind_NavMesh_update_0 = function() {
|
|
770
|
+
return (Fr = t._emscripten_bind_NavMesh_update_0 = t.asm.pb).apply(null, arguments);
|
|
771
|
+
}, zr = t._emscripten_bind_NavMesh___destroy___0 = function() {
|
|
772
|
+
return (zr = t._emscripten_bind_NavMesh___destroy___0 = t.asm.qb).apply(null, arguments);
|
|
773
|
+
}, Vr = t._emscripten_bind_Crowd_Crowd_3 = function() {
|
|
774
|
+
return (Vr = t._emscripten_bind_Crowd_Crowd_3 = t.asm.rb).apply(null, arguments);
|
|
775
|
+
}, kr = t._emscripten_bind_Crowd_destroy_0 = function() {
|
|
776
|
+
return (kr = t._emscripten_bind_Crowd_destroy_0 = t.asm.sb).apply(null, arguments);
|
|
777
|
+
}, xr = t._emscripten_bind_Crowd_addAgent_2 = function() {
|
|
778
|
+
return (xr = t._emscripten_bind_Crowd_addAgent_2 = t.asm.tb).apply(null, arguments);
|
|
779
|
+
}, Wr = t._emscripten_bind_Crowd_removeAgent_1 = function() {
|
|
780
|
+
return (Wr = t._emscripten_bind_Crowd_removeAgent_1 = t.asm.ub).apply(null, arguments);
|
|
781
|
+
}, Yr = t._emscripten_bind_Crowd_update_1 = function() {
|
|
782
|
+
return (Yr = t._emscripten_bind_Crowd_update_1 = t.asm.vb).apply(null, arguments);
|
|
783
|
+
}, Hr = t._emscripten_bind_Crowd_getAgentPosition_1 = function() {
|
|
784
|
+
return (Hr = t._emscripten_bind_Crowd_getAgentPosition_1 = t.asm.wb).apply(null, arguments);
|
|
785
|
+
}, Lr = t._emscripten_bind_Crowd_getAgentVelocity_1 = function() {
|
|
786
|
+
return (Lr = t._emscripten_bind_Crowd_getAgentVelocity_1 = t.asm.xb).apply(null, arguments);
|
|
787
|
+
}, Qr = t._emscripten_bind_Crowd_getAgentNextTargetPath_1 = function() {
|
|
788
|
+
return (Qr = t._emscripten_bind_Crowd_getAgentNextTargetPath_1 = t.asm.yb).apply(null, arguments);
|
|
789
|
+
}, Ur = t._emscripten_bind_Crowd_getAgentState_1 = function() {
|
|
790
|
+
return (Ur = t._emscripten_bind_Crowd_getAgentState_1 = t.asm.zb).apply(null, arguments);
|
|
791
|
+
}, Ir = t._emscripten_bind_Crowd_overOffmeshConnection_1 = function() {
|
|
792
|
+
return (Ir = t._emscripten_bind_Crowd_overOffmeshConnection_1 = t.asm.Ab).apply(null, arguments);
|
|
793
|
+
}, Br = t._emscripten_bind_Crowd_agentGoto_2 = function() {
|
|
794
|
+
return (Br = t._emscripten_bind_Crowd_agentGoto_2 = t.asm.Bb).apply(null, arguments);
|
|
795
|
+
}, qr = t._emscripten_bind_Crowd_agentTeleport_2 = function() {
|
|
796
|
+
return (qr = t._emscripten_bind_Crowd_agentTeleport_2 = t.asm.Cb).apply(null, arguments);
|
|
797
|
+
}, Gr = t._emscripten_bind_Crowd_getAgentParameters_1 = function() {
|
|
798
|
+
return (Gr = t._emscripten_bind_Crowd_getAgentParameters_1 = t.asm.Db).apply(null, arguments);
|
|
799
|
+
}, Jr = t._emscripten_bind_Crowd_setAgentParameters_2 = function() {
|
|
800
|
+
return (Jr = t._emscripten_bind_Crowd_setAgentParameters_2 = t.asm.Eb).apply(null, arguments);
|
|
801
|
+
}, Xr = t._emscripten_bind_Crowd_setDefaultQueryExtent_1 = function() {
|
|
802
|
+
return (Xr = t._emscripten_bind_Crowd_setDefaultQueryExtent_1 = t.asm.Fb).apply(null, arguments);
|
|
803
|
+
}, Kr = t._emscripten_bind_Crowd_getDefaultQueryExtent_0 = function() {
|
|
804
|
+
return (Kr = t._emscripten_bind_Crowd_getDefaultQueryExtent_0 = t.asm.Gb).apply(null, arguments);
|
|
805
|
+
}, Zr = t._emscripten_bind_Crowd_getCorners_1 = function() {
|
|
806
|
+
return (Zr = t._emscripten_bind_Crowd_getCorners_1 = t.asm.Hb).apply(null, arguments);
|
|
807
|
+
}, $r = t._emscripten_bind_Crowd___destroy___0 = function() {
|
|
808
|
+
return ($r = t._emscripten_bind_Crowd___destroy___0 = t.asm.Ib).apply(null, arguments);
|
|
809
|
+
}, en = t._malloc = function() {
|
|
810
|
+
return (en = t._malloc = t.asm.Kb).apply(null, arguments);
|
|
811
|
+
};
|
|
812
|
+
t._free = function() {
|
|
813
|
+
return (t._free = t.asm.Lb).apply(null, arguments);
|
|
814
|
+
}, t.UTF8ToString = ee, t.addFunction = un;
|
|
815
|
+
var ie;
|
|
816
|
+
J = function e() {
|
|
817
|
+
ie || ye(), ie || (J = e);
|
|
818
|
+
};
|
|
819
|
+
function ye(e) {
|
|
820
|
+
if (W > 0 || (gn(), W > 0))
|
|
821
|
+
return;
|
|
822
|
+
function r() {
|
|
823
|
+
ie || (ie = !0, t.calledRun = !0, !we && (bn(), he(t), t.onRuntimeInitialized && t.onRuntimeInitialized(), hn()));
|
|
824
|
+
}
|
|
825
|
+
t.setStatus ? (t.setStatus("Running..."), setTimeout(function() {
|
|
826
|
+
setTimeout(function() {
|
|
827
|
+
t.setStatus("");
|
|
828
|
+
}, 1), r();
|
|
829
|
+
}, 1)) : r();
|
|
830
|
+
}
|
|
831
|
+
if (t.run = ye, t.preInit)
|
|
832
|
+
for (typeof t.preInit == "function" && (t.preInit = [t.preInit]); t.preInit.length > 0; )
|
|
833
|
+
t.preInit.pop()();
|
|
834
|
+
ye();
|
|
835
|
+
function C() {
|
|
836
|
+
}
|
|
837
|
+
C.prototype = Object.create(C.prototype), C.prototype.constructor = C, C.prototype.__class__ = C, C.__cache__ = {}, t.WrapperObject = C;
|
|
838
|
+
function D(e) {
|
|
839
|
+
return (e || C).__cache__;
|
|
840
|
+
}
|
|
841
|
+
t.getCache = D;
|
|
842
|
+
function v(e, r) {
|
|
843
|
+
var n = D(r), i = n[e];
|
|
844
|
+
return i || (i = Object.create((r || C).prototype), i.ptr = e, n[e] = i);
|
|
845
|
+
}
|
|
846
|
+
t.wrapPointer = v;
|
|
847
|
+
function Bn(e, r) {
|
|
848
|
+
return v(e.ptr, r);
|
|
849
|
+
}
|
|
850
|
+
t.castObject = Bn, t.NULL = v(0);
|
|
851
|
+
function qn(e) {
|
|
852
|
+
if (!e.__destroy__) throw "Error: Cannot destroy object. (Did you create it yourself?)";
|
|
853
|
+
e.__destroy__(), delete D(e.__class__)[e.ptr];
|
|
854
|
+
}
|
|
855
|
+
t.destroy = qn;
|
|
856
|
+
function Gn(e, r) {
|
|
857
|
+
return e.ptr === r.ptr;
|
|
858
|
+
}
|
|
859
|
+
t.compare = Gn;
|
|
860
|
+
function Jn(e) {
|
|
861
|
+
return e.ptr;
|
|
862
|
+
}
|
|
863
|
+
t.getPointer = Jn;
|
|
864
|
+
function Xn(e) {
|
|
865
|
+
return e.__class__;
|
|
866
|
+
}
|
|
867
|
+
t.getClass = Xn;
|
|
868
|
+
var g = { buffer: 0, size: 0, pos: 0, temps: [], needed: 0, prepare: function() {
|
|
869
|
+
if (g.needed) {
|
|
870
|
+
for (var e = 0; e < g.temps.length; e++)
|
|
871
|
+
t._free(g.temps[e]);
|
|
872
|
+
g.temps.length = 0, t._free(g.buffer), g.buffer = 0, g.size += g.needed, g.needed = 0;
|
|
873
|
+
}
|
|
874
|
+
g.buffer || (g.size += 128, g.buffer = t._malloc(g.size), ce(g.buffer)), g.pos = 0;
|
|
875
|
+
}, alloc: function(e, r) {
|
|
876
|
+
ce(g.buffer);
|
|
877
|
+
var n = r.BYTES_PER_ELEMENT, i = e.length * n;
|
|
878
|
+
i = i + 7 & -8;
|
|
879
|
+
var p;
|
|
880
|
+
return g.pos + i >= g.size ? (ce(i > 0), g.needed += i, p = t._malloc(i), g.temps.push(p)) : (p = g.buffer + g.pos, g.pos += i), p;
|
|
881
|
+
}, copy: function(e, r, n) {
|
|
882
|
+
n >>>= 0;
|
|
883
|
+
var i = r.BYTES_PER_ELEMENT;
|
|
884
|
+
switch (i) {
|
|
885
|
+
case 2:
|
|
886
|
+
n >>>= 1;
|
|
887
|
+
break;
|
|
888
|
+
case 4:
|
|
889
|
+
n >>>= 2;
|
|
890
|
+
break;
|
|
891
|
+
case 8:
|
|
892
|
+
n >>>= 3;
|
|
893
|
+
break;
|
|
894
|
+
}
|
|
895
|
+
for (var p = 0; p < e.length; p++)
|
|
896
|
+
r[n + p] = e[p];
|
|
897
|
+
} };
|
|
898
|
+
function Kn(e) {
|
|
899
|
+
if (typeof e == "object") {
|
|
900
|
+
var r = g.alloc(e, y);
|
|
901
|
+
return g.copy(e, y, r), r;
|
|
902
|
+
}
|
|
903
|
+
return e;
|
|
904
|
+
}
|
|
905
|
+
function Zn(e) {
|
|
906
|
+
if (typeof e == "object") {
|
|
907
|
+
var r = g.alloc(e, ue);
|
|
908
|
+
return g.copy(e, ue, r), r;
|
|
909
|
+
}
|
|
910
|
+
return e;
|
|
911
|
+
}
|
|
912
|
+
function R() {
|
|
913
|
+
throw "cannot construct a VoidPtr, no constructor in IDL";
|
|
914
|
+
}
|
|
915
|
+
R.prototype = Object.create(C.prototype), R.prototype.constructor = R, R.prototype.__class__ = R, R.__cache__ = {}, t.VoidPtr = R, R.prototype.__destroy__ = R.prototype.__destroy__ = function() {
|
|
916
|
+
var e = this.ptr;
|
|
917
|
+
Te(e);
|
|
918
|
+
};
|
|
919
|
+
function _() {
|
|
920
|
+
this.ptr = Fe(), D(_)[this.ptr] = this;
|
|
921
|
+
}
|
|
922
|
+
_.prototype = Object.create(C.prototype), _.prototype.constructor = _, _.prototype.__class__ = _, _.__cache__ = {}, t.rcConfig = _, _.prototype.get_width = _.prototype.get_width = function() {
|
|
923
|
+
var e = this.ptr;
|
|
924
|
+
return ze(e);
|
|
925
|
+
}, _.prototype.set_width = _.prototype.set_width = function(e) {
|
|
926
|
+
var r = this.ptr;
|
|
927
|
+
e && typeof e == "object" && (e = e.ptr), Ve(r, e);
|
|
928
|
+
}, Object.defineProperty(_.prototype, "width", { get: _.prototype.get_width, set: _.prototype.set_width }), _.prototype.get_height = _.prototype.get_height = function() {
|
|
929
|
+
var e = this.ptr;
|
|
930
|
+
return ke(e);
|
|
931
|
+
}, _.prototype.set_height = _.prototype.set_height = function(e) {
|
|
932
|
+
var r = this.ptr;
|
|
933
|
+
e && typeof e == "object" && (e = e.ptr), xe(r, e);
|
|
934
|
+
}, Object.defineProperty(_.prototype, "height", { get: _.prototype.get_height, set: _.prototype.set_height }), _.prototype.get_tileSize = _.prototype.get_tileSize = function() {
|
|
935
|
+
var e = this.ptr;
|
|
936
|
+
return We(e);
|
|
937
|
+
}, _.prototype.set_tileSize = _.prototype.set_tileSize = function(e) {
|
|
938
|
+
var r = this.ptr;
|
|
939
|
+
e && typeof e == "object" && (e = e.ptr), Ye(r, e);
|
|
940
|
+
}, Object.defineProperty(_.prototype, "tileSize", { get: _.prototype.get_tileSize, set: _.prototype.set_tileSize }), _.prototype.get_borderSize = _.prototype.get_borderSize = function() {
|
|
941
|
+
var e = this.ptr;
|
|
942
|
+
return He(e);
|
|
943
|
+
}, _.prototype.set_borderSize = _.prototype.set_borderSize = function(e) {
|
|
944
|
+
var r = this.ptr;
|
|
945
|
+
e && typeof e == "object" && (e = e.ptr), Le(r, e);
|
|
946
|
+
}, Object.defineProperty(_.prototype, "borderSize", { get: _.prototype.get_borderSize, set: _.prototype.set_borderSize }), _.prototype.get_cs = _.prototype.get_cs = function() {
|
|
947
|
+
var e = this.ptr;
|
|
948
|
+
return Qe(e);
|
|
949
|
+
}, _.prototype.set_cs = _.prototype.set_cs = function(e) {
|
|
950
|
+
var r = this.ptr;
|
|
951
|
+
e && typeof e == "object" && (e = e.ptr), Ue(r, e);
|
|
952
|
+
}, Object.defineProperty(_.prototype, "cs", { get: _.prototype.get_cs, set: _.prototype.set_cs }), _.prototype.get_ch = _.prototype.get_ch = function() {
|
|
953
|
+
var e = this.ptr;
|
|
954
|
+
return Ie(e);
|
|
955
|
+
}, _.prototype.set_ch = _.prototype.set_ch = function(e) {
|
|
956
|
+
var r = this.ptr;
|
|
957
|
+
e && typeof e == "object" && (e = e.ptr), Be(r, e);
|
|
958
|
+
}, Object.defineProperty(_.prototype, "ch", { get: _.prototype.get_ch, set: _.prototype.set_ch }), _.prototype.get_bmin = _.prototype.get_bmin = function(e) {
|
|
959
|
+
var r = this.ptr;
|
|
960
|
+
return e && typeof e == "object" && (e = e.ptr), qe(r, e);
|
|
961
|
+
}, _.prototype.set_bmin = _.prototype.set_bmin = function(e, r) {
|
|
962
|
+
var n = this.ptr;
|
|
963
|
+
g.prepare(), e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), Ge(n, e, r);
|
|
964
|
+
}, Object.defineProperty(_.prototype, "bmin", { get: _.prototype.get_bmin, set: _.prototype.set_bmin }), _.prototype.get_bmax = _.prototype.get_bmax = function(e) {
|
|
965
|
+
var r = this.ptr;
|
|
966
|
+
return e && typeof e == "object" && (e = e.ptr), Je(r, e);
|
|
967
|
+
}, _.prototype.set_bmax = _.prototype.set_bmax = function(e, r) {
|
|
968
|
+
var n = this.ptr;
|
|
969
|
+
g.prepare(), e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), Xe(n, e, r);
|
|
970
|
+
}, Object.defineProperty(_.prototype, "bmax", { get: _.prototype.get_bmax, set: _.prototype.set_bmax }), _.prototype.get_walkableSlopeAngle = _.prototype.get_walkableSlopeAngle = function() {
|
|
971
|
+
var e = this.ptr;
|
|
972
|
+
return Ke(e);
|
|
973
|
+
}, _.prototype.set_walkableSlopeAngle = _.prototype.set_walkableSlopeAngle = function(e) {
|
|
974
|
+
var r = this.ptr;
|
|
975
|
+
e && typeof e == "object" && (e = e.ptr), Ze(r, e);
|
|
976
|
+
}, Object.defineProperty(_.prototype, "walkableSlopeAngle", { get: _.prototype.get_walkableSlopeAngle, set: _.prototype.set_walkableSlopeAngle }), _.prototype.get_walkableHeight = _.prototype.get_walkableHeight = function() {
|
|
977
|
+
var e = this.ptr;
|
|
978
|
+
return $e(e);
|
|
979
|
+
}, _.prototype.set_walkableHeight = _.prototype.set_walkableHeight = function(e) {
|
|
980
|
+
var r = this.ptr;
|
|
981
|
+
e && typeof e == "object" && (e = e.ptr), et(r, e);
|
|
982
|
+
}, Object.defineProperty(_.prototype, "walkableHeight", { get: _.prototype.get_walkableHeight, set: _.prototype.set_walkableHeight }), _.prototype.get_walkableClimb = _.prototype.get_walkableClimb = function() {
|
|
983
|
+
var e = this.ptr;
|
|
984
|
+
return tt(e);
|
|
985
|
+
}, _.prototype.set_walkableClimb = _.prototype.set_walkableClimb = function(e) {
|
|
986
|
+
var r = this.ptr;
|
|
987
|
+
e && typeof e == "object" && (e = e.ptr), rt(r, e);
|
|
988
|
+
}, Object.defineProperty(_.prototype, "walkableClimb", { get: _.prototype.get_walkableClimb, set: _.prototype.set_walkableClimb }), _.prototype.get_walkableRadius = _.prototype.get_walkableRadius = function() {
|
|
989
|
+
var e = this.ptr;
|
|
990
|
+
return nt(e);
|
|
991
|
+
}, _.prototype.set_walkableRadius = _.prototype.set_walkableRadius = function(e) {
|
|
992
|
+
var r = this.ptr;
|
|
993
|
+
e && typeof e == "object" && (e = e.ptr), _t(r, e);
|
|
994
|
+
}, Object.defineProperty(_.prototype, "walkableRadius", { get: _.prototype.get_walkableRadius, set: _.prototype.set_walkableRadius }), _.prototype.get_maxEdgeLen = _.prototype.get_maxEdgeLen = function() {
|
|
995
|
+
var e = this.ptr;
|
|
996
|
+
return it(e);
|
|
997
|
+
}, _.prototype.set_maxEdgeLen = _.prototype.set_maxEdgeLen = function(e) {
|
|
998
|
+
var r = this.ptr;
|
|
999
|
+
e && typeof e == "object" && (e = e.ptr), ot(r, e);
|
|
1000
|
+
}, Object.defineProperty(_.prototype, "maxEdgeLen", { get: _.prototype.get_maxEdgeLen, set: _.prototype.set_maxEdgeLen }), _.prototype.get_maxSimplificationError = _.prototype.get_maxSimplificationError = function() {
|
|
1001
|
+
var e = this.ptr;
|
|
1002
|
+
return at(e);
|
|
1003
|
+
}, _.prototype.set_maxSimplificationError = _.prototype.set_maxSimplificationError = function(e) {
|
|
1004
|
+
var r = this.ptr;
|
|
1005
|
+
e && typeof e == "object" && (e = e.ptr), pt(r, e);
|
|
1006
|
+
}, Object.defineProperty(_.prototype, "maxSimplificationError", { get: _.prototype.get_maxSimplificationError, set: _.prototype.set_maxSimplificationError }), _.prototype.get_minRegionArea = _.prototype.get_minRegionArea = function() {
|
|
1007
|
+
var e = this.ptr;
|
|
1008
|
+
return st(e);
|
|
1009
|
+
}, _.prototype.set_minRegionArea = _.prototype.set_minRegionArea = function(e) {
|
|
1010
|
+
var r = this.ptr;
|
|
1011
|
+
e && typeof e == "object" && (e = e.ptr), ct(r, e);
|
|
1012
|
+
}, Object.defineProperty(_.prototype, "minRegionArea", { get: _.prototype.get_minRegionArea, set: _.prototype.set_minRegionArea }), _.prototype.get_mergeRegionArea = _.prototype.get_mergeRegionArea = function() {
|
|
1013
|
+
var e = this.ptr;
|
|
1014
|
+
return ut(e);
|
|
1015
|
+
}, _.prototype.set_mergeRegionArea = _.prototype.set_mergeRegionArea = function(e) {
|
|
1016
|
+
var r = this.ptr;
|
|
1017
|
+
e && typeof e == "object" && (e = e.ptr), lt(r, e);
|
|
1018
|
+
}, Object.defineProperty(_.prototype, "mergeRegionArea", { get: _.prototype.get_mergeRegionArea, set: _.prototype.set_mergeRegionArea }), _.prototype.get_maxVertsPerPoly = _.prototype.get_maxVertsPerPoly = function() {
|
|
1019
|
+
var e = this.ptr;
|
|
1020
|
+
return mt(e);
|
|
1021
|
+
}, _.prototype.set_maxVertsPerPoly = _.prototype.set_maxVertsPerPoly = function(e) {
|
|
1022
|
+
var r = this.ptr;
|
|
1023
|
+
e && typeof e == "object" && (e = e.ptr), ft(r, e);
|
|
1024
|
+
}, Object.defineProperty(_.prototype, "maxVertsPerPoly", { get: _.prototype.get_maxVertsPerPoly, set: _.prototype.set_maxVertsPerPoly }), _.prototype.get_detailSampleDist = _.prototype.get_detailSampleDist = function() {
|
|
1025
|
+
var e = this.ptr;
|
|
1026
|
+
return dt(e);
|
|
1027
|
+
}, _.prototype.set_detailSampleDist = _.prototype.set_detailSampleDist = function(e) {
|
|
1028
|
+
var r = this.ptr;
|
|
1029
|
+
e && typeof e == "object" && (e = e.ptr), yt(r, e);
|
|
1030
|
+
}, Object.defineProperty(_.prototype, "detailSampleDist", { get: _.prototype.get_detailSampleDist, set: _.prototype.set_detailSampleDist }), _.prototype.get_detailSampleMaxError = _.prototype.get_detailSampleMaxError = function() {
|
|
1031
|
+
var e = this.ptr;
|
|
1032
|
+
return gt(e);
|
|
1033
|
+
}, _.prototype.set_detailSampleMaxError = _.prototype.set_detailSampleMaxError = function(e) {
|
|
1034
|
+
var r = this.ptr;
|
|
1035
|
+
e && typeof e == "object" && (e = e.ptr), bt(r, e);
|
|
1036
|
+
}, Object.defineProperty(_.prototype, "detailSampleMaxError", { get: _.prototype.get_detailSampleMaxError, set: _.prototype.set_detailSampleMaxError }), _.prototype.__destroy__ = _.prototype.__destroy__ = function() {
|
|
1037
|
+
var e = this.ptr;
|
|
1038
|
+
ht(e);
|
|
1039
|
+
};
|
|
1040
|
+
function c(e, r, n) {
|
|
1041
|
+
if (e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), n && typeof n == "object" && (n = n.ptr), e === void 0) {
|
|
1042
|
+
this.ptr = vt(), D(c)[this.ptr] = this;
|
|
1043
|
+
return;
|
|
1044
|
+
}
|
|
1045
|
+
if (r === void 0) {
|
|
1046
|
+
this.ptr = _emscripten_bind_Vec3_Vec3_1(e), D(c)[this.ptr] = this;
|
|
1047
|
+
return;
|
|
1048
|
+
}
|
|
1049
|
+
if (n === void 0) {
|
|
1050
|
+
this.ptr = _emscripten_bind_Vec3_Vec3_2(e, r), D(c)[this.ptr] = this;
|
|
1051
|
+
return;
|
|
1052
|
+
}
|
|
1053
|
+
this.ptr = Ct(e, r, n), D(c)[this.ptr] = this;
|
|
1054
|
+
}
|
|
1055
|
+
c.prototype = Object.create(C.prototype), c.prototype.constructor = c, c.prototype.__class__ = c, c.__cache__ = {}, t.Vec3 = c, c.prototype.get_x = c.prototype.get_x = function() {
|
|
1056
|
+
var e = this.ptr;
|
|
1057
|
+
return wt(e);
|
|
1058
|
+
}, c.prototype.set_x = c.prototype.set_x = function(e) {
|
|
1059
|
+
var r = this.ptr;
|
|
1060
|
+
e && typeof e == "object" && (e = e.ptr), At(r, e);
|
|
1061
|
+
}, Object.defineProperty(c.prototype, "x", { get: c.prototype.get_x, set: c.prototype.set_x }), c.prototype.get_y = c.prototype.get_y = function() {
|
|
1062
|
+
var e = this.ptr;
|
|
1063
|
+
return Pt(e);
|
|
1064
|
+
}, c.prototype.set_y = c.prototype.set_y = function(e) {
|
|
1065
|
+
var r = this.ptr;
|
|
1066
|
+
e && typeof e == "object" && (e = e.ptr), Nt(r, e);
|
|
1067
|
+
}, Object.defineProperty(c.prototype, "y", { get: c.prototype.get_y, set: c.prototype.set_y }), c.prototype.get_z = c.prototype.get_z = function() {
|
|
1068
|
+
var e = this.ptr;
|
|
1069
|
+
return Dt(e);
|
|
1070
|
+
}, c.prototype.set_z = c.prototype.set_z = function(e) {
|
|
1071
|
+
var r = this.ptr;
|
|
1072
|
+
e && typeof e == "object" && (e = e.ptr), St(r, e);
|
|
1073
|
+
}, Object.defineProperty(c.prototype, "z", { get: c.prototype.get_z, set: c.prototype.set_z }), c.prototype.__destroy__ = c.prototype.__destroy__ = function() {
|
|
1074
|
+
var e = this.ptr;
|
|
1075
|
+
Mt(e);
|
|
1076
|
+
};
|
|
1077
|
+
function S() {
|
|
1078
|
+
this.ptr = jt(), D(S)[this.ptr] = this;
|
|
1079
|
+
}
|
|
1080
|
+
S.prototype = Object.create(C.prototype), S.prototype.constructor = S, S.prototype.__class__ = S, S.__cache__ = {}, t.Triangle = S, S.prototype.getPoint = S.prototype.getPoint = function(e) {
|
|
1081
|
+
var r = this.ptr;
|
|
1082
|
+
return e && typeof e == "object" && (e = e.ptr), v(Ot(r, e), c);
|
|
1083
|
+
}, S.prototype.__destroy__ = S.prototype.__destroy__ = function() {
|
|
1084
|
+
var e = this.ptr;
|
|
1085
|
+
Rt(e);
|
|
1086
|
+
};
|
|
1087
|
+
function P() {
|
|
1088
|
+
this.ptr = Et(), D(P)[this.ptr] = this;
|
|
1089
|
+
}
|
|
1090
|
+
P.prototype = Object.create(C.prototype), P.prototype.constructor = P, P.prototype.__class__ = P, P.__cache__ = {}, t.DebugNavMesh = P, P.prototype.getTriangleCount = P.prototype.getTriangleCount = function() {
|
|
1091
|
+
var e = this.ptr;
|
|
1092
|
+
return Tt(e);
|
|
1093
|
+
}, P.prototype.getTriangle = P.prototype.getTriangle = function(e) {
|
|
1094
|
+
var r = this.ptr;
|
|
1095
|
+
return e && typeof e == "object" && (e = e.ptr), v(Ft(r, e), S);
|
|
1096
|
+
}, P.prototype.__destroy__ = P.prototype.__destroy__ = function() {
|
|
1097
|
+
var e = this.ptr;
|
|
1098
|
+
zt(e);
|
|
1099
|
+
};
|
|
1100
|
+
function E() {
|
|
1101
|
+
throw "cannot construct a dtNavMesh, no constructor in IDL";
|
|
1102
|
+
}
|
|
1103
|
+
E.prototype = Object.create(C.prototype), E.prototype.constructor = E, E.prototype.__class__ = E, E.__cache__ = {}, t.dtNavMesh = E, E.prototype.__destroy__ = E.prototype.__destroy__ = function() {
|
|
1104
|
+
var e = this.ptr;
|
|
1105
|
+
Vt(e);
|
|
1106
|
+
};
|
|
1107
|
+
function h() {
|
|
1108
|
+
this.ptr = kt(), D(h)[this.ptr] = this;
|
|
1109
|
+
}
|
|
1110
|
+
h.prototype = Object.create(C.prototype), h.prototype.constructor = h, h.prototype.__class__ = h, h.__cache__ = {}, t.NavmeshData = h, h.prototype.get_dataPointer = h.prototype.get_dataPointer = function() {
|
|
1111
|
+
var e = this.ptr;
|
|
1112
|
+
return xt(e);
|
|
1113
|
+
}, h.prototype.set_dataPointer = h.prototype.set_dataPointer = function(e) {
|
|
1114
|
+
var r = this.ptr;
|
|
1115
|
+
e && typeof e == "object" && (e = e.ptr), Wt(r, e);
|
|
1116
|
+
}, Object.defineProperty(h.prototype, "dataPointer", { get: h.prototype.get_dataPointer, set: h.prototype.set_dataPointer }), h.prototype.get_size = h.prototype.get_size = function() {
|
|
1117
|
+
var e = this.ptr;
|
|
1118
|
+
return Yt(e);
|
|
1119
|
+
}, h.prototype.set_size = h.prototype.set_size = function(e) {
|
|
1120
|
+
var r = this.ptr;
|
|
1121
|
+
e && typeof e == "object" && (e = e.ptr), Ht(r, e);
|
|
1122
|
+
}, Object.defineProperty(h.prototype, "size", { get: h.prototype.get_size, set: h.prototype.set_size }), h.prototype.__destroy__ = h.prototype.__destroy__ = function() {
|
|
1123
|
+
var e = this.ptr;
|
|
1124
|
+
Lt(e);
|
|
1125
|
+
};
|
|
1126
|
+
function N() {
|
|
1127
|
+
throw "cannot construct a NavPath, no constructor in IDL";
|
|
1128
|
+
}
|
|
1129
|
+
N.prototype = Object.create(C.prototype), N.prototype.constructor = N, N.prototype.__class__ = N, N.__cache__ = {}, t.NavPath = N, N.prototype.getPointCount = N.prototype.getPointCount = function() {
|
|
1130
|
+
var e = this.ptr;
|
|
1131
|
+
return Qt(e);
|
|
1132
|
+
}, N.prototype.getPoint = N.prototype.getPoint = function(e) {
|
|
1133
|
+
var r = this.ptr;
|
|
1134
|
+
return e && typeof e == "object" && (e = e.ptr), v(Ut(r, e), c);
|
|
1135
|
+
}, N.prototype.__destroy__ = N.prototype.__destroy__ = function() {
|
|
1136
|
+
var e = this.ptr;
|
|
1137
|
+
It(e);
|
|
1138
|
+
};
|
|
1139
|
+
function O() {
|
|
1140
|
+
throw "cannot construct a dtObstacleRef, no constructor in IDL";
|
|
1141
|
+
}
|
|
1142
|
+
O.prototype = Object.create(C.prototype), O.prototype.constructor = O, O.prototype.__class__ = O, O.__cache__ = {}, t.dtObstacleRef = O, O.prototype.__destroy__ = O.prototype.__destroy__ = function() {
|
|
1143
|
+
var e = this.ptr;
|
|
1144
|
+
Bt(e);
|
|
1145
|
+
};
|
|
1146
|
+
function o() {
|
|
1147
|
+
this.ptr = qt(), D(o)[this.ptr] = this;
|
|
1148
|
+
}
|
|
1149
|
+
o.prototype = Object.create(C.prototype), o.prototype.constructor = o, o.prototype.__class__ = o, o.__cache__ = {}, t.dtCrowdAgentParams = o, o.prototype.get_radius = o.prototype.get_radius = function() {
|
|
1150
|
+
var e = this.ptr;
|
|
1151
|
+
return Gt(e);
|
|
1152
|
+
}, o.prototype.set_radius = o.prototype.set_radius = function(e) {
|
|
1153
|
+
var r = this.ptr;
|
|
1154
|
+
e && typeof e == "object" && (e = e.ptr), Jt(r, e);
|
|
1155
|
+
}, Object.defineProperty(o.prototype, "radius", { get: o.prototype.get_radius, set: o.prototype.set_radius }), o.prototype.get_height = o.prototype.get_height = function() {
|
|
1156
|
+
var e = this.ptr;
|
|
1157
|
+
return Xt(e);
|
|
1158
|
+
}, o.prototype.set_height = o.prototype.set_height = function(e) {
|
|
1159
|
+
var r = this.ptr;
|
|
1160
|
+
e && typeof e == "object" && (e = e.ptr), Kt(r, e);
|
|
1161
|
+
}, Object.defineProperty(o.prototype, "height", { get: o.prototype.get_height, set: o.prototype.set_height }), o.prototype.get_maxAcceleration = o.prototype.get_maxAcceleration = function() {
|
|
1162
|
+
var e = this.ptr;
|
|
1163
|
+
return Zt(e);
|
|
1164
|
+
}, o.prototype.set_maxAcceleration = o.prototype.set_maxAcceleration = function(e) {
|
|
1165
|
+
var r = this.ptr;
|
|
1166
|
+
e && typeof e == "object" && (e = e.ptr), $t(r, e);
|
|
1167
|
+
}, Object.defineProperty(o.prototype, "maxAcceleration", { get: o.prototype.get_maxAcceleration, set: o.prototype.set_maxAcceleration }), o.prototype.get_maxSpeed = o.prototype.get_maxSpeed = function() {
|
|
1168
|
+
var e = this.ptr;
|
|
1169
|
+
return er(e);
|
|
1170
|
+
}, o.prototype.set_maxSpeed = o.prototype.set_maxSpeed = function(e) {
|
|
1171
|
+
var r = this.ptr;
|
|
1172
|
+
e && typeof e == "object" && (e = e.ptr), tr(r, e);
|
|
1173
|
+
}, Object.defineProperty(o.prototype, "maxSpeed", { get: o.prototype.get_maxSpeed, set: o.prototype.set_maxSpeed }), o.prototype.get_collisionQueryRange = o.prototype.get_collisionQueryRange = function() {
|
|
1174
|
+
var e = this.ptr;
|
|
1175
|
+
return rr(e);
|
|
1176
|
+
}, o.prototype.set_collisionQueryRange = o.prototype.set_collisionQueryRange = function(e) {
|
|
1177
|
+
var r = this.ptr;
|
|
1178
|
+
e && typeof e == "object" && (e = e.ptr), nr(r, e);
|
|
1179
|
+
}, Object.defineProperty(o.prototype, "collisionQueryRange", { get: o.prototype.get_collisionQueryRange, set: o.prototype.set_collisionQueryRange }), o.prototype.get_pathOptimizationRange = o.prototype.get_pathOptimizationRange = function() {
|
|
1180
|
+
var e = this.ptr;
|
|
1181
|
+
return _r(e);
|
|
1182
|
+
}, o.prototype.set_pathOptimizationRange = o.prototype.set_pathOptimizationRange = function(e) {
|
|
1183
|
+
var r = this.ptr;
|
|
1184
|
+
e && typeof e == "object" && (e = e.ptr), ir(r, e);
|
|
1185
|
+
}, Object.defineProperty(o.prototype, "pathOptimizationRange", { get: o.prototype.get_pathOptimizationRange, set: o.prototype.set_pathOptimizationRange }), o.prototype.get_separationWeight = o.prototype.get_separationWeight = function() {
|
|
1186
|
+
var e = this.ptr;
|
|
1187
|
+
return or(e);
|
|
1188
|
+
}, o.prototype.set_separationWeight = o.prototype.set_separationWeight = function(e) {
|
|
1189
|
+
var r = this.ptr;
|
|
1190
|
+
e && typeof e == "object" && (e = e.ptr), ar(r, e);
|
|
1191
|
+
}, Object.defineProperty(o.prototype, "separationWeight", { get: o.prototype.get_separationWeight, set: o.prototype.set_separationWeight }), o.prototype.get_updateFlags = o.prototype.get_updateFlags = function() {
|
|
1192
|
+
var e = this.ptr;
|
|
1193
|
+
return pr(e);
|
|
1194
|
+
}, o.prototype.set_updateFlags = o.prototype.set_updateFlags = function(e) {
|
|
1195
|
+
var r = this.ptr;
|
|
1196
|
+
e && typeof e == "object" && (e = e.ptr), sr(r, e);
|
|
1197
|
+
}, Object.defineProperty(o.prototype, "updateFlags", { get: o.prototype.get_updateFlags, set: o.prototype.set_updateFlags }), o.prototype.get_obstacleAvoidanceType = o.prototype.get_obstacleAvoidanceType = function() {
|
|
1198
|
+
var e = this.ptr;
|
|
1199
|
+
return cr(e);
|
|
1200
|
+
}, o.prototype.set_obstacleAvoidanceType = o.prototype.set_obstacleAvoidanceType = function(e) {
|
|
1201
|
+
var r = this.ptr;
|
|
1202
|
+
e && typeof e == "object" && (e = e.ptr), ur(r, e);
|
|
1203
|
+
}, Object.defineProperty(o.prototype, "obstacleAvoidanceType", { get: o.prototype.get_obstacleAvoidanceType, set: o.prototype.set_obstacleAvoidanceType }), o.prototype.get_queryFilterType = o.prototype.get_queryFilterType = function() {
|
|
1204
|
+
var e = this.ptr;
|
|
1205
|
+
return lr(e);
|
|
1206
|
+
}, o.prototype.set_queryFilterType = o.prototype.set_queryFilterType = function(e) {
|
|
1207
|
+
var r = this.ptr;
|
|
1208
|
+
e && typeof e == "object" && (e = e.ptr), mr(r, e);
|
|
1209
|
+
}, Object.defineProperty(o.prototype, "queryFilterType", { get: o.prototype.get_queryFilterType, set: o.prototype.set_queryFilterType }), o.prototype.get_userData = o.prototype.get_userData = function() {
|
|
1210
|
+
var e = this.ptr;
|
|
1211
|
+
return v(fr(e), R);
|
|
1212
|
+
}, o.prototype.set_userData = o.prototype.set_userData = function(e) {
|
|
1213
|
+
var r = this.ptr;
|
|
1214
|
+
e && typeof e == "object" && (e = e.ptr), dr(r, e);
|
|
1215
|
+
}, Object.defineProperty(o.prototype, "userData", { get: o.prototype.get_userData, set: o.prototype.set_userData }), o.prototype.__destroy__ = o.prototype.__destroy__ = function() {
|
|
1216
|
+
var e = this.ptr;
|
|
1217
|
+
yr(e);
|
|
1218
|
+
};
|
|
1219
|
+
function u() {
|
|
1220
|
+
this.ptr = gr(), D(u)[this.ptr] = this;
|
|
1221
|
+
}
|
|
1222
|
+
u.prototype = Object.create(C.prototype), u.prototype.constructor = u, u.prototype.__class__ = u, u.__cache__ = {}, t.NavMesh = u, u.prototype.destroy = u.prototype.destroy = function() {
|
|
1223
|
+
var e = this.ptr;
|
|
1224
|
+
br(e);
|
|
1225
|
+
}, u.prototype.build = u.prototype.build = function(e, r, n, i, p) {
|
|
1226
|
+
var d = this.ptr;
|
|
1227
|
+
g.prepare(), typeof e == "object" && (e = Zn(e)), r && typeof r == "object" && (r = r.ptr), typeof n == "object" && (n = Kn(n)), i && typeof i == "object" && (i = i.ptr), p && typeof p == "object" && (p = p.ptr), hr(d, e, r, n, i, p);
|
|
1228
|
+
}, u.prototype.buildFromNavmeshData = u.prototype.buildFromNavmeshData = function(e) {
|
|
1229
|
+
var r = this.ptr;
|
|
1230
|
+
e && typeof e == "object" && (e = e.ptr), vr(r, e);
|
|
1231
|
+
}, u.prototype.getNavmeshData = u.prototype.getNavmeshData = function() {
|
|
1232
|
+
var e = this.ptr;
|
|
1233
|
+
return v(Cr(e), h);
|
|
1234
|
+
}, u.prototype.freeNavmeshData = u.prototype.freeNavmeshData = function(e) {
|
|
1235
|
+
var r = this.ptr;
|
|
1236
|
+
e && typeof e == "object" && (e = e.ptr), wr(r, e);
|
|
1237
|
+
}, u.prototype.getDebugNavMesh = u.prototype.getDebugNavMesh = function() {
|
|
1238
|
+
var e = this.ptr;
|
|
1239
|
+
return v(Ar(e), P);
|
|
1240
|
+
}, u.prototype.getClosestPoint = u.prototype.getClosestPoint = function(e) {
|
|
1241
|
+
var r = this.ptr;
|
|
1242
|
+
return e && typeof e == "object" && (e = e.ptr), v(Pr(r, e), c);
|
|
1243
|
+
}, u.prototype.getRandomPointAround = u.prototype.getRandomPointAround = function(e, r) {
|
|
1244
|
+
var n = this.ptr;
|
|
1245
|
+
return e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), v(Nr(n, e, r), c);
|
|
1246
|
+
}, u.prototype.moveAlong = u.prototype.moveAlong = function(e, r) {
|
|
1247
|
+
var n = this.ptr;
|
|
1248
|
+
return e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), v(Dr(n, e, r), c);
|
|
1249
|
+
}, u.prototype.getNavMesh = u.prototype.getNavMesh = function() {
|
|
1250
|
+
var e = this.ptr;
|
|
1251
|
+
return v(Sr(e), E);
|
|
1252
|
+
}, u.prototype.computePath = u.prototype.computePath = function(e, r) {
|
|
1253
|
+
var n = this.ptr;
|
|
1254
|
+
return e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), v(Mr(n, e, r), N);
|
|
1255
|
+
}, u.prototype.setDefaultQueryExtent = u.prototype.setDefaultQueryExtent = function(e) {
|
|
1256
|
+
var r = this.ptr;
|
|
1257
|
+
e && typeof e == "object" && (e = e.ptr), jr(r, e);
|
|
1258
|
+
}, u.prototype.getDefaultQueryExtent = u.prototype.getDefaultQueryExtent = function() {
|
|
1259
|
+
var e = this.ptr;
|
|
1260
|
+
return v(Or(e), c);
|
|
1261
|
+
}, u.prototype.addCylinderObstacle = u.prototype.addCylinderObstacle = function(e, r, n) {
|
|
1262
|
+
var i = this.ptr;
|
|
1263
|
+
return e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), n && typeof n == "object" && (n = n.ptr), v(Rr(i, e, r, n), O);
|
|
1264
|
+
}, u.prototype.addBoxObstacle = u.prototype.addBoxObstacle = function(e, r, n) {
|
|
1265
|
+
var i = this.ptr;
|
|
1266
|
+
return e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), n && typeof n == "object" && (n = n.ptr), v(Er(i, e, r, n), O);
|
|
1267
|
+
}, u.prototype.removeObstacle = u.prototype.removeObstacle = function(e) {
|
|
1268
|
+
var r = this.ptr;
|
|
1269
|
+
e && typeof e == "object" && (e = e.ptr), Tr(r, e);
|
|
1270
|
+
}, u.prototype.update = u.prototype.update = function() {
|
|
1271
|
+
var e = this.ptr;
|
|
1272
|
+
Fr(e);
|
|
1273
|
+
}, u.prototype.__destroy__ = u.prototype.__destroy__ = function() {
|
|
1274
|
+
var e = this.ptr;
|
|
1275
|
+
zr(e);
|
|
1276
|
+
};
|
|
1277
|
+
function l(e, r, n) {
|
|
1278
|
+
e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), n && typeof n == "object" && (n = n.ptr), this.ptr = Vr(e, r, n), D(l)[this.ptr] = this;
|
|
1279
|
+
}
|
|
1280
|
+
return l.prototype = Object.create(C.prototype), l.prototype.constructor = l, l.prototype.__class__ = l, l.__cache__ = {}, t.Crowd = l, l.prototype.destroy = l.prototype.destroy = function() {
|
|
1281
|
+
var e = this.ptr;
|
|
1282
|
+
kr(e);
|
|
1283
|
+
}, l.prototype.addAgent = l.prototype.addAgent = function(e, r) {
|
|
1284
|
+
var n = this.ptr;
|
|
1285
|
+
return e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), xr(n, e, r);
|
|
1286
|
+
}, l.prototype.removeAgent = l.prototype.removeAgent = function(e) {
|
|
1287
|
+
var r = this.ptr;
|
|
1288
|
+
e && typeof e == "object" && (e = e.ptr), Wr(r, e);
|
|
1289
|
+
}, l.prototype.update = l.prototype.update = function(e) {
|
|
1290
|
+
var r = this.ptr;
|
|
1291
|
+
e && typeof e == "object" && (e = e.ptr), Yr(r, e);
|
|
1292
|
+
}, l.prototype.getAgentPosition = l.prototype.getAgentPosition = function(e) {
|
|
1293
|
+
var r = this.ptr;
|
|
1294
|
+
return e && typeof e == "object" && (e = e.ptr), v(Hr(r, e), c);
|
|
1295
|
+
}, l.prototype.getAgentVelocity = l.prototype.getAgentVelocity = function(e) {
|
|
1296
|
+
var r = this.ptr;
|
|
1297
|
+
return e && typeof e == "object" && (e = e.ptr), v(Lr(r, e), c);
|
|
1298
|
+
}, l.prototype.getAgentNextTargetPath = l.prototype.getAgentNextTargetPath = function(e) {
|
|
1299
|
+
var r = this.ptr;
|
|
1300
|
+
return e && typeof e == "object" && (e = e.ptr), v(Qr(r, e), c);
|
|
1301
|
+
}, l.prototype.getAgentState = l.prototype.getAgentState = function(e) {
|
|
1302
|
+
var r = this.ptr;
|
|
1303
|
+
return e && typeof e == "object" && (e = e.ptr), Ur(r, e);
|
|
1304
|
+
}, l.prototype.overOffmeshConnection = l.prototype.overOffmeshConnection = function(e) {
|
|
1305
|
+
var r = this.ptr;
|
|
1306
|
+
return e && typeof e == "object" && (e = e.ptr), !!Ir(r, e);
|
|
1307
|
+
}, l.prototype.agentGoto = l.prototype.agentGoto = function(e, r) {
|
|
1308
|
+
var n = this.ptr;
|
|
1309
|
+
e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), Br(n, e, r);
|
|
1310
|
+
}, l.prototype.agentTeleport = l.prototype.agentTeleport = function(e, r) {
|
|
1311
|
+
var n = this.ptr;
|
|
1312
|
+
e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), qr(n, e, r);
|
|
1313
|
+
}, l.prototype.getAgentParameters = l.prototype.getAgentParameters = function(e) {
|
|
1314
|
+
var r = this.ptr;
|
|
1315
|
+
return e && typeof e == "object" && (e = e.ptr), v(Gr(r, e), o);
|
|
1316
|
+
}, l.prototype.setAgentParameters = l.prototype.setAgentParameters = function(e, r) {
|
|
1317
|
+
var n = this.ptr;
|
|
1318
|
+
e && typeof e == "object" && (e = e.ptr), r && typeof r == "object" && (r = r.ptr), Jr(n, e, r);
|
|
1319
|
+
}, l.prototype.setDefaultQueryExtent = l.prototype.setDefaultQueryExtent = function(e) {
|
|
1320
|
+
var r = this.ptr;
|
|
1321
|
+
e && typeof e == "object" && (e = e.ptr), Xr(r, e);
|
|
1322
|
+
}, l.prototype.getDefaultQueryExtent = l.prototype.getDefaultQueryExtent = function() {
|
|
1323
|
+
var e = this.ptr;
|
|
1324
|
+
return v(Kr(e), c);
|
|
1325
|
+
}, l.prototype.getCorners = l.prototype.getCorners = function(e) {
|
|
1326
|
+
var r = this.ptr;
|
|
1327
|
+
return e && typeof e == "object" && (e = e.ptr), v(Zr(r, e), N);
|
|
1328
|
+
}, l.prototype.__destroy__ = l.prototype.__destroy__ = function() {
|
|
1329
|
+
var e = this.ptr;
|
|
1330
|
+
$r(e);
|
|
1331
|
+
}, t.ready;
|
|
1332
|
+
};
|
|
1333
|
+
}();
|
|
1334
|
+
export {
|
|
1335
|
+
$n as default
|
|
1336
|
+
};
|