PageSourceSearch

https://www.birminghamal.gov/_next/static/chunks/322-0b4c10942008ecac.js

js birminghamal.gov collected 2026-10-02 02:57:56 UTC 45,211 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[322],{186:function(e,t,r){"use strict";r.d(t,{Z:function(){return eo}});var n={};r.r(n),r.d(n,{a11yNotify:function(){return V},addFilter:function(){return C},clearFilters:function(){return U},removeFilter:function(){return _},reset:function(){return D},setCurrent:function(){return N},setFilter:function(){return M},setResultsPerPage:function(){return q},setSearchTerm:function(){return F},setSort:function(){return Q},trackAutocompleteClickThrough:function(){return I},trackAutocompleteSuggestionClickThrough:function(){return Z},trackClickThrough:function(){return $}});var o=r(2784),i=r(7896);function a(e){return"/"===e.charAt(0)}function s(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}var c=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&a(e),c=t&&a(t),l=i||c;if(e&&a(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";if(o.length){var u=o[o.length-1];r="."===u||".."===u||""===u}else r=!1;for(var f=0,p=o.length;p>=0;p--){var h=o[p];"."===h?s(o,p):".."===h?(s(o,p),f++):f&&(s(o,p),f--)}if(!l)for(;f--;f)o.unshift("..");!l||""===o[0]||o[0]&&a(o[0])||o.unshift("");var d=o.join("/");return r&&"/"!==d.substr(-1)&&(d+="/"),d};function l(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function u(e,t,r,n){var o,a,s,l,u,f;"string"==typeof e?(s="",l="",-1!==(u=(a=e||"/").indexOf("#"))&&(l=a.substr(u),a=a.substr(0,u)),-1!==(f=a.indexOf("?"))&&(s=a.substr(f),a=a.substr(0,f)),(o={pathname:a,search:"?"===s?"":s,hash:"#"===l?"":l}).state=t):(void 0===(o=(0,i.Z)({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return r&&(o.key=r),n?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=c(o.pathname,n.pathname)):o.pathname=n.pathname:o.pathname||(o.pathname="/"),o}function f(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach(function(e){return e.apply(void 0,r)})}}}var p=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function h(e,t){t(window.confirm(e))}var d="popstate",y="hashchange";function g(){try{return window.history.state||{}}catch(e){return{}}}function m(e,t,r){return Math.min(Math.max(e,t),r)}var b=r(9126),v=r.n(b),S=(e,t)=>null!=e&&"number"==typeof e?`n_${e}_n`:e&&"boolean"==typeof e?`b_${e}_b`:t(e),w=(e,t)=>/n_-?[\d\.]*_n/.test(e)?Number(e.substring(2,e.length-2)):/^b_(true|false)*_b$/.test(e)?function(e){if("true"===e)return!0;if("false"===e)return!1;throw"Invalid type parsed as Boolean value"}(e.substring(2,e.length-2)):t(e),O=e=>v().parse(e,{ignoreQueryPrefix:!0,decoder:w,arrayLimit:1e3}),j=e=>v().stringify(e,{encoder:S});function A(e){return Array.isArray(e)?e[e.length-1]:e}function R(e){if(!isNaN(e))return parseInt(e,10)}function x(e){let t=A(e["sort-field"]),r=A(e["sort-direction"]);return t?[t,r]:[]}class k{constructor(e={}){this.routingOptions={readUrl:e.readUrl||this.readUrl.bind(this),writeUrl:e.writeUrl||this.writeUrl.bind(this),urlToState:e.urlToState||this.urlToState.bind(this),stateToUrl:e.stateToUrl||this.stateToUrl.bind(this),routeChangeHandler:e.routeChangeHandler||this.routeChangeHandler.bind(this)},this.history="undefined"!=typeof window?function(e){void 0===e&&(e={}),p||function(e,t){if(!e)throw Error("Invariant failed")}(!1);var t,r,n,o=window.history,a=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,s=-1!==window.navigator.userAgent.indexOf("Trident"),c=e,m=c.forceRefresh,b=void 0!==m&&m,v=c.getUserConfirmation,S=void 0===v?h:v,w=c.keyLength,O=void 0===w?6:w,j=e.basename?"/"===(n="/"===(r=e.basename).charAt(0)?r:"/"+r).charAt(n.length-1)?n.slice(0,-1):n:"";function A(e){var t,r=e||{},n=r.key,o=r.state,i=window.location,a=i.pathname+i.search+i.hash;return j&&(a=0===(t=a).toLowerCase().indexOf(j.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(j.length))?t.substr(j.length):t),u(a,o,n)}function R(){return Math.random().toString(36).substr(2,O)}var x=f();function k(e){(0,i.Z)(q,e),q.length=o.length,x.notifyListeners(q.location,q.action)}function T(e){void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")||L(A(e.state))}function E(){L(A(g()))}var P=!1;function L(e){P?(P=!1,k()):x.confirmTransitionTo(e,"POP",S,function(t){var r,n,o,i;t?k({action:"POP",location:e}):(r=q.location,-1===(n=I.indexOf(r.key))&&(n=0),-1===(o=I.indexOf(e.key))&&(o=0),(i=n-o)&&(P=!0,_(i)))})}var C=A(g()),I=[C.key];function U(e){return j+l(e)}function _(e){o.go(e)}var D=0;function N(e){1===(D+=e)&&1===e?(window.addEventListener(d,T),s&&window.addEventListener(y,E)):0===D&&(window.removeEventListener(d,T),s&&window.removeEventListener(y,E))}var M=!1,q={length:o.length,action:"POP",location:C,createHref:U,push:function(e,t){var r="PUSH",n=u(e,t,R(),q.location);x.confirmTransitionTo(n,r,S,function(e){if(e){var t=U(n),i=n.key,s=n.state;if(a){if(o.pushState({key:i,state:s},null,t),b)window.location.href=t;else{var c=I.indexOf(q.location.key),l=I.slice(0,c+1);l.push(n.key),I=l,k({action:r,location:n})}}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",n=u(e,t,R(),q.location);x.confirmTransitionTo(n,r,S,function(e){if(e){var t=U(n),i=n.key,s=n.state;if(a){if(o.replaceState({key:i,state:s},null,t),b)window.location.replace(t);else{var c=I.indexOf(q.location.key);-1!==c&&(I[c]=n.key),k({action:r,location:n})}}else window.location.replace(t)}})},go:_,goBack:function(){_(-1)},goForward:function(){_(1)},block:function(e){void 0===e&&(e=!1);var t=x.setPrompt(e);return M||(N(1),M=!0),function(){return M&&(M=!1,N(-1)),t()}},listen:function(e){var t=x.appendListener(e);return N(1),function(){N(-1),t()}}};return q}():function(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,n=t.initialEntries,o=void 0===n?["/"]:n,a=t.initialIndex,s=t.keyLength,c=void 0===s?6:s,p=f();function h(e){(0,i.Z)(v,e),v.length=v.entries.length,p.notifyListeners(v.location,v.action)}function d(){return Math.random().toString(36).substr(2,c)}var y=m(void 0===a?0:a,0,o.length-1),g=o.map(function(e){return"string"==typeof e?u(e,void 0,d()):u(e,void 0,e.key||d())});function b(e){var t=m(v.index+e,0,v.entries.length-1),n=v.entries[t];p.confirmTransitionTo(n,"POP",r,function(e){e?h({action:"POP",location:n,index:t}):h()})}var v={length:g.length,action:"POP",location:g[y],index:y,entries:g,createHref:l,push:function(e,t){var n="PUSH",o=u(e,t,d(),v.location);p.confirmTransitionTo(o,n,r,function(e){if(e){var t=v.index+1,r=v.entries.slice(0);r.length>t?r.splice(t,r.length-t,o):r.push(o),h({action:n,location:o,index:t,entries:r})}})},replace:function(e,t){var n="REPLACE",o=u(e,t,d(),v.location);p.confirmTransitionTo(o,n,r,function(e){e&&(v.entries[v.index]=o,h({action:n,location:o}))})},go:b,goBack:function(){b(-1)},goForward:function(){b(1)},canGo:function(e){var t=v.index+e;return t>=0&&t<v.entries.length},block:function(e){return void 0===e&&(e=!1),p.setPrompt(e)},listen:function(e){return p.appendListener(e)}};return v}(),this.lastPushSearchString=""}readUrl(){return this.history?this.history.location.search:""}writeUrl(e,{replaceUrl:t=!1}={}){(t?this.history.replace:this.history.push)(`?${e}`)}urlToState(e){return function(e){let t={current:R(A(e.current)),filters:e.filters,searchTerm:A(e.q),resultsPerPage:R(A(e.size)),sortField:x(e)[0],sortDirection:x(e)[1],sortList:e.sort};return Object.keys(t).reduce((e,r)=>{let n=t[r];return n&&(e[r]=n),e},{})}(O(e))}stateToUrl(e){return`${j(function({searchTerm:e,current:t,filters:r,resultsPerPage:n,sortDirection:o,sortField:i,sortList:a}){let s={};return t>1&&(s.current=t),e&&(s.q=e),n&&(s.size=n),r&&r.length>0&&(s.filters=r),a&&a.length>0?s.sort=a:i&&(s["sort-field"]=i,s["sort-direction"]=o),s}(e))}`}getStateFromURL(){return this.routingOptions.urlToState(this.routingOptions.readUrl())}pushStateToURL(e,{replaceUrl:t=!1}={}){let r=this.routingOptions.stateToUrl(e);this.lastPushSearchString=r,this.routingOptions.writeUrl(r,{replaceUrl:t})}onURLStateChange(e){this.unlisten=this.routingOptions.routeChangeHandler((t=>{`?${this.lastPushSearchString}`!==t&&(this.lastPushSearchString="",e(this.routingOptions.urlToState(t)))}).bind(this))}routeChangeHandler(e){return this.history.listen(t=>{e(t.search)})}tearDown(){this.unlisten()}}class T{constructor(){this.requestSequence=0,this.lastCompleted=0}
1next(){return++this.requestSequence}isOldRequest(e){return e<this.lastCompleted}completed(e){this.lastCompleted=e}}function E(e,t){let r;let n=function(){let n=arguments;clearTimeout(r),r=setTimeout(()=>{e.apply(null,n)},t)};return n.cancel=()=>{r&&(clearTimeout(r),r=null)},n}class P{constructor(){this.debounceCache={}}runWithDebounce(e,t,r,...n){if(!e)return r(...n);let o=`${t}|${e.toString()}`,i=this.debounceCache[o];i||(this.debounceCache[o]=E(r,e),i=this.debounceCache[o]),i(...n)}cancelByName(e){Object.entries(this.debounceCache).filter(([t])=>t.startsWith(`${e}|`)).forEach(([e,t])=>t.cancel())}}P.debounce=(e,t)=>E(t,e);var L=r(1260);function C(e,t,r="all"){this.debug&&console.log("Search UI: Action","addFilter",...arguments);let{filters:n}=this.state,o=n.find(t=>t.field===e&&t.type===r)||null,i=n.filter(t=>t.field!==e||t.type!==r)||[],a=(null==o?void 0:o.values)||[],s=a.find(e=>(0,L.doFilterValuesMatch)(e,t))?a:a.concat(t);this._updateSearchResults({current:1,filters:[...i,{field:e,values:s,type:r}]}),this.events.emit({type:"FacetFilterSelected",field:e,value:(0,L.serialiseFilter)(s),query:this.state.searchTerm})}function I(e,t=[]){this.debug&&console.log("Search UI: Action","trackAutocompleteClickThrough",...arguments);let{autocompletedResultsRequestId:r,searchTerm:n,autocompletedResults:o,current:i,resultsPerPage:a,totalResults:s,filters:c}=this.state,l=o.findIndex(t=>t._meta.id===e),u=o[l],f=this.events;f.autocompleteResultClick({query:n,documentId:e,requestId:r,tags:t,result:u,resultIndex:l}),f.emit({type:"ResultSelected",documentId:e,query:n,position:l,origin:"autocomplete",tags:t,totalResults:s,filters:c,currentPage:i,resultsPerPage:a})}function U(e=[]){this.debug&&console.log("Search UI: Action","clearFilters",...arguments);let{filters:t}=this.state,r=t.filter(t=>{let r=t.field;return e.includes(r)});this._updateSearchResults({current:1,filters:r})}function _(e,t,r){this.debug&&console.log("Search UI: Action","removeFilter",...arguments);let{filters:n}=this.state,o=n;o=!t&&r?n.filter(t=>!(t.field===e&&t.type===r)):t?(0,L.removeSingleFilterValue)(n,e,t,r):n.filter(t=>t.field!==e),this._updateSearchResults({current:1,filters:o}),this.events.emit({type:"FacetFilterRemoved",field:e,value:t&&(0,L.serialiseFilter)([t]),query:this.state.searchTerm})}function D(){this.debug&&console.log("Search UI: Action","reset",...arguments),this._setState(this.startingState),this.trackUrlState&&this.URLManager.pushStateToURL(this.state)}function N(e){this.debug&&console.log("Search UI: Action","setCurrent",...arguments),this._updateSearchResults({current:e})}function M(e,t,r="all"){this.debug&&console.log("Search UI: Action","setFilter",...arguments);let{filters:n}=this.state;n=n.filter(t=>t.field!==e||t.type!==r),this._updateSearchResults({current:1,filters:[...n,{field:e,values:[t],type:r}]}),this.events.emit({type:"FacetFilterSelected",field:e,value:t&&(0,L.serialiseFilter)([t]),query:this.state.searchTerm})}function q(e){this.debug&&console.log("Search UI: Action","setRe
1sultsPerPage",...arguments),this._updateSearchResults({current:1,resultsPerPage:e})}function F(e,{autocompleteMinimumCharacters:t=0,autocompleteResults:r=!1,autocompleteSuggestions:n=!1,shouldClearFilters:o=!0,refresh:i=!0,debounce:a=0}={}){this.debug&&console.log("Search UI: Action","setSearchTerm",...arguments),this._setState({searchTerm:e}),i&&this.debounceManager.runWithDebounce(a,"_updateSearchResults",this._updateSearchResults,Object.assign({current:1},o&&{filters:[]})),(r||n)&&e.length>=t&&this.debounceManager.runWithDebounce(a,"_updateAutocomplete",this._updateAutocomplete,e,{autocompleteResults:r,autocompleteSuggestions:n})}function Q(e,t){this.debug&&console.log("Search UI: Action","setSort",...arguments);let r={current:1,sortList:null,sortField:null,sortDirection:null};Array.isArray(e)?r.sortList=e:(r.sortField=e,r.sortDirection=t),this._updateSearchResults(r)}function $(e,t=[]){this.debug&&console.log("Search UI: Action","trackClickThrough",...arguments);let{requestId:r,searchTerm:n,results:o,current:i,resultsPerPage:a,totalResults:s,filters:c}=this.state,l=o.findIndex(t=>t._meta.id===e),u=o[l],f=this.events;this.events.resultClick({query:n,documentId:e,requestId:r,tags:t,result:u,page:i,resultsPerPage:a,resultIndexOnPage:l}),f.emit({type:"ResultSelected",documentId:e,query:n,origin:"results",position:l,tags:t,totalResults:s,filters:c,currentPage:i,resultsPerPage:a})}let W="search-ui-screen-reader-notifications",H="undefined"!=typeof document,K=()=>{if(!H)return null;let e=document.getElementById(W);return e||((e=document.createElement("div")).id=W,e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.style.position="absolute",e.style.width="1px",e.style.height="1px",e.style.margin="-1px",e.style.padding="0",e.style.border="0",e.style.overflow="hidden",e.style.clip="rect(0 0 0 0)",document.body.appendChild(e)),e},B=e=>{let t=K();t&&(t.textContent=e)},z={searchResults:({start:e,end:t,totalResults:r,searchTerm:n})=>{let o=`Showing ${e} to ${t} results out of ${r}`;return n&&(o+=`, searching for "${n}".`),o}};function V(e,t){if(!this.hasA11yNotifications)return;let r=this.a11yNotificationMessages[e];if(!r){console.warn("Action","a11yNotify",`Could not find corresponding message function in a11yNotificationMessages: "${e}"`);return}let n=r(t);B(n),this.debug&&console.log("Search UI: Action","a11yNotify",{messageFunc:e,messageArgs:t,message:n})}function Z(e,t,r=[]){this.debug&&console.log("Search UI: Action","trackAutocompleteSuggestionClickThrough",...arguments);let{searchTerm:n}=this.state;this.events.emit({type:"AutocompleteSuggestionSelected",position:t,query:n,tags:r,suggestion:e})}function G(e,t,r){if(r){if(t){let n=t[e].bind(t);return(...e)=>r(...e,n)}return r}return t&&t[e]?t[e].bind(t):()=>{throw`No ${e} handler provided and no Connector provided. You must configure one or the other.`}}class Y{constructor({apiConnector:e,onSearch:t,onAutocomplete:r,onResultClick:n,onAutocompleteResultClick:o,plugins:i=[]}={}){this.search=G("onSearch",e,t),this.autocomplete=G("onAutocomplete",e,r),this.resultClick=G("onResultClick",e,n),this.autocompleteResultClick=G("onAutocompleteResultClick",e,o),this.plugins=i}emit(e){this.plugins.forEach(t=>{t.subscribe(e)})}}var J=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function X({current:e,filters:t,resultsPerPage:r,searchTerm:n,sortDirection:o,sortField:i,sortList:a}){return{current:e,filters:t,resultsPerPage:r,searchTerm:n,sortDirection:o,sortField:i,sortList:a}}let ee={current:1,filters:[],resultsPerPage:20,searchTerm:"",sortDirection:"",sortField:"",sortList:[],autocompletedResults:[],autocompletedResultsRequestId:"",autocompletedSuggestions:{},autocompletedSuggestionsRequestId:"",error:"",isLoading:!1,facets:{},requestId:"",results:[],resultSearchTerm:"",totalPages:0,totalResults:0,pagingStart:0,pagingEnd:0,wasSearched:!1,rawResponse:{}};class et{constructor({apiConnector:e,autocompleteQuery:t={},plugins:r=[],debug:o,initialState:i,onSearch:a,onAutocomplete:s,onResultClick:c,onAutocompleteResultClick:l,searchQuery:u={},trackUrlState:f=!0,routingOptions:p={},urlPushDebounceLength:h=500,hasA11yNotifications:d=!1,a11yNotificationMessages:y={},alwaysSearchOnInitialLoad:g=!1}){let m;this.state=ee,this._updateAutocomplete=(e,{autocompleteResults:t,autocompleteSuggestions:r}={})=>{let n=this.autocompleteRequestSequencer.next(),o=Object.assign(Object.assign({},t&&{results:this.autocompleteQuery.results||{}}),r&&{suggestions:this.autocompleteQuery.suggestions||{}});return this.events.autocomplete({searchTerm:e},o).then(e=>{this.autocompleteRequestSequencer.isOldRequest(n)||(this.autocompleteRequestSequencer.completed(n),this._setState(e))})},this._updateSearchResults=(e,{skipPushToUrl:t=!1,replaceUrl:r=!1}={})=>{let{current:n,filters:o,resultsPerPage:i,searchTerm:a,sortDirection:s,sortField:c,sortList:l}=Object.assign(Object.assign({},this.state),e);this.debounceManager.cancelByName("_updateSearchResults"),this._setState({current:n,error:"",filters:o,resultsPerPage:i,searchTerm:a,sortDirection:s,sortField:c,sortList:l}),this._makeSearchRequest({skipPushToUrl:t,replaceUrl:r})},this._makeSearchRequest=P.debounce(0,({skipPushToUrl:e,replaceUrl:t})=>{let{current:r,filters:n,resultsPerPage:o,searchTerm:i,sortDirection:a,sortField:s,sortList:c}=this.state;this._setState({isLoading:!0});
1let l=this.searchRequestSequencer.next(),u=this.searchQuery,{conditionalFacets:f}=u,p=Object.assign(Object.assign({},J(u,["conditionalFacets"])),{facets:function(e={},t={},r=[]){return Object.entries(e).reduce((e,[n,o])=>(t[n]&&"function"==typeof t[n]&&!t[n]({filters:r})||(e[n]=o),e),{})}(this.searchQuery.facets,f,n)}),h=Object.assign(Object.assign({},X(this.state)),{filters:(0,L.mergeFilters)(n,this.searchQuery.filters)});return this.events.search(h,p).then(u=>{if(this.searchRequestSequencer.isOldRequest(l))return;this.searchRequestSequencer.completed(l);let{totalResults:f}=u;this.events.emit({type:"SearchQuery",filters:this.state.filters,query:this.state.searchTerm,currentPage:h.current,resultsPerPage:h.resultsPerPage,totalResults:f});let p=0===f?0:(r-1)*o+1,d=f<p+o?f:p+o-1;this._setState(Object.assign(Object.assign({isLoading:!1,resultSearchTerm:i,pagingStart:p,pagingEnd:d},u),{wasSearched:!0})),this.hasA11yNotifications&&this.actions.a11yNotify("searchResults",{start:p,end:d,totalResults:f,searchTerm:i}),!e&&this.trackUrlState&&this.debounceManager.runWithDebounce(this.urlPushDebounceLength,"pushStateToURL",this.URLManager.pushStateToURL.bind(this.URLManager),{current:r,filters:n,resultsPerPage:o,searchTerm:i,sortDirection:a,sortField:s,sortList:c},{replaceUrl:t})},e=>{var t;if("Invalid credentials"===e.message){this._setState(Object.assign({},(null===(t=this.apiConnector)||void 0===t?void 0:t.state)&&Object.assign({},this.apiConnector.state)));return}this._setState({error:`An unexpected error occurred: ${e.message}`})})}),this.actions=Object.entries(n).reduce((e,[t,r])=>Object.assign(Object.assign({},e),{[t]:r.bind(this)}),{}),this.actions=Object.assign(Object.assign({},this.actions),(null==e?void 0:e.actions)&&Object.assign({},e.actions)),Object.assign(this,this.actions),this.events=new Y({apiConnector:e,onSearch:a,onAutocomplete:s,onResultClick:c,onAutocompleteResultClick:l,plugins:r}),this.debug=o,this.debug&&(console.warn("Search UI Debugging is enabled. This should be turned off in production deployments."),"undefined"!=typeof window&&(window.searchUI=this)),this.autocompleteRequestSequencer=new T,this.searchRequestSequencer=new T,this.debounceManager=new P,this.autocompleteQuery=t,this.searchQuery=u,this.subscriptions=[],this.trackUrlState=f,this.urlPushDebounceLength=h,this.alwaysSearchOnInitialLoad=g,this.apiConnector=e,f?(this.URLManager=new k(p),m=this.URLManager.getStateFromURL(),this.URLManager.onURLStateChange(e=>{this._updateSearchResults(Object.assign(Object.assign({},ee),e),{skipPushToUrl:!0})})):m={},this.hasA11yNotifications=d,this.hasA11yNotifications&&K(),this.a11yNotificationMessages=Object.assign(Object.assign({},z),y),this.startingState=Object.assign(Object.assign({},this.state),i);let b=X(Object.assign(Object.assign({},this.startingState),m));this.state=Object.assign(Object.assign(Object.assign({},this.state),(null==e?void 0:e.state)&&Object.assign({},e.state)),b),(b.searchTerm||b.filters.length>0||this.alwaysSearchOnInitialLoad)&&this._updateSearchResults(b,{replaceUrl:!0})}_setState(e){let t=Object.assign(Object.assign({},this.state),e);this.debug&&console.log("Search UI: State Update",e,t),this.state=t,this.subscriptions.forEach(e=>e(t))}setSearchQuery(e){this.searchQuery=e,this._updateSearchResults({})}setAutocompleteQuery(e){this.autocompleteQuery=e}subscribeToStateChanges(e){this.subscriptions.push(e)}unsubscribeToStateChanges(e){this.subscriptions=this.subscriptions.filter(t=>t!==e)}tearDown(){this.subscriptions=[],this.URLManager&&this.URLManager.tearDown(),this.debounceManager.cancelByName("pushStateToURL")}getActions(){return this.actions}getState(){return Object.assign({},this.state)}}var er=r(1115),en={moreFilters:({visibleOptionsCount:e,showingAll:t})=>(t?"All ":"")+`${e} options shown.`},eo=({children:e,config:t,driver:r})=>{let[n,i]=(0,o.useState)(null);return((0,o.useEffect)(()=>{let e=r||new et(Object.assign(Object.assign({},t),{a11yNotificationMessages:Object.assign(Object.assign({},en),t.a11yNotificationMessages)}));return i(e),()=>{e.tearDown()}},[]),(0,o.useEffect)(()=>{n&&n.setSearchQuery(t.searchQuery)},[t.searchQuery]),(0,o.useEffect)(()=>{n&&n.setAutocompleteQuery(t.autocompleteQuery)},[t.autocompleteQuery]),n)?o.createElement(er.Z.Provider,{value:{driver:n}},e):null}},8078:function(e,t,r){"use strict";
1var n=r(2784),o=r(8853),i=r(3980),a=r.n(i);function s({mapContextToProps:e,children:t}){let r=(0,o.Z)(e)(e=>t(e));return n.createElement(r,null)}s.propTypes={mapContextToProps:a().func,children:a().func.isRequired},t.Z=s},9500:function(e,t,r){var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&c&&"function"==typeof c.get?c.get:null,u=s&&Set.prototype.forEach,f="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,y=Object.prototype.toString,g=Function.prototype.toString,m=String.prototype.match,b=String.prototype.slice,v=String.prototype.replace,S=String.prototype.toUpperCase,w=String.prototype.toLowerCase,O=RegExp.prototype.test,j=Array.prototype.concat,A=Array.prototype.join,R=Array.prototype.slice,x=Math.floor,k="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,L="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===P?"object":"symbol")?Symbol.toStringTag:null,C=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function U(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-x(-e):x(e);if(n!==e){var o=String(n),i=b.call(t,o.length+1);return v.call(o,r,"$&_")+"."+v.call(v.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return v.call(t,r,"$&_")}var _=r(3260),D=_.custom,N=Q(D)?D:null;function M(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function q(e){return"[object Array]"===H(e)&&(!L||!("object"==typeof e&&L in e))}function F(e){return"[object RegExp]"===H(e)&&(!L||!("object"==typeof e&&L in e))}function Q(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,o,s){var c=n||{};if(W(c,"quoteStyle")&&"single"!==c.quoteStyle&&"double"!==c.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(W(c,"maxStringLength")&&("number"==typeof c.maxStringLength?c.maxStringLength<0&&c.maxStringLength!==1/0:null!==c.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var y=!W(c,"customInspect")||c.customInspect;if("boolean"!=typeof y&&"symbol"!==y)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(c,"indent")&&null!==c.indent&&"	"!==c.indent&&!(parseInt(c.indent,10)===c.indent&&c.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(c,"numericSeparator")&&"boolean"!=typeof c.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var S=c.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(b.call(t,0,r.maxStringLength),r)+"... "+n+" more character"+(n>1?"s":"")}return M(v.call(v.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,B),"single",r)}(t,c);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var O=String(t);return S?U(t,O):O}if("bigint"==typeof t){var x=String(t)+"n";return S?U(t,x):x}var T=void 0===c.depth?5:c.depth;if(void 0===o&&(o=0),o>=T&&T>0&&"object"==typeof t)return q(t)?"[Array]":"[Object]";var D=function(e,t){var r;if("	"===e.indent)r="	";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=A.call(Array(e.indent+1)," ")}return{base:r,prev:A.call(Array(t+1),r)}}(c,o);if(void 0===s)s=[];else if(K(s,t)>=0)return"[Circular]";function $(t,r,n){if(r&&(s=R.call(s)).push(r),n){var i={depth:c.depth};return W(c,"quoteStyle")&&(i.quoteStyle=c.quoteStyle),e(t,i,o+1,s)}return e(t,c,o+1,s)}if("function"==typeof t&&!F(t)){var J=function(e){if(e.name)return e.name;var t=m.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),X=Y(t,$);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(X.length>0?" { "+A.call(X,", ")+" }":"")}if(Q(t)){var ee=P?v.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):E.call(t);return"object"!=typeof t||P?ee:z(ee)}if(t&&"object"==typeof t&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)){for(var et,er="<"+w.call(String(t.nodeName)),en=t.attributes||[],eo=0;eo<en.length;eo++)er+=" "+en[eo].name+"="+M((et=en[eo].value,v.call(String(et),/"/g,"&quot;")),"double",c);return er+=">",t.childNodes&&t.childNodes.length&&(er+="..."),er+="</"+w.call(String(t.nodeName))+">"}if(q(t)){if(0===t.length)return"[]";var ei=Y(t,$);return D&&!function(e){for(var t=0;t<e.length;t++)if(K(e[t],"\n")>=0)return!1;return!0}(ei)?"["+G(ei,D)+"]":"[ "+A.call(ei,", ")+" ]"}if("[object Error]"===H(t)&&(!L||!("object"==typeof t&&L in t))){var ea=Y(t,$);return"cause"in Error.prototype||!("cause"in t)||C.call(t,"cause")?0===ea.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(ea,", ")+" }":"{ ["+String(t)+"] "+A.call(j.call("[cause]: "+$(t.cause),ea),", ")+" }"}if("object"==typeof t&&y){if(N&&"function"==typeof t[N]&&_)return _(t,{depth:T-o});if("symbol"!==y&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;
1try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var es=[];return a&&a.call(t,function(e,r){es.push($(r,t,!0)+" => "+$(e,t))}),Z("Map",i.call(t),es,D)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ec=[];return u&&u.call(t,function(e){ec.push($(e,t))}),Z("Set",l.call(t),ec,D)}if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return V("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return V("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return V("WeakRef");if("[object Number]"===H(t)&&(!L||!("object"==typeof t&&L in t)))return z($(Number(t)));if(function(e){if(!e||"object"!=typeof e||!k)return!1;try{return k.call(e),!0}catch(e){}return!1}(t))return z($(k.call(t)));if("[object Boolean]"===H(t)&&(!L||!("object"==typeof t&&L in t)))return z(d.call(t));if("[object String]"===H(t)&&(!L||!("object"==typeof t&&L in t)))return z($(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===H(t)&&(!L||!("object"==typeof t&&L in t)))&&!F(t)){var el=Y(t,$),eu=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,ef=t instanceof Object?"":"null prototype",ep=!eu&&L&&Object(t)===t&&L in t?b.call(H(t),8,-1):ef?"Object":"",eh=(eu||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ep||ef?"["+A.call(j.call([],ep||[],ef||[]),": ")+"] ":"");return 0===el.length?eh+"{}":D?eh+"{"+G(el,D)+"}":eh+"{ "+A.call(el,", ")+" }"}return String(t)};var $=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return $.call(e,t)}function H(e){return y.call(e)}function K(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function B(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+S.call(t.toString(16))}function z(e){return"Object("+e+")"}function V(e){return e+" { ? }"}function Z(e,t,r,n){return e+" ("+t+") {"+(n?G(r,n):A.call(r,", "))+"}"}function G(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+A.call(e,","+r)+"\n"+t.prev}function Y(e,t){var r,n=q(e),o=[];if(n){o.length=e.length;for(var i=0;i<e.length;i++)o[i]=W(e,i)?t(e[i],e):""}var a="function"==typeof T?T(e):[];if(P){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var c in e)W(e,c)&&(!n||String(Number(c))!==c||!(c<e.length))&&(P&&r["$"+c]instanceof Symbol||(O.call(/[^\w$]/,c)?o.push(t(c,e)+": "+t(e[c],e)):o.push(c+": "+t(e[c],e))));if("function"==typeof T)for(var l=0;l<a.length;l++)C.call(e,a[l])&&o.push("["+t(a[l])+"]: "+t(e[a[l]],e));return o}},5527:function(e){"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},9126:function(e,t,r){"use strict";var n=r(6845),o=r(9166),i=r(5527);e.exports={formats:i,parse:o,stringify:n}},9166:function(e,t,r){"use strict";var n=r(2493),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t){var r={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=c.split(t.delimiter,l),f=-1,p=t.charset;if(t.charsetSentinel)for(h=0;h<u.length;++h)0===u[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[h]?p="utf-8":"utf8=%26%2310003%3B"===u[h]&&(p="iso-8859-1"),f=h,h=u.length);for(h=0;h<u.length;++h)if(h!==f){var h,d,y,g=u[h],m=g.indexOf("]="),b=-1===m?g.indexOf("="):m+1;-1===b?(d=t.decoder(g,a.decoder,p,"key"),y=t.strictNullHandling?null:""):(d=t.decoder(g.slice(0,b),a.decoder,p,"key"),y=n.maybeMap(s(g.slice(b+1),t),function(e){return t.decoder(e,a.decoder,p,"value")})),y&&t.interpretNumericEntities&&"iso-8859-1"===p&&(y=y.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(y=i(y)?[y]:y);var v=o.call(r,d);
1v&&"combine"===t.duplicates?r[d]=n.combine(r[d],y):v&&"last"!==t.duplicates||(r[d]=y)}return r},l=function(e,t,r,n){for(var o=n?t:s(t,r),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&r.parseArrays)a=r.allowEmptyArrays&&""===o?[]:[].concat(o);else{a=r.plainObjects?Object.create(null):{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=r.decodeDotInKeys?l.replace(/%2E/g,"."):l,f=parseInt(u,10);r.parseArrays||""!==u?!isNaN(f)&&c!==u&&String(f)===u&&f>=0&&r.parseArrays&&f<=r.arrayLimit?(a=[])[f]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o},u=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,u=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var f=0;r.depth>0&&null!==(s=a.exec(i))&&f<r.depth;){if(f+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+i.slice(s.index)+"]"),l(u,t,r,n)}},f=function(e){if(!e)return a;
1if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,r=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var r=f(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof e?c(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(o),s=0;s<a.length;++s){var l=a[s],p=u(l,o[l],r,"string"==typeof e);i=n.merge(i,p,r)}return!0===r.allowSparse?i:n.compact(i)}},6845:function(e,t,r){"use strict";var n=r(4294),o=r(2493),i=r(5527),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,l=Array.prototype.push,u=function(e,t){l.apply(e,c(t)?t:[t])},f=Date.prototype.toISOString,p=i.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:p,formatter:i.formatters[p],indices:!1,serializeDate:function(e){return f.call(e)},skipNulls:!1,strictNullHandling:!1},d={},y=function e(t,r,i,a,s,l,f,p,y,g,m,b,v,S,w,O,j,A){for(var R,x,k=t,T=A,E=0,P=!1;void 0!==(T=T.get(d))&&!P;){var L=T.get(t);if(E+=1,void 0!==L){if(L===E)throw RangeError("Cyclic object value");P=!0}void 0===T.get(d)&&(E=0)}if("function"==typeof g?k=g(r,k):k instanceof Date?k=v(k):"comma"===i&&c(k)&&(k=o.maybeMap(k,function(e){return e instanceof Date?v(e):e})),null===k){if(l)return y&&!O?y(r,h.encoder,j,"key",S):r;k=""}if("string"==typeof(R=k)||"number"==typeof R||"boolean"==typeof R||"symbol"==typeof R||"bigint"==typeof R||o.isBuffer(k))return y?[w(O?r:y(r,h.encoder,j,"key",S))+"="+w(y(k,h.encoder,j,"value",S))]:[w(r)+"="+w(String(k))];var C=[];if(void 0===k)return C;if("comma"===i&&c(k))O&&y&&(k=o.maybeMap(k,y)),x=[{value:k.length>0?k.join(",")||null:void 0}];else if(c(g))x=g;else{var I=Object.keys(k);x=m?I.sort(m):I}var U=p?r.replace(/\./g,"%2E"):r,_=a&&c(k)&&1===k.length?U+"[]":U;if(s&&c(k)&&0===k.length)return _+"[]";for(var D=0;D<x.length;++D){var N=x[D],M="object"==typeof N&&void 0!==N.value?N.value:k[N];if(!f||null!==M){var q=b&&p?N.replace(/\./g,"%2E"):N,F=c(k)?"function"==typeof i?i(_,q):_:_+(b?"."+q:"["+q+"]");A.set(t,E);var Q=n();Q.set(d,A),u(C,e(M,F,i,a,s,l,f,p,"comma"===i&&O&&c(k)?null:y,g,m,b,v,S,w,O,j,Q))}}return C},g=function(e){if(!e)return h;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
1if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");n=e.format}var o=i.formatters[n],l=h.filter;if(("function"==typeof e.filter||c(e.filter))&&(l=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:
1h.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:l,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var r,o=e,i=g(t);"function"==typeof i.filter?o=(0,i.filter)("",o):c(i.filter)&&(r=i.filter);var a=[];if("object"!=typeof o||null===o)return"";var l=s[i.arrayFormat],f="comma"===l&&i.commaRoundTrip;r||(r=Object.keys(o)),i.sort&&r.sort(i.sort);for(var p=n(),h=0;h<r.length;++h){var d=r[h];i.skipNulls&&null===o[d]||u(a,y(o[d],d,l,f,i.allowEmptyArrays,i.strictNullHandling,i.skipNulls,i.encodeDotInKeys,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.format,i.formatter,i.encodeValuesOnly,i.charset,p))}var m=a.join(i.delimiter),b=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?b+="utf8=%26%2310003%3B&":b+="utf8=%E2%9C%93&"),m.length>0?b+m:""}},2493:function(e,t,r){"use strict";var n=r(5527),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}},c=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),c=0;c<a.length;++c){var l=a[c],u=i[l];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:l}),r.push(u))}return s(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,o,i){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var c="",l=0;l<s.length;l+=1024){for(var u=s.length>=1024?s.slice(l,l+1024):s,f=[],p=0;p<u.length;++p){var h=u.charCodeAt(p);if(45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||i===n.RFC1738&&(40===h||41===h)){f[f.length]=u.charAt(p);continue}if(h<128){f[f.length]=a[h];continue}if(h<2048){f[f.length]=a[192|h>>6]+a[128|63&h];continue}if(h<55296||h>=57344){f[f.length]=a[224|h>>12]+a[128|h>>6&63]+a[128|63&h];continue}p+=1,h=65536+((1023&h)<<10|1023&u.charCodeAt(p)),f[f.length]=a[240|h>>18]+a[128|h>>12&63]+a[128|h>>6&63]+a[128|63&h]}c+=f.join("")}return c},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return(i(t)&&!i(r)&&(a=c(t,n)),i(t)&&i(r))?(r.forEach(function(r,i){if(o.c
1all(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t.push(r)}else t[i]=r}),t):Object.keys(r).reduce(function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t},a)}}},4294:function(e,t,r){"use strict";var n=r(7286),o=r(2680),i=r(9500),a=r(5408),s=n("%WeakMap%",!0),c=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),f=o("WeakMap.prototype.has",!0),p=o("Map.prototype.get",!0),h=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),y=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},g=function(e,t){var r=y(e,t);return r&&r.value},m=function(e,t,r){var n=y(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(c){if(t)return p(t,n)}else if(r)return g(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return f(e,n)}else if(c){if(t)return d(t,n)}else if(r)return!!y(r,n);return!1},set:function(n,o){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),u(e,n,o)):c?(t||(t=new c),h(t,n,o)):(r||(r={key:{},next:null}),m(r,n,o))}};return n}}}]);

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.