PageSourceSearch

https://nptel.ac.in/_app/immutable/chunks/Cgj50CMl.js

js nptel.ac.in collected 2026-10-01 10:19:33 UTC 5,825 bytes, 1 lines download raw bytes

1import{o as _}from"./rDe-gDDQ.js";import{h as l,g as c,e as u}from"./FpG7l3Wf.js";import{w as y}from"./DNfYUInM.js";new URL("sveltekit-internal://");function G(t,e){return t==="/"||e==="ignore"?t:e==="never"?t.endsWith("/")?t.slice(0,-1):t:e==="always"&&!t.endsWith("/")?t+"/":t}function Y(t){return t.split("%25").map(decodeURI).join("%25")}function q(t){for(const e in t)t[e]=decodeURIComponent(t[e]);return t}function D({href:t}){return t.split("#")[0]}function E(...t){let e=5381;for(const s of t)if(typeof s=="string"){let n=s.length;for(;n;)e=e*33^s.charCodeAt(--n)}else if(ArrayBuffer.isView(s)){const n=new Uint8Array(s.buffer,s.byteOffset,s.byteLength);let r=n.length;for(;r;)e=e*33^n[--r]}else throw new TypeError("value must be a string or TypedArray");return(e>>>0).toString(36)}new TextEncoder;const H=new TextDecoder;function U(t){const e=atob(t),s=new Uint8Array(e.length);for(let n=0;n<e.length;n++)s[n]=e.charCodeAt(n);return s}const x=window.fetch;window.fetch=(t,e)=>((t instanceof Request?t.method:e?.method||"GET")!=="GET"&&h.delete(b(t)),x(t,e));const h=new Map;function K(t,e){const s=b(t,e),n=document.querySelector(s);if(n?.textContent){n.remove();let{body:r,...i}=JSON.parse(n.textContent);const a=n.getAttribute("data-ttl");return a&&h.set(s,{body:r,init:i,ttl:1e3*Number(a)}),n.getAttribute("data-b64")!==null&&(r=U(r)),Promise.resolve(new Response(r,i))}return window.fetch(t,e)}function B(t,e,s){if(h.size>0){const n=b(t,s),r=h.get(n);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(s?.cache))return new Response(r.body,r.init);h.delete(n)}}return window.fetch(e,s)}function b(t,e){let n=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(e?.headers||e?.body){const r=[];e.headers&&r.push([...new Headers(e.headers)].join(",")),e.body&&(typeof e.body=="string"||ArrayBuffer.isView(e.body))&&r.push(e.body),n+=`[data-hash="${E(...r)}"]`}return n}const I=globalThis.__sveltekit_b0f9p0?.base??"",N=globalThis.__sveltekit_b0f9p0?.assets??I??"",L="1790758308395",W="sveltekit:snapshot",X="sveltekit:scroll",z="sveltekit:states",J="sveltekit:pageurl",M="sveltekit:history",F="sveltekit:navigation",m={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},A=location.origin;function Q(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const s=document.getElementsByTagName("base");e=s.length?s[0].href:document.URL}return new URL(t,e)}function Z(){return{x:pageXOffset,y:pageYOffset}}function d(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const w={...m,"":m.hover};function R(t){let e=t.assignedSlot??t.parentNode;return e?.nodeType===11&&(e=e.host),e}function ee(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=R(t)}}function te(t,e,s){let n;try{if(n=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI),s&&n.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";n.hash=`#${o}${n.hash}`}}catch{}const r=t instanceof SVGAElement?t.target.baseVal:t.target,i=!n||!!r||O(n,e,s)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),a=n?.origin===A&&t.hasAttribute("download");return{url:n,external:i,target:r,download:a}}function ne(t){let e=null,s=null,n=null,r=null,i=null,a=null,o=t;for(;o&&o!==document.documentElement;)n===null&&(n=d(o,"preload-code")),r===null&&(r=d(o,"preload-data")),e===null&&(e=d(o,"keepfocus")),s===null&&(s=d(o,"noscroll")),i===null&&(i=d(o,"reload")),a===null&&(a=d(o,"replacestate")),o=R(o);function f(k){switch(k){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:w[n??"off"],preload_data:w[r??"off"],keepfocus:f(e),noscroll:f(s),reload:f(i),replace_state:f(a)}}function se(t){const e=y(t);let s=!0;function n(){s=!0,e.update(a=>a)}function r(a){s=!1,e.set(a)}function i(a){let o;return e.subscribe(f=>{(o===void 0||s&&f!==o)&&a(o=f)})}return{notify:n,set:r,subscribe:i}}const S={v:()=>{}};function re(){const{set:t,subscribe:e}=y(!1),s=9e5;let n;async function r(){clearTimeout(n),n=setTimeout(r,s);try{const i=await fetch(`${N}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!i.ok)return!1;const o=(await i.json()).version!==L;return o&&(t(!0),S.v(),clearTimeout(n)),o}catch{return!1}}return n=setTimeout(r,s),{subscribe:e,check:r}}function O(t,e,s){return t.origin!==A||!t.pathname.startsWith(e)?!0:s?t.pathname!==location.pathname:!1}function oe(t){}const T=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...T];const $=new Set([...T]);[...$];let p,v,g;const C=_.toString().includes("$$")||/function \w+\(\) \{\}/.test(_.toString());C?(p={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},v={current:null},g={current:!1}):(p=new class{#e=l({});get data(){return c(this.#e)}set data(e){u(this.#e,e)}#t=l(null);get form(){return c(this.#t)}
1set form(e){u(this.#t,e)}#n=l(null);get error(){return c(this.#n)}set error(e){u(this.#n,e)}#s=l({});get params(){return c(this.#s)}set params(e){u(this.#s,e)}#r=l({id:null});get route(){return c(this.#r)}set route(e){u(this.#r,e)}#o=l({});get state(){return c(this.#o)}set state(e){u(this.#o,e)}#a=l(-1);get status(){return c(this.#a)}set status(e){u(this.#a,e)}#i=l(new URL("https://example.com"));get url(){return c(this.#i)}set url(e){u(this.#i,e)}},v=new class{#e=l(null);get current(){return c(this.#e)}set current(e){u(this.#e,e)}},g=new class{#e=l(!1);get current(){return c(this.#e)}set current(e){u(this.#e,e)}},S.v=()=>g.current=!0);function ce(t){Object.assign(p,t)}export{M as H,F as N,J as P,z as S,ne as a,I as b,re as c,D as d,q as e,ee as f,te as g,G as h,O as i,m as j,Y as k,W as l,B as m,v as n,A as o,p,K as q,Q as r,Z as s,H as t,g as u,X as v,se as w,ce as x,oe as y};

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.