PageSourceSearch

https://thecrossingssunnyvale.com/views/site/js/dist/scripts.min/7642.js?id=1c7596dfbe798341

js thecrossingssunnyvale.com collected 2026-10-04 16:04:40 UTC 9,988 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7642],{7642:function(t,e,n){n.r(e),n.d(e,{default:function(){return b}});var o=n(761),i=n(2490);function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,s(o.key),o)}}function s(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}function u(t,e,n){return e=c(e),function(t,e){if(e&&("object"==r(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,l()?Reflect.construct(e,n||[],c(t).constructor):e.apply(t,n))}function l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(l=function(){return!!t})()}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function h(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function v(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var d=new WeakSet,b=function(t){function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),h(n=u(this,e,[t,o]),d),n.$mainnav=n.$el("mainnav"),n.$subnavs=n.$el("subnavs"),n.$subnavBack=n.$el("subnav-back"),n.$parentLinks=n.$el("parent-link"),n.$childLinks=n.$el("child-link"),n.$expandArrows=n.$el("expand-arrow"),n.$list=n.$el("navigation-list"),n.$activeSubnav=null,n.$pushToFocusable=null,n.$focusableElements=null,n.subnavType=n.args.subnavType||"default",n.animate=n.args.animate,n.subnavsById={},n.isFlyout="flyout"===n.subnavType,n.focusCycleKeydown=null,n.allowBindFocusCycle=!1,n.classes={listHoverIn:"navigation-list--hover-in"},v(d,n,y).call(n),n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(e,t),n=e,o=[{key:"reset",value:function(){var t=this,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])if(this.$activeSubnav){var n=e?this.$parentLinks.filter('[data-id="'.concat(this.$activeSubnav.data("id"),'"]')):null;this.$root.css({minHeight:this.$root.height()}),this.$activeSubnav.fadeOut(100,(function(){t.$mainnav.fadeIn(100,(function(){n&&n.length&&n.focus(),t.$root.css({minHeight:""}),v(d,t,p).call(t)}))}))}else this.$mainnav.fadeIn(100,(function(){return v(d,t,p).call(t)}));this.$activeSubnav=null,this.$subnavs.hide(),this.$parentLinks.filter("[aria-expanded]").attr("aria-expanded",!1)}},{key:"bootFocusCycle",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.allowBindFocusCycle=!0,this.$focusFirst=e,t&&(this.$pushToFocusable=t),v(d,this,p).call(this)}},{key:"destroyFocusCycle",value:function(){this.allowBindFocusCycle=!1,this.focusCycleKeydown&&(document.removeEventListener("keydown",this.focusCycleKeydown),this.focusCycleKeydown=null)}}],o&&a(n.prototype,o),i&&a(n,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o,i}(o.A);function y(){var t=this;this.$subnavs.length&&this.$subnavs.each((function(e,n){var o=$(n);t.subnavsById[o.data("id")]=o})),this.$subnavBack.clickPrevent((function(){t.reset(!0,!0)})),this.$parentLinks.on("click mouseenter",(function(e){var n=e.currentTarget.getAttribute("data-id"),o="click"===e.type&&0===e.originalEvent.detail;
1"mouseenter"===e.type&&t.isFlyout&&t.reset(),t.subnavsById[n]&&("click"!==e.type||t.isFlyout||e.preventDefault(),("click"===e.type||t.isFlyout)&&v(d,t,m).call(t,n,e.currentTarget,(function(t){o&&t.focus()})))})),this.isFlyout&&this.$mainnav.on("mouseleave",(function(){return t.reset()})),this.root.addEventListener("keydown",(function(e){if("Enter"===e.key&&t.$expandArrows.filter(document.activeElement).length){var n=$(document.activeElement).parents().filter(t.$parentLinks);n.length&&v(d,t,m).call(t,n.data("id"),n,(function(t){return t.focus()}))}})),this.$parentLinks.add(this.$childLinks).on("mouseenter mouseleave",(function(e){i.A.touchDevice||("mouseleave"===e.type?t.$root.removeClass(t.classes.listHoverIn):"mouseenter"===e.type&&t.$root.addClass(t.classes.listHoverIn))}))}function p(){var t=this;if(this.allowBindFocusCycle){var e=this.$pushToFocusable||$();this.$activeSubnav?this.$focusableElements=e.add(this.$activeSubnav.find('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').filter(":visible")):this.$focusableElements=e.add(this.$mainnav.find('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])').filter(":visible")),this.focusCycleKeydown||((this.$focusFirst&&this.$focusFirst.length?this.$focusFirst:this.$focusableElements).first().focus(),this.focusCycleKeydown=function(e){"Tab"===e.key&&(e.shiftKey?document.activeElement!==t.$focusableElements[0]&&document.activeElement!==t.root||(e.preventDefault(),t.$focusableElements[t.$focusableElements.length-1].focus()):document.activeElement===t.$focusableElements[t.$focusableElements.length-1]&&(e.preventDefault(),t.$focusableElements[0].focus()))},document.addEventListener("keydown",this.focusCycleKeydown))}}function m(t,e){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=this.subnavsById[t],r=$(e);if(i)switch(this.$activeSubnav=i,this.subnavType){case"default":r.attr("aria-expanded",!0),this.$root.css({minHeight:this.$root.height()}),this.$mainnav.fadeOut(100,(function(){i.fadeIn(100,(function(){return v(d,n,p).call(n)})),n.$root.css({minHeight:""}),o&&o(i)}));break;case"flyout":this.reset(),r.attr("aria-expanded",!0).after(i.css({position:"absolute",zIndex:5,top:"100%",left:0,right:""}).show()),v(d,this,p).call(this),i.css({top:"100%",bottom:""});var a=i.get(0).getBoundingClientRect(),s=$(window).width()-(a.x+a.width),u=$(window).height()-(a.y+a.height);s<=0&&i.css({left:"",right:0}),u<=0&&i.css({top:"",bottom:"100%"}),o&&o(i)}}},761:function(t,e,n){n.d(e,{A:function(){return c}});var o=n(3464);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,a(o.key),o)}}function a(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}function s(t,e){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.add(t)}function u(t,e,n){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:n;throw new TypeError("Private element is not present on this object")}var l=new WeakSet,c=function(){return t=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,l),this.$root=(0,o.A)(e),this.root=this.$root.get(0),this.args=n,this.__proto__.els={},u(l,this,f).call(this),u(l,this,h).call(this)},e=[{key:"el",value:function(t){return u(l,this,v).call(this,t)}},{key:"$el",value:function(t){var e=u(l,this,v).call(this,t);return e&&"object"===i(e)&&void 0===e.nodeName&&(e=Object.values(e)),(0,o.A)(e)}},{key:"arg",value:function(t){return this.args[t]}},{key:"argObj",value:function(t){var e=this.arg(t);if(e){if("string"!=typeof e)return null;try{return JSON.parse(e)}catch(t){return null}}return null}},{key:"argBool",value:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"boolean"==typeof this.args[t]?this.args[t]:e}}],e&&r(t.prototype,e),n&&r(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}();function f(){var t=this,e=this.$root.find("[data-el]");e.length&&e.each((function(e,n){var o=n.getAttribute("data-el"),i=o.match(/^(.*)\[(.*?)\]/);if(i){var r=i[1],a=i[2];""===a?(t.__proto__.els[r]||(t.__proto__.els[r]=[]),t.__proto__.els[r].push(n)):(t.__proto__.els[r]||(t.__proto__.els[r]={}),t.__proto__.els[r][a]=n)}else t.__proto__.els[o]=n}))}function h(){var t=this,e=this.$root.find("script[data-arg]");e.length&&e.each((function(e,n){var o=n.getAttribute("data-arg");t.args[o]=n.innerText}))}function v(t){var e=t.match(/^(.*)\.(.*)$/),n=null;if(e&&(t=e[1],n=e[2]),this.__proto__.els[t]){return n?this.__proto__.els[t][n]:this.__proto__.els[t]}return null}}}]);

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.