PageSourceSearch

https://www.casanissanofprescott.com/resources/homepageSearchValet…&h=5c2ccc9d589d9a14d16a

js casanissanofprescott.com collected 2026-10-08 10:45:58 UTC 19,134 bytes, 2 lines download raw bytes

vendor: 4,296 bytes, line 1
1"use strict";(self.webpackChunksite_client_side=self.webpackChunksite_client_side||[]).push([[491],{7916:(e,t,n)=>{n.r(t),n.d(t,{default:()=>q});var i,r,s,o,l,a,c,_={},u=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function p(e,t){for(var n in t)e[n]=t[n];return e}function f(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n){var r,s,o,l={};for(o in t)"key"==o?r=t[o]:"ref"==o?s=t[o]:l[o]=t[o];if(arguments.length>2&&(l.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(o in e.defaultProps)void 0===l[o]&&(l[o]=e.defaultProps[o]);return v(e,l,r,s,null)}function v(e,t,n,i,o){var l={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++s:o};return null==o&&null!=r.vnode&&r.vnode(l),l}function m(e){return e.children}function y(e,t){this.props=e,this.context=t}function x(e,t){if(null==t)return e.__?x(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?x(e):null}function b(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return b(e)}}function w(e){(!e.__d&&(e.__d=!0)&&o.push(e)&&!k.__r++||l!==r.debounceRendering)&&((l=r.debounceRendering)||a)(k)}function k(){var e,t,n,i,r,s,l,a,_;for(o.sort(c);e=o.shift();)e.__d&&(t=o.length,i=void 0,r=void 0,s=void 0,a=(l=(n=e).__v).__e,(_=n.__P)&&(i=[],r=[],(s=p({},l)).__v=l.__v+1,z(_,l,s,n.__n,void 0!==_.ownerSVGElement,null!=l.__h?[a]:null,i,null==a?x(l):a,l.__h,r),D(i,l,r),l.__e!=a&&b(l)),o.length>t&&o.sort(c));k.__r=0}function S(e,t,n,i,r,s,o,l,a,c,h){var p,f,g,y,b,w,k,S,T,P=0,E=i&&i.__k||u,U=E.length,D=U,L=t.length;for(n.__k=[],p=0;p<L;p++)null!=(y=n.__k[p]=null==(y=t[p])||"boolean"==typeof y||"function"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?v(null,y,null,null,y):d(y)?v(m,{children:y},null,null,null):y.__b>0?v(y.type,y.props,y.key,y.ref?y.ref:null,y.__v):y)?(y.__=n,y.__b=n.__b+1,-1===(S=M(y,E,k=p+P,D))?g=_:(g=E[S]||_,E[S]=void 0,D--),z(e,y,g,r,s,o,l,a,c,h),b=y.__e,(f=y.ref)&&g.ref!=f&&(g.ref&&B(g.ref,null,y),h.push(f,y.__c||b,y)),null!=b&&(null==w&&(w=b),(T=g===_||null===g.__v)?-1==S&&P--:S!==k&&(S===k+1?P++:S>k?D>L-k?P+=S-k:P--:P=S<k&&S==k-1?S-k:0),k=p+P,"function"!=typeof y.type||S===k&&g.__k!==y.__k?"function"==typeof y.type||S===k&&!T?void 0!==y.__d?(a=y.__d,y.__d=void 0):a=b.nextSibling:a=N(e,b,a):a=C(y,a,e),"function"==typeof n.type&&(n.__d=a))):(g=E[p])&&null==g.key&&g.__e&&(g.__e==a&&(a=x(g)),R(g,g,!1));for(n.__e=w,p=U;p--;)null!=E[p]&&("function"==typeof n.type&&null!=E[p].__e&&E[p].__e==n.__d&&(n.__d=E[p].__e.nextSibling),R(E[p],E[p]))}function C(e,t,n){for(var i,r=e.__k,s=0;r&&s<r.length;s++)(i=r[s])&&(i.__=e,t="function"==typeof i.type?C(i,t,n):N(n,i.__e,t));return t}function N(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function M(e,t,n,i){var r=e.key,s=e.type,o=n-1,l=n+1,a=t[n];if(null===a||a&&r==a.key&&s===a.type)return n;if(i>(null!=a?1:0))for(;o>=0||l<t.length;){if(o>=0){if((a=t[o])&&r==a.key&&s===a.type)return o;o--}if(l<t.length){if((a=t[l])&&r==a.key&&s===a.type)return l;l++}}return-1}function T(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function P(e,t,n,i,r){var s;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||T(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||T(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])s=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+s]=n,n?i||e.addEventListener(t,s?U:E,s):e.removeEventListener(t,s?U:E,s);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}
vendor: 5,338 bytes, line 1
1function E(e){return this.l[e.type+!1](r.event?r.event(e):e)}function U(e){return this.l[e.type+!0](r.event?r.event(e):e)}function z(e,t,n,i,s,o,l,a,c,_){var u,h,f,g,v,x,b,w,k,C,N,M,T,P,E,U=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(c=n.__h,a=t.__e=n.__e,t.__h=null,o=[a]),(u=r.__b)&&u(t);e:if("function"==typeof U)try{if(w=t.props,k=(u=U.contextType)&&i[u.__c],C=u?k?k.props.value:u.__:i,n.__c?b=(h=t.__c=n.__c).__=h.__E:("prototype"in U&&U.prototype.render?t.__c=h=new U(w,C):(t.__c=h=new y(w,C),h.constructor=U,h.render=W),k&&k.sub(h),h.props=w,h.state||(h.state={}),h.context=C,h.__n=i,f=h.__d=!0,h.__h=[],h._sb=[]),null==h.__s&&(h.__s=h.state),null!=U.getDerivedStateFromProps&&(h.__s==h.state&&(h.__s=p({},h.__s)),p(h.__s,U.getDerivedStateFromProps(w,h.__s))),g=h.props,v=h.state,h.__v=t,f)null==U.getDerivedStateFromProps&&null!=h.componentWillMount&&h.componentWillMount(),null!=h.componentDidMount&&h.__h.push(h.componentDidMount);else{if(null==U.getDerivedStateFromProps&&w!==g&&null!=h.componentWillReceiveProps&&h.componentWillReceiveProps(w,C),!h.__e&&(null!=h.shouldComponentUpdate&&!1===h.shouldComponentUpdate(w,h.__s,C)||t.__v===n.__v)){for(t.__v!==n.__v&&(h.props=w,h.state=h.__s,h.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),N=0;N<h._sb.length;N++)h.__h.push(h._sb[N]);h._sb=[],h.__h.length&&l.push(h);break e}null!=h.componentWillUpdate&&h.componentWillUpdate(w,h.__s,C),null!=h.componentDidUpdate&&h.__h.push((function(){h.componentDidUpdate(g,v,x)}))}if(h.context=C,h.props=w,h.__P=e,h.__e=!1,M=r.__r,T=0,"prototype"in U&&U.prototype.render){for(h.state=h.__s,h.__d=!1,M&&M(t),u=h.render(h.props,h.state,h.context),P=0;P<h._sb.length;P++)h.__h.push(h._sb[P]);h._sb=[]}else do{h.__d=!1,M&&M(t),u=h.render(h.props,h.state,h.context),h.state=h.__s}while(h.__d&&++T<25);h.state=h.__s,null!=h.getChildContext&&(i=p(p({},i),h.getChildContext())),f||null==h.getSnapshotBeforeUpdate||(x=h.getSnapshotBeforeUpdate(g,v)),S(e,d(E=null!=u&&u.type===m&&null==u.key?u.props.children:u)?E:[E],t,n,i,s,o,l,a,c,_),h.base=t.__e,t.__h=null,h.__h.length&&l.push(h),b&&(h.__E=h.__=null)}catch(e){t.__v=null,(c||null!=o)&&(t.__e=a,t.__h=!!c,o[o.indexOf(a)]=null),r.__e(e,t,n)}else null==o&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=L(n.__e,t,n,i,s,o,l,c,_);(u=r.diffed)&&u(t)}function D(e,t,n){for(var i=0;i<n.length;i++)B(n[i],n[++i],n[++i]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function L(e,t,n,r,s,o,l,a,c){var u,h,p,g=n.props,v=t.props,m=t.type,y=0;if("svg"===m&&(s=!0),null!=o)for(;y<o.length;y++)if((u=o[y])&&"setAttribute"in u==!!m&&(m?u.localName===m:3===u.nodeType)){e=u,o[y]=null;break}if(null==e){if(null===m)return document.createTextNode(v);e=s?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,v.is&&v),o=null,a=!1}if(null===m)g===v||a&&e.data===v||(e.data=v);else{if(o=o&&i.call(e.childNodes),h=(g=n.props||_).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!a){if(null!=o)for(g={},y=0;y<e.attributes.length;y++)g[e.attributes[y].name]=e.attributes[y].value;(p||h)&&(p&&(h&&p.__html==h.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,i,r){var s;for(s in n)"children"===s||"key"===s||s in t||P(e,s,null,n[s],i);for(s in t)r&&"function"!=typeof t[s]||"children"===s||"key"===s||"value"===s||"checked"===s||n[s]===t[s]||P(e,s,t[s],n[s],i)}(e,v,g,s,a),p)t.__k=[];else if(S(e,d(y=t.props.children)?y:[y],t,n,r,s&&"foreignObject"!==m,o,l,o?o[0]:n.__k&&x(n,0),a,c),null!=o)for(y=o.length;y--;)null!=o[y]&&f(o[y]);a||("value"in v&&void 0!==(y=v.value)&&(y!==e.value||"progress"===m&&!y||"option"===m&&y!==g.value)&&P(e,"value",y,g.value,!1),"checked"in v&&void 0!==(y=v.checked)&&y!==e.checked&&P(e,"checked",y,g.checked,!1))}return e}function B(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var i,s;if(r.unmount&&r.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||B(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){r.__e(e,t)}i.base=i.__P=null,e.__c=void 0}if(i=e.__k)for(s=0;s<i.length;s++)i[s]&&R(i[s],t,n||"function"!=typeof e.type);n||null==e.__e||f(e.__e),e.__=e.__e=e.__d=void 0}function W(e,t,n){return this.constructor(e,n)}function I(){return g("i",{className:"fa fa-search custom-dealer-styling__search--white","aria-hidden":"true"})}function O({disabled:e,active:t}){return g("i",t?{className:"fa fa-spin fa-circle-o-notch","aria-hidden":"true"}:{className:"fa "+(e?"fa-microphone-slash":"fa-microphone"),"aria-hidden":"true"})}i=u.slice,r={__e:function(e,t,n,i){for(var r,s,o;t=t.__;)if((r=t.__c)&&!r.__)try{if((s=r.constructor)&&null!=s.getDerivedStateFromError&&(r.setState(s.getDerivedStateFromError(e)),o=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,i||{}),o=r.__d),o)return r.__E=r}catch(t){e=t}throw e}},s=0,y.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},n),this.props)),e&&p(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),w(this))},y.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),w(this))},y.prototype.render=m,o=[],a="function"==typeof Promise?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,c=function(e,t){return e.__v.__b-t.__v.__b},k.__r=0;const F={"two door":"2-door","2door":"2-door","2dr":"2-door","2d":"2-door","two wheel":"2-wheel","two-wheel":"2-wheel","2 wheel":"2-wheel","three door":"3-door","three-door":"3-door","3 door":"3-door","3dr":"3-door","3d":"3-door","3 series":"3-series","3series":"3-series","four door":"4-door","4door":"4-door","4dr":"4-door","4d":"4-door","4wd":"4-wheel drive","four wheel":"4-wheel","four-wheel":"4-wheel","4 wheel":"4-wheel","five door":"5-door","five-door":"5-door","5 door":"5-door","5dr":"5-door","5d":"5-door","7 series":"7-series","7series":"7-series","8 series":"8-series","8series":"8-series","9 2x":"9-2x","92x":"9-2x","9 4x":"9-4x","94x":"9-4x","9 7x":"9-7x","97x":"9-7x","all new":"all-new",auto:"automatic","four wheel drive":"awd","all wheel drive":"awd","b class":"b-class","b series":"b-series","certified pre owned":"certified","certified pre-owned":"certified",cpo:"certified","chassis cabs":"chassis-cabs",chevy:"chevrolet","c hr":"c-hr","c max":"c-max","cr v":"cr-v",crv:"cr-v",crz:"cr-z","ct4 v":"ct4-v",ct4v:"ct4-v","ct5 v":"ct5-v",ct5v:"ct5-v","cx 3":"cx-3",cx3:"cx-3","cx 30":"cx-30",cx30:"cx-30","cx 5":"cx-5",cx5:"cx-5","cx 7":"cx-7",cx7:"cx-7","cx 9":"cx-9",cx9:"cx-9","e 350":"e-350",e350:"e-350","e 450":"e-450",e450:"e-450","e 550":"e-550",e550:"e-550","eco max":"eco-max",ecomax:"eco-max","e golf":"e-golf",egolf:"e-golf","e pace":"e-pace",epace:"e-pace","e series":"e-series",eseries:"e-series","e transit":"e-transit",etransit:"e-transit","e tron":"e-tron",etron:"e-tron","f 150":"f-150",f150:"f-150","f 250":"f-250",f250:"f-250","f 350":"f-350",f350:"f-350","f 450":"f-450",f450:"f-450","f 53":"f-53",f53:"f-53","f 50":"f-550",f550:"f-550","f 59":"f-59",f59:"f-59","f 600":"f-600",f600:"f-600","f 650":"f-650",f650:"f-650","f 750":"f-750",f750:"f-750","f 800":"f-800",f800:"f-800","f pace":"f-pace",fpace:"f-pace","fr s":"fr-s",frs:"fr-s","f super":"f-super",fsuper:"f-super","f type":"f-type",ftype:"f-type","gs 6":"gs-6",gs6:"gs-6","gt r":"gt-r",gtr:"gt-r","hi cube":"hi-cube",hicube:"hi-cube","hr v":"hr-v",hrv:"hr-v","i 280":"i-280",i280:"i-280","i 290":"i-290",i290:"i-290","i 350":"i-350",i350:"i-350","i 370":"i-370",i370:"i-370","i mark":"i-mark",imark:"i-mark","i miev":"i-miev",imiev:"i-miev","i pace":"i-pace",ipace:"i-pace","l series":"l-series",lseries:"l-series","mach e":"mach-e","mp4 12c":"mp4-12c",mp412c:"mp4-12c","mx 30":"mx-30",mx30:"mx-30","mx 5":"mx-5",mx5:"mx-5","nsx t":"nsx-t",nsxt:"nsx-t","plug in":"plug-in",plugin:"plug-in","pre owned":"pre-owned",used:"pre-owned","right hand drive":"right-hand-drive","rx 7":"rx-7",rx7:"rx-7","rx 8":"rx-8",rx8:"rx-8","s 10":"s-10",s10:"s-10","sport utility vehicle":"sport-utility","sport utility":"sport-utility",suv:"sport-utility","srt 10":"srt-10",srt10:"srt-10","s type":"s-type",stype:"s-type",vw:"volkswagen","v series":"v-series",vseries:"v-series","x 90":"x-9",x90:"x-90",xl7:"xl-7","xl 7":"xl-7","x type":"x-type",xtype:"x-type"},V=new RegExp(Object.keys(F).map((e=>e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"))).join("|"),"g");function $(e){return e.toLowerCase().replace(V,(e=>F[e]))}const A=n(2214);class H extends y{constructor(e){super(e),this._id="opensearch-"+Math.random().toString(36).substring(7).toUpperCase(),this.state={value:e.value||"",suggestions:[],highlight:null,showSuggestions:!1,micEnabled:!0,disableBlur:!1,listening:!1},this._refreshSuggestions=function(e,t){let n=0;return function(){this.dispose=()=>{n&&clearTimeout(n)},n&&clearTimeout(n),n=window.setTimeout((()=>{n=0,e()}),200)}}((()=>{if(!this._fuse)return;const e=$(this.state.value.trim()),t=this._fuse.search(e).slice(0,10).map((e=>e.phrase));this.setState({suggestions:t})}));const t=window.webkitSpeechRecognition||window.SpeechRecognition;t&&(this._recognizer=new t,this._recognizer.interimResults=!0,this._recognizer.lang="en-US",this._recognizer.onresult=e=>{this.setState({showSuggestions:!0,value:e.results[0][0].transcript})},this._recognizer.onstart=e=>this.setState({listening:!0}),this._recognizer.onend=e=>{this.state.listening?(this.setState({listening:!1}),this._textValue&&this._submitButton.click()):(console.warn("Voice search attempted but either no microphone was found or permission to access the microphone was de
1nied."),this.setState({micEnabled:!1},(()=>alert("Microphone is disabled or not present"))))}),function(e=""){const t=`dealeron.search.phrases:${e}`,n=sessionStorage.getItem(t);if(n)return Promise.resolve(JSON.parse(n));let i="/api/search/suggestions";return e>""&&(i+="?filter="+encodeURIComponent(e)),fetch(i).then((e=>e.json())).then((e=>{try{sessionStorage.setItem(t,JSON.stringify(e))}catch(e){console.warn("Error writing to session storage: ",e)}return e}))}(e.filter||"").then((e=>{const t=e.map((e=>({phrase:e,normalized:$(e)})));this._fuse=new A(t,{shouldSort:!0,tokenize:!0,matchAllTokens:!0,threshold:.4,location:0,distance:4,maxPatternLength:50,minMatchCharLength:1,keys:["phrase","normalized"]})}))}_keyup(e){if(38!==e.keyCode&&40!==e.keyCode)return;e.preventDefault();const{highlight:t,suggestions:n}=this.state,i=t?n.indexOf(t):-1;38===e.keyCode&&i>0?this.setState({highlight:n[i-1]}):40===e.keyCode&&i<n.length-1&&this.setState({highlight:n[i+1]})}_input(e){this.setState({highlight:null,value:e.target.value}),this._refreshSuggestions()}_select(e,t){this.setState({highlight:null,value:t,showSuggestions:!1},(()=>this._submitButton.click()))}_voiceSearch(e){e.preventDefault(),this._recognizer?this._recognizer.start():console.warn("Speech recognition not available.")}get _textValue(){return this.state.highlight||this.state.value||""}render(e){const{value:t,showSuggestions:n,suggestions:i,highlight:r,micEnabled:s,listening:o,disableBlur:l}=this.state,a=this._id,c=t.toLowerCase().trim();return g("div",{id:a,className:n?"opensearch open":"opensearch",role:"combobox","aria-expanded":n,"aria-owns":a+"-suggestions"},g("div",{id:a+"-input-box",className:"opensearch-input-box"},g("label",{htmlFor:a+"-input"},e.label||"Search"),g("input",{id:a+"-input",className:"form-control",name:"q",type:"search",disabled:e.disabled,value:this._textValue,placeholder:e.label,onKeyUp:e=>this._keyup(e),onInput:e=>this._input(e),onFocus:e=>this.setState({showSuggestions:!0}),onBlur:l?void 0:e=>this.setState({showSuggestions:!1}),autoComplete:"off","aria-controls":a+"-suggestions","aria-autocomplete":"list","data-dotagging-event":"element_configuration","data-dotagging-element-title":e.label||"Search","data-dotagging-event-action-result":"calc","data-dotagging-event-action":"keystroke","data-dotagging-product-name":"Website|Search Widget","data-dotagging-element-position":"center_center","data-dotagging-event-owner":"dealeron","data-dotagging-element-subtype":"input_field","data-dotagging-element-type":"search_tool","data-dotagging-element-state":"active"}),this._recognizer?g("button",{className:"btn-voice",id:a+"-voice-button",disabled:e.disabled||o||!s,type:"button",onClick:e=>this._voiceSearch(e),title:"Voice Search","aria-label":"Voice Search"},g(O,{disabled:!s,active:o}),g("span",{className:"sr-only"},"Select to search via voice commands.")):void 0,g("button",{className:"btn-cta stat-search-submit","data-loc":"search inventory",id:a+"-search-button",disabled:e.disabled,type:"submit",ref:e=>this._submitButton=e,"aria-label":e.buttonText||"Search Button"},g("span",{className:"sr-only"},"Select to submit your search."),e.buttonText||g(I,null))),g("ul",{className:"opensearch-suggestions",id:a+"-suggestions",role:"listbox",onMouseEnter:e=>this.setState({disableBlur:!0}),onMouseLeave:e=>this.setState({disableBlur:!1})},i.map((e=>g("li",{key:e,role:"option","aria-selected":e===r,className:e===r?"highlighted":void 0,onClick:t=>this._select(t,e)},function(e,t){const n=e.split(/\s+/g);return t.split(/\s+/g).map((e=>{const t=n.find((t=>0===e.indexOf(t)));return{word:e,match:t}})).reduce(((e,{match:t,word:n})=>{const[i,r]=function(e,t){return e?e===t?[{text:t,isMatch:!0}]:[{text:t.substring(0,e.length),isMatch:!0},{text:t.substring(e.length),isMatch:!1}]:[{text:t,isMatch:!1}]}(t,n),s=e.length?e[e.length-1]:null;return(null==s?void 0:s.isMatch)==i.isMatch?s.text+=" "+i.text:s&&!s.isMatch?(i.text=" "+i.text,e.push(i)):(null==s?void 0:s.isMatch)?(s.text+=" ",e.push(i)):e.push(i),r&&e.push(r),e}),[])}(c,e.toLowerCase().trim()).map((e=>e.isMatch?e.text:g("b",null,e.text))))))))}}const j=document.querySelector(".opensearch-widget-container");j&&function(e,t,n){var s,o,l,a;r.__&&r.__(e,t),o=(s="function"==typeof n)?null:n&&n.__k||t.__k,l=[],a=[],z(t,e=(!s&&n||t).__k=g(m,null,[e]),o||_,_,void 0!==t.ownerSVGElement,!s&&n?[n]:o?null:t.firstChild?i.call(t.childNodes):null,l,!s&&n?n:o?o.__e:t.firstChild,s,a),D(l,e,a)}(g(class extends y{constructor(e){super(e),this.state={searching:!1}}_submit(e){e.preventDefault(),this.setState({searching:!0});const t=this.props.targetPage||"/searchall.aspx";window.TrackTypedSearch(e.target.q.value),location.href=`${t}?q=${encodeURIComponent(e.target.q.value)}`}render({label:e,title:t,searchButtonText:n,filter:i}){const r=t?g("h2",{className:"text-center"},t):null;return this.state={searching:!1},g("form",{name:"opensearch",onSubmit:e=>this._submit(e)},r,g(H,{filter:i,disabled:this.state.searching,label:e,buttonText:n}))}},Object.assign({},j.dataset)),j);class q{constructor(){}}}}]);
2//# sourceMappingURL=homepageSearchValetChunk.js.map?v=23.120.0+20261005.3.e9fdd05c4168a81db8a6a1eca19630b868f0ee87&h=5c2ccc9d589d9a14d16a

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.