-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1 lines (1 loc) · 7.25 KB
/
index.html
1
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="stylesheet" href="/publicStyle.css"/><link rel="icon" href="/nsut-logo-1800x1800.png"/><link rel="apple-touch-icon" sizes="180x180" href="/nsut-logo-1800x1800.png"><link rel="icon" type="image/png" sizes="32x32" href="/nsut-logo-1800x1800.png"><link rel="icon" type="image/png" sizes="16x16" href="/nsut-logo-1800x1800.png"><link rel="manifest" href="/manifest.json"><link rel="manifest" href="/site.webmanifest"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#262b40"><meta name="msapplication-TileColor" content="#ff0000"><meta name="theme-color" content="#ffffff"><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta property="og:type" content="website"><meta property="og:title" content="Student Portal | TnP NSUT"><script src="https://unpkg.com/react/umd/react.production.min.js" crossorigin></script><script src="https://unpkg.com/react-dom/umd/react-dom.production.min.js" crossorigin></script><script src="https://unpkg.com/react-bootstrap@next/dist/react-bootstrap.min.js" crossorigin></script><script>var Alert=ReactBootstrap.Alert</script><link rel="manifest" href="/manifest.json"/><title>Student Portal | TnP NSUT</title><link href="/static/css/4.88acab05.chunk.css" rel="stylesheet"><link href="/static/css/main.8da68308.chunk.css" rel="stylesheet"></head><body><noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-THQTXJ7" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript><noscript>You need to enable JavaScript to run this app.</noscript><div id="noInternetPopup" style="display:none"><div id="noInternetPopupContent"><p>No Internet Connection</p></div></div><div id="root"></div><div id="installModal"><div id="installModalContent"><p>Do you want to install this app?</p><button id="installBtn">Install</button> <button id="cancelBtn">Cancel</button></div></div><script>!function(e){function t(t){for(var n,o,f=t[0],u=t[1],i=t[2],d=0,s=[];d<f.length;d++)o=f[d],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&s.push(a[o][0]),a[o]=0;for(n in u)Object.prototype.hasOwnProperty.call(u,n)&&(e[n]=u[n]);for(l&&l(t);s.length;)s.shift()();return c.push.apply(c,i||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,o=1;o<r.length;o++){var u=r[o];0!==a[u]&&(n=!1)}n&&(c.splice(t--,1),e=f(f.s=r[0]))}return e}var n={},o={3:0},a={3:0},c=[];function f(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,f),r.l=!0,r.exports}f.e=function(e){var t=[];o[e]?t.push(o[e]):0!==o[e]&&{5:1,6:1,9:1,11:1,12:1,13:1,15:1,16:1,17:1}[e]&&t.push(o[e]=new Promise((function(t,r){for(var n="static/css/"+({}[e]||e)+"."+{0:"31d6cfe0",1:"31d6cfe0",5:"3c515868",6:"4c3da577",7:"31d6cfe0",8:"31d6cfe0",9:"d5603e53",10:"31d6cfe0",11:"a5344151",12:"4f46b6c6",13:"9f68fecc",14:"31d6cfe0",15:"e1b3ccef",16:"eb84adab",17:"06273bff",18:"31d6cfe0",19:"31d6cfe0",20:"31d6cfe0",21:"31d6cfe0",22:"31d6cfe0",23:"31d6cfe0",24:"31d6cfe0",25:"31d6cfe0"}[e]+".chunk.css",a=f.p+n,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var i=(l=c[u]).getAttribute("data-href")||l.getAttribute("href");if("stylesheet"===l.rel&&(i===n||i===a))return t()}var d=document.getElementsByTagName("style");for(u=0;u<d.length;u++){var l;if((i=(l=d[u]).getAttribute("data-href"))===n||i===a)return t()}var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",s.onload=t,s.onerror=function(t){var n=t&&t.target&&t.target.src||a,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete o[e],s.parentNode.removeChild(s),r(c)},s.href=a,document.getElementsByTagName("head")[0].appendChild(s)})).then((function(){o[e]=0})));var r=a[e];if(0!==r)if(r)t.push(r[2]);else{var n=new Promise((function(t,n){r=a[e]=[t,n]}));t.push(r[2]=n);var c,u=document.createElement("script");u.charset="utf-8",u.timeout=120,f.nc&&u.setAttribute("nonce",f.nc),u.src=function(e){return f.p+"static/js/"+({}[e]||e)+"."+{0:"33a25188",1:"e11a5f21",5:"11f48951",6:"b515841e",7:"3272e942",8:"4ce91ae3",9:"95c43455",10:"bb324b79",11:"3e1988e9",12:"cca91b7d",13:"a8686d55",14:"7f14ad4b",15:"b3dbe300",16:"a3946687",17:"238bb7ce",18:"0d184830",19:"94865c56",20:"d12da7c7",21:"543f7fe0",22:"731735fd",23:"7bfa618d",24:"d60b1dd6",25:"8c521914"}[e]+".chunk.js"}(e);var i=new Error;c=function(t){u.onerror=u.onload=null,clearTimeout(d);var r=a[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;i.message="Loading chunk "+e+" failed.\n("+n+": "+o+")",i.name="ChunkLoadError",i.type=n,i.request=o,r[1](i)}a[e]=void 0}};var d=setTimeout((function(){c({type:"timeout",target:u})}),12e4);u.onerror=u.onload=c,document.head.appendChild(u)}return Promise.all(t)},f.m=e,f.c=n,f.d=function(e,t,r){f.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},f.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},f.t=function(e,t){if(1&t&&(e=f(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(f.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)f.d(r,n,function(t){return e[t]}.bind(null,n));return r},f.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return f.d(t,"a",t),t},f.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},f.p="/",f.oe=function(e){throw console.error(e),e};var u=this["webpackJsonptnp-nsut"]=this["webpackJsonptnp-nsut"]||[],i=u.push.bind(u);u.push=t,u=u.slice();for(var d=0;d<u.length;d++)t(u[d]);var l=i;r()}([])</script><script src="/static/js/4.5f3445b2.chunk.js"></script><script src="/static/js/main.a5083175.chunk.js"></script></body><style></style><script>let deferredPrompt;const isInstallPromptDismissed=()=>{const e=localStorage.getItem("installPromptDismissedDate");if(!e)return!1;const t=new Date,n=new Date(e),l=Math.abs(t-n);return Math.ceil(l/864e5)<7},showInstallModal=()=>{!isInstallPromptDismissed()&&deferredPrompt&&setTimeout(()=>{document.getElementById("installModal").style.display="block"},2e3)};window.addEventListener("beforeinstallprompt",e=>{e.preventDefault(),deferredPrompt=e,!isInstallPromptDismissed()&&deferredPrompt&&setTimeout(()=>{document.getElementById("installModal").style.display="block"},2e3)});const installBtn=document.getElementById("installBtn");installBtn.addEventListener("click",async()=>{if(document.getElementById("installModal").style.display="none",deferredPrompt){deferredPrompt.prompt();await deferredPrompt.userChoice;deferredPrompt=null}});const cancelBtn=document.getElementById("cancelBtn");cancelBtn.addEventListener("click",()=>{document.getElementById("installModal").style.display="none",localStorage.setItem("installPromptDismissedDate",(new Date).toISOString())}),window.addEventListener("appinstalled",()=>{console.log("PWA was installed successfully")});const updateOnlineStatus=()=>{const e=document.getElementById("noInternetPopup");navigator.onLine?e.style.display="none":e.style.display="block"};window.addEventListener("online",updateOnlineStatus),window.addEventListener("offline",updateOnlineStatus),window.onload=function(){updateOnlineStatus()}</script></html>