1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[576],{17331:function(e){function EventEmitter(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function isFunction(e){return"function"==typeof e}function isObject(e){return"object"==typeof e&&null!==e}e.exports=EventEmitter,EventEmitter.prototype._events=void 0,EventEmitter.prototype._maxListeners=void 0,EventEmitter.defaultMaxListeners=10,EventEmitter.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},EventEmitter.prototype.emit=function(e){if(this._events||(this._events={}),"error"===e&&(!this._events.error||isObject(this._events.error)&&!this._events.error.length)){if(i=arguments[1],i instanceof Error)throw i;var i,l,p,y,v,_,S,P=Error('Uncaught, unspecified "error" event. ('+i+")");throw P.context=i,P}if(void 0===(l=this._events[e]))return!1;if(isFunction(l))switch(arguments.length){case 1:l.call(this);break;case 2:l.call(this,arguments[1]);break;case 3:l.call(this,arguments[1],arguments[2]);break;default:y=Array.prototype.slice.call(arguments,1),l.apply(this,y)}else if(isObject(l))for(v=0,y=Array.prototype.slice.call(arguments,1),p=(_=l.slice()).length;v<p;v++)_[v].apply(this,y);return!0},EventEmitter.prototype.addListener=function(e,i){var l,p;if(!isFunction(i))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,isFunction(i.listener)?i.listener:i),this._events[e]?isObject(this._events[e])?this._events[e].push(i):this._events[e]=[this._events[e],i]:this._events[e]=i,isObject(this._events[e])&&!this._events[e].warned&&(l=void 0===this._maxListeners?EventEmitter.defaultMaxListeners:this._maxListeners)&&l>0&&this._events[e].length>l&&(this._events[e].warned=!0,console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",this._events[e].length),"function"==typeof console.trace&&console.trace()),this},EventEmitter.prototype.on=EventEmitter.prototype.addListener,EventEmitter.prototype.once=function(e,i){if(!isFunction(i))throw TypeError("listener must be a function");var l=!1;function g(){this.removeListener(e,g),l||(l=!0,i.apply(this,arguments))}return g.listener=i,this.on(e,g),this},EventEmitter.prototype.removeListener=function(e,i){var l,p,y,v;if(!isFunction(i))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(y=(l=this._events[e]).length,p=-1,l===i||isFunction(l.listener)&&l.listener===i)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,i);else if(isObject(l)){for(v=y;v-- >0;)if(l[v]===i||l[v].listener&&l[v].listener===i){p=v;break}if(p<0)return this;1===l.length?(l.length=0,delete this._events[e]):l.splice(p,1),this._events.removeListener&&this.emit("removeListener",e,i)}return this},EventEmitter.prototype.removeAllListeners=function(e){var i,l;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(i in this._events)"removeListener"!==i&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events={},this}if(isFunction(l=this._events[e]))this.removeListener(e,l);else if(l)for(;l.length;)this.removeListener(e,l[l.length-1]);return delete this._events[e],this},EventEmitter.prototype.listeners=function(e){return this._events&&this._events[e]?isFunction(this._events[e])?[this._events[e]]:this._events[e].slice():[]},EventEmitter.prototype.listenerCount=function(e){if(this._events){var i=this._events[e];if(isFunction(i))return 1;if(i)return i.length}return 0},EventEmitter.listenerCount=function(e,i){return e.listenerCount(i)}},8131:function(e,i,l){"use strict";var p=l(49374),y=l(67450),v=l(43650),_=l(17775),S=l(23076);function algoliasearchHelper(e,i,l,y){return new p(e,i,l,y)}algoliasearchHelper.version=l(24336),algoliasearchHelper.AlgoliaSearchHelper=p,algoliasearchHelper.SearchParameters=_,algoliasearchHelper.RecommendParameters=y,algoliasearchHelper.SearchResults=S,algoliasearchHelper.RecommendResults=v,e.exports=algoliasearchHelper},68078:function(e,i,l){"use strict";var p=l(17331);function DerivedHelper(e,i,l){this.main=e,this.fn=i,this.recommendFn=l,this.lastResults=null,this.lastRecommendResults=null}l(14853)(DerivedHelper,p),DerivedHelper.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},DerivedHelper.prototype.getModifiedState=function(e){return this.fn(e)},DerivedHelper.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},e.exports=DerivedHelper},67450:function(e){"use strict";function RecommendParameters(e){e=e||{},this.params=e.params||[]}RecommendParameters.prototype={constructor:RecommendParameters,addParams:function(e){var i=this.params.slice();return i.push(e),new RecommendParameters({params:i})}
1,removeParams:function(e){return new RecommendParameters({params:this.params.filter(function(i){return i.$$id!==e})})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,i){return this.params.filter(function(e){return void 0===i[e.$$id]}).map(function(i){var l=Object.assign({},i,{indexName:e,threshold:i.threshold||0});return delete l.$$id,l})}},e.exports=RecommendParameters},43650:function(e){"use strict";function RecommendResults(e,i){this._state=e,this._rawResults={};var l=this;e.params.forEach(function(e){var p=e.$$id;l[p]=i[p],l._rawResults[p]=i[p]})}RecommendResults.prototype={constructor:RecommendResults},e.exports=RecommendResults},82437:function(e,i,l){"use strict";var p=l(52344),y=l(90116),v=l(49803),_={addRefinement:function(e,i,l){if(_.isRefined(e,i,l))return e;var y=""+l,v=e[i]?e[i].concat(y):[y],S={};return S[i]=v,p(S,e)},removeRefinement:function(e,i,l){if(void 0===l)return _.clearRefinement(e,function(e,l){return i===l});var p=""+l;return _.clearRefinement(e,function(e,l){return i===l&&p===e})},toggleRefinement:function(e,i,l){if(void 0===l)throw Error("toggleRefinement should be used with a value");return _.isRefined(e,i,l)?_.removeRefinement(e,i,l):_.addRefinement(e,i,l)},clearRefinement:function(e,i,l){if(void 0===i)return y(e)?{}:e;if("string"==typeof i)return v(e,[i]);if("function"==typeof i){var p=!1,_=Object.keys(e).reduce(function(y,v){var _=e[v]||[],S=_.filter(function(e){return!i(e,v,l)});return S.length!==_.length&&(p=!0),y[v]=S,y},{});return p?_:e}},isRefined:function(e,i,l){var p=!!e[i]&&e[i].length>0;return void 0!==l&&p?-1!==e[i].indexOf(""+l):p}};e.exports=_},17775:function(e,i,l){"use strict";var p=l(52344),y=l(7888),v=l(41190),_=l(60185),S=l(90116),P=l(49803),w=l(28023),T=l(46801),H=l(82437);function isEqualNumericRefinement(e,i){return Array.isArray(e)&&Array.isArray(i)?e.length===i.length&&e.every(function(e,l){return isEqualNumericRefinement(i[l],e)}):e===i}function SearchParameters(e){var i=e?SearchParameters._parseNumbers(e):{};void 0===i.userToken||T(i.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=i.facets||[],this.disjunctiveFacets=i.disjunctiveFacets||[],this.hierarchicalFacets=i.hierarchicalFacets||[],this.facetsRefinements=i.facetsRefinements||{},this.facetsExcludes=i.facetsExcludes||{},this.disjunctiveFacetsRefinements=i.disjunctiveFacetsRefinements||{},this.numericRefinements=i.numericRefinements||{},this.tagRefinements=i.tagRefinements||[],this.hierarchicalFacetsRefinements=i.hierarchicalFacetsRefinements||{};var l=this;
vendor: 6,010 bytes, line 1
1Object.keys(i).forEach(function(e){var p=-1!==SearchParameters.PARAMETERS.indexOf(e),y=void 0!==i[e];!p&&y&&(l[e]=i[e])})}function parseFiniteFloat(e){var i=parseFloat(e);return isFinite(i)?i:null}SearchParameters.PARAMETERS=Object.keys(new SearchParameters),SearchParameters._parseNumbers=function(e){if(e instanceof SearchParameters)return e;var i={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroundRadius","hitsPerPage","minProximity"].forEach(function(l){var p=e[l];if("string"==typeof p){var y=parseFloat(p);isNaN(y)?i[l]=p:isFinite(y)?i[l]=y:i[l]=null}else"number"!=typeof p||isFinite(p)||(i[l]=null)}),Array.isArray(e.insideBoundingBox)&&(i.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFiniteFloat(e):"number"!=typeof e||isFinite(e)?e:null}):e})),e.numericRefinements){var l={};Object.keys(e.numericRefinements).forEach(function(i){var p=e.numericRefinements[i]||{};l[i]={},Object.keys(p).forEach(function(e){var y=p[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFiniteFloat(e):"number"!=typeof e||isFinite(e)?e:null}):"string"==typeof e?parseFiniteFloat(e):"number"!=typeof e||isFinite(e)?e:null});l[i][e]=y})}),i.numericRefinements=l}return _(e,i)},SearchParameters.make=function(e){var i=new SearchParameters(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var l=i.getHierarchicalRefinement(e.name);l.length>0&&0!==l[0].indexOf(e.rootPath)&&(i=i.clearRefinements(e.name)),0===(l=i.getHierarchicalRefinement(e.name)).length&&(i=i.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),i},SearchParameters.validate=function(e,i){var l=i||{};return e.tagFilters&&l.tagRefinements&&l.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&l.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&l.numericRefinements&&S(l.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):S(e.numericRefinements)&&l.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},SearchParameters.prototype={constructor:SearchParameters,clearRefinements:function(e){var i={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:H.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:H.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:H.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:H.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return i.numericRefinements===this.numericRefinements&&i.facetsRefinements===this.facetsRefinements&&i.facetsExcludes===this.facetsExcludes&&i.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&i.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(i)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,i,l){var p=w(l);if(this.isNumericRefined(e,i,p))return this;var y=_({},this.numericRefinements);return y[e]=_({},y[e]),y[e][i]?(y[e][i]=y[e][i].slice(),y[e][i].push(p)):y[e][i]=[p],this.setQueryParameters({numericRefinements:y})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,i,l){return void 0!==l?this.isNumericRefined(e,i,l)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(p,y){return y===e&&p.op===i&&isEqualNumericRefinement(p.val,w(l))})}):this:void 0!==i?this.isNumericRefined(e,i)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(l,p){return p===e&&l.op===i})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(i,l){return l===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,i){return this.numericRefinements[e]&&this.numericRefinements[e][i]},_clearNumericRefinements:function(e){if(void 0===e)return S(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return P(this.numericRefinements,[e]);if("function"==typeof e){var i=!1,l=this.numericRefinements,p=Object.keys(l).reduce(function(p,y){var v=l[y],_={};return Object.keys(v=v||{}
1).forEach(function(l){var p=v[l]||[],S=[];p.forEach(function(i){e({val:i,op:l},y,"numeric")||S.push(i)}),S.length!==p.length&&(i=!0),_[l]=S}),p[y]=_,p},{});return i?p:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,i){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return H.isRefined(this.facetsRefinements,e,i)?this:this.setQueryParameters({facetsRefinements:H.addRefinement(this.facetsRefinements,e,i)})},addExcludeRefinement:function(e,i){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return H.isRefined(this.facetsExcludes,e,i)?this:this.setQueryParameters({facetsExcludes:H.addRefinement(this.facetsExcludes,e,i)})},addDisjunctiveFacetRefinement:function(e,i){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return H.isRefined(this.disjunctiveFacetsRefinements,e,i)?this:this.setQueryParameters({disjunctiveFacetsRefinements:H.addRefinement(this.disjunctiveFacetsRefinements,e,i)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var i={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(i)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(i){return i!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(i){return i!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(i){return i.name!==e})}):this},removeFacetRefinement:function(e,i){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return H.isRefined(this.facetsRefinements,e,i)?this.setQueryParameters({facetsRefinements:H.removeRefinement(this.facetsRefinements,e,i)}):this},removeExcludeRefinement:function(e,i){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return H.isRefined(this.facetsExcludes,e,i)?this.setQueryParameters({facetsExcludes:H.removeRefinement(this.facetsExcludes,e,i)}):this},removeDisjunctiveFacetRefinement:function(e,i){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return H.isRefined(this.disjunctiveFacetsRefinements,e,i)?this.setQueryParameters({disjunctiveFacetsRefinements:H.removeRefinement(this.disjunctiveFacetsRefinements,e,i)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var i={tagRefinements:this.tagRefinements.filter(function(i){return i!==e})};return this.setQueryParameters(i)},toggleRefinement:function(e,i){return this.toggleFacetRefinement(e,i)},toggleFacetRefinement:function(e,i){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,i);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,i);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,i);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,i){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:H.toggleRefinement(this.facetsRefinements,e,i)})},toggleExcludeFacetRefinement:function(e,i){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:H.toggleRefinement(this.facetsExcludes,e,i)})},toggleDisjunctiveFacetRefinement:function(e,i){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:H.toggleRefinement(this.disjunctiveFacetsRefinements,e,i)})},toggleHierarchicalFacetRefinement:function(e,i){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var l=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),y={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===i||0===this.hierarchicalFacetsRefinements[e][0].indexOf(i+l))?-1===i.indexOf(l)?y[e]=[]:y[e]=[i.slice(0,i.lastIndexOf(l))]:y[e]=[i],this.setQueryParameters({hierarchicalFacetsRefinements:p(y,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,i){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var l={};return l[e]=[i],this.setQueryParameters({hierarchicalFacetsRefinements:p(l,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var i={};return i[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:p(i,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,i){return!!this.isConjunctiveFacet(e)&&H.isRef
1ined(this.facetsRefinements,e,i)},isExcludeRefined:function(e,i){return!!this.isConjunctiveFacet(e)&&H.isRefined(this.facetsExcludes,e,i)},isDisjunctiveFacetRefined:function(e,i){return!!this.isDisjunctiveFacet(e)&&H.isRefined(this.disjunctiveFacetsRefinements,e,i)},isHierarchicalFacetRefined:function(e,i){if(!this.isHierarchicalFacet(e))return!1;var l=this.getHierarchicalRefinement(e);return i?-1!==l.indexOf(i):l.length>0},isNumericRefined:function(e,i,l){if(void 0===l&&void 0===i)return!!this.numericRefinements[e];var p=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][i];if(void 0===l||!p)return p;var v=w(l),_=void 0!==y(this.numericRefinements[e][i],function(e){return isEqualNumericRefinement(e,v)});return p&&_},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,i=v(Object.keys(this.numericRefinements).filter(function(i){return Object.keys(e.numericRefinements[i]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(i){return e.disjunctiveFacetsRefinements[i].length>0}).concat(i).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return v(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(i){return e.hierarchicalFacetsRefinements[i].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(i){return -1===e.indexOf(i)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,i={},l=this;return Object.keys(this).forEach(function(p){var y=l[p];-1===e.indexOf(p)&&void 0!==y&&(i[p]=y)}),i},setQueryParameter:function(e,i){if(this[e]===i)return this;var l={};return l[e]=i,this.setQueryParameters(l)},setQueryParameters:function(e){if(!e)return this;var i=SearchParameters.validate(this,e);if(i)throw i;var l=this,p=SearchParameters._parseNumbers(e),y=Object.keys(this).reduce(function(e,i){return e[i]=l[i],e},{}),v=Object.keys(p).reduce(function(e,i){var l=void 0!==e[i],y=void 0!==p[i];return l&&!y?P(e,[i]):(y&&(e[i]=p[i]),e)},y);return new this.constructor(v)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return y(this.hierarchicalFacets,function(i){return i.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var i=this.getHierarchicalRefinement(e)[0];if(!i)return[];var l=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return i.split(l).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=SearchParameters},10210:function(e,i,l){"use strict";e.exports=function(e){return function(i,l){var p=e.hierarchicalFacets[l],w=e.hierarchicalFacetsRefinements[p.name]&&e.hierarchicalFacetsRefinements[p.name][0]||"",T=e._getHierarchicalFacetSeparator(p),H=e._getHierarchicalRootPath(p),U=e._getHierarchicalShowParentLevel(p),W=v(e._getHierarchicalFacetSortBy(p)),B=i.every(function(e){return e.exhaustive}),Q=i;return H&&(Q=i.slice(H.split(T).length)),Q.reduce(function(e,i,l){var p=e;if(l>0){var v=0;for(p=e;v<l;)p=y(p&&Array.isArray(p.data)?p.data:[],function(e){return e.isRefined}),v++}if(p){var B=Object.keys(i.data).map(function(e){return[e,i.data[e]]}).filter(function(e){var i,l;return i=e[0],l=p.path||H,(!H||0===i.indexOf(H)&&H!==i)&&(!H&&-1===i.indexOf(T)||H&&i.split(T).length-H.split(T).length==1||-1===i.indexOf(T)&&-1===w.indexOf(T)||0===w.indexOf(i)||0===i.indexOf(l+T)&&(U||0===i.indexOf(w)))});p.data=_(B.map(function(e){var l,p,y,v,_=e[0];return l=e[1],p=P(w),y=i.exhaustive,{name:(v=_.split(T))[v.length-1].trim(),path:_,escapedValue:S(_),count:l,isRefined:p===_||0===p.indexOf(_+T),exhaustive:y,data:null}}),W[0],W[1])}return e},{name:e.hierarchicalFacets[l].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:B,data:null})}};var p=l(94039),y=l(7888),v=l(82293),_=l(42148),S=p.escapeFacetValue,P=p.unescapeFacetValue},23076:function(e,i,l){"use strict";var p=l(74587),y=l(52344),v=l(94039),_=l(7888),S=l(69725),P=l(82293),w=l(23034),T=l(42148),H=v.escapeFacetValue,U=v.unescapeFacetValue,W=l(10210);function getIndices(e){var i={};return e.forEach(function(e,l){i[e]=l}),i}function assignFacetStats(e,i,l){i&&i[l]&&(e.stats=i[l])}function SearchResults(e,i,l){var v=i[0]||{};this._rawResults=i;var P=this;Object.keys(v).forEach(function(e){P[e]=v[e]});var T=y(l,{persistHierarchicalRootCount:!1});Object.keys(T).forEach(function(e){P[e]=T[e]}),this.processingTimeMS=i.reduce(function(e,i){return void 0===i.processingTimeMS?e:e+i.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var H=e.getRefinedDisjunctiveFacets(),B=getIndices(e.facets),Q=getIndices(e.disjunctiveFacets),q=1,$=v.facets||{};Object.keys($).forEach(function(i){var l=$[i],p=_(e.hierarchicalFacets,function(e){return(e.attributes||[]).indexOf(i)>-1});if(p){var y=p.attributes.indexOf(i),w=S(e.hierarchicalFacets,function(e){return e.name===p.name});P.hierarchicalFacets[w][y]={attribute:i,data:l,exhaustive:v.exhaustiveFacetsCount}}else{var T,H=-1!==e.disjunctiveFacets.indexOf(i),U=-1!==e.facets.indexOf(i);H&&(T=Q[i],P.disjunctiveFacets[T]={name:i,data:l,exhaustive:v.exhaustiveFacetsCount},assignFacetStats(P.disjunctiveFacets[T],v.facets_stats,i)),U&&(T=B[i],P.facets[T]={name:i,data:l,exhaustive:v.exhaustiveFacetsCount},assignFacetStats(P.facets[T],v.facets_stats,i))}}),this.hierarchicalFacets=p(this.hierarchicalFacets),H.forEach(function(l){var p=i[q],_=p&&p.facets?p.facets:{},T=e.getHierarchicalFacetByName(l);Object.keys(_).forEach(function(i){var l,H=_[i];if(T){l=S(e.hierarchicalFacets,function(e){return e.name===T.name});var W=S(P.hierarchicalFacets[l],function(e){return e.attribute===i});if(-1===W)return;P.hierarchicalFacets[l][W].data=P.persistHierarchicalRootCount?w(P.hierarchicalFacets[l][W].data,H):y(H,P.hierarchicalFacets[l][W].data)}else{l=Q[i];var B=v.facets&&v.facets[i]||{};P.disjunctiveFacets[l]={name:i,data:w(B,H),exhaustive:p.exhaustiveFacetsCount},assignFacetStats(P.disjunctiveFacets[l],p.facets_stats,i),e.disjunctiveFacetsRefinements[i]&&e.disjunctiveFacetsRefinements[i].forEac
1h(function(p){!P.disjunctiveFacets[l].data[p]&&e.disjunctiveFacetsRefinements[i].indexOf(U(p))>-1&&(P.disjunctiveFacets[l].data[p]=0)})}}),q++}),e.getRefinedHierarchicalFacets().forEach(function(l){var p=e.getHierarchicalFacetByName(l),v=e._getHierarchicalFacetSeparator(p),_=e.getHierarchicalRefinement(l);0===_.length||_[0].split(v).length<2||i.slice(q).forEach(function(i){var l=i&&i.facets?i.facets:{};Object.keys(l).forEach(function(i){var w=l[i],T=S(e.hierarchicalFacets,function(e){return e.name===p.name}),H=S(P.hierarchicalFacets[T],function(e){return e.attribute===i});if(-1!==H){var U={};if(_.length>0&&!P.persistHierarchicalRootCount){var W=_[0].split(v)[0];U[W]=P.hierarchicalFacets[T][H].data[W]}P.hierarchicalFacets[T][H].data=y(U,w,P.hierarchicalFacets[T][H].data)}}),q++})}),Object.keys(e.facetsExcludes).forEach(function(i){var l=e.facetsExcludes[i],p=B[i];P.facets[p]={name:i,data:$[i],exhaustive:v.exhaustiveFacetsCount},l.forEach(function(e){P.facets[p]=P.facets[p]||{name:i},P.facets[p].data=P.facets[p].data||{},P.facets[p].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(W(e)),this.facets=p(this.facets),this.disjunctiveFacets=p(this.disjunctiveFacets),this._state=e}function getFacetStatsIfAvailable(e,i){var l=_(e,function(e){return e.name===i});return l&&l.stats}function getRefinement(e,i,l,p,y){var v=_(y,function(e){return e.name===l}),S=v&&v.data&&v.data[p]?v.data[p]:0;return{type:i,attributeName:l,name:p,count:S,exhaustive:v&&v.exhaustive||!1}}SearchResults.prototype.getFacetByName=function(e){function predicate(i){return i.name===e}return _(this.facets,predicate)||_(this.disjunctiveFacets,predicate)||_(this.hierarchicalFacets,predicate)},SearchResults.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],SearchResults.prototype.getFacetValues=function(e,i){var l,p=function(e,i){function predicate(e){return e.name===i}if(e._state.isConjunctiveFacet(i)){var l=_(e.facets,predicate);return l?Object.keys(l.data).map(function(p){var y=H(p);return{name:p,escapedValue:y,count:l.data[p],isRefined:e._state.isFacetRefined(i,y),isExcluded:e._state.isExcludeRefined(i,p)}}):[]}if(e._state.isDisjunctiveFacet(i)){var p=_(e.disjunctiveFacets,predicate);return p?Object.keys(p.data).map(function(l){var y=H(l);return{name:l,escapedValue:y,count:p.data[l],isRefined:e._state.isDisjunctiveFacetRefined(i,y)}}):[]}if(e._state.isHierarchicalFacet(i)){var y=_(e.hierarchicalFacets,predicate);if(!y)return y;var v=e._state.getHierarchicalFacetByName(i),S=e._state._getHierarchicalFacetSeparator(v),P=U(e._state.getHierarchicalRefinement(i)[0]||"");0===P.indexOf(v.rootPath)&&(P=P.replace(v.rootPath+S,""));var w=P.split(S);return w.unshift(i),function setIsRefined(e,i,l){e.isRefined=e.name===(i[l]&&i[l].trim()),e.data&&e.data.forEach(function(e){setIsRefined(e,i,l+1)})}(y,w,0),y}}(this,e);if(p){var v=y(i,{sortBy:SearchResults.DEFAULT_SORT,facetOrdering:!(i&&i.sortBy)}),S=this;return l=Array.isArray(p)?[e]:S._state.getHierarchicalFacetByName(p.name).attributes,function recSort(e,i,l,p){if(p=p||0,Array.isArray(i))return e(i,l[p]);if(!i.data||0===i.data.length)return i;var v=i.data.map(function(i){return recSort(e,i,l,p+1)});return y({data:e(v,l[p])},i)}(function(e,i){var l,p,y,_,w,H,U,W=S.renderingContent&&S.renderingContent.facetOrdering&&S.renderingContent.facetOrdering.values&&S.renderingContent.facetOrdering.values[i];if(v.facetOrdering&&W)return p=[],y=[],_=W.hide||[],w=(W.order||[]).reduce(function(e,i,l){return e[i]=l,e},{}),e.forEach(function(e){var i=e.path||e.name,l=_.indexOf(i)>-1;l||void 0===w[i]?l||y.push(e):p[w[i]]=e}),p=p.filter(function(e){return e}),"hidden"===(H=W.sortRemainingBy)?p:(l="alpha"===H?[["path","name"],["asc","asc"]]:[["count"],["desc"]],p.concat(T(y,l[0],l[1])));if(Array.isArray(v.sortBy)){var B=P(v.sortBy,SearchResults.DEFAULT_SORT),Q=T(e,B[0],B[1]),q=W&&W.hide?W.hide:[];if(q.length>0){var $=[];return Q.forEach(function(e){var i=e.path||e.name;-1===q.indexOf(i)&&$.push(e)}),$}return Q}if("function"==typeof v.sortBy)return U=v.sortBy,e.sort(U);throw Error("options.sortBy is optional but if defined it must be either an array of str
1ing (predicates) or a sorting function")},p,l)}},SearchResults.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?getFacetStatsIfAvailable(this.facets,e):this._state.isDisjunctiveFacet(e)?getFacetStatsIfAvailable(this.disjunctiveFacets,e):void 0},SearchResults.prototype.getRefinements=function(){var e=this._state,i=this,l=[];return Object.keys(e.facetsRefinements).forEach(function(p){e.facetsRefinements[p].forEach(function(y){l.push(getRefinement(e,"facet",p,y,i.facets))})}),Object.keys(e.facetsExcludes).forEach(function(p){e.facetsExcludes[p].forEach(function(y){l.push(getRefinement(e,"exclude",p,y,i.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(p){e.disjunctiveFacetsRefinements[p].forEach(function(y){l.push(getRefinement(e,"disjunctive",p,y,i.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(p){e.hierarchicalFacetsRefinements[p].forEach(function(y){var v,S,P,w,T,H,U,W;l.push((v=i.hierarchicalFacets,S=e.getHierarchicalFacetByName(p),P=e._getHierarchicalFacetSeparator(S),w=y.split(P),T=_(v,function(e){return e.name===p}),U=(H=w.reduce(function(e,i){var l=e&&_(e.data,function(e){return e.name===i});return void 0!==l?l:e},T))&&H.count||0,W=H&&H.exhaustive||!1,{type:"hierarchical",attributeName:p,name:H&&H.path||"",count:U,exhaustive:W}))})}),Object.keys(e.numericRefinements).forEach(function(i){var p=e.numericRefinements[i];Object.keys(p).forEach(function(e){p[e].forEach(function(p){l.push({type:"numeric",attributeName:i,name:p,numericValue:p,operator:e})})})}),e.tagRefinements.forEach(function(e){l.push({type:"tag",attributeName:"_tags",name:e})}),l},e.exports=SearchResults},49374:function(e,i,l){"use strict";var p=l(17331),y=l(68078),v=l(94039).escapeFacetValue,_=l(14853),S=l(60185),P=l(90116),w=l(49803),T=l(67450),H=l(43650),U=l(96394),W=l(17775),B=l(23076),Q=l(97878),q=l(24336);function AlgoliaSearchHelper(e,i,l,p){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+q+")"),this.setClient(e);var y=l||{};y.index=i,this.state=W.make(y),this.recommendState=new T({params:y.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryIdReceived=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=p,this._recommendCache={}}function setCurrentPage(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function getCurrentPage(){return this.state.page}_(AlgoliaSearchHelper,p),AlgoliaSearchHelper.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},AlgoliaSearchHelper.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},AlgoliaSearchHelper.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},AlgoliaSearchHelper.prototype.recommend=function(){return this._recommend(),this},AlgoliaSearchHelper.prototype.getQuery=function(){var e=this.state;return U._getHitsSearchParams(e)},AlgoliaSearchHelper.prototype.searchOnce=function(e,i){var l=e?this.state.setQueryParameters(e):this.state,p=U._getQueries(l.index,l),y=this;if(this._currentNbQueries++,this.emit("searchOnce",{state:l}),i){this.client.search(p).then(function(e){y._currentNbQueries--,0===y._currentNbQueries&&y.emit("searchQueueEmpty"),i(null,new B(l,e.results),l)}).catch(function(e){y._currentNbQueries--,0===y._currentNbQueries&&y.emit("searchQueueEmpty"),i(e,null,l)});return}return this.client.search(p).then(function(e){return y._currentNbQueries--,0===y._currentNbQueries&&y.emit("searchQueueEmpty"),{content:new B(l,e.results),state:l,_originalResponse:e}},function(e){throw y._currentNbQueries--,0===y._currentNbQueries&&y.emit("searchQueueEmpty"),e})},AlgoliaSearchHelper.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var i=this.state,l=this.derivedHelpers[0];if(!l)return Promise.resolve([]);var p=l.getModifiedState(i),y=S({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:w(U._getHitsSearchParams(p),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),v="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(v);var _=this.client.initIndex(p.index);if("function"!=typeof _.findAnswers)throw Error(v);return _.findAnswers(p.query,e.queryLanguages,y)},AlgoliaSearchHelper.prototype.searchForFacetValues=function(e,i,l,p){var y,_="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,S="function"==typeof this.client.initIndex;if(!_&&!S&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var P=this.state.setQueryParameters(p||{}),w=P.isDisjunctiveFacet(e),T=U.getSearchForFacetQuery(e,i,l,P);this._currentNbQueries++;var H=this;_?y=this.client.searchForFacetValues([{indexName:P.index,params:T}]):S?y=this.client.initIndex(P.index).searchForFacetValues(T):(delete T.facetName,y=this.client.search([{type:"facet",facet:e,indexName:P.index,params:T}]).then(function(e){return e.results[0]}
vendor: 10,071 bytes, line 1
1)),this.emit("searchForFacetValues",{state:P,facet:e,query:i});var W=this.lastResults&&this.lastResults.index===P.index&&this.lastResults.renderingContent&&this.lastResults.renderingContent.facetOrdering&&this.lastResults.renderingContent.facetOrdering.values&&this.lastResults.renderingContent.facetOrdering.values[e]&&this.lastResults.renderingContent.facetOrdering.values[e].hide||[];return y.then(function(i){return H._currentNbQueries--,0===H._currentNbQueries&&H.emit("searchQueueEmpty"),(i=Array.isArray(i)?i[0]:i).facetHits=i.facetHits.reduce(function(i,l){return W.indexOf(l.value)>-1||(l.escapedValue=v(l.value),l.isRefined=w?P.isDisjunctiveFacetRefined(e,l.escapedValue):P.isFacetRefined(e,l.escapedValue),i.push(l)),i},[]),i},function(e){throw H._currentNbQueries--,0===H._currentNbQueries&&H.emit("searchQueueEmpty"),e})},AlgoliaSearchHelper.prototype.searchForCompositionFacetValues=function(e,i,l,p){if("function"!=typeof this.client.searchForFacetValues)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var y,_=this.state.setQueryParameters(p||{}),S=_.isDisjunctiveFacet(e);this._currentNbQueries++;var P=this;return y=this.client.searchForFacetValues({compositionID:_.index,facetName:e,searchForFacetValuesRequest:{params:{query:i,maxFacetHits:l,searchQuery:U._getCompositionHitsSearchParams(_)}}}),this.emit("searchForFacetValues",{state:_,facet:e,query:i}),y.then(function(i){return P._currentNbQueries--,0===P._currentNbQueries&&P.emit("searchQueueEmpty"),(i=i.results[0]).facetHits.forEach(function(i){i.escapedValue=v(i.value),i.isRefined=S?_.isDisjunctiveFacetRefined(e,i.escapedValue):_.isFacetRefined(e,i.escapedValue)}),i},function(e){throw P._currentNbQueries--,0===P._currentNbQueries&&P.emit("searchQueueEmpty"),e})},AlgoliaSearchHelper.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.addDisjunctiveFacetRefinement=function(e,i){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},AlgoliaSearchHelper.prototype.addHierarchicalFacetRefinement=function(e,i){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.addNumericRefinement=function(e,i,l){return this._change({state:this.state.resetPage().addNumericRefinement(e,i,l),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.addFacetRefinement=function(e,i){return this._change({state:this.state.resetPage().addFacetRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},AlgoliaSearchHelper.prototype.addFacetExclusion=function(e,i){return this._change({state:this.state.resetPage().addExcludeRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},AlgoliaSearchHelper.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},AlgoliaSearchHelper.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},AlgoliaSearchHelper.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},AlgoliaSearchHelper.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},AlgoliaSearchHelper.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},AlgoliaSearchHelper.prototype.removeNumericRefinement=function(e,i,l){return this._change({state:this.state.resetPage().removeNumericRefinement(e,i,l),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.removeDisjunctiveFacetRefinement=function(e,i){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},AlgoliaSearchHelper.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.removeFacetRefinement=function(e,i){return this._change({state:this.state.resetPage().removeFacetRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},AlgoliaSearchHelper.prototype.removeFacetExclusion=function(e,i){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},AlgoliaSearchHelper.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},AlgoliaSearchHelper.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},AlgoliaSearchHelper.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},AlgoliaSearchHelper.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},AlgoliaSearchHelper.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},AlgoliaSearchHelper.prototype.toggleFacetExclusion=function(e,i){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},AlgoliaSearchHelper.prototype.toggleRefinement=function(e,i){return this.toggleFacetRefinement(e,i)},AlgoliaSearchHelper.prototype.toggleFacetRefinement=function(e,i){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},AlgoliaSearchHelper.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},AlgoliaSearchHelper.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},AlgoliaSearchHelper.prototype.setCurrentPage=setCurrentPage,AlgoliaSearchHelper.prototype.setPage=setCurrentPage,AlgoliaSearchHelper.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.setQueryParameter=function(e,i){return this._change({state:this.state.resetPage().setQueryParameter(e,i),isPageReset:!0}),this},AlgoliaSearchHelper.prototype.setState=function(e){return this._change({state:W.make(e),isPageReset:!1}),this},AlgoliaSearchHelper.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new W(e),this},AlgoliaSearchHelper.prototype.hasRefinements=function(e){return!!P(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},AlgoliaSearchHelper.prototype.isExcluded=function(e,i){return this.state.isExcludeRefined(e,i)},AlgoliaSearchHelper.prototype.isDisjunctiveRefined=function(e,i){return this.state.isDisjunctiveFacetRefined(e,i)},AlgoliaSearchHelper.prototype.hasTag=function(e){return this.state.isTagRefined(e)},AlgoliaSearchHelper.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},AlgoliaSearchHelper.prototype.getIndex=function(){return this.state.index},AlgoliaSearchHelper.prototype.getCurrentPage=getCurrentPage,AlgoliaSearchHelper.prototype.getPage=getCurrentPage,AlgoliaSearchHelper.prototype.getTags=function(){return this.state.tagRefinements},AlgoliaSearchHelper.prototype.getRefinements=function(e){var i=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){i.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){i.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){i.push({value:e,type:"disjunctive"})});var l=this.state.getNumericRefinements(e);return Object.keys(l).forEach(function(e){var p=l[e];i.push({value:p,operator:e,type:"numeric"})}),i},AlgoliaSearchHelper.prototype.getNumericRefinement=function(e,i){return this.state.getNumericRefinement(e,i)},AlgoliaSearchHelper.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},AlgoliaSearchHelper.prototype._search=function(e){var i=this.state,l=[],p=[];e.onlyWithDerivedHelpers||(p=U._getQueries(i.index,i),l.push({state:i,queriesCount:p.length,helper:this}
1),this.emit("search",{state:i,results:this.lastResults}));var y=this.derivedHelpers.map(function(e){var p=e.getModifiedState(i),y=p.index?U._getQueries(p.index,p):[];return l.push({state:p,queriesCount:y.length,helper:e}),e.emit("search",{state:p,results:e.lastResults}),y}),v=Array.prototype.concat.apply(p,y),_=this._queryId++;if(this._currentNbQueries++,!v.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,l,_));try{this.client.search(v).then(this._dispatchAlgoliaResponse.bind(this,l,_)).catch(this._dispatchAlgoliaError.bind(this,_))}catch(e){this.emit("error",{error:e})}},AlgoliaSearchHelper.prototype._runComposition=function(){var e=this.state,i=[],l=this.derivedHelpers.map(function(l){var p=l.getModifiedState(e),y=U._getCompositionQueries(p);return i.push({state:p,helper:l}),l.emit("search",{state:p,results:l.lastResults}),y}),p=Array.prototype.concat.apply([],l),y=this._queryId++;if(this._currentNbQueries++,!p.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,i,y));if(p.length>1)throw Error("Only one query is allowed when using a composition.");var v=p[0];try{this.client.search(v).then(this._dispatchAlgoliaResponse.bind(this,i,y)).catch(this._dispatchAlgoliaError.bind(this,y))}catch(e){this.emit("error",{error:e})}},AlgoliaSearchHelper.prototype._recommend=function(){var e=this.state,i=this.recommendState,l=this.getIndex(),p=[{state:i,index:l,helper:this}],y=i.params.map(function(e){return e.$$id});this.emit("fetch",{recommend:{state:i,results:this.lastRecommendResults}});var v=this._recommendCache,_=this.derivedHelpers.map(function(i){var l=i.getModifiedState(e).index;if(!l)return[];var _=i.getModifiedRecommendState(new T);return p.push({state:_,index:l,helper:i}),y=Array.prototype.concat.apply(y,_.params.map(function(e){return e.$$id})),i.emit("fetch",{recommend:{state:_,results:i.lastRecommendResults}}),_._buildQueries(l,v)}),S=Array.prototype.concat.apply(this.recommendState._buildQueries(l,v),_);if(0!==S.length){if(S.length>0&&void 0===this.client.getRecommendations){console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");return}var P=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(S).then(this._dispatchRecommendResponse.bind(this,P,p,y)).catch(this._dispatchRecommendError.bind(this,P))}catch(e){this.emit("error",{error:e})}}},AlgoliaSearchHelper.prototype._dispatchAlgoliaResponse=function(e,i,l){var p=this;if(!(i<this._lastQueryIdReceived)){this._currentNbQueries-=i-this._lastQueryIdReceived,this._lastQueryIdReceived=i,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var y=l.results.slice(),v=Object.keys(l).reduce(function(e,i){return"results"!==i&&(e[i]=l[i]),e},{});Object.keys(v).length<=0&&(v=void 0),e.forEach(function(e){var i=e.state,l=e.queriesCount,_=e.helper,S=void 0!==l?y.splice(0,l):y;if(!i.index){_.emit("result",{results:null,state:i});return}if(S.length>0&&S[0].feedID){var P=S.map(function(e){var l=new B(i,[e],p._searchResultsOptions);return void 0!==v&&(l._rawContent=v),l});_.lastResults=new B(i,[S[0]],p._searchResultsOptions),_.lastResults.feeds=P,void 0!==v&&(_.lastResults._rawContent=v)}else _.lastResults=new B(i,S,p._searchResultsOptions),void 0!==v&&(_.lastResults._rawContent=v);_.emit("result",{results:_.lastResults,state:i})})}},AlgoliaSearchHelper.prototype._dispatchRecommendResponse=function(e,i,l,p){if(!(e<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var y=this._recommendCache,v={};l.filter(function(e){return void 0===y[e]}).forEach(function(e,i){v[e]||(v[e]=[]),v[e].push(i)}),Object.keys(v).forEach(function(e){var i=v[e],_=p.results[i[0]];if(1===i.length){y[e]=_;return}y[e]=Object.assign({},_,{hits:Q(l,i.map(function(e){return p.results[e].hits}))})});var _={};l.forEach(function(e){_[e]=y[e]}),i.forEach(function(e){var i=e.state,l=e.helper;
1if(!e.index){l.emit("recommend:result",{results:null,state:i});return}l.lastRecommendResults=new H(i,_),l.emit("recommend:result",{recommend:{results:l.lastRecommendResults,state:i}})})}},AlgoliaSearchHelper.prototype._dispatchAlgoliaError=function(e,i){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:i}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},AlgoliaSearchHelper.prototype._dispatchRecommendError=function(e,i){e<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,this.emit("error",{error:i}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},AlgoliaSearchHelper.prototype.containsRefinement=function(e,i,l,p){return e||0!==i.length||0!==l.length||0!==p.length},AlgoliaSearchHelper.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},AlgoliaSearchHelper.prototype._change=function(e){var i=e.state,l=e.isPageReset;i!==this.state&&(this.state=i,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:l}))},AlgoliaSearchHelper.prototype._recommendChange=function(e){var i=e.state;i!==this.recommendState&&(this.recommendState=i,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},AlgoliaSearchHelper.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},AlgoliaSearchHelper.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+q+")"),this.client=e),this},AlgoliaSearchHelper.prototype.getClient=function(){return this.client},AlgoliaSearchHelper.prototype.derive=function(e,i){var l=new y(this,e,i);return this.derivedHelpers.push(l),l},AlgoliaSearchHelper.prototype.detachDerivedHelper=function(e){var i=this.derivedHelpers.indexOf(e);if(-1===i)throw Error("Derived helper already detached");this.derivedHelpers.splice(i,1)},AlgoliaSearchHelper.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=AlgoliaSearchHelper},74587:function(e){"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},52344:function(e){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,i){return Object.keys(Object(i)).forEach(function(l){void 0!==i[l]&&(void 0!==e[l]&&delete e[l],e[l]=i[l])}),e},{})}},94039:function(e){"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},7888:function(e){"use strict";e.exports=function(e,i){if(Array.isArray(e)){for(var l=0;l<e.length;l++)if(i(e[l]))return e[l]}}},69725:function(e){"use strict";e.exports=function(e,i){if(!Array.isArray(e))return -1;for(var l=0;l<e.length;l++)if(i(e[l]))return l;return -1}},7948:function(e){e.exports=function(e){return e.reduce(function(e,i){return e.concat(i)},[])}},82293:function(e,i,l){"use strict";var p=l(7888);e.exports=function(e,i){var l=(i||[]).map(function(e){return e.split(":")});return e.reduce(function(e,i){var y=i.split(":"),v=p(l,function(e){return e[0]===y[0]});return y.length>1||!v?(e[0].push(y[0]),e[1].push(y[1])):(e[0].push(v[0]),e[1].push(v[1])),e},[[],[]])}},14853:function(e){"use strict";e.exports=function(e,i){e.prototype=Object.create(i.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},41190:function(e){"use strict";e.exports=function(e,i){return e.filter(function(l,p){return i.indexOf(l)>-1&&e.indexOf(l)===p})}},60185:function(e){"use strict";function isObjectOrArrayOrFunction(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){isObjectOrArrayOrFunction(e)||(e={});for(var i=1,l=arguments.length;i<l;i++){var p=arguments[i];isObjectOrArrayOrFunction(p)&&function _merge(e,i){if(e===i)return e;for(var l in i)if(Object.prototype.hasOwnProperty.call(i,l)&&"__proto__"!==l&&"constructor"!==l){var p=i[l],y=e[l];
1(void 0===y||void 0!==p)&&(isObjectOrArrayOrFunction(y)&&isObjectOrArrayOrFunction(p)?e[l]=_merge(y,p):e[l]="object"==typeof p&&null!==p?_merge(Array.isArray(p)?[]:{},p):p)}return e}(e,p)}return e}},23034:function(e){"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,i){return Object.keys(Object(i)).forEach(function(l){var p="number"==typeof e[l]?e[l]:0,y=i[l];void 0!==y&&y>=p&&(void 0!==e[l]&&delete e[l],e[l]=y)}),e},{})}},90116:function(e){"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},49803:function(e){"use strict";e.exports=function(e,i){if(null===e)return{};var l,p,y={},v=Object.keys(e);for(p=0;p<v.length;p++)l=v[p],i.indexOf(l)>=0||(y[l]=e[l]);return y}},42148:function(e){"use strict";e.exports=function(e,i,l){if(!Array.isArray(e))return[];Array.isArray(l)||(l=[]);var p=e.map(function(e,l){return{criteria:i.map(function(i){return e[i]}),index:l,value:e}});return p.sort(function(e,i){for(var p=-1;++p<e.criteria.length;){var y=function(e,i){if(e!==i){var l=void 0!==e,p=null===e,y=void 0!==i,v=null===i;if(!v&&e>i||p&&y||!l)return 1;if(!p&&e<i||v&&l||!y)return -1}return 0}(e.criteria[p],i.criteria[p]);if(y){if(p>=l.length)return y;if("desc"===l[p])return-y;return y}}return e.index-i.index}),p.map(function(e){return e.value})}},28023:function(e){"use strict";e.exports=function valToNumber(e){if("number"==typeof e)return e;if("string"==typeof e)return parseFloat(e);if(Array.isArray(e))return e.map(valToNumber);throw Error("The value should be a number, a parsable string or an array of those.")}},96394:function(e,i,l){"use strict";var p=l(60185);function sortObject(e){return Object.keys(e).sort().reduce(function(i,l){return i[l]=e[l],i},{})}var y={_getQueries:function(e,i){var l=[];return l.push({indexName:e,params:y._getHitsSearchParams(i)}),i.getRefinedDisjunctiveFacets().forEach(function(p){l.push({indexName:e,params:y._getDisjunctiveFacetSearchParams(i,p)})}),i.getRefinedHierarchicalFacets().forEach(function(p){var v=i.getHierarchicalFacetByName(p),_=i.getHierarchicalRefinement(p),S=i._getHierarchicalFacetSeparator(v);if(_.length>0&&_[0].split(S).length>1){var P=_[0].split(S).slice(0,-1).reduce(function(e,i,l){return e.concat({attribute:v.attributes[l],value:0===l?i:[e[e.length-1].value,i].join(S)})},[]);P.forEach(function(p,_){var S=y._getDisjunctiveFacetSearchParams(i,p.attribute,0===_);function hasHierarchicalFacetFilter(e){return v.attributes.some(function(i){return i===e.split(":")[0]})}var w=(S.facetFilters||[]).reduce(function(e,i){if(Array.isArray(i)){var l=i.filter(function(e){return!hasHierarchicalFacetFilter(e)});l.length>0&&e.push(l)}return"string"!=typeof i||hasHierarchicalFacetFilter(i)||e.push(i),e},[]),T=P[_-1];_>0?S.facetFilters=w.concat(T.attribute+":"+T.value):w.length>0?S.facetFilters=w:delete S.facetFilters,l.push({indexName:e,params:S})})}}),l},_getCompositionQueries:function(e){return[{compositionID:e.index,requestBody:{params:y._getCompositionHitsSearchParams(e)}}]},_getHitsSearchParams:function(e){var i=e.facets.concat(e.disjunctiveFacets).concat(y._getHitsHierarchicalFacetsAttributes(e)).sort(),l=y._getFacetFilters(e),v=y._getNumericFilters(e),_=y._getTagFilters(e),S={};return i.length>0&&(S.facets=i.indexOf("*")>-1?["*"]:i),_.length>0&&(S.tagFilters=_),l.length>0&&(S.facetFilters=l),v.length>0&&(S.numericFilters=v),sortObject(p({},e.getQueryParams(),S))},_getCompositionHitsSearchParams:function(e){var i=e.facets.concat(e.disjunctiveFacets.map(function(i){return e.disjunctiveFacetsRefinements&&e.disjunctiveFacetsRefinements[i]&&e.disjunctiveFacetsRefinements[i].length>0?"disjunctive("+i+")":i})).concat(y._getHitsHierarchicalFacetsAttributes(e)).sort(),l=y._getFacetFilters(e),v=y._getNumericFilters(e),_=y._getTagFilters(e),S={};i.length>0&&(S.facets=i.indexOf("*")>-1?["*"]:i),_.length>0&&(S.tagFilters=_),l.length>0&&(S.facetFilters=l),v.length>0&&(S.numericFilters=v);var P=e.getQueryParams();return delete P.highlightPreTag,delete P.highlightPostTag,delete P.index,sortObject(p({},P,S))},_getDisjunctiveFacetSearchParams:function(e,i,l){var v=y._getFacetFilters(e,i,l),_=y._getNumericFilters(e,i),S=y._getTagFilters(e),P={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};S.length>0&&(P.tagFilters=S);var w=e.getHierarchicalFacetByName(i);return w?P.facets=y._getDisjunctiveHierarchicalFacetAttribute(e,w,l):P.facets=i,_.length>0&&(P.numericFilters=_),v.length>0&&(P.facetFilters=v),sortObject(p({},e.getQueryParams(),P))},_getNumericFilters:function(e,i){if(e.numericFilters)return e.numericFilters;var l=[];
vendor: 3,723 bytes, line 1
1return Object.keys(e.numericRefinements).forEach(function(p){var y=e.numericRefinements[p]||{};Object.keys(y).forEach(function(e){var v=y[e]||[];i!==p&&v.forEach(function(i){if(Array.isArray(i)){var y=i.map(function(i){return p+e+i});l.push(y)}else l.push(p+e+i)})})}),l},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,i,l){var p=[],y=e.facetsRefinements||{};Object.keys(y).sort().forEach(function(e){(y[e]||[]).slice().sort().forEach(function(i){p.push(e+":"+i)})});var v=e.facetsExcludes||{};Object.keys(v).sort().forEach(function(e){(v[e]||[]).sort().forEach(function(i){p.push(e+":-"+i)})});var _=e.disjunctiveFacetsRefinements||{};Object.keys(_).sort().forEach(function(e){var l=_[e]||[];if(e!==i&&l&&0!==l.length){var y=[];l.slice().sort().forEach(function(i){y.push(e+":"+i)}),p.push(y)}});var S=e.hierarchicalFacetsRefinements||{};return Object.keys(S).sort().forEach(function(y){var v,_,P=(S[y]||[])[0];if(void 0!==P){var w=e.getHierarchicalFacetByName(y),T=e._getHierarchicalFacetSeparator(w),H=e._getHierarchicalRootPath(w);if(i===y){if(-1===P.indexOf(T)||!H&&!0===l||H&&H.split(T).length===P.split(T).length)return;H?(_=H.split(T).length-1,P=H):(_=P.split(T).length-2,P=P.slice(0,P.lastIndexOf(T))),v=w.attributes[_]}else _=P.split(T).length-1,v=w.attributes[_];v&&p.push([v+":"+P])}}),p},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(i,l){var p=e.getHierarchicalRefinement(l.name)[0];if(!p)return i.push(l.attributes[0]),i;var y=e._getHierarchicalFacetSeparator(l),v=p.split(y).length,_=l.attributes.slice(0,v+1);return i.concat(_)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,i,l){var p=e._getHierarchicalFacetSeparator(i);if(!0===l){var y=e._getHierarchicalRootPath(i),v=0;return y&&(v=y.split(p).length),[i.attributes[v]]}var _=(e.getHierarchicalRefinement(i.name)[0]||"").split(p).length-1;return i.attributes.slice(0,_+1)},getSearchForFacetQuery:function(e,i,l,v){var _=v.isDisjunctiveFacet(e)?v.clearRefinements(e):v,S={facetQuery:i,facetName:e};return"number"==typeof l&&(S.maxFacetHits=l),sortObject(p({},y._getHitsSearchParams(_),S))}};e.exports=y},46801:function(e){"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},97878:function(e,i,l){"use strict";var p=l(7888),y=l(7948);e.exports=function(e,i){var l,v,_={};return i.forEach(function(i){i.forEach(function(i,l){e.includes(i.objectID)||(_[i.objectID]?_[i.objectID]={indexSum:_[i.objectID].indexSum+l,count:_[i.objectID].count+1}:_[i.objectID]={indexSum:l,count:1})})}),(l=i.length,v=[],Object.keys(_).forEach(function(e){_[e].count<2&&(_[e].indexSum+=100),v.push({objectID:e,avgOfIndices:_[e].indexSum/l})}),v.sort(function(e,i){return e.avgOfIndices>i.avgOfIndices?1:-1})).reduce(function(e,l){var v=p(y(i),function(e){return e.objectID===l.objectID});return v?e.concat(v):e},[])}},24336:function(e){"use strict";e.exports="3.29.1"},70290:function(e){/*! algoliasearch-lite.umd.js | 4.26.0 | © Algolia, inc. | https://github.com/algolia/algoliasearch-client-javascript */e.exports=function(){"use strict";function t(e,i){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);i&&(p=p.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),l.push.apply(l,p)}return l}function r(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{};i%2?t(Object(l),!0).forEach(function(i){var p;p=l[i],i in e?Object.defineProperty(e,i,{value:p,enumerable:!0,configurable:!0,writable:!0}):e[i]=p}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):t(Object(l)).forEac
1h(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(l,i))})}return e}function o(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var l=[],p=!0,y=!1,v=void 0;try{for(var _,S=e[Symbol.iterator]();!(p=(_=S.next()).done)&&(l.push(_.value),!i||l.length!==i);p=!0);}catch(e){y=!0,v=e}finally{try{p||null==S.return||S.return()}finally{if(y)throw v}}return l}}(e,i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function a(e){return function(e){if(Array.isArray(e)){for(var i=0,l=Array(e.length);i<e.length;i++)l[i]=e[i];return l}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function u(){var e="undefined"!=typeof globalThis?globalThis:void 0;return e&&e.scheduler&&e.scheduler.yield?e.scheduler.yield().catch(function(e){return console.error("Failed to yield to main: ",e),new Promise(function(e){return setTimeout(e,0)})}):new Promise(function(e){return setTimeout(e,0)})}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{serializable:!0},i={};return{get:function(l,p){var y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}},v=JSON.stringify(l);if(v in i)return Promise.resolve(e.serializable?JSON.parse(i[v]):i[v]);var _=p(),S=y&&y.miss||function(){return Promise.resolve()};return _.then(function(e){return S(e)}).then(function(){return _})},set:function(l,p){return i[JSON.stringify(l)]=e.serializable?JSON.stringify(p):p,Promise.resolve(p)},delete:function(e){return delete i[JSON.stringify(e)],Promise.resolve()},clear:function(){return i={},Promise.resolve()}}}
1function f(e,i){return i&&Object.keys(i).forEach(function(l){e[l]=i[l](e)}),e}function h(e){for(var i=arguments.length,l=Array(i>1?i-1:0),p=1;p<i;p++)l[p-1]=arguments[p];var y=0;return e.replace(/%s/g,function(){return encodeURIComponent(l[y++])})}var e={WithinQueryParameters:0,WithinHeaders:1};function m(e,i){var l=e||{},p=l.data||{};return Object.keys(l).forEach(function(e){-1===["timeout","headers","queryParameters","data","cacheable"].indexOf(e)&&(p[e]=l[e])}),{data:Object.entries(p).length>0?p:void 0,timeout:l.timeout||i,headers:l.headers||{},queryParameters:l.queryParameters||{},cacheable:l.cacheable}}var i={Read:1,Write:2,Any:3};function b(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return r(r({},e),{},{status:i,lastUpdate:Date.now()})}function O(e){return"string"==typeof e?{protocol:"https",url:e,accept:i.Any}:{protocol:e.protocol||"https",url:e.url,accept:e.accept||i.Any}}var l="POST";function j(e,i,l,p){var y,v,_,S=[],P=function(e,i){if("GET"!==e.method&&(void 0!==e.data||void 0!==i.data))return JSON.stringify(Array.isArray(e.data)?e.data:r(r({},e.data),i.data))}(l,p),w=(y=r(r({},e.headers),p.headers),v={},Object.keys(y).forEach(function(e){var i=y[e];v[e.toLowerCase()]=i}),v),T=l.method,H="GET"!==l.method?{}:r(r({},l.data),p.data),U=r(r(r({"x-algolia-agent":e.userAgent.value},e.queryParameters),H),p.queryParameters),W=0,d=function t(i,y){var v,_,H,B=i.pop();if(void 0===B)throw{name:"RetryError",message:"Unreachable hosts - your application id may be incorrect. If the error persists, please reach out to the Algolia Support team: https://alg.li/support .",transporterStackTrace:x(S)};var Q={data:P,headers:w,method:T,url:(v=l.path,_=A(U),H="".concat(B.protocol,"://").concat(B.url,"/").concat("/"===v.charAt(0)?v.substr(1):v),_.length&&(H+="?".concat(_)),H),connectTimeout:y(W,e.timeouts.connect),responseTimeout:y(W,p.timeout)},m=function(e){var l={request:Q,response:e,host:B,triesLeft:i.length};return S.push(l),l},q={onSuccess:function(e){return function(e){try{return JSON.parse(e.content)}catch(i){throw{name:"DeserializationError",message:i.message,response:e}}}(e)},onRetry:function(l){var p=m(l);return l.isTimedOut&&W++,Promise.all([e.logger.info("Retryable failure",N(p)),e.hostsCache.set(B,b(B,l.isTimedOut?3:2))]).then(function(){return t(i,y)})},onFail:function(e){throw m(e),function(e,i){var l=e.content,p=e.status,y=l;try{y=JSON.parse(l).message}catch(e){}return{name:"ApiError",message:y,status:p,transporterStackTrace:i}}(e,x(S))}};return e.requester.send(Q).then(function(e){var i,l,p;return(i=e.status,e.isTimedOut||(l=e.isTimedOut,p=e.status,!l&&0==~~p)||2!=~~(i/100)&&4!=~~(i/100))?q.onRetry(e):2==~~(e.status/100)?q.onSuccess(e):q.onFail(e)})};return(_=e.hostsCache,Promise.all(i.map(function(e){return _.get(e,function(){return Promise.resolve(b(e))})})).then(function(e){var l=e.filter(function(e){return 1===e.status||Date.now()-e.lastUpdate>12e4}),p=e.filter(function(e){return 3===e.status&&Date.now()-e.lastUpdate<=12e4}),y=[].concat(a(l),a(p));return{getTimeout:function(e,i){return(0===p.length&&0===e?1:p.length+3+e)*i},statelessHosts:y.length>0?y.map(function(e){return O(e)}):i}})).then(function(e){return d(a(e.statelessHosts).reverse(),e.getTimeout)})}function A(e){return Object.keys(e).map(function(i){var l;return h("%s=%s",i,(l=e[i],"[object Object]"===Object.prototype.toString.call(l)||"[object Array]"===Object.prototype.toString.call(l)?JSON.stringify(e[i]):e[i]))}).join("&")}function x(e){return e.map(function(e){return N(e)})}function N(e){var i=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return r(r({},e),{},{request:r(r({},e.request),{},{headers:r(r({},e.request.headers),i)})})}var C=function(l){var p,y,v,_,S,P,w,T,H,U,W,B,Q,q=l.appId,$=(p=void 0!==l.authMode?l.authMode:e.WithinHeaders,y={"x-algolia-api-key":l.apiKey,"x-algolia-application-id":q},{headers:function(){return p===e.WithinHeaders?y:{}},queryParameters:function(){return p===e.WithinQueryParameters?y:{}}}),z=(_=(v=r(r({hosts:[{url:"".concat(q,"-dsn.algolia.net"),accept:i.Read},{url:"".concat(q,".algolia.net"),accept:i.Write}].concat(function(e){for(var i=e.length-1;i>0;i--){var l=Math.floor(Math.random()*(i+1)),p=e[i];e[i]=e[l],e[l]=p}return e}([{url:"".concat(q,"-1.algolianet.com")},{url:"".concat(q,"-2.algolianet.com")},{url:"".concat(q,"-3.algolianet.com")}]))},l),{},{headers:r(r(r({},$.headers()),{"content-type":"application/x-www-form-urlencoded"}),l.headers),queryParameters:r(r({},$.queryParameters()),l.queryParameters)})).hostsCache,S=v.logger,P=v.requester,w=v.requestsCache,T=v.responsesCache,H=v.timeouts,U=v.userAgent,W=v.hosts,B=v.queryParameters,Q={hostsCache:_,logger:S,requester:P,requestsCache:w,responsesCache:T,timeouts:H,userAgent:U,headers:v.headers,queryParameters:B,hosts:W.map(function(e){return O(e)}),read:function(e,l){var p=m(l,Q.timeouts.read),n=function(){return j(Q,Q.hosts.filter(function(e){return 0!=(e.accept&i.Read)}),e,p)};if(!0!==(void 0!==p.cacheable?p.cacheable:e.cacheable))return n();var y={request:e,mappedRequestOptions:p,transporter:{queryParameters:Q.queryParameters,headers:Q.headers}};return Q.responsesCache.get(y,function(){return Q.requestsCache.get(y,function(){return Q.requestsCache.set(y,n()).then(function(e){return Promise.all([Q.requestsCache.delete(y),e])},function(e){return Promise.all([Q.requestsCache.delete(y),Promise.reject(e)])}).then(function(e){var i=o(e,2);return i[0],i[1]})})},{miss:function(e){return Q.responsesCache.set(y,e)}})},write:function(e,l){return j(Q,Q.hosts.filter(function(e){return 0!=(e.accept&i.Write)}),e,m(l,Q.timeouts.write))}});return f({transporter:z,appId:q,addAlgoliaAgent:function(e,i){z.userAgent.add({segment:e,version:i})},clearCache:function(){return Promise.all([z.requestsCache.clear(),z.responsesCache.clear()]).then(function(){})}},l.methods)},J=function(e){return function(i,l){return"GET"===i.method?e.transporter.read(i,l):e.transporter.write(i,l)}},k=function(e){return function(i){var l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f({transporter:e.transporter,appId:e.appId,indexName:i},l.methods)}},E=function(e){return function(i,p){var y=i.map(function(e){return r(r({},e),{},{params:A(e.params||{})})});return e.transporter.read({method:l,path:"1/indexes/*/queries",data:{requests:y},cacheable:!0},p)}},I=function(e){return function(i,l){return Promise.all(i.map(function(i){var p=i.params,y=p.facetName,v=p.facetQuery,_=function(e,i){if(null==e)return{};var l,p,y=function(e,i){if(null==e)return{};var l,p,y={},v=Object.keys(e);for(p=0;p<v.length;p++)l=v[p],i.indexOf(l)>=0||(y[l]=e[l]);return y}(e,i);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(e);for(p=0;p<v.length;p++)l=v[p],i.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(y[l]=e[l])}return y}(p,["facetName","facetQuery"]);return k(e)(i.indexName,{methods:{searchForFacetValues:D}}).searchForFacetValues(y,v,r(r({},l),_))}))}},F=function(e){return function(i,p,y){return e.transporter.read({method:l,path:h("1/answers/%s/prediction",e.indexName),data:{query:i,queryLanguages:p},cacheable:!0},y)}},R=function(e){return function(i,p){return e.transporter.read({method:l,path:h("1/indexes/%s/query",e.indexName),data:{query:i},cacheable:!0},p)}},D=function(e){return function(i,p,y){return e.transporter.read({method:l,path:h("1/indexes/%s/facets/%s/query",e.indexName,i),data:{facetQuery:p},cacheable:!0},y)}},L=function(e){return function(i,p){var y=i.map(function(e){return r(r({},e),{},{threshold:e.threshold||0})});return e.transporter.read({method:l,path:"1/indexes/*/recommendations",data:{requests:y},cacheable:!0},p)}};function M(i,l,p){var y,v,_,S,P,w,T,H;return C(r(r(r({},{appId:i,apiKey:l,timeouts:{connect:1,read:2,write:30},requester:{send:function(e){return new Promise(function(i){var l=new XMLHttpRequest;
1l.open(e.method,e.url,!0),Object.keys(e.headers).forEach(function(i){return l.setRequestHeader(i,e.headers[i])});var p,o=function(e,p){return setTimeout(function(){l.abort(),i({status:0,content:p,isTimedOut:!0})},1e3*e)},y=o(e.connectTimeout,"Connection timeout");l.onreadystatechange=function(){l.readyState>l.OPENED&&void 0===p&&(clearTimeout(y),p=o(e.responseTimeout,"Socket timeout"))},l.onerror=function(){0===l.status&&(clearTimeout(y),clearTimeout(p),i({content:l.responseText||"Network request failed",status:l.status,isTimedOut:!1}))},l.onload=function(){clearTimeout(y),clearTimeout(p),i({content:l.responseText,status:l.status,isTimedOut:!1})},l.send(e.data)})}},logger:{debug:function(e,i){return Promise.resolve()},info:function(e,i){return Promise.resolve()},error:function(e,i){return console.error(e,i),Promise.resolve()}},responsesCache:c(),requestsCache:c({serializable:!1}),hostsCache:function s(e){var i=a(e.caches),l=i.shift();return void 0===l?{get:function(e,i){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return i().then(function(e){return Promise.all([e,l.miss(e)])}).then(function(e){return o(e,1)[0]})},set:function(e,i){return Promise.resolve(i)},delete:function(e){return Promise.resolve()},clear:function(){return Promise.resolve()}}:{get:function(e,p){var y=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return l.get(e,p,y).catch(function(){return s({caches:i}).get(e,p,y)})},set:function(e,p){return l.set(e,p).catch(function(){return s({caches:i}).set(e,p)})},delete:function(e){return l.delete(e).catch(function(){return s({caches:i}).delete(e)})},clear:function(){return l.clear().catch(function(){return s({caches:i}).clear()})}}}({caches:[(y={key:"".concat("4.26.0","-").concat(i)},_="algoliasearch-client-js-".concat(y.key),S=function(){return void 0===v&&(v=y.localStorage||window.localStorage),v},P=function(){return JSON.parse(S().getItem(_)||"{}")},w=function(e){S().setItem(_,JSON.stringify(e))},T=function(){var e=y.timeToLive?1e3*y.timeToLive:null,i=P(),l=(new Date).getTime();return Object.fromEntries(Object.entries(i).filter(function(i){var p=o(i,2)[1];return!(!p||void 0===p.timestamp)&&(!e||p.timestamp+e>=l)}))},{get:function(e,i){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{miss:function(){return Promise.resolve()}};return u().then(function(){var p=T(),y=p[JSON.stringify(e)];return w(p),y?y.value:i().then(function(e){return l.miss(e).then(function(){return e})})})},set:function(e,i){return u().then(function(){var l=P();return l[JSON.stringify(e)]={timestamp:(new Date).getTime(),value:i},S().setItem(_,JSON.stringify(l)),i})},delete:function(e){return u().then(function(){var i=P();delete i[JSON.stringify(e)],S().setItem(_,JSON.stringify(i))})},clear:function(){return Promise.resolve().then(function(){S().removeItem(_)})}}),c()]}),userAgent:(H={value:"Algolia for JavaScript (".concat("4.26.0",")"),add:function(e){var i="; ".concat(e.segment).concat(void 0!==e.version?" (".concat(e.version,")"):"");return -1===H.value.indexOf(i)&&(H.value="".concat(H.value).concat(i)),H}}).add({segment:"Browser",version:"lite"}),authMode:e.WithinQueryParameters}),p),{},{methods:{search:E,searchForFacetValues:I,multipleQueries:E,multipleSearchForFacetValues:I,customRequest:J,initIndex:function(e){return function(i){return k(e)(i,{methods:{search:R,searchForFacetValues:D,findAnswers:F}})}},getRecommendations:L}}))}return M.version="4.26.0",M}()},25730:function(e,i,l){"use strict";var p=l(58612),y=l(1768),v=l(68928),_=l(59770);e.exports=_||p.call(v,y)},1768:function(e){"use strict";e.exports=Function.prototype.apply},68928:function(e){"use strict";e.exports=Function.prototype.call},40319:function(e,i,l){"use strict";var p=l(58612),y=l(14453),v=l(68928),_=l(25730);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new y("a function is required");return _(p,v,e)}},59770:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},17379:function(e,i,l){"use strict";var p=l(40210),y=l(40319),v=y([p("%String.prototype.indexOf%")]);e.exports=function(e,i){var l=p(e,!!i);return"function"==typeof l&&v(e,".prototype.")>-1?y([l]):l}},99960:function(e,i){"use strict";var l,p;Object.defineProperty(i,"__esModule",{value:!0}),i.Doctype=i.CDATA=i.Tag=i.Style=i.Script=i.Comment=i.Directive=i.Text=i.Root=i.isTag=i.ElementType=void 0,(p=l=i.ElementType||(i.ElementType={})).Root="root",p.Text="text",p.Directive="directive",p.Comment="comment",p.Script="script",p.Style="style",p.Tag="tag",p.CDATA="cdata",p.Doctype="doctype",i.isTag=function(e){return e.type===l.Tag||e.type===l.Script||e.type===l.Style},i.Root=l.Root,i.Text=l.Text,i.Directive=l.Directive,i.Comment=l.Comment,
1i.Script=l.Script,i.Style=l.Style,i.Tag=l.Tag,i.CDATA=l.CDATA,i.Doctype=l.Doctype},47915:function(e,i,l){"use strict";var p=this&&this.__createBinding||(Object.create?function(e,i,l,p){void 0===p&&(p=l);var y=Object.getOwnPropertyDescriptor(i,l);(!y||("get"in y?!i.__esModule:y.writable||y.configurable))&&(y={enumerable:!0,get:function(){return i[l]}}),Object.defineProperty(e,p,y)}:function(e,i,l,p){void 0===p&&(p=l),e[p]=i[l]}),y=this&&this.__exportStar||function(e,i){for(var l in e)"default"===l||Object.prototype.hasOwnProperty.call(i,l)||p(i,e,l)};Object.defineProperty(i,"__esModule",{value:!0}),i.DomHandler=void 0;var v=l(99960),_=l(97790);y(l(97790),i);var S={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},P=function(){function DomHandler(e,i,l){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof i&&(l=i,i=S),"object"==typeof e&&(i=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=i?i:S,this.elementCB=null!=l?l:null}return DomHandler.prototype.onparserinit=function(e){this.parser=e},DomHandler.prototype.onreset=function(){this.dom=[],this.root=new _.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},DomHandler.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},DomHandler.prototype.onerror=function(e){this.handleCallback(e)},DomHandler.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},DomHandler.prototype.onopentag=function(e,i){var l=this.options.xmlMode?v.ElementType.Tag:void 0,p=new _.Element(e,i,void 0,l);this.addNode(p),this.tagStack.push(p)},DomHandler.prototype.ontext=function(e){var i=this.lastNode;if(i&&i.type===v.ElementType.Text)i.data+=e,this.options.withEndIndices&&(i.endIndex=this.parser.endIndex);else{var l=new _.Text(e);this.addNode(l),this.lastNode=l}},DomHandler.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===v.ElementType.Comment){this.lastNode.data+=e;return}var i=new _.Comment(e);this.addNode(i),this.lastNode=i},DomHandler.prototype.oncommentend=function(){this.lastNode=null},DomHandler.prototype.oncdatastart=function(){var e=new _.Text(""),i=new _.CDATA([e]);this.addNode(i),e.parent=i,this.lastNode=e},DomHandler.prototype.oncdataend=function(){this.lastNode=null},DomHandler.prototype.onprocessinginstruction=function(e,i){var l=new _.ProcessingInstruction(e,i);this.addNode(l)},DomHandler.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},DomHandler.prototype.addNode=function(e){var i=this.tagStack[this.tagStack.length-1],l=i.children[i.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),i.children.push(e),l&&(e.prev=l,l.next=e),e.parent=i,this.lastNode=null},DomHandler}();i.DomHandler=P,i.default=P},97790:function(e,i,l){"use strict";var p,y=this&&this.__extends||(p=function(e,i){return(p=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&(e[l]=i[l])})(e,i)},function(e,i){if("function"!=typeof i&&null!==i)throw TypeError("Class extends value "+String(i)+" is not a constructor or null");function __(){this.constructor=e}p(e,i),e.prototype=null===i?Object.create(i):(__.prototype=i.prototype,new __)}),v=this&&this.__assign||function(){return(v=Object.assign||function(e){for(var i,l=1,p=arguments.length;l<p;l++)for(var y in i=arguments[l])Object.prototype.hasOwnProperty.call(i,y)&&(e[y]=i[y]);return e}).apply(this,arguments)};Object.defineProperty(i,"__esModule",{value:!0}),i.cloneNode=i.hasChildren=i.isDocument=i.isDirective=i.isComment=i.isText=i.isCDATA=i.isTag=i.Element=i.Document=i.CDATA=i.NodeWithChildren=i.ProcessingInstruction=i.Comment=i.Text=i.DataNode=i.Node=void 0;var _=l(99960),S=function(){function Node(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(Node.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e}
1,enumerable:!1,configurable:!0}),Object.defineProperty(Node.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(Node.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),Node.prototype.cloneNode=function(e){return void 0===e&&(e=!1),cloneNode(this,e)},Node}();i.Node=S;var P=function(e){function DataNode(i){var l=e.call(this)||this;return l.data=i,l}return y(DataNode,e),Object.defineProperty(DataNode.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),DataNode}(S);i.DataNode=P;var w=function(e){function Text(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=_.ElementType.Text,i}return y(Text,e),Object.defineProperty(Text.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),Text}(P);i.Text=w;var T=function(e){function Comment(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=_.ElementType.Comment,i}return y(Comment,e),Object.defineProperty(Comment.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),Comment}(P);i.Comment=T;var H=function(e){function ProcessingInstruction(i,l){var p=e.call(this,l)||this;return p.name=i,p.type=_.ElementType.Directive,p}return y(ProcessingInstruction,e),Object.defineProperty(ProcessingInstruction.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),ProcessingInstruction}(P);i.ProcessingInstruction=H;var U=function(e){function NodeWithChildren(i){var l=e.call(this)||this;return l.children=i,l}return y(NodeWithChildren,e),Object.defineProperty(NodeWithChildren.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(NodeWithChildren.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(NodeWithChildren.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),NodeWithChildren}(S);i.NodeWithChildren=U;var W=function(e){function CDATA(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=_.ElementType.CDATA,i}return y(CDATA,e),Object.defineProperty(CDATA.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),CDATA}(U);i.CDATA=W;var B=function(e){function Document(){var i=null!==e&&e.apply(this,arguments)||this;return i.type=_.ElementType.Root,i}return y(Document,e),Object.defineProperty(Document.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),Document}(U);i.Document=B;var Q=function(e){function Element(i,l,p,y){void 0===p&&(p=[]),void 0===y&&(y="script"===i?_.ElementType.Script:"style"===i?_.ElementType.Style:_.ElementType.Tag);var v=e.call(this,p)||this;return v.name=i,v.attribs=l,v.type=y,v}return y(Element,e),Object.defineProperty(Element.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(Element.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(Element.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(i){var l,p;return{name:i,value:e.attribs[i],namespace:null===(l=e["x-attribsNamespace"])||void 0===l?void 0:l[i],prefix:null===(p=e["x-attribsPrefix"])||void 0===p?void 0:p[i]}})},enumerable:!1,configurable:!0}),Element}(U);function isTag(e){return(0,_.isTag)(e)}function isCDATA(e){return e.type===_.ElementType.CDATA}function isText(e){return e.type===_.ElementType.Text}function isComment(e){return e.type===_.ElementType.Comment}function isDirective(e){return e.type===_.ElementType.Directive}function isDocument(e){return e.type===_.ElementType.Root}function cloneNode(e,i){if(void 0===i&&(i=!1),isText(e))l=new w(e.data);else if(isComment(e))l=new T(e.data);else if(isTag(e)){var l,p=i?cloneChildren(e.children):[],y=new Q(e.name,v({},e.attribs),p);p.forEach(function(e){return e.parent=y}),null!=e.namespace&&(y.namespace=e.namespace),e["x-attribsNamespace"]&&(y["x-attribsNamespace"]=v({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(y["x-attribsPrefix"]=v({},e["x-attribsPrefix"])),l=y}else if(isCDATA(e)){var p=i?cloneChildren(e.children):[],_=new W(p);p.forEach(function(e){return e.parent=_}),l=_}else if(isDocument(e)){var p=i?cloneChildren(e.children):[],S=new B(p);p.forEach(function(e){return e.parent=S}),e["x-mode"]&&(S["x-mode"]=e["x-mode"]),l=S}else if(isDirective(e)){var P=new H(e.name,e.data);null!=e["x-name"]&&(P["x-name"]=e["x-name"],P["x-publicId"]=e["x-publicId"],P["x-systemId"]=e["x-systemId"]),l=P}else throw Error("Not implemented yet: ".concat(e.type));return l.startIndex=e.startIndex,l.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(l.sourceCodeLocation=e.sourceCodeLocation),l}function cloneChildren(e){for(var i=e.map(function(e){return cloneNode(e,!0)}),l=1;l<i.length;l++)i[l].prev=i[l-1],i[l-1].next=i[l];return i}i.Element=Q,i.isTag=isTag,i.isCDATA=isCDATA,i.isText=isText,i.isComment=isComment,i.isDirective=isDirective,i.isDocument=isDocument,i.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},i.cloneNode=cloneNode},96504:function(e,i,l){"use strict";var p,y=l(40319),v=l(27296);try{p=[].__proto__===Array.prototype}
1catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var _=!!p&&v&&v(Object.prototype,"__proto__"),S=Object,P=S.getPrototypeOf;e.exports=_&&"function"==typeof _.get?y([_.get]):"function"==typeof P&&function(e){return P(null==e?e:S(e))}},24429:function(e){"use strict";var i=Object.defineProperty||!1;if(i)try{i({},"a",{value:1})}catch(e){i=!1}e.exports=i},53981:function(e){"use strict";e.exports=EvalError},81648:function(e){"use strict";e.exports=Error},24726:function(e){"use strict";e.exports=RangeError},26712:function(e){"use strict";e.exports=ReferenceError},33464:function(e){"use strict";e.exports=SyntaxError},14453:function(e){"use strict";e.exports=TypeError},43915:function(e){"use strict";e.exports=URIError},68892:function(e){"use strict";e.exports=Object},17648:function(e){"use strict";var i=Object.prototype.toString,l=Math.max,concatty=function(e,i){for(var l=[],p=0;p<e.length;p+=1)l[p]=e[p];for(var y=0;y<i.length;y+=1)l[y+e.length]=i[y];return l},slicy=function(e,i){for(var l=[],p=i||0,y=0;p<e.length;p+=1,y+=1)l[y]=e[p];return l},joiny=function(e,i){for(var l="",p=0;p<e.length;p+=1)l+=e[p],p+1<e.length&&(l+=i);return l};e.exports=function(e){var p,y=this;if("function"!=typeof y||"[object Function]"!==i.apply(y))throw TypeError("Function.prototype.bind called on incompatible "+y);for(var v=slicy(arguments,1),_=l(0,y.length-v.length),S=[],P=0;P<_;P++)S[P]="$"+P;if(p=Function("binder","return function ("+joiny(S,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof p){var i=y.apply(this,concatty(v,arguments));return Object(i)===i?i:this}return y.apply(e,concatty(v,arguments))}),y.prototype){var Empty=function(){};Empty.prototype=y.prototype,p.prototype=new Empty,Empty.prototype=null}return p}},58612:function(e,i,l){"use strict";var p=l(17648);e.exports=Function.prototype.bind||p},40210:function(e,i,l){"use strict";var p,y=l(68892),v=l(81648),_=l(53981),S=l(24726),P=l(26712),w=l(33464),T=l(14453),H=l(43915),U=l(59738),W=l(76329),B=l(52264),Q=l(55730),q=l(20707),$=l(63862),z=l(29550),V=Function,getEvalledConstructor=function(e){try{return V('"use strict"; return ('+e+").constructor;")()}catch(e){}},K=l(27296),G=l(24429),throwTypeError=function(){throw new T},Z=K?function(){try{return arguments.callee,throwTypeError}catch(e){try{return K(arguments,"callee").get}catch(e){return throwTypeError}}}():throwTypeError,X=l(41405)(),Y=l(81618),ee=l(68899),et=l(10443),er=l(1768),en=l(68928),ei={},ea="undefined"!=typeof Uint8Array&&Y?Y(Uint8Array):p,eo={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?p:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?p:ArrayBuffer,"%ArrayIteratorPrototype%":X&&Y?Y([][Symbol.iterator]()):p,"%AsyncFromSyncIteratorPrototype%":p,"%AsyncFunction%":ei,"%AsyncGenerator%":ei,"%AsyncGeneratorFunction%":ei,"%AsyncIteratorPrototype%":ei,"%Atomics%":"undefined"==typeof Atomics?p:Atomics,"%BigInt%":"undefined"==typeof BigInt?p:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?p:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?p:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?p:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":v,"%eval%":eval,"%EvalError%":_,"%Float16Array%":"undefined"==typeof Float16Array?p:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?p:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?p:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?p:FinalizationRegistry,"%Function%":V,"%GeneratorFunction%":ei,"%Int8Array%":"undefined"==typeof Int8Array?p:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?p:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?p:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
1IteratorPrototype%":X&&Y?Y(Y([][Symbol.iterator]())):p,"%JSON%":"object"==typeof JSON?JSON:p,"%Map%":"undefined"==typeof Map?p:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&X&&Y?Y(new Map()[Symbol.iterator]()):p,"%Math%":Math,"%Number%":Number,"%Object%":y,"%Object.getOwnPropertyDescriptor%":K,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?p:Promise,"%Proxy%":"undefined"==typeof Proxy?p:Proxy,"%RangeError%":S,"%ReferenceError%":P,"%Reflect%":"undefined"==typeof Reflect?p:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?p:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&X&&Y?Y(new Set()[Symbol.iterator]()):p,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?p:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":X&&Y?Y(""[Symbol.iterator]()):p,"%Symbol%":X?Symbol:p,"%SyntaxError%":w,"%ThrowTypeError%":Z,"%TypedArray%":ea,"%TypeError%":T,"%Uint8Array%":"undefined"==typeof Uint8Array?p:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?p:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?p:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?p:Uint32Array,"%URIError%":H,"%WeakMap%":"undefined"==typeof WeakMap?p:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?p:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?p:WeakSet,"%Function.prototype.call%":en,"%Function.prototype.apply%":er,"%Object.defineProperty%":G,"%Object.getPrototypeOf%":ee,"%Math.abs%":U,"%Math.floor%":W,"%Math.max%":B,"%Math.min%":Q,"%Math.pow%":q,"%Math.round%":$,"%Math.sign%":z,"%Reflect.getPrototypeOf%":et};if(Y)try{null.error}catch(e){var es=Y(Y(e));eo["%Error.prototype%"]=es}var doEval=function doEval(e){var i;if("%AsyncFunction%"===e)i=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===e)i=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===e)i=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===e){var l=doEval("%AsyncGeneratorFunction%");l&&(i=l.prototype)}else if("%AsyncIteratorPrototype%"===e){var p=doEval("%AsyncGenerator%");p&&Y&&(i=Y(p.prototype))}return eo[e]=i,i},ec={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},eu=l(58612),el=l(48824),ef=eu.call(en,Array.prototype.concat),ed=eu.call(er,Array.prototype.splice),eh=eu.call(en,String.prototype.replace),ep=eu.call(en,String.prototype.slice),em=eu.call(en,RegExp.prototype.exec),eg=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ey=/\\(\\)?/g,stringToPath=function(e){var i=ep(e,0,1),l=ep(e,-1);if("%"===i&&"%"!==l)throw new w("invalid intrinsic syntax, expected closing `%`");if("%"===l&&"%"!==i)throw new w("invalid intrinsic syntax, expected opening `%`");var p=[];return eh(e,eg,function(e,i,l,y){p[p.length]=l?eh(y,ey,"$1"):i||e}),p},getBaseIntrinsic=function(e,i){var l,p=e;if(el(ec,p)&&(p="%"+(l=ec[p])[0]+"%"),el(eo,p)){var y=eo[p];if(y===ei&&(y=doEval(p)),void 0===y&&!i)throw new T("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:l,name:p,value:y}}throw new w("intrinsic "+e+" does not exist!")};e.exports=function(e,i){if("string"!=typeof e||0===e.length)throw new T("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof i)throw new T('"allowMissing" argument must be a boolean');if(null===em(/^%?[^%]*%?$/,e))throw new w("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var l=stringToPath(e),p=l.length>0?l[0]:"",y=getBaseIntrinsic("%"+p+"%",i),v=y.name,_=y.value,S=!1,P=y.alias;P&&(p=P[0],ed(l,ef([0,1],P)));for(var H=1,U=!0;H<l.length;H+=1){var W=l[H],B=ep(W,0,1),Q=ep(W,-1);if(('"'===B||"'"===B||"`"===B||'"'===Q||"'"===Q||"`"===Q)&&B!==Q)throw new w("property names with quotes must have matching quotes");if("constructor"!==W&&U||(S=!0),p+="."+W,el(eo,v="%"+p+"%"))_=eo[v];else if(null!=_){if(!(W in _)){if(!i)throw new T("base intrinsic for "+e+" exists, but the property is not available.");return}if(K&&H+1>=l.length){var q=K(_,W);_=(U=!!q)&&"get"in q&&!("originalValue"in q.get)?q.get:_[W]}else U=el(_,W),_=_[W];U&&!S&&(eo[v]=_)}}return _}},68899:function(e,i,l){"use strict";var p=l(68892);e.exports=p.getPrototypeOf||null},10443:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},81618:function(e,i,l){"use strict";var p=l(10443),y=l(68899),v=l(96504);e.exports=p?function(e){return p(e)}:y?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return y(e)}:v?function(e){return v(e)}:null},40690:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},27296:function(e,i,l){"use strict";var p=l(40690);if(p)try{p([],"length")}catch(e){p=null}e.exports=p},41405:function(e,i,l){"use strict";var p="undefined"!=typeof Symbol&&Symbol,y=l(55419);e.exports=function(){return"function"==typeof p&&"function"==typeof Symbol&&"symbol"==typeof p("foo")&&"symbol"==typeof Symbol("bar")&&y()}},55419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},i=Symbol("test"),l=Object(i);if("string"==typeof i||"[object Symbol]"!==Object.prototype.toString.call(i)||"[object Symbol]"!==Object.prototype.toString.call(l))return!1;for(var p in e[i]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var y=Object.getOwnPropertySymbols(e);if(1!==y.length||y[0]!==i||!Object.prototype.propertyIsEnumerable.call(e,i))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var v=Object.getOwnPropertyDescriptor(e,i);if(42!==v.value||!0!==v.enumerable)return!1}return!0}},48824:function(e,i,l){"use strict";var p=Function.prototype.call,y=Object.prototype.hasOwnProperty,v=l(58612);e.exports=v.call(p,y)},60885:function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.CASE_SENSITIVE_TAG_NAMES_MAP=i.CASE_SENSITIVE_TAG_NAMES=void 0,i.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],i.CASE_SENSITIVE_TAG_NAMES_MAP=i.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,i){return e[i.toLowerCase()]=i,e},{})},38276:function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0});var l,p="html",y="head",v="body",_=/<([a-zA-Z]+[0-9]?)/,S=/<head[^]*>/i,P=/<body[^]*>/i,parseFromDocument=function(e,i){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},parseFromString=function(e,i){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},w="object"==typeof window&&window.DOMParser;if("function"==typeof w){var T=new w;parseFromDocument=parseFromString=function(e,i){return i&&(e="<".concat(i,">").concat(e,"</").concat(i,">")),T.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var H=document.implementation.createHTMLDocument();parseFromDocument=function(e,i){if(i){var l=H.documentElement.querySelector(i);return l&&(l.innerHTML=e),H}return H.documentElement.innerHTML=e,H}}var U="object"==typeof document&&document.createElement("template");U&&U.content&&(l=function(e){return U.innerHTML=e,U.content.childNodes}),i.default=function(e){var i,w,T=e.match(_),H=T&&T[1]?T[1].toLowerCase():"";
1switch(H){case p:var U=parseFromString(e);if(!S.test(e)){var W=U.querySelector(y);null===(i=null==W?void 0:W.parentNode)||void 0===i||i.removeChild(W)}if(!P.test(e)){var W=U.querySelector(v);null===(w=null==W?void 0:W.parentNode)||void 0===w||w.removeChild(W)}return U.querySelectorAll(p);case y:case v:var B=parseFromDocument(e).querySelectorAll(H);if(P.test(e)&&S.test(e))return B[0].parentNode.childNodes;return B;default:if(l)return l(e);var W=parseFromDocument(e,v).querySelector(v);return W.childNodes}}},14152:function(e,i,l){"use strict";var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var y=p(l(38276)),v=l(1507),_=/<(![a-zA-Z\s]+)>/;i.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var i=e.match(_),l=i?i[1]:void 0;return(0,v.formatDOM)((0,y.default)(e),null,l)}},1507:function(e,i,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.formatDOM=i.formatAttributes=void 0;var p=l(47915),y=l(60885);function formatAttributes(e){for(var i={},l=0,p=e.length;l<p;l++){var y=e[l];i[y.name]=y.value}return i}i.formatAttributes=formatAttributes,i.formatDOM=function formatDOM(e,i,l){void 0===i&&(i=null);for(var v,_=[],S=0,P=e.length;S<P;S++){var w=e[S];switch(w.nodeType){case 1:var T=function(e){var i;return i=e=e.toLowerCase(),y.CASE_SENSITIVE_TAG_NAMES_MAP[i]||e}(w.nodeName);(v=new p.Element(T,formatAttributes(w.attributes))).children=formatDOM("template"===T?w.content.childNodes:w.childNodes,v);break;case 3:v=new p.Text(w.nodeValue);break;case 8:v=new p.Comment(w.nodeValue);break;default:continue}var H=_[S-1]||null;H&&(H.next=v),v.parent=i,v.prev=H,v.next=null,_.push(v)}return l&&((v=new p.ProcessingInstruction(l.substring(0,l.indexOf(" ")).toLowerCase(),l)).next=_[0]||null,v.parent=i,_.unshift(v),_[1]&&(_[1].prev=_[0])),_}},30488:function(e,i,l){var p=l(47915),y=l(14152).default,v=l(50484),_=l(53670);y="function"==typeof y.default?y.default:y;var S={lowerCaseAttributeNames:!1};function HTMLReactParser(e,i){if("string"!=typeof e)throw TypeError("First argument must be a string");return""===e?[]:_(y(e,(i=i||{}).htmlparser2||S),i)}HTMLReactParser.domToReact=_,HTMLReactParser.htmlToDOM=y,HTMLReactParser.attributesToProps=v,HTMLReactParser.Comment=p.Comment,HTMLReactParser.Element=p.Element,HTMLReactParser.ProcessingInstruction=p.ProcessingInstruction,HTMLReactParser.Text=p.Text,e.exports=HTMLReactParser,HTMLReactParser.default=HTMLReactParser},50484:function(e,i,l){var p=l(25726),y=l(74606),v=["checked","value"],_=["input","select","textarea"],S={reset:!0,submit:!0};function getPropName(e){return p.possibleStandardNames[e]}e.exports=function(e,i){var l,P,w,T,H,U={},W=(e=e||{}).type&&S[e.type];for(l in e){if(w=e[l],p.isCustomAttribute(l)){U[l]=w;continue}if(T=getPropName(P=l.toLowerCase())){switch(H=p.getPropertyInfo(T),-1===v.indexOf(T)||-1===_.indexOf(i)||W||(T=getPropName("default"+P)),U[T]=w,H&&H.type){case p.BOOLEAN:U[T]=!0;break;case p.OVERLOADED_BOOLEAN:""===w&&(U[T]=!0)}continue}y.PRESERVE_CUSTOM_ATTRIBUTES&&(U[l]=w)}return y.setStyleProp(e.style,U),U}},53670:function(e,i,l){var p=l(67294),y=l(50484),v=l(74606),_=v.setStyleProp,S=v.canTextBeChildOfNode;e.exports=function domToReact(e,i){for(var l,P,w,T,H,U=(i=i||{}).library||p,W=U.cloneElement,B=U.createElement,Q=U.isValidElement,q=[],$="function"==typeof i.replace,z=i.transform||v.returnFirstArg,V=i.trim,K=0,G=e.length;K<G;K++){if(l=e[K],$&&Q(w=i.replace(l))){G>1&&(w=W(w,{key:w.key||K})),q.push(z(w,l,K));continue}if("text"===l.type){if((P=!l.data.trim().length)&&l.parent&&!S(l.parent)||V&&P)continue;q.push(z(l.data,l,K));continue}switch(T=l.attribs,v.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===l.type&&v.isCustomComponent(l.name,l.attribs)?_(T.style,T):T&&(T=y(T,l.name)),H=null,l.type){case"script":case"style":l.children[0]&&(T.dangerouslySetInnerHTML={__html:l.children[0].data});break;case"tag":"textarea"===l.name&&l.children[0]?T.defaultValue=l.children[0].data:l.children&&l.children.length&&(H=domToReact(l.children,i));break;default:continue}G>1&&(T.key=K),q.push(z(B(l.name,T,H),l,K))}return 1===q.length?q[0]:q}}
1,74606:function(e,i,l){var p=l(67294),y=l(41476).default,v=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),_={reactCompat:!0},S=p.version.split(".")[0]>=16,P=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:S,ELEMENTS_WITH_NO_TEXT_CHILDREN:P,isCustomComponent:function(e,i){return -1===e.indexOf("-")?i&&"string"==typeof i.is:!v.has(e)},setStyleProp:function(e,i){if(null!=e)try{i.style=y(e,_)}catch(e){i.style={}}},canTextBeChildOfNode:function(e){return!P.has(e.name)},returnFirstArg:function(e){return e}}},18139:function(e){var i=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,l=/\n/g,p=/^\s*/,y=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,v=/^:\s*/,_=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,S=/^[;\s]*/,P=/^\s+|\s+$/g;function trim(e){return e?e.replace(P,""):""}e.exports=function(e,P){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];P=P||{};var w=1,T=1;function updatePosition(e){var i=e.match(l);i&&(w+=i.length);var p=e.lastIndexOf("\n");T=~p?e.length-p:T+e.length}function position(){var e={line:w,column:T};return function(i){return i.position=new Position(e),match(p),i}}function Position(e){this.start=e,this.end={line:w,column:T},this.source=P.source}Position.prototype.content=e;var H=[];function error(i){var l=Error(P.source+":"+w+":"+T+": "+i);if(l.reason=i,l.filename=P.source,l.line=w,l.column=T,l.source=e,P.silent)H.push(l);else throw l}function match(i){var l=i.exec(e);if(l){var p=l[0];return updatePosition(p),e=e.slice(p.length),l}}function comments(e){var i;for(e=e||[];i=comment();)!1!==i&&e.push(i);return e}function comment(){var i=position();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var l=2;""!=e.charAt(l)&&("*"!=e.charAt(l)||"/"!=e.charAt(l+1));)++l;if(l+=2,""===e.charAt(l-1))return error("End of comment missing");var p=e.slice(2,l-2);return T+=2,updatePosition(p),e=e.slice(l),T+=2,i({type:"comment",comment:p})}}return match(p),function(){var e,l=[];for(comments(l);e=function(){var e=position(),l=match(y);if(l){if(comment(),!match(v))return error("property missing ':'");var p=match(_),P=e({type:"declaration",property:trim(l[0].replace(i,"")),value:p?trim(p[0].replace(i,"")):""});return match(S),P}}();)!1!==e&&(l.push(e),comments(l));return l}()}},59738:function(e){"use strict";e.exports=Math.abs},76329:function(e){"use strict";e.exports=Math.floor},43678:function(e){"use strict";e.exports=Number.isNaN||function(e){return e!=e}},52264:function(e){"use strict";e.exports=Math.max},55730:function(e){"use strict";e.exports=Math.min},20707:function(e){"use strict";e.exports=Math.pow},63862:function(e){"use strict";e.exports=Math.round},29550:function(e,i,l){"use strict";var p=l(43678);e.exports=function(e){return p(e)||0===e?e:e<0?-1:1}},83454:function(e,i,l){"use strict";var p,y;e.exports=(null==(p=l.g.process)?void 0:p.env)&&"object"==typeof(null==(y=l.g.process)?void 0:y.env)?l.g.process:l(77663)},97498:function(e,i){"use strict";var l,p;Object.defineProperty(i,"__esModule",{value:!0}),function(e,i){for(var l in i)Object.defineProperty(e,l,{enumerable:!0,get:i[l]})}(i,{PrefetchKind:function(){return l},ACTION_REFRESH:function(){return y},ACTION_NAVIGATE:function(){return v},ACTION_RESTORE:function(){return _},ACTION_SERVER_PATCH:function(){return S},ACTION_PREFETCH:function(){return P},ACTION_FAST_REFRESH:function(){return w},ACTION_SERVER_ACTION:function(){return T}});let y="refresh",v="navigate",_="restore",S="server-patch",P="prefetch",w="fast-refresh",T="server-action";(p=l||(l={})).AUTO="auto",p.FULL="full",p.TEMPORARY="temporary",("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},10030:function(e,i,l){"use strict";function getDomainLocale(e,i,l,p){return!1}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getDomainLocale",{enumerable:!0,get:function(){return getDomainLocale}}
1),l(22866),("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},23271:function(e,i,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return Q}});let p=l(38754),y=l(61757),v=y._(l(67294)),_=p._(l(73935)),S=p._(l(79201)),P=l(53914),w=l(85494),T=l(30869);l(81905);let H=l(11823),U=p._(l(74545)),W={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function handleLoading(e,i,l,p,y,v){let _=null==e?void 0:e.src;if(!e||e["data-loaded-src"]===_)return;e["data-loaded-src"]=_;let S="decode"in e?e.decode():Promise.resolve();S.catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==i&&y(!0),null==l?void 0:l.current){let i=new Event("load");Object.defineProperty(i,"target",{writable:!1,value:e});let p=!1,y=!1;l.current({...i,nativeEvent:i,currentTarget:e,target:e,isDefaultPrevented:()=>p,isPropagationStopped:()=>y,persist:()=>{},preventDefault:()=>{p=!0,i.preventDefault()},stopPropagation:()=>{y=!0,i.stopPropagation()}})}(null==p?void 0:p.current)&&p.current(e)}})}function getDynamicProps(e){let[i,l]=v.version.split("."),p=parseInt(i,10),y=parseInt(l,10);return p>18||18===p&&y>=3?{fetchPriority:e}:{fetchpriority:e}}let B=(0,v.forwardRef)((e,i)=>{let{src:l,srcSet:p,sizes:y,height:_,width:S,decoding:P,className:w,style:T,fetchPriority:H,placeholder:U,loading:W,unoptimized:B,fill:Q,onLoadRef:q,onLoadingCompleteRef:$,setBlurComplete:z,setShowAltText:V,onLoad:K,onError:G,...Z}=e;return v.default.createElement("img",{...Z,...getDynamicProps(H),loading:W,width:S,height:_,decoding:P,"data-nimg":Q?"fill":"1",className:w,style:T,sizes:y,srcSet:p,src:l,ref:(0,v.useCallback)(e=>{i&&("function"==typeof i?i(e):"object"==typeof i&&(i.current=e)),e&&(G&&(e.src=e.src),e.complete&&handleLoading(e,U,q,$,z,B))},[l,U,q,$,z,G,B,i]),onLoad:e=>{let i=e.currentTarget;handleLoading(i,U,q,$,z,B)},onError:e=>{V(!0),"empty"!==U&&z(!0),G&&G(e)}})});function ImagePreload(e){let{isAppRouter:i,imgAttributes:l}=e,p={as:"image",imageSrcSet:l.srcSet,imageSizes:l.sizes,crossOrigin:l.crossOrigin,referrerPolicy:l.referrerPolicy,...getDynamicProps(l.fetchPriority)};return i&&_.default.preload?(_.default.preload(l.src,p),null):v.default.createElement(S.default,null,v.default.createElement("link",{key:"__nimg-"+l.src+l.srcSet+l.sizes,rel:"preload",href:l.srcSet?void 0:l.src,...p}))}let Q=(0,v.forwardRef)((e,i)=>{let l=(0,v.useContext)(H.RouterContext),p=(0,v.useContext)(T.ImageConfigContext),y=(0,v.useMemo)(()=>{let e=W||p||w.imageConfigDefault,i=[...e.deviceSizes,...e.imageSizes].sort((e,i)=>e-i),l=e.deviceSizes.sort((e,i)=>e-i);return{...e,allSizes:i,deviceSizes:l}},[p]),{onLoad:_,onLoadingComplete:S}=e,Q=(0,v.useRef)(_);(0,v.useEffect)(()=>{Q.current=_},[_]);let q=(0,v.useRef)(S);(0,v.useEffect)(()=>{q.current=S},[S]);let[$,z]=(0,v.useState)(!1),[V,K]=(0,v.useState)(!1),{props:G,meta:Z}=(0,P.getImgProps)(e,{defaultLoader:U.default,imgConf:y,blurComplete:$,showAltText:V});return v.default.createElement(v.default.Fragment,null,v.default.createElement(B,{...G,unoptimized:Z.unoptimized,placeholder:Z.placeholder,fill:Z.fill,onLoadRef:Q,onLoadingCompleteRef:q,setBlurComplete:z,setShowAltText:K,ref:i}),Z.priority?v.default.createElement(ImagePreload,{isAppRouter:!l,imgAttributes:G}):null)});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},65170:function(e,i,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return z}});let p=l(38754),y=p._(l(67294)),v=l(74450),_=l(92227),S=l(64364),P=l(10109),w=l(73607),T=l(11823),H=l(89031),U=l(40920),W=l(10030),B=l(77192),Q=l(97498),q=new Set;function prefetch(e,i,l,p,y,v){if(!v&&!(0,_.isLocalURL)(i))return;if(!p.bypassPrefetchedCheck){let y=void 0!==p.locale?p.locale:"locale"in e?e.locale:void 0,v=i+"%"+l+"%"+y;if(q.has(v))return;q.add(v)}let S=v?e.prefetch(i,y):e.prefetch(i,l,p);Promise.resolve(S).catch(e=>{})}function formatStringOrUrl(e){return"string"==typeof e?e:(0,S.formatUrl)(e)}let $=y.default.forwardRef(function(e,i){let l,p;let{href:S,as:q,children:$,prefetch:z=null,passHref:V,replace:K,shallow:G,scroll:Z,locale:X,onClick:Y,onMouseEnter:ee,onTouchStart:et,legacyBehavior:er=!1,...en}=e;l=$,er&&("string"==typeof l||"number"==typeof l)&&(l=y.default.createElement("a",null,l));let ei=y.default.useContext(T.RouterContext),ea=y.default.useContext(H.AppRouterContext),eo=null!=ei?ei:ea,es=!ei,ec=!1!==z,eu=null===z?Q.PrefetchKind.AUTO:Q.PrefetchKind.FULL,{href:el,as:ef}=y.default.useMemo(()=>
1{if(!ei){let e=formatStringOrUrl(S);return{href:e,as:q?formatStringOrUrl(q):e}}let[e,i]=(0,v.resolveHref)(ei,S,!0);return{href:e,as:q?(0,v.resolveHref)(ei,q):i||e}},[ei,S,q]),ed=y.default.useRef(el),eh=y.default.useRef(ef);er&&(p=y.default.Children.only(l));let ep=er?p&&"object"==typeof p&&p.ref:i,[em,eg,ey]=(0,U.useIntersection)({rootMargin:"200px"}),ev=y.default.useCallback(e=>{(eh.current!==ef||ed.current!==el)&&(ey(),eh.current=ef,ed.current=el),em(e),ep&&("function"==typeof ep?ep(e):"object"==typeof ep&&(ep.current=e))},[ef,ep,el,ey,em]);y.default.useEffect(()=>{eo&&eg&&ec&&prefetch(eo,el,ef,{locale:X},{kind:eu},es)},[ef,el,eg,X,ec,null==ei?void 0:ei.locale,eo,es,eu]);let eb={ref:ev,onClick(e){er||"function"!=typeof Y||Y(e),er&&p.props&&"function"==typeof p.props.onClick&&p.props.onClick(e),eo&&!e.defaultPrevented&&function(e,i,l,p,v,S,P,w,T,H){let{nodeName:U}=e.currentTarget,W="A"===U.toUpperCase();if(W&&(function(e){let i=e.currentTarget,l=i.getAttribute("target");return l&&"_self"!==l||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!T&&!(0,_.isLocalURL)(l)))return;e.preventDefault();let navigate=()=>{let e=null==P||P;"beforePopState"in i?i[v?"replace":"push"](l,p,{shallow:S,locale:w,scroll:e}):i[v?"replace":"push"](p||l,{forceOptimisticNavigation:!H,scroll:e})};T?y.default.startTransition(navigate):navigate()}(e,eo,el,ef,K,G,Z,X,es,ec)},onMouseEnter(e){er||"function"!=typeof ee||ee(e),er&&p.props&&"function"==typeof p.props.onMouseEnter&&p.props.onMouseEnter(e),eo&&(ec||!es)&&prefetch(eo,el,ef,{locale:X,priority:!0,bypassPrefetchedCheck:!0},{kind:eu},es)},onTouchStart(e){er||"function"!=typeof et||et(e),er&&p.props&&"function"==typeof p.props.onTouchStart&&p.props.onTouchStart(e),eo&&(ec||!es)&&prefetch(eo,el,ef,{locale:X,priority:!0,bypassPrefetchedCheck:!0},{kind:eu},es)}};if((0,P.isAbsoluteUrl)(ef))eb.href=ef;else if(!er||V||"a"===p.type&&!("href"in p.props)){let e=void 0!==X?X:null==ei?void 0:ei.locale,i=(null==ei?void 0:ei.isLocaleDomain)&&(0,W.getDomainLocale)(ef,e,null==ei?void 0:ei.locales,null==ei?void 0:ei.domainLocales);eb.href=i||(0,B.addBasePath)((0,w.addLocale)(ef,e,null==ei?void 0:ei.defaultLocale))}return er?y.default.cloneElement(p,eb):y.default.createElement("a",{...en,...eb},l)}),z=$;("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},40920:function(e,i,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useIntersection",{enumerable:!0,get:function(){return useIntersection}});let p=l(67294),y=l(63436),v="function"==typeof IntersectionObserver,_=new Map,S=[];function useIntersection(e){let{rootRef:i,rootMargin:l,disabled:P}=e,w=P||!v,[T,H]=(0,p.useState)(!1),U=(0,p.useRef)(null),W=(0,p.useCallback)(e=>{U.current=e},[]);(0,p.useEffect)(()=>{if(v){if(w||T)return;let e=U.current;if(e&&e.tagName){let p=function(e,i,l){let{id:p,observer:y,elements:v}=function(e){let i;let l={root:e.root||null,margin:e.rootMargin||""},p=S.find(e=>e.root===l.root&&e.margin===l.margin);if(p&&(i=_.get(p)))return i;let y=new Map,v=new IntersectionObserver(e=>{e.forEach(e=>{let i=y.get(e.target),l=e.isIntersecting||e.intersectionRatio>0;i&&l&&i(l)})},e);return i={id:l,observer:v,elements:y},S.push(l),_.set(l,i),i}(l);return v.set(e,i),y.observe(e),function(){if(v.delete(e),y.unobserve(e),0===v.size){y.disconnect(),_.delete(p);let e=S.findIndex(e=>e.root===p.root&&e.margin===p.margin);e>-1&&S.splice(e,1)}}}(e,e=>e&&H(e),{root:null==i?void 0:i.current,rootMargin:l});return p}}else if(!T){let e=(0,y.requestIdleCallback)(()=>H(!0));return()=>(0,y.cancelIdleCallback)(e)}},[w,l,i,T,U.current]);let B=(0,p.useCallback)(()=>{H(!1)},[]);return[W,T,B]}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},53914:function(e,i,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return getImgProps}}),l(81905);let p=l(32393),y=l(85494);function isStaticRequire(e){return void 0!==e.default}function getInt(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function getImgProps(e,i){var l;let v,_,S,{src:P,sizes:w,unoptimized:T=!1,priority:H=!1,loading:U,className:W,quality:B,width:Q,height:q,fill:$=!1,style:z,onLoad:V,onLoadingComplete:K,placeholder:G="empty",blurDataURL:Z,fetchPriority:X,layout:Y,objectFit:ee,objectPosition:et,lazyBoundary:er,lazyRoot:en,...ei}=e,{imgConf:ea,showAltText:eo,blurComplete:es,defaultLoader:ec}=i,eu=ea||y.imageConfigDefault;if("allSizes"in eu)v=eu;else{let e=[...eu.deviceSizes,...eu.imageSizes].sort((e,i)=>e-i),i=eu.deviceSizes.sort((e,i)=>e-i);v={...eu,allSizes:e,deviceSizes:i}}let el=ei.loader||ec;delete ei.loader,delete ei.srcSet;let ef="__next_img_default"in el;if(ef){if("custom"===v.loader)throw Error('Image with src "'+P+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=el;el=i=>{let{config:l,...p}=i;return e(p)}}if(Y){"fill"===Y&&($=!0);
1let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[Y];e&&(z={...z,...e});let i={responsive:"100vw",fill:"100vw"}[Y];i&&!w&&(w=i)}let ed="",eh=getInt(Q),ep=getInt(q);if("object"==typeof(l=P)&&(isStaticRequire(l)||void 0!==l.src)){let e=isStaticRequire(P)?P.default:P;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(_=e.blurWidth,S=e.blurHeight,Z=Z||e.blurDataURL,ed=e.src,!$){if(eh||ep){if(eh&&!ep){let i=eh/e.width;ep=Math.round(e.height*i)}else if(!eh&&ep){let i=ep/e.height;eh=Math.round(e.width*i)}}else eh=e.width,ep=e.height}}let em=!H&&("lazy"===U||void 0===U);(!(P="string"==typeof P?P:ed)||P.startsWith("data:")||P.startsWith("blob:"))&&(T=!0,em=!1),v.unoptimized&&(T=!0),ef&&P.endsWith(".svg")&&!v.dangerouslyAllowSVG&&(T=!0),H&&(X="high");let eg=getInt(B),ey=Object.assign($?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:ee,objectPosition:et}:{},eo?{}:{color:"transparent"},z),ev=es||"empty"===G?null:"blur"===G?'url("data:image/svg+xml;charset=utf-8,'+(0,p.getImageBlurSvg)({widthInt:eh,heightInt:ep,blurWidth:_,blurHeight:S,blurDataURL:Z||"",objectFit:ey.objectFit})+'")':'url("'+G+'")',eb=ev?{backgroundSize:ey.objectFit||"cover",backgroundPosition:ey.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:ev}:{},e_=function(e){let{config:i,src:l,unoptimized:p,width:y,quality:v,sizes:_,loader:S}=e;if(p)return{src:l,srcSet:void 0,sizes:void 0};let{widths:P,kind:w}=function(e,i,l){let{deviceSizes:p,allSizes:y}=e;if(l){let e=/(^|\s)(1?\d?\d)vw/g,i=[];for(let p;p=e.exec(l);p)i.push(parseInt(p[2]));if(i.length){let e=.01*Math.min(...i);return{widths:y.filter(i=>i>=p[0]*e),kind:"w"}}return{widths:y,kind:"w"}}if("number"!=typeof i)return{widths:p,kind:"w"};let v=[...new Set([i,2*i].map(e=>y.find(i=>i>=e)||y[y.length-1]))];return{widths:v,kind:"x"}}(i,y,_),T=P.length-1;return{sizes:_||"w"!==w?_:"100vw",srcSet:P.map((e,p)=>S({config:i,src:l,quality:v,width:e})+" "+("w"===w?e:p+1)+w).join(", "),src:S({config:i,src:l,quality:v,width:P[T]})}}({config:v,src:P,unoptimized:T,width:eh,quality:eg,sizes:w,loader:el}),eS={...ei,loading:em?"lazy":U,fetchPriority:X,width:eh,height:ep,decoding:"async",className:W,style:{...ey,...eb},sizes:e_.sizes,srcSet:e_.srcSet,src:e_.src},eR={unoptimized:T,priority:H,placeholder:G,fill:$};return{props:eS,meta:eR}}},32393:function(e,i){"use strict";function getImageBlurSvg(e){let{widthInt:i,heightInt:l,blurWidth:p,blurHeight:y,blurDataURL:v,objectFit:_}=e,S=p?40*p:i,P=y?40*y:l,w=S&&P?"viewBox='0 0 "+S+" "+P+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+w+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(w?"none":"contain"===_?"xMidYMid":"cover"===_?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+v+"'/%3E%3C/svg%3E"}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return getImageBlurSvg}})},645:function(e,i,l){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),function(e,i){for(var l in i)Object.defineProperty(e,l,{enumerable:!0,get:i[l]})}(i,{unstable_getImgProps:function(){return unstable_getImgProps},default:function(){return P}});let p=l(38754),y=l(53914),v=l(81905),_=l(23271),S=p._(l(74545)),unstable_getImgProps=e=>{(0,v.warnOnce)("Warning: unstable_getImgProps() is experimental and may change or be removed at any time. Use at your own risk.");let{props:i}=(0,y.getImgProps)(e,{defaultLoader:S.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,l]of Object.entries(i))void 0===l&&delete i[e];return{props:i}},P=_.Image},74545:function(e,i){"use strict";
1function defaultLoader(e){let{config:i,src:l,width:p,quality:y}=e;return i.path+"?url="+encodeURIComponent(l)+"&w="+p+"&q="+(y||75)}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return l}}),defaultLoader.__next_img_default=!0;let l=defaultLoader},77663:function(e){!function(){var i={229:function(e){var i,l,p,y=e.exports={};function defaultSetTimout(){throw Error("setTimeout has not been defined")}function defaultClearTimeout(){throw Error("clearTimeout has not been defined")}function runTimeout(e){if(i===setTimeout)return setTimeout(e,0);if((i===defaultSetTimout||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(l){try{return i.call(null,e,0)}catch(l){return i.call(this,e,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){i=defaultSetTimout}try{l="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){l=defaultClearTimeout}}();var v=[],_=!1,S=-1;function cleanUpNextTick(){_&&p&&(_=!1,p.length?v=p.concat(v):S=-1,v.length&&drainQueue())}function drainQueue(){if(!_){var e=runTimeout(cleanUpNextTick);_=!0;for(var i=v.length;i;){for(p=v,v=[];++S<i;)p&&p[S].run();S=-1,i=v.length}p=null,_=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===defaultClearTimeout||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{l(e)}catch(i){try{return l.call(null,e)}catch(i){return l.call(this,e)}}}(e)}}function Item(e,i){this.fun=e,this.array=i}function noop(){}y.nextTick=function(e){var i=Array(arguments.length-1);if(arguments.length>1)for(var l=1;l<arguments.length;l++)i[l-1]=arguments[l];v.push(new Item(e,i)),1!==v.length||_||runTimeout(drainQueue)},Item.prototype.run=function(){this.fun.apply(null,this.array)},y.title="browser",y.browser=!0,y.env={},y.argv=[],y.version="",y.versions={},y.on=noop,y.addListener=noop,y.once=noop,y.off=noop,y.removeListener=noop,y.removeAllListeners=noop,y.emit=noop,y.prependListener=noop,y.prependOnceListener=noop,y.listeners=function(e){return[]},y.binding=function(e){throw Error("process.binding is not supported")},y.cwd=function(){return"/"},y.chdir=function(e){throw Error("process.chdir is not supported")},y.umask=function(){return 0}}},l={};function __nccwpck_require__(e){var p=l[e];if(void 0!==p)return p.exports;var y=l[e]={exports:{}},v=!0;try{i[e](y,y.exports,__nccwpck_require__),v=!1}finally{v&&delete l[e]}return y.exports}__nccwpck_require__.ab="//";var p=__nccwpck_require__(229);e.exports=p}()},9008:function(e,i,l){e.exports=l(79201)},25675:function(e,i,l){e.exports=l(645)},41664:function(e,i,l){e.exports=l(65170)},11163:function(e,i,l){e.exports=l(59974)},70631:function(e,i,l){var p="function"==typeof Map&&Map.prototype,y=Object.getOwnPropertyDescriptor&&p?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,v=p&&y&&"function"==typeof y.get?y.get:null,_=p&&Map.prototype.forEach,S="function"==typeof Set&&Set.prototype,P=Object.getOwnPropertyDescriptor&&S?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,w=S&&P&&"function"==typeof P.get?P.get:null,T=S&&Set.prototype.forEach,H="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,U="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,W="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,B=Boolean.prototype.valueOf,Q=Object.prototype.toString,q=Function.prototype.toString,$=String.prototype.match,z=String.prototype.slice,V=String.prototype.replace,K=String.prototype.toUpperCase,G=String.prototype.toLowerCase,Z=RegExp.prototype.test,X=Array.prototype.concat,Y=Array.prototype.join,ee=Array.prototype.slice,et=Math.floor,er="function"==typeof BigInt?BigInt.prototype.valueOf:null,en=Object.getOwnPropertySymbols,ei="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,ea="function"==typeof Symbol&&"object"==typeof Symbol.iterator,eo="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ea?"object":"symbol")?Symbol.toStringTag:null,es=Object.prototype.propertyIsEnumerable,ec=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function addNumericSeparator(e,i){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||Z.call(/e/,i))return i;var l=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var p=e<0?-et(-e):et(e);if(p!==e){var y=String(p),v=z.call(i,y.length+1);return V.call(y,l,"$&_")+"."+V.call(V.call(v,/([0-9]{3})/g,"$&_"),/_$/,"")}}return V.call(i,l,"$&_")}var eu=l(24654),el=eu.custom,ef=isSymbol(el)?el:null,ed={__proto__:null,double:'"',single:"'"},eh={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function wrapQuotes(e,i,l){var p=ed[l.quoteStyle||i];return p+e+p}function canTrustToString(e){return!eo||!("object"==typeof e&&(eo in e||void 0!==e[eo]))}function isArray(e){return"[object Array]"===toStr(e)&&canTrustToString(e)}function isRegExp(e){return"[object RegExp]"===toStr(e)&&canTrustToString(e)}function isSymbol(e){if(ea)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
1if(!e||"object"!=typeof e||!ei)return!1;try{return ei.call(e),!0}catch(e){}return!1}e.exports=function inspect_(e,i,p,y){var S=i||{};if(has(S,"quoteStyle")&&!has(ed,S.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(has(S,"maxStringLength")&&("number"==typeof S.maxStringLength?S.maxStringLength<0&&S.maxStringLength!==1/0:null!==S.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var P=!has(S,"customInspect")||S.customInspect;if("boolean"!=typeof P&&"symbol"!==P)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(S,"indent")&&null!==S.indent&&" "!==S.indent&&!(parseInt(S.indent,10)===S.indent&&S.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(S,"numericSeparator")&&"boolean"!=typeof S.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var Q=S.numericSeparator;if(void 0===e)return"undefined";if(null===e)return"null";if("boolean"==typeof e)return e?"true":"false";if("string"==typeof e)return function inspectString(e,i){if(e.length>i.maxStringLength){var l=e.length-i.maxStringLength;return inspectString(z.call(e,0,i.maxStringLength),i)+"... "+l+" more character"+(l>1?"s":"")}var p=eh[i.quoteStyle||"single"];return p.lastIndex=0,wrapQuotes(V.call(V.call(e,p,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",i)}(e,S);if("number"==typeof e){if(0===e)return 1/0/e>0?"0":"-0";var K=String(e);return Q?addNumericSeparator(e,K):K}if("bigint"==typeof e){var Z=String(e)+"n";return Q?addNumericSeparator(e,Z):Z}var et=void 0===S.depth?5:S.depth;if(void 0===p&&(p=0),p>=et&&et>0&&"object"==typeof e)return isArray(e)?"[Array]":"[Object]";var en=function(e,i){var l;if(" "===e.indent)l=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;l=Y.call(Array(e.indent+1)," ")}return{base:l,prev:Y.call(Array(i+1),l)}}(S,p);if(void 0===y)y=[];else if(indexOf(y,e)>=0)return"[Circular]";function inspect(e,i,l){if(i&&(y=ee.call(y)).push(i),l){var v={depth:S.depth};return has(S,"quoteStyle")&&(v.quoteStyle=S.quoteStyle),inspect_(e,v,p+1,y)}return inspect_(e,S,p+1,y)}if("function"==typeof e&&!isRegExp(e)){var el=function(e){if(e.name)return e.name;var i=$.call(q.call(e),/^function\s*([\w$]+)/);return i?i[1]:null}(e),ep=arrObjKeys(e,inspect);return"[Function"+(el?": "+el:" (anonymous)")+"]"+(ep.length>0?" { "+Y.call(ep,", ")+" }":"")}if(isSymbol(e)){var em=ea?V.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ei.call(e);return"object"!=typeof e||ea?em:markBoxed(em)}if(e&&"object"==typeof e&&("undefined"!=typeof HTMLElement&&e instanceof HTMLElement||"string"==typeof e.nodeName&&"function"==typeof e.getAttribute)){for(var eg,ey="<"+G.call(String(e.nodeName)),ev=e.attributes||[],eb=0;eb<ev.length;eb++)ey+=" "+ev[eb].name+"="+wrapQuotes((eg=ev[eb].value,V.call(String(eg),/"/g,""")),"double",S);return ey+=">",e.childNodes&&e.childNodes.length&&(ey+="..."),ey+="</"+G.call(String(e.nodeName))+">"}if(isArray(e)){if(0===e.length)return"[]";var e_=arrObjKeys(e,inspect);return en&&!function(e){for(var i=0;i<e.length;i++)if(indexOf(e[i],"\n")>=0)return!1;return!0}(e_)?"["+indentedJoin(e_,en)+"]":"[ "+Y.call(e_,", ")+" ]"}if("[object Error]"===toStr(e)&&canTrustToString(e)){var eS=arrObjKeys(e,inspect);return"cause"in Error.prototype||!("cause"in e)||es.call(e,"cause")?0===eS.length?"["+String(e)+"]":"{ ["+String(e)+"] "+Y.call(eS,", ")+" }":"{ ["+String(e)+"] "+Y.call(X.call("[cause]: "+inspect(e.cause),eS),", ")+" }"}if("object"==typeof e&&P){if(ef&&"function"==typeof e[ef]&&eu)return eu(e,{depth:et-p});if("symbol"!==P&&"function"==typeof e.inspect)return e.inspect()}if(function(e){if(!v||!e||"object"!=typeof e)return!1;try{v.call(e);try{w.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(e)){var eR=[];return _&&_.call(e,function(i,l){eR.push(inspect(l,e,!0)+" => "+inspect(i,e))}),collectionOf("Map",v.call(e),eR,en)}if(function(e){if(!w||!e||"object"!=typeof e)return!1;try{w.call(e);try{v.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(e)){var ex=[];return T&&T.call(e,function(i){ex.push(inspect(i,e))}),collectionOf("Set",w.call(e),ex,en)}if(function(e){if(!H||!e||"object"!=typeof e)return!1;try{H.call(e,H);try{U.call(e,U)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(e))return weakCollectionOf("WeakMap");if(function(e){if(!U||!e||"object"!=typeof e)return!1;try{U.call(e,U);try{H.call(e,H)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(e))return weakCollectionOf("WeakSet");if(function(e){if(!W||!e||"object"!=typeof e)return!1;try{return W.call(e),!0}catch(e){}return!1}(e))return weakCollectionOf("WeakRef");if("[object Number]"===toStr(e)&&canTrustToString(e))return markBoxed(inspect(Number(e)));if(function(e){if(!e||"object"!=typeof e||!er)return!1;try{return er.call(e),!0}catch(e){}return!1}(e))return markBoxed(inspect(er.call(e)));if("[object Boolean]"===toStr(e)&&canTrustToString(e))return markBoxed(B.call(e));if("[object String]"===toStr(e)&&canTrustToString(e))return markBoxed(inspect(String(e)));if("undefined"!=typeof window&&e===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&e===globalThis||void 0!==l.g&&e===l.g)return"{ [object globalThis] }";if(!("[object Date]"===toStr(e)&&canTrustToString(e))&&!isRegExp(e)){var eP=arrObjKeys(e,inspect),ew=ec?ec(e)===Object.prototype:e instanceof Object||e.constructor===Object,eO=e instanceof Object?"":"null prototype",eE=!ew&&eo&&Object(e)===e&&eo
1in e?z.call(toStr(e),8,-1):eO?"Object":"",ej=(ew||"function"!=typeof e.constructor?"":e.constructor.name?e.constructor.name+" ":"")+(eE||eO?"["+Y.call(X.call([],eE||[],eO||[]),": ")+"] ":"");return 0===eP.length?ej+"{}":en?ej+"{"+indentedJoin(eP,en)+"}":ej+"{ "+Y.call(eP,", ")+" }"}return String(e)};var ep=Object.prototype.hasOwnProperty||function(e){return e in this};function has(e,i){return ep.call(e,i)}function toStr(e){return Q.call(e)}function indexOf(e,i){if(e.indexOf)return e.indexOf(i);for(var l=0,p=e.length;l<p;l++)if(e[l]===i)return l;return -1}function lowbyte(e){var i=e.charCodeAt(0),l={8:"b",9:"t",10:"n",12:"f",13:"r"}[i];return l?"\\"+l:"\\x"+(i<16?"0":"")+K.call(i.toString(16))}function markBoxed(e){return"Object("+e+")"}function weakCollectionOf(e){return e+" { ? }"}function collectionOf(e,i,l,p){return e+" ("+i+") {"+(p?indentedJoin(l,p):Y.call(l,", "))+"}"}function indentedJoin(e,i){if(0===e.length)return"";var l="\n"+i.prev+i.base;return l+Y.call(e,","+l)+"\n"+i.prev}function arrObjKeys(e,i){var l,p=isArray(e),y=[];if(p){y.length=e.length;for(var v=0;v<e.length;v++)y[v]=has(e,v)?i(e[v],e):""}var _="function"==typeof en?en(e):[];if(ea){l={};for(var S=0;S<_.length;S++)l["$"+_[S]]=_[S]}for(var P in e)has(e,P)&&(!p||String(Number(P))!==P||!(P<e.length))&&(ea&&l["$"+P]instanceof Symbol||(Z.call(/[^\w$]/,P)?y.push(i(P,e)+": "+i(e[P],e)):y.push(P+": "+i(e[P],e))));if("function"==typeof en)for(var w=0;w<_.length;w++)es.call(e,_[w])&&y.push("["+i(_[w])+"]: "+i(e[_[w]],e));return y}},55798:function(e){"use strict";var i=String.prototype.replace,l=/%20/g,p={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:p.RFC3986,formatters:{RFC1738:function(e){return i.call(e,l,"+")},RFC3986:function(e){return String(e)}},RFC1738:p.RFC1738,RFC3986:p.RFC3986}},80129:function(e,i,l){"use strict";var p=l(58261),y=l(55235),v=l(55798);e.exports={formats:v,parse:y,stringify:p}},55235:function(e,i,l){"use strict";var p=l(12769),y=Object.prototype.hasOwnProperty,v=Array.isArray,_={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:p.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},parseArrayValue=function(e,i,l){if(e&&"string"==typeof e&&i.comma&&e.indexOf(",")>-1)return e.split(",");if(i.throwOnLimitExceeded&&l>=i.arrayLimit)throw RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(1===i.arrayLimit?"":"s")+" allowed in an array.");return e},parseValues=function(e,i){var l={__proto__:null},S=i.ignoreQueryPrefix?e.replace(/^\?/,""):e;S=S.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var P=i.parameterLimit===1/0?void 0:i.parameterLimit,w=S.split(i.delimiter,i.throwOnLimitExceeded&&void 0!==P?P+1:P);if(i.throwOnLimitExceeded&&void 0!==P&&w.length>P)throw RangeError("Parameter limit exceeded. Only "+P+" parameter"+(1===P?"":"s")+" allowed.");var T=-1,H=i.charset;if(i.charsetSentinel)for(U=0;U<w.length;++U)0===w[U].indexOf("utf8=")&&("utf8=%E2%9C%93"===w[U]?H="utf-8":"utf8=%26%2310003%3B"===w[U]&&(H="iso-8859-1"),T=U,U=w.length);for(U=0;U<w.length;++U)if(U!==T){var U,W,B,Q=w[U],q=Q.indexOf("]="),$=-1===q?Q.indexOf("="):q+1;if(-1===$?(W=i.decoder(Q,_.decoder,H,"key"),B=i.strictNullHandling?null:""):null!==(W=i.decoder(Q.slice(0,$),_.decoder,H,"key"))&&(B=p.maybeMap(parseArrayValue(Q.slice($+1),i,v(l[W])?l[W].length:0),function(e){return i.decoder(e,_.decoder,H,"value")})),B&&i.interpretNumericEntities&&"iso-8859-1"===H&&(B=String(B).replace(/&#(\d+);/g,function(e,i){return String.fromCharCode(parseInt(i,10))})),Q.indexOf("[]=")>-1&&(B=v(B)?[B]:B),i.comma&&v(B)&&B.length>i.arrayLimit){if(i.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+i.arrayLimit+" element"+(1===i.arrayLimit?"":"s")+" allowed in an array.");B=p.combine([],B,i.arrayLimit,i.plainObjects)}if(null!==W){var z=y.call(l,W);z&&("combine"===i.duplicates||Q.indexOf("[]=")>-1)?l[W]=p.combine(l[W],B,i.arrayLimit,i.plainObjects):z&&"last"!==i.duplicates||(l[W]=B)}}return l},parseObject=function(e,i,l,y){var v=0;if(e.length>0&&"[]"===e[e.length-1]){var _=e.slice(0,-1).join("");v=Array.isArray(i)&&i[_]?i[_].length:0}for(var S=y?i:parseArrayValue(i,l,v),P=e.length-1;P>=0;--P){var w,T=e[P];if("[]"===T&&l.parseArrays)w=p.isOverflow(S)?S:l.allowEmptyArrays&&(""===S||l.strictNullHandling&&null===S)?[]:p.combine([],S,l.arrayLimit,l.plainObjects);else{w=l.plainObjects?{__proto__:null}:{};var H="["===T.charAt(0)&&"]"===T.charAt(T.length-1)?T.slice(1,-1):T,U=l.decodeDotInKeys?H.replace(/%2E/g,"."):H,W=parseInt(U,10),B=!isNaN(W)&&T!==U&&String(W)===U&&W>=0&&l.parseArrays;if(l.parseArrays||""!==U){if(B&&W<l.arrayLimit)(w=[])[W]=S;else if(B&&l.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+l.arrayLimit+" element"+(1===l.arrayLimit?"":"s")+" allowed in an array.");else B?(w[W]=S,p.markOverflow(w,W)):"__proto__"!==U&&(w[U]=S)}else w={0:S}}S=w}return S},splitKeyIntoSegments=function(e,i){var l=i.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(i.depth<=0){if(!i.plainObjects&&y.call(Object.prototype,l)&&!i.allowPrototypes)return;return[l]}var p=/(\[[^[\]]*])/g,v=/(\[[^[\]]*])/.exec(l),_=v?l.slice(0,v.index):l,S=[];if(_){if(!i.plainObjects&&y.call(Object.prototype,_)&&!i.allowPrototypes)return;S[S.length]=_}for(var P=0;null!==(v=p.exec(l))&&P<i.depth;){P+=1;var w=v[1].slice(1,-1);if(!i.plainObjects&&y.call(Object.prototype,w)&&!i.allowPrototypes)return;S[S.length]=v[1]}if(v){if(!0===i.strictDepth)throw RangeError("Input depth exceeded depth option of "+i.depth+" and strictDepth is true");S[S.length]="["+l.slice(v.index)+"]"}return S},parseKeys=function(e,i,l,p){if(e){var y=splitKeyIntoSegments(e,l);if(y)return parseObject(y,i,l,p)}},normalizeParseOptions=function(e){if(!e)return _;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.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");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var i=void 0===e.charset?_.charset:e.charset,l=void 0===e.duplicates?_.duplicates:e.duplicates;if("combine"!==l&&"first"!==l&&"last"!==l)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||_.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:_.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:_.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:_.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:_.arrayLimit,charset:i,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:_.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:_.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:_.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:_.decoder,delimiter:"string"==typeof e.delimiter||p.isRegExp(e.delimiter)?e.delimiter:_.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:_.depth,duplicates:l,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:_.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:_.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:_.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:_.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:_.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:_.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};e.exports=function(e,i){var l=normalizeParseOptions(i);if(""===e||null==e)return l.plainObjects?{__proto__:null}:{};for(var y="string"==typeof e?parseValues(e,l):e,v=l.plainObjects?{__proto__:null}:{},_=Object.keys(y),S=0;S<_.length;++S){var P=_[S],w=parseKeys(P,y[P],l,"string"==typeof e);v=p.merge(v,w,l)}return!0===l.allowSparse?v:p.compact(v)}},58261:function(e,i,l){"use strict";var p=l(37478),y=l(12769),v=l(55798),_=Object.prototype.hasOwnProperty,S={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,i){return e+"["+i+"]"},repeat:function(e){return e}},P=Array.isArray,w=Array.prototype.push,pushToArray=function(e,i){w.apply(e,P(i)?i:[i])},T=Date.prototype.toISOString,H=v.default,U={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:y.encode,encodeValuesOnly:!1,filter:void 0,format:H,formatter:v.formatters[H],indices:!1,serializeDate:function(e){return T.call(e)},skipNulls:!1,strictNullHandling:!1},W={},stringify=function stringify(e,i,l,v,_,S,w,T,H,B,Q,q,$,z,V,K,G,Z){for(var X,Y,ee=e,et=Z,er=0,en=!1;void 0!==(et=et.get(W))&&!en;){var ei=et.get(e);if(er+=1,void 0!==ei){if(ei===er)throw RangeError("Cyclic object value");en=!0}void 0===et.get(W)&&(er=0)}if("function"==typeof B?ee=B(i,ee):ee instanceof Date?ee=$(ee):"comma"===l&&P(ee)&&(ee=y.maybeMap(ee,function(e){return e instanceof Date?$(e):e})),null===ee){if(S)return H&&!K?H(i,U.encoder,G,"key",z):i;ee=""}if("string"==typeof(X=ee)||"number"==typeof X||"boolean"==typeof X||"symbol"==typeof X||"bigint"==typeof X||y.isBuffer(ee))return H?[V(K?i:H(i,U.encoder,G,"key",z))+"="+V(H(ee,U.encoder,G,"value",z))]:[V(i)+"="+V(String(ee))];var ea=[];if(void 0===ee)return ea;if("comma"===l&&P(ee))K&&H&&(ee=y.maybeMap(ee,H)),Y=[{value:ee.length>0?ee.join(",")||null:void 0}];else if(P(B))Y=B;else{var eo=Object.keys(ee);Y=Q?eo.sort(Q):eo}var es=T?String(i).replace(/\./g,"%2E"):String(i),ec=v&&P(ee)&&1===ee.length?es+"[]":es;if(_&&P(ee)&&0===ee.length)return ec+"[]";for(var eu=0;eu<Y.length;++eu){var el=Y[eu],ef="object"==typeof el&&el&&void 0!==el.value?el.value:ee[el];if(!w||null!==ef){var ed=q&&T?String(el).replace(/\./g,"%2E"):String(el),eh=P(ee)?"function"==typeof l?l(ec,ed):ec:ec+(q?"."+ed:"["+ed+"]");Z.set(e,er);var ep=p();ep.set(W,Z),pushToArray(ea,stringify(ef,eh,l,v,_,S,w,T,"comma"===l&&K&&P(ee)?null:H,B,Q,q,$,z,V,K,G,ep))}}return ea},normalizeStringifyOptions=function(e){if(!e)return U;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 i,l=e.charset||U.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 p=v.default;if(void 0!==e.format){if(!_.call(v.formatters,e.format))throw TypeError("Unknown format option provided.");p=e.format}var y=v.formatters[p],w=U.filter;if(("function"==typeof e.filter||P(e.filter))&&(w=e.filter),i=e.arrayFormat in S?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":U.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var T=void 0===e.allowDots?!0===e.encodeDotInKeys||U.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:U.addQueryPrefix,allowDots:T,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:U.allowEmptyArrays,arrayFormat:i,charset:l,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:U.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?U.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:U.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:U.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:U.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:U.encodeValuesOnly,filter:w,format:p,formatter:y,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:U.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:U.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:U.strictNullHandling}};e.exports=function(e,i){var l,y=e,v=normalizeStringifyOptions(i);"function"==typeof v.filter?y=(0,v.filter)("",y):P(v.filter)&&(l=v.filter);var _=[];if("object"!=typeof y||null===y)return"";var w=S[v.arrayFormat],T="comma"===w&&v.commaRoundTrip;l||(l=Object.keys(y)),v.sort&&l.sort(v.sort);for(var H=p(),U=0;U<l.length;++U){var W=l[U],B=y[W];v.skipNulls&&null===B||pushToArray(_,stringify(B,W,w,T,v.allowEmptyArrays,v.strictNullHandling,v.skipNulls,v.encodeDotInKeys,v.encode?v.encoder:null,v.filter,v.sort,v.allowDots,v.serializeDate,v.format,v.formatter,v.encodeValuesOnly,v.charset,H))}var Q=_.join(v.delimiter),q=!0===v.addQueryPrefix?"?":"";return v.charsetSentinel&&("iso-8859-1"===v.charset?q+="utf8=%26%2310003%3B&":q+="utf8=%E2%9C%93&"),Q.length>0?q+Q:""}},12769:function(e,i,l){"use strict";var p=l(55798),y=l(37478),v=Object.prototype.hasOwnProperty,_=Array.isArray,S=y(),markOverflow=function(e,i){return S.set(e,i),e},isOverflow=function(e){return S.has(e)},getMaxIndex=function(e){return S.get(e)},setMaxIndex=function(e,i){S.set(e,i)},P=function(){for(var e=[],i=0;i<256;++i)e[e.length]="%"+((i<16?"0":"")+i.toString(16)).toUpperCase();return e}(),compactQueue=function(e){for(;e.length>1;){var i=e.pop(),l=i.obj[i.prop];if(_(l)){for(var p=[],y=0;y<l.length;++y)void 0!==l[y]&&(p[p.length]=l[y]);i.obj[i.prop]=p}}},arrayToObject=function(e,i){for(var l=i&&i.plainObjects?{__proto__:null}:{},p=0;p<e.length;++p)void 0!==e[p]&&(l[p]=e[p]);return l};e.exports={arrayToObject:arrayToObject,assign:function(e,i){return Object.keys(i).reduce(function(e,l){return e[l]=i[l],e},e)},combine:function(e,i,l,p){if(isOverflow(e)){var y=getMaxIndex(e)+1;return e[y]=i,setMaxIndex(e,y),e}var v=[].concat(e,i);return v.length>l?markOverflow(arrayToObject(v,{plainObjects:p}),v.length-1):v},compact:function(e){for(var i=[{obj:{o:e},prop:"o"}],l=[],p=0;p<i.length;++p)for(var y=i[p],v=y.obj[y.prop],_=Object.keys(v),S=0;S<_.length;++S){var P=_[S],w=v[P];"object"==typeof w&&null!==w&&-1===l.indexOf(w)&&(i[i.length]={obj:v,prop:P},l[l.length]=w)}return compactQueue(i),e},decode:function(e,i,l){var p=e.replace(/\+/g," ");
1if("iso-8859-1"===l)return p.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(p)}catch(e){return p}},encode:function(e,i,l,y,v){if(0===e.length)return e;var _=e;if("symbol"==typeof e?_=Symbol.prototype.toString.call(e):"string"!=typeof e&&(_=String(e)),"iso-8859-1"===l)return escape(_).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var S="",w=0;w<_.length;w+=1024){for(var T=_.length>=1024?_.slice(w,w+1024):_,H=[],U=0;U<T.length;++U){var W=T.charCodeAt(U);if(45===W||46===W||95===W||126===W||W>=48&&W<=57||W>=65&&W<=90||W>=97&&W<=122||v===p.RFC1738&&(40===W||41===W)){H[H.length]=T.charAt(U);continue}if(W<128){H[H.length]=P[W];continue}if(W<2048){H[H.length]=P[192|W>>6]+P[128|63&W];continue}if(W<55296||W>=57344){H[H.length]=P[224|W>>12]+P[128|W>>6&63]+P[128|63&W];continue}U+=1,W=65536+((1023&W)<<10|1023&T.charCodeAt(U)),H[H.length]=P[240|W>>18]+P[128|W>>12&63]+P[128|W>>6&63]+P[128|63&W]}S+=H.join("")}return S},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:isOverflow,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:markOverflow,maybeMap:function(e,i){if(_(e)){for(var l=[],p=0;p<e.length;p+=1)l[l.length]=i(e[p]);return l}return i(e)},merge:function merge(e,i,l){if(!i)return e;if("object"!=typeof i&&"function"!=typeof i){if(_(e)){var p=e.length;if(l&&"number"==typeof l.arrayLimit&&p>l.arrayLimit)return markOverflow(arrayToObject(e.concat(i),l),p);e[p]=i}else if(!e||"object"!=typeof e)return[e,i];else if(isOverflow(e)){var y=getMaxIndex(e)+1;e[y]=i,setMaxIndex(e,y)}else{if(l&&l.strictMerge)return[e,i];(l&&(l.plainObjects||l.allowPrototypes)||!v.call(Object.prototype,i))&&(e[i]=!0)}return e}if(!e||"object"!=typeof e){if(isOverflow(i)){for(var S=Object.keys(i),P=l&&l.plainObjects?{__proto__:null,0:e}:{0:e},w=0;w<S.length;w++)P[parseInt(S[w],10)+1]=i[S[w]];return markOverflow(P,getMaxIndex(i)+1)}var T=[e].concat(i);return l&&"number"==typeof l.arrayLimit&&T.length>l.arrayLimit?markOverflow(arrayToObject(T,l),T.length-1):T}var H=e;return(_(e)&&!_(i)&&(H=arrayToObject(e,l)),_(e)&&_(i))?(i.forEach(function(i,p){if(v.call(e,p)){var y=e[p];y&&"object"==typeof y&&i&&"object"==typeof i?e[p]=merge(y,i,l):e[e.length]=i}else e[p]=i}),e):Object.keys(i).reduce(function(e,p){var y=i[p];if(v.call(e,p)?e[p]=merge(e[p],y,l):e[p]=y,isOverflow(i)&&!isOverflow(e)&&markOverflow(e,getMaxIndex(i)),isOverflow(e)){var _=parseInt(p,10);String(_)===p&&_>=0&&_>getMaxIndex(e)&&setMaxIndex(e,_)}return e},H)}}},25726:function(e,i,l){"use strict";function PropertyInfoRecord(e,i,l,p,y,v,_){this.acceptsBooleans=2===i||3===i||4===i,this.attributeName=p,this.attributeNamespace=y,this.mustUseProperty=l,this.propertyName=e,this.type=i,this.sanitizeURL=v,this.removeEmptyString=_}let p={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{p[e]=new PropertyInfoRecord(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,i])=>{p[e]=new PropertyInfoRecord(e,1,!1,i,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{p[e]=new PropertyInfoRecord(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{p[e]=new PropertyInfoRecord(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{p[e]=new PropertyInfoRecord(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{p[e]=new PropertyInfoRecord(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{p[e]=new PropertyInfoRecord(e,4,!1,e,null,!1,!1)}
1),["cols","rows","size","span"].forEach(e=>{p[e]=new PropertyInfoRecord(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{p[e]=new PropertyInfoRecord(e,5,!1,e.toLowerCase(),null,!1,!1)});let y=/[\-\:]([a-z])/g,capitalize=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let i=e.replace(y,capitalize);p[i]=new PropertyInfoRecord(i,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let i=e.replace(y,capitalize);p[i]=new PropertyInfoRecord(i,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let i=e.replace(y,capitalize);p[i]=new PropertyInfoRecord(i,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{p[e]=new PropertyInfoRecord(e,1,!1,e.toLowerCase(),null,!1,!1)}),p.xlinkHref=new PropertyInfoRecord("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{p[e]=new PropertyInfoRecord(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:v,SAME:_,possibleStandardNames:S}=l(78229),P=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),w=Object.keys(S).reduce((e,i)=>{let l=S[i];return l===_?e[i]=i:l===v?e[i.toLowerCase()]=i:e[i]=l,e},{});i.BOOLEAN=3,i.BOOLEANISH_STRING=2,i.NUMERIC=5,i.OVERLOADED_BOOLEAN=4,i.POSITIVE_NUMERIC=6,i.RESERVED=0,i.STRING=1,i.getPropertyInfo=function(e){return p.hasOwnProperty(e)?p[e]:null},i.isCustomAttribute=P,i.possibleStandardNames=w},78229:function(e,i){i.SAME=0,i.CAMELCASE=1,i.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInl
1ine:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
1-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},35747:function(e,i,l){"use strict";var p=l(70631),y=l(14453),listGetNode=function(e,i,l){for(var p,y=e;null!=(p=y.next);y=p)if(p.key===i)return y.next=p.next,l||(p.next=e.next,e.next=p),p},listGet=function(e,i){if(e){var l=listGetNode(e,i);return l&&l.value}},listSet=function(e,i,l){var p=listGetNode(e,i);p?p.value=l:e.next={key:i,next:e.next,value:l}},listDelete=function(e,i){if(e)return listGetNode(e,i,!0)};e.exports=function(){var e,i={assert:function(e){if(!i.has(e))throw new y("Side channel does not contain "+p(e))},delete:function(i){var l=listDelete(e,i);return l&&e&&!e.next&&(e=void 0),!!l},get:function(i){return listGet(e,i)},has:function(i){var l;return!!(l=e)&&!!listGetNode(l,i)},set:function(i,l){e||(e={next:void 0}),listSet(e,i,l)}};return i}},23595:function(e,i,l){"use strict";var p=l(40210),y=l(17379),v=l(70631),_=l(14453),S=p("%Map%",!0),P=y("Map.prototype.get",!0),w=y("Map.prototype.set",!0),T=y("Map.prototype.has",!0),H=y("Map.prototype.delete",!0),U=y("Map.prototype.size",!0);e.exports=!!S&&function(){var e,i={assert:function(e){if(!i.has(e))throw new _("Side channel does not contain "+v(e))},delete:function(i){if(e){var l=H(e,i);return 0===U(e)&&(e=void 0),l}return!1},get:function(i){if(e)return P(e,i)},has:function(i){return!!e&&T(e,i)},set:function(i,l){e||(e=new S),w(e,i,l)}};return i}},69034:function(e,i,l){"use strict";var p=l(40210),y=l(17379),v=l(70631),_=l(23595),S=l(14453),P=p("%WeakMap%",!0),w=y("WeakMap.prototype.get",!0),T=y("WeakMap.prototype.set",!0),H=y("WeakMap.prototype.has",!0),U=y("WeakMap.prototype.delete",!0);e.exports=P?function(){var e,i,l={assert:function(e){if(!l.has(e))throw new S("Side channel does not contain "+v(e))},delete:function(l){if(P&&l&&("object"==typeof l||"function"==typeof l)){if(e)return U(e,l)}else if(_&&i)return i.delete(l);return!1},get:function(l){return P&&l&&("object"==typeof l||"function"==typeof l)&&e?w(e,l):i&&i.get(l)},has:function(l){return P&&l&&("object"==typeof l||"function"==typeof l)&&e?H(e,l):!!i&&i.has(l)},set:function(l,p){P&&l&&("object"==typeof l||"function"==typeof l)?(e||(e=new P),T(e,l,p)):_&&(i||(i=_()),i.set(l,p))}};return l}:_},37478:function(e,i,l){"use strict";var p=l(14453),y=l(70631),v=l(35747),_=l(23595),S=l(69034)||_||v;e.exports=function(){var e,i={assert:function(e){if(!i.has(e))throw new p("Side channel does not contain "+y(e))},delete:function(i){return!!e&&e.delete(i)},get:function(i){return e&&e.get(i)},has:function(i){return!!e&&e.has(i)},set:function(i,l){e||(e=S()),e.set(i,l)}};return i}},41476:function(e,i,l){"use strict";var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var y=p(l(5174)),v=l(26678);i.default=function(e,i){var l={};return e&&"string"==typeof e&&(0,y.default)(e,function(e,p){e&&p&&(l[(0,v.camelCase)(e,i)]=p)}),l}},26678:function(e,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}
1),i.camelCase=void 0;var l=/^--[a-zA-Z0-9-]+$/,p=/-([a-z])/g,y=/^[^-]+$/,v=/^-(webkit|moz|ms|o|khtml)-/,_=/^-(ms)-/,capitalize=function(e,i){return i.toUpperCase()},trimHyphen=function(e,i){return"".concat(i,"-")};i.camelCase=function(e,i){var S;return(void 0===i&&(i={}),!(S=e)||y.test(S)||l.test(S))?e:(e=e.toLowerCase(),(e=i.reactCompat?e.replace(_,trimHyphen):e.replace(v,trimHyphen)).replace(p,capitalize))}},5174:function(e,i,l){"use strict";var p=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(i,"__esModule",{value:!0});var y=p(l(18139));i.default=function(e,i){var l=null;if(!e||"string"!=typeof e)return l;var p=(0,y.default)(e),v="function"==typeof i;return p.forEach(function(e){if("declaration"===e.type){var p=e.property,y=e.value;v?i(p,y,e):y&&((l=l||{})[p]=y)}}),l}},83:function(e,i,l){"use strict";/** 2 * @license React 3 * use-sync-external-store-shim.production.js 4 * 5 * Copyright (c) Meta Platforms, Inc. and affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var p=l(67294),y="function"==typeof Object.is?Object.is:function(e,i){return e===i&&(0!==e||1/e==1/i)||e!=e&&i!=i},v=p.useState,_=p.useEffect,S=p.useLayoutEffect,P=p.useDebugValue;function checkIfSnapshotChanged(e){var i=e.getSnapshot;e=e.value;try{var l=i();return!y(e,l)}catch(e){return!0}}var w="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,i){return i()}:function(e,i){var l=i(),p=v({inst:{value:l,getSnapshot:i}}),y=p[0].inst,w=p[1];return S(function(){y.value=l,y.getSnapshot=i,checkIfSnapshotChanged(y)&&w({inst:y})},[e,l,i]),_(function(){return checkIfSnapshotChanged(y)&&w({inst:y}),e(function(){checkIfSnapshotChanged(y)&&w({inst:y})})},[e]),P(l),l};i.useSyncExternalStore=void 0!==p.useSyncExternalStore?p.useSyncExternalStore:w},61688:function(e,i,l){"use strict";e.exports=l(83)},25935:function(e,i,l){"use strict";var p=l(30488);p.domToReact,p.htmlToDOM,p.attributesToProps,p.Comment,p.Element,p.ProcessingInstruction,p.Text,i.ZP=p},53758:function(e,i,l){"use strict";function cx(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];return i.reduce(function(e,i){return Array.isArray(i)?e.concat(i):e.concat([i])},[]).filter(Boolean).join(" ")}l.d(i,{cx:function(){return cx}})},73305:function(e,i,l){"use strict";function _object_spread(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{},p=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(p=p.concat(Object.getOwnPropertySymbols(l).filter(function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}))),p.forEach(function(i){var p;p=l[i],i in e?Object.defineProperty(e,i,{value:p,enumerable:!0,configurable:!0,writable:!0}):e[i]=p})}return e}l.d(i,{_:function(){return _object_spread}})},68348:function(e,i,l){"use strict";function _object_spread_props(e,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):(function(e,i){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);l.push.apply(l,p)}return l})(Object(i)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(i,l))}),e}l.d(i,{_:function(){return _object_spread_props}})},59599:function(e,i,l){"use strict";function _object_without_properties(e,i){if(null==e)return{};var l,p,y,v={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(y=0,l=Reflect.ownKeys(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}if(v=function(e,i){if(null==e)return{};var l,p,y={},v=Object.getOwnPropertyNames(e);for(p=0;p<v.length;p++)l=v[p],!(i.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(y[l]=e[l]);return y}(e,i),Object.getOwnPropertySymbols)for(y=0,l=Object.getOwnPropertySymbols(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}l.d(i,{_:function(){return _object_without_properties}})},76587:function(e,i,l){"use strict";l.d(i,{Z:function(){return historyRouter}});var p=l(52060),y=l(56529),v=l(96019),_=l(80129),S=l(53871),setWindowTitle=function(e){e&&(window.document.title=e)},P=function(){function BrowserHistory(e){var i=this,l=e.windowTitle,y=e.writeDelay,_=e.createURL,P=e.parseURL,w=e.getLocation,T=e.start,H=e.dispose,U=e.push,W=e.cleanUrlOnDispose;(0,p._)(this,BrowserHistory),(0,v._)(this,"$$type","ais.browser"),(0,v._)(this,"windowTitle",void 0),(0,v._)(this,"writeDelay",void 0),(0,v._)(this,"_createURL",void 0),(0,v._)(this,"parseURL",void 0),(0,v._)(this,"getLocation",void 0),(0,v._)(this,"writeTimer",void 0),(0,v._)(this,"_onPopState",void 0),(0,v._)(this,"inPopState",!1),(0,v._)(this,"isDisposed",!1),(0,v._)(this,"latestAcknowledgedHistory",0),(0,v._)(this,"_start",void 0),(0,v._)(this,"_dispose",void 0),(0,v._)(this,"_push",void 0),(0,v._)(this,"_cleanUrlOnDispose",void 0),this.windowTitle=l,this.writeTimer=void 0,this.writeDelay=void 0===y?400:y,this._createURL=_,this.parseURL=P,this.getLocation=w,this._start=T,this._dispose=H,this._push=U,this._cleanUrlOnDispose=void 0===W||W,(0,S.U)(function(e){var l=e.window;setWindowTitle(i.windowTitle&&i.windowTitle(i.read())),i.latestAcknowledgedHistory=l.history.length})}return(0,y._)(BrowserHistory,[{key:"read",value:function(){return this.parseURL({qsModule:_,location:this.getLocation()})}},{key:"write",value:function(e){var i=this;(0,S.U)(function(l){var p=l.window,y=i.createURL(e),v=i.windowTitle&&i.windowTitle(e);i.writeTimer&&clearTimeout(i.writeTimer),i.writeTimer=setTimeout(function(){setWindowTitle(v),i.shouldWrite(y)&&(i._push?i._push(y):p.history.pushState(e,v||"",y),i.latestAcknowledgedHistory=p.history.length),i.inPopState=!1,i.writeTimer=void 0},i.writeDelay)})}}
9,{key:"onUpdate",value:function(e){var i=this;this._start&&this._start(function(){e(i.read())}),this._onPopState=function(){i.writeTimer&&(clearTimeout(i.writeTimer),i.writeTimer=void 0),i.inPopState=!0,e(i.read())},(0,S.U)(function(e){e.window.addEventListener("popstate",i._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:_,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,(0,S.U)(function(i){var l=i.window;e._onPopState&&l.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var i=this;return(0,S.U)(function(l){var p=l.window;if(i.isDisposed&&!i._cleanUrlOnDispose)return!1;var y=!(i.isDisposed&&i.latestAcknowledgedHistory!==p.history.length);return!i.inPopState&&y&&e!==p.location.href})}}]),BrowserHistory}();function historyRouter(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.createURL,l=void 0===i?function(e){var i=e.qsModule,l=e.routeState,p=e.location,y=p.protocol,v=p.hostname,_=p.port,S=void 0===_?"":_,P=p.pathname,w=p.hash,T=i.stringify(l),H=""===S?"":":".concat(S);return T?"".concat(y,"//").concat(v).concat(H).concat(P,"?").concat(T).concat(w):"".concat(y,"//").concat(v).concat(H).concat(P).concat(w)}:i,p=e.parseURL,y=e.writeDelay,v=e.windowTitle,_=e.getLocation,w=void 0===_?function(){return(0,S.U)(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:_,T=e.start,H=e.dispose,U=e.push,W=e.cleanUrlOnDispose;return new P({createURL:l,parseURL:void 0===p?function(e){var i=e.qsModule,l=e.location;return i.parse(l.search.slice(1),{arrayLimit:99})}:p,writeDelay:void 0===y?400:y,windowTitle:v,getLocation:w,start:T,dispose:H,push:U,cleanUrlOnDispose:W})}},28537:function(e,i,l){"use strict";function checkRendering(e,i){if(void 0===e||"function"!=typeof e)throw Error("The render function is not valid (received type ".concat(Object.prototype.toString.call(e).slice(8,-1),").\n\n").concat(i))}l.d(i,{_:function(){return checkRendering}})},87456:function(e,i,l){"use strict";function createDocumentationMessageGenerator(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];var p=i.map(function(e){var i;return["https://www.algolia.com/doc/api-reference/widgets/",e.name,"/js/",void 0!==(i=e.connector)&&i?"#connector":""].join("")}).join(", ");return function(e){return[e,"See documentation: ".concat(p)].filter(Boolean).join("\n\n")}}l.d(i,{K:function(){return createDocumentationMessageGenerator}})},82165:function(e,i,l){"use strict";l.d(i,{dg:function(){return P},Rn:function(){return w},mY:function(){return escapeHits}});var p=l(96019);function _extends(){return(_extends=Object.assign||function(e){for(var i=1;i<arguments.length;i++){var l=arguments[i];for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(e[p]=l[p])}return e}).apply(this,arguments)}var y=l(24414),v=l(32920),_=l(22686),S=l(17350),P={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},w={highlightPreTag:"<mark>",highlightPostTag:"</mark>"};function recursiveEscape(e){var i;return function(e){if(!((void 0===e?"undefined":(0,S._)(e))==="object"&&null!==e)||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var i=e;null!==Object.getPrototypeOf(i);)i=Object.getPrototypeOf(i);return Object.getPrototypeOf(e)===i}(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(i,l){return(0,v._)((0,y._)({},i),(0,p._)({},l,recursiveEscape(e[l])))},{}):Array.isArray(e)?e.map(recursiveEscape):(0,v._)((0,y._)({},e),{value:(i=e.value,(0,_.Y)(i).replace(RegExp(P.highlightPreTag,"g"),w.highlightPreTag).replace(RegExp(P.highlightPostTag,"g"),w.highlightPostTag))})}function escapeHits(e){return void 0===e.__escaped&&((e=e.map(function(e){!function(e){if(null==e)throw TypeError("Cannot destructure "+e)}(e);var i=_extends({},e);return i._highlightResult&&(i._highlightResult=recursiveEscape(i._highlightResult)),i._snippetResult&&(i._snippetResult=recursiveEscape(i._snippetResult)),i})).__escaped=!0),e}},22686:function(e,i,l){"use strict";l.d(i,{A:function(){return unescape},Y:function(){return escape}});var p={"&":"&","<":"<",">":">",'"':""","'":"'"},y=/[&<>"']/g,v=RegExp(y.source);function escape(e){return e&&v.test(e)?e.replace(y,function(e){return p[e]}):e}var _={"&":"&","<":"<",">":">",""":'"',"'":"'"},S=/&(amp|quot|lt|gt|#39);/g,P=RegExp(S.source);function unescape(e){return e&&P.test(e)?e.replace(S,function(e){return _[e]}):e}},48361:function(e,i,l){"use strict";l.d(i,{H:function(){return getHighlightedParts}});var p=l(82165);function getHighlightedParts(e){var i=p.Rn.highlightPostTag,l=p.Rn.highlightPreTag,y=e.split(l),v=y.shift(),_=v?[{value:v,isHighlighted:!1}]:[];
9return y.forEach(function(e){var l=e.split(i);_.push({value:l[0],isHighlighted:!0}),""!==l[1]&&_.push({value:l[1],isHighlighted:!1})}),_}},54442:function(e,i,l){"use strict";function getPropertyByPath(e,i){return(Array.isArray(i)?i:i.split(".")).reduce(function(e,i){return e&&e[i]},e)}l.d(i,{E:function(){return getPropertyByPath}})},3059:function(e,i,l){"use strict";l.d(i,{J:function(){return isIndexWidget}});var p=["ais.index","ais.feedContainer"];function isIndexWidget(e){return p.includes(e.$$type)}},11490:function(e,i,l){"use strict";function noop(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l]}l.d(i,{Z:function(){return noop}})},53871:function(e,i,l){"use strict";function safelyRunOnBrowser(e){var i=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}}).fallback;return"undefined"==typeof window?i():e({window:window})}l.d(i,{U:function(){return safelyRunOnBrowser}})},34004:function(e,i,l){"use strict";function serializePayload(e){return btoa(encodeURIComponent(JSON.stringify(e)))}l.d(i,{a:function(){return serializePayload}})},56927:function(e,i,l){"use strict";function _array_like_to_array(e,i){(null==i||i>e.length)&&(i=e.length);for(var l=0,p=Array(i);l<i;l++)p[l]=e[l];return p}l.d(i,{_:function(){return _array_like_to_array}})},52060:function(e,i,l){"use strict";function _class_call_check(e,i){if(!(e instanceof i))throw TypeError("Cannot call a class as a function")}l.d(i,{_:function(){return _class_call_check}})},56529:function(e,i,l){"use strict";function _defineProperties(e,i){for(var l=0;l<i.length;l++){var p=i[l];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(e,p.key,p)}}function _create_class(e,i,l){return i&&_defineProperties(e.prototype,i),l&&_defineProperties(e,l),e}l.d(i,{_:function(){return _create_class}})},96019:function(e,i,l){"use strict";function _define_property(e,i,l){return i in e?Object.defineProperty(e,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[i]=l,e}l.d(i,{_:function(){return _define_property}})},24414:function(e,i,l){"use strict";l.d(i,{_:function(){return _object_spread}});var p=l(96019);function _object_spread(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{},y=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(y=y.concat(Object.getOwnPropertySymbols(l).filter(function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}))),y.forEach(function(i){(0,p._)(e,i,l[i])})}return e}},32920:function(e,i,l){"use strict";function _object_spread_props(e,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):(function(e,i){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);l.push.apply(l,p)}return l})(Object(i)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(i,l))}),e}l.d(i,{_:function(){return _object_spread_props}})},80860:function(e,i,l){"use strict";l.d(i,{_:function(){return _sliced_to_array}});var p=l(731);function _sliced_to_array(e,i){return function(e){if(Array.isArray(e))return e}(e)||function(e,i){var l,p,y=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=y){var v=[],_=!0,S=!1;try{for(y=y.call(e);!(_=(l=y.next()).done)&&(v.push(l.value),!i||v.length!==i);_=!0);}catch(e){S=!0,p=e}finally{try{_||null==y.return||y.return()}finally{if(S)throw p}}return v}}(e,i)||(0,p._)(e,i)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},8610:function(e,i,l){"use strict";l.d(i,{_:function(){return _to_consumable_array}});var p=l(56927),y=l(731);function _to_consumable_array(e){return function(e){if(Array.isArray(e))return(0,p._)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,y._)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},17350:function(e,i,l){"use strict";function _type_of(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}l.d(i,{_:function(){return _type_of}})},731:function(e,i,l){"use strict";l.d(i,{_:function(){return _unsupported_iterable_to_array}});var p=l(56927);function _unsupported_iterable_to_array(e,i){if(e){if("string"==typeof e)return(0,p._)(e,i);var l=Object.prototype.toString.call(e).slice(8,-1);if("Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l)return Array.from(l);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,p._)(e,i)}}},60687:function(e,i,l){"use strict";l.d(i,{p:function(){return InstantSearch_InstantSearch}});var p=l(32420),y=l(67294),v=l(95930),_=l(23130),S=l(24651),P=l(73372);function _get_prototype_of(e){return(_get_prototype_of=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _is_native_reflect_construct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_is_native_reflect_construct=function(){return!!e})()}var w=l(17350),T=l(52060),H=l(56529),U=l(96019);function _set_prototype_of(e,i){return(_set_prototype_of=Object.setPrototypeOf||function(e,i){return e.__proto__=i,e})(e,i)}function _instanceof(e,i){return null!=i&&"undefined"!=typeof Symbol&&i[Symbol.hasInstance]?!!i[Symbol.hasInstance](e):e instanceof i}var W=l(24414),B=l(8610),Q=l(17331),q=l(8131),$=l(32920),z=l(80860),V=l(53871);function getAppIdAndApiKey(e){if(e.appId&&e.apiKey)return[e.appId,e.apiKey];if(!e.transporter)return[e.applicationID,e.apiKey];var i=e.transporter,l=i.headers||i.baseHeaders,p=i.queryParameters||i.baseQueryParameters,y="x-algolia-application-id",v="x-algolia-api-key";return[l[y]||p[y],l[v]||p[v]]}function find(e,i){for(var l,p=0;p<e.length;p++)if(i(l=e[p],p,e))return l}var K=l(11490),G="2.17.2",Z="https://cdn.jsdelivr.net/npm/search-insights@".concat(G,"/dist/search-insights.min.js");function createInsightsMiddleware(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.insightsClient,l=e.insightsInitParams,p=e.onEvent,y=e.$$internal,v=void 0!==y&&y,_=e.$$automatic,S=void 0!==_&&_,P=i;i||null===i||(0,V.U)(function(e){var i=e.window,l=i.AlgoliaAnalyticsObject||"aa";"string"==typeof l&&(P=i[l]),P||(i.AlgoliaAnalyticsObject=l,i[l]||(i[l]=function(){for(var e=arguments.length,p=Array(e),y=0;y<e;y++)p[y]=arguments[y];i[l].queue||(i[l].queue=[]),i[l].queue.push(p)},i[l].version=G,i[l].shouldAddScript=!0),P=i[l])});var T=P||K.Z;return function(e){var i,y,_,P=e.instantSearchInstance,H=P.middleware.filter(function(e){return"ais.insights"===e.instance.$$type&&e.instance.$$internal}).map(function(e){return e.creator});P.unuse.apply(P,(0,B._)(H));var U=(0,z._)(getAppIdAndApiKey(P.client),2),Q=U[0],q=U[1],V=void 0,G=void 0,X=void 0,Y=T.queue;return Array.isArray(Y)&&(G=(i=(0,z._)(["setUserToken","init"].map(function(e){return(0,z._)(find(Y.slice().reverse(),function(i){return(0,z._)(i,1)[
90]===e})||[],2)[1]}),2))[0],V=i[1]),T("getUserToken",null,function(e,i){X=normalizeUserToken(i)}),(l||!isModernInsightsClient(T))&&T("init",(0,W._)({appId:Q,apiKey:q,partial:!0},l)),{$$type:"ais.insights",$$internal:v,$$automatic:S,onStateChange:function(){},subscribe:function(){if(T.shouldAddScript){var e="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var i=document.createElement("script");i.async=!0,i.src=Z,i.onerror=function(){P.emit("error",Error(e))},document.body.appendChild(i),T.shouldAddScript=!1}catch(i){T.shouldAddScript=!1,P.emit("error",Error(e))}}},started:function(){T("addAlgoliaAgent","insights-middleware"),_=P.mainHelper;var e,i,H,U,B,Q,q,K,Z,Y,ee,et=T.queue;Array.isArray(et)&&(G=(Z=(0,z._)(["setUserToken","init"].map(function(e){return(0,z._)(find(et.slice().reverse(),function(i){return(0,z._)(i,1)[0]===e})||[],2)[1]}),2))[0],V=Z[1]),H=(null===(i=P._initialResults)||void 0===i?void 0:null===(e=i[P.indexName])||void 0===e?void 0:e.state)||{},U=P.mainHelper.state,y={userToken:H.userToken||U.userToken,clickAnalytics:H.clickAnalytics||U.clickAnalytics},S||_.overrideStateWithoutTriggeringChangeEvent((0,$._)((0,W._)({},_.state),{clickAnalytics:!0})),v||P.scheduleSearch();var setUserTokenToSearch=function(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1],l=normalizeUserToken(e);if(l){var p=_.state.userToken;i?applyToken():setTimeout(applyToken,0)}function applyToken(){_.overrideStateWithoutTriggeringChangeEvent((0,$._)((0,W._)({},_.state),{userToken:l})),p&&p!==e&&P.scheduleSearch()}};function setUserToken(e){setUserTokenToSearch(e,!0),T("setUserToken",e)}var er=void 0;er=function(e){if(("undefined"==typeof document?"undefined":(0,w._)(document))==="object"&&"string"==typeof document.cookie)for(var i="".concat(e,"="),l=document.cookie.split(";"),p=0;p<l.length;p++){for(var y=l[p];" "===y.charAt(0);)y=y.substring(1);if(0===y.indexOf(i))return y.substring(i.length,y.length)}}("_ALGOLIA")||"anonymous-".concat("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var i=16*Math.random()|0;return("x"===e?i:3&i|8).toString(16)}));var en=y.userToken;(null==l?void 0:l.userToken)&&(Y=l.userToken),Y?setUserToken(Y):en?setUserToken(en):X?setUserToken(X):G?setUserToken(G):er&&(setUserToken(er),((null==l?void 0:l.useCookie)||(null==V?void 0:V.useCookie))&&(B=er,Q=(null==l?void 0:l.cookieDuration)||(null==V?void 0:V.cookieDuration),(q=new Date).setTime(q.getTime()+(Q||15552e6)),K="expires=".concat(q.toUTCString()),document.cookie="_ALGOLIA=".concat(B,";").concat(K,";path=/"))),T("onUserTokenChange",function(e){return setUserTokenToSearch(e,!0)},{immediate:!0});var ei=T;isModernInsightsClient(T)&&(ei=function(e,i){var l=(0,z._)(getAppIdAndApiKey(P.client),2);return T(e,i,{headers:{"X-Algolia-Application-Id":l[0],"X-Algolia-API-Key":l[1]}})});var ea=new Set;P.mainHelper.derivedHelpers[0].on("result",function(e){var i=e.results;i&&(!i.queryID||i.queryID!==ee)&&(ee=i.queryID,ea.clear())}),P.sendEventToInsights=function(e){if(p)p(e,ei);else if(e.insightsMethod){if("viewedObjectIDs"===e.insightsMethod){var i=e.payload,l=i.objectIDs.filter(function(e){return!ea.has(e)});if(0===l.length)return;l.forEach(function(e){return ea.add(e)}),i.objectIDs=l}e.payload.algoliaSource=["instantsearch"],S&&e.payload.algoliaSource.push("instantsearch-automatic"),"internal"===e.eventModifier&&e.payload.algoliaSource.push("instantsearch-internal"),ei(e.insightsMethod,e.payload)}}},unsubscribe:function(){T("onUserTokenChange",void 0),P.sendEventToInsights=K.Z,_&&y&&(_.overrideStateWithoutTriggeringChangeEvent((0,W._)({},_.state,y)),P.scheduleSearch())}}}}function isModernInsightsClient(e){var i=(0,z._)((e.version||"").split(".").map(Number),2),l=i[0],p=i[1];return l>=3||2===l&&p>=6||1===l&&p>=10}function normalizeUserToken(e){if(e)return"number"==typeof e?e.toString():e}var X=l(3059);function createInitArgs(e,i,l){var p=i.getHelper();return{uiState:l,helper:p,parent:i,instantSearchInstance:e,state:p.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:i.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function createRenderArgs(e,i,l){var p=i.getResultsForWidget(l),y=i.getHelper();return{helper:y,parent:i,instantSearchInstance:e,results:p,scopedResults:i.getScopedResults(),state:p&&"_state"in p?p._state:y.state,render
9State:e.renderState,templatesConfig:e.templatesConfig,createURL:i.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function storeRenderState(e){var i=e.renderState,l=e.instantSearchInstance,p=e.parent,y=p?p.getIndexId():l.mainIndex.getIndexId();l.renderState=(0,$._)((0,W._)({},l.renderState),(0,U._)({},y,(0,W._)({},l.renderState[y],i)))}var Y=l(76587);function _object_without_properties_object_without_properties(e,i){if(null==e)return{};var l,p,y,v={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(y=0,l=Reflect.ownKeys(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}if(v=function(e,i){if(null==e)return{};var l,p,y={},v=Object.getOwnPropertyNames(e);for(p=0;p<v.length;p++)l=v[p],!(i.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(y[l]=e[l]);return y}(e,i),Object.getOwnPropertySymbols)for(y=0,l=Object.getOwnPropertySymbols(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}function getIndexStateWithoutConfigure(e){return e.configure,_object_without_properties_object_without_properties(e,["configure"])}function isPrimitive(e){return e!==Object(e)}var createRouterMiddleware=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.router,l=void 0===i?(0,Y.Z)():i,p=e.stateMapping,y=void 0===p?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(i,l){return(0,$._)((0,W._)({},i),(0,U._)({},l,getIndexStateWithoutConfigure(e[l])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(i,l){var p=e[l];return(void 0===p?"undefined":(0,w._)(p))!=="object"||null===p?i:(0,$._)((0,W._)({},i),(0,U._)({},l,getIndexStateWithoutConfigure(p)))},{})}}:p,v=e.$$internal,_=void 0!==v&&v;return function(e){var i=e.instantSearchInstance;i._createURL=function(e){var p=0===i.mainIndex.getWidgets().length?i._initialUiState:i.mainIndex.getWidgetUiState({}),v=Object.keys(e).reduce(function(i,l){return(0,$._)((0,W._)({},i),(0,U._)({},l,e[l]))},p),_=y.stateToRoute(v);return l.createURL(_)};var p=void 0,v=i._initialUiState;return{$$type:"ais.router({router:".concat(l.$$type||"__unknown__",", stateMapping:").concat(y.$$type||"__unknown__","})"),$$internal:_,onStateChange:function(e){var i=e.uiState,v=y.stateToRoute(i);(void 0===p||!function isEqual(e,i){if(e===i)return!0;if(isPrimitive(e)||isPrimitive(i)||"function"==typeof e||"function"==typeof i)return e===i;if(Object.keys(e).length!==Object.keys(i).length)return!1;var l=!0,p=!1,y=void 0;try{for(var v,_=Object.keys(e)[Symbol.iterator]();!(l=(v=_.next()).done);l=!0){var S=v.value;if(!(S in i)||!isEqual(e[S],i[S]))return!1}}catch(e){p=!0,y=e}finally{try{l||null==_.return||_.return()}finally{if(p)throw y}}return!0}(p,v))&&(l.write(v),p=v)},subscribe:function(){i._initialUiState=(0,W._)({},v,y.routeToState(l.read())),l.onUpdate(function(e){i.mainIndex.getWidgets().length>0&&i.setUiState(y.routeToState(e))})},started:function(){var e;null===(e=l.start)||void 0===e||e.call(l)},unsubscribe:function(){l.dispose()}}}},ee=0,et=Promise.resolve();function defer(e){var i=null,l=!1,fn=function(){for(var p=arguments.length,y=Array(p),v=0;v<p;v++)y[v]=arguments[v];null===i&&(i=et.then(function(){if(i=null,l){l=!1;return}e.apply(void 0,(0,B._)(y))}))};return fn.wait=function(){if(null===i)throw Error("The deferred function should be called before calling `wait()`");return i},fn.cancel=function(){null!==i&&(l=!0)},fn}function resolveSearchParameters(e){for(var i=e.getParent(),l=[e.getHelper().state];null!==i;)l=[i.getHelper().state].concat(l),i=i.getParent();return l}var er=l(87456),mergeWithRest=function(e,i){i.facets,i.disjunctiveFacets,i.facetsRefinements,i.facetsExcludes,i.disjunctiveFacetsRefinements,i.numericRefinements,i.tagRefinements,i.hierarchicalFacets,i.hierarchicalFacetsRefinements,i.ruleContexts;var l=_object_without_properties_object_without_properties(i,["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"]);return e.setQueryParameters(l)},mergeRuleContexts=function(e,i){var l=[].concat(e.ruleContexts).concat(i.ruleContexts).filter(
9Boolean).filter(function(e,i,l){return l.indexOf(e)===i});return l.length>0?e.setQueryParameters({ruleContexts:l}):e},mergeSearchParameters=function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];return i.reduce(function(e,i){var l,p,y,v,_,S,P,w;return mergeWithRest((w=mergeRuleContexts((p=(l=e.setQueryParameters({hierarchicalFacetsRefinements:(0,W._)({},e.hierarchicalFacetsRefinements,i.hierarchicalFacetsRefinements)})).setQueryParameters({hierarchicalFacets:i.hierarchicalFacets.reduce(function(e,i){var l=function(e,i){if(!Array.isArray(e))return -1;for(var l=0;l<e.length;l++)if(i(e[l]))return l;return -1}(e,function(e){return e.name===i.name});if(-1===l)return e.concat(i);var p=e.slice();return p.splice(l,1,i),p},l.hierarchicalFacets)}),P=(S=(_=(v=(y=i.tagRefinements.reduce(function(e,i){return e.addTagRefinement(i)},p)).setQueryParameters({numericRefinements:(0,W._)({},y.numericRefinements,i.numericRefinements)})).setQueryParameters({disjunctiveFacetsRefinements:(0,W._)({},v.disjunctiveFacetsRefinements,i.disjunctiveFacetsRefinements)})).setQueryParameters({facetsExcludes:(0,W._)({},_.facetsExcludes,i.facetsExcludes)})).setQueryParameters({facetsRefinements:(0,W._)({},S.facetsRefinements,i.facetsRefinements)}),i.disjunctiveFacets.reduce(function(e,i){return e.addDisjunctiveFacet(i)},P)),i),i.facets.reduce(function(e,i){return e.addFacet(i)},w)),i)})},en=(0,er.K)({name:"index-widget"});function privateHelperSetState(e,i){var l=i.state,p=i.recommendState,y=i.isPageReset,v=i._uiState;l!==e.state&&(e.state=l,e.emit("change",{state:e.state,results:e.lastResults,isPageReset:y,_uiState:v})),p!==e.recommendState&&(e.recommendState=p)}function getLocalWidgetsUiState(e,i){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,l){return!(0,X.J)(l)&&(l.getWidgetUiState||l.getWidgetState)?l.getWidgetUiState?l.getWidgetUiState(e,i):l.getWidgetState(e,i):e},l)}function getLocalWidgetsSearchParameters(e,i){var l=i.initialSearchParameters,p=_object_without_properties_object_without_properties(i,["initialSearchParameters"]);return e.reduce(function(e,i){return!i.getWidgetSearchParameters||(0,X.J)(i)?e:"search"===i.dependsOn&&i.getWidgetParameters?i.getWidgetParameters(e,p):i.getWidgetSearchParameters(e,p)},l)}function getLocalWidgetsRecommendParameters(e,i){var l=i.initialRecommendParameters,p=_object_without_properties_object_without_properties(i,["initialRecommendParameters"]);return e.reduce(function(e,i){return!(0,X.J)(i)&&"recommend"===i.dependsOn&&i.getWidgetParameters?i.getWidgetParameters(e,p):e},l)}var index=function(e){if(void 0===e||void 0===e.indexName&&!e.EXPERIMENTAL_isolated)throw Error(en("The `indexName` option is required."));var i=e.indexName,l=void 0===i?"":i,p=e.indexId,y=void 0===p?l:p,v=e.EXPERIMENTAL_isolated,_=void 0!==v&&v,S=[],P={},w=null,T=null,H=null,Q=null,z=null,V=!1,K=!1;return{$$type:"ais.index",$$widgetType:"ais.index",_isolated:_,getIndexName:function(){return l},getIndexId:function(){return y},getHelper:function(){return H},getResults:function(){return(null==Q?void 0:Q.lastResults)?(Q.lastResults._state=H.state,Q.lastResults):null},getResultsForWidget:function(e){return"recommend"!==e.dependsOn||(0,X.J)(e)||void 0===e.$$id?this.getResults():(null==H?void 0:H.lastRecommendResults)?H.lastRecommendResults[e.$$id]:null},getPreviousState:function(){return z},getScopedResults:function(){var e=this.getParent();return function resolveScopedResultsFromWidgets(e){return e.filter(X.J).reduce(function(e,i){return e.concat.apply(e,[{indexId:i.getIndexId(),results:i.getResults(),helper:i.getHelper()}].concat((0,B._)(resolveScopedResultsFromWidgets(i.getWidgets()))))},[])}(e?e.getWidgets():0===l.length?this.getWidgets():[this])},getParent:function(){return _?null:T},createURL:function(e){return"function"==typeof e?w._createURL((0,U._)({},y,e(P))):w._createURL((0,U._)({},y,getLocalWidgetsUiState(S,{searchParameters:e,helper:H})))},scheduleLocalSearch:defer(function(){_&&(null==H||H.search())}),getWidgets:function(){return S},addWidgets:function(e){var i=this;if(!Array.isArray(e))throw Error(en("The `addWidgets` method expects an array of widgets."));var l=e.reduce(function(e,i){return e.concat(Array.isArray(i)?i:[i])},[]);if(l.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(en("The widget definition expects a `render` and/or an `init` method."));return l.forEach(function(e){if(e.parent=i,!(0,X.J)(e))w&&"recommend"===e.dependsOn?w._hasRecommendWidget=!0:w?w._hasSearchWidget=!0:"recommend"===e.dependsOn?V=!0:K=!0,"recommend"===e.dependsOn&&(e.$$id=ee++)}),S=S.concat(l),w&&l.length&&(privateHelperSetState(H,{state:getLocalWidgetsSearchParameters(S,{uiState:P,initialSearchParameters:H.state}),recommendState:getLocalWidgetsRecommendParameters(S,{uiState:P,initialRecommendParameters:H.recommendState}),_uiState:P}),l.forEach(function(e){e.getRenderState&&storeRenderState({render
9State:e.getRenderState(w.renderState[i.getIndexId()]||{},createInitArgs(w,i,w._initialUiState)),instantSearchInstance:w,parent:i})}),l.forEach(function(e){e.init&&e.init(createInitArgs(w,i,w._initialUiState))}),_?this.scheduleLocalSearch():w.scheduleSearch()),this},removeWidgets:function(e){var i=this;if(!Array.isArray(e))throw Error(en("The `removeWidgets` method expects an array of widgets."));var l=e.reduce(function(e,i){return e.concat(Array.isArray(i)?i:[i])},[]);if(l.some(function(e){return"function"!=typeof e.dispose}))throw Error(en("The widget definition expects a `dispose` method."));if((S=S.filter(function(e){return -1===l.indexOf(e)})).forEach(function(e){e.parent=void 0,(0,X.J)(e)||(w&&"recommend"===e.dependsOn?w._hasRecommendWidget=!0:w?w._hasSearchWidget=!0:"recommend"===e.dependsOn?V=!0:K=!0)}),w&&l.length){var p=l.reduce(function(e,l){var p=l.dispose({helper:H,state:e.cleanedSearchState,recommendState:e.cleanedRecommendState,parent:i});return _instanceof(p,q.RecommendParameters)?e.cleanedRecommendState=p:p&&(e.cleanedSearchState=p),e},{cleanedSearchState:H.state,cleanedRecommendState:H.recommendState}),y=p.cleanedSearchState,v=p.cleanedRecommendState,T=w.future.preserveSharedStateOnUnmount?getLocalWidgetsSearchParameters(S,{uiState:P,initialSearchParameters:new q.SearchParameters({index:this.getIndexName()})}):getLocalWidgetsSearchParameters(S,{uiState:getLocalWidgetsUiState(S,{searchParameters:y,helper:H}),initialSearchParameters:y});P=getLocalWidgetsUiState(S,{searchParameters:T,helper:H}),H.setState(T),H.recommendState=v,S.length&&(_?this.scheduleLocalSearch():w.scheduleSearch())}return this},init:function(e){var i,p=this,v=e.instantSearchInstance,U=e.parent,W=e.uiState;if(null===H){w=v,T=U,P=W[y]||{};var $=v.mainHelper,G=getLocalWidgetsSearchParameters(S,{uiState:P,initialSearchParameters:new q.SearchParameters({index:l})}),Z=getLocalWidgetsRecommendParameters(S,{uiState:P,initialRecommendParameters:new q.RecommendParameters});(H=q($.getClient(),G.index,G)).recommendState=Z,H.search=function(){return _?(v.status="loading",p.render({instantSearchInstance:v}),v.compositionID?H.searchWithComposition():H.searchOnlyWithDerivedHelpers()):v.onStateChange?(v.onStateChange({uiState:v.mainIndex.getWidgetUiState({}),setUiState:function(e){return v.setUiState(e,!1)}}),$):$.search()},H.searchWithoutTriggeringOnStateChange=function(){return $.search()},H.searchForFacetValues=function(e,i,l,y){var v=mergeSearchParameters.apply(void 0,[$.state].concat((0,B._)(resolveSearchParameters(p)))).setQueryParameters(y);return $.searchForFacetValues(e,i,l,v)};var Y=l?H:q({},"__empty_index__",{});Q=(_?Y:function(e,i){for(;e;){if(e._isolated)return e.getHelper();e=e.getParent()}return i}(U,$)).derive(function(){return mergeSearchParameters.apply(void 0,[$.state].concat((0,B._)(resolveSearchParameters(p))))},function(){return p.getHelper().recommendState});var ee=null===(i=v._initialResults)||void 0===i?void 0:i[this.getIndexId()];if(null==ee?void 0:ee.results){var et=new q.SearchResults(new q.SearchParameters(ee.state),ee.results);Q.lastResults=et,H.lastResults=et}if(null==ee?void 0:ee.recommendResults){var er=new q.RecommendResults(new q.RecommendParameters({params:ee.recommendResults.params}),ee.recommendResults.results);Q.lastRecommendResults=er,H.lastRecommendResults=er}H.on("change",function(e){e.isPageReset&&function resetPageFromWidgets(e){var i=e.filter(X.J);0!==i.length&&i.forEach(function(e){var i=e.getHelper();privateHelperSetState(i,{state:i.state.resetPage(),recommendState:i.recommendState,isPageReset:!0}),resetPageFromWidgets(e.getWidgets())})}(S)}),Q.on("search",function(){v.scheduleStalledRender()}),Q.on("result",function(e){var i=e.results;v.scheduleRender(),H.lastResults=i,z=null==i?void 0:i._state}),Q.on("recommend:result",function(e){var i=e.recommend;v.scheduleRender(),H.lastRecommendResults=i.results}),S.forEach(function(e){e.getRenderState&&storeRenderState({renderState:e.getRenderState(v.renderState[p.getIndexId()]||{},createInitArgs(v,p,W)),instantSearchInstance:v,parent:p})}),S.forEach(function(e){e.init&&e.init(createInitArgs(v,p,W))}),H.on("change",function(e){var i=e.state,l=e._uiState;P=getLocalWidgetsUiState(S,{searchParameters:i,helper:H},l||{}),v.onStateChange||v.onInternalStateChange()}),ee&&v.scheduleRender(),V&&(v._hasRecommendWidget=!0),K&&(v._hasSearchWidget=!0)}},render:function(e){var i=this,p=e.instantSearchInstance;"error"===p.status&&!p.mainHelper.hasPendingRequests()&&z&&H.setState(z);var y=this.getResults()||(null==Q?void 0:Q.lastRecommendResults)||_&&!l?S:S.filter(function(e){return e.shouldRender});(y=y.filter(function(e){return!e.shouldRender||e.shouldRender({instantSearchInstance:p})}
9)).forEach(function(e){e.getRenderState&&storeRenderState({renderState:e.getRenderState(p.renderState[i.getIndexId()]||{},createRenderArgs(p,i,e)),instantSearchInstance:p,parent:i})}),y.forEach(function(e){e.render&&e.render(createRenderArgs(p,i,e))})},dispose:function(){var e=this;S.forEach(function(i){i.dispose&&H&&i.dispose({helper:H,state:H.state,recommendState:H.recommendState,parent:e})}),w=null,T=null,null==H||H.removeAllListeners(),H=null,null==Q||Q.detach(),Q=null},getWidgetUiState:function(e){return S.filter(X.J).filter(function(e){return!e._isolated}).reduce(function(e,i){return i.getWidgetUiState(e)},(0,$._)((0,W._)({},e),(0,U._)({},y,(0,W._)({},e[y],P))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,i){var l=i.uiState;return getLocalWidgetsSearchParameters(S,{uiState:l,initialSearchParameters:e})},shouldRender:function(){return!0},refreshUiState:function(){P=getLocalWidgetsUiState(S,{searchParameters:this.getHelper().state,helper:this.getHelper()},P)},setIndexUiState:function(e){var i="function"==typeof e?e(P):e;w.setUiState(function(e){return(0,$._)((0,W._)({},e),(0,U._)({},y,i))})}}},component=function(e){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=i.descendantName,p=i.modifierName,y=l?"-".concat(l):"",v=p?"--".concat(p):"";return"".concat("ais","-").concat(e).concat(y).concat(v)}},ei=l(54442),ea=l(82165),eo=component("Highlight");function concatHighlightedParts(e){var i=ea.Rn.highlightPreTag,l=ea.Rn.highlightPostTag;return e.map(function(e){return e.isHighlighted?i+e.value+l:e.value}).join("")}var es=l(22686),ec=new RegExp(/\w/i);function reverseHighlightedParts(e){return e.some(function(e){return e.isHighlighted})?e.map(function(i,l){var p,y,v,_,S;return(0,$._)((0,W._)({},i),{isHighlighted:(v=e[l],_=(null===(p=e[l+1])||void 0===p?void 0:p.isHighlighted)||!0,S=(null===(y=e[l-1])||void 0===y?void 0:y.isHighlighted)||!0,ec.test((0,es.A)(v.value))||S!==_?!v.isHighlighted:!S)})}):e.map(function(e){return(0,$._)((0,W._)({},e),{isHighlighted:!1})})}var eu=l(48361),el=component("ReverseHighlight"),ef=component("Snippet"),ed=component("ReverseSnippet"),eh=l(34004);function getServerResults(e){var i;return(null===(i=e.compositionFeedsResults)||void 0===i?void 0:i.length)?e.compositionFeedsResults:e.results||[]}function serializeQueryParameters(e){var encode=function(e){for(var i=arguments.length,l=Array(i>1?i-1:0),p=1;p<i;p++)l[p-1]=arguments[p];var y=0;return e.replace(/%s/g,function(){return encodeURIComponent(l[y++])})};return Object.keys(e).map(function(i){var l;return encode("%s=%s",i,(l=e[i],"[object Object]"===Object.prototype.toString.call(l)||"[object Array]"===Object.prototype.toString.call(l))?JSON.stringify(e[i]):e[i])}).join("&")}function setIndexHelperState(e,i){var l=e[i.getIndexId()]||{};i.getHelper().setState(i.getWidgetSearchParameters(i.getHelper().state,{uiState:l})),i.getWidgets().filter(X.J).forEach(function(i){return setIndexHelperState(e,i)})}var ep=(0,er.K)({name:"instantsearch"});function defaultCreateURL(){return"#"}var em={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},eg=function(e){function InstantSearch(e){(0,T._)(this,InstantSearch),i=_get_prototype_of(i=InstantSearch),y=(p=_is_native_reflect_construct()?Reflect.construct(i,l||[],_get_prototype_of(this).constructor):i.apply(this,l))&&("object"===(0,w._)(p)||"function"==typeof p)?p:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this),(0,U._)(y,"client",void 0),(0,U._)(y,"indexName",void 0),(0,U._)(y,"compositionID",void 0),(0,U._)(y,"insightsClient",void 0),(0,U._)(y,"onStateChange",null),(0,U._)(y,"future",void 0),(0,U._)(y,"helper",void 0),(0,U._)(y,"mainHelper",void 0),(0,U._)(y,"mainIndex",void 0),(0,U._)(y,"started",void 0),(0,U._)(y,"templatesConfig",void 0),(0,U._)(y,"renderState",{}),(0,U._)(y,"_stalledSearchDelay",void 0),(0,U._)(y,"_searchStalledTimer",void 0),(0,U._)(y,"_initialUiState",void 0),(0,U._)(y,"_initialResults",void 0),(0,U._)(y,"_manuallyResetScheduleSearch",!1),(0,U._)(y,"_resetScheduleSearch",void 0),(0,U._)(y,"_createURL",void 0),(0,U._)(y,"_searchFunction",void 0),(0,U._)(y,"_mainHelperSearch",void 0),(0,U._)(y,"_hasSearchWidget",!1),(0,U._)(y,"_hasRecommendWidget",!1),(0,U._)(y,"_insights",void 0),(0,U._)(y,"middleware",[]),(0,U._)(y,"sendEventToInsights",void 0),(0,U._)(y,"status","idle"),(0,U._)(y,"error",void 0),(0,U._)(y,"scheduleSearch",defer(function(){y.started&&y.mainHelper.search()})),(0,U._)(y,"scheduleRender",defer(function(){var e,i=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(null===(e=y.mainHelper)||void 0===e?void 0:e.hasPendingRequests())||(clearTimeout(y._searchStalledTimer),y._searchStalledTimer=null,i&&(y.status="idle",y.error=void 0)),y.mainIndex.render({instantSearchInstance:y}),y.emit("render")})),(0,U._)(y,"onInternalStateChange",defer(function(){var e=y.mainIndex.getWidgetUiState({});y.middleware.forEach(function(i){i.instance.onStateChange({uiState:e})})})),y.setMaxListeners(100);var i,l,p,y,v=e.indexName,_=e.compositionID,S=e.numberLocale,P=e.initialUiState,H=e.routing,B=void 0===H?null:H,Q=e.insights,q=void 0===Q?void 0:Q,z=e.searchFunction,G=e.stalledSearchDelay,Z=e.searchClient,Y=void 0===Z?null:Z,ee=e.insightsClient,et=void 0===ee?null:ee,er=e.onStateChange,en=e.future,es=void 0===en?(0,W._)({},em,e.future||{}):en;if(null===Y)throw Error(ep("The `searchClient` option is required."));
9if("function"!=typeof Y.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof Y.addAlgoliaAgent&&Y.addAlgoliaAgent("instantsearch.js (".concat("4.96.2",")")),et&&"function"!=typeof et)throw Error(ep("The `insightsClient` option should be a function."));if(y.client=Y,y.future=es,y.insightsClient=et,y.indexName=void 0===v?"":v,y.compositionID=_,y.helper=null,y.mainHelper=null,y.mainIndex=index({indexName:y.compositionID||y.indexName}),y.onStateChange=void 0===er?null:er,y.started=!1,y.templatesConfig={helpers:{formatNumber:function(e,i){return Number(i(e)).toLocaleString(S)},highlight:function(e,i){try{var l,p,y,v,_,S,P,w,T,H=JSON.parse(e);return i((p=(l=(0,$._)((0,W._)({},H),{hit:this})).attribute,y=l.highlightedTagName,v=void 0===y?"mark":y,_=l.hit,S=l.cssClasses,P=void 0===S?{}:S,w=((0,ei.E)(_._highlightResult,p)||{}).value,T=eo({descendantName:"highlighted"})+(P.highlighted?" ".concat(P.highlighted):""),(void 0===w?"":w).replace(RegExp(ea.Rn.highlightPreTag,"g"),"<".concat(v,' class="').concat(T,'">')).replace(RegExp(ea.Rn.highlightPostTag,"g"),"</".concat(v,">"))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,i){try{var l,p,y,v,_,S,P,w,T,H,U=JSON.parse(e);return i((p=(l=(0,$._)((0,W._)({},U),{hit:this})).attribute,y=l.highlightedTagName,v=void 0===y?"mark":y,_=l.hit,S=l.cssClasses,P=void 0===S?{}:S,w=((0,ei.E)(_._highlightResult,p)||{}).value,T=void 0===w?"":w,H=el({descendantName:"highlighted"})+(P.highlighted?" ".concat(P.highlighted):""),concatHighlightedParts(reverseHighlightedParts((0,eu.H)(T))).replace(RegExp(ea.Rn.highlightPreTag,"g"),"<".concat(v,' class="').concat(H,'">')).replace(RegExp(ea.Rn.highlightPostTag,"g"),"</".concat(v,">"))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,i){try{var l,p,y,v,_,S,P,w,T,H=JSON.parse(e);return i((p=(l=(0,$._)((0,W._)({},H),{hit:this})).attribute,y=l.highlightedTagName,v=void 0===y?"mark":y,_=l.hit,S=l.cssClasses,P=void 0===S?{}:S,w=((0,ei.E)(_._snippetResult,p)||{}).value,T=ef({descendantName:"highlighted"})+(P.highlighted?" ".concat(P.highlighted):""),(void 0===w?"":w).replace(RegExp(ea.Rn.highlightPreTag,"g"),"<".concat(v,' class="').concat(T,'">')).replace(RegExp(ea.Rn.highlightPostTag,"g"),"</".concat(v,">"))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,i){try{var l,p,y,v,_,S,P,w,T,H,U=JSON.parse(e);return i((p=(l=(0,$._)((0,W._)({},U),{hit:this})).attribute,y=l.highlightedTagName,v=void 0===y?"mark":y,_=l.hit,S=l.cssClasses,P=void 0===S?{}:S,w=((0,ei.E)(_._snippetResult,p)||{}).value,T=void 0===w?"":w,H=ed({descendantName:"highlighted"})+(P.highlighted?" ".concat(P.highlighted):""),concatHighlightedParts(reverseHighlightedParts((0,eu.H)(T))).replace(RegExp(ea.Rn.highlightPreTag,"g"),"<".concat(v,' class="').concat(H,'">')).replace(RegExp(ea.Rn.highlightPostTag,"g"),"</".concat(v,">"))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,i){try{var l,p=JSON.parse(e),y=p.method,v=p.payload;return i((l=(0,W._)({objectIDs:[this.objectID]},v),function(e){var i,l=e.method,p=e.payload;if((void 0===p?"undefined":(0,w._)(p))!=="object")throw Error("The insights helper expects the payload to be an object.");try{i=(0,eh.a)(p)}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(l,'" data-insights-payload="').concat(i,'"')}({method:y,payload:l})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},y._stalledSearchDelay=void 0===G?200:G,y._searchStalledTimer=null,y._createURL=defaultCreateURL,y._initialUiState=void 0===P?{}:P,y._initialResults=null,y._insights=q,z&&(y._searchFunction=z),y.sendEventToInsights=K.Z,B){var ec="boolean"==typeof B?{}:B;ec.$$internal=!0,y.use(createRouterMiddleware(ec))}if(q){var eg="boolean"==typeof q?{}:q;eg.$$internal=!0,y.use(createInsightsMiddleware(eg))}return(0,V.U)(function(e){var i,l;return(null===(l=e.window.navigator)||void 0===l?void 0:null===(i=l.userAgent)||void 0===i?void 0:i.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&y.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.$$internal,l=void 0!==i&&i;return function(e){var i=e.instantSearchInstance,p={widgets:[]}
9,y=document.createElement("meta"),v=document.querySelector("head");return y.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:l,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e;p.ua=(e=i.client).transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function extractWidgetPayload(e,i,l){var p=createInitArgs(i,i.mainIndex,i._initialUiState);e.forEach(function(e){var y={};if(e.getWidgetRenderState){var v=e.getWidgetRenderState(p);v&&v.widgetParams&&(y=v.widgetParams)}var _=Object.keys(y).filter(function(e){return void 0!==y[e]});l.widgets.push({type:e.$$type,widgetType:e.$$widgetType,params:_}),(0,X.J)(e)&&extractWidgetPayload(e.getWidgets(),i,l)})}(i.mainIndex.getWidgets(),i,p),i.middleware.forEach(function(e){return p.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),y.content=JSON.stringify(p),v.appendChild(y)},0)},started:function(){},unsubscribe:function(){y.remove()}}}}({$$internal:!0})),y}return!function(e,i){if("function"!=typeof i&&null!==i)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(i&&i.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),i&&_set_prototype_of(e,i)}(InstantSearch,e),(0,H._)(InstantSearch,[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,i=arguments.length,l=Array(i),p=0;p<i;p++)l[p]=arguments[p];var y=l.map(function(i){var l=(0,W._)({$$type:"__unknown__",$$internal:!1,subscribe:K.Z,started:K.Z,unsubscribe:K.Z,onStateChange:K.Z},i({instantSearchInstance:e}));return e.middleware.push({creator:i,instance:l}),l});
9return this.started&&y.forEach(function(e){e.subscribe(),e.started()}),this}},{key:"unuse",value:function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];return this.middleware.filter(function(e){return i.includes(e.creator)}).forEach(function(e){return e.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(e){return!i.includes(e.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];return this.use.apply(this,(0,B._)(i))}},{key:"addWidget",value:function(e){return this.addWidgets([e])}},{key:"addWidgets",value:function(e){if(!Array.isArray(e))throw Error(ep("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(this.compositionID&&e.some(function(e){return!Array.isArray(e)&&(0,X.J)(e)&&!e._isolated}))throw Error(ep("The `index` widget cannot be used with a composition-based InstantSearch implementation."));return this.mainIndex.addWidgets(e),this}},{key:"removeWidget",value:function(e){return this.removeWidgets([e])}},{key:"removeWidgets",value:function(e){if(!Array.isArray(e))throw Error(ep("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));return this.mainIndex.removeWidgets(e),this}},{key:"start",value:function(){var e=this;if(this.started)throw Error(ep("The `start` method has already been called once."));var i=this.mainHelper||q(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(this.compositionID&&(i.searchForFacetValues=i.searchForCompositionFacetValues.bind(i)),i.search=function(){return e.status="loading",e.scheduleRender(!1),e._hasSearchWidget&&(e.compositionID?i.searchWithComposition():i.searchOnlyWithDerivedHelpers()),e._hasRecommendWidget&&i.recommend(),i},this._searchFunction){var l={search:function(){return new Promise(K.Z)}};this._mainHelperSearch=i.search.bind(i),i.search=function(){var p=e.mainIndex.getHelper(),y=q(l,p.state.index,p.state);return y.once("search",function(i){var l=i.state;p.overrideStateWithoutTriggeringChangeEvent(l),e._mainHelperSearch()}),y.on("change",function(e){var i=e.state;p.setState(i)}),e._searchFunction(y),i}}if(i.on("error",function(i){var l=i.error;if(!_instanceof(l,Error)){var p=l;l=Object.keys(p).reduce(function(e,i){return e[i]=p[i],e},Error(p.message))}l.error=l,e.error=l,e.status="error",e.scheduleRender(!1),e.emit("error",l)}),this.mainHelper=i,this.middleware.forEach(function(e){e.instance.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){(function(e,i){if(i&&("transporter"in e&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){var l=[Object.keys(i).reduce(function(e,l){var p=i[l],y=p.state,v=p.requestParams,_=getServerResults(p),S=_&&y?_.map(function(e,i){return(0,W._)({indexName:y.index||e.index},(null==v?void 0:v[i])||e.params?{params:serializeQueryParameters((null==v?void 0:v[i])||e.params.split("&").reduce(function(e,i){var l=(0,z._)(i.split("="),2),p=l[0],y=l[1];return e[p]=y?decodeURIComponent(y):"",e},{}))}:{})}):[];return e.concat(S)},[])],p=Object.keys(i).reduce(function(e,l){var p=getServerResults(i[l]);return p?e.concat(p):e},[]);if("transporter"in e&&!e._cacheHydrated){e._cacheHydrated=!0;var y=e.search.bind(e);e.search=function(i){for(var l=arguments.length,p=Array(l>1?l-1:0),v=1;v<l;v++)p[v-1]=arguments[v];var _=Array.isArray(i)?i.map(function(e){return(0,$._)((0,W._)({},e),{params:serializeQueryParameters(e.params)})}):serializeQueryParameters(i.requestBody.params);return e.transporter.responsesCache.get({method:"search",args:[_].concat((0,B._)(p))},function(){return y.apply(void 0,[i].concat((0,B._)(p)))})},e.transporter.responsesCache.set({method:"search",args:l},{results:p})}if(!("transporter"in e)){var v="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:l}));e.cache=(0,$._)((0,W._)({},e.cache),(0,U._)({},v,JSON.stringify({results:Object.keys(i).map(function(e){return getServerResults(i[e])})})))}}})(this.client,this._initialResults),p=this.mainHelper,v=Object.keys(y=this._initialResults).reduce(function(e,i){var l=y[i];return l.recommendResults?(0,W._)({},e,l.recommendResults.results):e},{}),p._recommendCache=v;var p,y,v,_=this.scheduleSearch;this.scheduleSearch=defer(K.Z),this._manuallyResetScheduleSearch?this._resetScheduleSearch=function(){e.scheduleSearch=_}:defer(function(){e.scheduleSearch=_})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&i.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var i=e.results;return null==i?void 0:i._automaticInsights})&&e.use(createInsightsMiddleware({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null===(e=this.mainHelper)||void 0===e||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var i=this,l=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(ep("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var p="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&l?this.onStateChange({uiState:p,setUiState:function(e){setIndexHelperState("function"==typeof e?e(p):e,i.mainIndex),i.scheduleSearch(),i.onInternalStateChange()}}):(setIndexHelperState(p,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(ep("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(ep("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}]),InstantSearch}(Q),ey=l(61688),ev="7.32.2",eb=l(35697),e_=l(73256),eS=l(58336),eR=l(3268),ex=l(628),eP=l(83454),ew=["react (".concat(y.version,")"),"react-instantsearch (".concat(ev,")"),"react-instantsearch-core (".concat(ev,")")],eO="react-instantsearch-server (".concat(ev,")");function addAlgoliaAgents(e,i){"function"==typeof e.addAlgoliaAgent&&i.filter(
9Boolean).forEach(function(i){e.addAlgoliaAgent(i)})}function InstantSearch_InstantSearch(e){var i=e.children,l=function(e){var i=(0,e_._)((0,y.useReducer)(function(e){return e+1},0),2)[1],l=(0,eS.a)(),p=(0,eR.s)(),v=(0,ex.P)().waitForResultsRef,_=null==p?void 0:p.initialResults,w=(0,y.useRef)(e),T=l||_||v,H=(0,y.useRef)(null);if((null==p?void 0:p.ssrSearchRef)&&(H=p.ssrSearchRef),null===H.current){var U,W,B=new eg(e);B._schedule=function(e){B._schedule.queue.push(e),clearTimeout(B._schedule.timer),B._schedule.timer=setTimeout(function(){B._schedule.queue.forEach(function(e){e()}),B._schedule.queue=[]},0)},B._schedule.queue=[],T&&(B._initialResults=_||{},B._manuallyResetScheduleSearch=!0),addAlgoliaAgents(e.searchClient,(0,P._)(ew).concat([l&&eO,(W="undefined"!=typeof window&&(null===(U=window.next)||void 0===U?void 0:U.version)||void(void 0!==eP&&eP.env))?"next.js (".concat(W,")"):null])),T&&B.start(),l&&l.notifyServer({search:B}),e.routing,H.current=B}var Q,q=H.current,$=w.current;$.indexName!==e.indexName&&(q.helper.setIndex(e.indexName||"").search(),w.current=e),$.searchClient!==e.searchClient&&(addAlgoliaAgents(e.searchClient,(0,P._)(ew).concat([l&&eO])),q.mainHelper.setClient(e.searchClient).search(),w.current=e),$.onStateChange!==e.onStateChange&&(q.onStateChange=e.onStateChange,w.current=e),$.searchFunction!==e.searchFunction&&(q._searchFunction=e.searchFunction,w.current=e),$.stalledSearchDelay!==e.stalledSearchDelay&&(q._stalledSearchDelay=null!==(Q=e.stalledSearchDelay)&&void 0!==Q?Q:200,w.current=e),(0,eb.J)($.future,e.future)||(q.future=(0,S._)({},em,e.future),w.current=e);var z=(0,y.useRef)(null);return(0,ey.useSyncExternalStore)((0,y.useCallback)(function(){var e=H.current;return null===z.current?e.started||(e.start(),i()):(clearTimeout(z.current),e._preventWidgetCleanup=!1),function(){null!=p&&p.ssrSearchRef||(clearTimeout(e._schedule.timer),z.current=setTimeout(function(){e.dispose()}),e._preventWidgetCleanup=!0)}},[i,p]),function(){return H.current},function(){return H.current})}((0,p._)(e,["children"]));return l.started?y.createElement(_.Z.Provider,{value:l},y.createElement(v.Z.Provider,{value:l.mainIndex},i,y.createElement(ResetScheduleSearch,{search:l}))):null}function ResetScheduleSearch(e){var i=e.search;return(0,y.useEffect)(function(){i._resetScheduleSearch&&i._resetScheduleSearch()},[i]),null}},44950:function(e,i,l){"use strict";l.d(i,{H:function(){return InstantSearchSSRProvider}});var p=l(24651),y=l(71845),v=l(32420),_=l(67294),S=l(42574);function InstantSearchSSRProvider(e){var i=e.children,l=(0,v._)(e,["children"]),P=_.useRef(null),w=_.useRef(0);return 0===Object.keys(l).length?_.createElement(_.Fragment,null,i):_.createElement(S.q.Provider,{value:(0,y._)((0,p._)({},l),{ssrSearchRef:P,recommendIdx:w})},i)}},32331:function(e,i,l){"use strict";l.d(i,{B:function(){return useConnector}});var p=l(24651),y=l(32420),v=l(73256),_=l(3267),S=l(9727),P=l(23569),w=l(23251),T=l(67294),H=l.t(T,2),U=l(35697),W=l(87925),B=l(97406),Q=l(80258),q=l(58336),$=l(3268);function useStableValue(e){var i=(0,v._)((0,T.useState)(function(){return e}),2),l=i[0],p=i[1];return(0,U.J)(l,e)||p(e),l}var z=H.use,V=l(94397),K=l(628);function useConnector(e){var i,l,H,G,Z,X,Y,ee,et,er,en,ei,ea,eo,es,ec,eu,el,ef=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,ed=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,eh=(el=[ef,ed],(0,_._)(el)||(0,S._)(el)||(0,w._)(el)||(0,P._)()),ep=eh[0],em=eh.slice(1),eg=(0,v._)(em,1)[0],ey=void 0===eg?{}:eg,ev=ey.skipSuspense,eb=(0,y._)(ey,["skipSuspense"]),e_=(0,q.a)(),eS=(0,$.s)(),eR=(0,Q.z)(),ex=(0,B.a)(),eP=useStableValue(void 0===ep?{}:ep),ew=useStableValue(eb),eO=(0,T.useRef)(!0),eE=(0,T.useRef)(null),ej=(0,T.useRef)(eR.status),eA=(0,T.useMemo)(function(){var i=e(function(e,i){if(i){eO.current=!0;return}if(eO.current){var l=e.instantSearchInstance;e.widgetParams;var p=(0,y._)(e,["instantSearchInstance","widgetParams"]);(0,U.J)(p,eE.current,function(e,i){return(null==e?void 0:e.constructor)===Function&&(null==i?void 0:i.constructor)===Function})&&l.status===ej.current||(eI(p),eE.current=p,ej.current=l.status)}},function(){eO.current=!1});return(0,p._)({},i(eP),ew)},[e,eP,ew]),eF=(0,v._)((0,T.useState)(function(){if(eA.getWidgetRenderState){var e,i=ex.getHelper(),l=ex.getWidgetUiState({})[ex.getIndexId()];i.state=(null===(e=eA.getWidgetSearchParameters)||void 0===e?void 0:e.call(eA,i.state,{uiState:l}))||i.state;var p=(0,W.E)(ex),v=p.results,_=p.scopedResults,S=p.recommendResults,P=eA.getWidgetRenderState({helper:i,parent:ex,instantSearchInstance:eR,results:"recommend"===eA.dependsOn&&S&&eS?S[eS.recommendIdx.current++]:v,scopedResults:_,state:i.state,render
9State:eR.renderState,templatesConfig:eR.templatesConfig,createURL:ex.createURL,searchMetadata:{isSearchStalled:"stalled"===eR.status},status:eR.status,error:eR.error});return P.widgetParams,(0,y._)(P,["widgetParams"])}return{}}),2),eT=eF[0],eI=eF[1];return Z=(i={widget:eA,parentIndex:ex,props:eP,shouldSsr:!!e_,skipSuspense:void 0!==ev&&ev}).widget,X=i.parentIndex,Y=i.props,ee=i.shouldSsr,et=i.skipSuspense,en=(er=(0,K.P)()).waitForResultsRef,ei=er.countRef,er.ignoreMultipleHooksWarning,ea=(0,T.useRef)(Y),(0,T.useEffect)(function(){ea.current=Y},[Y]),eo=(0,T.useRef)(Z),(0,T.useEffect)(function(){eo.current=Z},[Z]),es=(0,T.useRef)(null),ec=ee&&!X.getWidgets().includes(Z),eu=(0,Q.z)(),(0,V.L)(function(){var e=eo.current;return es.current?(clearTimeout(es.current),(0,U.J)(Y,ea.current)||(X.removeWidgets([e]),X.addWidgets([Z]))):ee||X.addWidgets([Z]),function(){es.current=setTimeout(function(){eu._schedule(function(){eu._preventWidgetCleanup||X.removeWidgets([e])})})}},[X,Z,ee,eu,Y]),(ec||(null==en?void 0:null===(l=en.current)||void 0===l?void 0:l.status)==="pending")&&X.addWidgets([Z]),(null==en?void 0:en.current)&&!et&&(z(en.current),!("ais.dynamicWidgets"===Z.$$type||"ais.feeds"===Z.$$type)&&(null===(G=eu.helper)||void 0===G?void 0:G.lastResults)&&z(en.current)),(null==en?void 0:null===(H=en.current)||void 0===H?void 0:H.status)==="fulfilled"&&(ei.current+=1),eT}},95930:function(e,i,l){"use strict";l.d(i,{Z:function(){return p}});var p=(0,l(67294).createContext)(null)},23130:function(e,i,l){"use strict";l.d(i,{Z:function(){return p}});var p=(0,l(67294).createContext)(null)},42574:function(e,i,l){"use strict";l.d(i,{q:function(){return p}});var p=(0,l(67294).createContext)(null)},35697:function(e,i,l){"use strict";l.d(i,{J:function(){return function dequal(e,i,l){var y,v;if((null==l?void 0:l(e,i))||e===i)return!0;if(e&&i&&(y=e.constructor)===i.constructor){if(y===Date)return e.getTime()===i.getTime();if(y===RegExp)return e.toString()===i.toString();if(y===Array){if((v=e.length)===i.length)for(;v--&&dequal(e[v],i[v],l););return -1===v}if(!y||(void 0===e?"undefined":e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"){for(y in v=0,e)if(p.call(e,y)&&++v&&!p.call(i,y)||!(y in i)||!dequal(e[y],i[y],l))return!1;return Object.keys(i).length===v}}return e!=e&&i!=i}}});var p=Object.prototype.hasOwnProperty},87925:function(e,i,l){"use strict";l.d(i,{E:function(){return getIndexSearchResults}});var p=l(24651),y=l(71845),v=l(8131);function createSearchResults(e){var i,l,p;return new v.SearchResults(e,[{query:null!==(i=e.query)&&void 0!==i?i:"",page:null!==(l=e.page)&&void 0!==l?l:0,hitsPerPage:null!==(p=e.hitsPerPage)&&void 0!==p?p:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}function getIndexSearchResults(e){var i=e.getHelper(),l=e.getResults()||createSearchResults(i.state),v=e.getScopedResults().map(function(i){var v=i.indexId===e.getIndexId()?l:createSearchResults(i.helper.state);return(0,y._)((0,p._)({},i),{results:i.results||v})});return{results:l,scopedResults:v,recommendResults:i.lastRecommendResults}}},91049:function(e,i,l){"use strict";function invariant(e,i){if(!e)throw Error("Invariant failed")}l.d(i,{k:function(){return invariant}})},97406:function(e,i,l){"use strict";l.d(i,{a:function(){return useIndexContext}});var p=l(67294),y=l(95930),v=l(91049);function useIndexContext(){var e=(0,p.useContext)(y.Z);return(0,v.k)(null!==e),e}},80258:function(e,i,l){"use strict";l.d(i,{z:function(){return useInstantSearchContext}});var p=l(67294),y=l(23130),v=l(91049);function useInstantSearchContext(){var e=(0,p.useContext)(y.Z);return(0,v.k)(null!==e),e}},3268:function(e,i,l){"use strict";l.d(i,{s:function(){return useInstantSearchSSRContext}});var p=l(67294),y=l(42574);function useInstantSearchSSRContext(){return(0,p.useContext)(y.q)}},58336:function(e,i,l){"use strict";l.d(i,{a:function(){return useInstantSearchServerContext}});var p=l(67294),y=(0,p.createContext)(null);function useInstantSearchServerContext(){return(0,p.useContext)(y)}},94397:function(e,i,l){"use strict";l.d(i,{L:function(){return y}});var p=l(67294),y="undefined"!=typeof window?p.useLayoutEffect:p.useEffect},628:function(e,i,l){"use strict";l.d(i,{P:function(){return useRSCContext}});var p=l(67294),y=(0,p.createContext)({countRef:{current:0},waitForResultsRef:null,ignoreMultipleHooksWarning:!1});function useRSCContext(){return(0,p.useContext)(y)}},72198:function(e,i,l){"use strict";function _array_like_to_array(e,i){(null==i||i>e.length)&&(i=e.length);for(var l=0,p=Array(i);l<i;l++)p[l]=e[l];return p}l.d(i,{_:function(){return _array_like_to_array}})},3267:function(e,i,l){"use strict";function _array_with_holes(e){if(Array.isArray(e))return e}l.d(i,{_:function(){return _array_with_holes}})},9727:function(e,i,l){"use strict";function _iterable_to_array(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}l.d(i,{_:function(){return _iterable_to_array}})},23569:function(e,i,l){"use strict";function _non_iterable_rest(){throw TypeError("Invalid attempt to de
9structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}l.d(i,{_:function(){return _non_iterable_rest}})},24651:function(e,i,l){"use strict";function _object_spread(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{},p=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(p=p.concat(Object.getOwnPropertySymbols(l).filter(function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}))),p.forEach(function(i){var p;p=l[i],i in e?Object.defineProperty(e,i,{value:p,enumerable:!0,configurable:!0,writable:!0}):e[i]=p})}return e}l.d(i,{_:function(){return _object_spread}})},71845:function(e,i,l){"use strict";function _object_spread_props(e,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):(function(e,i){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);l.push.apply(l,p)}return l})(Object(i)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(i,l))}),e}l.d(i,{_:function(){return _object_spread_props}})},32420:function(e,i,l){"use strict";function _object_without_properties(e,i){if(null==e)return{};var l,p,y,v={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(y=0,l=Reflect.ownKeys(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}if(v=function(e,i){if(null==e)return{};var l,p,y={},v=Object.getOwnPropertyNames(e);for(p=0;p<v.length;p++)l=v[p],!(i.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(y[l]=e[l]);return y}(e,i),Object.getOwnPropertySymbols)for(y=0,l=Object.getOwnPropertySymbols(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}l.d(i,{_:function(){return _object_without_properties}})},73256:function(e,i,l){"use strict";l.d(i,{_:function(){return _sliced_to_array}});var p=l(3267),y=l(23569),v=l(23251);function _sliced_to_array(e,i){return(0,p._)(e)||function(e,i){var l,p,y=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=y){var v=[],_=!0,S=!1;try{for(y=y.call(e);!(_=(l=y.next()).done)&&(v.push(l.value),!i||v.length!==i);_=!0);}catch(e){S=!0,p=e}finally{try{_||null==y.return||y.return()}finally{if(S)throw p}}return v}}(e,i)||(0,v._)(e,i)||(0,y._)()}},73372:function(e,i,l){"use strict";l.d(i,{_:function(){return _to_consumable_array}});var p=l(72198),y=l(9727),v=l(23251);function _to_consumable_array(e){return function(e){if(Array.isArray(e))return(0,p._)(e)}(e)||(0,y._)(e)||(0,v._)(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},23251:function(e,i,l){"use strict";l.d(i,{_:function(){return _unsupported_iterable_to_array}});var p=l(72198);function _unsupported_iterable_to_array(e,i){if(e){if("string"==typeof e)return(0,p._)(e,i);var l=Object.prototype.toString.call(e).slice(8,-1);if("Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l)return Array.from(l);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return(0,p._)(e,i)}}},34177:function(e,i,l){"use strict";function _object_spread(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{},p=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(p=p.concat(Object.getOwnPropertySymbols(l).filter(function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}))),p.forEach(function(i){var p;p=l[i],i in e?Object.defineProperty(e,i,{value:p,enumerable:!0,configurable:!0,writable:!0}):e[i]=p})}return e}l.d(i,{v:function(){return createInstantSearchRouterNext}});var p=l(76587);function stripLocaleFromUrl(e,i){var l=!(arguments.length>2)||void 0===arguments[2]||arguments[2];return i?e.replace(new RegExp("".concat(l?"/":"").concat(i,"(\\/|\\?|$)")),"$1"):e}function createInstantSearchRouterNext(e){var i,l=e||{},y=l.beforePopState,v=l.singletonRouter,_=l.serverUrl,S=l.beforeStart,P=l.beforeDispose,w=l.routerOptions,ownBeforePopState=function(){return!0};if("undefined"==typeof window)return(0,p.Z)(_object_spread({getLocation:function(){return new URL(_)}},w));
9var T=!1,H=(0,p.Z)(_object_spread({start:function(e){S&&S(e);var l,p=v.pathname;function libraryBeforePopState(){var e=v.asPath.split("?")[0],i=new URL(window.location.href).pathname;return i=stripLocaleFromUrl(i,v.locale,"/"!==e),e!==i}i=function(){v.pathname!==p||T||e(),T=!1},v.events.on("routeChangeComplete",i),(null===(l=v.router)||void 0===l?void 0:l._bps)&&(ownBeforePopState=v.router._bps),v.beforePopState(function(e){return y?y({state:e,libraryBeforePopState:libraryBeforePopState,ownBeforePopState:ownBeforePopState}):libraryBeforePopState()})},dispose:function(){P&&P(),v.events.off("routeChangeComplete",i),v.beforePopState(ownBeforePopState)},push:function(e){var i=stripLocaleFromUrl(e,v.locale);v.push(i,void 0,{shallow:!0}),T=!0}},w));return H._isNextRouter=!0,H.$$type="ais.nextjs",H}},70843:function(e,i,l){"use strict";l.d(i,{y:function(){return Highlight_Highlight}});var p,y,v,_,S=l(46390),P=l(14001),w=l(98951),T=l(54442),H=l(48361),U=l(22686),W=l(67294),B=l(53758),Q=l(73305),q=l(68348),$=l(59599),z=(y=(p={createElement:W.createElement,Fragment:W.Fragment}).createElement,v=p.Fragment,_=function(e){var i=e.classNames,l=e.children,p=e.highlightedTagName,v=e.isHighlighted,_=e.nonHighlightedTagName;return y(v?p:_,{className:v?i.highlighted:i.nonHighlighted},l)},function(e){var i=e.parts,l=e.highlightedTagName,p=void 0===l?"mark":l,S=e.nonHighlightedTagName,P=void 0===S?"span":S,w=e.separator,T=void 0===w?", ":w,H=e.className,U=e.classNames,W=void 0===U?{}:U,z=(0,$._)(e,["parts","highlightedTagName","nonHighlightedTagName","separator","className","classNames"]);return y("span",(0,q._)((0,Q._)({},z),{className:(0,B.cx)(W.root,H)}),i.map(function(e,l){var S=l===i.length-1;return y(v,{key:l},e.map(function(e,i){return y(_,{key:i,classNames:W,highlightedTagName:p,nonHighlightedTagName:P,isHighlighted:e.isHighlighted},e.value)}),!S&&y("span",{className:W.separator},T))}))});function Highlight(e){var i=e.classNames,l=void 0===i?{}:i,p=(0,w._)(e,["classNames"]);return W.createElement(z,(0,S._)({classNames:{root:(0,B.cx)("ais-Highlight",l.root),highlighted:(0,B.cx)("ais-Highlight-highlighted",l.highlighted),nonHighlighted:(0,B.cx)("ais-Highlight-nonHighlighted",l.nonHighlighted),separator:(0,B.cx)("ais-Highlight-separator",l.separator)}},p))}function Highlight_Highlight(e){var i=e.hit,l=e.attribute,p=e.highlightedTagName,y=e.nonHighlightedTagName,v=e.separator,_=(0,w._)(e,["hit","attribute","highlightedTagName","nonHighlightedTagName","separator"]),B=(0,T.E)(i._highlightResult,l)||[],Q=(Array.isArray(B)?B:[B]).map(function(e){return(0,H.H)((0,U.A)(e.value||""))});return W.createElement(Highlight,(0,P._)((0,S._)({},_),{parts:Q,highlightedTagName:p,nonHighlightedTagName:y,separator:v}))}},89998:function(e,i,l){"use strict";l.d(i,{m:function(){return Hits}});var p,y,v,_,S=l(46390),P=l(98951),w=l(73305),T=l(68348),H=l(59599),U=l(53758),W=l(67294),B=l(96019),Q=l(24414),q=l(32920),$=l(80860),z=l(17350),V=l(34004);function _buildEventPayloadsForHits(e){var i=e.helper,l=e.widgetType;e.methodName;var p=e.args,y=e.instantSearchInstance;if(1===p.length&&"object"===(0,z._)(p[0]))return[p[0]];var v=(0,$._)(p[0].split(":"),2),_=v[0],S=v[1],P=p[1],w=p[2],T=p[3]||{};if(!P||("click"===_||"conversion"===_)&&!w)return[];var H=Array.isArray(P)?P:[P];if(0===H.length)return[];var U=H[0].__queryID,W=function(e){for(var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,l=[],p=0;p<Math.ceil(e.length/i);p++)l.push(e.slice(p*i,(p+1)*i));return l}(H),B=W.map(function(e){return e.map(function(e){return e.objectID})}),q=W.map(function(e){return e.map(function(e){return e.__position})});return"view"===_?"idle"!==y.status?[]:W.map(function(e,p){var y;return{insightsMethod:"viewedObjectIDs",widgetType:l,eventType:_,payload:(0,Q._)({eventName:w||"Hits Viewed",index:(null===(y=i.lastResults)||void 0===y?void 0:y.index)||i.state.index,objectIDs:B[p]},T),hits:e,eventModifier:S}}):"click"===_?W.map(function(e,p){var y;return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:l,eventType:_,payload:(0,Q._)({eventName:w||"Hit Clicked",index:(null===(y=i.lastResults)||void 0===y?void 0:y.index)||i.state.index,queryID:U,objectIDs:B[p],positions:q[p]},T),hits:e,eventModifier:S}}):"conversion"===_?W.map(function(e,p){var y;return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:l,eventType:_,payload:(0,Q._)({eventName:w||"Hit Converted",index:(null===(y=i.lastResults)||void 0===y?void 0:y.index)||i.state.index,queryID:U,objectIDs:B[p]},T),hits:e,eventModifier:S}}):[]}var K=l(87456),G=l(28537),Z=l(82165),X=l(11490),Y=(0,K.K)({name:"hits",connector:!0}),connectHits=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:X.Z;return(0,G._)(e,Y()),function(l){var p,y,v=l||{},_=v.escapeHTML,S=void 0===_||_,P=v.transformItems,w=void 0===P?function(e){return e}:P;return{$$type:"ais.hits",init:function(i){e((0,q._)((0,Q._)({},this.getWidgetRenderState(i)),{instantSearchInstance:i.instantSearchInstance}),!0)},render:function(i){var l=this.getWidgetRenderState(i);e((0,q._)((0,Q._)({},l),{instantSearchInstance:i.instantSearchInstance}),!1),l.sendEvent("view:internal",l.items)},getRenderState:function(e,i){return(0,q._)((0,Q._)({},e),{hits:this.getWidgetRenderState(i)})},getWidgetRenderState:function(e){var i,v,_,P,T,H,U,W,B,$,z,K,G,X,Y,ee,et,er,en=e.results,ei=e.helper,ea=e.instantSearchInstance;if(p||(v=(i={instantSearchInstance:ea,helper:ei,widgetType:this.$$type}).instantSearchInstance,_=i.helper,P=i.widgetType,T={},H=void 0,p=function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];_buildEventPayloadsForHits({widgetType:P,helper:_,methodName:"sendEvent",args:i,instantSearchInstance:v}
9).forEach(function(e){"click"===e.eventType&&"internal"===e.eventModifier&&T[e.eventType]||(T[e.eventType]=!0,v.sendEventToInsights(e))}),clearTimeout(H),H=setTimeout(function(){T={}},0)}),y||(W=(U={helper:ei,widgetType:this.$$type,instantSearchInstance:ea}).helper,B=U.widgetType,$=U.instantSearchInstance,y=function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];var p=_buildEventPayloadsForHits({widgetType:B,helper:W,methodName:"bindEvent",args:i,instantSearchInstance:$});return p.length?"data-insights-event=".concat((0,V.a)(p)):""}),!en)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:p,bindEvent:y,widgetParams:l};S&&en.hits.length>0&&(en.hits=(0,Z.mY)(en.hits));var eo=w((z=en.hits,K=en.page,G=en.hitsPerPage,X=z.map(function(e,i){return(0,q._)((0,Q._)({},e),{__position:G*K+i+1})}),(Y=en.queryID)?X.map(function(e){return(0,q._)((0,Q._)({},e),{__queryID:Y})}):X),{results:en}),es=null===(er=en.renderingContent)||void 0===er?void 0:null===(et=er.widgets)||void 0===et?void 0:null===(ee=et.banners)||void 0===ee?void 0:ee[0];return{hits:eo,items:eo,results:en,banner:es,sendEvent:p,bindEvent:y,widgetParams:l}},dispose:function(e){var l=e.state;return(i(),S)?l.setQueryParameters(Object.keys(Z.dg).reduce(function(e,i){return(0,q._)((0,Q._)({},e),(0,B._)({},i,void 0))},{})):l},getWidgetSearchParameters:function(e,i){return S?e.setQueryParameters(Z.dg):e}}}},ee=l(32331);function DefaultHitComponent(e){var i=e.hit;return W.createElement("div",{style:{wordBreak:"break-all"}},JSON.stringify(i).slice(0,100),"â¦")}var et=(y=({createElement:v=(p={createElement:W.createElement,Fragment:W.Fragment}).createElement,Fragment:p.Fragment}).createElement,_=function(e){var i=e.classNames,l=e.banner;return l.image.urls[0].url?y("aside",{className:(0,U.cx)("ais-Hits-banner",i.bannerRoot)},l.link?y("a",{className:(0,U.cx)("ais-Hits-banner-link",i.bannerLink),href:l.link.url,target:l.link.target},y("img",{className:(0,U.cx)("ais-Hits-banner-image",i.bannerImage),src:l.image.urls[0].url,alt:l.image.title})):y("img",{className:(0,U.cx)("ais-Hits-banner-image",i.bannerImage),src:l.image.urls[0].url,alt:l.image.title})):null},function(e){var i=e.classNames,l=void 0===i?{}:i,p=e.hits,y=e.itemComponent,S=e.sendEvent,P=e.emptyComponent,W=e.banner,B=e.bannerComponent,Q=(0,H._)(e,["classNames","hits","itemComponent","sendEvent","emptyComponent","banner","bannerComponent"]);return v("div",(0,T._)((0,w._)({},Q),{className:(0,U.cx)("ais-Hits",l.root,0===p.length&&(0,U.cx)("ais-Hits--empty",l.emptyRoot),Q.className)}),W&&(B?v(B,{className:(0,U.cx)("ais-Hits-banner",l.bannerRoot),banner:W}):v(_,{classNames:l,banner:W})),0===p.length&&P?v(P,null):v("ol",{className:(0,U.cx)("ais-Hits-list",l.list)},p.map(function(e,i){return v(y,{key:e.objectID,hit:e,index:i,className:(0,U.cx)("ais-Hits-item",l.item),onClick:function(){S("click:internal",e,"Hit Clicked")},onAuxClick:function(){S("click:internal",e,"Hit Clicked")}})})))});function Hits(e){var i=e.escapeHTML,l=e.transformItems,p=e.hitComponent,y=void 0===p?DefaultHitComponent:p,v=e.bannerComponent,_=(0,P._)(e,["escapeHTML","transformItems","hitComponent","bannerComponent"]),w=(0,ee.B)(connectHits,{escapeHTML:i,transformItems:l},{$$widgetType:"ais.hits"}),T=w.hits,H=w.banner,U=w.sendEvent,B=(0,W.useMemo)(function(){return function(e){var i=e.hit;e.index;var l=(0,P._)(e,["hit","index"]);return W.createElement("li",(0,S._)({key:i.objectID},l),W.createElement(y,{hit:i,sendEvent:U}))}},[y,U]);return W.createElement(et,(0,S._)({},_,{hits:T,sendEvent:U,itemComponent:B,banner:H,bannerComponent:!1===v?function(){return null}:v}))}},1506:function(e,i,l){"use strict";l.d(i,{t:function(){return Pagination_Pagination}});var p=l(46390),y=l(14001),v=l(98951),_=l(67294),S=l(24414),P=l(32920),w=l(52060),T=l(56529),H=l(96019),U=l(8610);function range(e){var i=e.start,l=void 0===i?0:i,p=e.end,y=e.step,v=void 0===y?1:y,_=0===v?1:v;return(0,U._)(Array(Math.round((p-l)/_))).map(function(e,i){return l+i*_})}var W=function(){function Paginator(e){(0,w._)(this,Paginator),(0,H._)(this,"currentPage",void 0),(0,H._)(this,"total",void 0),(0,H._)(this,"padding",void 0),this.currentPage=e.currentPage,this.total=e.total,this.padding=e.padding}return(0,T._)(Paginator,[{key:"pages",value:function(){var e=this.total,i=this.currentPage,l=this.padding;if(0===e)return[0];var p=this.nbPagesDisplayed(l,e);if(p===e)return range({end:e});var y=this.calculatePaddingLeft(i,l,e,p),v=p-y;return range({start:i-y,end:i+v})}},{key:"nbPagesDisplayed",value:function(e,i){return Math.min(2*e+1,i)}},{key:"calculatePaddingLeft",value:function(e,i,l,p){return e<=i?e:e>=l-i?p-(l-e):i}},{key:"isLastPage",value:function(){return this.currentPage>=this.total-1}},{key:"isFirstPage",value:function(){return this.currentPage<=0}}]),Paginator}(),B=l(87456),Q=l(28537),q=l(11490),$=(0,B.K)({name:"pagination",connector:!0}),connectPagination=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:q.Z;return(0,Q._)(e,$()),function(l){var p=l||{},y=p.totalPages,v=p.padding,_=new W({currentPage:0,total:0,padding:void 0===v?3:v}),w={};return{$$type:"ais.pagination",init:function(i){var l=i.instantSearchInstance;e((0,P._)((0,S._)({},this.getWidgetRenderState(i)),{instantSearchInstance:l}),!0)},render:function(i){var l=i.instantSearchInstance;e((0,P._)((0,S._)({},this.getWidgetRenderState(i)),{instantSearchInstance:l}),!1)},dispose:function(e){var l=e.state;return i(),l.setQueryParameter("page",void 0)},getWidgetUiState:function(e,i){var l=i.searchParameters.page||0;return l?(0,P._)((0,S._)({},e),{page:l+1}):e},getWidgetSearchParameters:function(e,i){var l=i.uiState,p=l.page?l.page-1:0;return e.setQueryParameter("page",p)},getWidgetRenderState:function(e){var i,p=e.results,v=e.helper,T=e.state,H=e.createURL;w.refine||(w.refine=function(e){v.setPage(e),v.search()}),w.createURL||(w.createURL=function(e){return H(function(i){return(0,P._)((0,S._)({},i),{page:e+1})})});var U=T.page||0,W=(i=(p||{nbPages:0}).nbPages,void 0!==y?Math.min(y,i):i);return _.currentPage=U,_.total=W,{createURL:w.createURL,refine:w.refine,canRefine:W>1,currentRefinement:U,nbHits:(null==p?void 0:p.nbHits)||0,nbPages:W,pages:p?_.pages():[],isFirstPage:_.isFirstPage(),isLastPage:_.isLastPage(),widgetParams:l}},getRenderState:function(e,i){return(0,P._)((0,S._)({},e),{pagination:this.getWidgetRenderState(i)})}}}},z=l(32331),V=l(53758);function Pagination(e){var i=e.pages,l=e.currentPage,S=e.nbPages,P=e.isFirstPage,w=e.isLastPage,T=e.showFirst,H=void 0===T||T,U=e.showPrevious,W=void 0===U||U,B=e.showNext,Q=void 0===B||B,q=e.showLast,$=void 0===q||q,z=e.createURL,K=e.onNavigate,G=e.translations,Z=e.classNames,X=void 0===Z?{}:Z,Y=(0,v._)(e,["pages","currentPage","nbPages","isFirstPage","isLastPage","showFirst","showPrevious","showNext","showLast","createURL","onNavigate","translations","classNames"]),ee=l-1,et=l+1,er=S-1;return _.createElement("div",(0,y._)((0,p._)({},Y),{className:(0,V.cx)("ais-Pagination",X.root,S<=1&&(0,V.cx)("ais-Pagination--noRefinement",X.noRefinementRoot),Y.className)}),_.createElement("ul",{className:(0,V.cx)("ais-Pagination-list",X.list)},H&&_.createElement(PaginationItem,{isDisabled:P,className:(0,V.cx)("ais-Pagination-item--firstPage",X.firstPageItem),classNames:X,"aria-label":G.firstPageItemAriaLabel,href:z(0),onClick:function(){return K(0)}},G.firstPageItemText),W&&_.createElement(PaginationItem,{isDisabled:P,className:(0,V.cx)("ais-Pagination-item--previousPage",X.previousPageItem),classNames:X,"aria-label":G.previousPageItemAriaLabel,href:z(ee),onClick:function(){return K(ee)}},G.previousPageItemText),i.map(function(e){return _.createElement(PaginationItem,{key:e,isDisabled:!1,className:(0,V.cx)("ais-Pagination-item--page",X.pageItem,e===l&&(0,V.cx)("ais-Pagination-item--selected",X.selectedItem)),classNames:X,"aria-label":G.pageItemAriaLabel({currentPage:e+1,nbPages:S}),href:z(e),onClick:function(){return K(e)}},G.pageItemText({currentPage:e+1,nbPages:S}))}),Q&&_.createElement(PaginationItem,{isDisabled:w,className:(0,V.cx)("ais-Pagination-item--nextPage",X.nextPageItem),classNames:X,"aria-label":G.nextPageItemAriaLabel,href:z(et),onClick:function(){return K(et)}},G.nextPageItemText),$&&_.createElement(PaginationItem,{isDisabled:w,className:(0,V.cx)("ais-Pagination-item--lastPage",X.lastPageItem),classNames:X,"aria-label":G.lastPageItemAriaLabel,href:z(er),onClick:function(){return K(er)}},G.lastPageItemText)))}function PaginationItem(e){var i=e.isDisabled,l=e.className,y=e.classNames,S=e.href,P=e.onClick,w=(0,v._)(e,["isDisabled","className","classNames","href","onClick"]);return i?_.createElement("li",{className:(0,V.cx)("ais-Pagination-item",y.item,"ais-Pagination-item--disabled",y.disabledItem,l)},_.createElement("span",(0,p._)({className:(0,V.cx)("ais-Pagination-link",y.link)},w))):_.createElement("li",{className:(0,V.cx)("ais-Pagination-item",y.item,l)},_.createElement("a",(0,p._)({className:(0,V.cx)("ais-Pagination-link",y.link),href:S,onClick:function(e){1===e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||(e.preventDefault(),P(e))}},w)))}function Pagination_Pagination(e){var i=e.showFirst,l=e.showPrevious,S=e.showNext,P=e.showLast,w=e.padding,T=e.totalPages,H=e.translations,U=(0,v._)(e,["showFirst","showPrevious","showNext","showLast","padding","totalPages","translations"]),W=(0,z.B)(connectPagination,{padding:w,totalPages:T},{$$widgetType:"ais.pagination"}),B=W.pages,Q=W.currentRefinement,q=W.isFirstPage,$=W.isLastPage,V=W.nbPages,K={pages:B,currentPage:Q,isFirstPage:q,isLastPage:$,nbPages:V,createURL:W.createURL,onNavigate:W.refine,translations:(0,p._)({firstPageItemText:"â¹â¹",previousPageItemText:"â¹",nextPageItemText:"âº",lastPageItemText:"âºâº",pageItemText:function(e){return String(e.currentPage)},firstPageItemAriaLabel:"First Page",previousPageItemAriaLabel:"Previous Page",nextPageItemAriaLabel:"Next Page",lastPageItemAriaLabel:"Last Page, Page ".concat(V),pageItemAriaLabel:function(e){var i=e.currentPage;return"Page ".concat(i)}},H)};return _.createElement(Pagination,(0,y._)((0,p._)({},U,K),{showFirst:i,showPrevious:l,showNext:S,showLast:P}))}},90413:function(e,i,l){"use strict";l.d(i,{C:function(){return PoweredBy_PoweredBy}
9});var p=l(46390),y=l(67294),v=l(53871),_=l(14001),S=l(98951),P=l(53758);function PoweredBy(e){var i=e.classNames,l=void 0===i?{}:i,v=e.url,w=e.theme,T=void 0===w?"light":w,H=(0,S._)(e,["classNames","url","theme"]);return y.createElement("div",(0,_._)((0,p._)({},H),{className:(0,P.cx)("ais-PoweredBy","dark"===T?(0,P.cx)("ais-PoweredBy--dark",l.dark):(0,P.cx)("ais-PoweredBy--light",l.light),l.root,H.className)}),y.createElement("a",{href:v,target:"_blank",className:(0,P.cx)("ais-PoweredBy-link",l.link),"aria-label":"Search by Algolia",rel:"noopener noreferrer"},y.createElement("svg",{viewBox:"0 0 572 64",className:(0,P.cx)("ais-PoweredBy-logo",l.logo)},y.createElement("path",{fill:"dark"===T?"#FFF":"#36395A",d:"M16 48.3c-3.4 0-6.3-.6-8.7-1.7A12.4 12.4 0 0 1 1.9 42C.6 40 0 38 0 35.4h6.5a6.7 6.7 0 0 0 3.9 6c1.4.7 3.3 1.1 5.6 1.1 2.2 0 4-.3 5.4-1a7 7 0 0 0 3-2.4 6 6 0 0 0 1-3.4c0-1.5-.6-2.8-1.9-3.7-1.3-1-3.3-1.6-5.9-1.8l-4-.4c-3.7-.3-6.6-1.4-8.8-3.4a10 10 0 0 1-3.3-7.9c0-2.4.6-4.6 1.8-6.4a12 12 0 0 1 5-4.3c2.2-1 4.7-1.6 7.5-1.6s5.5.5 7.6 1.6a12 12 0 0 1 5 4.4c1.2 1.8 1.8 4 1.8 6.7h-6.5a6.4 6.4 0 0 0-3.5-5.9c-1-.6-2.6-1-4.4-1s-3.2.3-4.4 1c-1.1.6-2 1.4-2.6 2.4-.5 1-.8 2-.8 3.1a5 5 0 0 0 1.5 3.6c1 1 2.6 1.7 4.7 1.9l4 .3c2.8.2 5.2.8 7.2 1.8 2.1 1 3.7 2.2 4.9 3.8a9.7 9.7 0 0 1 1.7 5.8c0 2.5-.7 4.7-2 6.6a13 13 0 0 1-5.6 4.4c-2.4 1-5.2 1.6-8.4 1.6Zm35.6 0c-2.6 0-4.8-.4-6.7-1.3a13 13 0 0 1-4.7-3.5 17.1 17.1 0 0 1-3.6-10.4v-1c0-2 .3-3.8 1-5.6a13 13 0 0 1 7.3-8.3 15 15 0 0 1 6.3-1.4A13.2 13.2 0 0 1 64 24.3c1 2.2 1.6 4.6 1.6 7.2V34H39.4v-4.3h21.8l-1.8 2.2c0-2-.3-3.7-.9-5.1a7.3 7.3 0 0 0-2.7-3.4c-1.2-.7-2.7-1.1-4.6-1.1s-3.4.4-4.7 1.3a8 8 0 0 0-2.9 3.6c-.6 1.5-.9 3.3-.9 5.4 0 2 .3 3.7 1 5.3a7.9 7.9 0 0 0 2.8 3.7c1.3.8 3 1.3 5 1.3s3.8-.5 5.1-1.3c1.3-1 2.1-2 2.4-3.2h6a11.8 11.8 0 0 1-7 8.7 16 16 0 0 1-6.4 1.2ZM80 48c-2.2 0-4-.3-5.7-1a8.4 8.4 0 0 1-3.7-3.3 9.7 9.7 0 0 1-1.3-5.2c0-2 .5-3.8 1.5-5.2a9 9 0 0 1 4.3-3.1c1.8-.7 4-1 6.7-1H89v4.1h-7.5c-2 0-3.4.5-4.4 1.4-1 1-1.6 2.1-1.6 3.6s.5 2.7 1.6 3.6c1 1 2.5 1.4 4.4 1.4 1.1 0 2.2-.2 3.2-.7 1-.4 1.9-1 2.6-2 .6-1 1-2.4 1-4.2l1.7 2.1c-.2 2-.7 3.8-1.5 5.2a9 9 0 0 1-3.4 3.3 12 12 0 0 1-5.3 1Zm9.5-.7v-8.8h-1v-10c0-1.8-.5-3.2-1.4-4.1-1-1-2.4-1.4-4.2-1.4a142.9 142.9 0 0 0-10.2.4v-5.6a74.8 74.8 0 0 1 8.6-.4c3 0 5.5.4 7.5 1.2s3.4 2 4.4 3.6c1 1.7 1.4 4 1.4 6.7v18.4h-5Zm12.9 0V17.8h5v12.3h-.2c0-4.2 1-7.4 2.8-9.5a11 11 0 0 1 8.3-3.1h1v5.6h-2a9 9 0 0 0-6.3 2.2c-1.5 1.5-2.2 3.6-2.2 6.4v15.6h-6.4Zm34.4 1a15 15 0 0 1-6.6-1.3c-1.9-.9-3.4-2-4.7-3.5a15.5 15.5 0 0 1-2.7-5c-.6-1.7-1-3.6-1-5.4v-1c0-2 .4-3.8 1-5.6a15 15 0 0 1 2.8-4.9c1.3-1.5 2.8-2.6 4.6-3.5a16.4 16.4 0 0 1 13.3.2c2 1 3.5 2.3 4.8 4a12 12 0 0 1 2 6H144c-.2-1.6-1-3-2.2-4.1a7.5 7.5 0 0 0-5.2-1.7 8 8 0 0 0-4.7 1.3 8 8 0 0 0-2.8 3.6 13.8 13.8 0 0 0 0 10.3c.6 1.5 1.5 2.7 2.8 3.6s2.8 1.3 4.8 1.3c1.5 0 2.7-.2 3.8-.8a7 7 0 0 0 2.6-2c.7-1 1-2 1.2-3.2h6.2a11 11 0 0 1-2 6.2 15.1 15.1 0 0 1-11.8 5.5Zm19.7-1v-40h6.4V31h-1.3c0-3 .4-5.5 1.1-7.6a9.7 9.7 0 0 1 3.5-4.8A9.9 9.9 0 0 1 172 17h.3c3.5 0 6 1.1 7.9 3.5 1.7 2.3 2.6 5.7 2.6 10v16.8h-6.4V29.6c0-2.1-.6-3.8-1.8-5a6.4 6.4 0 0 0-4.8-1.8c-2 0-3.7.7-5 2a7.8 7.8 0 0 0-1.9 5.5v17h-6.4Zm63.8 1a12.2 12.2 0 0 1-10.9-6.2 19 19 0 0 1-1.8-7.3h1.4v12.5h-5.1v-40h6.4v19.8l-2 3.5c.2-3.1.8-5.7 1.9-7.7a11 11 0 0 1 4.4-4.5c1.8-1 3.9-1.5 6.1-1.5a13.4 13.4 0 0 1 12.8 9.1c.7 1.9 1 3.8 1 6v1c0 2.2-.3 4.1-1 6a13.6 13.6 0 0 1-13.2 9.4Zm-1.2-5.5a8.4 8.4 0 0 0 7.9-5c.7-1.5 1.1-3.3 1.1-5.3s-.4-3.8-1.1-5.3a8.7 8.7 0 0 0-3.2-3.6 9.6 9.6 0 0 0-9.2-.2 8.5 8.5 0 0 0-3.3 3.2c-.8 1.4-1.3 3-1.3 5v2.3a9 9 0 0 0 1.3 4.8 9 9 0 0 0 3.4 3c1.4.7 2.8 1 4.4 1Zm27.3 3.9-10-28.9h6.5l9.5 28.9h-6Zm-7.5 12.2v-5.7h4.9c1 0 2-.1 2.9-.4a4 4 0 0 0 2-1.4c.4-.7.9-1.6 1.2-2.7l8.6-30.9h6.2l-9.3 32.4a14 14 0 0 1-2.5 5 8.9 8.9 0 0 1-4 2.8c-1.5.6-3.4.9-5.6.9h-4.4Zm9-12.2v-5.2h6.4v5.2H248Z"}),y.createElement("path",{fill:"dark"===T?"#FFF":"#003DFF",d:"M534.4 9.1H528a.8.8 0 0 1-.7-.7V1.8c0-.4.2-.7.6-.8l6.5-1c.4 0 .8.2.9.6v7.8c0 .4-.4.7-.8.7zM428 35.2V.8c0-.5-.3-.8-.7-.8h-.2l-6.4 1c-.4 0-.7.4-.7.8v35c0 1.6 0 11.8 12.3 12.2.5 0 .8-.4.8-.8V43c0-.4-.3-.7-.6-.8-4.5-.5-4.5-6-4.5-7zm106.5-21.8H528c-.4 0-.7.4-.7.8v34c0 .4.3.8.7.8h6.5c.4 0 .8-.4.8-.8v-34c0-.5-.4-.8-.8-.8zm-17.7 21.8V.8c0-.5-.3-.8-.8-.8l-6.5 1c-.4 0-.7.4-.7.8v35c0 1.6 0 11.8 12.3 12.2.4 0 .8-.4.8-.8V43c0-.4-.3-.7-.7-.8-4.4-.5-4.4-6-4.4-7zm-22.2-20.6a16.5 16.5 0 0 1 8.6 9.3c.8 2.2 1.3 4.8 1.3 7.5a19.4 19.4 0 0 1-4.6 12.6 14.8 14.8 0 0 1-5.2 3.6c-2 .9-5.2 1.4-6.8 1.4a21 21 0 0 1-6.7-1.4 15.4 15.4 0 0 1-8.6-9.3 21.3 21.3 0 0 1 0-14.4 15.2 15.2 0 0 1 8.6-9.3c2-.8 4.3-1.2 6.7-1.2s4.6.4
96.7 1.2zm-6.7 27.6c2.7 0 4.7-1 6.2-3s2.2-4.3 2.2-7.8-.7-6.3-2.2-8.3-3.5-3-6.2-3-4.7 1-6.1 3c-1.5 2-2.2 4.8-2.2 8.3s.7 5.8 2.2 7.8 3.5 3 6.2 3zm-88.8-28.8c-6.2 0-11.7 3.3-14.8 8.2a18.6 18.6 0 0 0 4.8 25.2c1.8 1.2 4 1.8 6.2 1.7s.1 0 .1 0h.9c4.2-.7 8-4 9.1-8.1v7.4c0 .4.3.7.8.7h6.4a.7.7 0 0 0 .7-.7V14.2c0-.5-.3-.8-.7-.8h-13.5zm6.3 26.5a9.8 9.8 0 0 1-5.7 2h-.5a10 10 0 0 1-9.2-14c1.4-3.7 5-6.3 9-6.3h6.4v18.3zm152.3-26.5h13.5c.5 0 .8.3.8.7v33.7c0 .4-.3.7-.8.7h-6.4a.7.7 0 0 1-.8-.7v-7.4c-1.2 4-4.8 7.4-9 8h-.1a4.2 4.2 0 0 1-.5.1h-.9a10.3 10.3 0 0 1-7-2.6c-4-3.3-6.5-8.4-6.5-14.2 0-3.7 1-7.2 3-10 3-5 8.5-8.3 14.7-8.3zm.6 28.4c2.2-.1 4.2-.6 5.7-2V21.7h-6.3a9.8 9.8 0 0 0-9 6.4 10.2 10.2 0 0 0 9.1 13.9h.5zM452.8 13.4c-6.2 0-11.7 3.3-14.8 8.2a18.5 18.5 0 0 0 3.6 24.3 10.4 10.4 0 0 0 13 .6c2.2-1.5 3.8-3.7 4.5-6.1v7.8c0 2.8-.8 5-2.2 6.3-1.5 1.5-4 2.2-7.5 2.2l-6-.3c-.3 0-.7.2-.8.5l-1.6 5.5c-.1.4.1.8.5 1h.1c2.8.4 5.5.6 7 .6 6.3 0 11-1.4 14-4.1 2.7-2.5 4.2-6.3 4.5-11.4V14.2c0-.5-.4-.8-.8-.8h-13.5zm6.3 8.2v18.3a9.6 9.6 0 0 1-5.6 2h-1a10.3 10.3 0 0 1-8.8-14c1.4-3.7 5-6.3 9-6.3h6.4zM291 31.5A32 32 0 0 1 322.8 0h30.8c.6 0 1.2.5 1.2 1.2v61.5c0 1.1-1.3 1.7-2.2 1l-19.2-17a18 18 0 0 1-11 3.4 18.1 18.1 0 1 1 18.2-14.8c-.1.4-.5.7-.9.6-.1 0-.3 0-.4-.2l-3.8-3.4c-.4-.3-.6-.8-.7-1.4a12 12 0 1 0-2.4 8.3c.4-.4 1-.5 1.6-.2l14.7 13.1v-46H323a26 26 0 1 0 10 49.7c.8-.4 1.6-.2 2.3.3l3 2.7c.3.2.3.7 0 1l-.2.2a32 32 0 0 1-47.2-28.6z"}))))}function PoweredBy_PoweredBy(e){var i,l=(i=(0,v.U)(function(e){var i;return(null===(i=e.window.location)||void 0===i?void 0:i.hostname)||""},{fallback:function(){return""}}),{url:"https://www.algolia.com/?utm_source=react-instantsearch&utm_medium=website&utm_content=".concat(i,"&utm_campaign=poweredby")}).url;return y.createElement(PoweredBy,(0,p._)({},e,{url:l}))}},43804:function(e,i,l){"use strict";l.d(i,{R:function(){return SearchBox_SearchBox}});var p=l(46390),y=l(98951);function _array_like_to_array(e,i){(null==i||i>e.length)&&(i=e.length);for(var l=0,p=Array(i);l<i;l++)p[l]=e[l];return p}var v=l(67294),_=l(24414),S=l(32920),P=l(87456),w=l(28537),T=l(11490),H=(0,P.K)({name:"search-box",connector:!0}),defaultQueryHook=function(e,i){return i(e)},connectSearchBox=function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:T.Z;return(0,w._)(e,H()),function(l){var p,y,v=(l||{}).queryHook,P=void 0===v?defaultQueryHook:v;return{$$type:"ais.searchBox",init:function(i){var l=i.instantSearchInstance;e((0,S._)((0,_._)({},this.getWidgetRenderState(i)),{instantSearchInstance:l}),!0)},render:function(i){var l=i.instantSearchInstance;e((0,S._)((0,_._)({},this.getWidgetRenderState(i)),{instantSearchInstance:l}),!1)},dispose:function(e){var l=e.state;return i(),l.setQueryParameter("query",void 0)},getRenderState:function(e,i){return(0,S._)((0,_._)({},e),{searchBox:this.getWidgetRenderState(i)})},getWidgetRenderState:function(e){var i=e.helper,v=e.instantSearchInstance,_=e.state;return p||(p=function(e){P(e,function(e){return i.setQuery(e).search()})},y=function(){i.setQuery("").search()}),{query:_.query||"",refine:p,clear:y,widgetParams:l,isSearchStalled:"stalled"===v.status}},getWidgetUiState:function(e,i){var l=i.searchParameters.query||"";return""===l||e&&e.query===l?e:(0,S._)((0,_._)({},e),{query:l})},getWidgetSearchParameters:function(e,i){var l=i.uiState;return e.setQueryParameter("query",l.query||"")}}}},U=l(32331),W=l(73372),B=l(80258),Q=l(94397),q=l(73256),$=l(3059),z=l(87925),V=l(97406),K=l(14001),G=l(53758);function DefaultSubmitIcon(e){var i=e.classNames;return v.createElement("svg",{className:(0,G.cx)("ais-SearchBox-submitIcon",i.submitIcon),width:"10",height:"10",viewBox:"0 0 40 40","aria-hidden":"true"},v.createElement("path",{d:"M26.804 29.01c-2.832 2.34-6.465 3.746-10.426 3.746C7.333 32.756 0 25.424 0 16.378 0 7.333 7.333 0 16.378 0c9.046 0 16.378 7.333 16.378 16.378 0 3.96-1.406 7.594-3.746 10.426l10.534 10.534c.607.607.61 1.59-.004 2.202-.61.61-1.597.61-2.202.004L26.804 29.01zm-10.426.627c7.323 0 13.26-5.936 13.26-13.26 0-7.32-5.937-13.257-13.26-13.257C9.056 3.12 3.12 9.056 3.12 16.378c0 7.323 5.936 13.26 13.258 13.26z"}))}function DefaultResetIcon(e){var i=e.classNames;return v.createElement("svg",{className:(0,G.cx)("ais-SearchBox-resetIcon",i.resetIcon),viewB
9ox:"0 0 20 20",width:"10",height:"10","aria-hidden":"true"},v.createElement("path",{d:"M8.114 10L.944 2.83 0 1.885 1.886 0l.943.943L10 8.113l7.17-7.17.944-.943L20 1.886l-.943.943-7.17 7.17 7.17 7.17.943.944L18.114 20l-.943-.943-7.17-7.17-7.17 7.17-.944.943L0 18.114l.943-.943L8.113 10z"}))}function DefaultLoadingIcon(e){var i=e.classNames;return v.createElement("svg",{"aria-label":"Results are loading",width:"16",height:"16",viewBox:"0 0 38 38",stroke:"#444",className:(0,G.cx)("ais-SearchBox-loadingIcon",i.loadingIcon),"aria-hidden":"true"},v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("g",{transform:"translate(1 1)",strokeWidth:"2"},v.createElement("circle",{strokeOpacity:".5",cx:"18",cy:"18",r:"18"}),v.createElement("path",{d:"M36 18c0-9.94-8.06-18-18-18"},v.createElement("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})))))}function DefaultAiModeIcon(e){var i=e.classNames;return v.createElement("svg",{className:(0,G.cx)("ais-AiModeButton-icon",i.aiModeIcon),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",width:"16",height:"16","aria-hidden":"true"},v.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 1.875c.27 0 .51.173.594.43l1.593 4.844a1.043 1.043 0 0 0 .664.664l4.844 1.593a.625.625 0 0 1 0 1.188l-4.844 1.593a1.043 1.043 0 0 0-.664.664l-1.593 4.844a.625.625 0 0 1-1.188 0l-1.593-4.844a1.042 1.042 0 0 0-.664-.664l-4.844-1.593a.625.625 0 0 1 0-1.188l4.844-1.593a1.042 1.042 0 0 0 .664-.664l1.593-4.844a.625.625 0 0 1 .594-.43ZM9 7.539A2.292 2.292 0 0 1 7.54 9L4.5 10l3.04 1A2.292 2.292 0 0 1 9 12.46l1 3.04 1-3.04A2.293 2.293 0 0 1 12.46 11l3.04-1-3.04-1A2.292 2.292 0 0 1 11 7.54L10 4.5 9 7.54ZM4.167 1.875c.345 0 .625.28.625.625v3.333a.625.625 0 0 1-1.25 0V2.5c0-.345.28-.625.625-.625ZM15.833 13.542c.345 0 .625.28.625.625V17.5a.625.625 0 1 1-1.25 0v-3.333c0-.345.28-.625.625-.625Z",clipRule:"evenodd"}),v.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M1.875 4.167c0-.346.28-.625.625-.625h3.333a.625.625 0 1 1 0 1.25H2.5a.625.625 0 0 1-.625-.625ZM13.542 15.833c0-.345.28-.625.625-.625H17.5a.625.625 0 0 1 0 1.25h-3.333a.625.625 0 0 1-.625-.625Z",clipRule:"evenodd"}))}function SearchBox(e){var i=e.formRef,l=e.inputRef,_=e.inputProps,S=e.isSearchStalled,P=e.onChange,w=e.onReset,T=e.onSubmit,H=e.placeholder,U=e.value,W=e.autoFocus,B=e.resetIconComponent,Q=void 0===B?DefaultResetIcon:B,q=e.submitIconComponent,$=void 0===q?DefaultSubmitIcon:q,z=e.loadingIconComponent,V=void 0===z?DefaultLoadingIcon:z,Z=e.aiModeIconComponent,X=void 0===Z?DefaultAiModeIcon:Z,Y=e.onAiModeClick,ee=e.classNames,et=void 0===ee?{}:ee,er=e.translations,en=(0,y._)(e,["formRef","inputRef","inputProps","isSearchStalled","onChange","onReset","onSubmit","placeholder","value","autoFocus","resetIconComponent","submitIconComponent","loadingIconComponent","aiModeIconComponent","onAiModeClick","classNames","translations"]);return v.createElement("div",(0,K._)((0,p._)({},en),{className:(0,G.cx)("ais-SearchBox",et.root,en.className)}),v.createElement("form",{ref:i,action:"",className:(0,G.cx)("ais-SearchBox-form",et.form),noValidate:!0,onSubmit:function(e){e.preventDefault(),e.stopPropagation(),T&&T(e),l.current&&l.current.blur()},onReset:function(e){e.preventDefault(),e.stopPropagation(),w(e),l.current&&l.current.focus()},role:"search"},v.createElement("input",(0,K._)((0,p._)({},_),{ref:l,className:(0,G.cx)("ais-SearchBox-input",et.input,null==_?void 0:_.className),"aria-label":"Search",autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",placeholder:void 0===H?"":H,spellCheck:!1,maxLength:512,type:"search",value:U,onChange:P,onCompositionEnd:P,autoFocus:W})),v.createElement("button",{className:(0,G.cx)("ais-SearchBox-submit",et.submit),type:"submit",title:er.submitButtonTitle},v.createElement($,{classNames:et})),v.createElement("button",{className:(0,G.cx)("ais-SearchBox-reset",et.reset),type:"reset",title:er.resetButtonTitle,hidden:0===U.length||S},v.createElement(Q,{classNames:et})),Y&&v.createElement("button",{className:(0,G.cx)("ais-AiModeButton",et.aiModeButton),type:"button",title:er.aiModeButtonTitle||"AI Mode",onClick:function(e){e.preventDefault(),Y()}},v.createElement(X,{classNames:et}),v.createElement("span",{className:"ais-AiModeButton-label"},er.aiModeButtonTitle||"AI Mode")),v.createElement("span",{className:(0,G.cx)("ais-SearchBox-loadingIndicator",et.loadingIndicator),hidden:!S},v.createElement(V,{classNames:et}))))}function SearchBox_SearchBox(e){var i,l=e.queryHook,_=e.searchAsYouType,S=void 0===_||_,P=e.ignoreCompositionEvents,w=void 0!==P&&P,T=e.aiMode,H=e.translations,K=(0,y._)(e,["queryHook","searchAsYouType","ignoreCompositionEvents","aiMode","translations"]),G=(0,U.B)(connectSearchBox,{queryHook:l},{$$widgetType:"ais.searchBox"}),Z=G.query,X=G.refine,Y=G.isSearchStalled,ee=function(){var e,i,l,p,y,_,S,P,w,T,H,U,K,G,Z,X,Y,ee,et=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).catchError,er=(0,B.z)(),en=(e=(0,B.z)(),l=(i=(0,V.a)()).getIndexId(),y=(p=(0,q._)((0,v.useState)(function(){return e.getUiState()}),2))[0],_=p[1],S=y[l],w=(P=(0,q._)((0,v.useState)(function(){return e.render
9State}),2))[0],T=P[1],H=w[l]||{},U=(0,v.useCallback)(function(i){e.setUiState(i)},[e]),K=(0,v.useCallback)(function(e){i.setIndexUiState(e)},[i]),(0,v.useEffect)(function(){function handleRender(){_(e.getUiState()),T(e.renderState)}return e.addListener("render",handleRender),handleRender(),function(){e.removeListener("render",handleRender)}},[e]),{uiState:y,setUiState:U,indexUiState:S,setIndexUiState:K,renderState:w,indexRenderState:H}),ei=en.uiState,ea=en.setUiState,eo=en.indexUiState,es=en.setIndexUiState,ec=en.renderState,eu=en.indexRenderState,el=(G=(0,B.z)(),Z=(0,V.a)(),Y=(X=(0,q._)((0,v.useState)(function(){var e=(0,z.E)(Z);return{results:e.results,scopedResults:e.scopedResults}}),2))[0],ee=X[1],(0,v.useEffect)(function(){function handleRender(){var e=Z.getResults();if(null!==e)ee({results:e,scopedResults:Z.getScopedResults()});else if(0===G.mainIndex.getIndexName().length){var i=G.mainIndex.getWidgets().find($.J);i&&ee({results:(0,z.E)(Z).results,scopedResults:i.getScopedResults()})}}return G.addListener("render",handleRender),handleRender(),function(){G.removeListener("render",handleRender)}},[G,Z]),Y),ef=el.results,ed=el.scopedResults,eh=(0,v.useCallback)(function(){for(var e=arguments.length,i=Array(e),l=0;l<e;l++)i[l]=arguments[l];return er.use.apply(er,(0,W._)(i)),function(){er.unuse.apply(er,(0,W._)(i))}},[er]),ep=(0,v.useCallback)(function(){er.refresh()},[er]);return(0,Q.L)(function(){if(et){var onError=function(){};return er.addListener("error",onError),function(){return er.removeListener("error",onError)}}return function(){}},[er,et]),{results:ef,scopedResults:ed,uiState:ei,setUiState:ea,indexUiState:eo,setIndexUiState:es,renderState:ec,indexRenderState:eu,addMiddlewares:eh,refresh:ep,status:er.status,error:er.error}}().indexRenderState,et=function(e){if(Array.isArray(e))return e}(i=(0,v.useState)(Z))||function(e,i){var l,p,y=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=y){var v=[],_=!0,S=!1;try{for(y=y.call(e);!(_=(l=y.next()).done)&&(v.push(l.value),!i||v.length!==i);_=!0);}catch(e){S=!0,p=e}finally{try{_||null==y.return||y.return()}finally{if(S)throw p}}return v}}(i,2)||function(e,i){if(e){if("string"==typeof e)return _array_like_to_array(e,i);var l=Object.prototype.toString.call(e).slice(8,-1);if("Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l)return Array.from(l);if("Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return _array_like_to_array(e,i)}}(i,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),er=et[0],en=et[1],ei=(0,v.useRef)(null);function setQuery(e){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];en(e),S&&!(w&&i)&&X(e)}Z!==er&&document.activeElement!==ei.current&&en(Z);var ea={inputRef:ei,isSearchStalled:Y,onChange:function(e){setQuery(e.currentTarget.value,e.nativeEvent.isComposing)},onReset:function(){setQuery(""),S||X("")},onSubmit:function(e){S||X(er),K.onSubmit&&K.onSubmit(e)},onAiModeClick:T?function(){var e,i,l=ee.chat;l&&(null===(e=l.setOpen)||void 0===e||e.call(l,!0),er.trim()&&(null===(i=l.sendMessage)||void 0===i||i.call(l,{text:er})))}:void 0,value:er,translations:(0,p._)({submitButtonTitle:"Submit the search query",resetButtonTitle:"Clear the search query",aiModeButtonTitle:"AI Mode"},H)};return v.createElement(SearchBox,(0,p._)({},K,ea))}},46390:function(e,i,l){"use strict";function _object_spread(e){for(var i=1;i<arguments.length;i++){var l=null!=arguments[i]?arguments[i]:{},p=Object.keys(l);"function"==typeof Object.getOwnPropertySymbols&&(p=p.concat(Object.getOwnPropertySymbols(l).filter(function(e){return Object.getOwnPropertyDescriptor(l,e).enumerable}))),p.forEach(function(i){var p;p=l[i],i in e?Object.defineProperty(e,i,{value:p,enumerable:!0,configurable:!0,writable:!0}):e[i]=p})}return e}l.d(i,{_:function(){return _object_spread}})},14001:function(e,i,l){"use strict";function _object_spread_props(e,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):(function(e,i){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);l.push.apply(l,p)}return l}
9)(Object(i)).forEach(function(l){Object.defineProperty(e,l,Object.getOwnPropertyDescriptor(i,l))}),e}l.d(i,{_:function(){return _object_spread_props}})},98951:function(e,i,l){"use strict";function _object_without_properties(e,i){if(null==e)return{};var l,p,y,v={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(y=0,l=Reflect.ownKeys(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}if(v=function(e,i){if(null==e)return{};var l,p,y={},v=Object.getOwnPropertyNames(e);for(p=0;p<v.length;p++)l=v[p],!(i.indexOf(l)>=0)&&Object.prototype.propertyIsEnumerable.call(e,l)&&(y[l]=e[l]);return y}(e,i),Object.getOwnPropertySymbols)for(y=0,l=Object.getOwnPropertySymbols(e);y<l.length;y++)p=l[y],!(i.indexOf(p)>=0)&&Object.prototype.propertyIsEnumerable.call(e,p)&&(v[p]=e[p]);return v}l.d(i,{_:function(){return _object_without_properties}})}}]);
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.