-
+
+
+ {/* Header Section */}
+
+
-
- Desarrollado por{" "}
-
- Open Source eUC
-
- , una comunidad dedicada a generar soluciones innovadoras que benefician a toda la universidad.
+
+
+ Desarrollado por{" "}
+
+ Open Source eUC
+
+ , una comunidad dedicada a generar soluciones innovadoras que benefician a toda la universidad.
+
+
+
+ El código de este proyecto es{" "}
+
+ código abierto
+
+ , por lo que cualquier persona puede aportar.
+
+
+
+
+ {/* Open Source eUC Contributors Section */}
+
+
+
+
Equipo Open Source eUC
+
+
+
+ Los desarrolladores principales y mantenedores del proyecto
-
-
- El código de este proyecto es{" "}
-
- código abierto
-
- , por lo que cualquier persona puede aportar.
+
+
+ {contributors.osuc_contributors.map((contributor) => (
+
+ ))}
+
+
+
+ {/* UC Contributors Section */}
+
+
+
+
Desarrolladores UC
+
+
+
+ Estudiantes y desarrolladores de la Pontificia Universidad Católica de Chile
-
- Contribuidores de UbiCate
-
-
- {contributors.length > 0 ? (
-
- {contributors
- .filter((contributor: any) => !contributor.login.toLowerCase().includes("bot"))
- .map((contributor: any) => (
-
- ))}
-
+ {contributors.uc_contributors.length > 0 ? (
+
+ {contributors.uc_contributors.map((contributor) => (
+
+ ))}
+
) : (
-
Cargando contribuyentes...
+
)}
-
+
+
+ {/* Community Contributors */}
+
+ Todos los Contribuidores de la Comunidad
+
+
+ Estos son todos los colaboradores que han contribuido al repositorio según GitHub
+
+
+
+ {githubContributors.length > 0 ? (
+
+ {githubContributors
+ .filter((contributor: any) => !contributor.login.toLowerCase().includes("bot"))
+ .map((contributor: any) => (
+
+
+
+ @{contributor.login}
+
+
+ ))}
+
+ ) : (
+
Cargando contribuyentes...
+ )}
+
+
);
diff --git a/data/contributors.json b/data/contributors.json
new file mode 100644
index 00000000..c8883699
--- /dev/null
+++ b/data/contributors.json
@@ -0,0 +1,65 @@
+{
+ "osuc_contributors": [
+ {
+ "id": "mrbased",
+ "firstName": "Benjamín",
+ "lastName": "González",
+ "githubUsername": "MrBased",
+ "githubUrl": "https://github.com/MrBased",
+ "linkedinUrl": "https://linkedin.com/in/benjamingonzalezdev",
+ "avatarUrl": "https://github.com/MrBased.png",
+ "role": "Lead Developer & Maintainer"
+ },
+ {
+ "id": "mc-cari",
+ "firstName": "María Carmen",
+ "lastName": "Cárdenas",
+ "githubUsername": "mc-cari",
+ "githubUrl": "https://github.com/mc-cari",
+ "linkedinUrl": "https://linkedin.com/in/mc-cari",
+ "avatarUrl": "https://github.com/mc-cari.png",
+ "role": "Core Developer & Maintainer"
+ },
+ {
+ "id": "ooscarr",
+ "firstName": "Oscar",
+ "lastName": "Rodriguez",
+ "githubUsername": "ooscarr",
+ "githubUrl": "https://github.com/ooscarr",
+ "linkedinUrl": "https://linkedin.com/in/ooscarr",
+ "avatarUrl": "https://github.com/ooscarr.png",
+ "role": "Developer & Maintainer"
+ },
+ {
+ "id": "vlermandac",
+ "firstName": "Valentina",
+ "lastName": "Hermanda",
+ "githubUsername": "vlermandac",
+ "githubUrl": "https://github.com/vlermandac",
+ "linkedinUrl": "https://linkedin.com/in/vlermandac",
+ "avatarUrl": "https://github.com/vlermandac.png",
+ "role": "Developer & Maintainer"
+ },
+ {
+ "id": "dvictorerol",
+ "firstName": "Daniel",
+ "lastName": "Víctor",
+ "githubUsername": "dvictorerol",
+ "githubUrl": "https://github.com/dvictorerol",
+ "linkedinUrl": "https://linkedin.com/in/dvictorerol",
+ "avatarUrl": "https://github.com/dvictorerol.png",
+ "role": "Developer & Maintainer"
+ },
+ {
+ "id": "utmite",
+ "firstName": "Ulises",
+ "lastName": "Mite",
+ "githubUsername": "Utmite",
+ "githubUrl": "https://github.com/Utmite",
+ "linkedinUrl": "https://linkedin.com/in/utmite",
+ "avatarUrl": "https://github.com/Utmite.png",
+ "role": "Developer & Maintainer"
+ }
+ ],
+ "uc_contributors": []
+}
\ No newline at end of file
diff --git a/docs/contributors-management.md b/docs/contributors-management.md
new file mode 100644
index 00000000..c2eef656
--- /dev/null
+++ b/docs/contributors-management.md
@@ -0,0 +1,76 @@
+# Contributors Data Management
+
+Este archivo documenta cómo administrar la información de contribuidores en la página de créditos.
+
+## Estructura de Datos
+
+Los datos de contribuidores se almacenan en `/data/contributors.json` con la siguiente estructura:
+
+```json
+{
+ "osuc_contributors": [
+ {
+ "id": "unique-id",
+ "firstName": "Nombre",
+ "lastName": "Apellido",
+ "githubUsername": "github-username",
+ "githubUrl": "https://github.com/username",
+ "linkedinUrl": "https://linkedin.com/in/username", // Opcional
+ "avatarUrl": "https://github.com/username.png",
+ "role": "Descripción del rol"
+ }
+ ],
+ "uc_contributors": [
+ // Misma estructura para contribuidores UC
+ ]
+}
+```
+
+## Cómo Agregar un Nuevo Contribuidor
+
+### Para Open Source eUC (`osuc_contributors`)
+1. Abrir `/data/contributors.json`
+2. Agregar un nuevo objeto al array `osuc_contributors`
+3. Completar todos los campos requeridos
+4. El `linkedinUrl` es opcional y puede omitirse si no está disponible
+
+### Para Contribuidores UC (`uc_contributors`)
+1. Abrir `/data/contributors.json`
+2. Agregar un nuevo objeto al array `uc_contributors`
+3. Completar todos los campos requeridos
+
+## Campos Requeridos
+
+- **id**: Identificador único (usar el username de GitHub en minúsculas)
+- **firstName**: Nombre real del contribuidor
+- **lastName**: Apellido real del contribuidor
+- **githubUsername**: Username exacto de GitHub
+- **githubUrl**: URL completa del perfil de GitHub
+- **avatarUrl**: URL de la imagen de perfil (usar `https://github.com/username.png`)
+- **role**: Descripción del rol o posición
+
+## Campos Opcionales
+
+- **linkedinUrl**: URL del perfil de LinkedIn (se puede omitir si no está disponible)
+
+## Ejemplo de Contribuidor Completo
+
+```json
+{
+ "id": "nuevousuario",
+ "firstName": "Ana",
+ "lastName": "García",
+ "githubUsername": "nuevousuario",
+ "githubUrl": "https://github.com/nuevousuario",
+ "linkedinUrl": "https://linkedin.com/in/ana-garcia",
+ "avatarUrl": "https://github.com/nuevousuario.png",
+ "role": "Frontend Developer"
+}
+```
+
+## Notas Importantes
+
+- Los cambios en este archivo se reflejan automáticamente en la página `/creditos`
+- Verificar que las URLs sean válidas antes de hacer commit
+- Mantener el formato JSON correcto (comas, llaves, etc.)
+- Los contribuidores se muestran en el orden que aparecen en el archivo
\ No newline at end of file
diff --git a/lib/types/contributors.ts b/lib/types/contributors.ts
new file mode 100644
index 00000000..30ee5f92
--- /dev/null
+++ b/lib/types/contributors.ts
@@ -0,0 +1,15 @@
+export interface Contributor {
+ id: string;
+ firstName: string;
+ lastName: string;
+ githubUsername: string;
+ githubUrl: string;
+ linkedinUrl?: string;
+ avatarUrl: string;
+ role: string;
+}
+
+export interface ContributorsData {
+ osuc_contributors: Contributor[];
+ uc_contributors: Contributor[];
+}
diff --git a/package-lock.json b/package-lock.json
index bc49d390..51e2ad1e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17,6 +17,7 @@
"@turf/turf": "^7.2.0",
"clsx": "^2.1.1",
"fuse.js": "^7.0.0",
+ "lucide-react": "^0.542.0",
"mapbox-gl": "^3.5.0",
"maplibre-gl": "^5.0.0",
"next": "^15.4.5",
@@ -12353,6 +12354,15 @@
"integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==",
"license": "ISC"
},
+ "node_modules/lucide-react": {
+ "version": "0.542.0",
+ "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.542.0.tgz",
+ "integrity": "sha512-w3hD8/SQB7+lzU2r4VdFyzzOzKnUjTZIF/MQJGSSvni7Llewni4vuViRppfRAa2guOsY5k4jZyxw/i9DQHv+dw==",
+ "license": "ISC",
+ "peerDependencies": {
+ "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
+ }
+ },
"node_modules/magic-string": {
"version": "0.30.17",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz",
diff --git a/package.json b/package.json
index 2bca4739..59345238 100644
--- a/package.json
+++ b/package.json
@@ -23,6 +23,7 @@
"@turf/turf": "^7.2.0",
"clsx": "^2.1.1",
"fuse.js": "^7.0.0",
+ "lucide-react": "^0.542.0",
"mapbox-gl": "^3.5.0",
"maplibre-gl": "^5.0.0",
"next": "^15.4.5",
diff --git a/public/sw.js b/public/sw.js
index 22c6212d..1bd67da7 100644
--- a/public/sw.js
+++ b/public/sw.js
@@ -1,2 +1,2 @@
(()=>{"use strict";let e,t,a;class r extends Error{details;constructor(e,t){super(((e,...t)=>{let a=e;return t.length>0&&(a+=` :: ${JSON.stringify(t)}`),a})(e,t)),this.name=e,this.details=t}}let s={googleAnalytics:"googleAnalytics",precache:"precache-v2",prefix:"serwist",runtime:"runtime",suffix:"undefined"!=typeof registration?registration.scope:""},n=e=>[s.prefix,e,s.suffix].filter(e=>e&&e.length>0).join("-"),i={updateDetails:e=>{var t=t=>{let a=e[t];"string"==typeof a&&(s[t]=a)};for(let e of Object.keys(s))t(e)},getGoogleAnalyticsName:e=>e||n(s.googleAnalytics),getPrecacheName:e=>e||n(s.precache),getRuntimeName:e=>e||n(s.runtime)};class c{promise;resolve;reject;constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}function l(e,t){let a=new URL(e);for(let e of t)a.searchParams.delete(e);return a.href}async function o(e,t,a,r){let s=l(t.url,a);if(t.url===s)return e.match(t,r);let n={...r,ignoreSearch:!0};for(let i of(await e.keys(t,n)))if(s===l(i.url,a))return e.match(i,r)}let h=new Set,u=async()=>{for(let e of h)await e()};function d(e){return new Promise(t=>setTimeout(t,e))}let f="-precache-",y=async(e,t=f)=>{let a=(await self.caches.keys()).filter(a=>a.includes(t)&&a.includes(self.registration.scope)&&a!==e);return await Promise.all(a.map(e=>self.caches.delete(e))),a},p=(e,t)=>{let a=t();return e.waitUntil(a),a},w=(e,t)=>t.some(t=>e instanceof t),g=new WeakMap,m=new WeakMap,_=new WeakMap,b={get(e,t,a){if(e instanceof IDBTransaction){if("done"===t)return g.get(e);if("store"===t)return a.objectStoreNames[1]?void 0:a.objectStore(a.objectStoreNames[0])}return v(e[t])},set:(e,t,a)=>(e[t]=a,!0),has:(e,t)=>e instanceof IDBTransaction&&("done"===t||"store"===t)||t in e};function v(e){if(e instanceof IDBRequest){let t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("success",s),e.removeEventListener("error",n)},s=()=>{t(v(e.result)),r()},n=()=>{a(e.error),r()};e.addEventListener("success",s),e.addEventListener("error",n)});return _.set(t,e),t}if(m.has(e))return m.get(e);let r=function(e){if("function"==typeof e)return(a||(a=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])).includes(e)?function(...t){return e.apply(q(this),t),v(this.request)}:function(...t){return v(e.apply(q(this),t))};return(e instanceof IDBTransaction&&function(e){if(g.has(e))return;let t=new Promise((t,a)=>{let r=()=>{e.removeEventListener("complete",s),e.removeEventListener("error",n),e.removeEventListener("abort",n)},s=()=>{t(),r()},n=()=>{a(e.error||new DOMException("AbortError","AbortError")),r()};e.addEventListener("complete",s),e.addEventListener("error",n),e.addEventListener("abort",n)});g.set(e,t)}(e),w(e,t||(t=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])))?new Proxy(e,b):e}(e);return r!==e&&(m.set(e,r),_.set(r,e)),r}let q=e=>_.get(e),R=["get","getKey","getAll","getAllKeys","count"],E=["put","add","delete","clear"],S=new Map;function P(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&"string"==typeof t))return;if(S.get(t))return S.get(t);let a=t.replace(/FromIndex$/,""),r=t!==a,s=E.includes(a);if(!(a in(r?IDBIndex:IDBObjectStore).prototype)||!(s||R.includes(a)))return;let n=async function(e,...t){let n=this.transaction(e,s?"readwrite":"readonly"),i=n.store;return r&&(i=i.index(t.shift())),(await Promise.all([i[a](...t),s&&n.done]))[0]};return S.set(t,n),n}b=(e=>({...e,get:(t,a,r)=>P(t,a)||e.get(t,a,r),has:(t,a)=>!!P(t,a)||e.has(t,a)}))(b);let D=["continue","continuePrimaryKey","advance"],k={},C=new WeakMap,T=new WeakMap,I={get(e,t){if(!D.includes(t))return e[t];let a=k[t];return a||(a=k[t]=function(...e){C.set(this,T.get(this)[t](...e))}),a}};async function*N(...e){let t=this;if(t instanceof IDBCursor||(t=await t.openCursor(...e)),!t)return;let a=new Proxy(t,I);for(T.set(a,t),_.set(a,q(t));t;)yield a,t=await (C.get(a)||t.continue()),C.delete(a)}function U(e,t){return t===Symbol.asyncIterator&&w(e,[IDBIndex,IDBObjectStore,IDBCursor])||"iterate"===t&&w(e,[IDBIndex,IDBObjectStore])}b=(e=>({...e,get:(t,a,r)=>U(t,a)?N:e.get(t,a,r),has:(t,a)=>U(t,a)||e.has(t,a)}))(b);let L=e=>e&&"object"==typeof e?e:{handle:e};class x{handler;match;method;catchHandler;constructor(e,t,a="GET"){this.handler=L(t),this.match=e,this.method=a}setCatchHandler(e){this.catchHandler=L(e)}}class K extends x{_allowlist;_denylist;constructor(e,{allowlist:t=[/./],denylist:a=[]}={}){super(e=>this._match(e),e),this._allowlist=t,this._denylist=a}_match({url:e,request:t}){if(t&&"navigate"!==t.mode)return!1;let a=e.pathname+e.search;for(let e of this._denylist)if(e.test(a))return!1;return!!this._allowlist.some(e=>e.test(a))}}class B extends x{constructor(e,t,a){super(({url:t})=>{let a=e.exec(t.href);if(a)return t.origin!==location.origin&&0!==a.index?void 0:a.slice(1)},t,a)}}let O=async(e,t,a)=>{let r=t.map((e,t)=>({index:t,item:e})),s=async e=>{let t=[];for(;;){let s=r.pop();if(!s)return e(t);let n=await a(s.item);t.push({result:n,index:s.index})}},n=Array.from({length:e},()=>new Promise(s));return(await Promise.all(n)).flat().sort((e,t)=>e.index
e.result)};function M(e){return"string"==typeof e?new Request(e):e}class A{event;request;url;params;_cacheKeys={};_strategy;_handlerDeferred;_extendLifetimePromises;_plugins;_pluginStateMap;constructor(e,t){for(let a of(this.event=t.event,this.request=t.request,t.url&&(this.url=t.url,this.params=t.params),this._strategy=e,this._handlerDeferred=new c,this._extendLifetimePromises=[],this._plugins=[...e.plugins],this._pluginStateMap=new Map,this._plugins))this._pluginStateMap.set(a,{});this.event.waitUntil(this._handlerDeferred.promise)}async fetch(e){let{event:t}=this,a=M(e),s=await this.getPreloadResponse();if(s)return s;let n=this.hasCallback("fetchDidFail")?a.clone():null;try{for(let e of this.iterateCallbacks("requestWillFetch"))a=await e({request:a.clone(),event:t})}catch(e){if(e instanceof Error)throw new r("plugin-error-request-will-fetch",{thrownErrorMessage:e.message})}let i=a.clone();try{let e;for(let r of(e=await fetch(a,"navigate"===a.mode?void 0:this._strategy.fetchOptions),this.iterateCallbacks("fetchDidSucceed")))e=await r({event:t,request:i,response:e});return e}catch(e){throw n&&await this.runCallbacks("fetchDidFail",{error:e,event:t,originalRequest:n.clone(),request:i.clone()}),e}}async fetchAndCachePut(e){let t=await this.fetch(e),a=t.clone();return this.waitUntil(this.cachePut(e,a)),t}async cacheMatch(e){let t,a=M(e),{cacheName:r,matchOptions:s}=this._strategy,n=await this.getCacheKey(a,"read"),i={...s,cacheName:r};for(let e of(t=await caches.match(n,i),this.iterateCallbacks("cachedResponseWillBeUsed")))t=await e({cacheName:r,matchOptions:s,cachedResponse:t,request:n,event:this.event})||void 0;return t}async cachePut(e,t){let a=M(e);await d(0);let s=await this.getCacheKey(a,"write");if(!t)throw new r("cache-put-with-no-response",{url:new URL(String(s.url),location.href).href.replace(RegExp(`^${location.origin}`),"")});let n=await this._ensureResponseSafeToCache(t);if(!n)return!1;let{cacheName:i,matchOptions:c}=this._strategy,l=await self.caches.open(i),h=this.hasCallback("cacheDidUpdate"),f=h?await o(l,s.clone(),["__WB_REVISION__"],c):null;try{await l.put(s,h?n.clone():n)}catch(e){if(e instanceof Error)throw"QuotaExceededError"===e.name&&await u(),e}for(let e of this.iterateCallbacks("cacheDidUpdate"))await e({cacheName:i,oldResponse:f,newResponse:n.clone(),request:s,event:this.event});return!0}async getCacheKey(e,t){let a=`${e.url} | ${t}`;if(!this._cacheKeys[a]){let r=e;for(let e of this.iterateCallbacks("cacheKeyWillBeUsed"))r=M(await e({mode:t,request:r,event:this.event,params:this.params}));this._cacheKeys[a]=r}return this._cacheKeys[a]}hasCallback(e){for(let t of this._strategy.plugins)if(e in t)return!0;return!1}async runCallbacks(e,t){for(let a of this.iterateCallbacks(e))await a(t)}*iterateCallbacks(e){for(let t of this._strategy.plugins)if("function"==typeof t[e]){let a=this._pluginStateMap.get(t),r=r=>{let s={...r,state:a};return t[e](s)};yield r}}waitUntil(e){return this._extendLifetimePromises.push(e),e}async doneWaiting(){let e;for(;e=this._extendLifetimePromises.shift();)await e}destroy(){this._handlerDeferred.resolve(null)}async getPreloadResponse(){if(this.event instanceof FetchEvent&&"navigate"===this.event.request.mode&&"preloadResponse"in this.event)try{let e=await this.event.preloadResponse;if(e)return e}catch(e){}}async _ensureResponseSafeToCache(e){let t=e,a=!1;for(let e of this.iterateCallbacks("cacheWillUpdate"))if(t=await e({request:this.request,response:t,event:this.event})||void 0,a=!0,!t)break;return!a&&t&&200!==t.status&&(t=void 0),t}}class F{cacheName;plugins;fetchOptions;matchOptions;constructor(e={}){this.cacheName=i.getRuntimeName(e.cacheName),this.plugins=e.plugins||[],this.fetchOptions=e.fetchOptions,this.matchOptions=e.matchOptions}handle(e){let[t]=this.handleAll(e);return t}handleAll(e){e instanceof FetchEvent&&(e={event:e,request:e.request});let t=e.event,a="string"==typeof e.request?new Request(e.request):e.request,r=new A(this,e.url?{event:t,request:a,url:e.url,params:e.params}:{event:t,request:a}),s=this._getResponse(r,a,t),n=this._awaitComplete(s,r,a,t);return[s,n]}async _getResponse(e,t,a){let s;await e.runCallbacks("handlerWillStart",{event:a,request:t});try{if(s=await this._handle(t,e),void 0===s||"error"===s.type)throw new r("no-response",{url:t.url})}catch(r){if(r instanceof Error){for(let n of e.iterateCallbacks("handlerDidError"))if(void 0!==(s=await n({error:r,event:a,request:t})))break}if(!s)throw r}for(let r of e.iterateCallbacks("handlerWillRespond"))s=await r({event:a,request:t,response:s});return s}async _awaitComplete(e,t,a,r){let s,n;try{s=await e}catch{}try{await t.runCallbacks("handlerDidRespond",{event:r,request:a,response:s}),await t.doneWaiting()}catch(e){e instanceof Error&&(n=e)}if(await t.runCallbacks("handlerDidComplete",{event:r,request:a,response:s,error:n}),t.destroy(),n)throw n}}let W={cacheWillUpdate:async({response:e})=>200===e.status||0===e.status?e:null};class j extends F{_networkTimeoutSeconds;constructor(e={}){super(e),this.plugins.some(e=>"cacheWillUpdate"in e)||this.plugins.unshift(W),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let a,s=[],n=[];if(this._networkTimeoutSeconds){let{id:r,promise:i}=this._getTimeoutPromise({request:e,logs:s,handler:t});a=r,n.push(i)}let i=this._getNetworkPromise({timeoutId:a,request:e,logs:s,handler:t});n.push(i);let c=await t.waitUntil((async()=>await t.waitUntil(Promise.race(n))||await i)());if(!c)throw new r("no-response",{url:e.url});return c}_getTimeoutPromise({request:e,logs:t,handler:a}){let r;return{promise:new Promise(t=>{r=setTimeout(async()=>{t(await a.cacheMatch(e))},1e3*this._networkTimeoutSeconds)}),id:r}}async _getNetworkPromise({timeoutId:e,request:t,logs:a,handler:r}){let s,n;try{n=await r.fetchAndCachePut(t)}catch(e){e instanceof Error&&(s=e)}return e&&clearTimeout(e),(s||!n)&&(n=await r.cacheMatch(t)),n}}class H extends F{_networkTimeoutSeconds;constructor(e={}){super(e),this._networkTimeoutSeconds=e.networkTimeoutSeconds||0}async _handle(e,t){let a,s;try{let a=[t.fetch(e)];if(this._networkTimeoutSeconds){let e=d(1e3*this._networkTimeoutSeconds);a.push(e)}if(!(s=await Promise.race(a)))throw Error(`Timed out the network response after ${this._networkTimeoutSeconds} seconds.`)}catch(e){e instanceof Error&&(a=e)}if(!s)throw new r("no-response",{url:e.url,error:a});return s}}let $="requests",G="queueName";class Q{_db=null;async addEntry(e){let t=(await this.getDb()).transaction($,"readwrite",{durability:"relaxed"});await t.store.add(e),await t.done}async getFirstEntryId(){let e=await this.getDb(),t=await e.transaction($).store.openCursor();return t?.value.id}async getAllEntriesByQueueName(e){let t=await this.getDb();return await t.getAllFromIndex($,G,IDBKeyRange.only(e))||[]}async getEntryCountByQueueName(e){return(await this.getDb()).countFromIndex($,G,IDBKeyRange.only(e))}async deleteEntry(e){let t=await this.getDb();await t.delete($,e)}async getFirstEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"next")}async getLastEntryByQueueName(e){return await this.getEndEntryFromIndex(IDBKeyRange.only(e),"prev")}async getEndEntryFromIndex(e,t){let a=await this.getDb(),r=await a.transaction($).store.index(G).openCursor(e,t);return r?.value}async getDb(){return this._db||(this._db=await function(e,t,{blocked:a,upgrade:r,blocking:s,terminated:n}={}){let i=indexedDB.open(e,3),c=v(i);return r&&i.addEventListener("upgradeneeded",e=>{r(v(i.result),e.oldVersion,e.newVersion,v(i.transaction),e)}),a&&i.addEventListener("blocked",e=>a(e.oldVersion,e.newVersion,e)),c.then(e=>{n&&e.addEventListener("close",()=>n()),s&&e.addEventListener("versionchange",e=>s(e.oldVersion,e.newVersion,e))}).catch(()=>{}),c}("serwist-background-sync",0,{upgrade:this._upgradeDb})),this._db}_upgradeDb(e,t){t>0&&t<3&&e.objectStoreNames.contains($)&&e.deleteObjectStore($),e.createObjectStore($,{autoIncrement:!0,keyPath:"id"}).createIndex(G,G,{unique:!1})}}class V{_queueName;_queueDb;constructor(e){this._queueName=e,this._queueDb=new Q}async pushEntry(e){delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async unshiftEntry(e){let t=await this._queueDb.getFirstEntryId();t?e.id=t-1:delete e.id,e.queueName=this._queueName,await this._queueDb.addEntry(e)}async popEntry(){return this._removeEntry(await this._queueDb.getLastEntryByQueueName(this._queueName))}async shiftEntry(){return this._removeEntry(await this._queueDb.getFirstEntryByQueueName(this._queueName))}async getAll(){return await this._queueDb.getAllEntriesByQueueName(this._queueName)}async size(){return await this._queueDb.getEntryCountByQueueName(this._queueName)}async deleteEntry(e){await this._queueDb.deleteEntry(e)}async _removeEntry(e){return e&&await this.deleteEntry(e.id),e}}let z=["method","referrer","referrerPolicy","mode","credentials","cache","redirect","integrity","keepalive"];class J{_requestData;static async fromRequest(e){let t={url:e.url,headers:{}};for(let a of("GET"!==e.method&&(t.body=await e.clone().arrayBuffer()),e.headers.forEach((e,a)=>{t.headers[a]=e}),z))void 0!==e[a]&&(t[a]=e[a]);return new J(t)}constructor(e){"navigate"===e.mode&&(e.mode="same-origin"),this._requestData=e}toObject(){let e=Object.assign({},this._requestData);return e.headers=Object.assign({},this._requestData.headers),e.body&&(e.body=e.body.slice(0)),e}toRequest(){return new Request(this._requestData.url,this._requestData)}clone(){return new J(this.toObject())}}let X="serwist-background-sync",Y=new Set,Z=e=>{let t={request:new J(e.requestData).toRequest(),timestamp:e.timestamp};return e.metadata&&(t.metadata=e.metadata),t};class ee{_name;_onSync;_maxRetentionTime;_queueStore;_forceSyncFallback;_syncInProgress=!1;_requestsAddedDuringSync=!1;constructor(e,{forceSyncFallback:t,onSync:a,maxRetentionTime:s}={}){if(Y.has(e))throw new r("duplicate-queue-name",{name:e});Y.add(e),this._name=e,this._onSync=a||this.replayRequests,this._maxRetentionTime=s||10080,this._forceSyncFallback=!!t,this._queueStore=new V(this._name),this._addSyncListener()}get name(){return this._name}async pushRequest(e){await this._addRequest(e,"push")}async unshiftRequest(e){await this._addRequest(e,"unshift")}async popRequest(){return this._removeRequest("pop")}async shiftRequest(){return this._removeRequest("shift")}async getAll(){let e=await this._queueStore.getAll(),t=Date.now(),a=[];for(let r of e){let e=60*this._maxRetentionTime*1e3;t-r.timestamp>e?await this._queueStore.deleteEntry(r.id):a.push(Z(r))}return a}async size(){return await this._queueStore.size()}async _addRequest({request:e,metadata:t,timestamp:a=Date.now()},r){let s={requestData:(await J.fromRequest(e.clone())).toObject(),timestamp:a};switch(t&&(s.metadata=t),r){case"push":await this._queueStore.pushEntry(s);break;case"unshift":await this._queueStore.unshiftEntry(s)}this._syncInProgress?this._requestsAddedDuringSync=!0:await this.registerSync()}async _removeRequest(e){let t,a=Date.now();switch(e){case"pop":t=await this._queueStore.popEntry();break;case"shift":t=await this._queueStore.shiftEntry()}if(t){let r=60*this._maxRetentionTime*1e3;return a-t.timestamp>r?this._removeRequest(e):Z(t)}}async replayRequests(){let e;for(;e=await this.shiftRequest();)try{await fetch(e.request.clone())}catch{throw await this.unshiftRequest(e),new r("queue-replay-failed",{name:this._name})}}async registerSync(){if("sync"in self.registration&&!this._forceSyncFallback)try{await self.registration.sync.register(`${X}:${this._name}`)}catch(e){}}_addSyncListener(){"sync"in self.registration&&!this._forceSyncFallback?self.addEventListener("sync",e=>{if(e.tag===`${X}:${this._name}`){let t=async()=>{let t;this._syncInProgress=!0;try{await this._onSync({queue:this})}catch(e){if(e instanceof Error)throw e}finally{this._requestsAddedDuringSync&&!(t&&!e.lastChance)&&await this.registerSync(),this._syncInProgress=!1,this._requestsAddedDuringSync=!1}};e.waitUntil(t())}}):this._onSync({queue:this})}static get _queueNames(){return Y}}class et{_queue;constructor(e,t){this._queue=new ee(e,t)}async fetchDidFail({request:e}){await this._queue.pushRequest({request:e})}}let ea=async(t,a)=>{let s=null;if(t.url&&(s=new URL(t.url).origin),s!==self.location.origin)throw new r("cross-origin-copy-response",{origin:s});let n=t.clone(),i={headers:new Headers(n.headers),status:n.status,statusText:n.statusText},c=a?a(i):i,l=!function(){if(void 0===e){let t=new Response("");if("body"in t)try{new Response(t.body),e=!0}catch{e=!1}e=!1}return e}()?await n.blob():n.body;return new Response(l,c)};class er extends F{_fallbackToNetwork;static defaultPrecacheCacheabilityPlugin={cacheWillUpdate:async({response:e})=>!e||e.status>=400?null:e};static copyRedirectedCacheableResponsesPlugin={cacheWillUpdate:async({response:e})=>e.redirected?await ea(e):e};constructor(e={}){e.cacheName=i.getPrecacheName(e.cacheName),super(e),this._fallbackToNetwork=!1!==e.fallbackToNetwork,this.plugins.push(er.copyRedirectedCacheableResponsesPlugin)}async _handle(e,t){let a=await t.getPreloadResponse();if(a)return a;let r=await t.cacheMatch(e);return r||(t.event&&"install"===t.event.type?await this._handleInstall(e,t):await this._handleFetch(e,t))}async _handleFetch(e,t){let a,s=t.params||{};if(this._fallbackToNetwork){let r=s.integrity,n=e.integrity,i=!n||n===r;a=await t.fetch(new Request(e,{integrity:"no-cors"!==e.mode?n||r:void 0})),r&&i&&"no-cors"!==e.mode&&(this._useDefaultCacheabilityPluginIfNeeded(),await t.cachePut(e,a.clone()))}else throw new r("missing-precache-entry",{cacheName:this.cacheName,url:e.url});return a}async _handleInstall(e,t){this._useDefaultCacheabilityPluginIfNeeded();let a=await t.fetch(e);if(!await t.cachePut(e,a.clone()))throw new r("bad-precaching-response",{url:e.url,status:a.status});return a}_useDefaultCacheabilityPluginIfNeeded(){let e=null,t=0;for(let[a,r]of this.plugins.entries())r!==er.copyRedirectedCacheableResponsesPlugin&&(r===er.defaultPrecacheCacheabilityPlugin&&(e=a),r.cacheWillUpdate&&t++);0===t?this.plugins.push(er.defaultPrecacheCacheabilityPlugin):t>1&&null!==e&&this.plugins.splice(e,1)}}class es{updatedURLs=[];notUpdatedURLs=[];handlerWillStart=async({request:e,state:t})=>{t&&(t.originalRequest=e)};cachedResponseWillBeUsed=async({event:e,state:t,cachedResponse:a})=>{if("install"===e.type&&t?.originalRequest&&t.originalRequest instanceof Request){let e=t.originalRequest.url;a?this.notUpdatedURLs.push(e):this.updatedURLs.push(e)}return a}}let en=e=>{if(!e)throw new r("add-to-cache-list-unexpected-type",{entry:e});if("string"==typeof e){let t=new URL(e,location.href);return{cacheKey:t.href,url:t.href}}let{revision:t,url:a}=e;if(!a)throw new r("add-to-cache-list-unexpected-type",{entry:e});if(!t){let e=new URL(a,location.href);return{cacheKey:e.href,url:e.href}}let s=new URL(a,location.href),n=new URL(a,location.href);return s.searchParams.set("__WB_REVISION__",t),{cacheKey:s.href,url:n.href}};class ei extends x{constructor(e,t){super(({request:a})=>{let r=e.getUrlsToPrecacheKeys();for(let s of function*(e,{directoryIndex:t="index.html",ignoreURLParametersMatching:a=[/^utm_/,/^fbclid$/],cleanURLs:r=!0,urlManipulation:s}={}){let n=new URL(e,location.href);n.hash="",yield n.href;let i=((e,t=[])=>{for(let a of[...e.searchParams.keys()])t.some(e=>e.test(a))&&e.searchParams.delete(a);return e})(n,a);if(yield i.href,t&&i.pathname.endsWith("/")){let e=new URL(i.href);e.pathname+=t,yield e.href}if(r){let e=new URL(i.href);e.pathname+=".html",yield e.href}if(s)for(let e of s({url:n}))yield e.href}(a.url,t)){let t=r.get(s);if(t){let a=e.getIntegrityForPrecacheKey(t);return{cacheKey:t,integrity:a}}}},e.precacheStrategy)}}let ec="www.google-analytics.com",el="www.googletagmanager.com",eo=/^\/(\w+\/)?collect/,eh=({serwist:e,cacheName:t,...a})=>{let r=i.getGoogleAnalyticsName(t),s=new et("serwist-google-analytics",{maxRetentionTime:2880,onSync:(e=>async({queue:t})=>{let a;for(;a=await t.shiftRequest();){let{request:r,timestamp:s}=a,n=new URL(r.url);try{let t="POST"===r.method?new URLSearchParams(await r.clone().text()):n.searchParams,a=s-(Number(t.get("qt"))||0),i=Date.now()-a;if(t.set("qt",String(i)),e.parameterOverrides)for(let a of Object.keys(e.parameterOverrides)){let r=e.parameterOverrides[a];t.set(a,r)}"function"==typeof e.hitFilter&&e.hitFilter.call(null,t),await fetch(new Request(n.origin+n.pathname,{body:t.toString(),method:"POST",mode:"cors",credentials:"omit",headers:{"Content-Type":"text/plain"}}))}catch(e){throw await t.unshiftRequest(a),e}}})(a)});for(let t of[new x(({url:e})=>e.hostname===el&&"/gtm.js"===e.pathname,new j({cacheName:r}),"GET"),new x(({url:e})=>e.hostname===ec&&"/analytics.js"===e.pathname,new j({cacheName:r}),"GET"),new x(({url:e})=>e.hostname===el&&"/gtag/js"===e.pathname,new j({cacheName:r}),"GET"),...(e=>{let t=({url:e})=>e.hostname===ec&&eo.test(e.pathname),a=new H({plugins:[e]});return[new x(t,a,"GET"),new x(t,a,"POST")]})(s)])e.registerRoute(t)};class eu{_fallbackUrls;_serwist;constructor({fallbackUrls:e,serwist:t}){this._fallbackUrls=e,this._serwist=t}async handlerDidError(e){for(let t of this._fallbackUrls)if("string"==typeof t){let e=await this._serwist.matchPrecache(t);if(void 0!==e)return e}else if(t.matcher(e)){let e=await this._serwist.matchPrecache(t.url);if(void 0!==e)return e}}}class ed{_precacheController;constructor({precacheController:e}){this._precacheController=e}cacheKeyWillBeUsed=async({request:e,params:t})=>{let a=t?.cacheKey||this._precacheController.getPrecacheKeyForUrl(e.url);return a?new Request(a,{headers:e.headers}):e}}class ef{_urlsToCacheKeys=new Map;_urlsToCacheModes=new Map;_cacheKeysToIntegrities=new Map;_concurrentPrecaching;_precacheStrategy;_routes;_defaultHandlerMap;_catchHandler;constructor({precacheEntries:e,precacheOptions:t,skipWaiting:a=!1,importScripts:r,navigationPreload:s=!1,cacheId:n,clientsClaim:c=!1,runtimeCaching:l,offlineAnalyticsConfig:o,disableDevLogs:h=!1,fallbacks:u}={}){var d,f;let{precacheStrategyOptions:p,precacheRouteOptions:w,precacheMiscOptions:g}=((e,t={})=>{let{cacheName:a,plugins:r=[],fetchOptions:s,matchOptions:n,fallbackToNetwork:c,directoryIndex:l,ignoreURLParametersMatching:o,cleanURLs:h,urlManipulation:u,cleanupOutdatedCaches:d,concurrency:f=10,navigateFallback:y,navigateFallbackAllowlist:p,navigateFallbackDenylist:w}=t??{};return{precacheStrategyOptions:{cacheName:i.getPrecacheName(a),plugins:[...r,new ed({precacheController:e})],fetchOptions:s,matchOptions:n,fallbackToNetwork:c},precacheRouteOptions:{directoryIndex:l,ignoreURLParametersMatching:o,cleanURLs:h,urlManipulation:u},precacheMiscOptions:{cleanupOutdatedCaches:d,concurrency:f,navigateFallback:y,navigateFallbackAllowlist:p,navigateFallbackDenylist:w}}})(this,t);if(this._concurrentPrecaching=g.concurrency,this._precacheStrategy=new er(p),this._routes=new Map,this._defaultHandlerMap=new Map,this.handleInstall=this.handleInstall.bind(this),this.handleActivate=this.handleActivate.bind(this),this.handleFetch=this.handleFetch.bind(this),this.handleCache=this.handleCache.bind(this),r&&r.length>0&&self.importScripts(...r),s&&self.registration?.navigationPreload&&self.addEventListener("activate",e=>{e.waitUntil(self.registration.navigationPreload.enable().then(()=>{}))}),void 0!==n&&(d={prefix:n},i.updateDetails(d)),a?self.skipWaiting():self.addEventListener("message",e=>{e.data&&"SKIP_WAITING"===e.data.type&&self.skipWaiting()}),c&&self.addEventListener("activate",()=>self.clients.claim()),e&&e.length>0&&this.addToPrecacheList(e),g.cleanupOutdatedCaches&&(f=p.cacheName,self.addEventListener("activate",e=>{e.waitUntil(y(i.getPrecacheName(f)).then(e=>{}))})),this.registerRoute(new ei(this,w)),g.navigateFallback&&this.registerRoute(new K(this.createHandlerBoundToUrl(g.navigateFallback),{allowlist:g.navigateFallbackAllowlist,denylist:g.navigateFallbackDenylist})),void 0!==o&&("boolean"==typeof o?o&&eh({serwist:this}):eh({...o,serwist:this})),void 0!==l){if(void 0!==u){let e=new eu({fallbackUrls:u.entries,serwist:this});l.forEach(t=>{t.handler instanceof F&&!t.handler.plugins.some(e=>"handlerDidError"in e)&&t.handler.plugins.push(e)})}for(let e of l)this.registerCapture(e.matcher,e.handler,e.method)}h&&(self.__WB_DISABLE_DEV_LOGS=!0)}get precacheStrategy(){return this._precacheStrategy}get routes(){return this._routes}addEventListeners(){self.addEventListener("install",this.handleInstall),self.addEventListener("activate",this.handleActivate),self.addEventListener("fetch",this.handleFetch),self.addEventListener("message",this.handleCache)}addToPrecacheList(e){let t=[];for(let a of e){"string"==typeof a?t.push(a):a&&!a.integrity&&void 0===a.revision&&t.push(a.url);let{cacheKey:e,url:s}=en(a),n="string"!=typeof a&&a.revision?"reload":"default";if(this._urlsToCacheKeys.has(s)&&this._urlsToCacheKeys.get(s)!==e)throw new r("add-to-cache-list-conflicting-entries",{firstEntry:this._urlsToCacheKeys.get(s),secondEntry:e});if("string"!=typeof a&&a.integrity){if(this._cacheKeysToIntegrities.has(e)&&this._cacheKeysToIntegrities.get(e)!==a.integrity)throw new r("add-to-cache-list-conflicting-integrities",{url:s});this._cacheKeysToIntegrities.set(e,a.integrity)}this._urlsToCacheKeys.set(s,e),this._urlsToCacheModes.set(s,n),t.length>0&&console.warn(`Serwist is precaching URLs without revision info: ${t.join(", ")}
-This is generally NOT safe. Learn more at https://bit.ly/wb-precache`)}}handleInstall(e){return p(e,async()=>{let t=new es;this.precacheStrategy.plugins.push(t),await O(this._concurrentPrecaching,Array.from(this._urlsToCacheKeys.entries()),async([t,a])=>{let r=this._cacheKeysToIntegrities.get(a),s=this._urlsToCacheModes.get(t),n=new Request(t,{integrity:r,cache:s,credentials:"same-origin"});await Promise.all(this.precacheStrategy.handleAll({event:e,request:n,url:new URL(n.url),params:{cacheKey:a}}))});let{updatedURLs:a,notUpdatedURLs:r}=t;return{updatedURLs:a,notUpdatedURLs:r}})}handleActivate(e){return p(e,async()=>{let e=await self.caches.open(this.precacheStrategy.cacheName),t=await e.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(let s of t)a.has(s.url)||(await e.delete(s),r.push(s.url));return{deletedCacheRequests:r}})}handleFetch(e){let{request:t}=e,a=this.handleRequest({request:t,event:e});a&&e.respondWith(a)}handleCache(e){if(e.data&&"CACHE_URLS"===e.data.type){let{payload:t}=e.data,a=Promise.all(t.urlsToCache.map(t=>{let a;return a="string"==typeof t?new Request(t):new Request(...t),this.handleRequest({request:a,event:e})}));e.waitUntil(a),e.ports?.[0]&&a.then(()=>e.ports[0].postMessage(!0))}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,L(e))}setCatchHandler(e){this._catchHandler=L(e)}registerCapture(e,t,a){let s=((e,t,a)=>{if("string"==typeof e){let r=new URL(e,location.href);return new x(({url:e})=>e.href===r.href,t,a)}if(e instanceof RegExp)return new B(e,t,a);if("function"==typeof e)return new x(e,t,a);if(e instanceof x)return e;throw new r("unsupported-route-type",{moduleName:"serwist",funcName:"parseRoute",paramName:"capture"})})(e,t,a);return this.registerRoute(s),s}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new r("unregister-route-but-not-found-with-method",{method:e.method});let t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new r("unregister-route-route-not-registered")}getUrlsToPrecacheKeys(){return this._urlsToCacheKeys}getPrecachedUrls(){return[...this._urlsToCacheKeys.keys()]}getPrecacheKeyForUrl(e){let t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForPrecacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){let t=e instanceof Request?e.url:e,a=this.getPrecacheKeyForUrl(t);if(a)return(await self.caches.open(this.precacheStrategy.cacheName)).match(a)}createHandlerBoundToUrl(e){let t=this.getPrecacheKeyForUrl(e);if(!t)throw new r("non-precached-url",{url:e});return a=>(a.request=new Request(e),a.params={cacheKey:t,...a.params},this.precacheStrategy.handle(a))}handleRequest({request:e,event:t}){let a,r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;let s=r.origin===location.origin,{params:n,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:s,url:r}),c=i?.handler,l=e.method;if(!c&&this._defaultHandlerMap.has(l)&&(c=this._defaultHandlerMap.get(l)),!c)return;try{a=c.handle({url:r,request:e,event:t,params:n})}catch(e){a=Promise.reject(e)}let o=i?.catchHandler;return a instanceof Promise&&(this._catchHandler||o)&&(a=a.catch(async a=>{if(o)try{return await o.handle({url:r,request:e,event:t,params:n})}catch(e){e instanceof Error&&(a=e)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw a})),a}findMatchingRoute({url:e,sameOrigin:t,request:a,event:r}){for(let s of this._routes.get(a.method)||[]){let n,i=s.match({url:e,sameOrigin:t,request:a,event:r});if(i)return Array.isArray(n=i)&&0===n.length||i.constructor===Object&&0===Object.keys(i).length?n=void 0:"boolean"==typeof i&&(n=void 0),{route:s,params:n}}return{}}}"undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);class ey extends F{constructor(e={}){super(e),this.plugins.some(e=>"cacheWillUpdate"in e)||this.plugins.unshift(W)}async _handle(e,t){let a,s=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(s);let n=await t.cacheMatch(e);if(n);else try{n=await s}catch(e){e instanceof Error&&(a=e)}if(!n)throw new r("no-response",{url:e.url,error:a});return n}}new ef({precacheEntries:[...[{'revision':null,'url':'/_next/static/chunks/05f6971a.a728222af9898728.js'},{'revision':null,'url':'/_next/static/chunks/4bd1b696-cf72ae8a39fa05aa.js'},{'revision':null,'url':'/_next/static/chunks/507-e863b17caa0d6cfe.js'},{'revision':null,'url':'/_next/static/chunks/568.412f309bbcc9cedb.js'},{'revision':null,'url':'/_next/static/chunks/63-c2dd88008885f5dc.js'},{'revision':null,'url':'/_next/static/chunks/814-a5f1282e41b82a58.js'},{'revision':null,'url':'/_next/static/chunks/874-437a265a67d6cfee.js'},{'revision':null,'url':'/_next/static/chunks/app/_not-found/page-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/%5Bz%5D/%5Bx%5D/%5By%5D/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/font/%5Bfontstack%5D/%5Brange%5D/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/og-image/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/ubicate/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/creditos/page-5140d3e999f60953.js'},{'revision':null,'url':'/_next/static/chunks/app/debug/page-0708a90b15fc1e91.js'},{'revision':null,'url':'/_next/static/chunks/app/global-error-0874d562cf1011ca.js'},{'revision':null,'url':'/_next/static/chunks/app/layout-213aa85f5c6e2372.js'},{'revision':null,'url':'/_next/static/chunks/app/manifest.webmanifest/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/not-found-a7895df2d4984654.js'},{'revision':null,'url':'/_next/static/chunks/app/page-dd401de9b626b27f.js'},{'revision':null,'url':'/_next/static/chunks/app/robots.txt/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/seguridad/page-a7895df2d4984654.js'},{'revision':null,'url':'/_next/static/chunks/app/sitemap.xml/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/framework-306aa0968ce8efc5.js'},{'revision':null,'url':'/_next/static/chunks/main-app-32d9ef61e087fb17.js'},{'revision':null,'url':'/_next/static/chunks/main-c915b63dc843b91d.js'},{'revision':null,'url':'/_next/static/chunks/pages/_app-0a0020ddd67f79cf.js'},{'revision':null,'url':'/_next/static/chunks/pages/_error-03529f2c21436739.js'},{'revision':'846118c33b2c0e922d7b3a7676f81f6f','url':'/_next/static/chunks/polyfills-42372ed130431b0a.js'},{'revision':null,'url':'/_next/static/chunks/webpack-643642097e68b893.js'},{'revision':null,'url':'/_next/static/css/5dfb6e00dd2ef4b2.css'},{'revision':null,'url':'/_next/static/css/91a82c4c1ceceae9.css'},{'revision':'6a3d0a57f87c56de61528fd549033134','url':'/_next/static/jmV-TUgiGZe8fat5CbxAn/_buildManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/jmV-TUgiGZe8fat5CbxAn/_ssgManifest.js'},{'revision':'7d206bcb93f463b935e7204bea7574bd','url':'/icons/icon-128x128.png'},{'revision':'40bbe01ff1b02c6d2a7332e55ca931ea','url':'/icons/icon-144x144.png'},{'revision':'c98070950585b952c9ad1c02158bfc11','url':'/icons/icon-152x152.png'},{'revision':'ce67f0d4144cd906128c748f9d7d9cff','url':'/icons/icon-192x192.png'},{'revision':'53ea876d077d1862aaf18d434f4488e6','url':'/icons/icon-384x384.png'},{'revision':'d5569b701043b613c1f0eec82f66e647','url':'/icons/icon-512x512.png'},{'revision':'307cf11ff44cbaac3d6155d3a1596676','url':'/icons/icon-72x72.png'},{'revision':'fc7abf46efdd43be069bac228742bb30','url':'/icons/icon-96x96.png'},{'revision':'3b207bd2aa0d0c949c65bf2e9722a2be','url':'/images/campus/casa_central.jpg'},{'revision':'639adfeb0ac641ea1400fadea1b6174f','url':'/images/campus/lo_contador.jpg'},{'revision':'63a1e9d9aa09b8fd42f5b11db298ae6c','url':'/images/campus/oriente.jpg'},{'revision':'da9fe5a5d4742b5c161627e9eecb12df','url':'/images/campus/san_joaquin.jpg'},{'revision':'448ccae5bd6aef6bb35a3c9809b2927f','url':'/images/campus/villarrica.png'},{'revision':'8b9e8289e9ce8355b25a0ad80521950d','url':'/logo-osuc.svg'},{'revision':'eaa02d09d7b4453a7333237a9fef1953','url':'/logo.svg'},{'revision':'e5bf0a461a006306bfef2fe7c7266724','url':'/long-logo.svg'},{'revision':'2ebfb7dc3d9c68a56751b4d6b634c6e1','url':'/opengraph-image.png'},{'revision':'181c721422c61e42248621789f75d590','url':'/screenshots/screenshot-mobile-0.png'},{'revision':'31b7dabb167cef6ae7860619477a7c45','url':'/screenshots/screenshot-mobile-1.png'}]||[]],skipWaiting:!0,clientsClaim:!0,navigationPreload:!0,runtimeCaching:[{matcher:e=>{let{request:t}=e;return"image"===t.destination},handler:new ey({cacheName:"images"})},{matcher:e=>{let{request:t}=e;return"script"===t.destination||"style"===t.destination},handler:new j({cacheName:"static-resources",networkTimeoutSeconds:3})},{matcher:e=>{let{url:t}=e;return t.pathname.startsWith("/api/")},handler:new ey({cacheName:"map-tiles",plugins:[{cacheWillUpdate:async e=>{let{response:t}=e;return 200===t.status?t:null}}]})},{matcher:e=>{let{request:t}=e;return"navigate"===t.mode},handler:new j({cacheName:"pages",networkTimeoutSeconds:3})}]}).addEventListeners()})();
\ No newline at end of file
+This is generally NOT safe. Learn more at https://bit.ly/wb-precache`)}}handleInstall(e){return p(e,async()=>{let t=new es;this.precacheStrategy.plugins.push(t),await O(this._concurrentPrecaching,Array.from(this._urlsToCacheKeys.entries()),async([t,a])=>{let r=this._cacheKeysToIntegrities.get(a),s=this._urlsToCacheModes.get(t),n=new Request(t,{integrity:r,cache:s,credentials:"same-origin"});await Promise.all(this.precacheStrategy.handleAll({event:e,request:n,url:new URL(n.url),params:{cacheKey:a}}))});let{updatedURLs:a,notUpdatedURLs:r}=t;return{updatedURLs:a,notUpdatedURLs:r}})}handleActivate(e){return p(e,async()=>{let e=await self.caches.open(this.precacheStrategy.cacheName),t=await e.keys(),a=new Set(this._urlsToCacheKeys.values()),r=[];for(let s of t)a.has(s.url)||(await e.delete(s),r.push(s.url));return{deletedCacheRequests:r}})}handleFetch(e){let{request:t}=e,a=this.handleRequest({request:t,event:e});a&&e.respondWith(a)}handleCache(e){if(e.data&&"CACHE_URLS"===e.data.type){let{payload:t}=e.data,a=Promise.all(t.urlsToCache.map(t=>{let a;return a="string"==typeof t?new Request(t):new Request(...t),this.handleRequest({request:a,event:e})}));e.waitUntil(a),e.ports?.[0]&&a.then(()=>e.ports[0].postMessage(!0))}}setDefaultHandler(e,t="GET"){this._defaultHandlerMap.set(t,L(e))}setCatchHandler(e){this._catchHandler=L(e)}registerCapture(e,t,a){let s=((e,t,a)=>{if("string"==typeof e){let r=new URL(e,location.href);return new x(({url:e})=>e.href===r.href,t,a)}if(e instanceof RegExp)return new B(e,t,a);if("function"==typeof e)return new x(e,t,a);if(e instanceof x)return e;throw new r("unsupported-route-type",{moduleName:"serwist",funcName:"parseRoute",paramName:"capture"})})(e,t,a);return this.registerRoute(s),s}registerRoute(e){this._routes.has(e.method)||this._routes.set(e.method,[]),this._routes.get(e.method).push(e)}unregisterRoute(e){if(!this._routes.has(e.method))throw new r("unregister-route-but-not-found-with-method",{method:e.method});let t=this._routes.get(e.method).indexOf(e);if(t>-1)this._routes.get(e.method).splice(t,1);else throw new r("unregister-route-route-not-registered")}getUrlsToPrecacheKeys(){return this._urlsToCacheKeys}getPrecachedUrls(){return[...this._urlsToCacheKeys.keys()]}getPrecacheKeyForUrl(e){let t=new URL(e,location.href);return this._urlsToCacheKeys.get(t.href)}getIntegrityForPrecacheKey(e){return this._cacheKeysToIntegrities.get(e)}async matchPrecache(e){let t=e instanceof Request?e.url:e,a=this.getPrecacheKeyForUrl(t);if(a)return(await self.caches.open(this.precacheStrategy.cacheName)).match(a)}createHandlerBoundToUrl(e){let t=this.getPrecacheKeyForUrl(e);if(!t)throw new r("non-precached-url",{url:e});return a=>(a.request=new Request(e),a.params={cacheKey:t,...a.params},this.precacheStrategy.handle(a))}handleRequest({request:e,event:t}){let a,r=new URL(e.url,location.href);if(!r.protocol.startsWith("http"))return;let s=r.origin===location.origin,{params:n,route:i}=this.findMatchingRoute({event:t,request:e,sameOrigin:s,url:r}),c=i?.handler,l=e.method;if(!c&&this._defaultHandlerMap.has(l)&&(c=this._defaultHandlerMap.get(l)),!c)return;try{a=c.handle({url:r,request:e,event:t,params:n})}catch(e){a=Promise.reject(e)}let o=i?.catchHandler;return a instanceof Promise&&(this._catchHandler||o)&&(a=a.catch(async a=>{if(o)try{return await o.handle({url:r,request:e,event:t,params:n})}catch(e){e instanceof Error&&(a=e)}if(this._catchHandler)return this._catchHandler.handle({url:r,request:e,event:t});throw a})),a}findMatchingRoute({url:e,sameOrigin:t,request:a,event:r}){for(let s of this._routes.get(a.method)||[]){let n,i=s.match({url:e,sameOrigin:t,request:a,event:r});if(i)return Array.isArray(n=i)&&0===n.length||i.constructor===Object&&0===Object.keys(i).length?n=void 0:"boolean"==typeof i&&(n=void 0),{route:s,params:n}}return{}}}"undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent);class ey extends F{constructor(e={}){super(e),this.plugins.some(e=>"cacheWillUpdate"in e)||this.plugins.unshift(W)}async _handle(e,t){let a,s=t.fetchAndCachePut(e).catch(()=>{});t.waitUntil(s);let n=await t.cacheMatch(e);if(n);else try{n=await s}catch(e){e instanceof Error&&(a=e)}if(!n)throw new r("no-response",{url:e.url,error:a});return n}}new ef({precacheEntries:[...[{'revision':null,'url':'/_next/static/chunks/05f6971a.a728222af9898728.js'},{'revision':null,'url':'/_next/static/chunks/4bd1b696-cf72ae8a39fa05aa.js'},{'revision':null,'url':'/_next/static/chunks/507-e863b17caa0d6cfe.js'},{'revision':null,'url':'/_next/static/chunks/568.412f309bbcc9cedb.js'},{'revision':null,'url':'/_next/static/chunks/63-c2dd88008885f5dc.js'},{'revision':null,'url':'/_next/static/chunks/814-a5f1282e41b82a58.js'},{'revision':null,'url':'/_next/static/chunks/874-437a265a67d6cfee.js'},{'revision':null,'url':'/_next/static/chunks/app/_not-found/page-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/%5Bz%5D/%5Bx%5D/%5By%5D/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/font/%5Bfontstack%5D/%5Brange%5D/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/og-image/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/api/ubicate/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/creditos/page-d0bad1a15703a1da.js'},{'revision':null,'url':'/_next/static/chunks/app/debug/page-9513a363496062ac.js'},{'revision':null,'url':'/_next/static/chunks/app/global-error-e78e24c5453ffa53.js'},{'revision':null,'url':'/_next/static/chunks/app/layout-5706bb8d039dfa30.js'},{'revision':null,'url':'/_next/static/chunks/app/manifest.webmanifest/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/not-found-459b89b78ed2bd66.js'},{'revision':null,'url':'/_next/static/chunks/app/page-cbe831e5dd7bc884.js'},{'revision':null,'url':'/_next/static/chunks/app/robots.txt/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/app/seguridad/page-459b89b78ed2bd66.js'},{'revision':null,'url':'/_next/static/chunks/app/sitemap.xml/route-f9c273ae97025559.js'},{'revision':null,'url':'/_next/static/chunks/framework-306aa0968ce8efc5.js'},{'revision':null,'url':'/_next/static/chunks/main-app-d2ff05ea652fa299.js'},{'revision':null,'url':'/_next/static/chunks/main-c915b63dc843b91d.js'},{'revision':null,'url':'/_next/static/chunks/pages/_app-0a0020ddd67f79cf.js'},{'revision':null,'url':'/_next/static/chunks/pages/_error-03529f2c21436739.js'},{'revision':'846118c33b2c0e922d7b3a7676f81f6f','url':'/_next/static/chunks/polyfills-42372ed130431b0a.js'},{'revision':null,'url':'/_next/static/chunks/webpack-643642097e68b893.js'},{'revision':null,'url':'/_next/static/css/5dfb6e00dd2ef4b2.css'},{'revision':null,'url':'/_next/static/css/b2036822f2997115.css'},{'revision':'6a3d0a57f87c56de61528fd549033134','url':'/_next/static/hLjfs8qauBG3SRIvBzy0Y/_buildManifest.js'},{'revision':'b6652df95db52feb4daf4eca35380933','url':'/_next/static/hLjfs8qauBG3SRIvBzy0Y/_ssgManifest.js'},{'revision':'7d206bcb93f463b935e7204bea7574bd','url':'/icons/icon-128x128.png'},{'revision':'40bbe01ff1b02c6d2a7332e55ca931ea','url':'/icons/icon-144x144.png'},{'revision':'c98070950585b952c9ad1c02158bfc11','url':'/icons/icon-152x152.png'},{'revision':'ce67f0d4144cd906128c748f9d7d9cff','url':'/icons/icon-192x192.png'},{'revision':'53ea876d077d1862aaf18d434f4488e6','url':'/icons/icon-384x384.png'},{'revision':'d5569b701043b613c1f0eec82f66e647','url':'/icons/icon-512x512.png'},{'revision':'307cf11ff44cbaac3d6155d3a1596676','url':'/icons/icon-72x72.png'},{'revision':'fc7abf46efdd43be069bac228742bb30','url':'/icons/icon-96x96.png'},{'revision':'3b207bd2aa0d0c949c65bf2e9722a2be','url':'/images/campus/casa_central.jpg'},{'revision':'639adfeb0ac641ea1400fadea1b6174f','url':'/images/campus/lo_contador.jpg'},{'revision':'63a1e9d9aa09b8fd42f5b11db298ae6c','url':'/images/campus/oriente.jpg'},{'revision':'da9fe5a5d4742b5c161627e9eecb12df','url':'/images/campus/san_joaquin.jpg'},{'revision':'448ccae5bd6aef6bb35a3c9809b2927f','url':'/images/campus/villarrica.png'},{'revision':'8b9e8289e9ce8355b25a0ad80521950d','url':'/logo-osuc.svg'},{'revision':'eaa02d09d7b4453a7333237a9fef1953','url':'/logo.svg'},{'revision':'e5bf0a461a006306bfef2fe7c7266724','url':'/long-logo.svg'},{'revision':'2ebfb7dc3d9c68a56751b4d6b634c6e1','url':'/opengraph-image.png'},{'revision':'181c721422c61e42248621789f75d590','url':'/screenshots/screenshot-mobile-0.png'},{'revision':'31b7dabb167cef6ae7860619477a7c45','url':'/screenshots/screenshot-mobile-1.png'}]||[]],skipWaiting:!0,clientsClaim:!0,navigationPreload:!0,runtimeCaching:[{matcher:e=>{let{request:t}=e;return"image"===t.destination},handler:new ey({cacheName:"images"})},{matcher:e=>{let{request:t}=e;return"script"===t.destination||"style"===t.destination},handler:new j({cacheName:"static-resources",networkTimeoutSeconds:3})},{matcher:e=>{let{url:t}=e;return t.pathname.startsWith("/api/")},handler:new ey({cacheName:"map-tiles",plugins:[{cacheWillUpdate:async e=>{let{response:t}=e;return 200===t.status?t:null}}]})},{matcher:e=>{let{request:t}=e;return"navigate"===t.mode},handler:new j({cacheName:"pages",networkTimeoutSeconds:3})}]}).addEventListeners()})();
\ No newline at end of file