PageSourceSearch

https://sva.edu/_nuxt/B5lDohuh2.js

js sva.edu collected 2026-10-01 08:45:27 UTC 4,749 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`50a01b02-0d60-4bc5-9657-39a97505c4cc`,e._sentryDebugIdIdentifier=`sentry-dbid-50a01b02-0d60-4bc5-9657-39a97505c4cc`)}catch{}})();import{r as e,t}from"./cq-tXLHF.js";import{a as n}from"./DmpP8q0G.js";import{n as r}from"./BkMtV9gr.js";import{t as i}from"./CB-uMxNT.js";import{rn as a}from"./BemtPpos.js";var o=e(t(((e,t)=>{(function(){var n={expires:`1d`,path:`; path=/`,domain:``,secure:``,sameSite:`; SameSite=Lax`,partitioned:``},r={install:function(e,t){t&&this.config(t.expires,t.path,t.domain,t.secure,t.sameSite,t.partitioned);let n=e.config&&e.config.globalProperties;n&&(e.config.globalProperties.$cookies=this,e.provide&&e.provide(`$cookies`,this)),(!n||e.prototype)&&(e.prototype.$cookies=this),e.$cookies=this},config:function(e,t,r,i,a,o){n.expires=e||`1d`,n.path=t?`; path=`+t:`; path=/`,n.domain=r?`; domain=`+r:``,n.secure=i?`; Secure`:``,n.sameSite=a?`; SameSite=`+a:`; SameSite=Lax`,n.partitioned=o?`; Partitioned`:``},get:function(e){var t=decodeURIComponent(document.cookie.replace(RegExp(`(?:(?:^|.*;)\\s*`+encodeURIComponent(e).replace(/[\-\.\+\*]/g,`\\$&`)+`\\s*\\=\\s*([^;]*).*$)|^.*$`),`$1`))||null;if(t&&(t.substring(0,1)===`{`&&t.substring(t.length-1,t.length)===`}`||t.substring(0,1)===`[`&&t.substring(t.length-1,t.length)===`]`))try{t=JSON.parse(t)}catch{return t}return t},set:function(e,t,r,i,a,o,s,c){if(!e)throw Error(`Cookie name is not found in the first argument.`);if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(e))throw Error(`Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"]	 current key name: `+e);t&&typeof t==`object`&&(t=JSON.stringify(t));var l=``;if(r=r===void 0?n.expires:r,r&&r!==0)switch(r.constructor){case Number:l=r===1/0||r===-1?`; expires=Fri, 31 Dec 9999 23:59:59 GMT`:`; max-age=`+r;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(r)){var u=r.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,`$1`);switch(r.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,`$1`).toLowerCase()){case`m`:l=`; max-age=`+u*2592e3;break;case`d`:l=`; max-age=`+u*86400;break;case`h`:l=`; max-age=`+u*3600;break;case`min`:l=`; max-age=`+u*60;break;case`s`:l=`; max-age=`+u;break;case`y`:l=`; max-age=`+u*31104e3;break;default:}}else l=`; expires=`+r;break;case Date:l=`; expires=`+r.toUTCString();break}return document.cookie=encodeURIComponent(e)+`=`+encodeURIComponent(t)+l+(a?`; domain=`+a:n.domain)+(i?`; path=`+i:n.path)+(o===void 0?n.secure:o?`; Secure`:``)+(s===void 0?n.sameSite:s?`; SameSite=`+s:``)+(c===void 0?n.partitioned:c?`; Partitioned`:``),this},remove:function(e,t,r){return!e||!this.isKey(e)?!1:(document.cookie=encodeURIComponent(e)+`=; expires=Thu, 01 Jan 1970 00:00:00 GMT`+(r?`; domain=`+r:n.domain)+(t?`; path=`+t:n.path)+`; SameSite=Lax`,!0)},isKey:function(e){return RegExp(`(?:^|;\\s*)`+encodeURIComponent(e).replace(/[\-\.\+\*]/g,`\\$&`)+`\\s*\\=`).test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,``).split(/\s*(?:\=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=decodeURIComponent(e[t]);return e}};typeof e==`object`?t.exports=r:typeof define==`function`&&define.amd?define([],function(){return r}):window.Vue&&window.Vue.use&&Vue.use(r),typeof window<`u`&&(window.$cookies=r)})()}))(),1),s=`1h`;function c(){return o.default.get(a)}async function l(e){let t={filters:{registrationId:e},page:1,sortBy:`title-ASC`,limit:1,isHousing:!0},{$axios:r}=n();return(await r.get(`/api/v1/courses/sections`,{params:t})).data.items[0]}var u=r(`cart`,{state:()=>({cartIdItems:[],cartItems:[],cartLoading:!1,registerURL:null}),getters:{getCartItems:e=>[...new Set(e.cartItems)],isCartLoading:e=>e.cartLoading,getRegisterURL:e=>e.registerURL},actions:{addItem({item:e,category:t,action:n,label:r}){if(!this.cartIdItems.some(t=>t===e.registrationId)){this.cartLoading=!0;let{gtag:c}=i();c(`event`,n,{event_category:t,event_label:r}),l(e.registrationId).then(t=>{t&&(this.cartIdItems.push(e.registrationId),this.cartItems.push(t),o.default.set(a,JSON.stringify(this.cartIdItems),s)),this.cartLoading=!1})}},removeItem(e){this.cartIdItems.splice(e,1),this.cartItems.splice(e,1),o.default.set(a,JSON.stringify(this.cartIdItems),s)},clearCart(){this.cartItems=[],this.cartIdItems=[],o.default.remove(a)},loadCart(){if(o.default.get(a)&&!this.getCartItems.length){let e=c(a),t=[...new Set(e)];
1t.length&&t.forEach(e=>{l(e).then(t=>{t&&(this.cartIdItems.push(e),this.cartItems.push(t))})})}},setRegisterUrl(e){this.registerURL=e}}});export{u as t};

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.