Skip to content

Commit

Permalink
deploy: 7a846ad
Browse files Browse the repository at this point in the history
  • Loading branch information
drminh2807 committed Oct 6, 2023
1 parent 35a9a2c commit 2dab1f8
Show file tree
Hide file tree
Showing 7 changed files with 3,636 additions and 3,669 deletions.
2 changes: 1 addition & 1 deletion 766/assets/AssetManifest.bin

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 766/assets/AssetManifest.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 766/assets/FontManifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]},{"family":"Roboto","fonts":[{"asset":"fonts/Roboto/Roboto-Regular.ttf"},{"style":"italic","asset":"fonts/Roboto/Roboto-Italic.ttf"},{"weight":700,"asset":"fonts/Roboto/Roboto-Bold.ttf"}]},{"family":"RobotoMono","fonts":[{"asset":"fonts/Roboto/RobotoMono-Regular.ttf"}]},{"family":"NotoEmoji","fonts":[{"asset":"fonts/NotoEmoji/NotoColorEmoji.ttf"}]},{"family":"Inter","fonts":[{"weight":100,"asset":"fonts/Inter/Inter-Thin.ttf"},{"weight":200,"asset":"fonts/Inter/Inter-ExtraLight.ttf"},{"weight":300,"asset":"fonts/Inter/Inter-Light.ttf"},{"weight":400,"asset":"fonts/Inter/Inter-Regular.ttf"},{"weight":500,"asset":"fonts/Inter/Inter-Medium.ttf"},{"weight":600,"asset":"fonts/Inter/Inter-SemiBold.ttf"},{"weight":700,"asset":"fonts/Inter/Inter-Bold.ttf"},{"weight":800,"asset":"fonts/Inter/Inter-ExtraBold.ttf"},{"weight":900,"asset":"fonts/Inter/Inter-Black.ttf"}]},{"family":"packages/cupertino_icons/CupertinoIcons","fonts":[{"asset":"packages/cupertino_icons/assets/CupertinoIcons.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Main","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-Regular.ttf"},{"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-Italic.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-Bold.ttf"},{"weight":700,"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-BoldItalic.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Math","fonts":[{"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Math-Italic.ttf"},{"weight":700,"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Math-BoldItalic.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_AMS","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_AMS-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Caligraphic","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Caligraphic-Regular.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Caligraphic-Bold.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Fraktur","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Fraktur-Regular.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Fraktur-Bold.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_SansSerif","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_SansSerif-Regular.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_SansSerif-Bold.ttf"},{"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_SansSerif-Italic.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Script","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Script-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Typewriter","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Typewriter-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size1","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size1-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size2","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size2-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size3","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size3-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size4","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size4-Regular.ttf"}]}]
[{"family":"MaterialIcons","fonts":[{"asset":"fonts/MaterialIcons-Regular.otf"}]},{"family":"Roboto","fonts":[{"asset":"fonts/Roboto/Roboto-Regular.ttf"},{"style":"italic","asset":"fonts/Roboto/Roboto-Italic.ttf"},{"weight":700,"asset":"fonts/Roboto/Roboto-Bold.ttf"}]},{"family":"RobotoMono","fonts":[{"asset":"fonts/Roboto/RobotoMono-Regular.ttf"}]},{"family":"Inter","fonts":[{"weight":100,"asset":"fonts/Inter/Inter-Thin.ttf"},{"weight":200,"asset":"fonts/Inter/Inter-ExtraLight.ttf"},{"weight":300,"asset":"fonts/Inter/Inter-Light.ttf"},{"weight":400,"asset":"fonts/Inter/Inter-Regular.ttf"},{"weight":500,"asset":"fonts/Inter/Inter-Medium.ttf"},{"weight":600,"asset":"fonts/Inter/Inter-SemiBold.ttf"},{"weight":700,"asset":"fonts/Inter/Inter-Bold.ttf"},{"weight":800,"asset":"fonts/Inter/Inter-ExtraBold.ttf"},{"weight":900,"asset":"fonts/Inter/Inter-Black.ttf"}]},{"family":"packages/cupertino_icons/CupertinoIcons","fonts":[{"asset":"packages/cupertino_icons/assets/CupertinoIcons.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Main","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-Regular.ttf"},{"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-Italic.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-Bold.ttf"},{"weight":700,"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Main-BoldItalic.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Math","fonts":[{"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Math-Italic.ttf"},{"weight":700,"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Math-BoldItalic.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_AMS","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_AMS-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Caligraphic","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Caligraphic-Regular.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Caligraphic-Bold.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Fraktur","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Fraktur-Regular.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Fraktur-Bold.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_SansSerif","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_SansSerif-Regular.ttf"},{"weight":700,"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_SansSerif-Bold.ttf"},{"style":"italic","asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_SansSerif-Italic.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Script","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Script-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Typewriter","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Typewriter-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size1","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size1-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size2","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size2-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size3","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size3-Regular.ttf"}]},{"family":"packages/flutter_math_fork/KaTeX_Size4","fonts":[{"asset":"packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size4-Regular.ttf"}]}]
13 changes: 6 additions & 7 deletions 766/flutter_service_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const RESOURCES = {"auth.html": "aaf3b82bee208cb193342ff1c7252919",
"assets/packages/flutter_math_fork/lib/katex_fonts/fonts/KaTeX_Size1-Regular.ttf": "1e6a3368d660edc3a2fbbe72edfeaa85",
"assets/packages/fluttertoast/assets/toastify.js": "56e2c9cedd97f10e7e5f1cebd85d53e3",
"assets/packages/fluttertoast/assets/toastify.css": "a85675050054f179444bc5ad70ffc635",
"assets/AssetManifest.json": "3a504d248d8c46f063dd610068ffa92b",
"assets/AssetManifest.json": "bc2b55d53b44f5013a5eba81af3b396b",
"assets/assets/branding.png": "91040b80ee5fa19af22d2312bf9050d8",
"assets/assets/typing.gif": "c64522db9f8f84611d53b0e4ba5fee4e",
"assets/assets/twake.svg": "1400440527b8b4c4beddfa3cd0f91351",
Expand Down Expand Up @@ -108,7 +108,7 @@ const RESOURCES = {"auth.html": "aaf3b82bee208cb193342ff1c7252919",
"assets/assets/logo.png": "57c9c7d1d2d506e3beeb242fa2e2d5f8",
"assets/assets/logo.svg": "207438e20822f9febafe560518717137",
"assets/assets/info-logo.svg": "ccabf48173356d141e75117a97217944",
"assets/AssetManifest.bin": "95aa6393dff844a1bbde32a0af02d7df",
"assets/AssetManifest.bin": "55ea6113a7c2e4ca5e25d4cdb48813ea",
"assets/fonts/Inter/Inter-Bold.ttf": "d17c0274915408cee0308d5476df9f45",
"assets/fonts/Inter/Inter-Regular.ttf": "a4a7379505cd554ea9523594b7c28b2a",
"assets/fonts/Inter/Inter-ExtraLight.ttf": "c36ac5a28afa9a4d70292df06a932ccd",
Expand All @@ -122,10 +122,9 @@ const RESOURCES = {"auth.html": "aaf3b82bee208cb193342ff1c7252919",
"assets/fonts/Roboto/Roboto-Regular.ttf": "f36638c2135b71e5a623dca52b611173",
"assets/fonts/Roboto/RobotoMono-Regular.ttf": "7e173cf37bb8221ac504ceab2acfb195",
"assets/fonts/Roboto/Roboto-Bold.ttf": "9ece5b48963bbc96309220952cda38aa",
"assets/fonts/NotoEmoji/NotoColorEmoji.ttf": "ed84f46d3d5564a08541cd64bddd495c",
"assets/fonts/MaterialIcons-Regular.otf": "6865b6b937e91bac628440195341c0be",
"assets/NOTICES": "d93e8af439ae5ae9858946fcacd2903a",
"assets/FontManifest.json": "b7b0a59c6c75a3b1ab32504828749613",
"assets/FontManifest.json": "dd901ad25f1602cff085215c9d0a5d5f",
"assets/shaders/ink_sparkle.frag": "f8b80e740d33eb157090be4e995febdf",
"icons/Icon-512.png": "7b09d20196b22a97624ab12900f85da3",
"icons/Icon-192.png": "a82dc9b187a5d459bf9798775c6951a1",
Expand All @@ -147,9 +146,9 @@ const RESOURCES = {"auth.html": "aaf3b82bee208cb193342ff1c7252919",
"splash/img/dark-2x.png": "26f05b769dc261a6536fdb257fdb1883",
"splash/img/branding-dark-1x.png": "2063bc3bb018dc3679fa741c6111ae3e",
"splash/splash.js": "123c400b58bea74c1305ca3ac966748d",
"index.html": "485d00a5886b1376e8bddc31226ce17e",
"/": "485d00a5886b1376e8bddc31226ce17e",
"main.dart.js": "1cf293ec01bee2eb219309a313720ff7",
"index.html": "935abad2104629d7c6384e49c47d40a8",
"/": "935abad2104629d7c6384e49c47d40a8",
"main.dart.js": "e458dac8bf0919c891de11abcb5c3829",
"flutter.js": "6fef97aeca90b426343ba6c5c9dc5d4a",
"favicon.png": "d6fd96e2d81a9853d4b0870fec11d291",
"manifest.json": "cc4b6aa791018840b65fd0b0e325b201"};
Expand Down
92 changes: 27 additions & 65 deletions 766/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
name="viewport"
/>
<script src="splash/splash.js"></script>
<script>
// The value below is injected by flutter build, do not touch.
var serviceWorkerVersion = "2562906848";
</script>
<!-- This script adds the flutter initialization JS code -->
<script src="flutter.js" defer></script>
</head>

<body>
Expand Down Expand Up @@ -68,75 +74,31 @@
alt=""
/>
</picture>
<!-- This script installs service_worker.js to provide PWA functionality to
application. For more information, see:
https://developers.google.com/web/fundamentals/primers/service-workers -->
<script>
var serviceWorkerVersion = "2151465331";
var scriptLoaded = false;
function loadMainDartJs() {
if (scriptLoaded) {
return;
}
scriptLoaded = true;
var scriptTag = document.createElement("script");
scriptTag.src = "main.dart.js";
scriptTag.type = "application/javascript";
document.body.append(scriptTag);
}

if ("serviceWorker" in navigator) {
// Service workers are supported. Use them.
window.addEventListener("load", function () {
// Wait for registration to finish before dropping the <script> tag.
// Otherwise, the browser will load the script multiple times,
// potentially different versions.
var serviceWorkerUrl =
"flutter_service_worker.js?v=" + serviceWorkerVersion;
navigator.serviceWorker.register(serviceWorkerUrl).then((reg) => {
function waitForActivation(serviceWorker) {
serviceWorker.addEventListener("statechange", () => {
if (serviceWorker.state == "activated") {
console.log("Installed new service worker.");
loadMainDartJs();
}
window.addEventListener("load", function (ev) {
// Download main.dart.js
_flutter.loader.loadEntrypoint({
serviceWorker: {
serviceWorkerVersion: serviceWorkerVersion,
},
onEntrypointLoaded: function (engineInitializer) {
engineInitializer
.initializeEngine({
useColorEmoji: true,
})
.then(function (appRunner) {
appRunner.runApp();
});
}
if (!reg.active && (reg.installing || reg.waiting)) {
// No active web worker and we have installed or are installing
// one for the first time. Simply wait for it to activate.
waitForActivation(reg.installing ?? reg.waiting);
} else if (!reg.active.scriptURL.endsWith(serviceWorkerVersion)) {
// When the app updates the serviceWorkerVersion changes, so we
// need to ask the service worker to update.
console.log("New service worker available.");
reg.update();
waitForActivation(reg.installing);
} else {
// Existing service worker is still good.
console.log("Loading app from service worker.");
loadMainDartJs();
}
});

// If service worker doesn't succeed in a reasonable amount of time,
// fallback to plaint <script> tag.
setTimeout(() => {
if (!scriptLoaded) {
console.warn(
"Failed to load app from service worker. Falling back to plain <script> tag."
);
loadMainDartJs();
}
}, 4000);
},
});
} else {
// Service workers not supported. Just drop the <script> tag.
loadMainDartJs();
}
});
</script>
<script src="assets/assets/js/package/olm.js"></script>
<script src="https://unpkg.com/pica/dist/pica.min.js" ></script>
<script type="application/javascript" src="/assets/packages/flutter_inappwebview/assets/web/web_support.js" defer></script>
<script src="https://unpkg.com/pica/dist/pica.min.js"></script>
<script
type="application/javascript"
src="/assets/packages/flutter_inappwebview/assets/web/web_support.js"
defer
></script>
</body>
</html>
Loading

0 comments on commit 2dab1f8

Please sign in to comment.