PageSourceSearch

https://www.varsitytutors.com/homepage2025v3/_next/static/chunks/6263.97dbb940bea6450e.js

js varsitytutors.com collected 2026-10-01 10:15:19 UTC 8,820 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6263],{56263:(t,e,a)=>{a.r(e);var i=a(679);a(29534);var r=a(61682);a(22882);var s=a(51283);a(60195),a(30017),a(21229);var o=a(28481),h=a(10541);a(12667),a(10066),a(37989),a(84049);var n=a(37721);a(33723);var d=a(38650);a(62071),a(3166);var c=a(71429);a(61172);var l=a(89855);a(38328);var m=(t,e)=>e.some(e=>e instanceof RegExp?e.test(t):e===t),p=class{constructor({url:t,context:e},a,i,r){if(this.controlsManager=a,this.shared=i,this.condition=r,!t)throw Error("Missing property");this.url=t.startsWith("mailto:")?t:function(t,e){if(e={defaultProtocol:"http:",normalizeProtocol:!0,forceHttp:!1,forceHttps:!1,stripAuthentication:!0,stripHash:!1,stripTextFragment:!0,stripWWW:!0,removeQueryParameters:[/^utm_\w+/i],removeTrailingSlash:!0,removeSingleSlash:!0,removeDirectoryIndex:!1,sortQueryParameters:!0,...e},t=t.trim(),/^data:/i.test(t))return((t,{stripHash:e})=>{let a=/^data:(?<type>[^,]*?),(?<data>[^#]*?)(?:#(?<hash>.*))?$/.exec(t);if(!a)throw Error(`Invalid URL: ${t}`);let{type:i,data:r,hash:s}=a.groups,o=i.split(";");s=e?"":s;let h=!1;"base64"===o[o.length-1]&&(o.pop(),h=!0);let n=(o.shift()||"").toLowerCase(),d=[...o.map(t=>{let[e,a=""]=t.split("=").map(t=>t.trim());return"charset"===e&&"us-ascii"===(a=a.toLowerCase())?"":`${e}${a?`=${a}`:""}`}).filter(Boolean)];return h&&d.push("base64"),(d.length>0||n&&"text/plain"!==n)&&d.unshift(n),`data:${d.join(";")},${h?r.trim():r}${s?`#${s}`:""}`})(t,e);if(/^view-source:/i.test(t))throw Error("`view-source:` is not supported as it is a non-standard protocol");let a=t.startsWith("//");!a&&/^\.*\//.test(t)||(t=t.replace(/^(?!(?:\w+:)?\/\/)|^\/\//,e.defaultProtocol));let i=new URL(t);if(e.forceHttp&&e.forceHttps)throw Error("The `forceHttp` and `forceHttps` options cannot be used together");if(e.forceHttp&&"https:"===i.protocol&&(i.protocol="http:"),e.forceHttps&&"http:"===i.protocol&&(i.protocol="https:"),e.stripAuthentication&&(i.username="",i.password=""),e.stripHash?i.hash="":e.stripTextFragment&&(i.hash=i.hash.replace(/#?:~:text.*?$/i,"")),i.pathname){let t=/\b[a-z][a-z\d+\-.]{1,50}:\/\//g,e=0,a="";for(;;){let r=t.exec(i.pathname);if(!r)break;let s=r[0],o=r.index;a+=i.pathname.slice(e,o).replace(/\/{2,}/g,"/"),a+=s,e=o+s.length}a+=i.pathname.slice(e,i.pathname.length).replace(/\/{2,}/g,"/"),i.pathname=a}if(i.pathname)try{i.pathname=decodeURI(i.pathname)}catch{}if(!0===e.removeDirectoryIndex&&(e.removeDirectoryIndex=[/^index\.[a-z]+$/]),Array.isArray(e.removeDirectoryIndex)&&e.removeDirectoryIndex.length>0){let t=i.pathname.split("/");m(t[t.length-1],e.removeDirectoryIndex)&&(i.pathname=(t=t.slice(0,-1)).slice(1).join("/")+"/")}if(i.hostname&&(i.hostname=i.hostname.replace(/\.$/,""),e.stripWWW&&/^www\.(?!www\.)[a-z\-\d]{1,63}\.[a-z.\-\d]{2,63}$/.test(i.hostname)&&(i.hostname=i.hostname.replace(/^www\./,""))),Array.isArray(e.removeQueryParameters))for(let t of[...i.searchParams.keys()])m(t,e.removeQueryParameters)&&i.searchParams.delete(t);if(!0===e.removeQueryParameters&&(i.search=""),e.sortQueryParameters){i.searchParams.sort();try{i.search=decodeURIComponent(i.search)}catch{}}e.removeTrailingSlash&&(i.pathname=i.pathname.replace(/\/$/,""));let r=t;return t=i.toString(),e.removeSingleSlash||"/"!==i.pathname||r.endsWith("/")||""!==i.hash||(t=t.replace(/\/$/,"")),(e.removeTrailingSlash||"/"===i.pathname)&&""===i.hash&&e.removeSingleSlash&&(t=t.replace(/\/$/,"")),a&&!e.normalizeProtocol&&(t=t.replace(/^http:\/\//,"//")),e.stripProtocol&&(t=t.replace(/^(?:https?:)?\/\//,"")),t}(t,{removeTrailingSlash:!1,removeSingleSlash:!1,stripWWW:!1}),this.context=e??"tab"}dispatch(){if(!1===(0,d.e)(this.shared,this.condition))return!1;h.c?window.location.assign(this.url):("tab"===this.context||h.a&&"none"===this.context?window.open(this.url,"_blank"):"window"===this.context?window.open(this.url,"_blank",`width=${window.innerWidth}, height=${window.innerHeight}`):window.open(this.url,"_parent"),this.controlsManager.orbitControls?.onPointerUp(o.a[0]),(0,o.b)())}},u=class{constructor(t,e,a,i,r){this.data=t,this.page=e,this.shared=a,this.eventManager=i,this.condition=r}dispatch(){if(!1===(0,d.e)(this.shared,this.condition))return!1;clearTimeout(this.timeoutId),delete this.timeoutId,this.timeoutId=window.setTimeout(()=>{this.shared.reset(this.shared.data,!0),(0,r.a)(this.page,this.shared,!0),this.eventManager.reset(),this.eventManager.controlsManager.gameControl?.reset(!0),this.page.switchToPlayCamera(),this.eventManager.controlsManager.requestRender(),delete this.timeoutId},1e3*(this.data.delay??0))}dispose(){clearTimeout(this.timeoutId),delete this.timeoutId}},g={type:"beginState"},w={type:"completeState",isfromEntity:!1},v={type:"requestRender"},f=class extends l.Bc{constructor(t,e,a,i){super(),this.data=t,this.page=e,this.shared=a,this.condition=i,this.toggleIsForward=!1,this.posStart=new l.Fc,this.posEnd=new l.Fc,this.qStart=new l.Ec,this.qEnd=new l.Ec,this.zoomStart=1,this.zoomEnd=1}init(){}get playing(){return!0===this.runner?.isPlaying}buildAnimation(t=!1){if(!this.data.animate)return;let e=this.page.scene.find(this.data.targetCamera);if(!e||!e.visible)throw ReferenceError("Target camera not founded or not visible");this.posStart.copy(this.page.activeCamera.position),this.qStart.copy(this.page.activeCamera.quaternion),this.zoomStart=this.page.activeCamera.zoom;let a={duration:this.data.duration,delay:0,delayDirection:"start-once",direction:"normal",repeat:0,ease:(0,i.h)(this.data)},r=t=>{let e=this.page.activeCamera;e.position.lerpVectors(this.posStart,this.posEnd,t),e.quaternion.slerp
1Quaternions(this.qStart,this.qEnd,t),e.zoom=this.zoomStart+(this.zoomEnd-this.zoomStart)*t,e.wasMovedBySwitchCameraAction=!0,e.updateMatrix(),e.updateMatrixWorld(),e.updateProjectionMatrix(),e.dispatchEvent(v),1===t&&e.dispatchEvent(w)};this.runner=new i.b(a,r,()=>{"Toggle"!==this.data.runMode||this.toggleIsForward?(this.posEnd.copy(e.position),this.qEnd.copy(e.quaternion),this.zoomEnd=e.zoom,this.fromCamera=this.page.activeCamera,this.switchCamera(e.uuid)):this.fromCamera&&(this.posEnd.copy(this.fromCamera.position),this.qEnd.copy(this.fromCamera.quaternion),this.zoomEnd=this.fromCamera.zoom,this.switchCamera(this.fromCamera.uuid)),this.page.activeCamera.dispatchEvent(g),r(0)})}update(t){this.runner?.update(t),!0!==this.runner?.isPlaying&&s.a.remove(this)}start(){this.runner&&(this.runner.start(s.a.time),s.a.add(this))}switchCamera(t){let e=this.page.activeCamera,a=this.page.scene.find(t);if(!a||!a.visible)throw ReferenceError("Target camera not founded or not visible");this.page.switchActiveCamera(a),e.dispatchEvent({type:"cameraChange",camera:a})}play(){if(!1===(0,d.e)(this.shared,this.condition))return!1;if(!this.playing&&this.page.activeCamera.uuid!==this.data.targetCamera)try{clearTimeout(this.timeoutId),this.timeoutId=window.setTimeout(()=>{delete this.timeoutId,this.data.animate?(this.buildAnimation(),this.start()):this.switchCamera(this.data.targetCamera)},1e3*this.data.delay)}catch{}}pause(){this.runner?.stop(),s.a.remove(this),clearTimeout(this.timeoutId),delete this.timeoutId}toggle(t){if(!1===(0,d.e)(this.shared,this.condition))return!1;if(window.clearTimeout(this.timeoutId),delete this.timeoutId,t!==this.toggleIsForward)try{this.playing?(this.runner?.stop(),this.toggleIsForward=t??!this.toggleIsForward,this.buildAnimation(!0),this.start()):this.timeoutId=window.setTimeout(()=>{this.toggleIsForward=t??!this.toggleIsForward,this.data.animate?(this.runner?.stop(),this.buildAnimation(),this.start()):(this.toggleIsForward?(this.fromCamera=this.page.activeCamera,this.switchCamera(this.data.targetCamera)):this.fromCamera&&this.switchCamera(this.fromCamera.uuid),this.page.activeCamera.dispatchEvent(w),this.page.activeCamera.dispatchEvent(v))},1e3*this.data.delay)}catch{}}playFromCurrent(){this.toggle(!0)}reverseFromCurrent(){this.toggle(!1)}dispose(){this.pause(),this.toggleIsForward=!1}},y=class{constructor(t,e,a,i){this.data=t,this.page=e,this.shared=a,this.condition=i}
1dispatch(){if(!1===(0,d.e)(this.shared,this.condition))return!1;("single"===this.data.target?this.data.variableId?[this.data.variableId]:[]:Object.keys(this.shared.getVariables())).forEach(t=>{this.shared.getVariable(t);let e=this.shared.data.variables.data(t)?.value;void 0!==e&&this.shared.updateVariable(t,e),this.shared.enableLocalStorageForPersistentVariables&&localStorage.removeItem((0,n.ea)(t))})}dispose(){}};(0,d.b)("Link",({data:t,eventManager:e,shared:a,actionCondition:i})=>new p(t,e.controlsManager,a,i)),(0,d.b)("Reset",({data:t,page:e,shared:a,eventManager:i,actionCondition:r})=>new u(t,e,a,i,r)),(0,d.b)("SwitchCamera",({data:t,page:e,shared:a,actionCondition:i})=>new f(t,e,a,i)),(0,d.b)("ClearLocalStorage",({data:t,page:e,shared:a,actionCondition:i})=>new y(t,e,a,i)),(0,c.a)("misc-actions")}}]);

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.