PageSourceSearch

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

js uandina.edu.pe collected 2026-10-02 10:54:00 UTC 5,039 bytes, 1 lines download raw bytes

1import{z as $,aK as V,aJ as E,F as f,Q as L,J as q,M as J,aj as W,al as j,N as G,Z as A,_ as K,ae as I,af as O,a2 as M,b0 as Q,an as a,ah as F,a7 as P,a9 as H,$ as R}from"./De_JQGIt.js";import X from"./DmEf0GnR.js";import Z from"./D9MYi58a.js";import{_ as U}from"./BvcsRRMo.js";import Y from"./DkenQR0r.js";import{u as ee}from"./d91llZ03.js";import{u as te,a as oe,b as ne}from"./C6SsGnqM.js";import{b as ae,c as re,f as se}from"./DUgnHKU_.js";import"./DkXn1LOU.js";import"./Bg1lpbPY.js";import"./tEBKV1xG.js";import"./DObcjp_2.js";import"./DSDnNezJ.js";import"./YR0nenvi.js";import"./K8uoLINn.js";import"./DMMMNt7q.js";import"./cd8NVDoi.js";import"./Cj6ZeDcQ.js";import"./BmeWEsPq.js";import"./Cyzw4Ly7.js";import"./CiV7_Tbi.js";import"./C1lDWwJr.js";import"./BJ2ClxiI.js";function ie(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function ue(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:d=500,resetDelay:g=400}=e,p=e.estimatedProgress||ie,m=$(),r=L(0),s=L(!1),i=L(!1);let y=!1,C,x,_,b;const k=(o={})=>{w(),i.value=!1,v(0,o)};function v(o=0,l={}){if(m.isHydrating)return;if(o>=100)return h({force:l.force});u(),r.value=o<0?0:o;const c=l.force?0:n;c?x=setTimeout(()=>{s.value=!0,T()},c):(s.value=!0,T())}function N(){_=setTimeout(()=>{s.value=!1,b=setTimeout(()=>{r.value=0},g)},d)}function h(o={}){r.value=100,y=!0,u(),w(),o.error&&(i.value=!0),o.force?(r.value=0,s.value=!1):N()}function w(){clearTimeout(_),clearTimeout(b)}function u(){clearTimeout(x),cancelAnimationFrame(C)}function T(){y=!1;let o;function l(c){if(y)return;o??=c;const D=c-o;r.value=Math.max(0,Math.min(100,p(t,D))),C=requestAnimationFrame(l)}C=requestAnimationFrame(l)}let S=()=>{};{const o=m.hook("page:loading:start",()=>{k()}),l=m.hook("page:loading:end",()=>{h()}),c=m.hook("vue:error",()=>h());S=()=>{c(),o(),l(),u()}}return{_cleanup:S,progress:f(()=>r.value),isLoading:f(()=>s.value),error:f(()=>i.value),start:k,set:v,finish:h,clear:u}}function le(e={}){const t=$(),n=t._loadingIndicator||=ue(e);return V()&&(t._loadingIndicatorDeps||=0,t._loadingIndicatorDeps++,E(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const ce=q({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},hideDelay:{type:Number,default:500},resetDelay:{type:Number,default:400},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"},errorColor:{type:String,default:"repeating-linear-gradient(to right,#f87171 0%,#ef4444 100%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:d,isLoading:g,error:p,start:m,finish:r,clear:s}=le({duration:e.duration,throttle:e.throttle,hideDelay:e.hideDelay,resetDelay:e.resetDelay,estimatedProgress:e.estimatedProgress});return n({progress:d,isLoading:g,error:p,start:m,finish:r,clear:s}),()=>J("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:g.value?1:0,background:p.value?e.errorColor:e.color||void 0,backgroundSize:`${d.value>0?100/d.value*100:0}% auto`,transform:`scaleX(${d.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function B(){const{GetFetch:e}=ee();return{getMenus:async()=>await e("home/menus"),getSections:async()=>await e("home/sections")}}function de(){return{getMenus:async()=>await B().getMenus(),getSections:async()=>await B().getSections()}}const me={__name:"default",async setup(e){let t,n;const{isOverlayActive:d,closeOverlay:g}=te(),{isOverlayTiendaActive:p,closeTiendaOverlay:m}=oe(),{closeCart:r}=ne(),{getMenus:s}=de(),{data:i}=([t,n]=j(()=>s()),t=await t,n(),t),{setMegaMenus:y}=ae(),{setHeaderMenus:C}=re(),{setConfig:x}=se(),_=f(()=>i.value?.data?.megaMenus?.items??[]),b=f(()=>i.value?.data?.menu?.items??[]),k=f(()=>i.value?.data?.footer?.items??[]),v=f(()=>i.value?.data?.webConfig??null),N=f(()=>i.value?.data?.socialNetWork??[]);x(v.value),y(_.value),C(b.value);const h=()=>{r(),m()};return(w,u)=>{const T=ce,S=X,o=Z,l=G("Toaster"),c=U,D=Y;
1return A(),K("div",null,[I(T,{color:"rgba(59, 130, 246, 0.8)",height:1e3,throttle:0,duration:900},{default:O(()=>[...u[1]||(u[1]=[M("div",{id:"preloader"},[M("img",{src:Q,loading:"lazy"})],-1)])]),_:1}),M("div",{id:"menu-overlay",class:F({active:a(d)}),onClick:u[0]||(u[0]=(...z)=>a(g)&&a(g)(...z))},null,2),M("div",{id:"menu-overlay-tienda",class:F({active:a(p)}),onClick:h},null,2),a(_)?(A(),P(S,{key:0,"menu-items":a(_),menu:a(b),"web-config":a(v)},null,8,["menu-items","menu","web-config"])):H("",!0),M("main",null,[R(w.$slots,"default",{},void 0,!0)]),a(k)?(A(),P(o,{key:1,"footer-items":a(k),"web-config":a(v),"social-network":a(N)},null,8,["footer-items","web-config","social-network"])):H("",!0),I(c,null,{default:O(()=>[I(l,{position:"top-right",richColors:""})]),_:1}),I(D)])}}},He=W(me,[["__scopeId","data-v-927dce76"]]);export{He as default};

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.