From 9d6350877e9f1553059784fd812daa847e75b108 Mon Sep 17 00:00:00 2001 From: nobody Date: Mon, 5 Jul 2021 19:04:09 +0200 Subject: [PATCH] Updated: instantsearch.js v4.24.2 -> v4.24.3 (#537) --- THIRD_PARTY.txt | 2 +- modules/internal/targets.js | 2 +- pages/updates/updates.html | 2 +- .../instantsearch.js/4.24.2/instantsearch.production.min.jsm | 3 --- .../instantsearch.js/4.24.3/instantsearch.production.min.jsm | 3 +++ 5 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 resources/instantsearch.js/4.24.2/instantsearch.production.min.jsm create mode 100644 resources/instantsearch.js/4.24.3/instantsearch.production.min.jsm diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index f09392e2..2ba3736d 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -1111,7 +1111,7 @@ https://cdnjs.cloudflare.com/ajax/libs/hls.js/0.14.17/hls.min.js https://cdnjs.cloudflare.com/ajax/libs/hls.js/1.0.7/hls.min.js https://cdnjs.cloudflare.com/ajax/libs/hogan.js/3.0.2/hogan.min.js https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/3.7.0/instantsearch.production.min.js -https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/4.24.2/instantsearch.production.min.js +https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/4.24.3/instantsearch.production.min.js https://cdnjs.cloudflare.com/ajax/libs/iScroll/5.2.0/iscroll.min.js https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/css/jasny-bootstrap.min.css https://cdnjs.cloudflare.com/ajax/libs/jasny-bootstrap/3.1.3/js/jasny-bootstrap.min.js diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 1ece5a7c..6f4fe5e8 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -323,7 +323,7 @@ targets.setLastVersion = function (type, version) { } else if (type.startsWith('/instantsearch.js/3.')) { return '3.7.0'; } else if (type.startsWith('/instantsearch.js/4.')) { - return '4.24.2'; + return '4.24.3'; } else if (type.startsWith('/iScroll/5.')) { return '5.2.0'; } else if (type.startsWith('/jets/0.')) { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index edb3bb94..7a08815c 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -32,8 +32,8 @@
  • Updated: video.js v7.13.1 -> v7.14.0 (#533)
  • Updated: Google Material Icons v90 -> v92 (#534)
  • Updated: Swiper v6.7.0 -> v6.7.5 (#535)
  • -
  • Updated: instantsearch.js v4.24.0 -> v4.24.2 (#537)
  • Updated: algoliasearch v4.9.3 -> v4.10.3 (#536)
  • +
  • Updated: instantsearch.js v4.24.0 -> v4.24.3 (#537)
  • Updated: bootstrap v5.0.1 -> v5.0.2 (#538)
  • Updated: findify-bundle v7.0.22 -> v7.0.23 (#539)
  • Added: vuex v3.6.2 and v4.0.2 (#540)
  • diff --git a/resources/instantsearch.js/4.24.2/instantsearch.production.min.jsm b/resources/instantsearch.js/4.24.2/instantsearch.production.min.jsm deleted file mode 100644 index 52e864dc..00000000 --- a/resources/instantsearch.js/4.24.2/instantsearch.production.min.jsm +++ /dev/null @@ -1,3 +0,0 @@ -/*! InstantSearch.js 4.24.2 | © Algolia, Inc. and contributors; MIT License | https://github.com/algolia/instantsearch.js */ -!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).instantsearch=t()}(this,function(){"use strict";function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(t){return g(this.hierarchicalFacets,function(e){return e.name===t})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}};var N=w;function x(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=void 0!==t,a=null===t;if(!a&&t=i.length?r:"desc"===i[n]?-r:r}return e.index-t.index}),t.map(function(e){return e.value})},A=function(d){return function(e,t){var n=d.hierarchicalFacets[t],r=d.hierarchicalFacetsRefinements[n.name]&&d.hierarchicalFacetsRefinements[n.name][0]||"",i=d._getHierarchicalFacetSeparator(n),a=d._getHierarchicalRootPath(n),s=d._getHierarchicalShowParentLevel(n),o=F(d._getHierarchicalFacetSortBy(n)),c=e.every(function(e){return e.exhaustive}),u=function(o,c,u,l,d){return function(e,n,t){var r=e;if(0n&&(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},K.prototype.once=function(e,t){if(!z(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},K.prototype.removeListener=function(e,t){var n,r,i,a;if(!z(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(n=this._events[e]).length,r=-1,n===t||z(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(J(n)){for(a=i;0":7,"=":8,_v:9,"{":10,"&":11,_t:12},S.scan=function(e,t){var n,r,i,a,s,o=e.length,c=0,u=null,l=null,d="",h=[],f=!1,m=0,p=0,g="{{",v="}}";function y(){0"==n.tag&&(n.indent=h[r].text.toString()),h.splice(r,1));else t||h.push({tag:"\n"});f=!1,p=h.length}for(t&&(t=t.split(" "),g=t[0],v=t[1]),m=0;m":m,"<":function(e,t){var n={partials:{},code:"",subs:{},inPartial:!0};S.walk(e.nodes,n);var r=t.partials[m(e,t)];r.subs=n.subs,r.partials=n.partials},$:function(e,t){var n={subs:{},code:"",partials:t.partials,prefix:e.n};S.walk(e.nodes,n),t.subs[e.n]=n.code,t.inPartial||(t.code+='t.sub("'+h(e.n)+'",c,p,i);')},"\n":function(e,t){t.code+=p('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+f(e.n)+'("'+h(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=p('"'+h(e.text)+'"')},"{":e,"&":e},S.walk=function(e,t){for(var n,r=0,i=e.length;r/g,i=/\'/g,a=/\"/g,s=/[&<>\"\']/;function o(e){return String(null==e?"":e)}var d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)});ge.Template=ve.Template,ge.template=ge.Template;var ye=ge;function be(e){var t=e.templates,n=e.templateKey,r=e.compileOptions,i=e.helpers,a=e.data,s=e.bindEvent,o=t[n];if("string"!=typeof o&&"function"!=typeof o)throw new Error("Template must be 'string' or 'function', was '".concat(d(o),"' (key: ").concat(n,")"));if("function"==typeof o)return o(a,s);var c=function(e,t,n){var r=0":">",'"':""","'":"'"},Me=/[&<>"']/g,Oe=RegExp(Me.source);var Ae={"&":"&","<":"<",">":">",""":'"',"'":"'"},He=/&(amp|quot|lt|gt|#39);/g,We=RegExp(He.source);var De={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},Be={highlightPreTag:"",highlightPostTag:""};function Ue(e){return function(e){return e&&Oe.test(e)?e.replace(Me,function(e){return je[e]}):e}(e).replace(new RegExp(De.highlightPreTag,"g"),Be.highlightPreTag).replace(new RegExp(De.highlightPostTag,"g"),Be.highlightPostTag)}function qe(n){return Ce(n)&&"string"!=typeof n.value?Object.keys(n).reduce(function(e,t){return W(W({},e),{},k({},t,qe(n[t])))},{}):Array.isArray(n)?n.map(qe):W(W({},n),{},{value:Ue(n.value)})}function Qe(e){return void 0===e.__escaped&&((e=e.map(function(e){var t=h({},e);return t._highlightResult&&(t._highlightResult=qe(t._highlightResult)),t._snippetResult&&(t._snippetResult=qe(t._snippetResult)),t})).__escaped=!0),e}function $e(e){var t=Be.highlightPreTag,n=Be.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+n:e.value}).join("")}function Ve(e){var n=Be.highlightPostTag,t=Be.highlightPreTag,r=e.split(t),i=r.shift(),a=i?[{value:i,isHighlighted:!1}]:[];return r.forEach(function(e){var t=e.split(n);a.push({value:t[0],isHighlighted:!0}),""!==t[1]&&a.push({value:t[1],isHighlighted:!1})}),a}var Ke=new RegExp(/\w/i);function ze(e,t){var n,r,i=e[t],a=(null===(n=e[t+1])||void 0===n?void 0:n.isHighlighted)||!0,s=(null===(r=e[t-1])||void 0===r?void 0:r.isHighlighted)||!0;return Ke.test(function(e){return e&&We.test(e)?e.replace(He,function(e){return Ae[e]}):e}(i.value))||s!==a?i.isHighlighted:s}function Je(n){return n.some(function(e){return e.isHighlighted})?n.map(function(e,t){return W(W({},e),{},{isHighlighted:!ze(n,t)})}):n.map(function(e){return W(W({},e),{},{isHighlighted:!1})})}function Ye(e,t){return e.setQueryParameters({hierarchicalFacets:t.hierarchicalFacets.reduce(function(e,t){var n=function(e,t){if(!Array.isArray(e))return-1;for(var n=0;n')).replace(new RegExp(Be.highlightPostTag,"g"),""))}var Pt=St("ReverseHighlight");function Nt(e){var t=e.attribute,n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.hit,a=e.cssClasses,s=void 0===a?{}:a,o=(Fe(i._highlightResult,t)||{}).value,c=void 0===o?"":o,u=Pt({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return $e(Je(Ve(c))).replace(new RegExp(Be.highlightPreTag,"g"),"<".concat(r,' class="').concat(u,'">')).replace(new RegExp(Be.highlightPostTag,"g"),""))}var xt=St("Snippet");function _t(e){var t=e.attribute,n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.hit,a=e.cssClasses,s=void 0===a?{}:a,o=(Fe(i._snippetResult,t)||{}).value,c=void 0===o?"":o,u=xt({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return c.replace(new RegExp(Be.highlightPreTag,"g"),"<".concat(r,' class="').concat(u,'">')).replace(new RegExp(Be.highlightPostTag,"g"),""))}var It=St("ReverseSnippet");function Ft(e){var t=e.attribute,n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.hit,a=e.cssClasses,s=void 0===a?{}:a,o=(Fe(i._snippetResult,t)||{}).value,c=void 0===o?"":o,u=It({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return $e(Je(Ve(c))).replace(new RegExp(Be.highlightPreTag,"g"),"<".concat(r,' class="').concat(u,'">')).replace(new RegExp(Be.highlightPostTag,"g"),""))}function Tt(e,t){return function(e){var t,n=e.method,r=e.payload;if("object"!==d(r))throw new Error("The insights helper expects the payload to be an object.");try{t=at(r)}catch(e){throw new Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(n,'" data-insights-payload="').concat(t,'"')}({method:e,payload:t})}function Ct(){return function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r>6]+Ut[128|63&s]:s<55296||57344<=s?i+=Ut[224|s>>12]+Ut[128|s>>6&63]+Ut[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=Ut[240|s>>18]+Ut[128|s>>12&63]+Ut[128|s>>6&63]+Ut[128|63&s])}return i},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function r(i,a,s){if(!a)return i;if("object"!=typeof a){if(Bt(i))i.push(a);else{if(!i||"object"!=typeof i)return[i,a];(s&&(s.plainObjects||s.allowPrototypes)||!Dt.call(Object.prototype,a))&&(i[a]=!0)}return i}if(!i||"object"!=typeof i)return[i].concat(a);var e=i;return Bt(i)&&!Bt(a)&&(e=Lt(i,s)),Bt(i)&&Bt(a)?(a.forEach(function(e,t){if(Dt.call(i,t)){var n=i[t];n&&"object"==typeof n&&e&&"object"==typeof e?i[t]=r(n,e,s):i.push(e)}else i[t]=e}),i):Object.keys(a).reduce(function(e,t){var n=a[t];return Dt.call(e,t)?e[t]=r(e[t],n,s):e[t]=n,e},e)}},Qt=String.prototype.replace,$t=/%20/g,Vt={RFC1738:"RFC1738",RFC3986:"RFC3986"},Kt=qt.assign({default:Vt.RFC3986,formatters:{RFC1738:function(e){return Qt.call(e,$t,"+")},RFC3986:function(e){return String(e)}}},Vt),zt=Object.prototype.hasOwnProperty,Jt={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Yt=Array.isArray,Xt=Array.prototype.push,Gt=Date.prototype.toISOString,Zt=Kt.default,en={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:qt.encode,encodeValuesOnly:!1,format:Zt,formatter:Kt.formatters[Zt],indices:!1,serializeDate:function(e){return Gt.call(e)},skipNulls:!1,strictNullHandling:!1},tn=Object.prototype.hasOwnProperty,nn={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:qt.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},rn={formats:Kt,parse:function(e,t){var n=function(e){if(!e)return nn;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?nn.charset:e.charset;return{allowDots:void 0===e.allowDots?nn.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:nn.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:nn.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:nn.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:nn.comma,decoder:"function"==typeof e.decoder?e.decoder:nn.decoder,delimiter:"string"==typeof e.delimiter||qt.isRegExp(e.delimiter)?e.delimiter:nn.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:nn.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:nn.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:nn.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:nn.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:nn.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof e?function(e,t){var n,r={},i=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,s=i.split(t.delimiter,a),o=-1,c=t.charset;if(t.charsetSentinel)for(n=0;n=":return"≥";case"<=":return"≤";default:return e}}(e.operator)," ").concat(e.name):e.name,r={attribute:e.attribute,type:e.type,value:t,label:n};return void 0!==e.operator&&(r.operator=e.operator),void 0!==e.count&&(r.count=e.count),void 0!==e.exhaustive&&(r.exhaustive=e.exhaustive),r}function Rn(_,e){var I=1 ":t,n=e.rootPath,l=void 0===n?null:n,r=e.showParentLevel,h=void 0===r||r,i=e.limit,f=void 0===i?10:i,a=e.showMore,m=void 0!==a&&a,s=e.showMoreLimit,p=void 0===s?20:s,o=e.sortBy,g=void 0===o?["name:asc"]:o,v=e.transformItems,y=void 0===v?function(e){return e}:v;if(!c||!Array.isArray(c)||0===c.length)throw new Error(Nn("The `attributes` option expects an array of strings."));if(!0===m&&p<=f)throw new Error(Nn("The `showMoreLimit` option must be greater than `limit`."));var b,S,R=D(c,1)[0],w=function(){};function P(){w()}var N=!1;function x(){return N?p:f}return{$$type:"ais.hierarchicalMenu",init:function(e){var t=e.instantSearchInstance;_(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t=e.instantSearchInstance;w=function(e,t){return function(){N=!N,t.render(e)}}(e,this),_(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!1)},dispose:function(e){var t=e.state;return I(),t.removeHierarchicalFacet(R).setQueryParameter("maxValuesPerFacet",void 0)},getRenderState:function(e,t){return W(W({},e),{},{hierarchicalMenu:W(W({},e.hierarchicalMenu),{},k({},R,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.results,n=e.state,r=e.createURL,i=e.instantSearchInstance,a=e.helper,s=[],o=!1;if(b=b||it({instantSearchInstance:i,helper:a,attribute:R,widgetType:this.$$type}),S=S||function(e){b("click",e),a.toggleFacetRefinement(R,e).search()},t){var c=t.getFacetValues(R,{sortBy:g}),u=c&&!Array.isArray(c)&&c.data?c.data:[],l=(n.maxValuesPerFacet||0)>x()?u.length<=x():u.lengthR()),a=v(c.slice(0,R()).map(function(e){var t=e.name,n=e.path;return W(W({},j(e,["name","path"])),{},{label:t,value:n})}))}return{items:a,createURL:d,refine:h,sendEvent:l,canRefine:0="]&&n[">="][0]||"",a=n["<="]&&n["<="][0]||"";return""===i&&""===a?e:W(W({},e),{},{numericMenu:W(W({},e.numericMenu),{},k({},u,"".concat(i,":").concat(a)))})},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=n.numericMenu&&n.numericMenu[u],i=e.clearRefinements(u);if(!r)return i.setQueryParameters({numericRefinements:W(W({},i.numericRefinements),{},k({},u,{}))});if(-1===r.indexOf(":"))return i.addNumericRefinement(u,"=",Number(r));var a=D(r.split(":").map(parseFloat),2),s=a[0],o=a[1],c=Te(s)?i.addNumericRefinement(u,">=",s):i;return Te(o)?c.addNumericRefinement(u,"<=",o):c},getRenderState:function(e,t){return W(W({},e),{},{numericMenu:W(W({},e.numericMenu),{},k({},u,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.results,n=e.state,r=e.instantSearchInstance,i=e.helper,a=e.createURL;return l.refine||(l.refine=function(e){var t=vr(i.state,u,e);l.sendEvent("click",e),i.setState(t).search()}),l.createURL||(l.createURL=function(t){return function(e){return a(vr(t,u,e))}}),l.sendEvent||(l.sendEvent=function(e){var c=e.instantSearchInstance,u=e.helper,l=e.attribute;return function(){for(var e=arguments.length,t=new Array(e),n=0;n=",n.start):void 0!==n.end?yr(r,"<=",n.end):void 0===n.start&&void 0===n.end&&Object.keys(r).every(function(e){return 0===(r[e]||[]).length})}function vr(e,t,n){var r=e,i=JSON.parse(decodeURI(n)),a=r.getNumericRefinements(t);if(void 0===i.start&&void 0===i.end)return r.removeNumericRefinement(t);if(gr(r,t,i)||(r=r.removeNumericRefinement(t)),void 0!==i.start&&void 0!==i.end){if(i.start>i.end)throw new Error("option.start should be > to option.end");if(i.start===i.end)return r=yr(a,"=",i.start)?r.removeNumericRefinement(t,"=",i.start):r.addNumericRefinement(t,"=",i.start)}return void 0!==i.start&&(r=yr(a,">=",i.start)?r.removeNumericRefinement(t,">=",i.start):r.addNumericRefinement(t,">=",i.start)),void 0!==i.end&&(r=yr(a,"<=",i.end)?r.removeNumericRefinement(t,"<=",i.end):r.addNumericRefinement(t,"<=",i.end)),"number"==typeof r.page&&(r.page=0),r}function yr(e,t,n){return void 0!==e[t]&&e[t].includes(n)}function br(n,e){var r=1=")||[],1)[0],l=D(s.getNumericRefinement(w,"<=")||[],1)[0],d=void 0===n||""===n,h=void 0===r||""===r,f=Nr({min:d?void 0:parseFloat(n),max:h?void 0:parseFloat(r),precision:x}),m=f.min,p=f.max;i=Te(P)||o!==m?Te(P)&&d?P:m:void 0,a=Te(N)||c!==p?Te(N)&&h?N:p:void 0;var g=void 0===i,v=Te(o)&&o<=i,y=g||Te(i)&&(!Te(o)||v),b=void 0===a,S=Te(a)&&a<=c,R=b||Te(a)&&(!Te(c)||S);return(u!==i||l!==a)&&y&&R?(s=s.removeNumericRefinement(w),Te(i)&&(s=s.addNumericRefinement(w,">=",i)),Te(a)&&(s=s.addNumericRefinement(w,"<=",a)),s.resetPage()):null}function m(e,t,n,r){var i=3=")||[],1)[0],n=D(e.getNumericRefinement(w,"<=")||[],1)[0];return[Te(t)?t:-1/0,Te(n)?n:1/0]}(n);return{refine:u(r,n,t?a:{min:void 0,max:void 0}),canRefine:a.min!==a.max,format:c,range:a,sendEvent:function(l,d,h){return function(){for(var e=arguments.length,t=new Array(e),n=0;n="],i=void 0===r?[]:r,a=n["<="],s=void 0===a?[]:a;return 0===i.length&&0===s.length?e:W(W({},e),{},{range:W(W({},e.range),{},k({},w,"".concat(i,":").concat(s)))})},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=e.addDisjunctiveFacet(w).setQueryParameters({numericRefinements:W(W({},e.numericRefinements),{},k({},w,{}))});Te(P)&&(r=r.addNumericRefinement(w,">=",P)),Te(N)&&(r=r.addNumericRefinement(w,"<=",N));var i=n.range&&n.range[w];if(!i||-1===i.indexOf(":"))return r;var a=D(i.split(":").map(parseFloat),2),s=a[0],o=a[1];return Te(s)&&(!Te(P)||P=")).addNumericRefinement(w,">=",s)),Te(o)&&(!Te(N)||op||g&&!N;return{createURL:function(e){return r(n.resetPage().toggleFacetRefinement(m,e))},items:s,refine:R,searchForItems:d,isFromSearch:!1,canRefine:0="])&&void 0!==t&&t.length)return n[">="][0]}function r(e,t){var n=p(e)===Number(t),r=e.resetPage().removeNumericRefinement(f);return n?r:r.addNumericRefinement(f,"<=",m).addNumericRefinement(f,">=",Number(t))}var g=function(e){return function(e,t){h("click",t),e.setState(r(e.state,t)).search()}.bind(null,e)},v=function(e){var t=e.state,n=e.createURL;return function(e){return n(r(t,e))}};return{$$type:Ar,init:function(e){var t=e.instantSearchInstance;n(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t=e.instantSearchInstance;n(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!1)},getRenderState:function(e,t){return W(W({},e),{},{ratingMenu:W(W({},e.ratingMenu),{},k({},f,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.helper,n=e.results,r=e.state,i=e.instantSearchInstance,a=e.createURL,s=[];if(h=h||function(e){var o=e.instantSearchInstance,c=e.helper,u=e.getRefinedStar,l=e.attribute;return function(){for(var e=arguments.length,t=new Array(e),n=0;n=").concat(i)]},attribute:l})}else o.sendEventToInsights(t[0])}}({instantSearchInstance:i,helper:t,getRefinedStar:function(){return p(t.state)},attribute:f}),n)for(var o=n.getFacetValues(f,{}),c=(o.length,function(e){var r=0;e.forEach(function(e){var t=D(e.name.split("."),2)[1],n=void 0===t?"":t;r=Math.max(r,n.length)})}(o),p(r)),u=function(n){var e=c===n,t=o.filter(function(e){return Number(e.name)>=n&&Number(e.name)<=m}).map(function(e){return e.count}).reduce(function(e,t){return e+t},0);if(c&&!e&&0===t)return"continue";var r=P(new Array(Math.floor(m/1))).map(function(e,t){return 1*t=",r):i.setQueryParameters({numericRefinements:W(W({},i.numericRefinements),{},k({},f,{}))})}}}}function Cr(n,e){var t=1 ":n,i=e.rootPath,a=void 0===i?null:i,o=e.transformItems,c=void 0===o?function(e){return e}:o;if(!t||!Array.isArray(t)||0===t.length)throw new Error(Br("The `attributes` option expects an array of strings."));var u=D(t,1)[0];function l(e,t){if(!t){var n=e.getHierarchicalFacetBreadcrumb(u);if(0")}function ei(c,u){return function(e){var t=e||{},a=t.hit,s=t.matchingPatterns,n=t.transformSearchParameters,r=void 0===n?function(e){return e}:n;if(!a)throw new Error(Gr("The `hit` option is required."));if(!s)throw new Error(Gr("The `matchingPatterns` option is required."));var i=Object.keys(s).reduce(function(e,t){var n=s[t],r=Fe(a,t),i=n.score;return Array.isArray(r)?[].concat(P(e),[r.map(function(e){return Zr({attributeName:t,attributeValue:e,attributeScore:i})})]):"string"==typeof r?[].concat(P(e),[Zr({attributeName:t,attributeValue:r,attributeScore:i})]):e},[]),o=W({},r(new ce.SearchParameters({sumOrFiltersScores:!0,facetFilters:["objectID:-".concat(a.objectID)],optionalFilters:i})));return W(W({},Xr(c,u)({searchParameters:o})),{},{$$type:"ais.configureRelatedItems"})}}var ti=Ze({name:"autocomplete",connector:!0}),ni=Ze({name:"query-rules",connector:!0});function ri(e){var t=this.helper,n=this.initialRuleContexts,r=this.trackedFilters,i=this.transformRuleContexts,a=e.state,s=a.ruleContexts||[],o=function(e){var i=e.helper,a=e.sharedHelperState,s=e.trackedFilters;return Object.keys(s).reduce(function(e,t){var n=Pe(i.lastResults||{},a,!0).filter(function(e){return e.attribute===t}).map(function(e){return e.numericValue||e.name}),r=(0,s[t])(n);return[].concat(P(e),P(n.filter(function(e){return r.includes(e)}).map(function(e){return function(e){return e.replace(/[^a-z0-9-_]+/gi,"_")}("ais-".concat(t,"-").concat(e))})))},[])}({helper:t,sharedHelperState:a,trackedFilters:r}),c=i([].concat(P(n),P(o))).slice(0,10);Le(s,c)||t.overrideStateWithoutTriggeringChangeEvent(W(W({},a),{},{ruleContexts:c}))}function ii(d,e){var h=1= 4.8.0 required."));p=dt(n.findAnswers,u),b(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(n){var r=this,e=n.state.query;if(!e)return v=!(m={}),void b(W(W({},this.getWidgetRenderState(n)),{},{instantSearchInstance:n.instantSearchInstance}),!1);m={},v=!0,b(W(W({},this.getWidgetRenderState(n)),{},{instantSearchInstance:n.instantSearchInstance}),!1),g(p(e,i,W(W({},f),{},{nbHits:s,attributesForPrediction:a}))).then(function(e){if(e){d&&0"},Ni=Ze({name:"breadcrumb"}),xi=St("Breadcrumb"),_i={resetLabel:"Clear refinements"},Ii=Ze({name:"clear-refinements"}),Fi=St("ClearRefinements"),Ti=Ze({name:"current-refinements"}),Ci=St("CurrentRefinements"),Ei={header:"",loader:"",item:function(e){return JSON.stringify(e)}},ki=Ze({name:"answers"}),Li=St("Answers"),ji=Ze({name:"dynamic-widgets"}),Mi=St("DynamicWidgets");wi.defaultProps={disabled:!1};function Oi(e){var t=e.classNameLabel,n=e.classNameInput,r=e.checked,i=e.onToggle,a=e.children;return An("label",{className:t},An("input",{className:n,type:"checkbox",checked:r,onChange:i}),a)}function Ai(e){var t=e.cssClasses,n=e.enableRefine,r=e.enableRefineControl,i=e.enableClearMapRefinement,a=e.isRefineOnMapMove,s=e.isRefinedWithMap,o=e.hasMapMoveSinceLastRefine,c=e.onRefineToggle,u=e.onRefineClick,l=e.onClearClick,d=e.templateProps;return n&&An("div",null,r&&An("div",{className:t.control},a||!o?An(Oi,{classNameLabel:pi(t.label,k({},t.selectedLabel,a)),classNameInput:t.input,checked:a,onToggle:c},An(gi,h({},d,{templateKey:"toggle",rootTagName:"span"}))):An(wi,{className:t.redo,disabled:!o,onClick:u},An(gi,h({},d,{templateKey:"redo",rootTagName:"span"})))),!r&&!a&&An("div",{className:t.control},An(wi,{className:pi(t.redo,k({},t.disabledRedo,!o)),disabled:!o,onClick:u},An(gi,h({},d,{templateKey:"redo",rootTagName:"span"})))),i&&s&&An(wi,{className:t.reset,onClick:l},An(gi,h({},d,{templateKey:"reset",rootTagName:"span"}))))}function Hi(e){var t=e.refine,n=e.mapInstance;return t({northEast:n.getBounds().getNorthEast().toJSON(),southWest:n.getBounds().getSouthWest().toJSON()})}function Wi(e,t){e.isUserInteraction=!1,t(),e.isUserInteraction=!0}function Di(e,t){var n=e.items,r=e.position,i=e.currentRefinement,a=e.refine,s=e.clearMapRefinement,o=e.toggleRefineOnMapMove,c=e.isRefineOnMapMove,u=e.setMapMoveSinceLastRefine,l=e.hasMapMoveSinceLastRefine,d=e.isRefinedWithMap,h=e.widgetParams,f=e.instantSearchInstance,m=h.container,p=h.googleReference,g=h.cssClasses,v=h.templates,y=h.initialZoom,b=h.initialPosition,S=h.enableRefine,R=h.enableClearMapRefinement,w=h.enableRefineControl,P=h.mapOptions,N=h.createMarker,x=h.markerOptions,_=h.renderState;if(t){_.isUserInteraction=!0,_.isPendingRefine=!1,_.markers=[];var I=document.createElement("div");I.className=g.root,m.appendChild(I);var F=document.createElement("div");F.className=g.map,I.appendChild(F);var T=document.createElement("div");T.className=g.tree,I.appendChild(T),_.mapInstance=new p.maps.Map(F,W({mapTypeControl:!1,fullscreenControl:!1,streetViewControl:!1,clickableIcons:!1,zoomControlOptions:{position:p.maps.ControlPosition.LEFT_TOP}},P));return p.maps.event.addListenerOnce(_.mapInstance,"idle",function(){function e(){_.isUserInteraction&&S&&(u(),c()&&(_.isPendingRefine=!0))}_.mapInstance.addListener("center_changed",e),_.mapInstance.addListener("zoom_changed",e),_.mapInstance.addListener("dragstart",e),_.mapInstance.addListener("idle",function(){_.isUserInteraction&&_.isPendingRefine&&(_.isPendingRefine=!1,Hi({mapInstance:_.mapInstance,refine:a}))})}),void(_.templateProps=me({templatesConfig:f.templatesConfig,templates:v}))}var C=n.map(function(e){return e.objectID}),E=D(function(e,a){return e.reduce(function(e,t){var n=D(e,2),r=n[0],i=n[1];return a.includes(t.__id)?[r.concat(t),i]:[r,i.concat(t)]},[[],[]])}(_.markers,C),2),k=E[0],L=E[1],j=k.map(function(e){return e.__id}),M=n.filter(function(e){return!j.includes(e.objectID)});L.forEach(function(e){return e.setMap(null)}),_.markers=k.concat(M.map(function(n){var r=N({map:_.mapInstance,item:n});return Object.keys(x.events).forEach(function(t){r.addListener(t,function(e){x.events[t]({map:_.mapInstance,event:e,item:n,marker:r})})}),r}));var O=!l(),A=i?0:null,H=!i&&Boolean(_.markers.length)?function(e,t){var n=t.reduce(function(e,t){return e.extend(t.getPosition())},new e.maps.LatLngBounds);return{northEast:n.getNorthEast().toJSON(),southWest:n.getSouthWest().toJSON()}}(p,_.markers):i;H&&O?Wi(_,function(){_.mapInstance.fitBounds(new p.maps.LatLngBounds(H.southWest,H.northEast),A)}):O&&Wi(_,function(){_.mapInstance.setCenter(r||b),_.mapInstance.setZoom(y)}),tr(An(Ai,{cssClasses:g,enableRefine:S,enableRefineControl:w,enableClearMapRefinement:R,isRefineOnMapMove:c(),isRefinedWithMap:d(),hasMapMoveSinceLastRefine:l(),onRefineToggle:o,onRefineClick:function(){return Hi({mapInstance:_.mapInstance,refine:a})},onClearClick:s,templateProps:_.templateProps}),m.querySelector(".".concat(g.tree)))}var Bi={HTMLMarker:"

    Your custom HTML Marker

    ",reset:"Clear the map refinement",toggle:"Search as I move the map",redo:"Redo search here"},Ui=Ze({name:"geo-search"}),qi=St("GeoSearch");function Qi(e){var t=e.className,n=e.handleClick,r=e.facetValueToRefine,i=e.isRefined,a=e.templateProps,s=e.templateKey,o=e.templateData,c=e.subItems;return An("li",{className:t,onClick:function(e){n({facetValueToRefine:r,isRefined:i,originalEvent:e})}},An(gi,h({},a,{templateKey:s,data:o})),c)}var $i={query:"",showSubmit:!0,showReset:!0,showLoadingIndicator:!0,autofocus:!1,searchAsYouType:!0,isSearchStalled:!1,disabled:!1,onChange:Ie,onSubmit:Ie,onReset:Ie,refine:Ie},Vi=function(){L(i,Dn);var r=O(i);function i(){var s;C(this,i);for(var e=arguments.length,t=new Array(e),n=0;n{{label}}{{#helpers.formatNumber}}{{count}}{{/helpers.formatNumber}}',showMoreText:"\n {{#isShowingMore}}\n Show less\n {{/isShowingMore}}\n {{^isShowingMore}}\n Show more\n {{/isShowingMore}}\n "},Xi=Ze({name:"hierarchical-menu"}),Gi=St("HierarchicalMenu");Ji.defaultProps={results:{hits:[]},hits:[]};var Zi={empty:"No results",item:function(e){return JSON.stringify(e,null,2)}},ea=Ze({name:"hits"}),ta=St("Hits"),na=rr(Ji);function ra(e){var t=e.currentValue,n=e.options,r=e.cssClasses,i=e.setValue;return An("select",{className:pi(r.select),onChange:function(e){return i(e.target.value)},value:"".concat(t)},n.map(function(e){return An("option",{className:pi(r.option),key:e.label+e.value,value:"".concat(e.value)},e.label)}))}var ia=Ze({name:"hits-per-page"}),aa=St("HitsPerPage"),sa={empty:"No results",showPreviousText:"Show previous results",showMoreText:"Show more results",item:function(e){return JSON.stringify(e,null,2)}},oa=Ze({name:"infinite-hits"}),ca=St("InfiniteHits"),ua=rr(function(e){var t=e.results,n=e.hits,r=e.bindEvent,i=e.hasShowPrevious,a=e.showPrevious,s=e.showMore,o=e.isFirstPage,c=e.isLastPage,u=e.cssClasses,l=e.templateProps;return 0===t.hits.length?An(gi,h({},l,{templateKey:"empty",rootProps:{className:pi(u.root,u.emptyRoot)},data:t})):An("div",{className:u.root},i&&An(gi,h({},l,{templateKey:"showPreviousText",rootTagName:"button",rootProps:{className:pi(u.loadPrevious,k({},u.disabledLoadPrevious,o)),disabled:o,onClick:a}})),An("ol",{className:u.list},n.map(function(e,t){return An(gi,h({},l,{templateKey:"item",rootTagName:"li",rootProps:{className:u.item},key:e.objectID,data:W(W({},e),{},{__hitIndex:t}),bindEvent:r}))})),An(gi,h({},l,{templateKey:"showMoreText",rootTagName:"button",rootProps:{className:pi(u.loadMore,k({},u.disabledLoadMore,c)),disabled:c,onClick:s}})))}),la={item:'{{label}}{{#helpers.formatNumber}}{{count}}{{/helpers.formatNumber}}',showMoreText:"\n {{#isShowingMore}}\n Show less\n {{/isShowingMore}}\n {{^isShowingMore}}\n Show more\n {{/isShowingMore}}\n "},da=Ze({name:"menu"}),ha=St("Menu");function fa(e){var t=e.cssClasses,n=e.templateProps,r=e.items,i=e.refine,a=(Se(r,function(e){return e.isRefined})||{value:""}).value;return An("div",{className:pi(t.root,k({},t.noRefinementRoot,0===r.length))},An("select",{className:t.select,value:a,onChange:function(e){i(e.target.value)}},An(gi,h({},n,{templateKey:"defaultOption",rootTagName:"option",rootProps:{value:"",className:t.option}})),r.map(function(e){return An(gi,h({},n,{templateKey:"item",rootTagName:"option",rootProps:{value:e.value,className:t.option},key:e.value,data:e}))})))}function ma(e){var t=e.cssClasses,n=e.label,r=e.ariaLabel,i=e.url,a=e.isDisabled,s=e.handleClick,o=e.pageNumber;return An("li",{className:t.item},a?An("span",{className:t.link,dangerouslySetInnerHTML:{__html:n}}):An("a",{className:t.link,"aria-label":r,href:i,onClick:function(e){return s(o,e)},dangerouslySetInnerHTML:{__html:n}}))}var pa={item:"{{label}} ({{#helpers.formatNumber}}{{count}}{{/helpers.formatNumber}})",defaultOption:"See all"},ga=Ze({name:"menu-select"}),va=St("MenuSelect"),ya={item:''},ba=Ze({name:"numeric-menu"}),Sa=St("NumericMenu"),Ra=function(){L(a,Dn);var i=O(a);function a(){var n;C(this,a);for(var e=arguments.length,t=new Array(e),r=0;r=t.o.length&&t.o.push({}),t.o[e]}function ka(e){return function(n,e,t){var r=Ea(wa++);return r.__c||(r.__c=Pa,r.v=[t?t(e):Ba(void 0,e),function(e){var t=n(r.v[0],e);r.v[0]!==t&&(r.v[0]=t,r.__c.setState({}))}]),r.v}(Ba,e)}function La(e){return function(e,t){var n=Ea(wa++);return Da(n.m,t)?(n.m=t,n.p=e,n.v=e()):n.v}(function(){return{current:e}},[])}In.unmount=function(e){Ca&&Ca(e);var t=e.__c;if(t){var n=t.__H;n&&n.o.forEach(function(e){return e.l&&e.l()})}};var ja=function(){};function Ma(){Ia.some(function(e){e.s=!1,e.__P&&(e.__H.t=Aa(e.__H.t))}),Ia=[]}if("undefined"!=typeof window){var Oa=In.requestAnimationFrame;ja=function(e){(!e.s&&(e.s=!0)&&1===Ia.push(e)||Oa!==In.requestAnimationFrame)&&(Oa=In.requestAnimationFrame,(In.requestAnimationFrame||function(e){function t(){clearTimeout(n),cancelAnimationFrame(r),setTimeout(e)}var n=setTimeout(t,100),r=requestAnimationFrame(t)})(Ma))}}function Aa(e){return e.forEach(Ha),e.forEach(Wa),[]}function Ha(e){e.l&&e.l()}function Wa(e){var t=e.v();"function"==typeof t&&(e.l=t)}function Da(n,e){return!n||e.some(function(e,t){return e!==n[t]})}function Ba(e,t){return"function"==typeof t?t(e):t}function Ua(e){var t,n=D(ka(e.isCollapsed),2),r=n[0],i=n[1],a=D(ka(!1),2),s=a[0],o=a[1],c=La(null);return function(e,t){var n=Ea(wa++);Da(n.m,t)&&(n.v=e,n.m=t,Pa.__H.t.push(n),ja(Pa))}(function(){if(c.current)return c.current.appendChild(e.bodyElement),function(){c.current.removeChild(e.bodyElement)}},[c,e.bodyElement]),s||e.isCollapsed===r||i(e.isCollapsed),An("div",{className:pi(e.cssClasses.root,(t={},k(t,e.cssClasses.noRefinementRoot,e.hidden),k(t,e.cssClasses.collapsibleRoot,e.collapsible),k(t,e.cssClasses.collapsedRoot,r),t)),hidden:e.hidden},e.templates.header&&An("div",{className:e.cssClasses.header},An(gi,{templates:e.templates,templateKey:"header",rootTagName:"span",data:e.data}),e.collapsible&&An("button",{className:e.cssClasses.collapseButton,"aria-expanded":!r,onClick:function(e){e.preventDefault(),o(!0),i(function(e){return!e})}},An(gi,{templates:e.templates,templateKey:"collapseButtonText",rootTagName:"span",data:{collapsed:r}}))),An("div",{className:e.cssClasses.body,ref:c}),e.templates.footer&&An(gi,{templates:e.templates,templateKey:"footer",rootProps:{className:e.cssClasses.footer},data:e.data}))}function qa(e){var t=e.url,n=e.theme,r=e.cssClasses;return An("div",{className:r.root},An("a",{href:t,target:"_blank",className:r.link,"aria-label":"Search by Algolia",rel:"noopener noreferrer"},An("svg",{height:"1.2em",className:r.logo,viewBox:"0 0 168 24",style:{width:"auto"}},An("path",{fill:"dark"===n?"#FFF":"#5D6494",d:"M6.97 6.68V8.3a4.47 4.47 0 00-2.42-.67 2.2 2.2 0 00-1.38.4c-.34.26-.5.6-.5 1.02 0 .43.16.77.49 1.03.33.25.83.53 1.51.83a7.04 7.04 0 011.9 1.08c.34.24.58.54.73.89.15.34.23.74.23 1.18 0 .95-.33 1.7-1 2.24a4 4 0 01-2.6.81 5.71 5.71 0 01-2.94-.68v-1.71c.84.63 1.81.94 2.92.94.58 0 1.05-.14 1.39-.4.34-.28.5-.65.5-1.13 0-.29-.1-.55-.3-.8a2.2 2.2 0 00-.65-.53 23.03 23.03 0 00-1.64-.78 13.67 13.67 0 01-1.11-.64c-.12-.1-.28-.22-.46-.4a1.72 1.72 0 01-.39-.5 4.46 4.46 0 01-.22-.6c-.07-.23-.1-.48-.1-.75 0-.91.33-1.63 1-2.17a4 4 0 012.57-.8c.97 0 1.8.18 2.47.52zm7.47 5.7v-.3a2.26 2.26 0 00-.5-1.44c-.3-.35-.74-.53-1.32-.53-.53 0-.99.2-1.37.58a2.9 2.9 0 00-.72 1.68h3.91zm1 2.79v1.4c-.6.34-1.38.51-2.36.51a4.02 4.02 0 01-3-1.13 4.04 4.04 0 01-1.11-2.97c0-1.3.34-2.32 1.02-3.06a3.38 3.38 0 012.6-1.1c1.03 0 1.85.32 2.46.96.6.64.9 1.57.9 2.78 0 .33-.03.68-.09 1.04h-5.31c.1.7.4 1.24.89 1.61.49.38 1.1.56 1.85.56.86 0 1.58-.2 2.15-.6zm6.61-1.78h-1.21c-.6 0-1.05.12-1.35.36-.3.23-.46.53-.46.89 0 .37.12.66.36.88.23.2.57.32 1.02.32.5 0 .9-.15 1.2-.43.3-.28.44-.65.44-1.1v-.92zm-4.07-2.55V9.33a4.96 4.96 0 012.5-.55c2.1 0 3.17 1.03 3.17 3.08V17H22.1v-.96c-.42.68-1.15 1.02-2.19 1.02-.76 0-1.38-.22-1.84-.66-.46-.44-.7-1-.7-1.68 0-.78.3-1.38.88-1.81.59-.43 1.4-.65 2.46-.65h1.34v-.46c0-.55-.13-.97-.4-1.25-.26-.29-.7-.43-1.32-.43-.86 0-1.65.24-2.35.72zm9.34-1.93v1.42c.39-1 1.1-1.5 2.12-1.5.15 0 .31.02.5.05v1.53c-.23-.1-.48-.14-.76-.14-.54 0-.99.24-1.34.71a2.8 2.8 0 00-.52 1.71V17h-1.57V8.91h1.57zm5 4.09a3 3 0 00.76 2.01c.47.53 1.14.8 2 .8.64 0 1.24-.18 1.8-.53v1.4c-.53.32-1.2.48-2 .48a3.98 3.98 0 01-4.17-4.18c0-1.16.38-2.15 1.14-2.98a4 4 0 013.1-1.23c.7 0 1.34.15 1.92.44v1.44a3.24 3.24 0 00-1.77-.5A2.65 2.65 0 0032.33 13zm7.92-7.28v4.58c.46-1 1.3-1.5 2.5-1.5.8 0 1.42.24 1.9.73.48.5.72 1.17.72 2.05V17H43.8v-5.1c0-.56-.14-.99-.43-1.29-.28-.3-.65-.45-1.1-.45-.54 0-1 .2-1.42.6-.4.4-.61 1.02-.61 1.85V17h-1.56V5.72h1.56zM55.2 15.74c.6 0 1.1-.25 1.5-.76.4-.5.6-1.16.6-1.95 0-.92-.2-1.62-.6-2.12-.4-.5-.92-.74-1.55-.74-.56 0-1.05.22-1.5.67-.44.45-.66 1.13-.66 2.06 0 .96.22 1.67.64 2.14.43.47.95.7 1.57.7zM53 5.72v4.42a2.74 2.74 0 012.43-1.34c1.03 0 1.86.38 2.51 1.15.65.76.97 1.78.97 3.05 0 1.13-.3 2.1-.92 2.9-.62.81-1.47 1.21-2.54 1.21s-1.9-.45-2.46-1.34V17h-1.58V5.72H53zm9.9 11.1l-3.22-7.9h1.74l1 2.62 1.26 3.42c.1-.32.48-1.46 1.15-3.42l.91-2.63h1.66l-2.92 7.87c-.78 2.07-1.96 3.1-3.56 3.1-.28 0-.53-.02-.73-.07v-1.34c.17.04.35.06.54.06 1.03 0 1.76-.57 2.17-1.7z"}),Ka,za,An("path",{fill:"dark"===n?"#FFF":"#5468FF",d:"M120.92 18.8c-4.38.02-4.38-3.54-4.38-4.1V1.36l2.67-.42v13.25c0 .32 0 2.36 1.71 2.37v2.24zm-10.84-2.18c.82 0 1.43-.04 1.85-.12v-2.72a5.48 5.48 0 00-1.57-.2c-.3 0-.6.02-.9.07-.3.04-.57.12-.81.24-.24.11-.44.28-.58.49a.93.93 0 00-.22.65c0 .63.22 1 .61 1.23.4.24.94.36 1.62.36zm-.23-9.7c.88 0 1.62.11 2.23.33.6.22 1.09.53 1.44.92.36.4.61.92.76 1.48.16.56.23 1.17.23 1.85v6.87a21.69 21.69 0 01-4.68.5c-.69 0-1.32-.07-1.9-.2a4 4 0 01-1.46-.63 3.3 3.3 0 01-.96-1.13 4.3 4.3 0 01-.34-1.8 3.13 3.13 0 011.43-2.63c.45-.3.95-.5 1.54-.62a8.8 8.8 0 013.79.05v-.44c0-.3-.04-.6-.11-.87a1.78 1.78 0 00-1.1-1.22 3.2 3.2 0 00-1.15-.2 9.75 9.75 0 00-2.95.46l-.33-2.19a11.43 11.43 0 013.56-.53zm52.84 9.63c.82 0 1.43-.05 1.85-.13V13.7a5.42 5.42 0 00-1.57-.2c-.3 0-.6.02-.9.07-.3.04-.57.12-.81.24-.24.12-.44.28-.58.5a.93.93 0 00-.22.65c0 .63.22.99.61 1.23.4.24.94.36 1.62.36zm-.23-9.7c.88 0 1.63.11 2.23.33.6.22 1.1.53 1.45.92.35.39.6.92.76 1.48.15.56.23 1.18.23 1.85v6.88c-.41.08-1.03.19-1.87.31-.83.12-1.77.18-2.81.18-.7 0-1.33-.06-1.9-.2a4 4 0 01-1.47-.63c-.4-.3-.72-.67-.95-1.13a4.3 4.3 0 01-.34-1.8c0-.66.13-1.08.38-1.53.26-.45.61-.82 1.05-1.1.44-.3.95-.5 1.53-.62a8.8 8.8 0 013.8.05v-.43c0-.31-.04-.6-.12-.88-.07-.28-.2-.52-.38-.73a1.78 1.78 0 00-.73-.5c-.3-.1-.68-.2-1.14-.2a9.85 9.85 0 00-2.95.47l-.32-2.19a11.63 11.63 0 013.55-.53zm-8.03-1.27a1.62 1.62 0 000-3.24 1.62 1.62 0 100 3.24zm1.35 13.22h-2.7V7.27l2.7-.42V18.8zm-4.72 0c-4.38.02-4.38-3.54-4.38-4.1l-.01-13.34 2.67-.42v13.25c0 .32 0 2.36 1.72 2.37v2.24zm-8.7-5.9a4.7 4.7 0 00-.74-2.79 2.4 2.4 0 00-2.07-1 2.4 2.4 0 00-2.06 1 4.7 4.7 0 00-.74 2.8c0 1.16.25 1.94.74 2.62a2.4 2.4 0 002.07 1.02c.88 0 1.57-.34 2.07-1.02a4.2 4.2 0 00.73-2.63zm2.74 0a6.46 6.46 0 01-1.52 4.23c-.49.53-1.07.94-1.76 1.22-.68.29-1.73.45-2.26.45a6.6 6.6 0 01-2.25-.45 5.1 5.1 0 01-2.88-3.13 7.3 7.3 0 01-.01-4.84 5.13 5.13 0 012.9-3.1 5.67 5.67 0 012.22-.42c.81 0 1.56.14 2.24.42.69.29 1.28.69 1.75 1.22.49.52.87 1.15 1.14 1.89a7 7 0 01.43 2.5zm-20.14 0c0 1.11.25 2.36.74 2.88.5.52 1.13.78 1.91.78a4.07 4.07 0 002.12-.6V9.33c-.19-.04-.99-.2-1.76-.23a2.67 2.67 0 00-2.23 1 4.73 4.73 0 00-.78 2.8zm7.44 5.27c0 1.82-.46 3.16-1.4 4-.94.85-2.37 1.27-4.3 1.27-.7 0-2.17-.13-3.34-.4l.43-2.11c.98.2 2.27.26 2.95.26 1.08 0 1.84-.22 2.3-.66.46-.43.68-1.08.68-1.94v-.44a5.2 5.2 0 01-2.54.6 5.6 5.6 0 01-2.01-.36 4.2 4.2 0 01-2.58-2.71 9.88 9.88 0 01.02-5.35 4.92 4.92 0 012.93-2.96 6.6 6.6 0 012.43-.46 19.64 19.64 0 014.43.66v10.6z"}))))}function Qa(e){var t=e.cssClasses,n=e.templates,r=e.items;return An(gi,{templateKey:"default",templates:n,rootProps:{className:t.root},data:{items:r}})}var $a=Ze({name:"panel"}),Va=St("Panel"),Ka=An("path",{fill:"#5468FF",d:"M78.99.94h16.6a2.97 2.97 0 012.96 2.96v16.6a2.97 2.97 0 01-2.97 2.96h-16.6a2.97 2.97 0 01-2.96-2.96V3.9A2.96 2.96 0 0179 .94"}),za=An("path",{fill:"#FFF",d:"M89.63 5.97v-.78a.98.98 0 00-.98-.97h-2.28a.98.98 0 00-.97.97V6c0 .09.08.15.17.13a7.13 7.13 0 013.9-.02c.08.02.16-.04.16-.13m-6.25 1L83 6.6a.98.98 0 00-1.38 0l-.46.46a.97.97 0 000 1.38l.38.39c.06.06.15.04.2-.02a7.49 7.49 0 011.63-1.62c.07-.04.08-.14.02-.2m4.16 2.45v3.34c0 .1.1.17.2.12l2.97-1.54c.06-.03.08-.12.05-.18a3.7 3.7 0 00-3.08-1.87c-.07 0-.14.06-.14.13m0 8.05a4.49 4.49 0 110-8.98 4.49 4.49 0 010 8.98m0-10.85a6.37 6.37 0 100 12.74 6.37 6.37 0 000-12.74"}),Ja=St("PoweredBy"),Ya=Ze({name:"powered-by"}),Xa=Ze({name:"query-rule-context"}),Ga=Ze({name:"query-rule-custom-data"}),Za=St("QueryRuleCustomData"),es=function(){L(a,Dn);var i=O(a);function a(){var r;C(this,a);for(var e=arguments.length,t=new Array(e),n=0;n=this.props.max}},{key:"computeDefaultPitPoints",value:function(e){var t=e.min,n=e.max,r=(n-t)/34;return[t].concat(P(Ee({end:33}).map(function(e){return t+r*(e+1)})),[n])}},{key:"computeSnapPoints",value:function(e){var t=e.min,n=e.max,r=e.step;if(r)return[].concat(P(Ee({start:t,end:n,step:r})),[n])}},{key:"render",value:function(){var e=this.props,t=e.tooltips,n=e.step,r=e.pips,i=e.values,a=e.cssClasses,s=this.isDisabled?{min:this.props.min,max:this.props.max+.001}:this.props,o=s.min,c=s.max,u=this.computeSnapPoints({min:o,max:c,step:n}),l=!1===r?[]:this.computeDefaultPitPoints({min:o,max:c});return An("div",{className:pi(a.root,k({},a.disabledRoot,this.isDisabled))},An(Ss,{handle:this.createHandleComponent(t),onChange:this.handleChange,min:o,max:c,pitComponent:Rs,pitPoints:l,snap:!0,snapPoints:u,values:this.isDisabled?[o,c]:i,disabled:this.isDisabled}))}}]),a}(),Fs=Ze({name:"range-slider"}),Ts=St("RangeSlider"),Cs={item:'{{#count}}{{/count}}{{^count}}{{/count}}'},Es=Ze({name:"rating-menu"}),ks=St("RatingMenu"),Ls=An("path",{d:"M12 .288l2.833 8.718h9.167l-7.417 5.389 2.833 8.718-7.416-5.388-7.417 5.388 2.833-8.718-7.416-5.389h9.167z"}),js=An("path",{d:"M12 6.76l1.379 4.246h4.465l-3.612 2.625 1.379 4.246-3.611-2.625-3.612 2.625 1.379-4.246-3.612-2.625h4.465l1.38-4.246zm0-6.472l-2.833 8.718h-9.167l7.416 5.389-2.833 8.718 7.417-5.388 7.416 5.388-2.833-8.718 7.417-5.389h-9.167l-2.833-8.718z"}),Ms={reset:'\n\n \n\n ',submit:'\n\n \n\n ',loadingIndicator:'\n\n \n \n \n \n \n \n \n \n\n '},Os=Ze({name:"refinement-list"}),As=St("RefinementList"),Hs=St("SearchBox"),Ws={item:'',showMoreText:"\n {{#isShowingMore}}\n Show less\n {{/isShowingMore}}\n {{^isShowingMore}}\n Show more\n {{/isShowingMore}}\n ",searchableNoResults:"No results"},Ds={text:"",button:function(e){return e.isRelevantSorted?"See all results":"See relevant results"}},Bs=Ze({name:"relevant-sort"}),Us=St("RelevantSort"),qs=Ze({name:"search-box"}),Qs=St("SearchBox"),$s=Ze({name:"sort-by"}),Vs=St("SortBy"),Ks=Ze({name:"stats"}),zs=St("Stats"),Js={text:"\n {{#areHitsSorted}}\n {{#hasNoSortedResults}}No relevant results{{/hasNoSortedResults}}\n {{#hasOneSortedResults}}1 relevant result{{/hasOneSortedResults}}\n {{#hasManySortedResults}}{{#helpers.formatNumber}}{{nbSortedHits}}{{/helpers.formatNumber}} relevant results{{/hasManySortedResults}}\n sorted out of {{#helpers.formatNumber}}{{nbHits}}{{/helpers.formatNumber}}\n {{/areHitsSorted}}\n {{^areHitsSorted}}\n {{#hasNoResults}}No results{{/hasNoResults}}\n {{#hasOneResult}}1 result{{/hasOneResult}}\n {{#hasManyResults}}{{#helpers.formatNumber}}{{nbHits}}{{/helpers.formatNumber}} results{{/hasManyResults}}\n {{/areHitsSorted}}\n found in {{processingTimeMS}}ms"},Ys={labelText:"{{name}}"},Xs=Ze({name:"toggle-refinement"}),Gs=St("ToggleRefinement"),Zs={buttonText:function(e){var t=e.status,n=e.errorCode,r=e.isListening;return'\n '.concat(function(e,t,n){return"error"===e&&"not-allowed"===t?'\n \n \n \n ':'\n \n \n \n ')}(t,n,r),"\n ")},status:"

    {{transcript}}

    "},eo=Ze({name:"voice-search"}),to=St("VoiceSearch"),no=Object.freeze({__proto__:null,analytics:function(e){var t=e||{},s=t.pushFunction,n=t.delay,r=void 0===n?3e3:n,i=t.triggerOnUIInteraction,a=void 0!==i&&i,o=t.pushInitialSearch,c=void 0===o||o,u=t.pushPagination,l=void 0!==u&&u;if(!s)throw new Error(mi("The `pushFunction` option is required."));function d(e){if(null!==e){var t=[],n=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n].join("+");t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(n),"_").concat(encodeURIComponent(r)))}return t.join("&")}(W(W(W({},e.state.disjunctiveFacetsRefinements),e.state.facetsRefinements),e.state.hierarchicalFacetsRefinements)),r=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(r.hasOwnProperty(">=")&&r.hasOwnProperty("<="))r[">="]&&r[">="][0]===r["<="]&&r["<="][0]?t.push("".concat(n,"=").concat(n,"_").concat(r[">="])):t.push("".concat(n,"=").concat(n,"_").concat(r[">="],"to").concat(r["<="]));else if(r.hasOwnProperty(">="))t.push("".concat(n,"=").concat(n,"_from").concat(r[">="]));else if(r.hasOwnProperty("<="))t.push("".concat(n,"=").concat(n,"_to").concat(r["<="]));else if(r.hasOwnProperty("=")){var i=[];for(var a in r["="])r["="].hasOwnProperty(a)&&i.push(r["="][a]);t.push("".concat(n,"=").concat(n,"_").concat(i.join("-")))}}return t.join("&")}(e.state.numericRefinements);""!==n&&t.push(n),""!==r&&t.push(r);var i=t.join("&"),a="Query: ".concat(e.state.query||"",", ").concat(i);!0===l&&(a+=", Page: ".concat(e.state.page||0)),m!==a&&(s(i,e.state,e.results),m=a)}}var h,f=null,m="",p=!0;!0===c&&(p=!1);function g(){d(f)}function v(){d(f)}return{$$type:"ais.analytics",$$widgetType:"ais.analytics",init:function(){!0===a&&(document.addEventListener("click",g),window.addEventListener("beforeunload",v))},render:function(e){var t=e.results,n=e.state;!0!==p?(f={results:t,state:n},h&&clearTimeout(h),h=window.setTimeout(function(){return d(f)},r)):p=!1},dispose:function(){!0===a&&(document.removeEventListener("click",g),window.removeEventListener("beforeunload",v))},getRenderState:function(e,t){return W(W({},e),{},{analytics:this.getWidgetRenderState(t)})},getWidgetRenderState:function(){return{widgetParams:e}}}},breadcrumb:function(e){var t=e||{},n=t.container,r=t.attributes,i=t.separator,a=t.rootPath,s=t.transformItems,o=t.templates,c=void 0===o?Pi:o,u=t.cssClasses,l=void 0===u?{}:u;if(!n)throw new Error(Ni("The `container` option is required."));var d=de(n),h={root:pi(xi(),l.root),noRefinementRoot:pi(xi({modifierName:"noRefinement"}),l.noRefinementRoot),list:pi(xi({descendantName:"list"}),l.list),item:pi(xi({descendantName:"item"}),l.item),selectedItem:pi(xi({descendantName:"item",modifierName:"selected"}),l.selectedItem),separator:pi(xi({descendantName:"separator"}),l.separator),link:pi(xi({descendantName:"link"}),l.link)},f=function(e){var o=e.containerNode,c=e.cssClasses,u=e.renderState,l=e.templates;return function(e,t){var n=e.canRefine,r=e.createURL,i=e.instantSearchInstance,a=e.items,s=e.refine;t?u.templateProps=me({defaultTemplates:Pi,templatesConfig:i.templatesConfig,templates:l}):tr(An(vi,{canRefine:n,cssClasses:c,createURL:r,items:a,refine:s,templateProps:u.templateProps}),o)}}({containerNode:d,cssClasses:h,renderState:{},templates:c});return W(W({},kr(f,function(){return tr(null,d)})({attributes:r,separator:i,rootPath:a,transformItems:s})),{},{$$widgetType:"ais.breadcrumb"})},clearRefinements:function(e){var t=e||{},n=t.container,r=t.templates,i=void 0===r?_i:r,a=t.includedAttributes,s=t.excludedAttributes,o=t.transformItems,c=t.cssClasses,u=void 0===c?{}:c;if(!n)throw new Error(Ii("The `container` option is required."));var l=de(n),d={root:pi(Fi(),u.root),button:pi(Fi({descendantName:"button"}),u.button),disabledButton:pi(Fi({descendantName:"button",modifierName:"disabled"}),u.disabledButton)},h=function(e){var a=e.containerNode,s=e.cssClasses,o=e.renderState,c=e.templates;return function(e,t){var n=e.refine,r=e.hasRefinements,i=e.instantSearchInstance;t?o.templateProps=me({defaultTemplates:_i,templatesConfig:i.templatesConfig,templates:c}):tr(An(yi,{refine:n,cssClasses:s,hasRefinements:r,templateProps:o.templateProps}),a)}}({containerNode:l,cssClasses:d,renderState:{},templates:i});return W(W({},hn(h,function(){return tr(null,l)})({includedAttributes:a,excludedAttributes:s,transformItems:o})),{},{$$widgetType:"ais.clearRefinements"})},configure:function(e){return W(W({},Xr(Ie)({searchParameters:e})),{},{$$widgetType:"ais.configure"})},currentRefinements:function(e){var t=e||{},n=t.container,r=t.includedAttributes,i=t.excludedAttributes,a=t.cssClasses,s=void 0===a?{}:a,o=t.transformItems;if(!n)throw new Error(Ti("The `container` option is required."));var c=de(n),u={root:pi(Ci(),s.root),list:pi(Ci({descendantName:"list"}),s.list),item:pi(Ci({descendantName:"item"}),s.item),label:pi(Ci({descendantName:"label"}),s.label),category:pi(Ci({descendantName:"category"}),s.category),categoryLabel:pi(Ci({descendantName:"categoryLabel"}),s.categoryLabel),delete:pi(Ci({descendantName:"delete"}),s.delete)};return W(W({},pn(Si,function(){return tr(null,c)})({container:c,cssClasses:u,includedAttributes:r,excludedAttributes:i,transformItems:o})),{},{$$widgetType:"ais.currentRefinements"})},EXPERIMENTAL_answers:function(e){var t=e||{},n=t.container,r=t.attributesForPrediction,i=t.queryLanguages,a=t.nbHits,s=t.searchDebounceTime,o=t.renderDebounceTime,c=t.escapeHTML,u=t.extraParameters,l=t.templates,d=void 0===l?Ei:l,h=t.cssClasses,f=void 0===h?{}:h;if(!n)throw new Error(ki("The `container` option is required."));var m=de(n),p={root:pi(Li(),f.root),emptyRoot:pi(Li({modifierName:"empty"}),f.emptyRoot),header:pi(Li({descendantName:"header"}),f.header),loader:pi(Li({descendantName:"loader"}),f.loader),list:pi(Li({descendantName:"list"}),f.list),item:pi(Li({descendantName:"item"}),f.item)},g=function(e){var a=e.renderState,s=e.cssClasses,o=e.containerNode,c=e.templates;return function(e,t){var n=e.hits,r=e.isLoading,i=e.instantSearchInstance;t?a.templateProps=me({defaultTemplates:Ei,templatesConfig:i.templatesConfig,templates:c}):tr(An(Ri,{cssClasses:s,hits:n,isLoading:r,templateProps:a.templateProps}),o)}}({containerNode:m,cssClasses:p,templates:d,renderState:{}});return W(W({},ci(g,function(){return tr(null,m)})({attributesForPrediction:r,queryLanguages:i,nbHits:a,searchDebounceTime:s,renderDebounceTime:o,escapeHTML:c,extraParameters:u})),{},{$$widgetType:"ais.answers"})},EXPERIMENTAL_configureRelatedItems:function(e){return W(W({},ei(Ie)(e)),{},{$$widgetType:"ais.configureRelatedItems"})},EXPERIMENTAL_dynamicWidgets:function(e){var t=e||{},n=t.container,r=t.transformItems,a=t.widgets;if(!n)throw new Error(ji("The `container` option is required."));if(!a||!Array.isArray(a)||a.some(function(e){return"function"!=typeof e}))throw new Error(ji("The `widgets` option expects an array of callbacks."));var i=de(n),s=document.createElement("div");s.className=Mi();var o=new Map,c=[],u=li(function(e,t){var n=e.attributesToRender;t&&i.appendChild(s),n.forEach(function(e){if(o.has(e)){var t=o.get(e);s.appendChild(t)}})},function(){i.removeChild(s)})({transformItems:r,widgets:c});return W(W({},u),{},{init:function(i){a.forEach(function(e){var t=document.createElement("div");t.className=Mi({descendantName:"widget"}),s.appendChild(t);var n=e(t),r=ht(n,i);o.set(r,t),c.push(n)}),u.init(i)},$$widgetType:"ais.dynamicWidgets"})},geoSearch:function(e){var t=e||{},n=t.initialZoom,r=void 0===n?1:n,i=t.initialPosition,a=void 0===i?{lat:0,lng:0}:i,s=t.templates,o=void 0===s?{}:s,c=t.cssClasses,u=void 0===c?{}:c,l=t.builtInMarker,d=void 0===l?{}:l,h=t.customHTMLMarker,f=t.enableRefine,m=void 0===f||f,p=t.enableClearMapRefinement,g=void 0===p||p,v=t.enableRefineControl,y=void 0===v||v,b=t.container,S=t.googleReference,R=j(t,["initialZoom","initialPosition","templates","cssClasses","builtInMarker","customHTMLMarker","enableRefine","enableClearMapRefinement","enableRefineControl","container","googleReference"]);if(!b)throw new Error(Ui("The `container` option is required."));if(!S)throw new Error(Ui("The `googleReference` option is required."));var w=de(b),P={root:pi(qi(),u.root),tree:qi({descendantName:"tree"}),map:pi(qi({descendantName:"map"}),u.map),control:pi(qi({descendantName:"control"}),u.control),label:pi(qi({descendantName:"label"}),u.label),selectedLabel:pi(qi({descendantName:"label",modifierName:"selected"}),u.selectedLabel),input:pi(qi({descendantName:"input"}),u.input),redo:pi(qi({descendantName:"redo"}),u.redo),disabledRedo:pi(qi({descendantName:"redo",modifierName:"disabled"}),u.disabledRedo),reset:pi(qi({descendantName:"reset"}),u.reset)},N=W(W({},Bi),o),x=W(W({},{createOptions:function(){return{}},events:{}}),d),_=(Boolean(h)||Boolean(o.HTMLMarker))&&W(W({},{createOptions:function(){return{}},events:{}}),h),I=function(d){return function(){L(l,d.maps.OverlayView);var u=O(l);function l(e){var t,n=e.__id,r=e.position,i=e.map,a=e.template,s=e.className,o=e.anchor,c=void 0===o?{x:0,y:0}:o;return C(this,l),k(M(t=u.call(this)),"__id",void 0),k(M(t),"anchor",void 0),k(M(t),"offset",void 0),k(M(t),"listeners",void 0),k(M(t),"latLng",void 0),k(M(t),"element",void 0),t.__id=n,t.anchor=c,t.listeners={},t.latLng=new d.maps.LatLng(r),t.element=document.createElement("div"),t.element.className=s,t.element.style.position="absolute",t.element.innerHTML=a,t.setMap(i),t}return E(l,[{key:"onAdd",value:function(){this.getPanes().overlayMouseTarget.appendChild(this.element);var e=this.element.getBoundingClientRect();this.offset={x:this.anchor.x+e.width/2,y:this.anchor.y+e.height},this.element.style.width="".concat(e.width,"px")}},{key:"draw",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latLng);this.element.style.left="".concat(Math.round(e.x-this.offset.x),"px"),this.element.style.top="".concat(Math.round(e.y-this.offset.y),"px"),this.element.style.zIndex=String(parseInt(this.element.style.top,10))}},{key:"onRemove",value:function(){var t=this;this.element&&(this.element.parentNode.removeChild(this.element),Object.keys(this.listeners).forEach(function(e){t.element.removeEventListener(e,t.listeners[e])}),delete this.element,delete this.listeners)}},{key:"addListener",value:function(e,t){this.listeners[e]=t;var n=this.element;return n.addEventListener(e,t),{remove:function(){return n.removeEventListener(e,t)}}}},{key:"getPosition",value:function(){return this.latLng}}]),l}()}(S),F=_?function(e){var t=e.item,n=j(e,["item"]);return new I(W(W(W({},_.createOptions(t)),n),{},{__id:t.objectID,position:t._geoloc,className:pi(qi({descendantName:"marker"})),template:be({templateKey:"HTMLMarker",templates:N,data:t})}))}:function(e){var t=e.item,n=j(e,["item"]);return new S.maps.Marker(W(W(W({},x.createOptions(t)),n),{},{__id:t.objectID,position:t._geoloc}))},T=_||x;return W(W({},$r(Di,function(){return tr(null,w)})(W(W({},R),{},{renderState:{},container:w,googleReference:S,initialZoom:r,initialPosition:a,templates:N,cssClasses:P,createMarker:F,markerOptions:T,enableRefine:m,enableClearMapRefinement:g,enableRefineControl:y}))),{},{$$widgetType:"ais.geoSearch"})},hierarchicalMenu:function(e){var t=e||{},n=t.container,r=t.attributes,i=t.separator,a=t.rootPath,s=t.showParentLevel,o=t.limit,c=t.showMore,u=void 0!==c&&c,l=t.showMoreLimit,d=t.sortBy,h=t.transformItems,f=t.templates,m=void 0===f?Yi:f,p=t.cssClasses,g=void 0===p?{}:p;if(!n)throw new Error(Xi("The `container` option is required."));var v=de(n),y=function(e){var u=e.cssClasses,l=e.containerNode,d=e.showMore,h=e.templates,f=e.renderState;return function(e,t){var n=e.createURL,r=e.items,i=e.refine,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,c=e.canToggleShowMore;t?f.templateProps=me({defaultTemplates:Yi,templatesConfig:a.templatesConfig,templates:h}):tr(An(zi,{createURL:n,cssClasses:u,facetValues:r,templateProps:f.templateProps,toggleRefinement:i,showMore:d,toggleShowMore:o,isShowingMore:s,canToggleShowMore:c}),l)}}({cssClasses:{root:pi(Gi(),g.root),noRefinementRoot:pi(Gi({modifierName:"noRefinement"}),g.noRefinementRoot),list:pi(Gi({descendantName:"list"}),g.list),childList:pi(Gi({descendantName:"list",modifierName:"child"}),g.childList),item:pi(Gi({descendantName:"item"}),g.item),selectedItem:pi(Gi({descendantName:"item",modifierName:"selected"}),g.selectedItem),parentItem:pi(Gi({descendantName:"item",modifierName:"parent"}),g.parentItem),link:pi(Gi({descendantName:"link"}),g.link),label:pi(Gi({descendantName:"label"}),g.label),count:pi(Gi({descendantName:"count"}),g.count),showMore:pi(Gi({descendantName:"showMore"}),g.showMore),disabledShowMore:pi(Gi({descendantName:"showMore",modifierName:"disabled"}),g.disabledShowMore)},containerNode:v,templates:m,showMore:u,renderState:{}});return W(W({},Rn(y,function(){return tr(null,v)})({attributes:r,separator:i,rootPath:a,showParentLevel:s,limit:o,showMore:u,showMoreLimit:l,sortBy:d,transformItems:h})),{},{$$widgetType:"ais.hierarchicalMenu"})},hits:function(e){var t=e||{},n=t.container,r=t.escapeHTML,i=t.transformItems,a=t.templates,s=void 0===a?Zi:a,o=t.cssClasses,c=void 0===o?{}:o;if(!n)throw new Error(ea("The `container` option is required."));var u=de(n),l={root:pi(ta(),c.root),emptyRoot:pi(ta({modifierName:"empty"}),c.emptyRoot),list:pi(ta({descendantName:"list"}),c.list),item:pi(ta({descendantName:"item"}),c.item)},d=function(e){var o=e.renderState,c=e.cssClasses,u=e.containerNode,l=e.templates;return function(e,t){var n=e.hits,r=e.results,i=e.instantSearchInstance,a=e.insights,s=e.bindEvent;t?o.templateProps=me({defaultTemplates:Zi,templatesConfig:i.templatesConfig,templates:l}):tr(An(na,{cssClasses:c,hits:n,results:r,templateProps:o.templateProps,insights:a,sendEvent:function(e){i.sendEventToInsights(e)},bindEvent:s}),u)}}({containerNode:u,cssClasses:l,renderState:{},templates:s});return W(W({},_n(wn)(d,function(){return tr(null,u)})({escapeHTML:r,transformItems:i})),{},{$$widgetType:"ais.hits"})},hitsPerPage:function(e){var t=e||{},n=t.container,r=t.items,i=t.cssClasses,a=void 0===i?{}:i,s=t.transformItems;if(!n)throw new Error(ia("The `container` option is required."));var o=de(n),c={root:pi(aa(),a.root),select:pi(aa({descendantName:"select"}),a.select),option:pi(aa({descendantName:"option"}),a.option)},u=function(e){var a=e.containerNode,s=e.cssClasses;return function(e,t){var n=e.items,r=e.refine;if(!t){var i=(Se(n,function(e){return e.isRefined})||{}).value;tr(An("div",{className:s.root},An(ra,{cssClasses:s,currentValue:i,options:n,setValue:r})),a)}}}({containerNode:o,cssClasses:c});return W(W({},ir(u,function(){return tr(null,o)})({items:r,transformItems:s})),{},{$$widgetType:"ais.hitsPerPage"})},index:yt,infiniteHits:function(e){var t=e||{},n=t.container,r=t.escapeHTML,i=t.transformItems,a=t.templates,s=void 0===a?sa:a,o=t.cssClasses,c=void 0===o?{}:o,u=t.showPrevious,l=t.cache;if(!n)throw new Error(oa("The `container` option is required."));var d=de(n),h={root:pi(ca(),c.root),emptyRoot:pi(ca({modifierName:"empty"}),c.emptyRoot),item:pi(ca({descendantName:"item"}),c.item),list:pi(ca({descendantName:"list"}),c.list),loadPrevious:pi(ca({descendantName:"loadPrevious"}),c.loadPrevious),disabledLoadPrevious:pi(ca({descendantName:"loadPrevious",modifierName:"disabled"}),c.disabledLoadPrevious),loadMore:pi(ca({descendantName:"loadMore"}),c.loadMore),disabledLoadMore:pi(ca({descendantName:"loadMore",modifierName:"disabled"}),c.disabledLoadMore)},f=function(e){var d=e.cssClasses,h=e.containerNode,f=e.renderState,m=e.templates,p=e.showPrevious;return function(e,t){var n=e.hits,r=e.results,i=e.showMore,a=e.showPrevious,s=e.isFirstPage,o=e.isLastPage,c=e.instantSearchInstance,u=e.insights,l=e.bindEvent;t?f.templateProps=me({defaultTemplates:sa,templatesConfig:c.templatesConfig,templates:m}):tr(An(ua,{cssClasses:d,hits:n,results:r,hasShowPrevious:p,showPrevious:a,showMore:i,templateProps:f.templateProps,isFirstPage:s,isLastPage:o,insights:u,sendEvent:function(e){c.sendEventToInsights(e)},bindEvent:l}),h)}}({containerNode:d,cssClasses:h,templates:s,showPrevious:u,renderState:{}});return W(W({},_n(ur)(f,function(){return tr(null,d)})({escapeHTML:r,transformItems:i,showPrevious:u,cache:l})),{},{$$widgetType:"ais.infiniteHits"})},menu:function(e){var t=e||{},n=t.container,r=t.attribute,i=t.sortBy,a=t.limit,s=t.showMore,o=t.showMoreLimit,c=t.cssClasses,u=void 0===c?{}:c,l=t.templates,d=void 0===l?la:l,h=t.transformItems;if(!n)throw new Error(da("The `container` option is required."));var f=de(n),m={root:pi(ha(),u.root),noRefinementRoot:pi(ha({modifierName:"noRefinement"}),u.noRefinementRoot),list:pi(ha({descendantName:"list"}),u.list),item:pi(ha({descendantName:"item"}),u.item),selectedItem:pi(ha({descendantName:"item",modifierName:"selected"}),u.selectedItem),link:pi(ha({descendantName:"link"}),u.link),label:pi(ha({descendantName:"label"}),u.label),count:pi(ha({descendantName:"count"}),u.count),showMore:pi(ha({descendantName:"showMore"}),u.showMore),disabledShowMore:pi(ha({descendantName:"showMore",modifierName:"disabled"}),u.disabledShowMore)},p=function(e){var l=e.containerNode,d=e.cssClasses,h=e.renderState,f=e.templates,m=e.showMore;return function(e,t){var n=e.refine,r=e.items,i=e.createURL,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,c=e.canToggleShowMore;if(t)h.templateProps=me({defaultTemplates:la,templatesConfig:a.templatesConfig,templates:f});else{var u=r.map(function(e){return W(W({},e),{},{url:i(e.value)})});tr(An(zi,{createURL:i,cssClasses:d,facetValues:u,showMore:m,templateProps:h.templateProps,toggleRefinement:n,toggleShowMore:o,isShowingMore:s,canToggleShowMore:c}),l)}}}({containerNode:f,cssClasses:m,renderState:{},templates:d,showMore:s});return W(W({},lr(p,function(){return tr(null,f)})({attribute:r,limit:a,showMore:s,showMoreLimit:o,sortBy:i,transformItems:h})),{},{$$widgetType:"ais.menu"})},menuSelect:function(e){var t=e||{},n=t.container,r=t.attribute,i=t.sortBy,a=void 0===i?["name:asc"]:i,s=t.limit,o=void 0===s?10:s,c=t.cssClasses,u=void 0===c?{}:c,l=t.templates,d=void 0===l?pa:l,h=t.transformItems;if(!n)throw new Error(ga("The `container` option is required."));var f=de(n),m={root:pi(va(),u.root),noRefinementRoot:pi(va({modifierName:"noRefinement"}),u.noRefinementRoot),select:pi(va({descendantName:"select"}),u.select),option:pi(va({descendantName:"option"}),u.option)},p=function(e){var a=e.containerNode,s=e.cssClasses,o=e.renderState,c=e.templates;return function(e,t){var n=e.refine,r=e.items,i=e.instantSearchInstance;t?o.templateProps=me({defaultTemplates:pa,templatesConfig:i.templatesConfig,templates:c}):tr(An(fa,{cssClasses:s,items:r,refine:n,templateProps:o.templateProps}),a)}}({containerNode:f,cssClasses:m,renderState:{},templates:d});return W(W({},lr(p,function(){return tr(null,f)})({attribute:r,limit:o,sortBy:a,transformItems:h})),{},{$$widgetType:"ais.menuSelect"})},numericMenu:function(e){var t=e||{},n=t.container,r=t.attribute,i=t.items,a=t.cssClasses,s=void 0===a?{}:a,o=t.templates,c=void 0===o?ya:o,u=t.transformItems;if(!n)throw new Error(ba("The `container` option is required."));var l=de(n),d={root:pi(Sa(),s.root),noRefinementRoot:pi(Sa({modifierName:"noRefinement"}),s.noRefinementRoot),list:pi(Sa({descendantName:"list"}),s.list),item:pi(Sa({descendantName:"item"}),s.item),selectedItem:pi(Sa({descendantName:"item",modifierName:"selected"}),s.selectedItem),label:pi(Sa({descendantName:"label"}),s.label),radio:pi(Sa({descendantName:"radio"}),s.radio),labelText:pi(Sa({descendantName:"labelText"}),s.labelText)},h=function(e){var s=e.containerNode,o=e.attribute,c=e.cssClasses,u=e.renderState,l=e.templates;return function(e,t){var n=e.createURL,r=e.instantSearchInstance,i=e.refine,a=e.items;t?u.templateProps=me({defaultTemplates:ya,templatesConfig:r.templatesConfig,templates:l}):tr(An(zi,{createURL:n,cssClasses:c,facetValues:a,templateProps:u.templateProps,toggleRefinement:i,attribute:o}),s)}}({containerNode:l,attribute:r,cssClasses:d,renderState:{},templates:c});return W(W({},dr(h,function(){return tr(null,l)})({attribute:r,items:i,transformItems:u})),{},{$$widgetType:"ais.numericMenu"})},pagination:function(e){var t=e||{},n=t.container,r=t.templates,i=void 0===r?{}:r,a=t.cssClasses,s=void 0===a?{}:a,o=t.totalPages,c=t.padding,u=t.showFirst,l=void 0===u||u,d=t.showLast,h=void 0===d||d,f=t.showPrevious,m=void 0===f||f,p=t.showNext,g=void 0===p||p,v=t.scrollTo,y=void 0===v?"body":v;if(!n)throw new Error(xa("The `container` option is required."));var b=de(n),S=!0===y?"body":y,R=!1!==S&&de(S),w={root:pi(Na(),s.root),noRefinementRoot:pi(Na({modifierName:"noRefinement"}),s.noRefinementRoot),list:pi(Na({descendantName:"list"}),s.list),item:pi(Na({descendantName:"item"}),s.item),firstPageItem:pi(Na({descendantName:"item",modifierName:"firstPage"}),s.firstPageItem),lastPageItem:pi(Na({descendantName:"item",modifierName:"lastPage"}),s.lastPageItem),previousPageItem:pi(Na({descendantName:"item",modifierName:"previousPage"}),s.previousPageItem),nextPageItem:pi(Na({descendantName:"item",modifierName:"nextPage"}),s.nextPageItem),pageItem:pi(Na({descendantName:"item",modifierName:"page"}),s.pageItem),selectedItem:pi(Na({descendantName:"item",modifierName:"selected"}),s.selectedItem),disabledItem:pi(Na({descendantName:"item",modifierName:"disabled"}),s.disabledItem),link:pi(Na({descendantName:"link"}),s.link)},P=W(W({},_a),i),N=function(e){var u=e.containerNode,l=e.cssClasses,d=e.templates,h=e.showFirst,f=e.showLast,m=e.showPrevious,p=e.showNext,g=e.scrollToNode;return function(e,t){var n=e.createURL,r=e.currentRefinement,i=e.nbPages,a=e.pages,s=e.isFirstPage,o=e.isLastPage,c=e.refine;if(!t){tr(An(Ra,{createURL:n,cssClasses:l,currentPage:r,templates:d,nbPages:i,pages:a,isFirstPage:s,isLastPage:o,setCurrentPage:function(e){c(e),!1!==g&&g.scrollIntoView()},showFirst:h,showLast:f,showPrevious:m,showNext:p}),u)}}}({containerNode:b,cssClasses:w,templates:P,showFirst:l,showLast:h,showPrevious:m,showNext:g,scrollToNode:R});return W(W({},br(N,function(){return tr(null,b)})({totalPages:o,padding:c})),{},{$$widgetType:"ais.pagination"})},panel:function(e){var t=e||{},n=t.templates,r=void 0===n?{}:n,i=t.hidden,c=void 0===i?function(){return!1}:i,a=t.collapsed,s=t.cssClasses,o=void 0===s?{}:s,u=document.createElement("div"),l=Boolean(a),d="function"==typeof a?a:function(){return!1},h={root:pi(Va(),o.root),noRefinementRoot:pi(Va({modifierName:"noRefinement"}),o.noRefinementRoot),collapsibleRoot:pi(Va({modifierName:"collapsible"}),o.collapsibleRoot),collapsedRoot:pi(Va({modifierName:"collapsed"}),o.collapsedRoot),collapseButton:pi(Va({descendantName:"collapseButton"}),o.collapseButton),collapseIcon:pi(Va({descendantName:"collapseIcon"}),o.collapseIcon),body:pi(Va({descendantName:"body"}),o.body),header:pi(Va({descendantName:"header"}),o.header),footer:pi(Va({descendantName:"footer"}),o.footer)};return function(t){return function(e){if(!e||!e.container)throw new Error($a("The `container` option is required in the widget within the panel."));var i=de(e.container),s=function(e){var a=e.containerNode,s=e.bodyContainerNode,o=e.cssClasses,c=e.templates;return function(e){var t=e.options,n=e.hidden,r=e.collapsible,i=e.collapsed;tr(An(Ua,{cssClasses:o,hidden:n,collapsible:r,isCollapsed:i,templates:c,data:t,bodyElement:s}),a)}}({containerNode:i,bodyContainerNode:u,cssClasses:h,templates:W(W({},{header:"",footer:"",collapseButtonText:function(e){var t=e.collapsed;return'\n \n ')}}),r)});s({options:{},hidden:!0,collapsible:l,collapsed:!1});var o=t(W(W({},e),{},{container:u}));return W(W({},o),{},{dispose:function(){if(tr(null,i),"function"==typeof o.dispose){for(var e,t=arguments.length,n=new Array(t),r=0;re.length)&&(t=e.length);for(var n=0,r=new Array(t);n "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(t){return g(this.hierarchicalFacets,function(e){return e.name===t})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var n=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(n).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}};var N=w;function x(e,t){if(e!==t){var n=void 0!==e,r=null===e,i=void 0!==t,a=null===t;if(!a&&t=i.length?r:"desc"===i[n]?-r:r}return e.index-t.index}),t.map(function(e){return e.value})},A=function(d){return function(e,t){var n=d.hierarchicalFacets[t],r=d.hierarchicalFacetsRefinements[n.name]&&d.hierarchicalFacetsRefinements[n.name][0]||"",i=d._getHierarchicalFacetSeparator(n),a=d._getHierarchicalRootPath(n),s=d._getHierarchicalShowParentLevel(n),o=F(d._getHierarchicalFacetSortBy(n)),c=e.every(function(e){return e.exhaustive}),u=function(o,c,u,l,d){return function(e,n,t){var r=e;if(0n&&(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},V.prototype.once=function(e,t){if(!K(t))throw TypeError("listener must be a function");var n=!1;function r(){this.removeListener(e,r),n||(n=!0,t.apply(this,arguments))}return r.listener=t,this.on(e,r),this},V.prototype.removeListener=function(e,t){var n,r,i,a;if(!K(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(i=(n=this._events[e]).length,r=-1,n===t||K(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit("removeListener",e,t);else if(z(n)){for(a=i;0":7,"=":8,_v:9,"{":10,"&":11,_t:12},S.scan=function(e,t){var n,r,i,a,s,o=e.length,c=0,u=null,l=null,d="",h=[],f=!1,m=0,p=0,g="{{",v="}}";function y(){0"==n.tag&&(n.indent=h[r].text.toString()),h.splice(r,1));else t||h.push({tag:"\n"});f=!1,p=h.length}for(t&&(t=t.split(" "),g=t[0],v=t[1]),m=0;m":m,"<":function(e,t){var n={partials:{},code:"",subs:{},inPartial:!0};S.walk(e.nodes,n);var r=t.partials[m(e,t)];r.subs=n.subs,r.partials=n.partials},$:function(e,t){var n={subs:{},code:"",partials:t.partials,prefix:e.n};S.walk(e.nodes,n),t.subs[e.n]=n.code,t.inPartial||(t.code+='t.sub("'+h(e.n)+'",c,p,i);')},"\n":function(e,t){t.code+=p('"\\n"'+(e.last?"":" + i"))},_v:function(e,t){t.code+="t.b(t.v(t."+f(e.n)+'("'+h(e.n)+'",c,p,0)));'},_t:function(e,t){t.code+=p('"'+h(e.text)+'"')},"{":e,"&":e},S.walk=function(e,t){for(var n,r=0,i=e.length;r/g,i=/\'/g,a=/\"/g,s=/[&<>\"\']/;function o(e){return String(null==e?"":e)}var d=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}}(t)});pe.Template=ge.Template,pe.template=pe.Template;var ve=pe;function ye(e){var t=e.templates,n=e.templateKey,r=e.compileOptions,i=e.helpers,a=e.data,s=e.bindEvent,o=t[n];if("string"!=typeof o&&"function"!=typeof o)throw new Error("Template must be 'string' or 'function', was '".concat(d(o),"' (key: ").concat(n,")"));if("function"==typeof o)return o(a,s);var c=function(e,t,n){var r=0":">",'"':""","'":"'"},je=/[&<>"']/g,Me=RegExp(je.source);var Oe={"&":"&","<":"<",">":">",""":'"',"'":"'"},Ae=/&(amp|quot|lt|gt|#39);/g,He=RegExp(Ae.source);var We={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},De={highlightPreTag:"",highlightPostTag:""};function Be(e){return function(e){return e&&Me.test(e)?e.replace(je,function(e){return Le[e]}):e}(e).replace(new RegExp(We.highlightPreTag,"g"),De.highlightPreTag).replace(new RegExp(We.highlightPostTag,"g"),De.highlightPostTag)}function Ue(n){return Te(n)&&"string"!=typeof n.value?Object.keys(n).reduce(function(e,t){return W(W({},e),{},k({},t,Ue(n[t])))},{}):Array.isArray(n)?n.map(Ue):W(W({},n),{},{value:Be(n.value)})}function qe(e){return void 0===e.__escaped&&((e=e.map(function(e){var t=h({},e);return t._highlightResult&&(t._highlightResult=Ue(t._highlightResult)),t._snippetResult&&(t._snippetResult=Ue(t._snippetResult)),t})).__escaped=!0),e}function Qe(e){var t=De.highlightPreTag,n=De.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+n:e.value}).join("")}function $e(e){var n=De.highlightPostTag,t=De.highlightPreTag,r=e.split(t),i=r.shift(),a=i?[{value:i,isHighlighted:!1}]:[];return r.forEach(function(e){var t=e.split(n);a.push({value:t[0],isHighlighted:!0}),""!==t[1]&&a.push({value:t[1],isHighlighted:!1})}),a}var Ve=new RegExp(/\w/i);function Ke(e,t){var n,r,i=e[t],a=(null===(n=e[t+1])||void 0===n?void 0:n.isHighlighted)||!0,s=(null===(r=e[t-1])||void 0===r?void 0:r.isHighlighted)||!0;return Ve.test(function(e){return e&&He.test(e)?e.replace(Ae,function(e){return Oe[e]}):e}(i.value))||s!==a?i.isHighlighted:s}function ze(n){return n.some(function(e){return e.isHighlighted})?n.map(function(e,t){return W(W({},e),{},{isHighlighted:!Ke(n,t)})}):n.map(function(e){return W(W({},e),{},{isHighlighted:!1})})}function Je(e,t){return e.setQueryParameters({hierarchicalFacets:t.hierarchicalFacets.reduce(function(e,t){var n=function(e,t){if(!Array.isArray(e))return-1;for(var n=0;n')).replace(new RegExp(De.highlightPostTag,"g"),""))}var wt=bt("ReverseHighlight");function Pt(e){var t=e.attribute,n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.hit,a=e.cssClasses,s=void 0===a?{}:a,o=(Ie(i._highlightResult,t)||{}).value,c=void 0===o?"":o,u=wt({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return Qe(ze($e(c))).replace(new RegExp(De.highlightPreTag,"g"),"<".concat(r,' class="').concat(u,'">')).replace(new RegExp(De.highlightPostTag,"g"),""))}var Nt=bt("Snippet");function xt(e){var t=e.attribute,n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.hit,a=e.cssClasses,s=void 0===a?{}:a,o=(Ie(i._snippetResult,t)||{}).value,c=void 0===o?"":o,u=Nt({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return c.replace(new RegExp(De.highlightPreTag,"g"),"<".concat(r,' class="').concat(u,'">')).replace(new RegExp(De.highlightPostTag,"g"),""))}var _t=bt("ReverseSnippet");function It(e){var t=e.attribute,n=e.highlightedTagName,r=void 0===n?"mark":n,i=e.hit,a=e.cssClasses,s=void 0===a?{}:a,o=(Ie(i._snippetResult,t)||{}).value,c=void 0===o?"":o,u=_t({descendantName:"highlighted"})+(s.highlighted?" ".concat(s.highlighted):"");return Qe(ze($e(c))).replace(new RegExp(De.highlightPreTag,"g"),"<".concat(r,' class="').concat(u,'">')).replace(new RegExp(De.highlightPostTag,"g"),""))}function Ft(e,t){return function(e){var t,n=e.method,r=e.payload;if("object"!==d(r))throw new Error("The insights helper expects the payload to be an object.");try{t=it(r)}catch(e){throw new Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(n,'" data-insights-payload="').concat(t,'"')}({method:e,payload:t})}function Tt(){return function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r>6]+Bt[128|63&s]:s<55296||57344<=s?i+=Bt[224|s>>12]+Bt[128|s>>6&63]+Bt[128|63&s]:(a+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(a)),i+=Bt[240|s>>18]+Bt[128|s>>12&63]+Bt[128|s>>6&63]+Bt[128|63&s])}return i},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},merge:function r(i,a,s){if(!a)return i;if("object"!=typeof a){if(Dt(i))i.push(a);else{if(!i||"object"!=typeof i)return[i,a];(s&&(s.plainObjects||s.allowPrototypes)||!Wt.call(Object.prototype,a))&&(i[a]=!0)}return i}if(!i||"object"!=typeof i)return[i].concat(a);var e=i;return Dt(i)&&!Dt(a)&&(e=kt(i,s)),Dt(i)&&Dt(a)?(a.forEach(function(e,t){if(Wt.call(i,t)){var n=i[t];n&&"object"==typeof n&&e&&"object"==typeof e?i[t]=r(n,e,s):i.push(e)}else i[t]=e}),i):Object.keys(a).reduce(function(e,t){var n=a[t];return Wt.call(e,t)?e[t]=r(e[t],n,s):e[t]=n,e},e)}},qt=String.prototype.replace,Qt=/%20/g,$t={RFC1738:"RFC1738",RFC3986:"RFC3986"},Vt=Ut.assign({default:$t.RFC3986,formatters:{RFC1738:function(e){return qt.call(e,Qt,"+")},RFC3986:function(e){return String(e)}}},$t),Kt=Object.prototype.hasOwnProperty,zt={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},Jt=Array.isArray,Yt=Array.prototype.push,Xt=Date.prototype.toISOString,Gt=Vt.default,Zt={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Ut.encode,encodeValuesOnly:!1,format:Gt,formatter:Vt.formatters[Gt],indices:!1,serializeDate:function(e){return Xt.call(e)},skipNulls:!1,strictNullHandling:!1},en=Object.prototype.hasOwnProperty,tn={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ut.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},nn={formats:Vt,parse:function(e,t){var n=function(e){if(!e)return tn;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new Error("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?tn.charset:e.charset;return{allowDots:void 0===e.allowDots?tn.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:tn.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:tn.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:tn.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:tn.comma,decoder:"function"==typeof e.decoder?e.decoder:tn.decoder,delimiter:"string"==typeof e.delimiter||Ut.isRegExp(e.delimiter)?e.delimiter:tn.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:tn.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:tn.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:tn.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:tn.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:tn.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var r="string"==typeof e?function(e,t){var n,r={},i=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,a=t.parameterLimit===1/0?void 0:t.parameterLimit,s=i.split(t.delimiter,a),o=-1,c=t.charset;if(t.charsetSentinel)for(n=0;n=":return"≥";case"<=":return"≤";default:return e}}(e.operator)," ").concat(e.name):e.name,r={attribute:e.attribute,type:e.type,value:t,label:n};return void 0!==e.operator&&(r.operator=e.operator),void 0!==e.count&&(r.count=e.count),void 0!==e.exhaustive&&(r.exhaustive=e.exhaustive),r}function Sn(_,e){var I=1 ":t,n=e.rootPath,l=void 0===n?null:n,r=e.showParentLevel,h=void 0===r||r,i=e.limit,f=void 0===i?10:i,a=e.showMore,m=void 0!==a&&a,s=e.showMoreLimit,p=void 0===s?20:s,o=e.sortBy,g=void 0===o?["name:asc"]:o,v=e.transformItems,y=void 0===v?function(e){return e}:v;if(!c||!Array.isArray(c)||0===c.length)throw new Error(Pn("The `attributes` option expects an array of strings."));if(!0===m&&p<=f)throw new Error(Pn("The `showMoreLimit` option must be greater than `limit`."));var b,S,R=D(c,1)[0],w=function(){};function P(){w()}var N=!1;function x(){return N?p:f}return{$$type:"ais.hierarchicalMenu",init:function(e){var t=e.instantSearchInstance;_(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t=e.instantSearchInstance;w=function(e,t){return function(){N=!N,t.render(e)}}(e,this),_(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!1)},dispose:function(e){var t=e.state;return I(),t.removeHierarchicalFacet(R).setQueryParameter("maxValuesPerFacet",void 0)},getRenderState:function(e,t){return W(W({},e),{},{hierarchicalMenu:W(W({},e.hierarchicalMenu),{},k({},R,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.results,n=e.state,r=e.createURL,i=e.instantSearchInstance,a=e.helper,s=[],o=!1;if(b=b||rt({instantSearchInstance:i,helper:a,attribute:R,widgetType:this.$$type}),S=S||function(e){b("click",e),a.toggleFacetRefinement(R,e).search()},t){var c=t.getFacetValues(R,{sortBy:g}),u=c&&!Array.isArray(c)&&c.data?c.data:[],l=(n.maxValuesPerFacet||0)>x()?u.length<=x():u.lengthR()),a=v(c.slice(0,R()).map(function(e){var t=e.name,n=e.path;return W(W({},j(e,["name","path"])),{},{label:t,value:n})}))}return{items:a,createURL:d,refine:h,sendEvent:l,canRefine:0="]&&n[">="][0]||"",a=n["<="]&&n["<="][0]||"";return""===i&&""===a?e:W(W({},e),{},{numericMenu:W(W({},e.numericMenu),{},k({},u,"".concat(i,":").concat(a)))})},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=n.numericMenu&&n.numericMenu[u],i=e.clearRefinements(u);if(!r)return i.setQueryParameters({numericRefinements:W(W({},i.numericRefinements),{},k({},u,{}))});if(-1===r.indexOf(":"))return i.addNumericRefinement(u,"=",Number(r));var a=D(r.split(":").map(parseFloat),2),s=a[0],o=a[1],c=Fe(s)?i.addNumericRefinement(u,">=",s):i;return Fe(o)?c.addNumericRefinement(u,"<=",o):c},getRenderState:function(e,t){return W(W({},e),{},{numericMenu:W(W({},e.numericMenu),{},k({},u,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.results,n=e.state,r=e.instantSearchInstance,i=e.helper,a=e.createURL;return l.refine||(l.refine=function(e){var t=gr(i.state,u,e);l.sendEvent("click",e),i.setState(t).search()}),l.createURL||(l.createURL=function(t){return function(e){return a(gr(t,u,e))}}),l.sendEvent||(l.sendEvent=function(e){var c=e.instantSearchInstance,u=e.helper,l=e.attribute;return function(){for(var e=arguments.length,t=new Array(e),n=0;n=",n.start):void 0!==n.end?vr(r,"<=",n.end):void 0===n.start&&void 0===n.end&&Object.keys(r).every(function(e){return 0===(r[e]||[]).length})}function gr(e,t,n){var r=e,i=JSON.parse(decodeURI(n)),a=r.getNumericRefinements(t);if(void 0===i.start&&void 0===i.end)return r.removeNumericRefinement(t);if(pr(r,t,i)||(r=r.removeNumericRefinement(t)),void 0!==i.start&&void 0!==i.end){if(i.start>i.end)throw new Error("option.start should be > to option.end");if(i.start===i.end)return r=vr(a,"=",i.start)?r.removeNumericRefinement(t,"=",i.start):r.addNumericRefinement(t,"=",i.start)}return void 0!==i.start&&(r=vr(a,">=",i.start)?r.removeNumericRefinement(t,">=",i.start):r.addNumericRefinement(t,">=",i.start)),void 0!==i.end&&(r=vr(a,"<=",i.end)?r.removeNumericRefinement(t,"<=",i.end):r.addNumericRefinement(t,"<=",i.end)),"number"==typeof r.page&&(r.page=0),r}function vr(e,t,n){return void 0!==e[t]&&e[t].includes(n)}function yr(n,e){var r=1=")||[],1)[0],l=D(s.getNumericRefinement(w,"<=")||[],1)[0],d=void 0===n||""===n,h=void 0===r||""===r,f=Pr({min:d?void 0:parseFloat(n),max:h?void 0:parseFloat(r),precision:x}),m=f.min,p=f.max;i=Fe(P)||o!==m?Fe(P)&&d?P:m:void 0,a=Fe(N)||c!==p?Fe(N)&&h?N:p:void 0;var g=void 0===i,v=Fe(o)&&o<=i,y=g||Fe(i)&&(!Fe(o)||v),b=void 0===a,S=Fe(a)&&a<=c,R=b||Fe(a)&&(!Fe(c)||S);return(u!==i||l!==a)&&y&&R?(s=s.removeNumericRefinement(w),Fe(i)&&(s=s.addNumericRefinement(w,">=",i)),Fe(a)&&(s=s.addNumericRefinement(w,"<=",a)),s.resetPage()):null}function m(e,t,n,r){var i=3=")||[],1)[0],n=D(e.getNumericRefinement(w,"<=")||[],1)[0];return[Fe(t)?t:-1/0,Fe(n)?n:1/0]}(n);return{refine:u(r,n,t?a:{min:void 0,max:void 0}),canRefine:a.min!==a.max,format:c,range:a,sendEvent:function(l,d,h){return function(){for(var e=arguments.length,t=new Array(e),n=0;n="],i=void 0===r?[]:r,a=n["<="],s=void 0===a?[]:a;return 0===i.length&&0===s.length?e:W(W({},e),{},{range:W(W({},e.range),{},k({},w,"".concat(i,":").concat(s)))})},getWidgetSearchParameters:function(e,t){var n=t.uiState,r=e.addDisjunctiveFacet(w).setQueryParameters({numericRefinements:W(W({},e.numericRefinements),{},k({},w,{}))});Fe(P)&&(r=r.addNumericRefinement(w,">=",P)),Fe(N)&&(r=r.addNumericRefinement(w,"<=",N));var i=n.range&&n.range[w];if(!i||-1===i.indexOf(":"))return r;var a=D(i.split(":").map(parseFloat),2),s=a[0],o=a[1];return Fe(s)&&(!Fe(P)||P=")).addNumericRefinement(w,">=",s)),Fe(o)&&(!Fe(N)||op||g&&!N;return{createURL:function(e){return r(n.resetPage().toggleFacetRefinement(m,e))},items:s,refine:R,searchForItems:d,isFromSearch:!1,canRefine:0="])&&void 0!==t&&t.length)return n[">="][0]}function r(e,t){var n=p(e)===Number(t),r=e.resetPage().removeNumericRefinement(f);return n?r:r.addNumericRefinement(f,"<=",m).addNumericRefinement(f,">=",Number(t))}var g=function(e){return function(e,t){h("click",t),e.setState(r(e.state,t)).search()}.bind(null,e)},v=function(e){var t=e.state,n=e.createURL;return function(e){return n(r(t,e))}};return{$$type:Or,init:function(e){var t=e.instantSearchInstance;n(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!0)},render:function(e){var t=e.instantSearchInstance;n(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:t}),!1)},getRenderState:function(e,t){return W(W({},e),{},{ratingMenu:W(W({},e.ratingMenu),{},k({},f,this.getWidgetRenderState(t)))})},getWidgetRenderState:function(e){var t=e.helper,n=e.results,r=e.state,i=e.instantSearchInstance,a=e.createURL,s=[];if(h=h||function(e){var o=e.instantSearchInstance,c=e.helper,u=e.getRefinedStar,l=e.attribute;return function(){for(var e=arguments.length,t=new Array(e),n=0;n=").concat(i)]},attribute:l})}else o.sendEventToInsights(t[0])}}({instantSearchInstance:i,helper:t,getRefinedStar:function(){return p(t.state)},attribute:f}),n)for(var o=n.getFacetValues(f,{}),c=(o.length,function(e){var r=0;e.forEach(function(e){var t=D(e.name.split("."),2)[1],n=void 0===t?"":t;r=Math.max(r,n.length)})}(o),p(r)),u=function(n){var e=c===n,t=o.filter(function(e){return Number(e.name)>=n&&Number(e.name)<=m}).map(function(e){return e.count}).reduce(function(e,t){return e+t},0);if(c&&!e&&0===t)return"continue";var r=P(new Array(Math.floor(m/1))).map(function(e,t){return 1*t=",r):i.setQueryParameters({numericRefinements:W(W({},i.numericRefinements),{},k({},f,{}))})}}}}function Tr(n,e){var t=1 ":n,i=e.rootPath,a=void 0===i?null:i,o=e.transformItems,c=void 0===o?function(e){return e}:o;if(!t||!Array.isArray(t)||0===t.length)throw new Error(Dr("The `attributes` option expects an array of strings."));var u=D(t,1)[0];function l(e,t){if(!t){var n=e.getHierarchicalFacetBreadcrumb(u);if(0")}function Zr(c,u){return function(e){var t=e||{},a=t.hit,s=t.matchingPatterns,n=t.transformSearchParameters,r=void 0===n?function(e){return e}:n;if(!a)throw new Error(Xr("The `hit` option is required."));if(!s)throw new Error(Xr("The `matchingPatterns` option is required."));var i=Object.keys(s).reduce(function(e,t){var n=s[t],r=Ie(a,t),i=n.score;return Array.isArray(r)?[].concat(P(e),[r.map(function(e){return Gr({attributeName:t,attributeValue:e,attributeScore:i})})]):"string"==typeof r?[].concat(P(e),[Gr({attributeName:t,attributeValue:r,attributeScore:i})]):e},[]),o=W({},r(new oe.SearchParameters({sumOrFiltersScores:!0,facetFilters:["objectID:-".concat(a.objectID)],optionalFilters:i})));return W(W({},Yr(c,u)({searchParameters:o})),{},{$$type:"ais.configureRelatedItems"})}}var ei=Ge({name:"autocomplete",connector:!0}),ti=Ge({name:"query-rules",connector:!0});function ni(e){var t=this.helper,n=this.initialRuleContexts,r=this.trackedFilters,i=this.transformRuleContexts,a=e.state,s=a.ruleContexts||[],o=function(e){var i=e.helper,a=e.sharedHelperState,s=e.trackedFilters;return Object.keys(s).reduce(function(e,t){var n=we(i.lastResults||{},a,!0).filter(function(e){return e.attribute===t}).map(function(e){return e.numericValue||e.name}),r=(0,s[t])(n);return[].concat(P(e),P(n.filter(function(e){return r.includes(e)}).map(function(e){return function(e){return e.replace(/[^a-z0-9-_]+/gi,"_")}("ais-".concat(t,"-").concat(e))})))},[])}({helper:t,sharedHelperState:a,trackedFilters:r}),c=i([].concat(P(n),P(o))).slice(0,10);ke(s,c)||t.overrideStateWithoutTriggeringChangeEvent(W(W({},a),{},{ruleContexts:c}))}function ri(d,e){var h=1= 4.8.0 required."));p=lt(n.findAnswers,u),b(W(W({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(n){var r=this,e=n.state.query;if(!e)return v=!(m={}),void b(W(W({},this.getWidgetRenderState(n)),{},{instantSearchInstance:n.instantSearchInstance}),!1);m={},v=!0,b(W(W({},this.getWidgetRenderState(n)),{},{instantSearchInstance:n.instantSearchInstance}),!1),g(p(e,i,W(W({},f),{},{nbHits:s,attributesForPrediction:a}))).then(function(e){if(e){d&&0"},Fi=Ge({name:"breadcrumb"}),Ti=bt("Breadcrumb"),Ci={resetLabel:"Clear refinements"},Ei=Ge({name:"clear-refinements"}),ki=bt("ClearRefinements"),Li=Ge({name:"current-refinements"}),ji=bt("CurrentRefinements"),Mi={header:"",loader:"",item:function(e){return JSON.stringify(e)}},Oi=Ge({name:"answers"}),Ai=bt("Answers"),Hi=Ge({name:"dynamic-widgets"}),Wi=bt("DynamicWidgets"),Di={HTMLMarker:"

    Your custom HTML Marker

    ",reset:"Clear the map refinement",toggle:"Search as I move the map",redo:"Redo search here"},Bi=Ge({name:"geo-search"}),Ui=bt("GeoSearch");function qi(e){var t=e.className,n=e.handleClick,r=e.facetValueToRefine,i=e.isRefined,a=e.templateProps,s=e.templateKey,o=e.templateData,c=e.subItems;return On("li",{className:t,onClick:function(e){n({facetValueToRefine:r,isRefined:i,originalEvent:e})}},On(pi,h({},a,{templateKey:s,data:o})),c)}var Qi={query:"",showSubmit:!0,showReset:!0,showLoadingIndicator:!0,autofocus:!1,searchAsYouType:!0,isSearchStalled:!1,disabled:!1,onChange:_e,onSubmit:_e,onReset:_e,refine:_e},$i=function(){L(i,Wn);var r=O(i);function i(){var s;C(this,i);for(var e=arguments.length,t=new Array(e),n=0;n{{label}}{{#helpers.formatNumber}}{{count}}{{/helpers.formatNumber}}',showMoreText:"\n {{#isShowingMore}}\n Show less\n {{/isShowingMore}}\n {{^isShowingMore}}\n Show more\n {{/isShowingMore}}\n "},Yi=Ge({name:"hierarchical-menu"}),Xi=bt("HierarchicalMenu");zi.defaultProps={results:{hits:[]},hits:[]};var Gi={empty:"No results",item:function(e){return JSON.stringify(e,null,2)}},Zi=Ge({name:"hits"}),ea=bt("Hits"),ta=nr(zi);function na(e){var t=e.currentValue,n=e.options,r=e.cssClasses,i=e.setValue;return On("select",{className:mi(r.select),onChange:function(e){return i(e.target.value)},value:"".concat(t)},n.map(function(e){return On("option",{className:mi(r.option),key:e.label+e.value,value:"".concat(e.value)},e.label)}))}var ra=Ge({name:"hits-per-page"}),ia=bt("HitsPerPage"),aa={empty:"No results",showPreviousText:"Show previous results",showMoreText:"Show more results",item:function(e){return JSON.stringify(e,null,2)}},sa=Ge({name:"infinite-hits"}),oa=bt("InfiniteHits"),ca=nr(function(e){var t=e.results,n=e.hits,r=e.bindEvent,i=e.hasShowPrevious,a=e.showPrevious,s=e.showMore,o=e.isFirstPage,c=e.isLastPage,u=e.cssClasses,l=e.templateProps;return 0===t.hits.length?On(pi,h({},l,{templateKey:"empty",rootProps:{className:mi(u.root,u.emptyRoot)},data:t})):On("div",{className:u.root},i&&On(pi,h({},l,{templateKey:"showPreviousText",rootTagName:"button",rootProps:{className:mi(u.loadPrevious,k({},u.disabledLoadPrevious,o)),disabled:o,onClick:a}})),On("ol",{className:u.list},n.map(function(e,t){return On(pi,h({},l,{templateKey:"item",rootTagName:"li",rootProps:{className:u.item},key:e.objectID,data:W(W({},e),{},{__hitIndex:t}),bindEvent:r}))})),On(pi,h({},l,{templateKey:"showMoreText",rootTagName:"button",rootProps:{className:mi(u.loadMore,k({},u.disabledLoadMore,c)),disabled:c,onClick:s}})))}),ua={item:'{{label}}{{#helpers.formatNumber}}{{count}}{{/helpers.formatNumber}}',showMoreText:"\n {{#isShowingMore}}\n Show less\n {{/isShowingMore}}\n {{^isShowingMore}}\n Show more\n {{/isShowingMore}}\n "},la=Ge({name:"menu"}),da=bt("Menu");function ha(e){var t=e.cssClasses,n=e.templateProps,r=e.items,i=e.refine,a=(be(r,function(e){return e.isRefined})||{value:""}).value;return On("div",{className:mi(t.root,k({},t.noRefinementRoot,0===r.length))},On("select",{className:t.select,value:a,onChange:function(e){i(e.target.value)}},On(pi,h({},n,{templateKey:"defaultOption",rootTagName:"option",rootProps:{value:"",className:t.option}})),r.map(function(e){return On(pi,h({},n,{templateKey:"item",rootTagName:"option",rootProps:{value:e.value,className:t.option},key:e.value,data:e}))})))}function fa(e){var t=e.cssClasses,n=e.label,r=e.ariaLabel,i=e.url,a=e.isDisabled,s=e.handleClick,o=e.pageNumber;return On("li",{className:t.item},a?On("span",{className:t.link,dangerouslySetInnerHTML:{__html:n}}):On("a",{className:t.link,"aria-label":r,href:i,onClick:function(e){return s(o,e)},dangerouslySetInnerHTML:{__html:n}}))}var ma={item:"{{label}} ({{#helpers.formatNumber}}{{count}}{{/helpers.formatNumber}})",defaultOption:"See all"},pa=Ge({name:"menu-select"}),ga=bt("MenuSelect"),va={item:''},ya=Ge({name:"numeric-menu"}),ba=bt("NumericMenu"),Sa=function(){L(a,Wn);var i=O(a);function a(){var n;C(this,a);for(var e=arguments.length,t=new Array(e),r=0;r=t.o.length&&t.o.push({}),t.o[e]}function Ea(e){return function(n,e,t){var r=Ca(Ra++);return r.__c||(r.__c=wa,r.v=[t?t(e):Da(void 0,e),function(e){var t=n(r.v[0],e);r.v[0]!==t&&(r.v[0]=t,r.__c.setState({}))}]),r.v}(Da,e)}function ka(e){return function(e,t){var n=Ca(Ra++);return Wa(n.m,t)?(n.m=t,n.p=e,n.v=e()):n.v}(function(){return{current:e}},[])}_n.unmount=function(e){Ta&&Ta(e);var t=e.__c;if(t){var n=t.__H;n&&n.o.forEach(function(e){return e.l&&e.l()})}};var La=function(){};function ja(){_a.some(function(e){e.s=!1,e.__P&&(e.__H.t=Oa(e.__H.t))}),_a=[]}if("undefined"!=typeof window){var Ma=_n.requestAnimationFrame;La=function(e){(!e.s&&(e.s=!0)&&1===_a.push(e)||Ma!==_n.requestAnimationFrame)&&(Ma=_n.requestAnimationFrame,(_n.requestAnimationFrame||function(e){function t(){clearTimeout(n),cancelAnimationFrame(r),setTimeout(e)}var n=setTimeout(t,100),r=requestAnimationFrame(t)})(ja))}}function Oa(e){return e.forEach(Aa),e.forEach(Ha),[]}function Aa(e){e.l&&e.l()}function Ha(e){var t=e.v();"function"==typeof t&&(e.l=t)}function Wa(n,e){return!n||e.some(function(e,t){return e!==n[t]})}function Da(e,t){return"function"==typeof t?t(e):t}function Ba(e){var t,n=D(Ea(e.isCollapsed),2),r=n[0],i=n[1],a=D(Ea(!1),2),s=a[0],o=a[1],c=ka(null);return function(e,t){var n=Ca(Ra++);Wa(n.m,t)&&(n.v=e,n.m=t,wa.__H.t.push(n),La(wa))}(function(){if(c.current)return c.current.appendChild(e.bodyElement),function(){c.current.removeChild(e.bodyElement)}},[c,e.bodyElement]),s||e.isCollapsed===r||i(e.isCollapsed),On("div",{className:mi(e.cssClasses.root,(t={},k(t,e.cssClasses.noRefinementRoot,e.hidden),k(t,e.cssClasses.collapsibleRoot,e.collapsible),k(t,e.cssClasses.collapsedRoot,r),t)),hidden:e.hidden},e.templates.header&&On("div",{className:e.cssClasses.header},On(pi,{templates:e.templates,templateKey:"header",rootTagName:"span",data:e.data}),e.collapsible&&On("button",{className:e.cssClasses.collapseButton,"aria-expanded":!r,onClick:function(e){e.preventDefault(),o(!0),i(function(e){return!e})}},On(pi,{templates:e.templates,templateKey:"collapseButtonText",rootTagName:"span",data:{collapsed:r}}))),On("div",{className:e.cssClasses.body,ref:c}),e.templates.footer&&On(pi,{templates:e.templates,templateKey:"footer",rootProps:{className:e.cssClasses.footer},data:e.data}))}function Ua(e){var t=e.url,n=e.theme,r=e.cssClasses;return On("div",{className:r.root},On("a",{href:t,target:"_blank",className:r.link,"aria-label":"Search by Algolia",rel:"noopener noreferrer"},On("svg",{height:"1.2em",className:r.logo,viewBox:"0 0 168 24",style:{width:"auto"}},On("path",{fill:"dark"===n?"#FFF":"#5D6494",d:"M6.97 6.68V8.3a4.47 4.47 0 00-2.42-.67 2.2 2.2 0 00-1.38.4c-.34.26-.5.6-.5 1.02 0 .43.16.77.49 1.03.33.25.83.53 1.51.83a7.04 7.04 0 011.9 1.08c.34.24.58.54.73.89.15.34.23.74.23 1.18 0 .95-.33 1.7-1 2.24a4 4 0 01-2.6.81 5.71 5.71 0 01-2.94-.68v-1.71c.84.63 1.81.94 2.92.94.58 0 1.05-.14 1.39-.4.34-.28.5-.65.5-1.13 0-.29-.1-.55-.3-.8a2.2 2.2 0 00-.65-.53 23.03 23.03 0 00-1.64-.78 13.67 13.67 0 01-1.11-.64c-.12-.1-.28-.22-.46-.4a1.72 1.72 0 01-.39-.5 4.46 4.46 0 01-.22-.6c-.07-.23-.1-.48-.1-.75 0-.91.33-1.63 1-2.17a4 4 0 012.57-.8c.97 0 1.8.18 2.47.52zm7.47 5.7v-.3a2.26 2.26 0 00-.5-1.44c-.3-.35-.74-.53-1.32-.53-.53 0-.99.2-1.37.58a2.9 2.9 0 00-.72 1.68h3.91zm1 2.79v1.4c-.6.34-1.38.51-2.36.51a4.02 4.02 0 01-3-1.13 4.04 4.04 0 01-1.11-2.97c0-1.3.34-2.32 1.02-3.06a3.38 3.38 0 012.6-1.1c1.03 0 1.85.32 2.46.96.6.64.9 1.57.9 2.78 0 .33-.03.68-.09 1.04h-5.31c.1.7.4 1.24.89 1.61.49.38 1.1.56 1.85.56.86 0 1.58-.2 2.15-.6zm6.61-1.78h-1.21c-.6 0-1.05.12-1.35.36-.3.23-.46.53-.46.89 0 .37.12.66.36.88.23.2.57.32 1.02.32.5 0 .9-.15 1.2-.43.3-.28.44-.65.44-1.1v-.92zm-4.07-2.55V9.33a4.96 4.96 0 012.5-.55c2.1 0 3.17 1.03 3.17 3.08V17H22.1v-.96c-.42.68-1.15 1.02-2.19 1.02-.76 0-1.38-.22-1.84-.66-.46-.44-.7-1-.7-1.68 0-.78.3-1.38.88-1.81.59-.43 1.4-.65 2.46-.65h1.34v-.46c0-.55-.13-.97-.4-1.25-.26-.29-.7-.43-1.32-.43-.86 0-1.65.24-2.35.72zm9.34-1.93v1.42c.39-1 1.1-1.5 2.12-1.5.15 0 .31.02.5.05v1.53c-.23-.1-.48-.14-.76-.14-.54 0-.99.24-1.34.71a2.8 2.8 0 00-.52 1.71V17h-1.57V8.91h1.57zm5 4.09a3 3 0 00.76 2.01c.47.53 1.14.8 2 .8.64 0 1.24-.18 1.8-.53v1.4c-.53.32-1.2.48-2 .48a3.98 3.98 0 01-4.17-4.18c0-1.16.38-2.15 1.14-2.98a4 4 0 013.1-1.23c.7 0 1.34.15 1.92.44v1.44a3.24 3.24 0 00-1.77-.5A2.65 2.65 0 0032.33 13zm7.92-7.28v4.58c.46-1 1.3-1.5 2.5-1.5.8 0 1.42.24 1.9.73.48.5.72 1.17.72 2.05V17H43.8v-5.1c0-.56-.14-.99-.43-1.29-.28-.3-.65-.45-1.1-.45-.54 0-1 .2-1.42.6-.4.4-.61 1.02-.61 1.85V17h-1.56V5.72h1.56zM55.2 15.74c.6 0 1.1-.25 1.5-.76.4-.5.6-1.16.6-1.95 0-.92-.2-1.62-.6-2.12-.4-.5-.92-.74-1.55-.74-.56 0-1.05.22-1.5.67-.44.45-.66 1.13-.66 2.06 0 .96.22 1.67.64 2.14.43.47.95.7 1.57.7zM53 5.72v4.42a2.74 2.74 0 012.43-1.34c1.03 0 1.86.38 2.51 1.15.65.76.97 1.78.97 3.05 0 1.13-.3 2.1-.92 2.9-.62.81-1.47 1.21-2.54 1.21s-1.9-.45-2.46-1.34V17h-1.58V5.72H53zm9.9 11.1l-3.22-7.9h1.74l1 2.62 1.26 3.42c.1-.32.48-1.46 1.15-3.42l.91-2.63h1.66l-2.92 7.87c-.78 2.07-1.96 3.1-3.56 3.1-.28 0-.53-.02-.73-.07v-1.34c.17.04.35.06.54.06 1.03 0 1.76-.57 2.17-1.7z"}),Va,Ka,On("path",{fill:"dark"===n?"#FFF":"#5468FF",d:"M120.92 18.8c-4.38.02-4.38-3.54-4.38-4.1V1.36l2.67-.42v13.25c0 .32 0 2.36 1.71 2.37v2.24zm-10.84-2.18c.82 0 1.43-.04 1.85-.12v-2.72a5.48 5.48 0 00-1.57-.2c-.3 0-.6.02-.9.07-.3.04-.57.12-.81.24-.24.11-.44.28-.58.49a.93.93 0 00-.22.65c0 .63.22 1 .61 1.23.4.24.94.36 1.62.36zm-.23-9.7c.88 0 1.62.11 2.23.33.6.22 1.09.53 1.44.92.36.4.61.92.76 1.48.16.56.23 1.17.23 1.85v6.87a21.69 21.69 0 01-4.68.5c-.69 0-1.32-.07-1.9-.2a4 4 0 01-1.46-.63 3.3 3.3 0 01-.96-1.13 4.3 4.3 0 01-.34-1.8 3.13 3.13 0 011.43-2.63c.45-.3.95-.5 1.54-.62a8.8 8.8 0 013.79.05v-.44c0-.3-.04-.6-.11-.87a1.78 1.78 0 00-1.1-1.22 3.2 3.2 0 00-1.15-.2 9.75 9.75 0 00-2.95.46l-.33-2.19a11.43 11.43 0 013.56-.53zm52.84 9.63c.82 0 1.43-.05 1.85-.13V13.7a5.42 5.42 0 00-1.57-.2c-.3 0-.6.02-.9.07-.3.04-.57.12-.81.24-.24.12-.44.28-.58.5a.93.93 0 00-.22.65c0 .63.22.99.61 1.23.4.24.94.36 1.62.36zm-.23-9.7c.88 0 1.63.11 2.23.33.6.22 1.1.53 1.45.92.35.39.6.92.76 1.48.15.56.23 1.18.23 1.85v6.88c-.41.08-1.03.19-1.87.31-.83.12-1.77.18-2.81.18-.7 0-1.33-.06-1.9-.2a4 4 0 01-1.47-.63c-.4-.3-.72-.67-.95-1.13a4.3 4.3 0 01-.34-1.8c0-.66.13-1.08.38-1.53.26-.45.61-.82 1.05-1.1.44-.3.95-.5 1.53-.62a8.8 8.8 0 013.8.05v-.43c0-.31-.04-.6-.12-.88-.07-.28-.2-.52-.38-.73a1.78 1.78 0 00-.73-.5c-.3-.1-.68-.2-1.14-.2a9.85 9.85 0 00-2.95.47l-.32-2.19a11.63 11.63 0 013.55-.53zm-8.03-1.27a1.62 1.62 0 000-3.24 1.62 1.62 0 100 3.24zm1.35 13.22h-2.7V7.27l2.7-.42V18.8zm-4.72 0c-4.38.02-4.38-3.54-4.38-4.1l-.01-13.34 2.67-.42v13.25c0 .32 0 2.36 1.72 2.37v2.24zm-8.7-5.9a4.7 4.7 0 00-.74-2.79 2.4 2.4 0 00-2.07-1 2.4 2.4 0 00-2.06 1 4.7 4.7 0 00-.74 2.8c0 1.16.25 1.94.74 2.62a2.4 2.4 0 002.07 1.02c.88 0 1.57-.34 2.07-1.02a4.2 4.2 0 00.73-2.63zm2.74 0a6.46 6.46 0 01-1.52 4.23c-.49.53-1.07.94-1.76 1.22-.68.29-1.73.45-2.26.45a6.6 6.6 0 01-2.25-.45 5.1 5.1 0 01-2.88-3.13 7.3 7.3 0 01-.01-4.84 5.13 5.13 0 012.9-3.1 5.67 5.67 0 012.22-.42c.81 0 1.56.14 2.24.42.69.29 1.28.69 1.75 1.22.49.52.87 1.15 1.14 1.89a7 7 0 01.43 2.5zm-20.14 0c0 1.11.25 2.36.74 2.88.5.52 1.13.78 1.91.78a4.07 4.07 0 002.12-.6V9.33c-.19-.04-.99-.2-1.76-.23a2.67 2.67 0 00-2.23 1 4.73 4.73 0 00-.78 2.8zm7.44 5.27c0 1.82-.46 3.16-1.4 4-.94.85-2.37 1.27-4.3 1.27-.7 0-2.17-.13-3.34-.4l.43-2.11c.98.2 2.27.26 2.95.26 1.08 0 1.84-.22 2.3-.66.46-.43.68-1.08.68-1.94v-.44a5.2 5.2 0 01-2.54.6 5.6 5.6 0 01-2.01-.36 4.2 4.2 0 01-2.58-2.71 9.88 9.88 0 01.02-5.35 4.92 4.92 0 012.93-2.96 6.6 6.6 0 012.43-.46 19.64 19.64 0 014.43.66v10.6z"}))))}function qa(e){var t=e.cssClasses,n=e.templates,r=e.items;return On(pi,{templateKey:"default",templates:n,rootProps:{className:t.root},data:{items:r}})}var Qa=Ge({name:"panel"}),$a=bt("Panel"),Va=On("path",{fill:"#5468FF",d:"M78.99.94h16.6a2.97 2.97 0 012.96 2.96v16.6a2.97 2.97 0 01-2.97 2.96h-16.6a2.97 2.97 0 01-2.96-2.96V3.9A2.96 2.96 0 0179 .94"}),Ka=On("path",{fill:"#FFF",d:"M89.63 5.97v-.78a.98.98 0 00-.98-.97h-2.28a.98.98 0 00-.97.97V6c0 .09.08.15.17.13a7.13 7.13 0 013.9-.02c.08.02.16-.04.16-.13m-6.25 1L83 6.6a.98.98 0 00-1.38 0l-.46.46a.97.97 0 000 1.38l.38.39c.06.06.15.04.2-.02a7.49 7.49 0 011.63-1.62c.07-.04.08-.14.02-.2m4.16 2.45v3.34c0 .1.1.17.2.12l2.97-1.54c.06-.03.08-.12.05-.18a3.7 3.7 0 00-3.08-1.87c-.07 0-.14.06-.14.13m0 8.05a4.49 4.49 0 110-8.98 4.49 4.49 0 010 8.98m0-10.85a6.37 6.37 0 100 12.74 6.37 6.37 0 000-12.74"}),za=bt("PoweredBy"),Ja=Ge({name:"powered-by"}),Ya=Ge({name:"query-rule-context"}),Xa={default:function(e){var t=e.items;return JSON.stringify(t,null,2)}},Ga=Ge({name:"query-rule-custom-data"}),Za=bt("QueryRuleCustomData"),es=function(){L(a,Wn);var i=O(a);function a(){var r;C(this,a);for(var e=arguments.length,t=new Array(e),n=0;n=this.props.max}},{key:"computeDefaultPitPoints",value:function(e){var t=e.min,n=e.max,r=(n-t)/34;return[t].concat(P(Ce({end:33}).map(function(e){return t+r*(e+1)})),[n])}},{key:"computeSnapPoints",value:function(e){var t=e.min,n=e.max,r=e.step;if(r)return[].concat(P(Ce({start:t,end:n,step:r})),[n])}},{key:"render",value:function(){var e=this.props,t=e.tooltips,n=e.step,r=e.pips,i=e.values,a=e.cssClasses,s=this.isDisabled?{min:this.props.min,max:this.props.max+.001}:this.props,o=s.min,c=s.max,u=this.computeSnapPoints({min:o,max:c,step:n}),l=!1===r?[]:this.computeDefaultPitPoints({min:o,max:c});return On("div",{className:mi(a.root,k({},a.disabledRoot,this.isDisabled))},On(Ss,{handle:this.createHandleComponent(t),onChange:this.handleChange,min:o,max:c,pitComponent:Rs,pitPoints:l,snap:!0,snapPoints:u,values:this.isDisabled?[o,c]:i,disabled:this.isDisabled}))}}]),a}(),Is=Ge({name:"range-slider"}),Fs=bt("RangeSlider"),Ts={item:'{{#count}}{{/count}}{{^count}}{{/count}}'},Cs=Ge({name:"rating-menu"}),Es=bt("RatingMenu"),ks=On("path",{d:"M12 .288l2.833 8.718h9.167l-7.417 5.389 2.833 8.718-7.416-5.388-7.417 5.388 2.833-8.718-7.416-5.389h9.167z"}),Ls=On("path",{d:"M12 6.76l1.379 4.246h4.465l-3.612 2.625 1.379 4.246-3.611-2.625-3.612 2.625 1.379-4.246-3.612-2.625h4.465l1.38-4.246zm0-6.472l-2.833 8.718h-9.167l7.416 5.389-2.833 8.718 7.417-5.388 7.416 5.388-2.833-8.718 7.417-5.389h-9.167l-2.833-8.718z"}),js={reset:'\n\n \n\n ',submit:'\n\n \n\n ',loadingIndicator:'\n\n \n \n \n \n \n \n \n \n\n '},Ms=Ge({name:"refinement-list"}),Os=bt("RefinementList"),As=bt("SearchBox"),Hs={item:'',showMoreText:"\n {{#isShowingMore}}\n Show less\n {{/isShowingMore}}\n {{^isShowingMore}}\n Show more\n {{/isShowingMore}}\n ",searchableNoResults:"No results"},Ws={text:"",button:function(e){return e.isRelevantSorted?"See all results":"See relevant results"}},Ds=Ge({name:"relevant-sort"}),Bs=bt("RelevantSort"),Us=Ge({name:"search-box"}),qs=bt("SearchBox"),Qs=Ge({name:"sort-by"}),$s=bt("SortBy"),Vs=Ge({name:"stats"}),Ks=bt("Stats"),zs={text:"\n {{#areHitsSorted}}\n {{#hasNoSortedResults}}No relevant results{{/hasNoSortedResults}}\n {{#hasOneSortedResults}}1 relevant result{{/hasOneSortedResults}}\n {{#hasManySortedResults}}{{#helpers.formatNumber}}{{nbSortedHits}}{{/helpers.formatNumber}} relevant results{{/hasManySortedResults}}\n sorted out of {{#helpers.formatNumber}}{{nbHits}}{{/helpers.formatNumber}}\n {{/areHitsSorted}}\n {{^areHitsSorted}}\n {{#hasNoResults}}No results{{/hasNoResults}}\n {{#hasOneResult}}1 result{{/hasOneResult}}\n {{#hasManyResults}}{{#helpers.formatNumber}}{{nbHits}}{{/helpers.formatNumber}} results{{/hasManyResults}}\n {{/areHitsSorted}}\n found in {{processingTimeMS}}ms"},Js={labelText:"{{name}}"},Ys=Ge({name:"toggle-refinement"}),Xs=bt("ToggleRefinement"),Gs={buttonText:function(e){var t=e.status,n=e.errorCode,r=e.isListening;return'\n '.concat(function(e,t,n){return"error"===e&&"not-allowed"===t?'\n \n \n \n ':'\n
    \n \n \n ')}(t,n,r),"\n ")},status:"

    {{transcript}}

    "},Zs=Ge({name:"voice-search"}),eo=bt("VoiceSearch"),to=Object.freeze({__proto__:null,analytics:function(e){var t=e||{},s=t.pushFunction,n=t.delay,r=void 0===n?3e3:n,i=t.triggerOnUIInteraction,a=void 0!==i&&i,o=t.pushInitialSearch,c=void 0===o||o,u=t.pushPagination,l=void 0!==u&&u;if(!s)throw new Error(fi("The `pushFunction` option is required."));function d(e){if(null!==e){var t=[],n=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n].join("+");t.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(n),"_").concat(encodeURIComponent(r)))}return t.join("&")}(W(W(W({},e.state.disjunctiveFacetsRefinements),e.state.facetsRefinements),e.state.hierarchicalFacetsRefinements)),r=function(e){var t=[];for(var n in e)if(e.hasOwnProperty(n)){var r=e[n];if(r.hasOwnProperty(">=")&&r.hasOwnProperty("<="))r[">="]&&r[">="][0]===r["<="]&&r["<="][0]?t.push("".concat(n,"=").concat(n,"_").concat(r[">="])):t.push("".concat(n,"=").concat(n,"_").concat(r[">="],"to").concat(r["<="]));else if(r.hasOwnProperty(">="))t.push("".concat(n,"=").concat(n,"_from").concat(r[">="]));else if(r.hasOwnProperty("<="))t.push("".concat(n,"=").concat(n,"_to").concat(r["<="]));else if(r.hasOwnProperty("=")){var i=[];for(var a in r["="])r["="].hasOwnProperty(a)&&i.push(r["="][a]);t.push("".concat(n,"=").concat(n,"_").concat(i.join("-")))}}return t.join("&")}(e.state.numericRefinements);""!==n&&t.push(n),""!==r&&t.push(r);var i=t.join("&"),a="Query: ".concat(e.state.query||"",", ").concat(i);!0===l&&(a+=", Page: ".concat(e.state.page||0)),m!==a&&(s(i,e.state,e.results),m=a)}}var h,f=null,m="",p=!0;!0===c&&(p=!1);function g(){d(f)}function v(){d(f)}return{$$type:"ais.analytics",$$widgetType:"ais.analytics",init:function(){!0===a&&(document.addEventListener("click",g),window.addEventListener("beforeunload",v))},render:function(e){var t=e.results,n=e.state;!0!==p?(f={results:t,state:n},h&&clearTimeout(h),h=window.setTimeout(function(){return d(f)},r)):p=!1},dispose:function(){!0===a&&(document.removeEventListener("click",g),window.removeEventListener("beforeunload",v))},getRenderState:function(e,t){return W(W({},e),{},{analytics:this.getWidgetRenderState(t)})},getWidgetRenderState:function(){return{widgetParams:e}}}},breadcrumb:function(e){var t=e||{},n=t.container,r=t.attributes,i=t.separator,a=t.rootPath,s=t.transformItems,o=t.templates,c=void 0===o?{}:o,u=t.cssClasses,l=void 0===u?{}:u;if(!n)throw new Error(Fi("The `container` option is required."));var d=le(n),h={root:mi(Ti(),l.root),noRefinementRoot:mi(Ti({modifierName:"noRefinement"}),l.noRefinementRoot),list:mi(Ti({descendantName:"list"}),l.list),item:mi(Ti({descendantName:"item"}),l.item),selectedItem:mi(Ti({descendantName:"item",modifierName:"selected"}),l.selectedItem),separator:mi(Ti({descendantName:"separator"}),l.separator),link:mi(Ti({descendantName:"link"}),l.link)},f=function(e){var o=e.containerNode,c=e.cssClasses,u=e.renderState,l=e.templates;return function(e,t){var n=e.canRefine,r=e.createURL,i=e.instantSearchInstance,a=e.items,s=e.refine;t?u.templateProps=fe({defaultTemplates:Ii,templatesConfig:i.templatesConfig,templates:l}):er(On(gi,{canRefine:n,cssClasses:c,createURL:r,items:a,refine:s,templateProps:u.templateProps}),o)}}({containerNode:d,cssClasses:h,renderState:{},templates:c});return W(W({},Er(f,function(){return er(null,d)})({attributes:r,separator:i,rootPath:a,transformItems:s})),{},{$$widgetType:"ais.breadcrumb"})},clearRefinements:function(e){var t=e||{},n=t.container,r=t.templates,i=void 0===r?{}:r,a=t.includedAttributes,s=t.excludedAttributes,o=t.transformItems,c=t.cssClasses,u=void 0===c?{}:c;if(!n)throw new Error(Ei("The `container` option is required."));var l=le(n),d={root:mi(ki(),u.root),button:mi(ki({descendantName:"button"}),u.button),disabledButton:mi(ki({descendantName:"button",modifierName:"disabled"}),u.disabledButton)},h=function(e){var a=e.containerNode,s=e.cssClasses,o=e.renderState,c=e.templates;return function(e,t){var n=e.refine,r=e.hasRefinements,i=e.instantSearchInstance;t?o.templateProps=fe({defaultTemplates:Ci,templatesConfig:i.templatesConfig,templates:c}):er(On(vi,{refine:n,cssClasses:s,hasRefinements:r,templateProps:o.templateProps}),a)}}({containerNode:l,cssClasses:d,renderState:{},templates:i});return W(W({},dn(h,function(){return er(null,l)})({includedAttributes:a,excludedAttributes:s,transformItems:o})),{},{$$widgetType:"ais.clearRefinements"})},configure:function(e){return W(W({},Yr(_e)({searchParameters:e})),{},{$$widgetType:"ais.configure"})},currentRefinements:function(e){var t=e||{},n=t.container,r=t.includedAttributes,i=t.excludedAttributes,a=t.cssClasses,s=void 0===a?{}:a,o=t.transformItems;if(!n)throw new Error(Li("The `container` option is required."));var c=le(n),u={root:mi(ji(),s.root),list:mi(ji({descendantName:"list"}),s.list),item:mi(ji({descendantName:"item"}),s.item),label:mi(ji({descendantName:"label"}),s.label),category:mi(ji({descendantName:"category"}),s.category),categoryLabel:mi(ji({descendantName:"categoryLabel"}),s.categoryLabel),delete:mi(ji({descendantName:"delete"}),s.delete)};return W(W({},mn(bi,function(){return er(null,c)})({container:c,cssClasses:u,includedAttributes:r,excludedAttributes:i,transformItems:o})),{},{$$widgetType:"ais.currentRefinements"})},EXPERIMENTAL_answers:function(e){var t=e||{},n=t.container,r=t.attributesForPrediction,i=t.queryLanguages,a=t.nbHits,s=t.searchDebounceTime,o=t.renderDebounceTime,c=t.escapeHTML,u=t.extraParameters,l=t.templates,d=void 0===l?{}:l,h=t.cssClasses,f=void 0===h?{}:h;if(!n)throw new Error(Oi("The `container` option is required."));var m=le(n),p={root:mi(Ai(),f.root),emptyRoot:mi(Ai({modifierName:"empty"}),f.emptyRoot),header:mi(Ai({descendantName:"header"}),f.header),loader:mi(Ai({descendantName:"loader"}),f.loader),list:mi(Ai({descendantName:"list"}),f.list),item:mi(Ai({descendantName:"item"}),f.item)},g=function(e){var a=e.renderState,s=e.cssClasses,o=e.containerNode,c=e.templates;return function(e,t){var n=e.hits,r=e.isLoading,i=e.instantSearchInstance;t?a.templateProps=fe({defaultTemplates:Mi,templatesConfig:i.templatesConfig,templates:c}):er(On(Si,{cssClasses:s,hits:n,isLoading:r,templateProps:a.templateProps}),o)}}({containerNode:m,cssClasses:p,templates:d,renderState:{}});return W(W({},oi(g,function(){return er(null,m)})({attributesForPrediction:r,queryLanguages:i,nbHits:a,searchDebounceTime:s,renderDebounceTime:o,escapeHTML:c,extraParameters:u})),{},{$$widgetType:"ais.answers"})},EXPERIMENTAL_configureRelatedItems:function(e){return W(W({},Zr(_e)(e)),{},{$$widgetType:"ais.configureRelatedItems"})},EXPERIMENTAL_dynamicWidgets:function(e){var t=e||{},n=t.container,r=t.transformItems,a=t.widgets;if(!n)throw new Error(Hi("The `container` option is required."));if(!a||!Array.isArray(a)||a.some(function(e){return"function"!=typeof e}))throw new Error(Hi("The `widgets` option expects an array of callbacks."));var i=le(n),s=document.createElement("div");s.className=Wi();var o=new Map,c=[],u=ui(function(e,t){var n=e.attributesToRender;t&&i.appendChild(s),n.forEach(function(e){if(o.has(e)){var t=o.get(e);s.appendChild(t)}})},function(){i.removeChild(s)})({transformItems:r,widgets:c});return W(W({},u),{},{init:function(i){a.forEach(function(e){var t=document.createElement("div");t.className=Wi({descendantName:"widget"}),s.appendChild(t);var n=e(t),r=dt(n,i);o.set(r,t),c.push(n)}),u.init(i)},$$widgetType:"ais.dynamicWidgets"})},geoSearch:function(e){var t=e||{},n=t.initialZoom,r=void 0===n?1:n,i=t.initialPosition,a=void 0===i?{lat:0,lng:0}:i,s=t.templates,o=void 0===s?{}:s,c=t.cssClasses,u=void 0===c?{}:c,l=t.builtInMarker,d=void 0===l?{}:l,h=t.customHTMLMarker,f=t.enableRefine,m=void 0===f||f,p=t.enableClearMapRefinement,g=void 0===p||p,v=t.enableRefineControl,y=void 0===v||v,b=t.container,S=t.googleReference,R=j(t,["initialZoom","initialPosition","templates","cssClasses","builtInMarker","customHTMLMarker","enableRefine","enableClearMapRefinement","enableRefineControl","container","googleReference"]);if(!b)throw new Error(Bi("The `container` option is required."));if(!S)throw new Error(Bi("The `googleReference` option is required."));var w=le(b),P={root:mi(Ui(),u.root),tree:Ui({descendantName:"tree"}),map:mi(Ui({descendantName:"map"}),u.map),control:mi(Ui({descendantName:"control"}),u.control),label:mi(Ui({descendantName:"label"}),u.label),selectedLabel:mi(Ui({descendantName:"label",modifierName:"selected"}),u.selectedLabel),input:mi(Ui({descendantName:"input"}),u.input),redo:mi(Ui({descendantName:"redo"}),u.redo),disabledRedo:mi(Ui({descendantName:"redo",modifierName:"disabled"}),u.disabledRedo),reset:mi(Ui({descendantName:"reset"}),u.reset)},N=W(W({},Di),o),x=W(W({},{createOptions:function(){return{}},events:{}}),d),_=(Boolean(h)||Boolean(o.HTMLMarker))&&W(W({},{createOptions:function(){return{}},events:{}}),h),I=function(d){return function(){L(l,d.maps.OverlayView);var u=O(l);function l(e){var t,n=e.__id,r=e.position,i=e.map,a=e.template,s=e.className,o=e.anchor,c=void 0===o?{x:0,y:0}:o;return C(this,l),k(M(t=u.call(this)),"__id",void 0),k(M(t),"anchor",void 0),k(M(t),"offset",void 0),k(M(t),"listeners",void 0),k(M(t),"latLng",void 0),k(M(t),"element",void 0),t.__id=n,t.anchor=c,t.listeners={},t.latLng=new d.maps.LatLng(r),t.element=document.createElement("div"),t.element.className=s,t.element.style.position="absolute",t.element.innerHTML=a,t.setMap(i),t}return E(l,[{key:"onAdd",value:function(){this.getPanes().overlayMouseTarget.appendChild(this.element);var e=this.element.getBoundingClientRect();this.offset={x:this.anchor.x+e.width/2,y:this.anchor.y+e.height},this.element.style.width="".concat(e.width,"px")}},{key:"draw",value:function(){var e=this.getProjection().fromLatLngToDivPixel(this.latLng);this.element.style.left="".concat(Math.round(e.x-this.offset.x),"px"),this.element.style.top="".concat(Math.round(e.y-this.offset.y),"px"),this.element.style.zIndex=String(parseInt(this.element.style.top,10))}},{key:"onRemove",value:function(){var t=this;this.element&&(this.element.parentNode.removeChild(this.element),Object.keys(this.listeners).forEach(function(e){t.element.removeEventListener(e,t.listeners[e])}),delete this.element,delete this.listeners)}},{key:"addListener",value:function(e,t){this.listeners[e]=t;var n=this.element;return n.addEventListener(e,t),{remove:function(){return n.removeEventListener(e,t)}}}},{key:"getPosition",value:function(){return this.latLng}}]),l}()}(S),F=_?function(e){var t=e.item,n=j(e,["item"]);return new I(W(W(W({},_.createOptions(t)),n),{},{__id:t.objectID,position:t._geoloc,className:mi(Ui({descendantName:"marker"})),template:ye({templateKey:"HTMLMarker",templates:N,data:t})}))}:function(e){var t=e.item,n=j(e,["item"]);return new S.maps.Marker(W(W(W({},x.createOptions(t)),n),{},{__id:t.objectID,position:t._geoloc}))},T=_||x;return W(W({},Qr(_i,function(){return er(null,w)})(W(W({},R),{},{renderState:{},container:w,googleReference:S,initialZoom:r,initialPosition:a,templates:N,cssClasses:P,createMarker:F,markerOptions:T,enableRefine:m,enableClearMapRefinement:g,enableRefineControl:y}))),{},{$$widgetType:"ais.geoSearch"})},hierarchicalMenu:function(e){var t=e||{},n=t.container,r=t.attributes,i=t.separator,a=t.rootPath,s=t.showParentLevel,o=t.limit,c=t.showMore,u=void 0!==c&&c,l=t.showMoreLimit,d=t.sortBy,h=t.transformItems,f=t.templates,m=void 0===f?{}:f,p=t.cssClasses,g=void 0===p?{}:p;if(!n)throw new Error(Yi("The `container` option is required."));var v=le(n),y=function(e){var u=e.cssClasses,l=e.containerNode,d=e.showMore,h=e.templates,f=e.renderState;return function(e,t){var n=e.createURL,r=e.items,i=e.refine,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,c=e.canToggleShowMore;t?f.templateProps=fe({defaultTemplates:Ji,templatesConfig:a.templatesConfig,templates:h}):er(On(Ki,{createURL:n,cssClasses:u,facetValues:r,templateProps:f.templateProps,toggleRefinement:i,showMore:d,toggleShowMore:o,isShowingMore:s,canToggleShowMore:c}),l)}}({cssClasses:{root:mi(Xi(),g.root),noRefinementRoot:mi(Xi({modifierName:"noRefinement"}),g.noRefinementRoot),list:mi(Xi({descendantName:"list"}),g.list),childList:mi(Xi({descendantName:"list",modifierName:"child"}),g.childList),item:mi(Xi({descendantName:"item"}),g.item),selectedItem:mi(Xi({descendantName:"item",modifierName:"selected"}),g.selectedItem),parentItem:mi(Xi({descendantName:"item",modifierName:"parent"}),g.parentItem),link:mi(Xi({descendantName:"link"}),g.link),label:mi(Xi({descendantName:"label"}),g.label),count:mi(Xi({descendantName:"count"}),g.count),showMore:mi(Xi({descendantName:"showMore"}),g.showMore),disabledShowMore:mi(Xi({descendantName:"showMore",modifierName:"disabled"}),g.disabledShowMore)},containerNode:v,templates:m,showMore:u,renderState:{}});return W(W({},Sn(y,function(){return er(null,v)})({attributes:r,separator:i,rootPath:a,showParentLevel:s,limit:o,showMore:u,showMoreLimit:l,sortBy:d,transformItems:h})),{},{$$widgetType:"ais.hierarchicalMenu"})},hits:function(e){var t=e||{},n=t.container,r=t.escapeHTML,i=t.transformItems,a=t.templates,s=void 0===a?{}:a,o=t.cssClasses,c=void 0===o?{}:o;if(!n)throw new Error(Zi("The `container` option is required."));var u=le(n),l={root:mi(ea(),c.root),emptyRoot:mi(ea({modifierName:"empty"}),c.emptyRoot),list:mi(ea({descendantName:"list"}),c.list),item:mi(ea({descendantName:"item"}),c.item)},d=function(e){var o=e.renderState,c=e.cssClasses,u=e.containerNode,l=e.templates;return function(e,t){var n=e.hits,r=e.results,i=e.instantSearchInstance,a=e.insights,s=e.bindEvent;t?o.templateProps=fe({defaultTemplates:Gi,templatesConfig:i.templatesConfig,templates:l}):er(On(ta,{cssClasses:c,hits:n,results:r,templateProps:o.templateProps,insights:a,sendEvent:function(e){i.sendEventToInsights(e)},bindEvent:s}),u)}}({containerNode:u,cssClasses:l,renderState:{},templates:s});return W(W({},xn(Rn)(d,function(){return er(null,u)})({escapeHTML:r,transformItems:i})),{},{$$widgetType:"ais.hits"})},hitsPerPage:function(e){var t=e||{},n=t.container,r=t.items,i=t.cssClasses,a=void 0===i?{}:i,s=t.transformItems;if(!n)throw new Error(ra("The `container` option is required."));var o=le(n),c={root:mi(ia(),a.root),select:mi(ia({descendantName:"select"}),a.select),option:mi(ia({descendantName:"option"}),a.option)},u=function(e){var a=e.containerNode,s=e.cssClasses;return function(e,t){var n=e.items,r=e.refine;if(!t){var i=(be(n,function(e){return e.isRefined})||{}).value;er(On("div",{className:s.root},On(na,{cssClasses:s,currentValue:i,options:n,setValue:r})),a)}}}({containerNode:o,cssClasses:c});return W(W({},rr(u,function(){return er(null,o)})({items:r,transformItems:s})),{},{$$widgetType:"ais.hitsPerPage"})},index:vt,infiniteHits:function(e){var t=e||{},n=t.container,r=t.escapeHTML,i=t.transformItems,a=t.templates,s=void 0===a?{}:a,o=t.cssClasses,c=void 0===o?{}:o,u=t.showPrevious,l=t.cache;if(!n)throw new Error(sa("The `container` option is required."));var d=le(n),h={root:mi(oa(),c.root),emptyRoot:mi(oa({modifierName:"empty"}),c.emptyRoot),item:mi(oa({descendantName:"item"}),c.item),list:mi(oa({descendantName:"list"}),c.list),loadPrevious:mi(oa({descendantName:"loadPrevious"}),c.loadPrevious),disabledLoadPrevious:mi(oa({descendantName:"loadPrevious",modifierName:"disabled"}),c.disabledLoadPrevious),loadMore:mi(oa({descendantName:"loadMore"}),c.loadMore),disabledLoadMore:mi(oa({descendantName:"loadMore",modifierName:"disabled"}),c.disabledLoadMore)},f=function(e){var d=e.cssClasses,h=e.containerNode,f=e.renderState,m=e.templates,p=e.showPrevious;return function(e,t){var n=e.hits,r=e.results,i=e.showMore,a=e.showPrevious,s=e.isFirstPage,o=e.isLastPage,c=e.instantSearchInstance,u=e.insights,l=e.bindEvent;t?f.templateProps=fe({defaultTemplates:aa,templatesConfig:c.templatesConfig,templates:m}):er(On(ca,{cssClasses:d,hits:n,results:r,hasShowPrevious:p,showPrevious:a,showMore:i,templateProps:f.templateProps,isFirstPage:s,isLastPage:o,insights:u,sendEvent:function(e){c.sendEventToInsights(e)},bindEvent:l}),h)}}({containerNode:d,cssClasses:h,templates:s,showPrevious:u,renderState:{}});return W(W({},xn(cr)(f,function(){return er(null,d)})({escapeHTML:r,transformItems:i,showPrevious:u,cache:l})),{},{$$widgetType:"ais.infiniteHits"})},menu:function(e){var t=e||{},n=t.container,r=t.attribute,i=t.sortBy,a=t.limit,s=t.showMore,o=t.showMoreLimit,c=t.cssClasses,u=void 0===c?{}:c,l=t.templates,d=void 0===l?{}:l,h=t.transformItems;if(!n)throw new Error(la("The `container` option is required."));var f=le(n),m={root:mi(da(),u.root),noRefinementRoot:mi(da({modifierName:"noRefinement"}),u.noRefinementRoot),list:mi(da({descendantName:"list"}),u.list),item:mi(da({descendantName:"item"}),u.item),selectedItem:mi(da({descendantName:"item",modifierName:"selected"}),u.selectedItem),link:mi(da({descendantName:"link"}),u.link),label:mi(da({descendantName:"label"}),u.label),count:mi(da({descendantName:"count"}),u.count),showMore:mi(da({descendantName:"showMore"}),u.showMore),disabledShowMore:mi(da({descendantName:"showMore",modifierName:"disabled"}),u.disabledShowMore)},p=function(e){var l=e.containerNode,d=e.cssClasses,h=e.renderState,f=e.templates,m=e.showMore;return function(e,t){var n=e.refine,r=e.items,i=e.createURL,a=e.instantSearchInstance,s=e.isShowingMore,o=e.toggleShowMore,c=e.canToggleShowMore;if(t)h.templateProps=fe({defaultTemplates:ua,templatesConfig:a.templatesConfig,templates:f});else{var u=r.map(function(e){return W(W({},e),{},{url:i(e.value)})});er(On(Ki,{createURL:i,cssClasses:d,facetValues:u,showMore:m,templateProps:h.templateProps,toggleRefinement:n,toggleShowMore:o,isShowingMore:s,canToggleShowMore:c}),l)}}}({containerNode:f,cssClasses:m,renderState:{},templates:d,showMore:s});return W(W({},ur(p,function(){return er(null,f)})({attribute:r,limit:a,showMore:s,showMoreLimit:o,sortBy:i,transformItems:h})),{},{$$widgetType:"ais.menu"})},menuSelect:function(e){var t=e||{},n=t.container,r=t.attribute,i=t.sortBy,a=void 0===i?["name:asc"]:i,s=t.limit,o=void 0===s?10:s,c=t.cssClasses,u=void 0===c?{}:c,l=t.templates,d=void 0===l?{}:l,h=t.transformItems;if(!n)throw new Error(pa("The `container` option is required."));var f=le(n),m={root:mi(ga(),u.root),noRefinementRoot:mi(ga({modifierName:"noRefinement"}),u.noRefinementRoot),select:mi(ga({descendantName:"select"}),u.select),option:mi(ga({descendantName:"option"}),u.option)},p=function(e){var a=e.containerNode,s=e.cssClasses,o=e.renderState,c=e.templates;return function(e,t){var n=e.refine,r=e.items,i=e.instantSearchInstance;t?o.templateProps=fe({defaultTemplates:ma,templatesConfig:i.templatesConfig,templates:c}):er(On(ha,{cssClasses:s,items:r,refine:n,templateProps:o.templateProps}),a)}}({containerNode:f,cssClasses:m,renderState:{},templates:d});return W(W({},ur(p,function(){return er(null,f)})({attribute:r,limit:o,sortBy:a,transformItems:h})),{},{$$widgetType:"ais.menuSelect"})},numericMenu:function(e){var t=e||{},n=t.container,r=t.attribute,i=t.items,a=t.cssClasses,s=void 0===a?{}:a,o=t.templates,c=void 0===o?{}:o,u=t.transformItems;if(!n)throw new Error(ya("The `container` option is required."));var l=le(n),d={root:mi(ba(),s.root),noRefinementRoot:mi(ba({modifierName:"noRefinement"}),s.noRefinementRoot),list:mi(ba({descendantName:"list"}),s.list),item:mi(ba({descendantName:"item"}),s.item),selectedItem:mi(ba({descendantName:"item",modifierName:"selected"}),s.selectedItem),label:mi(ba({descendantName:"label"}),s.label),radio:mi(ba({descendantName:"radio"}),s.radio),labelText:mi(ba({descendantName:"labelText"}),s.labelText)},h=function(e){var s=e.containerNode,o=e.attribute,c=e.cssClasses,u=e.renderState,l=e.templates;return function(e,t){var n=e.createURL,r=e.instantSearchInstance,i=e.refine,a=e.items;t?u.templateProps=fe({defaultTemplates:va,templatesConfig:r.templatesConfig,templates:l}):er(On(Ki,{createURL:n,cssClasses:c,facetValues:a,templateProps:u.templateProps,toggleRefinement:i,attribute:o}),s)}}({containerNode:l,attribute:r,cssClasses:d,renderState:{},templates:c});return W(W({},lr(h,function(){return er(null,l)})({attribute:r,items:i,transformItems:u})),{},{$$widgetType:"ais.numericMenu"})},pagination:function(e){var t=e||{},n=t.container,r=t.templates,i=void 0===r?{}:r,a=t.cssClasses,s=void 0===a?{}:a,o=t.totalPages,c=t.padding,u=t.showFirst,l=void 0===u||u,d=t.showLast,h=void 0===d||d,f=t.showPrevious,m=void 0===f||f,p=t.showNext,g=void 0===p||p,v=t.scrollTo,y=void 0===v?"body":v;if(!n)throw new Error(Na("The `container` option is required."));var b=le(n),S=!0===y?"body":y,R=!1!==S&&le(S),w={root:mi(Pa(),s.root),noRefinementRoot:mi(Pa({modifierName:"noRefinement"}),s.noRefinementRoot),list:mi(Pa({descendantName:"list"}),s.list),item:mi(Pa({descendantName:"item"}),s.item),firstPageItem:mi(Pa({descendantName:"item",modifierName:"firstPage"}),s.firstPageItem),lastPageItem:mi(Pa({descendantName:"item",modifierName:"lastPage"}),s.lastPageItem),previousPageItem:mi(Pa({descendantName:"item",modifierName:"previousPage"}),s.previousPageItem),nextPageItem:mi(Pa({descendantName:"item",modifierName:"nextPage"}),s.nextPageItem),pageItem:mi(Pa({descendantName:"item",modifierName:"page"}),s.pageItem),selectedItem:mi(Pa({descendantName:"item",modifierName:"selected"}),s.selectedItem),disabledItem:mi(Pa({descendantName:"item",modifierName:"disabled"}),s.disabledItem),link:mi(Pa({descendantName:"link"}),s.link)},P=W(W({},xa),i),N=function(e){var u=e.containerNode,l=e.cssClasses,d=e.templates,h=e.showFirst,f=e.showLast,m=e.showPrevious,p=e.showNext,g=e.scrollToNode;return function(e,t){var n=e.createURL,r=e.currentRefinement,i=e.nbPages,a=e.pages,s=e.isFirstPage,o=e.isLastPage,c=e.refine;if(!t){er(On(Sa,{createURL:n,cssClasses:l,currentPage:r,templates:d,nbPages:i,pages:a,isFirstPage:s,isLastPage:o,setCurrentPage:function(e){c(e),!1!==g&&g.scrollIntoView()},showFirst:h,showLast:f,showPrevious:m,showNext:p}),u)}}}({containerNode:b,cssClasses:w,templates:P,showFirst:l,showLast:h,showPrevious:m,showNext:g,scrollToNode:R});return W(W({},yr(N,function(){return er(null,b)})({totalPages:o,padding:c})),{},{$$widgetType:"ais.pagination"})},panel:function(e){var t=e||{},n=t.templates,r=void 0===n?{}:n,i=t.hidden,c=void 0===i?function(){return!1}:i,a=t.collapsed,s=t.cssClasses,o=void 0===s?{}:s,u=document.createElement("div"),l=Boolean(a),d="function"==typeof a?a:function(){return!1},h={root:mi($a(),o.root),noRefinementRoot:mi($a({modifierName:"noRefinement"}),o.noRefinementRoot),collapsibleRoot:mi($a({modifierName:"collapsible"}),o.collapsibleRoot),collapsedRoot:mi($a({modifierName:"collapsed"}),o.collapsedRoot),collapseButton:mi($a({descendantName:"collapseButton"}),o.collapseButton),collapseIcon:mi($a({descendantName:"collapseIcon"}),o.collapseIcon),body:mi($a({descendantName:"body"}),o.body),header:mi($a({descendantName:"header"}),o.header),footer:mi($a({descendantName:"footer"}),o.footer)};return function(t){return function(e){if(!e||!e.container)throw new Error(Qa("The `container` option is required in the widget within the panel."));var i=le(e.container),s=function(e){var a=e.containerNode,s=e.bodyContainerNode,o=e.cssClasses,c=e.templates;return function(e){var t=e.options,n=e.hidden,r=e.collapsible,i=e.collapsed;er(On(Ba,{cssClasses:o,hidden:n,collapsible:r,isCollapsed:i,templates:c,data:t,bodyElement:s}),a)}}({containerNode:i,bodyContainerNode:u,cssClasses:h,templates:W(W({},{header:"",footer:"",collapseButtonText:function(e){var t=e.collapsed;return'\n \n ')}}),r)});s({options:{},hidden:!0,collapsible:l,collapsed:!1});var o=t(W(W({},e),{},{container:u}));return W(W({},o),{},{dispose:function(){if(er(null,i),"function"==typeof o.dispose){for(var e,t=arguments.length,n=new Array(t),r=0;r