PageSourceSearch

https://uandina.edu.pe/_nuxt/C6SsGnqM.js

js uandina.edu.pe collected 2026-10-02 10:54:22 UTC 1,027 bytes, 1 lines download raw bytes

1import{E as l,K as i,am as v}from"./De_JQGIt.js";const f=()=>{const e=l("menuOverlayActive",()=>!1);return{isOverlayActive:e,toggleOverlay:()=>{e.value=!e.value},openOverlay:()=>{e.value=!0},closeOverlay:()=>{e.value=!1}}},m=()=>{const e=l("TiendaVirtualOverlayActive",()=>!1);return{isOverlayTiendaActive:e,openTiendaOverlay:()=>{e.value=!0},closeTiendaOverlay:()=>{e.value=!1}}};let n=!1;const g=()=>{const e=l("openCartActive",()=>!1),a=l("cartItemsState",()=>[]);return i(()=>{if(n)return;n=!0;const t=localStorage.getItem("cartItems");if(t)try{a.value.length===0&&(a.value=JSON.parse(t))}catch{}v(a,r=>{localStorage.setItem("cartItems",JSON.stringify(r))},{deep:!0})}),{isOpenCartActive:e,cartItems:a,openCart:()=>{e.value=!0},closeCart:()=>{e.value=!1},addToCart:t=>{const r=a.value.find(c=>c.codigo===t.codigo);r?r.cantidad=(r.cantidad??1)+(t.cantidad??1):a.value.push({...t,cantidad:t.cantidad??1})},clearCart:()=>{a.value=[]},removeFromCart:t=>{a.value=a.value.filter(r=>r.codigo!==t)}}};export{m as a,g as b,f as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.