PageSourceSearch

https://vatechamerica.com/assets/home.js?v=1636663569

js vatechamerica.com collected 2026-10-04 13:20:21 UTC 9,876 bytes, 1 lines download raw bytes

1!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}({0:function(e,t,n){e.exports=n(14)},1:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=function(){function e(){var t=this;n(this,e),$(function(){var e=t.props();t.props=r({},e),t.init()!==!1&&t.listen()})}return o(e,[{key:"props",value:function(){return{}}},{key:"init",value:function(){}},{key:"listen",value:function(){}},{key:"setProps",value:function(e){this.props=r({},this.props,e)}}]),e}();t.default=i},10:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.BannerSpecific=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),p=r(u);t.BannerSpecific=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"init",value:function(){$("#banner-insight").length&&this.insight()}}
1,{key:"insight",value:function(){var e=$("#pax-i-video-popup"),t=$("#pax-i-video")[0],n=$("#pax-i-video-popup-button");n.click(function(){return e.trigger("show"),!1}),e.on("aftershow",function(){t.play()}),e.on("afterhide",function(){t.pause(),t.currentTime=0})}}]),t}(p.default)},11:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.Banner=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(1),c=r(p);t.Banner=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),u(t,[{key:"props",value:function e(){var e={swiper:null,mainBanner:$("#main-banner"),video:$("#main-video"),progress:0,interval:1e4,progressBarUpdateInterval:50,window:$(window)};return s({},e,{pagination:$(".swiper-pagination",e.mainBanner),enabled:e.mainBanner.length,fraction:e.progressBarUpdateInterval/e.interval})}},{key:"init",value:function(){var e=this.props,t=e.enabled;if(e.mainBanner,e.interval,e.pagination,t){!function(e){var t=[];e.loadImages=function(n,r){n instanceof Array||(n=[n]);for(var o=n.length,i=0,a=o;a--;){var s=document.createElement("img");s.onload=function(){i++,i>=o&&e.isFunction(r)&&r()},s.src=n[a],t.push(s)}}}($);var n=[];$("img").each(function(e,t){$(t).attr("src")&&n.push($(t).attr("src"))}),$.loadImages(n,this.start.bind(this))}}},{key:"start",value:function(){var e=this,t=this.props,n=t.mainBanner,r=t.interval,o=t.pagination,i=t.window,a=t.progressBarUpdateInterval;n.width(i.width()),this.setProps({swiper:new Swiper(n[0],{speed:400,autoHeight:!0,autoplay:r,autoplayDisableOnInteraction:!1,pagination:o[0],paginationClickable:!0,onInit:function(t){t.stopAutoplay(),e.setSwiperSlideTimeout(t)},onProgress:function(){e.props.progress=100},onSliderMove:function(e){e.stopAutoplay()},onSlideChangeEnd:function(t){t.stopAutoplay(),e.setSwiperSlideTimeout(t)}})}),i.resize(this.onWindowsResize.bind(this)),setInterval(this.setBulletProgress.bind(this),a)}},{key:"setSwiperSlideTimeout",value:function(e){var t=$(e.slides[e.activeIndex]).data("timeout"),n=document.getElementById("main-video");if(void 0===t||""===t||0===t)t=1e4,n.pause();else{var r=Math.floor(n.currentTime);0===r&&n.play(),n.play(),t-=1e3*r}e.params.autoplay=t,e.update(),this.addProgressBars(),e.startAutoplay()}},{key:"listen",value:function(){}},{key:"onWindowsResize",value:function(){var e=this.props,t=e.mainBanner,n=e.window;t.width(n.width())}},{key:"addProgressBars",value:function(){var e=this.props.mainBanner;$(".swiper-pagination-bullet .progress-bar",e).length||$(".swiper-pagination-bullet").each(function(e,t){$("<span></span>").addClass("progress-bar").appendTo($(t))})}},{key:"setBulletProgress",value:function(){var e=this.props,t=e.mainBanner,n=e.fraction;this.props.progress+=n,$(".swiper-pagination-bullet .progress-bar",t).css({width:0}),$(".swiper-pagination-bullet-active .progress-bar",t).css({width:100*this.props.progress+"%"})}}]),t}(c.default)},12:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}
1Object.defineProperty(t,"__esModule",{value:!0}),t.History=void 0;var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),p=n(1),c=r(p);t.History=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),u(t,[{key:"props",value:function e(){var e={banner:$(".home #history-section .swiper-container"),swiper:null};return s({},e,{pagination:$(".swiper-pagination",e.banner),enabled:e.banner.length})}},{key:"init",value:function(){var e=this.props,t=e.enabled,n=e.banner,r=e.pagination,o=$(".swiper-slide",n).length-1;t&&(this.props.swiper=new Swiper(n[0],{pagination:r[0],paginationClickable:!0,slidesPerView:6,spaceBetween:0,initialSlide:o,breakpoints:{1023:{slidesPerView:4},767:{slidesPerView:2},479:{slidesPerView:1}}}))}}]),t}(c.default)},13:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.MediaTab=void 0;var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(1),p=r(u);t.MediaTab=function(e){function t(){return o(this,t),i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return a(t,e),s(t,[{key:"props",value:function(){return{menus:$(".tab-menu-item","#media-section"),contents:$(".menu-content","#media-section")}}},{key:"listen",value:function(){var e=this.props.menus;e.on("click",this.onMenuClick.bind(this))}},{key:"onMenuClick",value:function(e){var t=this.props,n=t.menus,r=t.contents,o=$(e.currentTarget),i=$(o.attr("href"));return n.removeClass("active"),o.addClass("active"),r.addClass("hidden"),i.removeClass("hidden"),!1}}]),t}(p.default)},14:function(e,t,n){"use strict";var r=n(11),o=n(10),i=n(12),a=n(13);n(42),new r.Banner,new o.BannerSpecific,new i.History,new a.MediaTab},42:function(e,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.