/*! For license information please see 94376.js.LICENSE.txt */ "use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[94376,55698],{124:(e,t,r)=>{r.d(t,{B:()=>c});var n=r(46726),o=r(67294),i=function(){var e=new WeakSet;return function(t,r){if("object"===(0,n.Z)(r)&&null!==r){if(e.has(r))return;e.add(r)}return r}},a=function(e,t){return JSON.stringify(e,i())===JSON.stringify(t,i())};function c(e){return(0,o.memo)(e,a)}},85664:(e,t,r)=>{r.d(t,{C:()=>c});var n,o,i=r(82856),a=r(71893),c=a.ZP.span(n||(n=(0,i.Z)(["\n display: inline-block;\n border: 1px solid transparent;\n border-radius: 4px;\n padding: ","\n "," 2px;\n font-size: ",";\n line-height: ",";\n color: ",";\n background: ",";\n margin: ",";\n font-weight: ",";\n\n ","\n"])),(function(e){return e.theme.spacing.spacing005}),(function(e){return e.theme.spacing.spacing01}),(function(e){return e.theme.typography.header.h6.size}),(function(e){return e.theme.typography.header.h6.lineHeight}),(function(e){var t=e.theme;return e.textColor||t.colors.white}),(function(e){var t=e.theme;return e.bgColor||t.colors.secondary.main}),(function(e){return e.isolated?"0":"0 ".concat(e.theme.spacing.spacing01)}),(function(e){return e.bold?700:400}),(function(e){var t=e.theme,r=e.bgColor;return e.outline&&(0,a.iv)(o||(o=(0,i.Z)(["\n background: ",";\n border: 1px solid ",";\n "])),t.colors.white,r||t.colors.secondary.main)}))},24265:(e,t,r)=>{r.d(t,{a:()=>S});var n,o,i,a,c,u=r(96891),s=r(39780),l=r(67294),f=r(82856),p=r(71893),d=(0,p.F4)(n||(n=(0,f.Z)(["\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n"]))),h=(0,p.F4)(o||(o=(0,f.Z)(["\n 0% {\n stroke-dasharray: 1,200;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 89,200;\n stroke-dashoffset: -35;\n }\n 100% {\n stroke-dasharray: 89,200;\n stroke-dashoffset: -124;\n }\n"]))),y=p.ZP.svg(i||(i=(0,f.Z)(["\n -webkit-animation: "," 2s linear infinite;\n animation: "," 2s linear infinite;\n height: 100%;\n -webkit-transform-origin: center center;\n -ms-transform-origin: center center;\n transform-origin: center center;\n width: 100%;\n position: absolute;\n margin: auto;\n"])),d,d),g=p.ZP.circle(a||(a=(0,f.Z)(["\n stroke-dasharray: 92, 38;\n -webkit-animation: "," 1.5s ease-in-out infinite,\n color 6s ease-in-out infinite;\n animation: "," 1.5s ease-in-out infinite;\n stroke-linecap: round;\n fill: none;\n stroke: ",";\n stroke-width: 2px;\n"])),h,h,(function(e){return e.theme.colors.brand.main})),m=p.ZP.div(c||(c=(0,f.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100px;\n left: 50%;\n position: fixed;\n top: 50%;\n transform: translate3d(-50%, -50%, 0);\n width: 100px;\n z-index: ",";\n"])),(function(e){return e.theme.layout.zIndex.spinner})),b=["extra"];function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var S=function(e){var t=e.extra,r=(0,s.Z)(e,b);return l.createElement(m,function(e){for(var t=1;t{r.d(t,{Z:()=>d});var n,o,i=r(96891),a=r(39780),c=r(67294),u=r(82856),s=r(71893),l=s.ZP.span(n||(n=(0,u.Z)(["\n ","}\n"])),(function(e){var t=e.theme,r=e.typo;return(0,s.iv)(o||(o=(0,u.Z)(["\n font-size: ",";\n line-height: ",";\n font-weight: ",";\n letter-spacing: ",";\n "])),t.typography[r].size,t.typography[r].lineHeight,t.typography[r].weight,t.typography[r].letter)})),f=["children","typo"];function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var d=function(e){var t=e.children,r=e.typo,n=(0,a.Z)(e,f);return c.createElement(l,function(e){for(var t=1;t{r.d(t,{i:()=>j});var n,o,i,a,c,u,s=r(96891),l=r(90542),f=r(39780),p=r(67294),d=r(63742),h=r(82856),y=r(71893),g=y.ZP.div(n||(n=(0,h.Z)(["\n position: relative;\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n flex-wrap: nowrap;\n"]))),m=y.ZP.span(o||(o=(0,h.Z)(["\n line-height: ",";\n font-weight: ",";\n letter-spacing: ",";\n font-size: ",";\n color: ",";\n"])),(function(e){return e.theme.typography.captionRegular.lineHeight}),(function(e){return e.theme.typography.captionRegular.weight}),(function(e){return e.theme.typography.captionRegular.letter}),(function(e){var t=e.$size,r=e.theme.typography;return t?"".concat(t/16,"rem"):r.captionRegular.size}),(function(e){return e.theme.colors.black})),b=y.ZP.div(i||(i=(0,h.Z)(["\n margin: ",";\n display: flex;\n ","\n"])),(function(e){var t=e.theme.spacing;return"-".concat(t.spacing005," 0.313rem 0 ").concat(t.spacing0025)}),(function(e){var t=e.size;return t&&"& > svg {\n height: ".concat(t/16,"rem;\n width: ").concat(t/16,"rem;\n}")})),v=(0,y.iv)(a||(a=(0,h.Z)(["\n background-repeat: repeat-x;\n background-image: url(\"data:image/svg+xml,%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 24 48.1' enable-background='new 0 0 24 48.1' xml:space='preserve'%3E%3Cpath \n fill='","' d='M21.9,32.6C21.8,32.2,21.4,32,21,32h-5.4l-2.7-5.4c-0.3-0.7-1.4-0.7-1.8,0L8.4,32H3c-0.4,0-0.8,0.2-0.9,0.6C1.9,33,2,33.4,2.3,33.7l4.6,4.6L5,44.7c-0.1,0.4,0,0.8,0.4,1.1c0.3,0.2,0.8,0.3,1.1,0l5.4-3.6l5.4,3.6c0.2,0.1,0.4,0.2,0.6,0.2s0.4-0.1,0.6-0.2c0.3-0.2,0.5-0.7,0.4-1.1l-1.8-6.4l4.6-4.6C22,33.4,22.1,33,21.9,32.6z'/%3E%3Cpath fill='%23CCCCCC' d='M21.9,8.6C21.8,8.2,21.4,8,21,8h-5.4l-2.7-5.4c-0.3-0.7-1.4-0.7-1.8,0L8.4,8H3C2.6,8,2.2,8.2,2.1,8.6C1.9,9,2,9.4,2.3,9.7l4.6,4.6L5,20.7c-0.1,0.4,0,0.8,0.4,1.1c0.3,0.2,0.8,0.3,1.1,0l5.4-3.6l5.4,3.6c0.2,0.1,0.4,0.2,0.6,0.2s0.4-0.1,0.6-0.2c0.3-0.2,0.5-0.7,0.4-1.1l-1.8-6.4l4.6-4.6C22,9.4,22.1,9,21.9,8.6z'/%3E%3C/svg%3E\");\n background-size: ","\n auto;\n"])),(function(e){var t=e.fill;return(null===t||void 0===t?void 0:t.replace("#","%23"))||"%23333333"}),(function(e){var t=e.size,r=e.theme.spacing;return t?"".concat(t/16,"rem"):r.spacing02})),S=y.ZP.div(c||(c=(0,h.Z)(["\n width: ","%;\n height: 100%;\n background-position: 0 100%;\n ","\n"])),(function(e){return e.percent}),v),O=y.ZP.div(u||(u=(0,h.Z)(["\n width: 100%;\n max-width: ",";\n height: ",";\n overflow: hidden;\n margin-right: 0.625rem;\n margin-top: ",";\n ","\n"])),(function(e){var t=e.theme.spacing,r=e.size;return r?"".concat(5*r/16,"rem"):t.spacing10}),(function(e){var t=e.theme.spacing,r=e.size;return r?"".concat(r/16,"rem"):t.spacing02}),(function(e){var t=e.theme.spacing;return"-".concat(t.spacing0025)}),v),x=["rating","opinionText","type","valuable","marginValue","handleValue","fill","size","divideInMarginValueParts"];function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function P(e){for(var t=1;t{r.d(t,{Z:()=>a});var n=r(71773),o=r(95009),i=r(60647);const a=(0,n.Z)({displayName:"AlgoliaHits",$$type:"ais.hits",getProvidedProps:function(e,t,r){var n=(0,o.O7)(r,{ais:e.contextValue,multiIndexContext:e.indexContextValue});if(!n)return{hits:[]};var a=(0,i.RC)(n.hits,n.hitsPerPage,n.page);return{hits:(0,i.Io)(a,n.queryID)}},getSearchParameters:function(e){return e}})},74575:(e,t,r)=>{r.d(t,{Z:()=>f});var n=r(45697),o=r.n(n),i=r(71773),a=r(95009);function c(e){return c="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},c(e)}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e,t,r){var n=(0,a.U6)(e,t,r,"query","");return n||""}function l(e,t,r,n){var o=u({},"query",r);return(0,a.RD)(t,o,n,!0)}const f=(0,i.Z)({displayName:"AlgoliaSearchBox",$$type:"ais.searchBox",propTypes:{defaultRefinement:o().string},getProvidedProps:function(e,t,r){return{currentRefinement:s(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue}),isSearchStalled:r.isSearchStalled}},refine:function(e,t,r){return l(0,t,r,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){return function(e,t,r){return(0,a.cI)(t,r,"query")}(0,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},getSearchParameters:function(e,t,r){return e.setQuery(s(t,r,{ais:t.contextValue,multiIndexContext:t.indexContextValue}))},getMetadata:function(e,t){var r="query",n=s(e,t,{ais:e.contextValue,multiIndexContext:e.indexContextValue});return{id:r,index:(0,a.WN)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),items:null===n?[]:[{label:"".concat(r,": ").concat(n),value:function(t){return l(0,t,"",{ais:e.contextValue,multiIndexContext:e.indexContextValue})},currentRefinement:n}]}}})},33866:(e,t,r)=>{r.d(t,{BT:()=>i,tJ:()=>a,wX:()=>u});var n=r(67294),o=(0,n.createContext)({onInternalStateUpdate:function(){},createHrefForState:function(){return"#"},onSearchForFacetValues:function(){},onSearchStateChange:function(){},onSearchParameters:function(){},store:{},widgetsManager:{},mainTargetedIndex:""}),i=o.Consumer,a=o.Provider,c=(0,n.createContext)(void 0),u=c.Consumer;c.Provider},71773:(e,t,r)=>{r.d(t,{Z:()=>j});var n=r(67294),o=r(69590),i=r.n(o),a=r(60647),c=r(33866),u=["contextValue"];function s(e){return s="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},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},c=function(o){m(s,o);var c=v(s);function s(t){var r;return h(this,s),w(O(r=c.call(this,t)),"unsubscribe",void 0),w(O(r),"unregisterWidget",void 0),w(O(r),"cleanupTimerRef",null),w(O(r),"isUnmounting",!1),w(O(r),"state",{providedProps:r.getProvidedProps(r.props)}),w(O(r),"refine",(function(){for(var t,n=arguments.length,o=new Array(n),i=0;i{r.d(t,{Ei:()=>l,O7:()=>s,RD:()=>f,U6:()=>d,WN:()=>u,cI:()=>h});var n=r(60647);function o(e){return o="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},o(e)}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t{function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;ty,Gf:()=>s,Io:()=>h,PQ:()=>f,RC:()=>d,YC:()=>p,wU:()=>u});var c=Object.prototype.hasOwnProperty,u=function(e,t){if(e===t)return!0;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(var o=0;o0?e(o):delete t[r])})),t};function d(e,t,r){return e.map((function(e,n){return o(o({},e),{},{__position:t*r+n+1})}))}function h(e,t){return t?e.map((function(e){return o(o({},e),{},{__queryID:t})})):e}function y(e,t){if(null===e||void 0===e)return{};for(var r={},n=Object.keys(e),o=0;o=0||(r[i]=e[i])}return r}},2002:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(60647),o=r(71773),i=r(95009);function a(e){return a="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},a(e)}var c=["children","contextValue","indexContextValue"],u=["children","contextValue","indexContextValue"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const d=(0,o.Z)({displayName:"AlgoliaConfigure",$$type:"ais.configure",getProvidedProps:function(){return{}},getSearchParameters:function(e,t){t.children,t.contextValue,t.indexContextValue;var r=p(t,c);return e.setQueryParameters(r)},transitionState:function(e,t,r){var o="configure",a=(e.children,e.contextValue,e.indexContextValue,p(e,u)),c=Object.keys(e),s=this._props?Object.keys(this._props).filter((function(e){return-1===c.indexOf(e)})):[];this._props=e;var d=f({},o,l(l({},(0,n.CE)(r[o],s)),a));return(0,i.RD)(r,d,{ais:e.contextValue,multiIndexContext:e.indexContextValue})},cleanUp:function(e,t){var r="configure",n=(0,i.WN)({ais:e.contextValue,multiIndexContext:e.indexContextValue}),o=(0,i.Ei)({ais:e.contextValue,multiIndexContext:e.indexContextValue})&&t.indices?t.indices[n]:t,a=(o&&o[r]?Object.keys(o[r]):[]).reduce((function(t,n){return e[n]||(t[n]=o[r][n]),t}),{}),c=f({},r,a);return(0,i.RD)(t,c,{ais:e.contextValue,multiIndexContext:e.indexContextValue})}})((function(){return null}),{$$widgetType:"ais.configure"})},80516:(e,t,r)=>{r.d(t,{Z:()=>H});var n=r(67294),o=r(69590),i=r.n(o),a=r(45697),c=r.n(a),u=r(8131),s=r.n(u),l=r(60647);var f={highlightPreTag:"",highlightPostTag:""};var p=r(95009);var d=["resultsFacetValues"],h=["resultsFacetValues"],y=["resultsFacetValues"];function g(e){return g="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},g(e)}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t1?t-1:0),n=1;n1?n-1:0),i=1;i0,error:null}))}}function N(e){var t=e.error,r=I.getState(),n=r.isSearchStalled;c.hasPendingRequests()||(clearTimeout(g),n=!1);r.resultsFacetValues;var o=m(r,h);I.setState(v(v({},o),{},{isSearchStalled:n,error:t,searching:!1}))}return{store:I,widgetsManager:E,getWidgetsIds:function(){return I.getState().metadata.reduce((function(e,t){return"undefined"!==typeof t.id?e.concat(t.id):e}),[])},getSearchParameters:_,onSearchForFacetValues:function(e){var t=e.facetName,r=e.query,n=e.maxFacetHits,o=void 0===n?10:n,i=Math.max(1,Math.min(o,100));I.setState(v(v({},I.getState()),{},{searchingForFacetValues:!0})),c.searchForFacetValues(t,r,i).then((function(e){var n;I.setState(v(v({},I.getState()),{},{error:null,searchingForFacetValues:!1,resultsFacetValues:v(v({},I.getState().resultsFacetValues),{},(n={},S(n,t,e.facetHits),S(n,"query",r),n))}))}),(function(e){I.setState(v(v({},I.getState()),{},{searchingForFacetValues:!1,error:e}))})).catch((function(e){setTimeout((function(){throw e}))}))},onExternalStateUpdate:function(e){var t=R(e);I.setState(v(v({},I.getState()),{},{widgets:e,metadata:t,searching:!0})),D()},transitionState:function(e){var t=I.getState().widgets;return E.getWidgets().filter((function(e){return Boolean(e.transitionState)})).reduce((function(e,r){return r.transitionState(t,e)}),e)},updateClient:function(e){O(e),c.setClient(e),D()},updateIndex:function(e){b=b.setIndex(e)},clearCache:function(){c.clearCache(),D()},skipSearch:function(){p=!0}}}function k(e){return e?e.metadata.map((function(e){return v(v({value:function(){return{}}},e),{},{items:e.items&&e.items.map((function(e){return v(v({value:function(){return{}}},e),{},{items:e.items&&e.items.map((function(e){return v({value:function(){return{}}},e)}))})}))})})):[]}var I=r(33866);function R(e){return R="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},R(e)}function _(e,t){var r=document.createElement("meta"),n=document.querySelector("head");r.name="algolia:metadata";var o=function(e,t){var r=["contextValue","indexContextValue"],n=e.map((function(e){var t=e.props,n=e.constructor,o=n._connectorDesc||{},i=o.defaultProps,a=void 0===i?{}:i,c=o.displayName;return{displayName:void 0===c?n.displayName:c,$$type:n.$$type,$$widgetType:n.$$widgetType,params:Object.keys(t).filter((function(e){return!r.includes(e)&&a[e]!==t[e]&&void 0!==t[e]}))}})),o=t;return{ua:o.transporter&&o.transporter.userAgent?o.transporter.userAgent.value:o._ua,widgets:n}}(e,t);r.content=JSON.stringify(o),n.appendChild(r)}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},D(e)}function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function N(e){for(var t=1;t from being controlled to uncontrolled");if(!t&&this.state.isControlled)throw new Error("You can't switch from being uncontrolled to controlled");this.props.refresh!==e.refresh&&this.props.refresh&&this.state.instantSearchManager.clearCache(),e.indexName!==this.props.indexName&&this.state.instantSearchManager.updateIndex(this.props.indexName),e.searchClient!==this.props.searchClient&&this.state.instantSearchManager.updateClient(this.props.searchClient)}},{key:"componentDidMount",value:function(){this.cleanupTimerRef&&(clearTimeout(this.cleanupTimerRef),this.cleanupTimerRef=null),"object"===("undefined"===typeof window?"undefined":R(window))&&"object"===R(window.navigator)&&"string"===typeof window.navigator.userAgent&&window.navigator.userAgent.includes("Algolia Crawler")&&"object"===R(window.document)&&_(this.state.instantSearchManager.widgetsManager.getWidgets(),this.props.searchClient)}},{key:"componentWillUnmount",value:function(){var e=this;this.cleanupTimerRef=setTimeout((function(){e.isUnmounting=!0,e.state.instantSearchManager.skipSearch()}))}},{key:"createHrefForState",value:function(e){return e=this.state.instantSearchManager.transitionState(e),this.state.isControlled&&this.props.createURL?this.props.createURL(e,this.getKnownKeys()):"#"}},{key:"onWidgetsInternalStateUpdate",value:function(e){e=this.state.instantSearchManager.transitionState(e),this.onSearchStateChange(e),this.state.isControlled||this.state.instantSearchManager.onExternalStateUpdate(e)}},{key:"onSearchStateChange",value:function(e){this.props.onSearchStateChange&&!this.isUnmounting&&this.props.onSearchStateChange(e)}},{key:"onSearchParameters",value:function(e,t,r,n,o){if(this.props.onSearchParameters){var i=this.props.searchState?this.props.searchState:{};this.props.onSearchParameters(e,t,r,i)}if(this.props.widgetsCollector){var a=this.props.searchState?this.props.searchState:{};this.props.widgetsCollector({getSearchParameters:e,getMetadata:n,context:t,props:r,searchState:a,displayName:o})}}},{key:"onSearchForFacetValues",value:function(e){this.state.instantSearchManager.onSearchForFacetValues(e)}},{key:"getKnownKeys",value:function(){return this.state.instantSearchManager.getWidgetsIds()}},{key:"render",value:function(){return 0===n.Children.count(this.props.children)?null:n.createElement(I.tJ,{value:this.state.contextValue},this.props.children)}}])&&T(t.prototype,r),o&&T(t,o),Object.defineProperty(t,"prototype",{writable:!1}),c}(n.Component);z(L,"defaultProps",{stalledSearchDelay:200,refresh:!1}),z(L,"propTypes",{indexName:c().string.isRequired,searchClient:c().shape({search:c().func.isRequired,searchForFacetValues:c().func,addAlgoliaAgent:c().func,clearCache:c().func}).isRequired,createURL:c().func,refresh:c().bool,searchState:c().object,onSearchStateChange:c().func,onSearchParameters:c().func,widgetsCollector:c().func,resultsState:c().oneOfType([c().object,c().array]),children:c().node,stalledSearchDelay:c().number});const H=L},75251:(e,t,r)=>{r(27418);var n=r(67294),o=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,c=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var n,i={},s=null,l=null;for(n in void 0!==r&&(s=""+r),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(l=t.ref),t)c.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:s,ref:l,props:i,_owner:a.current}}t.jsx=s,t.jsxs=s},85893:(e,t,r)=>{e.exports=r(75251)}}]); //# sourceMappingURL=94376.js.map