command-center/public/sw.js
2024-12-18 15:31:26 +07:00

2 lines
15 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

if(!self.define){let e,i={};const a=(a,s)=>(a=new URL(a+".js",s).href,i[a]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=a,e.onload=i,document.head.appendChild(e)}else e=a,importScripts(a),i()})).then((()=>{let e=i[a];if(!e)throw new Error(`Module ${a} didnt register its module`);return e})));self.define=(s,n)=>{const c=e||("document"in self?document.currentScript.src:"")||location.href;if(i[c])return;let r={};const b=e=>a(e,c),t={module:{uri:c},exports:r,require:b};i[c]=Promise.all(s.map((e=>t[e]||b(e)))).then((e=>(n(...e),r)))}}define(["./workbox-4754cb34"],(function(e){"use strict";importScripts(),self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"/_next/app-build-manifest.json",revision:"cc2860410e61cfa3f8ee4ff5e3c184a6"},{url:"/_next/static/6xlzbnaj1eRsBhYtc5hn6/_buildManifest.js",revision:"2ec694eb52ae4f523f265a46bae4d768"},{url:"/_next/static/6xlzbnaj1eRsBhYtc5hn6/_ssgManifest.js",revision:"b6652df95db52feb4daf4eca35380933"},{url:"/_next/static/chunks/113-1f61c8cb18648560.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/212-aa3bd709c1c6ff96.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/23-7fd44723d8aa90bc.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/393.fd81de065ea8d1f1.js",revision:"fd81de065ea8d1f1"},{url:"/_next/static/chunks/417-fb17504ee6a3ea7d.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/421-c050075c5ae0eb5c.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/429-a626eed3c129d782.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/60-386007fde0715afa.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/662-394f475192f17169.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/692.b32226c6a574c4c6.js",revision:"b32226c6a574c4c6"},{url:"/_next/static/chunks/700-e4498ebb24b09314.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/746-069ad5dad4d55f3a.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/831-9462f4ba4f904f26.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/844-d8ad3678041edaa5.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/897-8f34fe1ea2dc8e55.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/934-a07508164c325b42.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/_not-found/page-c8c9bc9752ce906a.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/layout-147672328d8b67ba.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/login/layout-8908431a7f11027f.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/login/page-e7f5595182b246d7.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/main/intro/page-ceb74ecc95413134.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/main/layout-1964788233b00dc3.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/monitoring/page-b516d8a0a5abdf65.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/app/page-f61f2320e6c03303.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/bc9e92e6-c7a7696738a63f4f.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/fd9d1056-7f59e0ea2a756303.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/framework-f66176bb897dc684.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/main-3bc0077bdfd9510a.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/main-app-41c2c7fc31bbee34.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/pages/_app-6a626577ffa902a4.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/pages/_error-1be831200e60c5c0.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js",revision:"79330112775102f91e1010318bae2bd3"},{url:"/_next/static/chunks/webpack-d855902b0bb8edfb.js",revision:"6xlzbnaj1eRsBhYtc5hn6"},{url:"/_next/static/css/11b5487baea55bb8.css",revision:"11b5487baea55bb8"},{url:"/_next/static/css/12e36a41712b7329.css",revision:"12e36a41712b7329"},{url:"/_next/static/css/3ce5d621d124ead3.css",revision:"3ce5d621d124ead3"},{url:"/_next/static/css/bea75e20d3428e41.css",revision:"bea75e20d3428e41"},{url:"/_next/static/css/bf0c2c3b278611eb.css",revision:"bf0c2c3b278611eb"},{url:"/_next/static/css/ef46db3751d8e999.css",revision:"ef46db3751d8e999"},{url:"/_next/static/media/4b4ebe20759bdbf2-s.p.ttf",revision:"093ee89be9ede30383f39a899c485a82"},{url:"/_next/static/media/8001a01b32b71ef5-s.p.ttf",revision:"08c20a487911694291bd8c5de41315ad"},{url:"/_next/static/media/9102fb8415d8f327-s.p.ttf",revision:"6f8391bbdaeaa540388796c858dfd8ca"},{url:"/_next/static/media/98512bf8da1afe43-s.p.ttf",revision:"6f1520d107205975713ba09df778f93f"},{url:"/_next/static/media/a52d0bf095c248da-s.p.ttf",revision:"bf59c687bc6d3a70204d3944082c5cc0"},{url:"/css/button.scss",revision:"5aa9cccc5383964633a129f57487114c"},{url:"/css/dark.scss",revision:"113a1c424cefdef2143746508b68d31c"},{url:"/css/form.scss",revision:"4c7405ce1a715f3e7bf376225025fee3"},{url:"/css/modal.scss",revision:"21775a54796f515cae3f684abe676eee"},{url:"/css/navbar.scss",revision:"a8315c42d53e8d200c9a7ea23e20df0f"},{url:"/css/position.scss",revision:"a2a414247711105bb0da6a2bcbd2bc11"},{url:"/css/sidebar.scss",revision:"7ef5fcbf641f5962f32da37877fbdb34"},{url:"/css/table.scss",revision:"cf6443cceefd43746ef7c3d945b5d627"},{url:"/css/template.scss",revision:"45c6775cd882ed4092bd520b8ff39a6f"},{url:"/css/text.scss",revision:"93e9ea45a8508ed1977db755a65afa2a"},{url:"/css/wave.scss",revision:"8e15d9a932c047dc77476df86496046e"},{url:"/icon512_maskable.png",revision:"18b656cc70d9314e9d107253a2041071"},{url:"/icon512_rounded.png",revision:"f2ed5d708b49bdb9d896517e348f7b74"},{url:"/img/2456051.png",revision:"502c0b3b1d0842a499b497014f154206"},{url:"/img/3793096.jpg",revision:"184ebc00bd92bb5aece805bdf3ccd1bd"},{url:"/img/404.jpg",revision:"7861302ee59fe9c809ca615ae8681e36"},{url:"/img/500.jpg",revision:"8711dd0b40ca19a806630903fa5aea51"},{url:"/img/basys-name.svg",revision:"b8e1af4aa65c10c70b1813ea08cd36b5"},{url:"/img/basys.png",revision:"70f923b7a37537043920a72e246ef477"},{url:"/img/bg-light.png",revision:"bfea8c61393bf5463ee39658e40963f7"},{url:"/img/bg-login_2.svg",revision:"1a400572e1f54e462d8b7672816eebe3"},{url:"/img/bg-login_3.svg",revision:"53feb41cf58b22c92e2d778d9995c6a2"},{url:"/img/bg-nav.jpg",revision:"d9c6e355e356662c00934024b494b6c3"},{url:"/img/bg-nav2.jpg",revision:"9f22d80402df517c036d9d7b79af012c"},{url:"/img/bg-sidebar.jpg",revision:"6160f4daa0a59073dbe0f04624fc87e4"},{url:"/img/bg.png",revision:"05888bab2fe3fa0f5051ff684c0cf69c"},{url:"/img/bg1.jpg",revision:"88d30b9349c2cad1d6d488bfc28337fc"},{url:"/img/bg10.png",revision:"efcde9a314017a0e92b02680e4ee3c59"},{url:"/img/bg11.jpg",revision:"476b9f533fad52fcbb98018c5e0e6d3a"},{url:"/img/bg12.jpg",revision:"e2deb8f432c9363109767a2fb1e8ba23"},{url:"/img/bg13.jpg",revision:"c94d309c9464c293771316c94d2f466e"},{url:"/img/bg14.jpg",revision:"7d6107dd7499831e04c3d5e2289f40e1"},{url:"/img/bg15.jpg",revision:"fb628d46c9fc3fa502776d5f88205f8d"},{url:"/img/bg151.png",revision:"7c7fb655fa6698da638285dfe19a8c3f"},{url:"/img/bg152.jpg",revision:"526caf7fc0d21f67734580a59a29b2c9"},{url:"/img/bg16.jpg",revision:"ed94c4d44779e9455593f2a17141598e"},{url:"/img/bg17.jpg",revision:"dd6672ceff15116c50477723cab2b302"},{url:"/img/bg2.jpg",revision:"6d140cdd7fb253133b18964e27670b61"},{url:"/img/bg2.png",revision:"a2d49f000138c3357c0ed4e69516c561"},{url:"/img/bg3.jpg",revision:"03b38fc596b028e29023729ad3b3eb85"},{url:"/img/bg3.png",revision:"050469055061393551922a0066271abc"},{url:"/img/bg4.jpg",revision:"e47481a91207c86a86fdfca2f6c618b2"},{url:"/img/bg5.jpg",revision:"79c3dbedf2ebac3220d0e2ce980c36ab"},{url:"/img/bg6.jpg",revision:"f77b0506bfc906423b3b18d1e0336786"},{url:"/img/bg7.jpg",revision:"2e38ff8aa3e3434dd823455a1a552b1b"},{url:"/img/bg8.jpg",revision:"90dc814b18125e1dbe3b7102295fd240"},{url:"/img/bg9.jpg",revision:"ccffbdc2f25b72ac9abbca31b0d83c31"},{url:"/img/bgnew-min.jpg",revision:"b21976c21017136397aa6c6c3aa8abff"},{url:"/img/bsmr.png",revision:"d38238e42eba2e4a0e844aa413687f22"},{url:"/img/circle-effect.svg",revision:"047abb47e8ad6b3ff6a9da323f8e9c1e"},{url:"/img/defaultproject.jpg",revision:"24c9e82f2cbbcd6dd331dd0a34ead744"},{url:"/img/export-shape.svg",revision:"7853303683bcbf5923b52c2ed736328f"},{url:"/img/facebook.png",revision:"318e29aa0542b2135078bde1898dc7d7"},{url:"/img/gedung.jpeg",revision:"a9adb28ec9f165f3f4f739fd6a09d8ed"},{url:"/img/github.png",revision:"84835c870a29aca9a24117f7a882ca22"},{url:"/img/google.png",revision:"155e9cc436ec54d93cc78eb0fb378043"},{url:"/img/icon-building.png",revision:"5bc09b89821956e3e93fd3b025df6517"},{url:"/img/icon-location.png",revision:"e0ea88bbc377d5a15a7e12c04bd49d97"},{url:"/img/icon-login.svg",revision:"9b9c574c72fc5e60fd16cf711b5816a9"},{url:"/img/icon-map.png",revision:"7b3b6fe57a36fa370d63213288cee41f"},{url:"/img/logo_command.png",revision:"32e72b6a3183c24b7e20515f888796fa"},{url:"/img/mainlabel.svg",revision:"b9ba676b0afec1a8c9e98f8be04b636b"},{url:"/img/mainlabel2.svg",revision:"9e996e649ec9933ec192d29d2d3d8297"},{url:"/img/mainlabel3.svg",revision:"12cd1e28d0dd971357e9e9a6912ea005"},{url:"/img/no-image.jpg",revision:"588d9346b5f8bacef5cce7c184d6ec6d"},{url:"/img/no_img.png",revision:"08441b705aab86a94ad6e4f1293d43c5"},{url:"/img/noimg.jpg",revision:"5bb2388e88145429c9baabf34861b8dc"},{url:"/img/notif.svg",revision:"00c4d00769168948b30dc4004a5b6426"},{url:"/img/pat1.png",revision:"da510f60fcff7ce89cd25ea3511bfef4"},{url:"/img/pat10.png",revision:"374344147cff8606f835d752944d8570"},{url:"/img/pat11.png",revision:"472486bc26a777c101008fe117f8a352"},{url:"/img/pat12.png",revision:"8939bf293e12aa837a2b92645724f327"},{url:"/img/pat13.png",revision:"b295fd660a5b5e7d0a23a0519740854a"},{url:"/img/pat14.png",revision:"ffed8476acb446e49ba85581036159f7"},{url:"/img/pat15.png",revision:"830d471917023a4d28487acf84dbacc1"},{url:"/img/pat16.png",revision:"db4ff89e0cd9acd378b34ccf06ffbdba"},{url:"/img/pat17.png",revision:"350ab53795a00ea2d099a5545c0fb43a"},{url:"/img/pat18.png",revision:"6bb5a8775e803191e629c649ee6521ce"},{url:"/img/pat19.png",revision:"fcb1692c32e9335e653f644cfb13d144"},{url:"/img/pat2.png",revision:"7c2eac8723aa1d62fc78876d36bb3833"},{url:"/img/pat20.png",revision:"c83b84dad8f9d209f9a7d0ff50404aab"},{url:"/img/pat21.png",revision:"a1a33080cfc1d6ebb9f1f72f1d667c60"},{url:"/img/pat22.png",revision:"9dbec1a6d76160375706115b0eb6d4fb"},{url:"/img/pat23.png",revision:"0fe4c2eb150fb6fdd85f46bfa2a07898"},{url:"/img/pat24.png",revision:"9099704434ce0b616d97cce14399e461"},{url:"/img/pat25.png",revision:"6c418e003638c89d209f1cff30417752"},{url:"/img/pat26.png",revision:"3eb73e5d5e5f2be300386cf8540b4311"},{url:"/img/pat27.png",revision:"a05f1fb32996567bf53cc6d415cc5e55"},{url:"/img/pat28.png",revision:"b86d542e27975f34b50688690de103b5"},{url:"/img/pat29.png",revision:"29819d8523e60b87dea7b95c53d0b7b1"},{url:"/img/pat3.png",revision:"30b87f688d085159b92f8adbf29c4fad"},{url:"/img/pat30.png",revision:"fa6a95e71d181ae6ac1f7586f0d8515a"},{url:"/img/pat31.png",revision:"6aa2bc3908d2cd4c9f30fbfb7890aae3"},{url:"/img/pat32.png",revision:"86377fca9a2188d4d1eaafa1576cf3e1"},{url:"/img/pat4.png",revision:"3d12073176d962c018009eb7176fd5d9"},{url:"/img/pat5.png",revision:"f591481519c85384189bcb5af761c965"},{url:"/img/pat6.png",revision:"a8b426bdf54d58953c84589af6d79ebe"},{url:"/img/pat7.png",revision:"b5c5ab66d8331513696fe3ec992187a0"},{url:"/img/pat8.png",revision:"7afd00289cd8d904275b7ac044faa933"},{url:"/img/pat9.png",revision:"203aa84f70a1b725557ef3f5d3e3dc29"},{url:"/img/patd1.png",revision:"e81c8129adb180a486d94cc796352ccc"},{url:"/img/patd2.png",revision:"29744f924a999723daa4accd321a4191"},{url:"/img/patd3.png",revision:"d34e5668fc1c3b562a47d3f0f0eff78e"},{url:"/img/patd5.png",revision:"2541cc282e0dfa8d416ab91b1e34b8fa"},{url:"/img/patd6.png",revision:"b76787987b478332913d76a9ef14dc8c"},{url:"/img/patd7.png",revision:"0722ca109890b10ba2f7457b061f2380"},{url:"/img/patd8.png",revision:"b9da2244b48e97577590dd8137200f51"},{url:"/img/trophy/1.png",revision:"9ce2252eab346a7535afb42f2f34d74a"},{url:"/img/trophy/2.png",revision:"a684a6191229b95da2ada7af74d9f18d"},{url:"/img/trophy/3.png",revision:"f9e4bbe05ff3c1a6081e5e0ad82751f3"},{url:"/manifest.json",revision:"3ae9fd3bff4e1721841a7cd2f6f87e23"},{url:"/ss.png",revision:"8adf31a09da23e22e466d8c02878e387"},{url:"/ss_1.png",revision:"ac6607c1f2a516614b9d32e51e1a2b78"},{url:"/ss_2.png",revision:"ff447b4f4db950dfa0f878dfe74e10ed"}],{ignoreURLParametersMatching:[]}),e.cleanupOutdatedCaches(),e.registerRoute("/",new e.NetworkFirst({cacheName:"start-url",plugins:[{cacheWillUpdate:async({request:e,response:i,event:a,state:s})=>i&&"opaqueredirect"===i.type?new Response(i.body,{status:200,statusText:"OK",headers:i.headers}):i}]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:gstatic)\.com\/.*/i,new e.CacheFirst({cacheName:"google-fonts-webfonts",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:31536e3})]}),"GET"),e.registerRoute(/^https:\/\/fonts\.(?:googleapis)\.com\/.*/i,new e.StaleWhileRevalidate({cacheName:"google-fonts-stylesheets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:eot|otf|ttc|ttf|woff|woff2|font.css)$/i,new e.StaleWhileRevalidate({cacheName:"static-font-assets",plugins:[new e.ExpirationPlugin({maxEntries:4,maxAgeSeconds:604800})]}),"GET"),e.registerRoute(/\.(?:jpg|jpeg|gif|png|svg|ico|webp)$/i,new e.StaleWhileRevalidate({cacheName:"static-image-assets",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/image\?url=.+$/i,new e.StaleWhileRevalidate({cacheName:"next-image",plugins:[new e.ExpirationPlugin({maxEntries:64,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp3|wav|ogg)$/i,new e.CacheFirst({cacheName:"static-audio-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:mp4)$/i,new e.CacheFirst({cacheName:"static-video-assets",plugins:[new e.RangeRequestsPlugin,new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:js)$/i,new e.StaleWhileRevalidate({cacheName:"static-js-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:css|less)$/i,new e.StaleWhileRevalidate({cacheName:"static-style-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\/_next\/data\/.+\/.+\.json$/i,new e.StaleWhileRevalidate({cacheName:"next-data",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute(/\.(?:json|xml|csv)$/i,new e.NetworkFirst({cacheName:"static-data-assets",plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;const i=e.pathname;return!i.startsWith("/api/auth/")&&!!i.startsWith("/api/")}),new e.NetworkFirst({cacheName:"apis",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:16,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>{if(!(self.origin===e.origin))return!1;return!e.pathname.startsWith("/api/")}),new e.NetworkFirst({cacheName:"others",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:86400})]}),"GET"),e.registerRoute((({url:e})=>!(self.origin===e.origin)),new e.NetworkFirst({cacheName:"cross-origin",networkTimeoutSeconds:10,plugins:[new e.ExpirationPlugin({maxEntries:32,maxAgeSeconds:3600})]}),"GET")}));