1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[678],{19:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});let n=r(14232).createContext({register:()=>{}});n.displayName="PressResponderContext"},226:(e,t,r)=>{"use strict";r.d(t,{U7:()=>a,jZ:()=>o,m_:()=>s});var n=r(14232);"u">typeof HTMLTemplateElement&&(Object.defineProperty(HTMLTemplateElement.prototype,"firstChild",{configurable:!0,enumerable:!0,get:function(){return this.content.firstChild}}),Object.defineProperty(HTMLTemplateElement.prototype,"appendChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.appendChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"removeChild",{configurable:!0,enumerable:!0,value:function(e){return this.content.removeChild(e)}}),Object.defineProperty(HTMLTemplateElement.prototype,"insertBefore",{configurable:!0,enumerable:!0,value:function(e,t){return this.content.insertBefore(e,t)}}));let i=(0,n.createContext)(!1);function o(e){if((0,n.useContext)(i))return n.createElement(n.Fragment,null,e.children);let t=n.createElement(i.Provider,{value:!0},e.children);return n.createElement("template",null,t)}function a(e){let t=(t,r)=>(0,n.useContext)(i)?null:e(t,r);return t.displayName=e.displayName||e.name,(0,n.forwardRef)(t)}function s(){return(0,n.useContext)(i)}},249:e=>{"use strict";e.exports=function e(t){if("number"==typeof t)return t;if("string"==typeof t)return parseFloat(t);if(Array.isArray(t))return t.map(e);throw Error("The value should be a number, a parsable string or an array of those.")}},255:(e,t,r)=>{"use strict";r.d(t,{a:()=>o,o:()=>a});var n=r(29786),i=r(14232);let o=new WeakMap;function a(e){let{triggerRef:t,isOpen:r,onClose:a}=e;(0,i.useEffect)(()=>{if(!r||null===a)return;let e=e=>{let r=(0,n.wt)(e);if(!t.current||r instanceof Node&&!(0,n.sD)(r,t.current)||r instanceof HTMLInputElement||r instanceof HTMLTextAreaElement)return;let i=a||o.get(t.current);i&&i()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}},[r,a,t])}},420:(e,t)=>{"use strict";t._=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},963:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return f},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return d},permanentRedirect:function(){return c},redirect:function(){return u}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(57258),a=r(29212),s;function l(e,t,r=o.RedirectStatusCode.TemporaryRedirect){let n=Object.defineProperty(Error(a.REDIRECT_ERROR_CODE),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n.digest=`${a.REDIRECT_ERROR_CODE};${t};${e};${r};`,n}function u(e,t){throw l(e,t??=s?.getStore()?.isAction?"push":"replace",o.RedirectStatusCode.TemporaryRedirect)}function c(e,t="replace"){throw l(e,t,o.RedirectStatusCode.PermanentRedirect)}function d(e){return(0,a.isRedirectError)(e)?e.digest.split(";").slice(2,-2).join(";"):null}function h(e){if(!(0,a.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return e.digest.split(";",2)[1]}function f(e){if(!(0,a.isRedirectError)(e))throw Object.defineProperty(Error("Not a redirect error"),"__NEXT_ERROR_CODE",{value:"E260",enumerable:!1,configurable:!0});return Number(e.digest.split(";").at(-2))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1010:e=>{"use strict";e.exports=function(e,t){e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}},1185:(e,t)=>{"use strict";function r(e,t){let r=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e,t.qualities[0]):r}
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestQuality",{enumerable:!0,get:function(){return r}})},1643:e=>{"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r},i=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r},o=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r};e.exports=function(e){var a,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),u=r(0,s.length-l.length),c=[],d=0;d<u;d++)c[d]="$"+d;if(a=Function("binder","return function ("+o(c,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,n(l,arguments));return Object(t)===t?t:this}return s.apply(e,n(l,arguments))}),s.prototype){var h=function(){};h.prototype=s.prototype,a.prototype=new h,h.prototype=null}return a}},2002:e=>{"use strict";e.exports=Math.abs},2091:(e,t,r)=>{"use strict";r.d(t,{w:()=>a});var n=r(7436),i=r(14232),o=r(10362);function a(e){var t=(0,n._)((0,i.useState)(function(){return e}),2),r=t[0],a=t[1];return(0,o.j)(r,e)||a(e),r}},2230:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t.map(function(e){var t;return"https://www.algolia.com/doc/api-reference/widgets/"+e.name+"/js/"+(void 0!==(t=e.connector)&&t?"#connector":"")}).join(", ");return function(e){return[e,"See documentation: ".concat(n)].filter(Boolean).join("\n\n")}}r.d(t,{V:()=>n})},2496:e=>{"use strict";e.exports=Math.floor},2572:(e,t,r)=>{"use strict";r.d(t,{CC:()=>d,JT:()=>h,Kq:()=>u,P_:()=>l,SK:()=>p,Sl:()=>c,_E:()=>f,tT:()=>y});var n=r(71489),i=r(79494),o=r(68092),a=r(3696),s=r(14232);let l=Symbol("default");function u({values:e,children:t}){for(let[r,n]of e)t=s.createElement(r.Provider,{value:n},t);return t}function c(e){let{className:t,style:r,children:n,defaultClassName:i,defaultChildren:o,defaultStyle:a,values:l,render:u}=e;return(0,s.useMemo)(()=>{let e,s,c;return e="function"==typeof t?t({...l,defaultClassName:i}):t,s="function"==typeof r?r({...l,defaultStyle:a||{}}):r,c="function"==typeof n?n({...l,defaultChildren:o}):null==n?o:n,{className:null!=e?e:i,style:s||a?{...a,...s}:void 0,children:null!=c?c:o,"data-rac":"",render:u?e=>u(e,l):void 0}},[t,r,n,i,o,a,l,u])}function d(e,t){let r=(0,s.useContext)(e);if(null===t)return null;if(r&&"object"==typeof r&&"slots"in r&&r.slots){let e=t||l;if(!r.slots[e]){let e=new Intl.ListFormat().format(Object.keys(r.slots).map(e=>`"${e}"`)),n=t?`Invalid slot "${t}".`:"A slot prop is required.";throw Error(`${n} Valid slot names are ${e}.`)}return r.slots[e]}return r}function h(e,t,r){let{ref:a,...l}=d(r,e.slot)||{},u=(0,n.U)((0,s.useMemo)(()=>(0,i.P)(t,a),[t,a])),c=(0,o.v)(l,e);return"style"in l&&l.style&&"style"in e&&e.style&&("function"==typeof l.style||"function"==typeof e.style?c.style=t=>{let r="function"==typeof l.style?l.style(t):l.style,n={...t.defaultStyle,...r},i="function"==typeof e.style?e.style({...t,defaultStyle:n}):e.style;return{...n,...i}}:c.style={...l.style,...e.style}),[c,u]}function f(e=!0){let[t,r]=(0,s.useState)(e),n=(0,s.useRef)(!1),i=(0,s.useCallback)(e=>{n.current=!0,r(!!e)},[]);return(0,a.N)(()=>{n.current||r(!1)},[]),[i,t]}function p(e){let t=/^(data-.*)$/,r={};for(let n in e)t.test(n)||(r[n]=e[n]);return r}function m(e,t,r){let{render:n,...o}=t,l=(0,s.useRef)(null),u=(0,s.useMemo)(()=>(0,i.P)(r,l),[r,l]);(0,a.N)(()=>{},[e,n]);let c={...o,ref:u};return n?n(c,void 0):s.createElement(e,c)}let g={},y=new Proxy({},{get(e,t){if("string"!=typeof t)return;let r=g[t];return r||(r=(0,s.forwardRef)(m.bind(null,t)),g[t]=r),r}})},3097:(e,t,r)=>{"use strict";r.d(t,{Y:()=>i});var n=r(14232);function i(e){return parseInt(n.version.split(".")[0],10)>=19?e:e?"true":void 0}},3324:(e,t,r)=>{"use strict";r.d(t,{b:()=>i});var n=r(95800);function i(e,t){let{id:r,"aria-label":i,"aria-labelledby":o}=e;return r=(0,n.Bi)(r),o&&i?o=[...new Set([r,...o.trim().split(/\s+/)])].join(" "):o&&(o=o.trim().split(/\s+/).join(" ")),i||o||!t||(i=t),{id:r,"aria-label":i,"aria-labelledby":o}}},3696:(e,t,r)=>{"use strict";r.d(t,{N:()=>i});var n=r(14232);let i="u">typeof document?n.useLayoutEffect:()=>{}},4005:(e,t,r)=>{"use strict";var n=r(87535),i=r(19958),o=r(85125),a=r(76957),s=r(68643),l=r(60885),u=r(98097),c=r(27823),d=o.escapeFacetValue,h=o.unescapeFacetValue,f=r(35329);function p(e){var t={};return e.forEach(function(e,r){t[e]=r}),t}function m(e,t,r){t&&t[r]&&(e.stats=t[r])}function g(e,t,r){var o=t[0]||{};this._rawResults=t;var l=this;
1Object.keys(o).forEach(function(e){l[e]=o[e]});var c=i(r,{persistHierarchicalRootCount:!1});Object.keys(c).forEach(function(e){l[e]=c[e]}),this.processingTimeMS=t.reduce(function(e,t){return void 0===t.processingTimeMS?e:e+t.processingTimeMS},0),this.disjunctiveFacets=[],this.hierarchicalFacets=e.hierarchicalFacets.map(function(){return[]}),this.facets=[];var d=e.getRefinedDisjunctiveFacets(),g=p(e.facets),y=p(e.disjunctiveFacets),v=1,b=o.facets||{};Object.keys(b).forEach(function(t){var r=b[t],n=(c=e.hierarchicalFacets,a(c,function(e){return(e.attributes||[]).indexOf(t)>-1}));if(n){var i=n.attributes.indexOf(t),u=s(e.hierarchicalFacets,function(e){return e.name===n.name});l.hierarchicalFacets[u][i]={attribute:t,data:r,exhaustive:o.exhaustiveFacetsCount}}else{var c,d,h=-1!==e.disjunctiveFacets.indexOf(t),f=-1!==e.facets.indexOf(t);h&&(d=y[t],l.disjunctiveFacets[d]={name:t,data:r,exhaustive:o.exhaustiveFacetsCount},m(l.disjunctiveFacets[d],o.facets_stats,t)),f&&(d=g[t],l.facets[d]={name:t,data:r,exhaustive:o.exhaustiveFacetsCount},m(l.facets[d],o.facets_stats,t))}}),this.hierarchicalFacets=n(this.hierarchicalFacets),d.forEach(function(r){var n=t[v],a=n&&n.facets?n.facets:{},c=e.getHierarchicalFacetByName(r);Object.keys(a).forEach(function(t){var r,d=a[t];if(c){r=s(e.hierarchicalFacets,function(e){return e.name===c.name});var f=s(l.hierarchicalFacets[r],function(e){return e.attribute===t});if(-1===f)return;l.hierarchicalFacets[r][f].data=l.persistHierarchicalRootCount?u(l.hierarchicalFacets[r][f].data,d):i(d,l.hierarchicalFacets[r][f].data)}else{r=y[t];var p=o.facets&&o.facets[t]||{};l.disjunctiveFacets[r]={name:t,data:u(p,d),exhaustive:n.exhaustiveFacetsCount},m(l.disjunctiveFacets[r],n.facets_stats,t),e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].forEach(function(n){!l.disjunctiveFacets[r].data[n]&&e.disjunctiveFacetsRefinements[t].indexOf(h(n))>-1&&(l.disjunctiveFacets[r].data[n]=0)})}}),v++}),e.getRefinedHierarchicalFacets().forEach(function(r){var n=e.getHierarchicalFacetByName(r),o=e._getHierarchicalFacetSeparator(n),a=e.getHierarchicalRefinement(r);0===a.length||a[0].split(o).length<2||t.slice(v).forEach(function(t){var r=t&&t.facets?t.facets:{};Object.keys(r).forEach(function(t){var u=r[t],c=s(e.hierarchicalFacets,function(e){return e.name===n.name}),d=s(l.hierarchicalFacets[c],function(e){return e.attribute===t});if(-1!==d){var h={};if(a.length>0&&!l.persistHierarchicalRootCount){var f=a[0].split(o)[0];h[f]=l.hierarchicalFacets[c][d].data[f]}l.hierarchicalFacets[c][d].data=i(h,u,l.hierarchicalFacets[c][d].data)}}),v++})}),Object.keys(e.facetsExcludes).forEach(function(t){var r=e.facetsExcludes[t],n=g[t];l.facets[n]={name:t,data:b[t],exhaustive:o.exhaustiveFacetsCount},r.forEach(function(e){l.facets[n]=l.facets[n]||{name:t},l.facets[n].data=l.facets[n].data||{},l.facets[n].data[e]=0})}),this.hierarchicalFacets=this.hierarchicalFacets.map(f(e)),this.facets=n(this.facets),this.disjunctiveFacets=n(this.disjunctiveFacets),this._state=e}function y(e,t){var r=a(e,function(e){return e.name===t});return r&&r.stats}function v(e,t,r,n,i){var o=a(i,function(e){return e.name===r}),s=o&&o.data&&o.data[n]?o.data[n]:0;return{type:t,attributeName:r,name:n,count:s,exhaustive:o&&o.exhaustive||!1}}g.prototype.getFacetByName=function(e){function t(t){return t.name===e}return a(this.facets,t)||a(this.disjunctiveFacets,t)||a(this.hierarchicalFacets,t)},g.DEFAULT_SORT=["isRefined:desc","count:desc","name:asc"],g.prototype.getFacetValues=function(e,t){var r,n=function(e,t){function r(e){return e.name===t}if(e._state.isConjunctiveFacet(t)){var n=a(e.facets,r);return n?Object.keys(n.data).map(function(r){var i=d(r);return{name:r,escapedValue:i,count:n.data[r],isRefined:e._state.isFacetRefined(t,i),isExcluded:e._state.isExcludeRefined(t,r)}}):[]}if(e._state.isDisjunctiveFacet(t)){var i=a(e.disjunctiveFacets,r);return i?Object.keys(i.data).map(function(r){var n=d(r);return{name:r,escapedValue:n,count:i.data[r],isRefined:e._state.isDisjunctiveFacetRefined(t,n)}}):[]}if(e._state.isHierarchicalFacet(t)){var o=a(e.hierarchicalFacets,r);if(!o)return o;var s=e._state.getHierarchicalFacetByName(t),l=e._state._getHierarchicalFacetSeparator(s),u=h(e._state.getHierarchicalRefinement(t)[0]||"");0===u.indexOf(s.rootPath)&&(u=u.replace(s.rootPath+l,""));var c=u.split(l);return c.unshift(t),function e(t,r,n){t.isRefined=t.name===(r[n]&&r[n].trim()),t.data&&t.data.forEach(function(t){e(t,r,n+1)})}(o,c,0),o}}(this,e);if(n){var o=i(t,{sortBy:g.DEFAULT_SORT,facetOrdering:!(t&&t.sortBy)}),s=this;return r=Array.isArray(n)?[e]:s._state.getHierarchicalFacetByName(n.name).attributes,function e(t,r,n,o){if(o=o||0,Array.isArray(r))return t(r,n[o]);if(!r.data||0===r.data.length)return r;var a=r.data.map(function(r){return e(t,r,n,o+1)});return i({data:t(a,n[o])},r)}(function(e,t){var r,n,i,a,u,d,h,f=s.renderingContent&&s.renderingContent.facetOrdering&&s.renderingContent.facetOrdering.values&&s.renderingContent.facetOrdering.values[t];if(o.facetOrdering&&f)return n=[],i=[],a=f.hide||[],u=(f.order||[]).reduce(function(e,t,r){return e[t]=r,e},{}),e.forEach(function(e){var t=e.path||e.name,r=a.indexOf(t)>-1;r||void 0===u[t]?r||i.push(e):n[u[t]]=e}),n=n.filter(function(e){return e}),"hidden"===(d=f.sortRemainingBy)?n:(r="alpha"===d?[["path","name"],["asc","asc"]]:[["count"],["desc"]],n.concat(c(i,r[0],r[1])));if(Array.isArray(o.sortBy)){var p=l(o.sortBy,g.DEFAULT_SORT),m=c(e,p[0],p[1]),y=f&&f.hide?f.hide:[];if(y.length>0){var v=[];return m.forEach(function(e){var t=e.path||e.name;-1===y.indexOf(t)&&v.push(e)}),v}return m}if("function"==typeof o.sortBy)return h=o.sortBy,e.sort(h);throw Error("options.sortBy is optional but if defined it must be either an array of str
1ing (predicates) or a sorting function")},n,r)}},g.prototype.getFacetStats=function(e){return this._state.isConjunctiveFacet(e)?y(this.facets,e):this._state.isDisjunctiveFacet(e)?y(this.disjunctiveFacets,e):void 0},g.prototype.getRefinements=function(){var e=this._state,t=this,r=[];return Object.keys(e.facetsRefinements).forEach(function(n){e.facetsRefinements[n].forEach(function(i){r.push(v(e,"facet",n,i,t.facets))})}),Object.keys(e.facetsExcludes).forEach(function(n){e.facetsExcludes[n].forEach(function(i){r.push(v(e,"exclude",n,i,t.facets))})}),Object.keys(e.disjunctiveFacetsRefinements).forEach(function(n){e.disjunctiveFacetsRefinements[n].forEach(function(i){r.push(v(e,"disjunctive",n,i,t.disjunctiveFacets))})}),Object.keys(e.hierarchicalFacetsRefinements).forEach(function(n){e.hierarchicalFacetsRefinements[n].forEach(function(i){var o,s,l,u,c,d,h,f,p,m,g;r.push((o=e,s=n,l=i,u=t.hierarchicalFacets,c=o.getHierarchicalFacetByName(s),d=o._getHierarchicalFacetSeparator(c),h=l.split(d),f=a(u,function(e){return e.name===s}),m=(p=h.reduce(function(e,t){var r=e&&a(e.data,function(e){return e.name===t});return void 0!==r?r:e},f))&&p.count||0,g=p&&p.exhaustive||!1,{type:"hierarchical",attributeName:s,name:p&&p.path||"",count:m,exhaustive:g}))})}),Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t];Object.keys(n).forEach(function(e){n[e].forEach(function(n){r.push({type:"numeric",attributeName:t,name:n,numericValue:n,operator:e})})})}),e.tagRefinements.forEach(function(e){r.push({type:"tag",attributeName:"_tags",name:e})}),r},e.exports=g},4644:(e,t,r)=>{"use strict";r.d(t,{A3:()=>o,BP:()=>i,Co:()=>a});var n=r(14232);let i=(0,n.createContext)(null);(0,n.createContext)(null),(0,n.createContext)(null),(0,n.createContext)(null),(0,n.createContext)(null);let o=(0,n.createContext)({}),a=(0,n.createContext)(null);(0,n.createContext)(null)},5382:(e,t,r)=>{"use strict";var n=r(8768);t._=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),i.forEach(function(t){n._(e,t,r[t])})}return e}},5391:e=>{"use strict";e.exports=EvalError},5407:(e,t,r)=>{"use strict";r.d(t,{Y:()=>o});var n=r(22602),i=r(66532);class o{constructor(e,t,r){this.collection=e,this.state=t,this.allowsCellSelection=r?.allowsCellSelection??!1,this._isSelectAll=null,this.layoutDelegate=r?.layoutDelegate||null,this.fullCollection=r?.fullCollection||null}get selectionMode(){return this.state.selectionMode}get disallowEmptySelection(){return this.state.disallowEmptySelection}get selectionBehavior(){return this.state.selectionBehavior}setSelectionBehavior(e){this.state.setSelectionBehavior(e)}get isFocused(){return this.state.isFocused}setFocused(e){this.state.setFocused(e)}get focusedKey(){return this.state.focusedKey}get childFocusStrategy(){return this.state.childFocusStrategy}setFocusedKey(e,t){(null==e||this.collection.getItem(e))&&this.state.setFocusedKey(e,t)}get selectedKeys(){return"all"===this.state.selectedKeys?new Set(this.getSelectAllKeys()):this.state.selectedKeys}get rawSelection(){return this.state.selectedKeys}isSelected(e){if("none"===this.state.selectionMode)return!1;let t=this.getKey(e);return null!=t&&("all"===this.state.selectedKeys?this.canSelectItem(t):this.state.selectedKeys.has(t))}get isEmpty(){return"all"!==this.state.selectedKeys&&0===this.state.selectedKeys.size}get isSelectAll(){if(this.isEmpty)return!1;if("all"===this.state.selectedKeys)return!0;if(null!=this._isSelectAll)return this._isSelectAll;let e=this.getSelectAllKeys(),t=this.state.selectedKeys;return this._isSelectAll=e.every(e=>t.has(e)),this._isSelectAll}get firstSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let r=this.collection.getItem(t);(!e||r&&0>(0,n.o3)(this.collection,r,e))&&(e=r)}return e?.key??null}get lastSelectedKey(){let e=null;for(let t of this.state.selectedKeys){let r=this.collection.getItem(t);(!e||r&&(0,n.o3)(this.collection,r,e)>0)&&(e=r)}return e?.key??null}get disabledKeys(){return this.state.disabledKeys}get disabledBehavior(){return this.state.disabledBehavior}extendSelection(e){let t;if("none"===this.selectionMode)return;if("single"===this.selectionMode)return void this.replaceSelection(e);let r=this.getKey(e);
1if(null!=r){if("all"===this.state.selectedKeys)t=new(0,i.L)([r],r,r);else{let e=this.state.selectedKeys,n=e.anchorKey??r;for(let o of(t=new(0,i.L)(e,n,r),this.getKeyRange(n,e.currentKey??r)))t.delete(o);for(let e of this.getKeyRange(r,n))this.canSelectItem(e)&&t.add(e)}this.state.setSelectedKeys(t)}}getKeyRange(e,t){let r=this.collection.getItem(e),i=this.collection.getItem(t);return r&&i?0>=(0,n.o3)(this.collection,r,i)?this.getKeyRangeInternal(e,t):this.getKeyRangeInternal(t,e):[]}getKeyRangeInternal(e,t){if(this.layoutDelegate?.getKeyRange)return this.layoutDelegate.getKeyRange(e,t);let r=[],n=e;for(;null!=n;){let e=this.collection.getItem(n);if(e&&("item"===e.type||"cell"===e.type&&this.allowsCellSelection)&&r.push(n),n===t)return r;n=this.collection.getKeyAfter(n)}return[]}getKey(e){let t=this.collection.getItem(e);if(!t||"cell"===t.type&&this.allowsCellSelection)return e;for(;t&&"item"!==t.type&&null!=t.parentKey;)t=this.collection.getItem(t.parentKey);return t&&"item"===t.type?t.key:null}toggleSelection(e){if("none"===this.selectionMode)return;if("single"===this.selectionMode&&!this.isSelected(e))return void this.replaceSelection(e);let t=this.getKey(e);if(null==t)return;let r=new(0,i.L)("all"===this.state.selectedKeys?this.getSelectAllKeys():this.state.selectedKeys);r.has(t)?r.delete(t):this.canSelectItem(t)&&(r.add(t),r.anchorKey=t,r.currentKey=t),this.disallowEmptySelection&&0===r.size||this.state.setSelectedKeys(r)}replaceSelection(e){if("none"===this.selectionMode)return;let t=this.getKey(e);if(null==t)return;let r=this.canSelectItem(t)?new(0,i.L)([t],t,t):new(0,i.L);this.state.setSelectedKeys(r)}setSelectedKeys(e){if("none"===this.selectionMode)return;let t=new(0,i.L);for(let r of e){let e=this.getKey(r);if(null!=e&&(t.add(e),"single"===this.selectionMode))break}this.state.setSelectedKeys(t)}getSelectAllKeys(){let e=this.fullCollection??this.collection,t=[],r=i=>{for(;null!=i;){if(this.canSelectItemIn(i,e)){let o=e.getItem(i);o?.type==="item"&&t.push(i),o?.hasChildNodes&&(this.allowsCellSelection||"item"!==o.type)&&r((0,n.ue)((0,n.iQ)(o,e))?.key??null)}i=e.getKeyAfter(i)}};return r(e.getFirstKey()),t}selectAll(){this.isSelectAll||"multiple"!==this.selectionMode||this.state.setSelectedKeys("all")}clearSelection(){!this.disallowEmptySelection&&("all"===this.state.selectedKeys||this.state.selectedKeys.size>0)&&this.state.setSelectedKeys(new(0,i.L))}toggleSelectAll(){this.isSelectAll?this.clearSelection():this.selectAll()}select(e,t){"none"!==this.selectionMode&&("single"===this.selectionMode?this.isSelected(e)&&!this.disallowEmptySelection?this.toggleSelection(e):this.replaceSelection(e):"toggle"===this.selectionBehavior||t&&("touch"===t.pointerType||"virtual"===t.pointerType)?this.toggleSelection(e):this.replaceSelection(e))}isSelectionEqual(e){if(e===this.state.selectedKeys)return!0;let t=this.selectedKeys;if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;for(let r of t)if(!e.has(r))return!1;return!0}canSelectItem(e){return this.canSelectItemIn(e,this.collection)}canSelectItemIn(e,t){if("none"===this.state.selectionMode||this.state.disabledKeys.has(e))return!1;let r=t.getItem(e);return!(!r||r?.props?.isDisabled)&&("cell"!==r.type||!!this.allowsCellSelection)}isDisabled(e){let t=this.collection.getItem(e);return"all"===this.state.disabledBehavior&&(this.state.disabledKeys.has(e)||!!t?.props?.isDisabled)&&t?.props?.disabledBehavior!=="selection"}isLink(e){return!!this.collection.getItem(e)?.props?.href}getItemProps(e){return this.collection.getItem(e)?.props}withCollection(e){return new o(e,this.state,{allowsCellSelection:this.allowsCellSelection,layoutDelegate:this.layoutDelegate||void 0,fullCollection:this.fullCollection??this.collection})}}},5414:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error("Invariant failed")}r.d(t,{V:()=>n})},5543:(e,t)=>{"use strict";t._=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},6334:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return S}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});
1let o=r(88365),a=r(37876),s=o._(r(14232)),l=r(15948),u=r(2454),c=r(67855),d=r(29313),h=r(61162),f=r(75067),p=r(80301),m=r(43966),g=r(63467),y=r(33872);r(6642);let v=new Set;function b(e,t,r,n){if((0,u.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(v.has(i))return;v.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function w(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let E=s.default.forwardRef(function(e,t){let r,n,{href:i,as:o,children:c,prefetch:v=null,passHref:E,replace:P,shallow:S,scroll:x,locale:R,onClick:C,onNavigate:T,onMouseEnter:_,onTouchStart:I,legacyBehavior:A=!1,transitionTypes:k,...D}=e;r=c,A&&("string"==typeof r||"number"==typeof r)&&(r=(0,a.jsx)("a",{children:r}));let O=s.default.useContext(f.RouterContext),F=!1!==v,{href:N,as:q}=s.default.useMemo(()=>{if(!O){let e=w(i);return{href:e,as:o?w(o):e}}let[e,t]=(0,l.resolveHref)(O,i,!0);return{href:e,as:o?(0,l.resolveHref)(O,o):t||e}},[O,i,o]),j=s.default.useRef(N),L=s.default.useRef(q);A&&(n=s.default.Children.only(r));let M=A?n&&"object"==typeof n&&n.ref:t,[K,$,U]=(0,p.useIntersection)({rootMargin:"200px"}),B=s.default.useCallback(e=>{(L.current!==q||j.current!==N)&&(U(),L.current=q,j.current=N),K(e)},[q,N,U,K]),H=(0,y.useMergedRef)(B,M);s.default.useEffect(()=>{!O||$&&F&&b(O,N,q,{locale:R})},[q,N,$,R,F,O?.locale,O]);let W={ref:H,onClick(e){A||"function"!=typeof C||C(e),A&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),!O||e.defaultPrevented||function(e,t,r,n,i,o,a,s,l){let c,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if(!(0,u.isLocalURL)(r)){i&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=a??!0;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:o,locale:s,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}(e,O,N,q,P,S,x,R,T)},onMouseEnter(e){A||"function"!=typeof _||_(e),A&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),O&&b(O,N,q,{locale:R,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){A||"function"!=typeof I||I(e),A&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),O&&b(O,N,q,{locale:R,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(q))W.href=q;else if(!A||E||"a"===n.type&&!("href"in n.props)){let e=void 0!==R?R:O?.locale;W.href=O?.isLocaleDomain&&(0,m.getDomainLocale)(q,e,O?.locales,O?.domainLocales)||(0,g.addBasePath)((0,h.addLocale)(q,e,O?.defaultLocale))}return A?s.default.cloneElement(n,W):(0,a.jsx)("a",{...D,...W,children:r})}),P=(0,s.createContext)({pending:!1}),S=()=>(0,s.useContext)(P),x=E;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6344:(e,t,r)=>{"use strict";r.d(t,{Cc:()=>l,wR:()=>h});var n=r(14232);let i={prefix:String(Math.round(1e10*Math.random())),current:0},o=n.createContext(i),a=n.createContext(!1),s=("u">typeof window&&window.document&&window.document.createElement,new WeakMap),l="function"==typeof n.useId?function(e){let t=n.useId(),[r]=(0,n.useState)(h()),o=r?"react-aria":`react-aria${i.prefix}`;return e||`${o}-${t}`}:function(e){let t=(0,n.useContext)(o),r=function(e=!1){let t=(0,n.useContext)(o),r=(0,n.useRef)(null);if(null===r.current&&!e){let e=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if(e){let r=s.get(e);null==r?s.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==r.state&&(t.current=r.id,s.delete(e))}r.current=++t.current}return r.current}(!!e),i=`react-aria${t.prefix}`;return e||`${i}-${r}`};function u(){return!1}function c(){return!0}function d(e){return()=>{}}function h(){return"function"==typeof n.useSyncExternalStore?n.useSyncExternalStore(d,u,c):(0,n.useContext)(a)}},6642:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},6755:(e,t,r)=>{"use strict";r.d(t,{D:()=>o}),r(98477);var n=r(14232);let i=(0,n.createContext)(null);function o(e){let t=(0,n.useRef)({});return n.createElement(i.Provider,{value:t},e.children)}},6764:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`forbidden()` is experimental and only allowed to be enabled when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E488",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"forbidden",{enumerable:!0,get:function(){return n}}),r(46780).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6865:(e,t)=>{"use strict";t._=function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},7009:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var n=r(59978);function i(e){var t=n.sn.highlightPostTag,r=n.sn.highlightPreTag,i=e.split(r),o=i.shift(),a=o?[{value:o,isHighlighted:!1}]:[];return i.forEach(function(e){var r=e.split(t);a.push({value:r[0],isHighlighted:!0}),""!==r[1]&&a.push({value:r[1],isHighlighted:!1})}),a}},7085:(e,t)=>{"use strict";t._=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}},7436:(e,t,r)=>{"use strict";var n=r(46664),i=r(71524),o=r(73927),a=r(35152);t._=function(e,t){return n._(e)||i._(e,t)||a._(e,t)||o._()}},8768:(e,t)=>{"use strict";t._=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},8866:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});var n=(0,r(14232).createContext)(null)},9048:(e,t,r)=>{"use strict";var n=r(59974);function i(e){return Object.keys(e).sort().reduce(function(t,r){return t[r]=e[r],t},{})}var o={_getQueries:function(e,t){var r=[];return r.push({indexName:e,params:o._getHitsSearchParams(t)}),t.getRefinedDisjunctiveFacets().forEach(function(n){r.push({indexName:e,params:o._getDisjunctiveFacetSearchParams(t,n)})}),t.getRefinedHierarchicalFacets().forEach(function(n){var i=t.getHierarchicalFacetByName(n),a=t.getHierarchicalRefinement(n),s=t._getHierarchicalFacetSeparator(i);if(a.length>0&&a[0].split(s).length>1){var l=a[0].split(s).slice(0,-1).reduce(function(e,t,r){return e.concat({attribute:i.attributes[r],value:0===r?t:[e[e.length-1].value,t].join(s)})},[]);l.forEach(function(n,a){var s=o._getDisjunctiveFacetSearchParams(t,n.attribute,0===a);function u(e){return i.attributes.some(function(t){return t===e.split(":")[0]})}var c=(s.facetFilters||[]).reduce(function(e,t){if(Array.isArray(t)){var r=t.filter(function(e){return!u(e)});r.length>0&&e.push(r)}return"string"!=typeof t||u(t)||e.push(t),e},[]),d=l[a-1];a>0?s.facetFilters=c.concat(d.attribute+":"+d.value):c.length>0?s.facetFilters=c:delete s.facetFilters,r.push({indexName:e,params:s})})}}),r},_getCompositionQueries:function(e){return[{compositionID:e.index,requestBody:{params:o._getCompositionHitsSearchParams(e)}}]},_getHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets).concat(o._getHitsHierarchicalFacetsAttributes(e)).sort(),r=o._getFacetFilters(e),a=o._getNumericFilters(e),s=o._getTagFilters(e),l={};return t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),a.length>0&&(l.numericFilters=a),i(n({},e.getQueryParams(),l))},_getCompositionHitsSearchParams:function(e){var t=e.facets.concat(e.disjunctiveFacets.map(function(t){return e.disjunctiveFacetsRefinements&&e.disjunctiveFacetsRefinements[t]&&e.disjunctiveFacetsRefinements[t].length>0?"disjunctive("+t+")":t})).concat(o._getHitsHierarchicalFacetsAttributes(e)).sort(),r=o._getFacetFilters(e),a=o._getNumericFilters(e),s=o._getTagFilters(e),l={};t.length>0&&(l.facets=t.indexOf("*")>-1?["*"]:t),s.length>0&&(l.tagFilters=s),r.length>0&&(l.facetFilters=r),a.length>0&&(l.numericFilters=a);var u=e.getQueryParams();return delete u.highlightPreTag,delete u.highlightPostTag,delete u.index,i(n({},u,l))},_getDisjunctiveFacetSearchParams:function(e,t,r){var a=o._getFacetFilters(e,t,r),s=o._getNumericFilters(e,t),l=o._getTagFilters(e),u={hitsPerPage:0,page:0,analytics:!1,clickAnalytics:!1};l.length>0&&(u.tagFilters=l);var c=e.getHierarchicalFacetByName(t);return c?u.facets=o._getDisjunctiveHierarchicalFacetAttribute(e,c,r):u.facets=t,s.length>0&&(u.numericFilters=s),a.length>0&&(u.facetFilters=a),i(n({},e.getQueryParams(),u))},_getNumericFilters:function(e,t){if(e.numericFilters)return e.numericFilters;var r=[];
1return Object.keys(e.numericRefinements).forEach(function(n){var i=e.numericRefinements[n]||{};Object.keys(i).forEach(function(e){var o=i[e]||[];t!==n&&o.forEach(function(t){if(Array.isArray(t)){var i=t.map(function(t){return n+e+t});r.push(i)}else r.push(n+e+t)})})}),r},_getTagFilters:function(e){return e.tagFilters?e.tagFilters:e.tagRefinements.join(",")},_getFacetFilters:function(e,t,r){var n=[],i=e.facetsRefinements||{};Object.keys(i).sort().forEach(function(e){(i[e]||[]).slice().sort().forEach(function(t){n.push(e+":"+t)})});var o=e.facetsExcludes||{};Object.keys(o).sort().forEach(function(e){(o[e]||[]).sort().forEach(function(t){n.push(e+":-"+t)})});var a=e.disjunctiveFacetsRefinements||{};Object.keys(a).sort().forEach(function(e){var r=a[e]||[];if(e!==t&&r&&0!==r.length){var i=[];r.slice().sort().forEach(function(t){i.push(e+":"+t)}),n.push(i)}});var s=e.hierarchicalFacetsRefinements||{};return Object.keys(s).sort().forEach(function(i){var o,a,l=(s[i]||[])[0];if(void 0!==l){var u=e.getHierarchicalFacetByName(i),c=e._getHierarchicalFacetSeparator(u),d=e._getHierarchicalRootPath(u);if(t===i){if(-1===l.indexOf(c)||!d&&!0===r||d&&d.split(c).length===l.split(c).length)return;d?(a=d.split(c).length-1,l=d):(a=l.split(c).length-2,l=l.slice(0,l.lastIndexOf(c))),o=u.attributes[a]}else a=l.split(c).length-1,o=u.attributes[a];o&&n.push([o+":"+l])}}),n},_getHitsHierarchicalFacetsAttributes:function(e){return e.hierarchicalFacets.reduce(function(t,r){var n=e.getHierarchicalRefinement(r.name)[0];if(!n)return t.push(r.attributes[0]),t;var i=e._getHierarchicalFacetSeparator(r),o=n.split(i).length,a=r.attributes.slice(0,o+1);return t.concat(a)},[])},_getDisjunctiveHierarchicalFacetAttribute:function(e,t,r){var n=e._getHierarchicalFacetSeparator(t);if(!0===r){var i=e._getHierarchicalRootPath(t),o=0;return i&&(o=i.split(n).length),[t.attributes[o]]}var a=(e.getHierarchicalRefinement(t.name)[0]||"").split(n).length-1;return t.attributes.slice(0,a+1)},getSearchForFacetQuery:function(e,t,r,a){var s=a.isDisjunctiveFacet(e)?a.clearRefinements(e):a,l={facetQuery:t,facetName:e};return"number"==typeof r&&(l.maxFacetHits=r),i(n({},o._getHitsSearchParams(s),l))}};e.exports=o},9171:(e,t)=>{"use strict";t._=function(e,t){if(null==e)return{};var r,n,i={},o=Object.getOwnPropertyNames(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}},9945:(e,t,r)=>{"use strict";var n=r(45525),i=r(73442),o=r(81073),a=r(65865),s=n("%Map%",!0),l=i("Map.prototype.get",!0),u=i("Map.prototype.set",!0),c=i("Map.prototype.has",!0),d=i("Map.prototype.delete",!0),h=i("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new a("Side channel does not contain "+o(e))},delete:function(t){if(e){var r=d(e,t);return 0===h(e)&&(e=void 0),r}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&c(e,t)},set:function(t,r){e||(e=new s),u(e,t,r)}};return t}},9982:(e,t,r)=>{"use strict";r.d(t,{iP:()=>i});let n=null;function i(e,t="assertive",r=7e3){n?n.announce(e,t,r):(n=new o,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"u">typeof jest)?n.announce(e,t,r):setTimeout(()=>{n?.isAttached()&&n?.announce(e,t,r)},100))}class o{constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"u">typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}isAttached(){return this.node?.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",r=7e3){if(!this.node)return;let n=document.createElement("div");"object"==typeof e?(n.setAttribute("role","img"),n.setAttribute("aria-labelledby",e["aria-labelledby"])):n.textContent=e,"assertive"===t?this.assertiveLog?.appendChild(n):this.politeLog?.appendChild(n),""!==e&&setTimeout(()=>{n.remove()},r)}clear(e){this.node&&((!e||"assertive"===e)&&this.assertiveLog&&(this.assertiveLog.innerHTML=""),(!e||"polite"===e)&&this.politeLog&&(this.politeLog.innerHTML=""))}}},10221:(e,t,r)=>{"use strict";var n=r(65225);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},10362:(e,t,r)=>{"use strict";r.d(t,{j:()=>function e(t,r,o){var a,s;if((null==o?void 0:o(t,r))||t===r)return!0;
1if(t&&r&&(a=t.constructor)===r.constructor){if(a===Date)return t.getTime()===r.getTime();if(a===RegExp)return t.toString()===r.toString();if(a===Array){if((s=t.length)===r.length)for(;s--&&e(t[s],r[s],o););return -1===s}if(!a||(void 0===t?"undefined":(0,n._)(t))==="object"){for(a in s=0,t)if(i.call(t,a)&&++s&&!i.call(r,a)||!(a in r)||!e(t[a],r[a],o))return!1;return Object.keys(r).length===s}}return t!=t&&r!=r}});var n=r(69512),i=Object.prototype.hasOwnProperty},10450:(e,t,r)=>{"use strict";function n(e,t,r){var n=t.getHelper();return{uiState:r,helper:n,parent:t,instantSearchInstance:e,state:n.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,scopedResults:[],searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}function i(e,t,r){var n=t.getResultsForWidget(r),i=t.getHelper();return{helper:i,parent:t,instantSearchInstance:e,results:n,scopedResults:t.getScopedResults(),state:n&&"_state"in n?n._state:i.state,renderState:e.renderState,templatesConfig:e.templatesConfig,createURL:t.createURL,searchMetadata:{isSearchStalled:"stalled"===e.status},status:e.status,error:e.error}}r.d(t,{A:()=>i,e:()=>n})},10926:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):!!(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e){if(!e.trim()){t.style={};return}try{t.style=(0,o.default)(e,s)}catch(e){t.style={}}}};var i=r(14232),o=n(r(83833)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),s={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(i.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},11646:(e,t,r)=>{"use strict";r.d(t,{d:()=>T});var n=r(63311),i=r(23633),o=r(88001),a=r(84947),s=r(74032);let l="default",u="",c=new WeakMap;function d(e){if((0,a.un)())"disabled"===l&&(l="restoring",setTimeout(()=>{(0,s.v)(()=>{if("restoring"===l){let t=(0,o.TW)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=u||""),u="",l="default"}})},300));else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&c.has(e)){let t=c.get(e),r="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[r]&&(e.style[r]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),c.delete(e)}}var h=r(48153),f=r(29786),p=r(41863),m=r(29105),g=r(68092),y=r(87802),v=r(19),b=r(34200),w=r(48721),E=r(50529);r(98477);var P=r(14232);class S{#e;constructor(e,t,r,n){this.#e=!0;let i=n?.target??r.currentTarget;const o=i?.getBoundingClientRect();let a,s=0,l,u=null;null!=r.clientX&&null!=r.clientY&&(l=r.clientX,u=r.clientY),o&&(null!=l&&null!=u?(a=l-o.left,s=u-o.top):(a=o.width/2,s=o.height/2)),this.type=e,this.pointerType=t,this.target=r.currentTarget,this.shiftKey=r.shiftKey,this.metaKey=r.metaKey,this.ctrlKey=r.ctrlKey,this.altKey=r.altKey,this.x=a,this.y=s,this.key=r.key}continuePropagation(){this.#e=!1}get shouldStopPropagation(){return this.#e}}let x=Symbol("linkClicked"),R="react-aria-pressable-style",C="data-react-aria-pressable";function T(e){let{onPress:t,onPressChange:r,onPressStart:s,onPressEnd:T,onPressUp:D,onClick:O,isDisabled:F,isPressed:N,preventFocusOnPress:q,shouldCancelOnPointerExit:j,allowTextSelectionOnPress:L,ref:M,...K}=function(e){let t=(0,P.useContext)(v.F);if(t){let{register:r,ref:n,...i}=t;e=(0,g.v)(i,e),r()}return(0,E.w)(t,e.ref),e}(e),[$,U]=(0,P.useState)(!1),B=(0,P.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:H,removeAllGlobalListeners:W}=(0,w.A)(),V=(0,P.useCallback)((e,t)=>{let n=B.current;if(F||n.didFirePressStart)return!1;let i=!0;if(n.isTriggeringEvent=!0,s){let r=new S("pressstart",t,e);s(r),i=r.shouldStopPropagation}return r&&r(!0),n.isTriggeringEvent=!1,n.didFirePressStart=!0,U(!0),i},[F,s,r]),z=(0,P.useCallback)((e,n,i=!0)=>{let o=B.current;if(!o.didFirePressStart)return!1;o.didFirePressStart=!1,o.isTriggeringEvent=!0;let a=!0;if(T){let t=new S("pressend",n,e);T(t),a=t.shouldStopPropagation}if(r&&r(!1),U(!1),t&&i&&!F){let r=new S("press",n,e);t(r),a&&=r.shouldStopPropagation}return o.isTriggeringEvent=!1,a},[F,T,r,t]),G=(0,b.J)(z),Q=(0,P.useCallback)((e,t)=>{let r=B.current;if(F)return!1;if(D){r.isTriggeringEvent=!0;let n=new S("pressup",t,e);return D(n),r.isTriggeringEvent=!1,n.shouldStopPropagation}return!0},[F,D]),J=(0,b.J)(Q),X=(0,P.useCallback)(e=>{let t=B.current;if(t.isPressed&&t.target){for(let r of(t.didFirePressStart&&null!=t.pointerType&&z(A(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,W(),L||d(t.target),t.disposables)
1)r();t.disposables=[]}},[L,W,z]),Y=(0,b.J)(X);(0,P.useEffect)(()=>{F&&B.current.isPressed&&Y({currentTarget:B.current.target,shiftKey:!1,ctrlKey:!1,metaKey:!1,altKey:!1})},[F]);let Z=(0,P.useCallback)(e=>{j&&X(e)},[j,X]),ee=(0,P.useCallback)(e=>{F||O?.(e)},[F,O]),et=(0,P.useCallback)((e,t)=>{if(!F&&O){let r=new MouseEvent("click",e);(0,i.o1)(r,t),O((0,i.eg)(r))}},[F,O]),er=(0,P.useMemo)(()=>{let e=B.current,t={onKeyDown(t){if(I(t.nativeEvent,t.currentTarget)&&(0,f.sD)(t.currentTarget,(0,f.wt)(t))){k((0,f.wt)(t),t.key)&&t.preventDefault();let i=!0;e.isPressed||t.repeat||(e.target=t.currentTarget,e.isPressed=!0,e.pointerType="keyboard",i=V(t,"keyboard"));let s=t.currentTarget;H((0,o.TW)(t.currentTarget),"keyup",(0,n.c)(t=>{I(t,s)&&!t.repeat&&(0,f.sD)(s,(0,f.wt)(t))&&e.target&&J(A(e.target,t),"keyboard")},r),!0),i&&t.stopPropagation(),t.metaKey&&(0,a.cX)()&&e.metaKeyEvents?.set(t.key,t.nativeEvent)}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,f.sD)(t.currentTarget,(0,f.wt)(t)))&&t&&0===t.button&&!e.isTriggeringEvent&&!y.Fe.isOpening){let r=!0;if(F&&t.preventDefault(),!e.ignoreEmulatedMouseEvents&&!e.isPressed&&("virtual"===e.pointerType||(0,m.Y)(t.nativeEvent))){let e=V(t,"virtual"),n=J(t,"virtual"),i=G(t,"virtual");ee(t),r=e&&n&&i}else if(e.isPressed&&"keyboard"!==e.pointerType){let n=e.pointerType||t.nativeEvent.pointerType||"virtual",i=J(A(t.currentTarget,t),n),o=G(A(t.currentTarget,t),n,!0);r=i&&o,e.isOverTarget=!1,ee(t),Y(t)}e.ignoreEmulatedMouseEvents=!1,r&&t.stopPropagation()}}},r=t=>{if(e.isPressed&&e.target&&I(t,e.target)){k((0,f.wt)(t),t.key)&&t.preventDefault();let r=(0,f.wt)(t),n=(0,f.sD)(e.target,r);G(A(e.target,t),"keyboard",n),n&&et(t,e.target),W(),"Enter"!==t.key&&_(e.target)&&(0,f.sD)(e.target,r)&&!t[x]&&(t[x]=!0,(0,y.Fe)(e.target,t,!1)),e.isPressed=!1,e.metaKeyEvents?.delete(t.key)}else if("Meta"===t.key&&e.metaKeyEvents?.size){let t=e.metaKeyEvents;for(let r of(e.metaKeyEvents=void 0,t.values()))e.target?.dispatchEvent(new KeyboardEvent("keyup",r))}};if("u">typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!(0,f.sD)(t.currentTarget,(0,f.wt)(t)))return;if((0,m.P)(t.nativeEvent)){e.pointerType="virtual";return}e.pointerType=t.pointerType;let i=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,L||function(e){if((0,a.un)()){if("default"===l){let t=(0,o.TW)(e);u=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}l="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";c.set(e,e.style[t]),e.style[t]="none"}}(e.target),i=V(t,e.pointerType);let s=(0,f.wt)(t);"releasePointerCapture"in s&&("hasPointerCapture"in s?s.hasPointerCapture(t.pointerId)&&s.releasePointerCapture(t.pointerId):s.releasePointerCapture(t.pointerId)),H((0,o.TW)(t.currentTarget),"pointerup",r,!1),H((0,o.TW)(t.currentTarget),"pointercancel",n,!1)}i&&t.stopPropagation()},t.onMouseDown=t=>{if((0,f.sD)(t.currentTarget,(0,f.wt)(t))&&0===t.button){if(q){let r=(0,i.LE)(t.target);r&&e.disposables.push(r)}t.stopPropagation()}},t.onPointerUp=t=>{(0,f.sD)(t.currentTarget,(0,f.wt)(t))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||J(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,V(A(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,G(A(e.target,t),e.pointerType,!1),Z(t))};let r=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,f.sD)(e.target,(0,f.wt)(t))&&null!=e.pointerType){let r=!1,n=setTimeout(()=>{e.isPressed&&e.target instanceof HTMLElement&&(r?Y(t):((0,h.e)(e.target),e.target.click()))},80);H(t.currentTarget,"click",()=>r=!0,!0),e.disposables.push(()=>clearTimeout(n))}else Y(t);e.isOverTarget=!1}},n=e=>{Y(e)};t.onDragStart=e=>
1{(0,f.sD)(e.currentTarget,(0,f.wt)(e))&&Y(e)}}return t},[H,F,q,W,L,Z,V,ee,et]);return(0,P.useEffect)(()=>{if(!M)return;let e=(0,o.TW)(M.current);if(!e||!e.head||e.getElementById(R))return;let t=e.createElement("style");t.id=R;let r=(0,p.m)(e);r&&(t.nonce=r),t.textContent=` 2@layer { 3 [${C}] { 4 touch-action: pan-x pan-y pinch-zoom; 5 } 6} 7 `.trim(),e.head.prepend(t)},[M]),(0,P.useEffect)(()=>{let e=B.current;return()=>{for(let t of(L||d(e.target??void 0),e.disposables))t();e.disposables=[]}},[L]),{isPressed:N||$,pressProps:(0,g.v)(K,er,{[C]:!0})}}function _(e){return"A"===e.tagName&&e.hasAttribute("href")}function I(e,t){let{key:r,code:n}=e,i=t.getAttribute("role");return("Enter"===r||" "===r||"Spacebar"===r||"Space"===n)&&!(t instanceof(0,o.mD)(t).HTMLInputElement&&!O(t,r)||t instanceof(0,o.mD)(t).HTMLTextAreaElement||t.isContentEditable)&&!(("link"===i||!i&&_(t))&&"Enter"!==r)}function A(e,t){let r=t.clientX,n=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:r,clientY:n,key:t.key}}function k(e,t){return e instanceof HTMLInputElement?!O(e,t):!(e instanceof HTMLInputElement)&&(e instanceof HTMLButtonElement?"submit"!==e.type&&"reset"!==e.type:!_(e))}let D=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function O(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:D.has(e.type)}},11701:(e,t,r)=>{"use strict";var n=r(64247),i=r(18561),o=r(38539),a=r(75983),s=r(4005);function l(e,t,r,i){return new n(e,t,r,i)}l.version=r(21800),l.AlgoliaSearchHelper=n,l.SearchParameters=a,l.RecommendParameters=i,l.SearchResults=s,l.RecommendResults=o,e.exports=l},12859:(e,t,r)=>{"use strict";r.d(t,{T:()=>o});var n=r(97213),i=r(14232);function o(e){let[t,r]=(0,n.P)(e.isOpen,e.defaultOpen||!1,e.onOpenChange),o=(0,i.useCallback)(()=>{r(!0)},[r]),a=(0,i.useCallback)(()=>{r(!1)},[r]),s=(0,i.useCallback)(()=>{r(!t)},[r,t]);return{isOpen:t,setOpen:r,open:o,close:a,toggle:s}}},13286:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});let n=(0,r(14232).createContext)({isSelected:!1})},14e3:(e,t,r)=>{e.exports=r(49077)},14741:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(64252),i=r(88365),o=r(37876),a=i._(r(14232)),s=n._(r(98477)),l=n._(r(88022)),u=r(61925),c=r(50946),d=r(85526);r(88912);let h=r(75067),f=n._(r(52795)),p=r(33872),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,o,a){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),r?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}n?.current&&n.current(e)}}))}function y(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,a.forwardRef)(({src:e,srcSet:t,sizes:r,height:n,width:i,decoding:s,className:l,style:u,fetchPriority:c,placeholder:d,loading:h,unoptimized:f,fill:m,onLoadRef:v,onLoadingCompleteRef:b,setBlurComplete:w,setShowAltText:E,sizesInput:P,onLoad:S,onError:x,...R},C)=>{let T=(0,a.useCallback)(e=>{e&&(x&&(e.src=e.src),e.complete&&g(e,d,v,b,w,f,P))},[e,d,v,b,w,x,f,P]),_=(0,p.useMergedRef)(C,T);return(0,o.jsx)("img",{...R,...y(c),loading:h,width:i,height:n,decoding:s,"data-nimg":m?"fill":"1",className:l,style:u,sizes:r,srcSet:t,src:e,ref:_,onLoad:e=>{g(e.currentTarget,d,v,b,w,f,P)},onError:e=>{E(!0),"empty"!==d&&w(!0),x&&x(e)}})});function b({isAppRouter:e,imgAttributes:t}){let r={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...y(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,r),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...r},"__nimg-"+t.src+t.srcSet+t.sizes)})}let w=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(h.RouterContext),n=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=m||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
7e-t),r=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:r,qualities:i,localPatterns:e.localPatterns}},[n]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[y,w]=(0,a.useState)(!1),[E,P]=(0,a.useState)(!1),{props:S,meta:x}=(0,u.getImgProps)(e,{defaultLoader:f.default,imgConf:i,blurComplete:y,showAltText:E});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v,{...S,unoptimized:x.unoptimized,placeholder:x.placeholder,fill:x.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:P,sizesInput:e.sizes,ref:t}),x.preload?(0,o.jsx)(b,{isAppRouter:!r,imgAttributes:S}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},15738:(e,t,r)=>{"use strict";var n=r(65865),i=r(81073),o=r(18963),a=r(9945),s=r(22009)||a||o;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new n("Side channel does not contain "+(e&&Object(e)===e?"the given object key":i(e)))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,r){e||(e=s()),e.set(t,r)}};return t}},16445:(e,t,r)=>{"use strict";r.d(t,{N:()=>u,Y:()=>l});var n=r(68092),i=r(19),o=r(71489),a=r(50529),s=r(14232);let l=s.forwardRef(({children:e,...t},r)=>{let l=(0,s.useRef)(!1),u=(0,s.useContext)(i.F),c=(0,n.v)(u||{},{...t,register(){l.current=!0,u&&u.register()}});return c.ref=(0,o.U)(r||u?.ref),(0,a.w)(u,c.ref),(0,s.useEffect)(()=>{l.current||(l.current=!0)},[]),s.createElement(i.F.Provider,{value:c},e)});function u({children:e}){let t=(0,s.useMemo)(()=>({register:()=>{}}),[]);return s.createElement(i.F.Provider,{value:t},e)}},16667:(e,t)=>{"use strict";t._=function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}},16806:(e,t)=>{"use strict";function r({widthInt:e,heightInt:t,blurWidth:n,blurHeight:i,blurDataURL:o,objectFit:a}){let s=n?40*n:e,l=i?40*i:t,u=s&&l?`viewBox='0 0 ${s} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${o}'/%3E%3C/svg%3E`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},16870:(e,t,r)=>{"use strict";let n;r.d(t,{H:()=>p});var i=r(63311),o=r(29786),a=r(41863),s=r(66595),l=r(84947),u=r(80909),c=r(3696),d=r(25885);let h="u">typeof document&&window.visualViewport,f=0;function p(e={}){let{isDisabled:t}=e;(0,c.N)(()=>{if(!t){let e,t,r,c,h,p,v,b;return 1==++f&&(n=(0,l.un)()?(t=m(document.documentElement,"overflow","hidden"),r=!1,c=document.createElement("style"),(h=(0,a.m)())&&(c.nonce=h),c.textContent=` 8@layer { 9 * { 10 overscroll-behavior: contain; 11 } 12}`.trim(),document.head.prepend(c),p=HTMLElement.prototype.focus,HTMLElement.prototype.focus=function(e){let t=(0,o.bq)(),r=null!=t&&(0,d.o)(t);p.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||y(this,r)},v=(0,i.c)(g(document,"touchstart",t=>{let n=(0,o.wt)(t);e=(0,u.o)(n)?n:(0,s.m)(n,!0),r=!1;let i=n.ownerDocument.defaultView.getSelection();i&&!i.isCollapsed&&i.containsNode(n,!0)&&(r=!0),t.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(r=!0),"selectionStart"in n&&"selectionEnd"in n&&n.selectionStart<n.selectionEnd&&n.ownerDocument.activeElement===n&&(r=!0)},{passive:!1,capture:!0}),g(document,"touchmove",t=>{if(2!==t.touches.length&&!r){if(!e||e===document.documentElement||e===document.body)return void t.preventDefault();e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault()}},{passive:!1,capture:!0}),g(document,"blur",e=>{let t=(0,o.wt)(e),r=e.relatedTarget;if(r&&(0,d.o)(r))r.focus({preventScroll:!0}),y(r,(0,d.o)(t));else if(!r){let e=t.parentElement?.closest("[tabindex]");e?.focus({preventScroll:!0})}},!0)),()=>
12{t(),v(),c.remove(),HTMLElement.prototype.focus=p}):(b=window.innerWidth-document.documentElement.clientWidth,(0,i.c)(b>0&&("scrollbarGutter"in document.documentElement.style?m(document.documentElement,"scrollbarGutter","stable"):m(document.documentElement,"paddingRight",`${b}px`)),m(document.documentElement,"overflow","hidden")))),()=>{0==--f&&n()}}},[t])}function m(e,t,r){let n=e.style[t];return e.style[t]=r,()=>{e.style[t]=n}}function g(e,t,r,n){return e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}function y(e,t){t||!h?v(e):h.addEventListener("resize",()=>v(e),{once:!0})}function v(e){let t=document.scrollingElement||document.documentElement,r=e;for(;r&&r!==t;){let e=(0,s.m)(r);if(e!==document.documentElement&&e!==document.body&&e!==r){let t=e.getBoundingClientRect(),n=r.getBoundingClientRect();if(n.top<t.top||n.bottom>t.top+r.clientHeight){let r=t.bottom;h&&(r=Math.min(r,h.offsetTop+h.height));let i=n.top-t.top-((r-t.top)/2-n.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+i)),behavior:"smooth"})}}r=e.parentElement}}},16968:(e,t)=>{"use strict";t._=function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},17132:(e,t,r)=>{"use strict";r.d(t,{e:()=>d});var n=r(29786),i=r(32639),o=r(92786),a=r(88001),s=r(34200),l=r(14232);function u(e,t){if(e.button>0)return!1;let r=(0,n.wt)(e);if(r){let e=r.ownerDocument;if(!e||!(0,n.sD)(e.documentElement,r)||r.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}let c=[];function d(e,t){let{onClose:r,shouldCloseOnBlur:d,isOpen:h,isDismissable:f=!1,isKeyboardDismissDisabled:p=!1,shouldCloseOnInteractOutside:m}=e,g=(0,l.useRef)(void 0);(0,l.useEffect)(()=>{if(h&&!c.includes(t))return c.push(t),()=>{let e=c.indexOf(t);e>=0&&c.splice(e,1)}},[h,t]);let y=()=>{c[c.length-1]===t&&r&&r()};!function(e){let{ref:t,onInteractOutside:r,isDisabled:n,onInteractOutsideStart:i}=e,o=(0,l.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),c=(0,s.J)(e=>{r&&u(e,t)&&(i&&i(e),o.current.isPointerDown=!0)}),d=(0,s.J)(e=>{r&&r(e)});(0,l.useEffect)(()=>{let e=o.current;if(n)return;let r=t.current,i=(0,a.TW)(r);if("u">typeof PointerEvent){let r=r=>{e.isPointerDown&&u(r,t)&&d(r),e.isPointerDown=!1};return i.addEventListener("pointerdown",c,!0),i.addEventListener("click",r,!0),()=>{i.removeEventListener("pointerdown",c,!0),i.removeEventListener("click",r,!0)}}},[t,n])}({ref:t,onInteractOutside:f&&h?e=>{(!m||m((0,n.wt)(e)))&&(c[c.length-1]===t&&e.stopPropagation(),g.current===t&&y()),g.current=void 0}:void 0,onInteractOutsideStart:e=>{let r=c[c.length-1];g.current=r,(!m||m((0,n.wt)(e)))&&r===t&&e.stopPropagation()}});let{focusWithinProps:v}=(0,o.R)({isDisabled:!d,onBlurWithin:e=>{!(!e.relatedTarget||(0,i.Pu)(e.relatedTarget))&&(!m||m(e.relatedTarget))&&r?.()}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||p||e.nativeEvent.isComposing||(e.stopPropagation(),e.preventDefault(),y())},...v},underlayProps:{}}}},17330:(e,t,r)=>{"use strict";var n=r(6865),i=r(65399);t._=function(e,t){return t&&("object"===i._(t)||"function"==typeof t)?t:n._(e)}},17797:(e,t,r)=>{"use strict";r.d(t,{C:()=>o});var n=r(7436),i=r(14232);function o(){return(0,n._)((0,i.useReducer)(function(e){return e+1},0),2)[1]}},18561:e=>{"use strict";function t(e){e=e||{},this.params=e.params||[]}t.prototype={constructor:t,addParams:function(e){var r=this.params.slice();return r.push(e),new t({params:r})},removeParams:function(e){return new t({params:this.params.filter(function(t){return t.$$id!==e})})},addFrequentlyBoughtTogether:function(e){return this.addParams(Object.assign({},e,{model:"bought-together"}))},addRelatedProducts:function(e){return this.addParams(Object.assign({},e,{model:"related-products"}))},addTrendingItems:function(e){return this.addParams(Object.assign({},e,{model:"trending-items"}))},addTrendingFacets:function(e){return this.addParams(Object.assign({},e,{model:"trending-facets"}))},addLookingSimilar:function(e){return this.addParams(Object.assign({},e,{model:"looking-similar"}))},_buildQueries:function(e,t){return this.params.filter(function(e){return void 0===t[e.$$id]}).map(function(t){var r=Object.assign({},t,{indexName:e,threshold:t.threshold||0});return delete r.$$id,r})}},e.exports=t},18570:(e,t,r)=>{"use strict";r.d(t,{J:()=>n});
12class n{constructor(e){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.iterable=e;let t=e=>{if(this.keyMap.set(e.key,e),e.childNodes&&"section"===e.type)for(let r of e.childNodes)t(r)};for(let r of e)t(r);let r=null,n=0,i=0;for(let[e,t]of this.keyMap)r?(r.nextKey=e,t.prevKey=r.key):(this.firstKey=e,t.prevKey=void 0),"item"===t.type&&(t.index=n++),("section"===t.type||"item"===t.type)&&i++,(r=t).nextKey=void 0;this._size=i,this.lastKey=r?.key??null}*[Symbol.iterator](){yield*this.iterable}get size(){return this._size}getKeys(){return this.keyMap.keys()}getKeyBefore(e){let t=this.keyMap.get(e);return t?t.prevKey??null:null}getKeyAfter(e){let t=this.keyMap.get(e);return t?t.nextKey??null:null}getFirstKey(){return this.firstKey}getLastKey(){return this.lastKey}getItem(e){return this.keyMap.get(e)??null}at(e){let t=[...this.getKeys()];return this.getItem(t[e])}getChildren(e){let t=this.keyMap.get(e);return t?.childNodes||[]}}},18963:(e,t,r)=>{"use strict";var n=r(81073),i=r(65865),o=function(e,t,r){for(var n,i=e;null!=(n=i.next);i=n)if(n.key===t)return i.next=n.next,r||(n.next=e.next,e.next=n),n},a=function(e,t){if(e){var r=o(e,t);return r&&r.value}},s=function(e,t,r){var n=o(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},l=function(e,t){if(e)return o(e,t,!0)};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+n(e))},delete:function(t){var r=l(e,t);return r&&e&&!e.next&&(e=void 0),!!r},get:function(t){return a(e,t)},has:function(t){var r;return!!(r=e)&&!!o(r,t)},set:function(t,r){e||(e={next:void 0}),s(e,t,r)}};return t}},19958:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEach(function(r){void 0!==t[r]&&(void 0!==e[r]&&delete e[r],e[r]=t[r])}),e},{})}},19975:(e,t,r)=>{"use strict";r.d(t,{i:()=>a,x:()=>c});var n={"&":"&","<":"<",">":">",'"':""","'":"'"},i=/[&<>"']/g,o=RegExp(i.source);function a(e){return e&&o.test(e)?e.replace(i,function(e){return n[e]}):e}var s={"&":"&","<":"<",">":">",""":'"',"'":"'"},l=/&(amp|quot|lt|gt|#39);/g,u=RegExp(l.source);function c(e){return e&&u.test(e)?e.replace(l,function(e){return s[e]}):e}},20481:(e,t)=>{"use strict";t._=function(e,t){if(null==e)return{};var r,n,i={},o=Object.getOwnPropertyNames(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}},20607:(e,t,r)=>{"use strict";r.d(t,{n:()=>a});var n=r(27570);class i{constructor(e){this.ref=e}getItemRect(e){let t=this.ref.current;if(!t)return null;let r=null!=e?(0,n.au)(this.ref,e):null;if(!r)return null;let i=t.getBoundingClientRect(),o=r.getBoundingClientRect();return{x:o.left-i.left-t.clientLeft+t.scrollLeft,y:o.top-i.top-t.clientTop+t.scrollTop,width:o.width,height:o.height}}getContentSize(){let e=this.ref.current;return{width:e?.scrollWidth??0,height:e?.scrollHeight??0}}getVisibleRect(){let e=this.ref.current;return{x:e?.scrollLeft??0,y:e?.scrollTop??0,width:e?.clientWidth??0,height:e?.clientHeight??0}}}var o=r(80909);class a{constructor(...e){if(1===e.length){let t=e[0];this.collection=t.collection,this.ref=t.ref,this.collator=t.collator,this.disabledKeys=t.disabledKeys||new Set,this.disabledBehavior=t.disabledBehavior||"all",this.orientation=t.orientation||"vertical",this.direction=t.direction,this.layout=t.layout||"stack",this.layoutDelegate=t.layoutDelegate||new i(t.ref)}else this.collection=e[0],this.disabledKeys=e[1],this.ref=e[2],this.collator=e[3],this.layout="stack",this.orientation="vertical",this.disabledBehavior="all",this.layoutDelegate=new i(this.ref);"stack"===this.layout&&"vertical"===this.orientation&&(this.getKeyLeftOf=void 0,this.getKeyRightOf=void 0)}isDisabled(e){return"all"===this.disabledBehavior&&(e.props?.isDisabled||this.disabledKeys.has(e.key))&&e.props?.disabledBehavior!=="selection"}findNextNonDisabled(e,t,r=!1){let n=e;for(;null!=n;){let e=this.collection.getItem(n);if(e?.type==="item"&&(r||!this.isDisabled(e)))return n;n=t(n)}return null}getNextKey(e,t){let r=e;return r=this.collection.getKeyAfter(r),this.findNextNonDisabled(r,e=>this.collection.getKeyAfter(e),t?.includeDisabled)}getPreviousKey(e,t){let r=e;return r=this.collection.getKeyBefore(r),this.findNextNonDisabled(r,e=>this.collection.getKeyBefore(e),t?.includeDisabled)}findKey(e,t,r){let n=e,i=this.layoutDelegate.getItemRect(n);if(!i||null==n)return null;let o=i;do{if(null==(n=t(n)))break;i=this.layoutDelegate.getItemRect(n)}while(i&&r(o,i)&&null!=n);return n}isSameRow(e,t){return e.y===t.y||e.x!==t.x}isSameColumn(e,t){return e.x===t.x||e.y!==t.y}isReversed(e){let t=this.getNextKey(e),r=(0,n.au)(this.ref,e);if(null!=t){let e=(0,n.au)(this.ref,t);return!!r&&!!e&&r.getBoundingClientRect().top>e.getBoundingClientRect().top}let i=this.getPreviousKey(e);if(null!=i){let e=(0,n.au)(this.ref,i);return!!r&&!!e&&e.getBoundingClientRect().top>r.getBoundingClientRect().top}return!1}getKeyBelow(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getNextKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getPreviousKey(e,t):this.getNextKey(e,t)}
12getKeyAbove(e,t){return"grid"===this.layout&&"vertical"===this.orientation?this.findKey(e,e=>this.getPreviousKey(e,t),this.isSameRow):"vertical"===this.orientation&&this.isReversed(e)?this.getNextKey(e,t):this.getPreviousKey(e,t)}getNextColumn(e,t,r){return t?this.getPreviousKey(e,r):this.getNextKey(e,r)}getKeyRightOf(e,t){let r="ltr"===this.direction?"getKeyRightOf":"getKeyLeftOf";if(this.layoutDelegate[r])return e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[r](e),t?.includeDisabled);if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"rtl"===this.direction,t);else return this.findKey(e,e=>this.getNextColumn(e,"rtl"===this.direction,t),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"rtl"===this.direction,t):null}getKeyLeftOf(e,t){let r="ltr"===this.direction?"getKeyLeftOf":"getKeyRightOf";if(this.layoutDelegate[r])return e=this.layoutDelegate[r](e),this.findNextNonDisabled(e,e=>this.layoutDelegate[r](e),t?.includeDisabled);if("grid"===this.layout)if("vertical"===this.orientation)return this.getNextColumn(e,"ltr"===this.direction,t);else return this.findKey(e,e=>this.getNextColumn(e,"ltr"===this.direction,t),this.isSameColumn);return"horizontal"===this.orientation?this.getNextColumn(e,"ltr"===this.direction,t):null}getFirstKey(){let e=this.collection.getFirstKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyAfter(e))}getLastKey(){let e=this.collection.getLastKey();return this.findNextNonDisabled(e,e=>this.collection.getKeyBefore(e))}getKeyPageAbove(e){let t=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;let n=this.isReversed(e);if(t&&!(0,o.o)(t))return this.getFirstKey();let i=e;if("horizontal"===this.orientation){let e=Math.max(0,r.x+r.width-this.layoutDelegate.getVisibleRect().width);for(;r&&r.x>e&&null!=i;)r=null==(i=this.getKeyAbove(i))?null:this.layoutDelegate.getItemRect(i)}else{let e=this.layoutDelegate.getVisibleRect(),t=n?r.y-e.height:Math.max(0,r.y+r.height-e.height);for(;r&&r.y>t&&null!=i;)r=null==(i=this.getKeyAbove(i))?null:this.layoutDelegate.getItemRect(i)}return i??(n?this.getLastKey():this.getFirstKey())}getKeyPageBelow(e){let t=this.ref.current,r=this.layoutDelegate.getItemRect(e);if(!r)return null;let n=this.isReversed(e);if(t&&!(0,o.o)(t))return this.getLastKey();let i=e;if("horizontal"===this.orientation){let e=Math.min(this.layoutDelegate.getContentSize().width,r.x-r.width+this.layoutDelegate.getVisibleRect().width);for(;r&&r.x<e&&null!=i;)r=null==(i=this.getKeyBelow(i))?null:this.layoutDelegate.getItemRect(i)}else{let e=Math.min(this.layoutDelegate.getContentSize().height,r.y-r.height+this.layoutDelegate.getVisibleRect().height);for(;r&&r.y<e&&null!=i;)r=null==(i=this.getKeyBelow(i))?null:this.layoutDelegate.getItemRect(i)}return i??(n?this.getFirstKey():this.getLastKey())}getKeyForSearch(e,t){if(!this.collator)return null;let r=this.collection,n=t||this.getFirstKey();for(;null!=n;){let t=r.getItem(n);if(!t)break;let i=t.textValue.slice(0,e.length);if(t.textValue&&0===this.collator.compare(i,e))return n;n=this.getNextKey(n)}return null}}},21393:(e,t,r)=>{"use strict";var n=r(33655);t._=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),i.forEach(function(t){n._(e,t,r[t])})}return e}},21800:e=>{"use strict";e.exports="3.28.0"},22009:(e,t,r)=>{"use strict";var n=r(45525),i=r(73442),o=r(81073),a=r(9945),s=r(65865),l=n("%WeakMap%",!0),u=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),h=i("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,r={assert:function(e){if(!r.has(e))throw new s("Side channel does not contain "+o(e))},delete:function(r){if(l&&r&&("object"==typeof r||"function"==typeof r)){if(e)return h(e,r)}else if(a&&t)return t.delete(r);return!1},get:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?u(e,r):t&&t.get(r)},has:function(r){return l&&r&&("object"==typeof r||"function"==typeof r)&&e?d(e,r):!!t&&t.has(r)},set:function(r,n){l&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new l),c(e,r,n)):a&&(t||(t=a()),t.set(r,n))}};return r}:a},22167:(e,t,r)=>{"use strict";r.d(t,{qF:()=>V,JC:()=>H,nh:()=>J,DN:()=>W});var n=r(2572),i=r(94111),o=r(14232);let a=(0,o.createContext)({}),s=(0,o.createContext)(null),l=(0,o.forwardRef)(function(e,t){let{render:r}=(0,o.useContext)(s);return o.createElement(o.Fragment,null,r(e,t))});function u(e,t){var r;let n=null==e?void 0:e.renderDropIndicator,i=null==e||null==(r=e.isVirtualDragging)?void 0:r.call(e),a=(0,o.useCallback)(e=>{if(i||(null==t?void 0:t.isDropTarget(e)))return n?n(e):o.createElement(l,{target:e})},[null==t?void 0:t.target,i,n]);return(null==e?void 0:e.useDropIndicator)?a:void 0}let c=(0,o.createContext)({});var d=r(4644),h=r(13286),f=r(91681);let p=(0,o.createContext)({});class m extends f.Pt{filter(e,t){let r=t.getItem(this.prevKey);if(r&&"separator"!==r.type){let r=this.clone();return t.addDescendants(r,e),r}return null}}m.type="separator";var g=r(6755),y=r(50442),v=r(81719),b=r(67022),w=r(20607),E=r(50302),P=r(67027),S=r(68092),x=r(92786),R=r(95800),C=r(25940),T=r(82554),_=r(93406),I=r(32639),A=r(63311),k=r(70977),D=r(28061),O=r(48553),F=r(87802),N=r(59161),q=r(55843),j=r(68762),L=r(69274),M=r(71489),K=r(66595),$=r(34200),U=r(3696),B=r(3097);let H=(0,o.createContext)(null),W=(0,o.createContext)(null),V=(0,o.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,H);let r=(0,o.useContext)(W);return r?o.createElement(G,{state:r,props:e,listBoxRef:t}):o.createElement(j.GQ,{content:o.createElement(j.pM,e)},r=>o.createElement(z,{props:e,listBoxRef:t,collection:r}))});function z({props:e,listBoxRef:t,collection:r}){e={...e,collection:r,children:null,items:null};let{layoutDelegate:n}=(0,o.useContext)(i.zL),a=(0,L.p)({...e,layoutDelegate:n});return o.createElement(G,{state:a,props:e,listBoxRef:t})}function G({state:e,props:t,listBoxRef:r}){let l,c,h;[t,r]=(0,n.JT)(t,r,d.Co);let{dragAndDropHooks:f,layout:m="stack",orientation:y="vertical",filter:A}=t,k=(0,L.Z)(e,A),{collection:D,selectionManager:O}=k,F=!!(null==f?void 0:f.useDraggableCollectionState),N=!!(null==f?void 0:f.useDroppableCollectionState),{direction:q}=(0,v.Y)(),{disabledBehavior:j,disabledKeys:M}=O,K=(0,b.Q)({usage:"search",sensitivity:"base"}),{isVirtualized:$,layoutDelegate:U,dropTargetDelegate:B,CollectionRoot:V}=(0,o.useContext)(i.zL),z=(0,o.useMemo)(()=>t.keyboardDelegate||new(0,w.n)({collection:D,collator:K,ref:r,disabledKeys:M,disabledBehavior:j,layout:m,orientation:y,direction:q,layoutDelegate:U}),[D,K,r,j,M,y,q,t.keyboardDelegate,m,U]),{listBoxProps:J}=function(e,t,r){let n=(0,E.$)(e,{labelable:!0}),i=e.selectionBehavior||"toggle",a=e.orientation||"vertical",s=e.linkBehavior||("replace"===i?"action":"override");"toggle"===i&&"action"===s&&(s="override");let{listProps:l}=function(e){let{selectionManager:t,collection:r,disabledKeys:n,ref:i,keyboardDelegate:a,layoutDelegate:s,orientation:l}=e,u=(0,b.Q)({usage:"search",sensitivity:"base"}),c=t.disabledBehavior,d=(0,o.useMemo)(()=>a||new(0,w.n)({collection:r,disabledKeys:n,disabledBehavior:c,ref:i,collator:u,layoutDelegate:s,orientation:l}),[a,s,r,n,i,u,c,l]),{collectionProps:h}=(0,T.y)({...e,ref:i,selectionManager:t,keyboardDelegate:d});return{listProps:h}}({...e,ref:r,selectionManager:t.selectionManager,collection:t.collection,disabledKeys:t.disabledKeys,linkBehavior:s}),{focusWithinProps:u}=(0,x.R)({onFocusWithin:e.onFocus,onBlurWithin:e.onBlur,onFocusWithinChange:e.onFocusChange}),c=(0,R.Bi)(e.id);P.b.set(t,{id:c,shouldUseVirtualFocus:e.shouldUseVirtualFocus,shouldSelectOnPressUp:e.shouldSelectOnPressUp,shouldFocusOnHover:e.shouldFocusOnHover,isVirtualized:e.isVirtualized,onAction:e.onAction,linkBehavior:s,UNSTABLE_itemBehavior:e.UNSTABLE_itemBehavior});let{labelProps:d,fieldProps:h}=(0,C.M)({...e,id:c,labelElementType:"span"});return{labelProps:d,listBoxProps:(0,S.v)(n,u,"multiple"===t.selectionManager.selectionMode?{"aria-multiselectable":"true"}:{},{role:"listbox","aria-orientation":a,...(0,S.v)(h,l)})}}({...t,shouldSelectOnPressUp:F||t.shouldSelectOnPressUp,keyboardDelegate:z,isVirtualized:$},k,r);(0,o.useRef)(F),(0,o.useRef)(N),(0,o.useEffect)(()=>{},[F,N]);let Y=!1,Z=null,ee=(0,o.useRef)(null);if(F&&f){l=f.useDraggableCollectionState({collection:D,selectionManager:O,preview:f.renderDragPreview?ee:void 0}),f.useDraggableCollection({},l,r);let e=f.DragPreview;Z=f.renderDragPreview?o.createElement(e,{ref:ee},f.renderDragPreview):null}if(N&&f){c=f.useDroppableCollectionState({collection:D,selectionManager:O});let e=f.dropTargetDelegate||B||new f.ListDropTargetDelegate(D,r,{orientation:y,layout:m,direction:q});h=f.useDroppableCollection({keyboardDelegate:z,dropTargetDelegate:e},c,r),Y=c.isDropTarget({type:"root"})}let{focusProps:et,isFocused:er,isFocusVisible:en}=(0,_.o)(),ei=0===k.collection.size,eo={isDropTarget:Y,isEmpty:ei,isFocused:er,isFocusVisible:en,layout:t.layout||"stack",state:k},ea=(0,n.Sl)({...t,children:void 0,defaultClassName:"react-aria-ListBox",values:eo}),es=null;ei&&t.renderEmptyState&&(es=o.createElement("div",{role:"option",style:{display:"contents"}},t.renderEmptyState(eo)));let el=(0,E.$)(t,{global:!0});return o.createElement(I.n1,null,o.createElement(n.tT.div,{...(0,S.v)(el,ea,J,et,null==h?void 0:h.collectionProps),ref:r,
12slot:t.slot||void 0,onScroll:t.onScroll,"data-drop-target":Y||void 0,"data-empty":ei||void 0,"data-focused":er||void 0,"data-focus-visible":en||void 0,"data-layout":t.layout||"stack","data-orientation":t.orientation||"vertical"},o.createElement(n.Kq,{values:[[H,t],[W,k],[a,{dragAndDropHooks:f,dragState:l,dropState:c}],[p,{elementType:"div"}],[s,{render:X}],[i.P2,{name:"ListBoxSection",render:Q}]]},o.createElement(g.D,null,o.createElement(V,{collection:D,scrollRef:r,persistedKeys:function(e,t,r){var n,i,a,s,l,u;let c=e.focusedKey,d=null;if((null==t||null==(n=t.isVirtualDragging)?void 0:n.call(t))&&(null==r||null==(i=r.target)?void 0:i.type)==="item"&&(d=r.target.key,"after"===r.target.dropPosition)){let e=r.collection.getKeyAfter(d),t=null;if(null!=e){let n=null!=(s=null==(a=r.collection.getItem(d))?void 0:a.level)?s:0;for(;e;){let i=r.collection.getItem(e);if(!i)break;if("item"!==i.type){e=r.collection.getKeyAfter(e);continue}if((null!=(l=i.level)?l:0)<=n)break;t=e,e=r.collection.getKeyAfter(e)}}d=null!=(u=null!=e?e:t)?u:d}return(0,o.useMemo)(()=>new Set([c,d].filter(e=>null!=e)),[c,d])}(O,f,c),renderDropIndicator:u(f,c)}))),es,Z))}function Q(e,t,r,s="react-aria-ListBoxSection"){var l;let d=(0,o.useContext)(W),{dragAndDropHooks:h,dropState:f}=(0,o.useContext)(a),{CollectionBranch:p}=(0,o.useContext)(i.zL),[m,g]=(0,n._E)(),{headingProps:y,groupProps:v}=function(e){let{heading:t,"aria-label":r}=e,n=(0,R.Bi)();return{itemProps:{role:"presentation"},headingProps:t?{id:n,role:"presentation",onMouseDown:e=>{e.preventDefault()}}:{},groupProps:{role:"group","aria-label":r,"aria-labelledby":t?n:void 0}}}({heading:g,"aria-label":null!=(l=e["aria-label"])?l:void 0}),b=(0,n.Sl)({...e,id:void 0,children:void 0,defaultClassName:s,values:void 0}),w=(0,E.$)(e,{global:!0});return delete w.id,o.createElement(n.tT.section,{...(0,S.v)(w,b,v),ref:t},o.createElement(c.Provider,{value:{...y,ref:m}},o.createElement(p,{collection:d.collection,parent:r,renderDropIndicator:u(h,f)})))}let J=(0,j.KU)(f._B,function(e,t,r){let i=(0,M.U)(t),s=(0,o.useContext)(W),{dragAndDropHooks:l,dragState:u,dropState:c}=(0,o.useContext)(a),{optionProps:d,labelProps:f,descriptionProps:p,...m}=function(e,t,r){let{key:n}=e,i=P.b.get(t),o=e.isDisabled??t.selectionManager.isDisabled(n),a=e.isSelected??t.selectionManager.isSelected(n),s=e.shouldSelectOnPressUp??i?.shouldSelectOnPressUp,l=e.shouldFocusOnHover??i?.shouldFocusOnHover,u=e.shouldUseVirtualFocus??i?.shouldUseVirtualFocus,c=e.isVirtualized??i?.isVirtualized,d=(0,R.X1)(),h=(0,R.X1)(),f={role:"option","aria-disabled":o||void 0,"aria-selected":"none"!==t.selectionManager.selectionMode?a:void 0,"aria-label":e["aria-label"],"aria-labelledby":d,"aria-describedby":h},p=t.collection.getItem(n);if(c){let e=Number(p?.index);f["aria-posinset"]=Number.isNaN(e)?void 0:e+1,f["aria-setsize"]=(0,N.v)(t.collection)}let m=i?.onAction?()=>i?.onAction?.(n):void 0,g=(0,P.H)(t,n),{itemProps:y,isPressed:v,isFocused:b,hasAction:w,allowsSelection:x}=(0,D.p)({selectionManager:t.selectionManager,key:n,ref:r,shouldSelectOnPressUp:s,allowsDifferentPressOrigin:s&&l,isVirtualized:c,shouldUseVirtualFocus:u,isDisabled:o,onAction:m||p?.props?.onAction?(0,A.c)(p?.props?.onAction,m):void 0,linkBehavior:i?.linkBehavior,UNSTABLE_itemBehavior:i?.UNSTABLE_itemBehavior,id:g}),{hoverProps:C}=(0,O.M)({isDisabled:o||!l,onHoverStart(){(0,k.pP)()||(t.selectionManager.setFocused(!0),t.selectionManager.setFocusedKey(n))}}),T=(0,E.$)(p?.props);delete T.id;let _=(0,F._h)(p?.props);return{optionProps:{...f,...(0,S.v)(T,y,C,_),id:g},labelProps:{id:d},descriptionProps:{id:h},isFocused:b,isFocusVisible:b&&t.selectionManager.isFocused&&(0,k.pP)(),isSelected:a,isDisabled:o,isPressed:v,allowsSelection:x,hasAction:w}}({key:r.key,"aria-label":null==e?void 0:e["aria-label"]},s,i),{hoverProps:g,isHovered:v}=(0,O.M)({isDisabled:!m.allowsSelection&&!m.hasAction,onHoverStart:r.props.onHoverStart,onHoverChange:r.props.onHoverChange,onHoverEnd:r.props.onHoverEnd}),{focusProps:b}=(0,q.i)(e),w=null;u&&l&&(w=l.useDraggableItem({key:r.key,hasAction:m.hasAction},u));let x=null;c&&l&&(x=l.useDroppableItem({target:{type:"item",key:r.key,dropPosition:"on"}},c,i));let C=u&&u.isDragging(r.key),T=(0,n.Sl)({...e,id:void 0,children:e.children,defaultClassName:"react-aria-ListBoxItem",values:{...m,isH
12overed:v,selectionMode:s.selectionManager.selectionMode,selectionBehavior:s.selectionManager.selectionBehavior,allowsDragging:!!u,isDragging:C,isDropTarget:null==x?void 0:x.isDropTarget}});(0,o.useEffect)(()=>{r.textValue},[r.textValue]);let _=e.href?n.tT.a:n.tT.div,I=(0,E.$)(e,{global:!0});return delete I.id,delete I.onClick,e.href&&null==d.tabIndex&&(d.tabIndex=-1),o.createElement(_,{...(0,S.v)(I,T,d,g,b,null==w?void 0:w.dragProps,null==x?void 0:x.dropProps),ref:i,"data-allows-dragging":!!u||void 0,"data-selected":m.isSelected||void 0,"data-disabled":m.isDisabled||void 0,"data-hovered":v||void 0,"data-focused":m.isFocused||void 0,"data-focus-visible":m.isFocusVisible||void 0,"data-pressed":m.isPressed||void 0,"data-dragging":C||void 0,"data-drop-target":(null==x?void 0:x.isDropTarget)||void 0,"data-selection-mode":"none"===s.selectionManager.selectionMode?void 0:s.selectionManager.selectionMode},o.createElement(n.Kq,{values:[[y.h,{slots:{[n.P_]:f,label:f,description:p}}],[h.r,{isSelected:m.isSelected}]]},T.children))});function X(e,t){t=(0,M.U)(t);let{dragAndDropHooks:r,dropState:n}=(0,o.useContext)(a),{dropIndicatorProps:i,isHidden:s,isDropTarget:l}=r.useDropIndicator(e,n,t);return s?null:o.createElement(Y,{...e,dropIndicatorProps:i,isDropTarget:l,ref:t})}let Y=(0,o.forwardRef)(function(e,t){let{dropIndicatorProps:r,isDropTarget:i,...a}=e,s=(0,n.Sl)({...a,defaultClassName:"react-aria-DropIndicator",values:{isDropTarget:i}});return o.createElement(n.tT.div,{...r,...s,role:"option",ref:t,"data-drop-target":i||void 0})});(0,j.KU)(f.OJ,function(e,t,r){let i=(0,o.useContext)(W),{isLoading:a,onLoadMore:s,scrollOffset:l,...u}=e,c=(0,o.useRef)(null);!function(e,t){let{collection:r,onLoadMore:n,scrollOffset:i=1}=e,a=(0,o.useRef)(null),s=(0,$.J)(e=>{for(let t of e)t.isIntersecting&&n&&n()});(0,U.N)(()=>(t.current&&(a.current=new IntersectionObserver(s,{root:(0,K.m)(t?.current),rootMargin:`0px ${100*i}% ${100*i}% ${100*i}%`}),a.current.observe(t.current)),()=>{a.current&&a.current.disconnect()}),[r,t,i])}((0,o.useMemo)(()=>({onLoadMore:s,collection:null==i?void 0:i.collection,sentinelRef:c,scrollOffset:l}),[s,l,null==i?void 0:i.collection]),c);let d=(0,n.Sl)({...u,id:void 0,children:r.rendered,defaultClassName:"react-aria-ListBoxLoadingIndicator",values:void 0});return o.createElement(o.Fragment,null,o.createElement("div",{style:{position:"relative",width:0,height:0},inert:(0,B.Y)(!0)},o.createElement("div",{"data-testid":"loadMoreSentinel",ref:c,style:{position:"absolute",height:1,width:1}})),a&&d.children&&o.createElement(n.tT.div,{...(0,S.v)((0,E.$)(e,{global:!0}),{tabIndex:-1}),...d,role:"option",ref:t},d.children))})},22602:(e,t,r)=>{"use strict";function n(e,t){return"function"==typeof t.getChildren?t.getChildren(e.key):e.childNodes}function i(e){var t=e;!1;let r=0;for(let e of t){if(0===r)return e;r++}}function o(e,t,r){if(t.parentKey===r.parentKey)return t.index-r.index;let n=[...a(e,t),t],i=[...a(e,r),r],o=n.slice(0,i.length).findIndex((e,t)=>e!==i[t]);return -1!==o?(t=n[o],r=i[o],t.index-r.index):n.findIndex(e=>e===r)>=0?1:(i.findIndex(e=>e===t),-1)}function a(e,t){let r=[],n=t;for(;n?.parentKey!=null;)(n=e.getItem(n.parentKey))&&r.unshift(n);return r}r.d(t,{iQ:()=>n,o3:()=>o,ue:()=>i})},23015:(e,t,r)=>{"use strict";var n=r(69432);t._=function(e,t){if(e){if("string"==typeof e)return n._(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n._(e,t)}}},23633:(e,t,r)=>{"use strict";r.d(t,{LE:()=>f,eg:()=>u,lR:()=>h,o1:()=>c,yB:()=>d});var n=r(48153),i=r(29786),o=r(88001),a=r(23740),s=r(3696),l=r(14232);function u(e){return e.nativeEvent=e,e.isDefaultPrevented=()=>e.defaultPrevented,e.isPropagationStopped=()=>e.cancelBubble,e.persist=()=>{},e}function c(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function d(e){let t=(0,l.useRef)({isFocused:!1,observer:null});return(0,s.N)(()=>{let e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}},[]),(0,l.useCallback)(r=>{let n=(0,i.wt)(r);(n instanceof HTMLButtonElement||n instanceof HTMLInputElement||n instanceof HTMLTextAreaElement||n instanceof HTMLSelectElement)&&(t.current.isFocused=!0,n.addEventListener("focusout",r=>{if(t.current.isFocused=!1,n.disabled){let t=u(r);e?.(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)},{once:!0}),t.current.observer=new MutationObserver(()=>{if(t.current.isFocused&&n.disabled){t.current.observer?.disconnect();let e=n===(0,i.bq)()?null:(0,i.bq)();n.dispatchEvent(new FocusEvent("blur",{relatedTarget:e})),n.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:e}))}}),t.current.observer.observe(n,{attributes:!0,attributeFilter:["disabled"]}))},[e])}let h=!1;function f(e){for(;e&&!(0,a.t)(e,{skipVisibilityCheck:!0});)e=e.parentElement;let t=(0,o.mD)(e),r=t.document.activeElement;if(!r||r===e)return;h=!0;let s=!1,l=e=>{((0,i.wt)(e)===r||s)&&e.stopImmediatePropagation()},u=t=>{((0,i.wt)(t)===r||s)&&(t.stopImmediatePropagation(),e||s||(s=!0,(0,n.e)(r),f()))},c=t=>{((0,i.wt)(t)===e||s)&&t.stopImmediatePropagation()},d=t=>{((0,i.wt)(t)===e||s)&&(t.stopImmediatePropagation(),s||(s=!0,(0,n.e)(r),f()))};t.addEventListener("blur",l,!0),t.addEventListener("focusout",u,!0),t.addEventListener("focusin",d,!0),t.addEventListener("focus",c,!0);let f=()=>{cancelAnimationFrame(p),t.removeEventListener("blur",l,!0),t.removeEventListener("focusout",u,!0),t.removeEventListener("focusin",d,!0),t.removeEventListener("focus",c,!0),h=!1,s=!1},p=requestAnimationFrame(f);return f}},23740:(e,t,r)=>{"use strict";r.d(t,{t:()=>u,A:()=>c});var n=r(88001);let i="u">typeof Element&&"checkVisibility"in Element.prototype;function o(e,t){return i?e.checkVisibility({visibilityProperty:!0})&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){let t=(0,n.mD)(e);if(!(e instanceof t.HTMLElement)&&!(e instanceof t.SVGElement))return!1;let{display:r,visibility:i}
12=e.style,o="none"!==r&&"hidden"!==i&&"collapse"!==i;if(o){let{getComputedStyle:t}=(0,n.mD)(e),{display:r,visibility:i}=t(e);o="none"!==r&&"hidden"!==i&&"collapse"!==i}return o}(e)&&!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))&&(!e.parentElement||o(e.parentElement,e))}let a=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],s=a.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";a.push('[tabindex]:not([tabindex="-1"]):not([disabled])');let l=a.join(':not([hidden]):not([tabindex="-1"]),');function u(e,t){return e.matches(s)&&!d(e)&&(t?.skipVisibilityCheck||o(e))}function c(e){return e.matches(l)&&o(e)&&!d(e)}function d(e){let t=e;for(;null!=t;){if(t instanceof(0,n.mD)(t).HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}},23920:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var r={},u=!!(e.type&&s[e.type]);for(var c in e){var d=e[c];if((0,n.isCustomAttribute)(c)){r[c]=d;continue}var h=c.toLowerCase(),f=l(h);if(f){var p=(0,n.getPropertyInfo)(f);switch(o.includes(f)&&a.includes(t)&&!u&&(f=l("default"+h)),r[f]=d,null==p?void 0:p.type){case n.BOOLEAN:r[f]=!0;break;case n.OVERLOADED_BOOLEAN:""===d&&(r[f]=!0)}continue}i.PRESERVE_CUSTOM_ATTRIBUTES&&(r[c]=d)}return(0,i.setStyleProp)(e.style,r),r};var n=r(87100),i=r(10926),o=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return n.possibleStandardNames[e]}},23953:(e,t,r)=>{"use strict";r.d(t,{KZ:()=>u,Lf:()=>l,YD:()=>a});var n=r(14232);let i={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},o={...i,customError:!0,valid:!1},a={isInvalid:!1,validationDetails:i,validationErrors:[]},s=(0,n.createContext)({}),l="__reactAriaFormValidationState";function u(e){if(e[l]){let{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}=e[l];return{realtimeValidation:t,displayValidation:r,updateValidation:n,resetValidation:i,commitValidation:o}}return function(e){let{isInvalid:t,validationState:r,name:i,value:l,builtinValidation:u,validate:f,validationBehavior:p="aria"}=e;r&&(t||="invalid"===r);let m=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:o}:null,g=(0,n.useMemo)(()=>f&&null!=l?d(function(e,t){if("function"==typeof e){let r=e(t);if(r&&"boolean"!=typeof r)return c(r)}return[]}(f,l)):null,[f,l]);u?.validationDetails.valid&&(u=void 0);let y=(0,n.useContext)(s),v=(0,n.useMemo)(()=>i?Array.isArray(i)?i.flatMap(e=>c(y[e])):c(y[i]):[],[y,i]),[b,w]=(0,n.useState)(y),[E,P]=(0,n.useState)(!1);y!==b&&(w(y),P(!1));let S=(0,n.useMemo)(()=>d(E?[]:v),[E,v]),x=(0,n.useRef)(a),[R,C]=(0,n.useState)(a),T=(0,n.useRef)(a),[_,I]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!_)return;I(!1);let e=g||u||x.current;h(e,T.current)||(T.current=e,C(e))}),{realtimeValidation:m||S||g||u||a,displayValidation:"native"===p?m||S||R:m||S||g||u||R,updateValidation(e){"aria"!==p||h(R,e)?x.current=e:C(e)},resetValidation(){h(a,T.current)||(T.current=a,C(a)),"native"===p&&I(!1),P(!0)},commitValidation(){"native"===p&&I(!0),P(!0)}}}(e)}function c(e){return e?Array.isArray(e)?e:[e]:[]}function d(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:o}:null}function h(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every((e,r)=>e===t.validationErrors[r])&&Object.entries(e.validationDetails).every(([e,r])=>t.validationDetails[e]===r)}},24181:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||r.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(n,s))}},24773:(e,t,r)=>{"use strict";r.d(t,{I:()=>a,J:()=>s});var n=r(2572),i=r(226),o=r(14232);let a=(0,o.createContext)({}),s=(0,i.U7)(function(e,t){[e,t]=(0,n.JT)(e,t,a);let{elementType:r="label",...i}=e,s=n.tT[r];return o.createElement(s,{className:"react-aria-Label",...i,ref:t})})},25451:(e,t,r)=>{"use strict";r.d(t,{A:()=>B,n:()=>$});var n=r(2572),i=r(14232);let o=(0,i.createContext)({placement:"bottom"});var a=r(52747),s=r(81719),l=r(92566),u=r(84947),c=r(29786);function d(e,t=-1/0,r=1/0){return Math.min(Math.max(e,t),r)}let h={top:"top",bottom:"top",left:"left",right:"left"}
12,f={top:"bottom",bottom:"top",left:"right",right:"left"},p={top:"left",left:"top"},m={top:"height",left:"width"},g={width:"totalWidth",height:"totalHeight"},y={};function v(e,t){let r=0,n=0,i=0,o=0,a=0,s=0,l={},c=(t?.scale??1)>1;if("BODY"===e.tagName||"HTML"===e.tagName){let u=document.documentElement;i=u.clientWidth,o=u.clientHeight,r=t?.width??i,n=t?.height??o,l.top=u.scrollTop||e.scrollTop,l.left=u.scrollLeft||e.scrollLeft,t&&(a=t.offsetTop,s=t.offsetLeft)}else({width:r,height:n,top:a,left:s}=x(e,!1)),l.top=e.scrollTop,l.left=e.scrollLeft,i=r,o=n;return(0,u.Tc)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&c&&(l.top=0,l.left=0,a=t?.pageTop??0,s=t?.pageLeft??0),{width:r,height:n,totalWidth:i,totalHeight:o,scroll:l,top:a,left:s}}function b(e,t,r,n,i,o,a){let s=i.scroll[e]??0,l=n[m[e]],u=a[e]+n.scroll[h[e]]+o,c=a[e]+n.scroll[h[e]]+l-o,d=t-s+n.scroll[h[e]]+a[e]-n[h[e]],f=t-s+r+n.scroll[h[e]]+a[e]-n[h[e]];return d<u?u-d:f>c?Math.max(c-f,u-d):0}function w(e){if(y[e])return y[e];let[t,r]=e.split(" "),n=h[t]||"right",i=p[n];h[r]||(r="center");let o=m[n],a=m[i];return y[e]={placement:t,crossPlacement:r,axis:n,crossAxis:i,size:o,crossSize:a},y[e]}function E(e,t,r,n,i,o,a,s,l,u,c){let{placement:h,crossPlacement:p,axis:m,crossAxis:y,size:v,crossSize:b}=n,w={};w[y]=e[y]??0,"center"===p?w[y]+=((e[b]??0)-(r[b]??0))/2:p!==y&&(w[y]+=(e[b]??0)-(r[b]??0)),w[y]+=o;let E=e[y]-r[b]+l+u,P=e[y]+e[b]-l-u;if(w[y]=d(w[y],E,P),h===m){let t=s?c[v]:c[g[v]];w[f[m]]=Math.floor(t-e[m]+i)}else w[m]=Math.floor(e[m]+e[v]+i);return w}function P(e,t,r,n,i,o,a,s){let{placement:l,axis:u,size:c}=o;return l===u?Math.max(0,r[u]-(a.scroll[u]??0)-(e[u]+(s?t[u]:0))-(n[u]??0)-n[f[u]]-i):Math.max(0,e[c]+e[u]+(s?t[u]:0)-r[u]-r[c]+(a.scroll[u]??0)-(n[u]??0)-n[f[u]]-i)}function S(e,t){let{top:r,left:n,width:i,height:o}=e.getBoundingClientRect();return t&&e instanceof e.ownerDocument.defaultView.HTMLElement&&(i=e.offsetWidth,o=e.offsetHeight),{top:r,left:n,width:i,height:o}}function x(e,t,r){let{top:n,left:i,width:o,height:a}=r||S(e,t),{scrollTop:s,scrollLeft:l,clientTop:u,clientLeft:c}=document.documentElement;return{top:n+s-u,left:i+l-c,width:o,height:a}}function R(e,t,r,n){let i,o=window.getComputedStyle(e);if("fixed"===o.position)i=n||S(e,r);else{i=x(e,r,n);let o=x(t,r),a=window.getComputedStyle(t);o.top+=(parseInt(a.borderTopWidth,10)||0)-t.scrollTop,o.left+=(parseInt(a.borderLeftWidth,10)||0)-t.scrollLeft,i.top-=o.top,i.left-=o.left}return i.top-=parseInt(o.marginTop,10)||0,i.left-=parseInt(o.marginLeft,10)||0,i}function C(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}var T=r(255),_=r(3696),I=r(54047);let A="u">typeof document?window.visualViewport:null;var k=r(68092),D=r(17132),O=r(16870),F=r(74092),N=r(86473),q=r(82002),j=r(50302),L=r(67096),M=r(12859),K=r(226);let $=(0,i.createContext)(null),U=(0,i.createContext)(null),B=(0,i.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,$);let r=(0,i.useContext)(a.RG),o=(0,M.T)(e),l=null==e.isOpen&&null==e.defaultOpen&&r?r:o,u=(0,q.O)(t,l.isOpen)||e.isExiting||!1,c=(0,K.m_)(),{direction:d}=(0,s.Y)();if(c){let t=e.children;return"function"==typeof t&&(t=t({trigger:e.trigger||null,placement:"bottom",isEntering:!1,isExiting:!1,defaultChildren:null})),i.createElement(i.Fragment,null,t)}return!l||l.isOpen||u?i.createElement(H,{...e,triggerRef:e.triggerRef,state:l,popoverRef:t,isExiting:u,dir:d}):null});function H({state:e,isExiting:t,UNSTABLE_portalContainer:r,clearContexts:a,...u}){var p,m;let y=(0,i.useRef)(null),M=(0,i.useRef)(null),K=(0,i.useContext)(U),$=K&&"SubmenuTrigger"===u.trigger,{popoverProps:B,underlayProps:W,arrowProps:V,placement:z,triggerAnchorPoint:G}=function(e,t){let{triggerRef:r,popoverRef:n,groupRef:o,isNonModal:a,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:p,...m}=e,y="SubmenuTrigger"===m.trigger,{overlayProps:F,underlayProps:N}=(0,D.e)({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!a||y,isKeyboardDismissDisabled:u,shouldCloseOnInteractOutside:p},o??n),{overlayProps:q,arrowProps:j,placement:L,triggerAnchorPoint:M}=function(e){var t;let{direction:r}
12=(0,s.Y)(),{arrowSize:n,targetRef:o,overlayRef:a,arrowRef:l,scrollRef:u=a,placement:p="bottom",containerPadding:m=12,shouldFlip:y=!0,boundaryElement:k="u">typeof document?document.body:null,offset:D=0,crossOffset:O=0,shouldUpdatePosition:F=!0,isOpen:N=!0,onClose:q,maxHeight:j,arrowBoundaryOffset:L=0,getTargetRect:M}=e,[K,$]=(0,i.useState)(null),U=[F,p,a.current,o.current,l?.current,u.current,m,y,k,D,O,N,r,j,L,n],B=(0,i.useRef)(A?.scale);(0,i.useEffect)(()=>{N&&(B.current=A?.scale)},[N]);let H=(0,i.useCallback)(()=>{var e;if(!1===F||!N||!a.current||!o.current||!k||A?.scale!==B.current)return;let t=null;if(u.current&&(0,c.ae)(u.current)){let e=(0,c.bq)()?.getBoundingClientRect(),r=u.current.getBoundingClientRect();(t={type:"top",offset:(e?.top??0)-r.top}).offset>r.height/2&&(t.type="bottom",t.offset=(e?.bottom??0)-r.bottom)}let i=a.current;!j&&a.current&&(i.style.top="0px",i.style.bottom="",i.style.maxHeight=(window.visualViewport?.height??window.innerHeight)+"px");let s=function(e){let t,r,{placement:n,targetNode:i,overlayNode:o,scrollNode:a,padding:s,shouldFlip:l,boundaryElement:u,offset:p,crossOffset:m,maxHeight:y,arrowSize:T=0,arrowBoundaryOffset:_=0,targetRect:I}=e,A="u">typeof document?window.visualViewport:null,k=o instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!C(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!C(t);)t=t.parentElement;return t||document.documentElement}(o):document.documentElement,D=k===document.documentElement,O=window.getComputedStyle(k).position,F=D?x(i,!1,I):R(i,k,!1,I);if(!D){let{marginTop:e,marginLeft:t}=window.getComputedStyle(i);F.top+=parseInt(e,10)||0,F.left+=parseInt(t,10)||0}let N=x(o,!0),q={top:parseInt((t=window.getComputedStyle(o)).marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0};N.width+=(q.left??0)+(q.right??0),N.height+=(q.top??0)+(q.bottom??0),a.scrollTop,a.scrollLeft,a.scrollWidth,a.scrollHeight;let j=v(u,A),L=v(k,A);if("BODY"!==u.tagName&&"HTML"!==u.tagName||D)r=("BODY"===u.tagName||"HTML"===u.tagName)&&D?{top:0,left:0,width:0,height:0}:R(u,k,!1);else{let e=S(k,!1);r={top:-(e.top-j.top),left:-(e.left-j.left),width:0,height:0}}return function(e,t,r,n,i,o,a,s,l,u,c,p,m,y,v,S,x){var R,C,T;let _,I,A,k=w(e),{size:D,crossAxis:O,crossSize:F,placement:N,crossPlacement:q}=k,j=E(t,a,r,k,u,c,l,p,y,v,s),L=u,M=P(a,l,t,n,i+u,k,s,S);if(o&&r[D]>M){let e=w(`${f[N]} ${q}`),o=E(t,a,r,e,u,c,l,p,y,v,s);P(a,l,t,n,i+u,e,s,S)>M&&(k=e,j=o,L=u)}let K="bottom";"top"===k.axis?"top"===k.placement?K="top":"bottom"===k.placement&&(K="bottom"):"top"===k.crossAxis&&("top"===k.crossPlacement?K="bottom":"bottom"===k.crossPlacement&&(K="top"));let $=b(O,j[O],r[F],a,s,i,l);j[O]+=$;let U=(R=j,C=r.height,T=K,_=(null!=R.top?R.top:s[g.height]-(R.bottom??0)-C)-(s.scroll.top??0),I=S?l.top:0,A={top:Math.max(a.top+I,(x?.offsetTop??a.top)+I),bottom:Math.min(a.top+a.height+I,(x?.offsetTop??0)+(x?.height??0))},"top"!==T?Math.max(0,A.bottom-_-((n.top??0)+(n.bottom??0)+i)):Math.max(0,_+C-A.top-((n.top??0)+(n.bottom??0)+i)));m&&m<U&&(U=m),r.height=Math.min(r.height,U),$=b(O,(j=E(t,a,r,k,L,c,l,p,y,v,s))[O],r[F],a,s,i,l),j[O]+=$;let B={},H=t[O]-j[O]-n[h[O]],W=H+.5*t[F],V=y/2+v,z="left"===h[O]?(n.left??0)+(n.right??0):(n.top??0)+(n.bottom??0),G=r[F]-z-y/2-v,Q=d(W,t[O]+y/2-(j[O]+n[h[O]]),t[O]+t[F]-y/2-(j[O]+n[h[O]]));B[O]=d(Q,V,G),({placement:N,crossPlacement:q}=k),y?H=B[O]:"right"===q?H+=t[F]:"center"===q&&(H+=t[F]/2);let J="left"===N||"top"===N?r[D]:0,X={x:"top"===N||"bottom"===N?H:J,y:"left"===N||"right"===N?H:J};return{position:j,maxHeight:U,arrowOffsetLeft:B.left,arrowOffsetTop:B.top,placement:N,triggerAnchorPoint:X}}(n,F,N,q,s,l,j,L,r,p,m,!!O&&"static"!==O,y,T,_,(0,c.sD)(u,k),A)}({placement:(e=p,"rtl"===r?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")),overlayNode:a.current,targetNode:o.current,scrollNode:u.current||a.current,padding:m,shouldFlip:y,boundaryElement:k,offset:D,crossOffset:O,maxHeight:j,arrowSize:n??(l?.current?S(l.current,!0).width:0),arrowBoundaryOffset:L,targetRect:M?.(o.current)});if(!s.position)return;i.style.top="",i.style.bottom="",i.style.left="",i.style.right="",Object.keys(s.position).forEac
12h(e=>i.style[e]=s.position[e]+"px"),i.style.maxHeight=null!=s.maxHeight?s.maxHeight+"px":"";let T=(0,c.bq)();if(t&&T&&u.current){let e=T.getBoundingClientRect(),r=u.current.getBoundingClientRect(),n=e[t.type]-r[t.type];u.current.scrollTop+=n-t.offset}$(s)},U);(0,_.N)(H,U),t=H,(0,_.N)(()=>(window.addEventListener("resize",t,!1),()=>{window.removeEventListener("resize",t,!1)}),[t]),(0,I.w)({ref:a,onResize:H}),(0,I.w)({ref:o,onResize:H});let W=(0,i.useRef)(!1);(0,_.N)(()=>{let e,t=()=>{W.current=!0,clearTimeout(e),e=setTimeout(()=>{W.current=!1},500),H()},r=()=>{W.current&&t()};return A?.addEventListener("resize",t),A?.addEventListener("scroll",r),()=>{A?.removeEventListener("resize",t),A?.removeEventListener("scroll",r)}},[H]);let V=(0,i.useCallback)(()=>{W.current||q?.()},[q,W]);return(0,T.o)({triggerRef:o,isOpen:N,onClose:q&&V}),{overlayProps:{style:{position:K?"absolute":"fixed",top:K?void 0:0,left:K?void 0:0,zIndex:1e5,...K?.position,maxHeight:K?.maxHeight??"100vh"}},placement:K?.placement??null,triggerAnchorPoint:K?.triggerAnchorPoint??null,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:K?.arrowOffsetLeft,top:K?.arrowOffsetTop}},updatePosition:H}}({...m,targetRef:r,overlayRef:n,isOpen:t.isOpen,onClose:a&&!y?t.close:null});return(0,O.H)({isDisabled:a||!t.isOpen}),(0,i.useEffect)(()=>{if(t.isOpen&&n.current)if(a)return(0,l.O)(o?.current??n.current);else return(0,l.h)([o?.current??n.current],{shouldUseInert:!0})},[a,t.isOpen,n,o]),{popoverProps:(0,k.v)(F,q),arrowProps:j,underlayProps:N,placement:L,triggerAnchorPoint:M}}({...u,offset:null!=(p=u.offset)?p:8,arrowRef:y,groupRef:$?K:M},e),Q=u.popoverRef,J=(0,q._)(Q,!!z)||u.isEntering||!1,X=(0,n.Sl)({...u,defaultClassName:"react-aria-Popover",values:{trigger:u.trigger||null,placement:z,isEntering:J,isExiting:t}}),Y=!u.isNonModal||"SubmenuTrigger"===u.trigger,[Z,ee]=(0,i.useState)(!1);(0,_.N)(()=>{Q.current&&ee(Y&&!Q.current.querySelector("[role=dialog]"))},[Q,Y]),(0,i.useEffect)(()=>{Z&&"SubmenuTrigger"!==u.trigger&&Q.current&&!(0,c.sD)(Q.current,document.activeElement)&&(0,L.l)(Q.current)},[Z,Q,u.trigger]);let et=(0,i.useMemo)(()=>{let e=X.children;if(a)for(let t of a)e=i.createElement(t.Provider,{value:null},e);return e},[X.children,a]),er={...B.style,"--trigger-anchor-point":G?`${G.x}px ${G.y}px`:void 0,...X.style},en=i.createElement(n.tT.div,{...(0,k.v)((0,j.$)(u,{global:!0}),B),...X,role:Z?"dialog":void 0,tabIndex:Z?-1:void 0,"aria-label":u["aria-label"],"aria-labelledby":u["aria-labelledby"],ref:Q,slot:u.slot||void 0,style:er,dir:u.dir,"data-trigger":u.trigger,"data-placement":z,"data-entering":J||void 0,"data-exiting":t||void 0},!u.isNonModal&&i.createElement(F.R,{onDismiss:e.close}),i.createElement(o.Provider,{value:{...V,placement:z,ref:y}},et),i.createElement(F.R,{onDismiss:e.close}));return $?i.createElement(N.hJ,{...u,shouldContainFocus:Z,isExiting:t,portalContainer:null!=(m=null!=r?r:null==K?void 0:K.current)?m:void 0},en):i.createElement(N.hJ,{...u,shouldContainFocus:Z,isExiting:t,portalContainer:r},!u.isNonModal&&e.isOpen&&i.createElement("div",{"data-testid":"underlay",...W,style:{position:"fixed",inset:0}}),i.createElement("div",{ref:M,style:{display:"contents"}},i.createElement(U.Provider,{value:M},en)))}},25885:(e,t,r)=>{"use strict";r.d(t,{B:()=>i,o:()=>a});var n=r(84947);function i(e){return(0,n.cX)()?e.metaKey:e.ctrlKey}let o=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function a(e){return e instanceof HTMLInputElement&&!o.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}},25940:(e,t,r)=>{"use strict";r.d(t,{M:()=>o});var n=r(95800),i=r(3324);function o(e){let{id:t,label:r,"aria-labelledby":o,"aria-label":a,labelElementType:s="label"}=e;t=(0,n.Bi)(t);let l=(0,n.Bi)(),u={};return r&&(o=o?`${l} ${o}`:l,u={id:l,htmlFor:"label"===s?t:void 0}),{labelProps:u,fieldProps:(0,i.b)({id:t,"aria-label":a,"aria-labelledby":o})}}},26747:(e,t,r)=>{"use strict";r.d(t,{H:()=>a});var n=r(29786),i=r(70412);class o{constructor(e,t,r,n){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){let t=e.shadowRoot;if(t){let e=this._doc.createTreeWalker(t,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}if("function"==typeof this.filter)return this.filter(e);if(this.filter?.acceptNode)return this.filter.acceptNode(e);else if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=n??null,this.whatToShow=r??NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,r,this._acceptNode));const i=t.shadowRoot;if(i){const e=this._doc.createTreeWalker(i,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}get currentNode(){return this._currentNode}set currentNode(e){if(!(0,n.sD)(this.root,e))throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t=[],r=e,i=e;for(this._currentNode=e;r&&r!==this.root;)if(r.nodeType===Node.DOCUMENT_FRAGMENT_NODE){let e=r,n=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(n),n.currentNode=i,this._currentSetFor.add(n),r=i=e.host}else r=r.parentNode;let o=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(o),o.currentNode=i,this._currentSetFor.add(o),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,n.sD)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){let e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){let t;if("function"==typeof this.filter?t=this.filter(e):this.filter?.acceptNode&&(t=this.filter.acceptNode(e)),t===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}return e&&(this.currentNode=e),e}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}}previousNode(){let e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)&&(this._currentSetFor.delete(e),this._walkerStack.length>1)){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}let t=e.previousNode();if(t){if(t.shadowRoot){let e;if("function"==typeof this.filter?e=this.filter(t):this.filter?.acceptNode&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}return t&&(this.currentNode=t),t}if(!(this._walkerStack.length>1))return null;{this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}}function a(e,t,r,n){return(0,i.Nf)()?new o(e,t,r,n):e.createTreeWalker(t,r,n)}},27039:(e,t,r)=>{"use strict";function n(e,t){return(Array.isArray(t)?t:t.split(".")).reduce(function(e,t){return e&&e[t]},e)}r.d(t,{E:()=>n})},27570:(e,t,r)=>{"use strict";r.d(t,{EG:()=>u,N9:()=>o,au:()=>a,j5:()=>l});var n=r(84947),i=r(95800);function o(e){return(0,n.lg)()?e.altKey:e.ctrlKey}function a(e,t){let r=`[data-key="${CSS.escape(String(t))}"]`,n=e.current?.dataset.collection;return n&&(r=`[data-collection="${CSS.escape(n)}"]${r}`),e.current?.querySelector(r)}let s=new WeakMap;function l(e){let t=(0,i.Bi)();return s.set(e,t),t}function u(e){return s.get(e)}},27656:(e,t)=>{"use strict";t._=function(e){if("u">typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}},27823:e=>{"use strict";e.exports=function(e,t,r){if(!Array.isArray(e))return[];Array.isArray(r)||(r=[]);var n=e.map(function(e,r){return{criteria:t.map(function(t){return e[t]}),index:r,value:e}});return n.sort(function(e,t){for(var n=-1;++n<e.criteria.length;){var i=function(e,t){if(e!==t){var r=void 0!==e,n=null===e,i=void 0!==t,o=null===t;if(!o&&e>t||n&&i||!r)return 1;if(!n&&e<t||o&&r||!i)return -1}return 0}(e.criteria[n],t.criteria[n]);if(i){if(n>=r.length)return i;if("desc"===r[n])return-i;return i}}return e.index-t.index}),n.map(function(e){return e.value})}},28061:(e,t,r)=>{"use strict";r.d(t,{p:()=>m});var n=r(63311),i=r(67096),o=r(29786),a=r(27570),s=r(25885),l=r(68092),u=r(41796),c=r(87802),d=r(11646),h=r(95800),f=r(93622),p=r(14232);function m(e){let{id:t,selectionManager:r,key:m,ref:g,shouldSelectOnPressUp:y,shouldUseVirtualFocus:v,focus:b,isDisabled:w,onAction:E,allowsDifferentPressOrigin:P,linkBehavior:S="action"}=e,x=(0,c.rd)();t=(0,h.Bi)(t);let R=e=>{if("keyboard"===e.pointerType&&(0,a.N9)(e))r.toggleSelection(m);else{if("none"===r.selectionMode)return;if(r.isLink(m)){if("selection"===S&&g.current){let t=r.getItemProps(m);x.open(g.current,e,t.href,t.routerOptions),r.setSelectedKeys(r.selectedKeys);return}else if("override"===S||"none"===S)return}"single"===r.selectionMode?r.isSelected(m)&&!r.disallowEmptySelection?r.toggleSelection(m):r.replaceSelection(m):e&&e.shiftKey?r.extendSelection(m):"toggle"===r.selectionBehavior||e&&((0,s.B)(e)||"touch"===e.pointerType||"virtual"===e.pointerType)?r.toggleSelection(m):r.replaceSelection(m)}};(0,p.useEffect)(()=>{m===r.focusedKey&&r.isFocused&&(v?(0,u.vX)(g.current):b?b():(0,o.bq)()!==g.current&&g.current&&(0,i.l)(g.current))},[g,m,r.focusedKey,r.childFocusStrategy,r.isFocused,v]),w=w||r.isDisabled(m);let C={};v||w?w&&(C.onMouseDown=e=>{e.preventDefault()}):C={tabIndex:m===r.focusedKey?0:-1,onFocus(e){(0,o.wt)(e)===g.current&&r.setFocusedKey(m)}},(0,p.useEffect)(()=>{w&&r.focusedKey===m&&r.setFocusedKey(null)},[r,w,m]);let T=r.isLink(m)&&"override"===S,_=E&&"action"===e.UNSTABLE_itemBehavior,I=r.isLink(m)&&"selection"!==S&&"none"!==S,A=!w&&r.canSelectItem(m)&&!T&&!_,k=(E||I)&&!w,D=k&&("replace"===r.selectionBehavior?!A:!A||r.isEmpty),O=k&&A&&"replace"===r.selectionBehavior,F=D||O,N=(0,p.useRef)(null),q=F&&A,j=(0,p.useRef)(!1),L=(0,p.useRef)(!1),M=r.getItemProps(m),K=e=>{E&&(E(),g.current?.dispatchEvent(new CustomEvent("react-aria-item-action",{bubbles:!0}))),I&&g.current&&x.open(g.current,e,M.href,M.routerOptions)},$={ref:g};if(y?($.onPressStart=e=>{N.current=e.pointerType,j.current=q,"keyboard"!==e.pointerType||F&&" "!==e.key||R(e)},P?($.onPressUp=D?void 0:e=>{"mouse"===e.pointerType&&A&&R(e)},$.onPress=D?K:e=>{"keyboard"!==e.pointerType&&"mouse"!==e.pointerType&&A&&R(e)}):$.onPress=e=>{D||O&&"mouse"!==e.pointerType?("keyboard"!==e.pointerType||"Enter"===e.key)&&K(e):"keyboard"!==e.pointerType&&A&&R(e)}):($.onPressStart=e=>{N.current=e.pointerType,j.current=q,L.current=D,!A||("mouse"!==e.pointerType||D)&&("keyboard"!==e.pointerType||
12k&&" "!==e.key)||R(e)},$.onPress=e=>{("touch"===e.pointerType||"pen"===e.pointerType||"virtual"===e.pointerType||"keyboard"===e.pointerType&&F&&"Enter"===e.key||"mouse"===e.pointerType&&L.current)&&(F?K(e):A&&R(e))}),C["data-collection"]=(0,a.EG)(r.collection),C["data-key"]=m,$.preventFocusOnPress=v,v&&($=(0,l.v)($,{onPressStart(e){"touch"!==e.pointerType&&(r.setFocused(!0),r.setFocusedKey(m))},onPress(e){"touch"===e.pointerType&&(r.setFocused(!0),r.setFocusedKey(m))}})),M)for(let e of["onPressStart","onPressEnd","onPressChange","onPress","onPressUp","onClick"])M[e]&&($[e]=(0,n.c)($[e],M[e]));let{pressProps:U,isPressed:B}=(0,d.d)($),H=O?e=>{"mouse"===N.current&&(e.stopPropagation(),e.preventDefault(),K(e))}:void 0,{longPressProps:W}=(0,f.H)({isDisabled:!q,onLongPress(e){"touch"===e.pointerType&&(R(e),r.setSelectionBehavior("toggle"))}}),V="none"!==S&&r.isLink(m)?e=>{c.Fe.isOpening||e.preventDefault()}:void 0;return{itemProps:(0,l.v)(C,A||D||v&&!w?U:{},q?W:{},{onDoubleClick:H,onDragStartCapture:e=>{"touch"===N.current&&j.current&&e.preventDefault()},onClick:V,id:t},v?{onMouseDown:e=>e.preventDefault()}:void 0),isPressed:B,isSelected:r.isSelected(m),isFocused:r.isFocused&&r.focusedKey===m,isDisabled:w,allowsSelection:A,hasAction:F}}},28419:(e,t,r)=>{"use strict";var n=r(1643);e.exports=Function.prototype.bind||n},29006:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){var r;if("string"!=typeof e)throw TypeError("First argument must be a string");return e?(0,o.default)((0,i.default)(e,null!=(r=null==t?void 0:t.htmlparser2)?r:s),t):[]};var i=n(r(72357));t.htmlToDOM=i.default,t.attributesToProps=n(r(23920)).default;var o=n(r(52661));t.domToReact=o.default;var a=r(63219);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.Text}});var s={lowerCaseAttributeNames:!1}},29105:(e,t,r)=>{"use strict";r.d(t,{P:()=>o,Y:()=>i});var n=r(84947);function i(e){return""===e.pointerType&&!!e.isTrusted||((0,n.m0)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function o(e){return!(0,n.m0)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},29196:(e,t)=>{"use strict";t._=function(e,t){if(null==e)return{};var r,n,i={},o=Object.getOwnPropertyNames(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}},29351:e=>{"use strict";e.exports=Error},29786:(e,t,r)=>{"use strict";r.d(t,{ae:()=>l,bq:()=>a,sD:()=>o,wt:()=>s});var n=r(88001),i=r(70412);function o(e,t){if(!(0,i.Nf)())return!!t&&!!e&&e.contains(t);if(!e||!t)return!1;let r=t;for(;null!==r;){if(r===e)return!0;r="SLOT"===r.tagName&&r.assignedSlot?r.assignedSlot.parentNode:(0,n.Ng)(r)?r.host:r.parentNode}return!1}let a=(e=document)=>{if(!(0,i.Nf)())return e.activeElement;let t=e.activeElement;for(;t&&"shadowRoot"in t&&t.shadowRoot?.activeElement;)t=t.shadowRoot.activeElement;return t};function s(e){if((0,i.Nf)()&&e.target instanceof Element&&e.target.shadowRoot){if("composedPath"in e)return e.composedPath()[0]??null;else if("composedPath"in e.nativeEvent)return e.nativeEvent.composedPath()[0]??null}return e.target}function l(e){if(!e)return!1;let t=e.getRootNode(),r=(0,n.mD)(e);if(!(t instanceof r.Document||t instanceof r.ShadowRoot))return!1;let i=t.activeElement;return null!=i&&e.contains(i)}},30239:(e,t,r)=>{"use strict";r.d(t,{o:()=>a});var n=r(255),i=r(95800),o=r(14232);function a(e,t,r){let a,{type:s}=e,{isOpen:l}=t;(0,o.useEffect)(()=>{r&&r.current&&n.a.set(r.current,t.close)}),"menu"===s?a=!0:"listbox"===s&&(a="listbox");let u=(0,i.Bi)();return{triggerProps:{"aria-haspopup":a,"aria-expanded":l,"aria-controls":l?u:void 0,onPress:t.toggle},overlayProps:{id:u}}}},30413:(e,t,r)=>{"use strict";r.d(t,{m:()=>n});var n=(0,r(14232).createContext)(null)},30419:(e,t)=>{"use strict";t._=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}},30593:(e,t,r)=>{"use strict";r.d(t,{C:()=>s,b:()=>l});var n=r(2572),i=r(50442),o=r(50302),a=r(14232);let s=(0,a.createContext)(null),l=(0,a.forwardRef)(function(e,t){let r=(0,a.useContext)(s);return(null==r?void 0:r.isInvalid)?a.createElement(u,{...e,ref:t}):null}),u=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(s),l=(0,o.$)(e,{global:!0}),u=(0,n.Sl)({...e,defaultClassName:"react-aria-FieldError",defaultChildren:0===r.validationErrors.length?void 0:r.validationErrors.join(" "),values:r});return null==u.children?null:a.createElement(i.E,{slot:"errorMessage",...l,...u,ref:t})})},30915:(e,t,r)=>{"use strict";
12var n=r(74290),i=r(74512);e.exports={formats:r(81151),parse:i,stringify:n}},31497:(e,t,r)=>{"use strict";r.d(t,{f:()=>g});var n=r(41835),i=r(41092),o=r(85998),a=r(27039),s=r(7009),l=r(19975),u=r(14232);function c(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){return Array.isArray(t)?e.concat(t):e.concat([t])},[]).filter(Boolean).join(" ")}var d=r(89953),h=r(63594),f=r(97272),p=function(e){var t=e.createElement,r=e.Fragment,n=function(e){var r=e.classNames,n=e.children,i=e.highlightedTagName,o=e.isHighlighted,a=e.nonHighlightedTagName;return t(o?i:a,{className:o?r.highlighted:r.nonHighlighted},n)};return function(e){var i=e.parts,o=e.highlightedTagName,a=void 0===o?"mark":o,s=e.nonHighlightedTagName,l=void 0===s?"span":s,u=e.separator,p=void 0===u?", ":u,m=e.className,g=e.classNames,y=void 0===g?{}:g,v=(0,f._)(e,["parts","highlightedTagName","nonHighlightedTagName","separator","className","classNames"]);return t("span",(0,h._)((0,d._)({},v),{className:c(y.root,m)}),i.map(function(e,o){var s=o===i.length-1;return t(r,{key:o},e.map(function(e,r){return t(n,{key:r,classNames:y,highlightedTagName:a,nonHighlightedTagName:l,isHighlighted:e.isHighlighted},e.value)}),!s&&t("span",{className:y.separator},p))}))}}({createElement:u.createElement,Fragment:u.Fragment});function m(e){var t=e.classNames,r=void 0===t?{}:t,i=(0,o._)(e,["classNames"]);return u.createElement(p,(0,n._)({classNames:{root:c("ais-Highlight",r.root),highlighted:c("ais-Highlight-highlighted",r.highlighted),nonHighlighted:c("ais-Highlight-nonHighlighted",r.nonHighlighted),separator:c("ais-Highlight-separator",r.separator)}},i))}function g(e){var t=e.hit,r=e.attribute,c=e.highlightedTagName,d=e.nonHighlightedTagName,h=e.separator,f=(0,o._)(e,["hit","attribute","highlightedTagName","nonHighlightedTagName","separator"]),p=(0,a.E)(t._highlightResult,r)||[],g=(Array.isArray(p)?p:[p]).map(function(e){return(0,s.I)((0,l.x)(e.value||""))});return u.createElement(m,(0,i._)((0,n._)({},f),{parts:g,highlightedTagName:c,nonHighlightedTagName:d,separator:h}))}},32591:e=>{function t(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return"function"==typeof e}function n(e){return"object"==typeof e&&null!==e}e.exports=t,t.prototype._events=void 0,t.prototype._maxListeners=void 0,t.defaultMaxListeners=10,t.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||isNaN(e))throw TypeError("n must be a positive number");return this._maxListeners=e,this},t.prototype.emit=function(e){var t,i,o,a,s,l;if(this._events||(this._events={}),"error"===e&&(!this._events.error||n(this._events.error)&&!this._events.error.length)){if(t=arguments[1],t instanceof Error)throw t;var u=Error('Uncaught, unspecified "error" event. ('+t+")");throw u.context=t,u}if(void 0===(i=this._events[e]))return!1;if(r(i))switch(arguments.length){case 1:i.call(this);break;case 2:i.call(this,arguments[1]);break;case 3:i.call(this,arguments[1],arguments[2]);break;default:a=Array.prototype.slice.call(arguments,1),i.apply(this,a)}else if(n(i))for(s=0,a=Array.prototype.slice.call(arguments,1),o=(l=i.slice()).length;s<o;s++)l[s].apply(this,a);return!0},t.prototype.addListener=function(e,i){var o;if(!r(i))throw TypeError("listener must be a function");return this._events||(this._events={}),this._events.newListener&&this.emit("newListener",e,r(i.listener)?i.listener:i),this._events[e]?n(this._events[e])?this._events[e].push(i):this._events[e]=[this._events[e],i]:this._events[e]=i,n(this._events[e])&&!this._events[e].warned&&(o=void 0===this._maxListeners?t.defaultMaxListeners:this._maxListeners)&&o>0&&this._events[e].length>o&&(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},t.prototype.on=t.prototype.addListener,t.prototype.once=function(e,t){if(!r(t))throw TypeError("listener must be a function");var n=!1;function i(){this.removeListener(e,i),n||(n=!0,t.apply(this,arguments))}return i.listener=t,this.on(e,i),this},t.prototype.removeListener=function(e,t){var i,o,a,s;if(!r(t))throw TypeError("listener must be a function");if(!this._events||!this._events[e])return this;if(a=(i=this._events[e]).length,o=-1,i===t||r(i.listener)&&i.listener===t)delete this._events[e],this._events.removeListener&&this.emit
12("removeListener",e,t);else if(n(i)){for(s=a;s-- >0;)if(i[s]===t||i[s].listener&&i[s].listener===t){o=s;break}if(o<0)return this;1===i.length?(i.length=0,delete this._events[e]):i.splice(o,1),this._events.removeListener&&this.emit("removeListener",e,t)}return this},t.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0==arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0==arguments.length){for(t in this._events)"removeListener"!==t&&this.removeAllListeners(t);return this.removeAllListeners("removeListener"),this._events={},this}if(r(n=this._events[e]))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},t.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},t.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},t.listenerCount=function(e,t){return e.listenerCount(t)}},32629:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});let n=(0,r(14232).createContext)(null)},32639:(e,t,r)=>{"use strict";r.d(t,{N$:()=>T,Pu:()=>w,n1:()=>m});var n=r(26747),i=r(67096),o=r(29786),a=r(70977),s=r(88001),l=r(84947),u=r(23740),c=r(3696),d=r(14232);let h=d.createContext(null),f="react-aria-focus-scope-restore",p=null;function m(e){var t,r,n,i,u,m,w,_,k,D;let O,F,N,q,{children:j,contain:L,restoreFocus:M,autoFocus:K}=e,$=(0,d.useRef)(null),U=(0,d.useRef)(null),B=(0,d.useRef)([]),{parentNode:H}=(0,d.useContext)(h)||{},W=(0,d.useMemo)(()=>new I({scopeRef:B}),[B]);(0,c.N)(()=>{let e=H||A.root;if(A.getTreeNode(e.scopeRef)&&p&&!E(p,e.scopeRef)){let t=A.getTreeNode(p);t&&(e=t)}e.addChild(W),A.addNode(W)},[W,H]),(0,c.N)(()=>{let e=A.getTreeNode(B);e&&(e.contain=!!L)},[L]),(0,c.N)(()=>{let e=$.current?.nextSibling,t=[],r=e=>e.stopPropagation();for(;e&&e!==U.current;)t.push(e),e.addEventListener(f,r),e=e.nextSibling;return B.current=t,()=>{for(let e of t)e.removeEventListener(f,r)}},[j]),t=B,r=M,n=L,(0,c.N)(()=>{if(r||n)return;let e=t.current,i=(0,s.TW)(e?e[0]:void 0),a=e=>{let r=(0,o.wt)(e);v(r,t.current)?p=t:b(r)||(p=null)};return i.addEventListener("focusin",a,!1),e?.forEach(e=>e.addEventListener("focusin",a,!1)),()=>{i.removeEventListener("focusin",a,!1),e?.forEach(e=>e.removeEventListener("focusin",a,!1))}},[t,r,n]),i=B,u=L,O=(0,d.useRef)(void 0),F=(0,d.useRef)(void 0),(0,c.N)(()=>{let e=i.current;if(!u){F.current&&(cancelAnimationFrame(F.current),F.current=void 0);return}let t=(0,s.TW)(e?e[0]:void 0),r=e=>{if("Tab"!==e.key||e.altKey||e.ctrlKey||e.metaKey||!y(i)||e.isComposing)return;let r=(0,o.bq)(t),n=i.current;if(!n||!v(r,n))return;let a=T(g(n),{tabbable:!0},n);if(!r)return;a.currentNode=r;let l=e.shiftKey?a.previousNode():a.nextNode();l||(a.currentNode=e.shiftKey?n[n.length-1].nextElementSibling:n[0].previousElementSibling,l=e.shiftKey?a.previousNode():a.nextNode()),e.preventDefault(),l&&(P(l,!0),l instanceof(0,s.mD)(l).HTMLInputElement&&l.select())},n=e=>{(!p||E(p,i))&&v((0,o.wt)(e),i.current)?(p=i,O.current=(0,o.wt)(e)):y(i)&&!b((0,o.wt)(e),i)?O.current?O.current.focus():p&&p.current&&x(p.current):y(i)&&(O.current=(0,o.wt)(e))},c=e=>{F.current&&cancelAnimationFrame(F.current),F.current=requestAnimationFrame(()=>{let r=(0,a.ME)(),n=("virtual"===r||null===r)&&(0,l.m0)()&&(0,l.H8)(),s=(0,o.bq)(t);if(!n&&s&&y(i)&&!b(s,i)){p=i;let t=(0,o.wt)(e);t&&t.isConnected?(O.current=t,O.current?.focus()):p.current&&x(p.current)}})};return t.addEventListener("keydown",r,!1),t.addEventListener("focusin",n,!1),e?.forEach(e=>e.addEventListener("focusin",n,!1)),e?.forEach(e=>e.addEventListener("focusout",c,!1)),()=>{t.removeEventListener("keydown",r,!1),t.removeEventListener("focusin",n,!1),e?.forEach(e=>e.removeEventListener("focusin",n,!1)),e?.forEach(e=>e.removeEventListener("focusout",c,!1))}},[i,u]),(0,c.N)(()=>()=>{F.current&&cancelAnimationFrame(F.current)},[F]),m=B,w=M,_=L,N=(0,d.useRef)("u">typeof document?(0,o.bq)((0,s.TW)(m.current?m.current[0]:void 0)):null),(0,c.N)(()=>{let e=m.current,t=(0,s.TW)(e?e[0]:void 0);if(!w||_)return;let r=()=>{(!p||E(p,m))&&v((0,o.bq)(t),m.current)&&(p=m)};
12return t.addEventListener("focusin",r,!1),e?.forEach(e=>e.addEventListener("focusin",r,!1)),()=>{t.removeEventListener("focusin",r,!1),e?.forEach(e=>e.removeEventListener("focusin",r,!1))}},[m,_]),(0,c.N)(()=>{let e=(0,s.TW)(m.current?m.current[0]:void 0);if(!w)return;let t=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y(m)||t.isComposing)return;let r=e.activeElement;if(!b(r,m)||!R(m))return;let n=A.getTreeNode(m);if(!n)return;let i=n.nodeToRestore,o=T(e.body,{tabbable:!0});o.currentNode=r;let a=t.shiftKey?o.previousNode():o.nextNode();if(i&&i.isConnected&&i!==e.body||(i=void 0,n.nodeToRestore=void 0),(!a||!b(a,m))&&i){o.currentNode=i;do a=t.shiftKey?o.previousNode():o.nextNode();while(b(a,m));(t.preventDefault(),t.stopPropagation(),a)?P(a,!0):b(i)?P(i,!0):r.blur()}};return _||e.addEventListener("keydown",t,!0),()=>{_||e.removeEventListener("keydown",t,!0)}},[m,w,_]),(0,c.N)(()=>{let e=(0,s.TW)(m.current?m.current[0]:void 0);if(!w)return;let t=A.getTreeNode(m);if(t)return t.nodeToRestore=N.current??void 0,()=>{let t=A.getTreeNode(m);if(!t)return;let r=t.nodeToRestore,n=(0,o.bq)(e);if(w&&r&&(n&&b(n,m)||n===e.body&&R(m))){let t=A.clone();requestAnimationFrame(()=>{if(e.activeElement===e.body){let e=t.getTreeNode(m);for(;e;){if(e.nodeToRestore&&e.nodeToRestore.isConnected)return void C(e.nodeToRestore);e=e.parent}for(e=t.getTreeNode(m);e;){if(e.scopeRef&&e.scopeRef.current&&A.getTreeNode(e.scopeRef))return void C(S(e.scopeRef.current,!0));e=e.parent}}})}}},[m,w]),k=B,D=K,q=d.useRef(D),(0,d.useEffect)(()=>{if(q.current){p=k;let e=(0,s.TW)(k.current?k.current[0]:void 0);!v((0,o.bq)(e),p.current)&&k.current&&x(k.current)}q.current=!1},[k]),(0,d.useEffect)(()=>{let e=(0,o.bq)((0,s.TW)(B.current?B.current[0]:void 0)),t=null;if(v(e,B.current)){for(let r of A.traverse())r.scopeRef&&v(e,r.scopeRef.current)&&(t=r);t===A.getTreeNode(B)&&(p=t.scopeRef)}},[B]),(0,c.N)(()=>()=>{let e=A.getTreeNode(B)?.parent?.scopeRef??null;(B===p||E(B,p))&&(!e||A.getTreeNode(e))&&(p=e),A.removeTreeNode(B)},[B]);let V=(0,d.useMemo)(()=>{var e;return e=B,{focusNext(t={}){let r=e.current,{from:n,tabbable:i,wrap:a,accept:l}=t,u=n||(0,o.bq)((0,s.TW)(r[0]??void 0)),c=r[0].previousElementSibling,d=T(g(r),{tabbable:i,accept:l},r);d.currentNode=v(u,r)?u:c;let h=d.nextNode();return!h&&a&&(d.currentNode=c,h=d.nextNode()),h&&P(h,!0),h},focusPrevious(t={}){let r=e.current,{from:n,tabbable:i,wrap:a,accept:l}=t,u=n||(0,o.bq)((0,s.TW)(r[0]??void 0)),c=r[r.length-1].nextElementSibling,d=T(g(r),{tabbable:i,accept:l},r);d.currentNode=v(u,r)?u:c;let h=d.previousNode();return!h&&a&&(d.currentNode=c,h=d.previousNode()),h&&P(h,!0),h},focusFirst(t={}){let r=e.current,{tabbable:n,accept:i}=t,o=T(g(r),{tabbable:n,accept:i},r);o.currentNode=r[0].previousElementSibling;let a=o.nextNode();return a&&P(a,!0),a},focusLast(t={}){let r=e.current,{tabbable:n,accept:i}=t,o=T(g(r),{tabbable:n,accept:i},r);o.currentNode=r[r.length-1].nextElementSibling;let a=o.previousNode();return a&&P(a,!0),a}}},[]),z=(0,d.useMemo)(()=>({focusManager:V,parentNode:W}),[W,V]);return d.createElement(h.Provider,{value:z},d.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:$}),j,d.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:U}))}function g(e){return e[0].parentElement}function y(e){let t=A.getTreeNode(p);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function v(e,t){return!!e&&!!t&&t.some(t=>(0,o.sD)(t,e))}function b(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:r}of A.traverse(A.getTreeNode(t)))if(r&&v(e,r.current))return!0;return!1}function w(e){return b(e,p)}function E(e,t){let r=A.getTreeNode(t)?.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function P(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,i.l)(e)}catch{}}function S(e,t=!0){let r=e[0].previousElementSibling,n=g(e),i=T(n,{tabbable:t},e);i.currentNode=r;let o=i.nextNode();return t&&!o&&((i=T(n=g(e),{tabbable:!1},e)).currentNode=r,o=i.nextNode()),o}function x(e,t=!0){P(S(e,t))}function R(e){let t=A.getTreeNode(p);for(;t&&t.scopeRef!==e;
12){if(t.nodeToRestore)return!1;t=t.parent}return t?.scopeRef===e}function C(e){e.dispatchEvent(new CustomEvent(f,{bubbles:!0,cancelable:!0}))&&P(e)}function T(e,t,r){let i=t?.tabbable?u.A:u.t,a=e?.nodeType===Node.ELEMENT_NODE?e:null,l=(0,s.TW)(a),c=(0,n.H)(l,e||l,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>(0,o.sD)(t?.from,e)||t?.tabbable&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")&&(!function(e){if(e.checked)return!0;let t=function(e){if(!e.form)return Array.from((0,s.TW)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter(e=>!e.form);let t=e.form.elements.namedItem(e.name),r=(0,s.mD)(e);return t instanceof r.RadioNodeList?Array.from(t).filter(e=>e instanceof r.HTMLInputElement):t instanceof r.HTMLInputElement?[t]:[]}(e);return t.length>0&&!t.some(e=>e.checked)}(e)||"INPUT"===c.currentNode.tagName&&"radio"===c.currentNode.type&&c.currentNode.name===e.name)?NodeFilter.FILTER_REJECT:i(e)&&(!r||v(e,r))&&(!t?.accept||t.accept(e))?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});return t?.from&&(c.currentNode=t.from),c}class _{constructor(){this.fastMap=new Map,this.root=new I({scopeRef:null}),this.fastMap.set(null,this.root)}get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,r){let n=this.fastMap.get(t??null);if(!n)return;let i=new I({scopeRef:e});n.addChild(i),i.parent=n,this.fastMap.set(e,i),r&&(i.nodeToRestore=r)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let r=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&v(e.nodeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let n=t.children;r&&(r.removeChild(t),n.size>0&&n.forEach(e=>r&&r.addChild(e))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){let e=new _;for(let t of this.traverse())e.addTreeNode(t.scopeRef,t.parent?.scopeRef??null,t.nodeToRestore);return e}}class I{constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}}let A=new _},32929:(e,t,r)=>{"use strict";r.d(t,{_:()=>o});var n=r(34200),i=r(14232);function o(e,t,r,o){let a=(0,n.J)(r),s=null==r;(0,i.useEffect)(()=>{if(s||!e.current)return;let r=e.current;return r.addEventListener(t,a,o),()=>{r.removeEventListener(t,a,o)}},[e,t,o,s])}},33106:(e,t,r)=>{"use strict";r.d(t,{j:()=>p});var n=r(74856),i=r(14232),o=r(30413),a=r(64591),s=r(17797),l=r(37846),u=r(79459),c=r(48060),d=r(34451),h=r(2091),f=r(81100);function p(e){var t,r,p,m,g,y,v,b,w,E=e.children,P=(t=(0,n._)(e,["children"]),r=(0,u.r)(),m=null==(p=(0,c.m)())?void 0:p.initialResults,g=(0,l.R)(),y=(0,h.w)(t),b=(v=(0,i.useMemo)(function(){return(0,a.A)(y)},[y])).getHelper(),w=(0,s.C)(),(0,d.E)(function(){w()},[b,w]),(0,f.Q)({widget:v,parentIndex:g,props:y,shouldSsr:!!(r||m),skipSuspense:!0}),v);return null===P.getHelper()?null:i.createElement(o.m.Provider,{value:P},E)}},33655:(e,t)=>{"use strict";t._=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},33872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(14232);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=o(e,n)),t&&(i.current=o(t,n))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},34140:(e,t,r)=>{"use strict";
12var n=r(28419),i=r(71938),o=r(66958);e.exports=r(78121)||n.call(o,i)},34200:(e,t,r)=>{"use strict";r.d(t,{J:()=>a});var n=r(3696),i=r(14232);let o=i.useInsertionEffect??n.N;function a(e){let t=(0,i.useRef)(null);return o(()=>{t.current=e},[e]),(0,i.useCallback)((...e)=>{let r=t.current;return r?.(...e)},[])}},34451:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(14232),i="u">typeof window?n.useLayoutEffect:n.useEffect},34739:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
12-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},34816:(e,t,r)=>{"use strict";var n=r(86558),i=r(61664),o=r(55450);e.exports=n?function(e){return n(e)}:i?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw TypeError("getProto: not an object");return i(e)}:o?function(e){return o(e)}:null},35152:(e,t,r)=>{"use strict";var n=r(30419);t._=function(e,t){if(e){if("string"==typeof e)return n._(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n._(e,t)}}},35329:(e,t,r)=>{"use strict";e.exports=function(e){return function(t,r){var n,u,c,d,h,f=e.hierarchicalFacets[r],p=e.hierarchicalFacetsRefinements[f.name]&&e.hierarchicalFacetsRefinements[f.name][0]||"",m=e._getHierarchicalFacetSeparator(f),g=e._getHierarchicalRootPath(f),y=e._getHierarchicalShowParentLevel(f),v=o(e._getHierarchicalFacetSortBy(f)),b=t.every(function(e){return e.exhaustive}),w=(n=v,u=m,c=g,d=y,h=p,function(e,t,r){var o=e;if(r>0){var f=0;for(o=e;f<r;)o=i(o&&Array.isArray(o.data)?o.data:[],function(e){return e.isRefined}),f++}if(o){var p=Object.keys(t.data).map(function(e){return[e,t.data[e]]}).filter(function(e){var t,r,n,i,a,s;return t=e[0],r=o.path||c,n=h,i=u,a=c,s=d,(!a||0===t.indexOf(a)&&a!==t)&&(!a&&-1===t.indexOf(i)||a&&t.split(i).length-a.split(i).length==1||-1===t.indexOf(i)&&-1===n.indexOf(i)||0===n.indexOf(t)||0===t.indexOf(r+i)&&(s||0===t.indexOf(n)))});o.data=a(p.map(function(e){var r,n,i,o,a,c,d=e[0];return r=e[1],n=d,i=u,o=l(h),a=t.exhaustive,{name:(c=n.split(i))[c.length-1].trim(),path:n,escapedValue:s(n),count:r,isRefined:o===n||0===o.indexOf(n+i),exhaustive:a,data:null}}),n[0],n[1])}return e}),E=t;return g&&(E=t.slice(g.split(m).length)),E.reduce(w,{name:e.hierarchicalFacets[r].name,count:null,isRefined:!0,path:null,escapedValue:null,exhaustive:b,data:null})}};var n=r(85125),i=r(76957),o=r(60885),a=r(27823),s=n.escapeFacetValue,l=n.unescapeFacetValue},36848:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var n=r(21393),i=r(8768),o=r(5382),a=r(95253),s=r(11701),l=r(98619),u=r(2230),c=r(64450),d=r(49560),h=(0,u.V)({name:"configure",connector:!0});function f(e,t){return e.setQueryParameters(Object.keys(t.searchParameters).reduce(function(e,t){return(0,a._)((0,o._)({},e),(0,i._)({},t,void 0))},{}))}var p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d.l,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:d.l;return function(r){if(!r||!(0,l.Q)(r.searchParameters))throw Error(h("The `searchParameters` option expects an object."));var n={};return{$$type:"ais.configure",init:function(t){var r=t.instantSearchInstance;e((0,a._)((0,o._)({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e((0,a._)((0,o._)({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!1)},dispose:function(e){var n=e.state;return t(),f(n,r)},getRenderState:function(e,t){var r,n=this.getWidgetRenderState(t);return(0,a._)((0,o._)({},e),{configure:(0,a._)((0,o._)({},n),{widgetParams:(0,a._)((0,o._)({},n.widgetParams),{searchParameters:(0,c.p)(new s.SearchParameters(null==(r=e.configure)?void 0:r.widgetParams.searchParameters),new s.SearchParameters(n.widgetParams.searchParameters)).getQueryParams()})})})},getWidgetRenderState:function(e){var t=e.helper;return n.refine||(n.refine=function(e){var n=f(t.state,r),i=(0,c.p)(n,new s.SearchParameters(e));r.searchParameters=e,t.setState(i).search()}),{refine:n.refine,widgetParams:r}},getWidgetSearchParameters:function(e,t){var n=t.uiState;return(0,c.p)(e,new s.SearchParameters((0,o._)({},n.configure,r.searchParameters)))},getWidgetUiState:function(e){return(0,a._)((0,o._)({},e),{configure:(0,o._)({},e.configure,r.searchParameters)})}}}},m=r(86088);function g(e){var t,r;return t=(0,n._)({},e),r={$$widgetType:"ais.configure"},(0,m.Z)(p,{searchParameters:t},r),null}},37846:(e,t,r)=>{"use strict";r.d(t,{R:()=>a});var n=r(14232),i=r(30413),o=r(5414);function a(){var e=(0,n.useContext)(i.m);return(0,o.V)(null!==e),e}},38539:e=>{"use strict";function t(e,t){this._state=e,this._rawResults={};var r=this;
12e.params.forEach(function(e){var n=e.$$id;r[n]=t[n],r._rawResults[n]=t[n]})}t.prototype={constructor:t},e.exports=t},39139:(e,t,r)=>{"use strict";var n=r(80354);t._=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n._(e,t)}},40302:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ServerInsertedHTMLContext:function(){return a},useServerInsertedHTML:function(){return s}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(88365)._(r(14232)),a=o.default.createContext(null);function s(e){let t=(0,o.useContext)(a);t&&t(e)}},41092:(e,t)=>{"use strict";t._=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}},41760:e=>{"use strict";e.exports=Math.max},41796:(e,t,r)=>{"use strict";r.d(t,{Ig:()=>a,vX:()=>o});var n=r(29786),i=r(88001);function o(e){var t,r,o;let s,l,u=(t=(0,i.TW)(e),s=(0,n.bq)(t),(l=s?.getAttribute("aria-activedescendant"))&&t.getElementById(l)||s);u!==e&&(u&&(r=u,o=e,r.dispatchEvent(new FocusEvent("blur",{relatedTarget:o})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:o}))),e&&a(e,u))}function a(e,t){e.dispatchEvent(new FocusEvent("focus",{relatedTarget:t})),e.dispatchEvent(new FocusEvent("focusin",{bubbles:!0,relatedTarget:t}))}},41835:(e,t,r)=>{"use strict";var n=r(80701);t._=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),i.forEach(function(t){n._(e,t,r[t])})}return e}},41863:(e,t,r)=>{"use strict";r.d(t,{m:()=>a});var n=r(88001);function i(e){let t=e?.defaultView;return t?.__webpack_nonce__||globalThis.__webpack_nonce__||void 0}let o=new WeakMap;function a(e){let t=e??("u">typeof document?document:void 0);if(!t)return i(t);if(o.has(t))return o.get(t);let r=t.querySelector('meta[property="csp-nonce"]'),a=r&&r instanceof(0,n.mD)(r).HTMLMetaElement&&(r.nonce||r.content)||i(t)||void 0;return void 0!==a&&o.set(t,a),a}},42228:e=>{"use strict";e.exports=function(e){return null!==e&&/^[a-zA-Z0-9_-]{1,64}$/.test(e)}},42504:e=>{"use strict";e.exports=Math.pow},42507:(e,t,r)=>{"use strict";var n=r(66614),i=r(77253),o=r(17330);t._=function(e,t,r){return t=n._(t),o._(e,i._()?Reflect.construct(t,r||[],n._(e).constructor):t.apply(e,r))}},43966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let n=r(76720);function i(e,t,i,o){{let a=r(44890).normalizeLocalePath,s=r(43773).detectDomainLocale,l=t||a(e,i).detectedLocale,u=s(o,void 0,l);if(u){let t=`http${u.http?"":"s"}://`,r=l===u.defaultLocale?"":`/${l}`;return`${t}${u.domain}${(0,n.normalizePathTrailingSlash)(`${r}${e}`)}`}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44273:(e,t,r)=>{"use strict";r.d(t,{N:()=>f});var n=r(2572),i=r(50302),o=r(87802),a=r(68092),s=r(63591),l=r(11646),u=r(48553),c=r(93406),d=r(14232);let h=(0,d.createContext)(null),f=(0,d.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,h);let r=e.href&&!e.isDisabled?"a":"span",{linkProps:f,isPressed:p}=function(e,t){let{elementType:r="a",onPress:n,onPressStart:u,onPressEnd:c,onClick:d,isDisabled:h,...f}=e,p={};"a"!==r&&(p={role:"link",tabIndex:h?void 0:0});let{focusableProps:m}=(0,s.Wc)(e,t),{pressProps:g,isPressed:y}=(0,l.d)({onPress:n,onPressStart:u,onPressEnd:c,onClick:d,isDisabled:h,ref:t}),v=(0,i.$)(f,{labelable:!0}),b=(0,a.v)(m,g),w=(0,o.rd)(),E=(0,o._h)(e);return{isPressed:y,linkProps:(0,a.v)(v,E,{...b,...p,"aria-disabled":h||void 0,"aria-current":e["aria-current"],onClick:t=>{g.onClick?.(t),(0,o.PJ)(t,w,e.href,e.routerOptions)}})}}({...e,elementType:r},t),m=n.tT[r],{hoverProps:g,isHovered:y}=(0,u.M)(e),{focusProps:v,isFocused:b,isFocusVisible:w}=(0,c.o)(),E=(0,n.Sl)({...e,defaultClassName:"react-aria-Link",values:{isCurrent:!!e["aria-current"],isDisabled:e.isDisabled||!1,isPressed:p,isHovered:y,isFocused:b,isFocusVisible:w}}),P=(0,i.$)(e,{global:!0});return delete P.onClick,d.createElement(m,{ref:t,slot:e.slot||void 0,...(0,a.v)(P,E,f,g,v),"data-focused":b||void 0,"data-hovered":y||void 0,"data-pressed":p||void 0,"data-focus-visible":w||void 0,"data-current":!!e["aria-current"]||void 0,"data-disabled":e.isDisabled||void 0},E.children)})},44890:(e,t,r)=>{"use strict";
12Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(e,t)=>r(73775).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44961:(e,t)=>{"use strict";t._=function(e){if(Array.isArray(e))return e}},45105:(e,t,r)=>{e.exports=r(13209)},45258:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(14232);function i(e){let{children:t,items:r,idScope:i,addIdAndValue:o,dependencies:a=[]}=e,s=(0,n.useMemo)(()=>void 0,[t]),l=(0,n.useMemo)(()=>new WeakMap,[...a,s]);return(0,n.useMemo)(()=>{if(r&&"function"==typeof t){let e=[];for(let a of r){let r=!function(e){switch(typeof e){case"object":return null!=e;case"function":case"symbol":return!0;default:return!1}}(a)?null:a,s=r?l.get(r):null;if(!s){let u=(s=t(a)).props.id??a?.key??a?.id;null!=i&&null==s.props.id&&null!=u&&(u=i+":"+u);let c=u??e.length;s=(0,n.cloneElement)(s,o?{key:c,id:u,value:a}:{key:c}),r&&l.set(r,s)}e.push(s)}return e}if("function"!=typeof t)return t},[t,r,l,i,o])}},45525:(e,t,r)=>{"use strict";var n,i=r(52468),o=r(29351),a=r(5391),s=r(55502),l=r(72130),u=r(71742),c=r(65865),d=r(73305),h=r(2002),f=r(2496),p=r(41760),m=r(54366),g=r(42504),y=r(87962),v=r(80611),b=Function,w=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},E=r(10221),P=r(98857),S=function(){throw new c},x=E?function(){try{return arguments.callee,S}catch(e){try{return E(arguments,"callee").get}catch(e){return S}}}():S,R=r(95295)(),C=r(34816),T=r(61664),_=r(86558),I=r(71938),A=r(66958),k={},D="u">typeof Uint8Array&&C?C(Uint8Array):n,O={__proto__:null,"%AggregateError%":"u"<typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"u"<typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":R&&C?C([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":"u"<typeof Atomics?n:Atomics,"%BigInt%":"u"<typeof BigInt?n:BigInt,"%BigInt64Array%":"u"<typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"u"<typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"u"<typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float16Array%":"u"<typeof Float16Array?n:Float16Array,"%Float32Array%":"u"<typeof Float32Array?n:Float32Array,"%Float64Array%":"u"<typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"u"<typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":k,"%Int8Array%":"u"<typeof Int8Array?n:Int8Array,"%Int16Array%":"u"<typeof Int16Array?n:Int16Array,"%Int32Array%":"u"<typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
12IteratorPrototype%":R&&C?C(C([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"u"<typeof Map?n:Map,"%MapIteratorPrototype%":"u">typeof Map&&R&&C?C(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"u"<typeof Promise?n:Promise,"%Proxy%":"u"<typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"u"<typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"u"<typeof Set?n:Set,"%SetIteratorPrototype%":"u">typeof Set&&R&&C?C(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"u"<typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":R&&C?C(""[Symbol.iterator]()):n,"%Symbol%":R?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":x,"%TypedArray%":D,"%TypeError%":c,"%Uint8Array%":"u"<typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"u"<typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"u"<typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"u"<typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"u"<typeof WeakMap?n:WeakMap,"%WeakRef%":"u"<typeof WeakRef?n:WeakRef,"%WeakSet%":"u"<typeof WeakSet?n:WeakSet,"%Function.prototype.call%":A,"%Function.prototype.apply%":I,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":T,"%Math.abs%":h,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":y,"%Math.sign%":v,"%Reflect.getPrototypeOf%":_};if(C)try{null.error}catch(e){var F=C(C(e));O["%Error.prototype%"]=F}var N=function e(t){var r;if("%AsyncFunction%"===t)r=w("async function () {}");else if("%GeneratorFunction%"===t)r=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=w("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&C&&(r=C(i.prototype))}return O[t]=r,r},q={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},j=r(28419),L=r(71355),M=j.call(A,Array.prototype.concat),K=j.call(I,Array.prototype.splice),$=j.call(A,String.prototype.replace),U=j.call(A,String.prototype.slice),B=j.call(A,RegExp.prototype.exec),H=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,W=/\\(\\)?/g,V=function(e){var t=U(e,0,1),r=U(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return $(e,H,function(e,t,r,i){n[n.length]=r?$(i,W,"$1"):t||e}),n},z=function(e,t){var r,n=e;if(L(q,n)&&(n="%"+(r=q[n])[0]+"%"),L(O,n)){var i=O[n];if(i===k&&(i=N(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===B(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=V(e),n=r.length>0?r[0]:"",i=z("%"+n+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(n=l[0],K(r,M([0,1],l)));for(var d=1,h=!0;d<r.length;d+=1){var f=r[d],p=U(f,0,1),m=U(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===m||"'"===m||"`"===m)&&p!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==f&&h||(s=!0),n+="."+f,L(O,o="%"+n+"%"))a=O[o];
12else if(null!=a){if(!(f in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(E&&d+1>=r.length){var g=E(a,f);a=(h=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[f]}else h=L(a,f),a=a[f];h&&!s&&(O[o]=a)}}return a}},46664:(e,t)=>{"use strict";t._=function(e){if(Array.isArray(e))return e}},47278:(e,t,r)=>{"use strict";var n=r(81151),i=r(15738),o=Object.prototype.hasOwnProperty,a=Array.isArray,s=i(),l=function(e,t){return s.set(e,t),e},u=function(e){return s.has(e)},c=function(e){return s.get(e)},d=function(e,t){s.set(e,t)},h=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),f=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(a(r)){for(var n=[],i=0;i<r.length;++i)void 0!==r[i]&&(n[n.length]=r[i]);t.obj[t.prop]=n}}},p=function(e,t){for(var r=t&&t.plainObjects?{__proto__:null}:{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:p,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t,r,n){if(u(e)){var i=c(e)+1;return e[i]=t,d(e,i),e}var o=[].concat(e,t);return o.length>r?l(p(o,{plainObjects:n}),o.length-1):o},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var i=t[n],o=i.obj[i.prop],a=Object.keys(o),s=0;s<a.length;++s){var l=a[s],u=o[l];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t[t.length]={obj:o,prop:l},r[r.length]=u)}return f(t),e},decode:function(e,t,r){var n=e.replace(/\+/g," ");if("iso-8859-1"===r)return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch(e){return n}},encode:function(e,t,r,i,o){if(0===e.length)return e;var a=e;if("symbol"==typeof e?a=Symbol.prototype.toString.call(e):"string"!=typeof e&&(a=String(e)),"iso-8859-1"===r)return escape(a).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var s="",l=0;l<a.length;l+=1024){for(var u=a.length>=1024?a.slice(l,l+1024):a,c=[],d=0;d<u.length;++d){var f=u.charCodeAt(d);if(45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||o===n.RFC1738&&(40===f||41===f)){c[c.length]=u.charAt(d);continue}if(f<128){c[c.length]=h[f];continue}if(f<2048){c[c.length]=h[192|f>>6]+h[128|63&f];continue}if(f<55296||f>=57344){c[c.length]=h[224|f>>12]+h[128|f>>6&63]+h[128|63&f];continue}d+=1,f=65536+((1023&f)<<10|1023&u.charCodeAt(d)),c[c.length]=h[240|f>>18]+h[128|f>>12&63]+h[128|f>>6&63]+h[128|63&f]}s+=c.join("")}return s},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isOverflow:u,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:l,maybeMap:function(e,t){if(a(e)){for(var r=[],n=0;n<e.length;n+=1)r[r.length]=t(e[n]);return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r&&"function"!=typeof r){if(a(t)){var i=t.length;if(n&&"number"==typeof n.arrayLimit&&i>n.arrayLimit)return l(p(t.concat(r),n),i);t[i]=r}else if(!t||"object"!=typeof t)return[t,r];else if(u(t)){var s=c(t)+1;t[s]=r,d(t,s)}else{if(n&&n.strictMerge)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t){if(u(r)){for(var h=Object.keys(r),f=n&&n.plainObjects?{__proto__:null,0:t}:{0:t},m=0;m<h.length;m++)f[parseInt(h[m],10)+1]=r[h[m]];return l(f,c(r)+1)}var g=[t].concat(r);return n&&"number"==typeof n.arrayLimit&&g.length>n.arrayLimit?l(p(g,n),g.length-1):g}var y=t;return(a(t)&&!a(r)&&(y=p(t,n)),a(t)&&a(r))?(r.forEach(function(r,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&r&&"object"==typeof r?t[i]=e(a,r,n):t[t.length]=r}else t[i]=r}),t):Object.keys(r).reduce(function(t,i){var a=r[i];if(o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,u(r)&&!u(t)&&l(t,c(r)),u(t)){var s=parseInt(i,10);String(s)===i&&s>=0&&s>c(t)&&d(t,s)}return t},y)}}},47482:(e,t,r)=>{"use strict";r.d(t,{F:()=>o});var n=r(34200),i=r(14232);function o(e,t,r){let o=(0,n.J)(e=>{r&&!e.defaultPrevented&&r(t)});(0,i.useEffect)(()=>{let t=e?.current?.form;return t?.addEventListener("reset",o),()=>{t?.removeEventListener("reset",o)}},[e])}},48060:(e,t,r)=>{"use strict";r.d(t,{m:()=>
12o});var n=r(14232),i=(0,n.createContext)(null);function o(){return(0,n.useContext)(i)}},48153:(e,t,r)=>{"use strict";function n(e){if(function(){if(null==i){i=!1;try{document.createElement("div").focus({get preventScroll(){return i=!0,!0}})}catch{}}return i}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,r=[],n=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==n;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&r.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return n instanceof HTMLElement&&r.push({element:n,scrollTop:n.scrollTop,scrollLeft:n.scrollLeft}),r}(e);e.focus(),function(e){for(let{element:t,scrollTop:r,scrollLeft:n}of e)t.scrollTop=r,t.scrollLeft=n}(t)}}r.d(t,{e:()=>n});let i=null},48230:(e,t,r)=>{e.exports=r(6334)},48553:(e,t,r)=>{"use strict";r.d(t,{M:()=>d});var n=r(29786),i=r(88001),o=r(48721),a=r(14232);let s=!1,l=0;function u(e){"touch"===e.pointerType&&(s=!0,setTimeout(()=>{s=!1},500))}function c(){let e=(0,i.TW)(null);if(void 0!==e)return 0===l&&"u">typeof PointerEvent&&e.addEventListener("pointerup",u),l++,()=>{!(--l>0)&&"u">typeof PointerEvent&&e.removeEventListener("pointerup",u)}}function d(e){let{onHoverStart:t,onHoverChange:r,onHoverEnd:l,isDisabled:u}=e,[d,h]=(0,a.useState)(!1),f=(0,a.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,a.useEffect)(c,[]);let{addGlobalListener:p,removeAllGlobalListeners:m}=(0,o.A)(),{hoverProps:g,triggerHoverEnd:y}=(0,a.useMemo)(()=>{let e=(e,t)=>{let n=f.target;f.pointerType="",f.target=null,"touch"!==t&&f.isHovered&&n&&(f.isHovered=!1,m(),l&&l({type:"hoverend",target:n,pointerType:t}),r&&r(!1),h(!1))},o={};return"u">typeof PointerEvent&&(o.onPointerEnter=o=>{s&&"mouse"===o.pointerType||((o,a)=>{if(f.pointerType=a,u||"touch"===a||f.isHovered||!(0,n.sD)(o.currentTarget,(0,n.wt)(o)))return;f.isHovered=!0;let s=o.currentTarget;f.target=s,p((0,i.TW)((0,n.wt)(o)),"pointerover",t=>{f.isHovered&&f.target&&!(0,n.sD)(f.target,(0,n.wt)(t))&&e(t,t.pointerType)},{capture:!0}),t&&t({type:"hoverstart",target:s,pointerType:a}),r&&r(!0),h(!0)})(o,o.pointerType)},o.onPointerLeave=t=>{!u&&(0,n.sD)(t.currentTarget,(0,n.wt)(t))&&e(t,t.pointerType)}),{hoverProps:o,triggerHoverEnd:e}},[t,r,l,u,f,p,m]);return(0,a.useEffect)(()=>{u&&y({currentTarget:f.target},f.pointerType)},[u]),{hoverProps:g,isHovered:d}}},48721:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(14232);function i(){let e=(0,n.useRef)(new Map),t=(0,n.useCallback)((t,r,n,i)=>{let o=i?.once?(...t)=>{e.current.delete(n),n(...t)}:n;e.current.set(n,{type:r,eventTarget:t,fn:o,options:i}),t.addEventListener(r,o,i)},[]),r=(0,n.useCallback)((t,r,n,i)=>{let o=e.current.get(n)?.fn||n;t.removeEventListener(r,o,i),e.current.delete(n)},[]),i=(0,n.useCallback)(()=>{e.current.forEach((e,t)=>{r(e.eventTarget,e.type,t,e.options)})},[r]);return(0,n.useEffect)(()=>i,[i]),{addGlobalListener:t,removeGlobalListener:r,removeAllGlobalListeners:i}}},49077:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return s.ReadonlyURLSearchParams},RedirectType:function(){return d.RedirectType},ServerInsertedHTMLContext:function(){return u.ServerInsertedHTMLContext},forbidden:function(){return d.forbidden},notFound:function(){return d.notFound},permanentRedirect:function(){return d.permanentRedirect},redirect:function(){return d.redirect},unauthorized:function(){return d.unauthorized},unstable_isUnrecognizedActionError:function(){return c.unstable_isUnrecognizedActionError},unstable_rethrow:function(){return d.unstable_rethrow},useParams:function(){return w},usePathname:function(){return v},useRouter:function(){return b},useSearchParams:function(){return y},useSelectedLayoutSegment:function(){return P},useSelectedLayoutSegments:function(){return E},useServerInsertedHTML:function(){return u.useServerInsertedHTML}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(88365)._(r(14232)),a=r(21965),s=r(40760),l=r(79853),u=r(40302),c=r(53966),d=r(83044),h,f,{instrumentParam
12sForClientValidation:p,instrumentSearchParamsForClientValidation:m,expectCompleteParamsInClientValidation:g}={};function y(){f?.("useSearchParams()");let e=(0,o.useContext)(s.SearchParamsContext);return(0,o.useMemo)(()=>e?new s.ReadonlyURLSearchParams(e):null,[e])}function v(){return h?.("usePathname()"),(0,o.useContext)(s.PathnameContext)}function b(){let e=(0,o.useContext)(a.AppRouterContext);if(null===e)throw Object.defineProperty(Error("invariant expected app router to be mounted"),"__NEXT_ERROR_CODE",{value:"E238",enumerable:!1,configurable:!0});return e}function w(){return h?.("useParams()"),(0,o.useContext)(s.PathParamsContext)}function E(e="children"){h?.("useSelectedLayoutSegments()");let t=(0,o.useContext)(a.LayoutRouterContext);return t?(0,l.getSelectedLayoutSegmentPath)(t.parentTree,e):null}function P(e="children"){h?.("useSelectedLayoutSegment()"),(0,o.useContext)(s.NavigationPromisesContext);let t=E(e);return(0,l.computeSelectedLayoutSegment)(t,e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},49131:(e,t,r)=>{"use strict";var n=r(46664),i=r(27656),o=r(73927),a=r(35152);t._=function(e){return n._(e)||i._(e)||a._(e)||o._()}},49560:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]}r.d(t,{l:()=>n})},50260:(e,t)=>{"use strict";t._=function(e){if(null==e)throw TypeError("Cannot destructure "+e);return e}},50302:(e,t,r)=>{"use strict";r.d(t,{$:()=>u});let n=new Set(["id"]),i=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),o=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),a=new Set(["dir","lang","hidden","inert","translate"]),s=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),l=/^(data-.*)$/;function u(e,t={}){let{labelable:r,isLink:c,global:d,events:h=d,propNames:f}=t,p={};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n.has(t)||r&&i.has(t)||c&&o.has(t)||d&&a.has(t)||h&&(s.has(t)||t.endsWith("Capture")&&s.has(t.slice(0,-7)))||f?.has(t)||l.test(t))&&(p[t]=e[t]);return p}},50442:(e,t,r)=>{"use strict";r.d(t,{E:()=>a,h:()=>o});var n=r(2572),i=r(14232);let o=(0,i.createContext)({}),a=(0,i.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,o);let{elementType:r="span",...a}=e,s=n.tT[r];return i.createElement(s,{className:"react-aria-Text",...a,ref:t})})},50529:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(3696);function i(e,t){(0,n.N)(()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}})}},51161:e=>{"use strict";var t=Array.isArray,r=Object.keys,n=Object.prototype.hasOwnProperty,i="u">typeof Element;e.exports=function(e,o){try{return function e(o,a){if(o===a)return!0;if(o&&a&&"object"==typeof o&&"object"==typeof a){var s,l,u,c=t(o),d=t(a);if(c&&d){if((l=o.length)!=a.length)return!1;for(s=l;0!=s--;)if(!e(o[s],a[s]))return!1;return!0}if(c!=d)return!1;var h=o instanceof Date,f=a instanceof Date;if(h!=f)return!1;if(h&&f)return o.getTime()==a.getTime();var p=o instanceof RegExp,m=a instanceof RegExp;if(p!=m)return!1;if(p&&m)return o.toString()==a.toString();var g=r(o);if((l=g.length)!==r(a).length)return!1;for(s=l;0!=s--;)if(!n.call(a,g[s]))return!1;if(i&&o instanceof Element&&a instanceof Element)return o===a;for(s=l;0!=s--;)if(("_owner"!==(u=g[s])||!o.$$typeof)&&!e(o[u],a[u]))return!1;return!0}return o!=o&&a!=a}(e,o)}catch(e){if(e.message&&e.message.match(/stack|recursion/i)||-0x7ff5ffe4===e.number)return console.warn("Warning: react-fast-compare does not handle circular references.",e.name,e.message),!1;throw e}}},52364:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n=r(67358),i=Promise.resolve();function o(e){var t=null,r=!1,o=function(){for(var o=arguments.length,a=Array(o),s=0;s<o;s++)a[s]=arguments[s];null===t&&(t=i.then(function(){if(t=null,r){r=!1;return}e.apply(void 0,(0,n._)(a))}))};return o.wait=function(){if(null===t)throw Error("The deferred function should be called before calling `wait()`");return t},o.cancel=function(){null!==t&&(r=!0)},o}},52468:e=>{"use strict";e.exports=Object},52661:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
12dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r){void 0===r&&(r={});for(var n,i,l,u,c,d=[],h="function"==typeof r.replace,f=null!=(n=r.transform)?n:a.returnFirstArg,p=null!=(i=r.library)?i:s,m=p.cloneElement,g=p.createElement,y=p.isValidElement,v=t.length,b=0;b<v;b++){var w,E=t[b];if(h){var P=null==(l=r.replace)?void 0:l.call(r,E,b);if(y(P)){v>1&&(P=m(P,{key:null!=(u=P.key)?u:b})),d.push(f(P,E,b));continue}}if("text"===E.type){var S=!E.data.trim().length;if(S&&E.parent&&!(0,a.canTextBeChildOfNode)(E.parent)||r.trim&&S)continue;d.push(f(E.data,E,b));continue}var x={};(w=E,a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===w.type&&(0,a.isCustomComponent)(w.name,w.attribs))?((0,a.setStyleProp)(E.attribs.style,E.attribs),x=E.attribs):E.attribs&&(x=(0,o.default)(E.attribs,E.name));var R=void 0;switch(E.type){case"script":case"style":E.children[0]&&(x.dangerouslySetInnerHTML={__html:E.children[0].data});break;case"tag":"textarea"===E.name&&E.children[0]?x.defaultValue=E.children[0].data:(null==(c=E.children)?void 0:c.length)&&(R=e(E.children,r));break;default:continue}v>1&&(x.key=b),d.push(f(g(E.name,x,R),E,b))}return 1===d.length?d[0]:d};var i=r(14232),o=n(r(23920)),a=r(10926),s={cloneElement:i.cloneElement,createElement:i.createElement,isValidElement:i.isValidElement}},52747:(e,t,r)=>{"use strict";r.d(t,{lG:()=>R,zM:()=>x,RG:()=>S});var n=r(55527),i=r(2572),o=r(4644),a=r(25451),s=r(91681),l=r(5407),u=r(14232);let c=(0,u.createContext)(null);class d extends s.Pt{filter(e,t,r){let n=e.getItem(this.firstChildKey);if(n&&r(n.textValue,this)){let r=this.clone();return t.addDescendants(r,e),r}return null}}d.type="submenutrigger",l.Y;var h=r(30239),f=r(95800),p=r(50302),m=r(67096),g=r(29786),y=r(86473),v=r(54047),b=r(68092),w=r(12859),E=r(16445);let P=(0,u.createContext)(null),S=(0,u.createContext)(null);function x(e){let t=function(e){let t=(0,w.T)(e),[r,n]=(0,u.useState)(null),[i,o]=(0,u.useState)([]);return{focusStrategy:r,...t,open(e=null){n(e),t.open()},toggle(e=null){n(e),t.toggle()},close(){o([]),t.close()},expandedKeysStack:i,openSubmenu:(e,t)=>{o(r=>t>r.length?r:[...r.slice(0,t),e])},closeSubmenu:(e,t)=>{o(r=>r[t]===e?r.slice(0,t):r)}}}(e),r=(0,u.useRef)(null),{triggerProps:n,overlayProps:o}=(0,h.o)({type:"dialog"},t,r),[s,l]=(0,u.useState)(null),d=(0,u.useCallback)(()=>{r.current&&l(r.current.offsetWidth+"px")},[r]);return(0,v.w)({ref:r,onResize:d}),n.id=(0,f.Bi)(),o["aria-labelledby"]=n.id,u.createElement(i.Kq,{values:[[S,t],[c,t],[P,o],[a.n,{trigger:"DialogTrigger",triggerRef:r,"aria-labelledby":o["aria-labelledby"],style:{"--trigger-width":s}}]]},u.createElement(E.Y,{...n,ref:r,isPressed:t.isOpen},e.children))}let R=(0,u.forwardRef)(function(e,t){let r=e["aria-labelledby"];[e,t]=(0,i.JT)(e,t,P);let{dialogProps:a,titleProps:s}=function(e,t){let{role:r="dialog"}=e,n=(0,f.X1)();n=e["aria-label"]?void 0:n;let i=(0,u.useRef)(!1);return(0,u.useEffect)(()=>{if(t.current&&!(0,g.ae)(t.current)){(0,m.l)(t.current);let e=setTimeout(()=>{((0,g.bq)()===t.current||(0,g.bq)()===document.body)&&(i.current=!0,t.current&&(t.current.blur(),(0,m.l)(t.current)),i.current=!1)},500);return()=>{clearTimeout(e)}}},[t]),(0,y.Se)(),(0,u.useRef)(!1),(0,u.useEffect)(()=>{}),{dialogProps:{...(0,p.$)(e,{labelable:!0}),role:r,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||n,onBlur:e=>{i.current&&e.stopPropagation()}},titleProps:{id:n}}}({...e,"aria-labelledby":r},t),l=(0,u.useContext)(S);a["aria-label"]||a["aria-labelledby"]||e["aria-labelledby"]&&(a["aria-labelledby"]=e["aria-labelledby"]);let c=(0,i.Sl)({defaultClassName:"react-aria-Dialog",className:e.className,style:e.style,children:e.children,values:{close:(null==l?void 0:l.close)||(()=>{})}}),d=(0,p.$)(e,{global:!0});return u.createElement(i.tT.section,{...(0,b.v)(d,c,a),render:e.render,ref:t,slot:e.slot||void 0},u.createElement(i.Kq,{values:[[o.A3,{slots:{[i.P_]:{},title:{...s,level:2}}}],[n.k,{slots:{[i.P_]:{},close:{onPress:()=>null==l?void 0:l.close()}}}]]},c.children))})},52795:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let n=r(1185),i=r(49419);function o({config:e,src:t,width:r,quality:a}){let s=(0,i.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")){let e=t.indexOf("?");if(-1!==e){let r=new URLSearchParams(t.slice(e+1)),n=r.get("dpl");if(n){s=n,r.delete("dpl");let i=r.toString();t=t.slice(0,e)+(i?"?"+i:"")}}}if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns. 13Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,
13configurable:!0});let l=(0,n.findClosestQuality)(a,e);return`${e.path}?url=${encodeURIComponent(t)}&w=${r}&q=${l}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}o.__next_img_default=!0;let a=o},53115:(e,t)=>{"use strict";t._=function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},53966:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={UnrecognizedActionError:function(){return i},unstable_isUnrecognizedActionError:function(){return o}};for(var n in r)Object.defineProperty(t,n,{enumerable:!0,get:r[n]});class i extends Error{constructor(...e){super(...e),this.name="UnrecognizedActionError"}}function o(e){return!!(e&&"object"==typeof e&&e instanceof i)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54047:(e,t,r)=>{"use strict";r.d(t,{w:()=>o});var n=r(34200),i=r(14232);function o(e){let{ref:t,box:r,onResize:o}=e,a=(0,n.J)(o);(0,i.useEffect)(()=>{let e=t?.current;if(e)if(void 0===window.ResizeObserver)return window.addEventListener("resize",a,!1),()=>{window.removeEventListener("resize",a,!1)};else{let t=new window.ResizeObserver(e=>{e.length&&a()});return t.observe(e,{box:r}),()=>{e&&t.unobserve(e)}}},[t,r])}},54115:(e,t,r)=>{"use strict";r.d(t,{w:()=>eg});var n={};r.r(n),r.d(n,{abtestingV3Client:()=>O,apiClientVersion:()=>k});var i={};r.r(i),r.d(i,{abtestingClient:()=>q,apiClientVersion:()=>F});var o={};r.r(o),r.d(o,{analyticsClient:()=>M,apiClientVersion:()=>j});var a={};r.r(a),r.d(a,{apiClientVersion:()=>K,insightsClient:()=>U});var s={};r.r(s),r.d(s,{apiClientVersion:()=>B,personalizationClient:()=>W});var l={};r.r(l),r.d(l,{apiClientVersion:()=>V,querySuggestionsClient:()=>G});var u={};r.r(u),r.d(u,{apiClientVersion:()=>Q,searchClient:()=>J});var c={};r.r(c),r.d(c,{apiClientVersion:()=>X,ingestionClient:()=>er,isOnDemandTrigger:()=>Z,isScheduleTrigger:()=>ee,isSubscriptionTrigger:()=>et});var d={};r.r(d),r.d(d,{apiClientVersion:()=>en,monitoringClient:()=>ei});var h={};function f(e){let t,r=`algolia-client-js-${e.key}`;function n(){return void 0===t&&(t=e.localStorage||window.localStorage),t}function i(){return JSON.parse(n().getItem(r)||"{}")}function o(e){n().setItem(r,JSON.stringify(e))}return{get:(t,r,n={miss:()=>Promise.resolve()})=>Promise.resolve().then(()=>{let r,n;return r=e.timeToLive?1e3*e.timeToLive:null,o(n=Object.fromEntries(Object.entries(i()).filter(([,e])=>void 0!==e.timestamp))),r&&o(Object.fromEntries(Object.entries(n).filter(([,e])=>{let t=new Date().getTime();return!(e.timestamp+r<t)}))),i()[JSON.stringify(t)]}).then(e=>Promise.all([e?e.value:r(),void 0!==e])).then(([e,t])=>Promise.all([e,t||n.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve().then(()=>{let o=i();return o[JSON.stringify(e)]={timestamp:new Date().getTime(),value:t},n().setItem(r,JSON.stringify(o)),t}),delete:e=>Promise.resolve().then(()=>{let t=i();delete t[JSON.stringify(e)],n().setItem(r,JSON.stringify(t))}),clear:()=>Promise.resolve().then(()=>{n().removeItem(r)})}}function p(e){let t=[...e.caches],r=t.shift();return void 0===r?{get:(e,t,r={miss:()=>Promise.resolve()})=>t().then(e=>Promise.all([e,r.miss(e)])).then(([e])=>e),set:(e,t)=>Promise.resolve(t),delete:e=>Promise.resolve(),clear:()=>Promise.resolve()}:{get:(e,n,i={miss:()=>Promise.resolve()})=>r.get(e,n,i).catch(()=>p({caches:t}).get(e,n,i)),set:(e,n)=>r.set(e,n).catch(()=>p({caches:t}).set(e,n)),delete:e=>r.delete(e).catch(()=>p({caches:t}).delete(e)),clear:()=>r.clear().catch(()=>p({caches:t}).clear())}}function m(e={serializable:!0}){let t={};return{get(r,n,i={miss:()=>Promise.resolve()}){let o=JSON.stringify(r);if(o in t)return Promise.resolve(e.serializable?JSON.parse(t[o]):t[o]);let a=n();return a.then(e=>i.miss(e)).then(()=>a)},set:(r,n)=>(t[JSON.stringify(r)]=e.serializable?JSON.stringify(n):n,Promise.resolve(n)),delete:e=>(delete t[JSON.stringify(e)],Promise.resolve()),clear:()=>(t={},Promise.resolve())}}function g(e,t,r="WithinHeaders"){let n={"x-algolia-api-key":t,"x-algolia-application-id":e};return{headers:()=>"WithinHeaders"===r?n:{},queryParameters:()=>"WithinQueryParameters"===r?n:{}}}function y({func:e,validate:t,aggregator:r,error:n,timeout:i=()=>0}){let o=a=>new Promise((s,l)=>{e(a).then(async e=>(r&&await r(e),await t(e))?s(e):n&&await n.validate(e)?l(Error(await n.message(e))):setTimeout(()=>{o(e).then(s).catch(l)},await i())).catch(e=>{l(e)})});return o()}
13function v({algoliaAgents:e,client:t,version:r}){let n,i=(n={value:`Algolia for JavaScript (${r})`,add(e){let t=`; ${e.segment}${void 0!==e.version?` (${e.version})`:""}`;return -1===n.value.indexOf(t)&&(n.value=`${n.value}${t}`),n}}).add({segment:t,version:r});return e.forEach(e=>i.add(e)),i}function b(){return{debug:(e,t)=>Promise.resolve(),info:(e,t)=>Promise.resolve(),error:(e,t)=>Promise.resolve()}}function w(e,t="up"){let r=Date.now();return{...e,status:t,lastUpdate:r,isUp:function(){return"up"===t||Date.now()-r>12e4},isTimedOut:function(){return"timed out"===t&&Date.now()-r<=12e4}}}r.r(h),r.d(h,{apiClientVersion:()=>eo,recommendClient:()=>ea});var E=class extends Error{name="AlgoliaError";constructor(e,t){super(e),t&&(this.name=t)}},P=class extends E{stackTrace;constructor(e,t,r){super(e,r),this.stackTrace=t}},S=class extends P{constructor(e){super("Unreachable hosts - your application id may be incorrect. If the error persists, please visit our help center https://alg.li/support-unreachable-hosts or reach out to the Algolia Support team: https://alg.li/support",e,"RetryError")}},x=class extends P{status;constructor(e,t,r,n="ApiError"){super(e,r,n),this.status=t}},R=class extends E{response;constructor(e,t){super(e,"DeserializationError"),this.response=t}},C=class extends x{error;constructor(e,t,r,n){super(e,t,n,"DetailedApiError"),this.error=r}};function T(e){for(let t=e.length-1;t>0;t--){let r=Math.floor(Math.random()*(t+1)),n=e[t];e[t]=e[r],e[r]=n}return e}function _(e){let t=e.request.headers["x-algolia-api-key"]?{"x-algolia-api-key":"*****"}:{};return{...e,request:{...e.request,headers:{...e.request.headers,...t}}}}function I({hosts:e,hostsCache:t,baseHeaders:r,logger:n,baseQueryParameters:i,algoliaAgent:o,timeouts:a,requester:s,requestsCache:l,responsesCache:u}){async function c(e){let r=await Promise.all(e.map(e=>t.get(e,()=>Promise.resolve(w(e))))),n=r.filter(e=>e.isUp()),i=r.filter(e=>e.isTimedOut()),o=[...n,...i];return{hosts:o.length>0?o:e,getTimeout:(e,t)=>(0===i.length&&0===e?1:i.length+3+e)*t}}async function d(l,u,d){var h,f;let p,m,g=[],y=function(e,t){if("GET"!==e.method&&(void 0!==e.data||void 0!==t.data))return JSON.stringify(Array.isArray(e.data)?e.data:{...e.data,...t.data})}(l,u),v=(h=l.headers,f=u.headers,p={Accept:"application/json",...r,...h,...f},m={},Object.keys(p).forEach(e=>{let t=p[e];m[e.toLowerCase()]=t}),m),b="GET"===l.method?{...l.data,...u.data}:{},E={...i,...l.queryParameters,...b};if(o.value&&(E["x-algolia-agent"]=o.value),u&&u.queryParameters)for(let e of Object.keys(u.queryParameters))u.queryParameters[e]&&"[object Object]"!==Object.prototype.toString.call(u.queryParameters[e])?E[e]=u.queryParameters[e].toString():E[e]=u.queryParameters[e];let P=0,T=async(e,r)=>{var i,o;let c,h,f=e.pop();if(void 0===f)throw new S(g.map(e=>_(e)));let p={...a,...u.timeouts},m={data:y,headers:v,method:l.method,url:(o=l.path,c=Object.keys(i=E).filter(e=>void 0!==i[e]).sort().map(e=>`${e}=${encodeURIComponent("[object Array]"===Object.prototype.toString.call(i[e])?i[e].join(","):i[e]).replace(/\+/g,"%20")}`).join("&"),h=`${f.protocol}://${f.url}${f.port?`:${f.port}`:""}/${"/"===o.charAt(0)?o.substring(1):o}`,c.length&&(h+=`?${c}`),h),connectTimeout:r(P,p.connect),responseTimeout:r(P,d?p.read:p.write)},b=t=>{let r={request:m,response:t,host:f,triesLeft:e.length};return g.push(r),r},I=await s.send(m);if(function({isTimedOut:e,status:t}){return e||function({isTimedOut:e,status:t}){return!e&&0==~~t}({isTimedOut:e,status:t})||2!=~~(t/100)&&4!=~~(t/100)}(I)){let i=b(I);return I.isTimedOut&&P++,n.info("Retryable failure",_(i)),await t.set(f,w(f,I.isTimedOut?"timed out":"down")),T(e,r)}if(function({status:e}){return 2==~~(e/100)}(I)){try{return JSON.parse(I.content)}catch(e){throw new R(e.message,I)}}throw b(I),function({content:e,status:t},r){try{let n=JSON.parse(e);if("error"in n)return new C(n.message,t,n.error,r);return new x(n.message,t,r)}catch{}return new x(e,t,r)}(I,g)},I=e.filter(e=>"readWrite"===e.accept||(d?"read"===e.accept:"write"===e.accept)),A=await c(I);return T([...A.hosts].reverse(),A.getTimeout)}return{hostsCache:t,requester:s,timeouts:a,logger:n,algoliaAgent:o,baseHeaders:r,baseQueryParameters:i,hosts:e,request:function(e,t={}){let n=e.useReadTransporter||"GET"===e.method;if(!0!==(t.cacheable||e.cacheable))return d(e,t,n);let o={request:e,requestOptions:t,transporter:{queryParameters:i,headers:r}};return u.get(o,()=>l.get(o,()=>l.set(o,d(e,t,n)).then(e=>Promise.all([l.delete(o),e]),e=>Promise.all([l.delete(o),Promise.reject(e)])).then(([e,t])=>t)),{miss:e=>u.set(o,e)})},requestsCache:l,responsesCache:u}}function A(){return{send:function(e){return new Promise(t=>{let r=new XMLHttpRequest;
13r.open(e.method,e.url,!0),Object.keys(e.headers).forEach(t=>r.setRequestHeader(t,e.headers[t]));let n=(e,n)=>setTimeout(()=>{r.abort(),t({status:0,content:n,isTimedOut:!0})},e),i=n(e.connectTimeout,"Connection timeout"),o;r.onreadystatechange=()=>{r.readyState>r.OPENED&&void 0===o&&(clearTimeout(i),o=n(e.responseTimeout,"Socket timeout"))},r.onerror=()=>{0===r.status&&(clearTimeout(i),clearTimeout(o),t({content:r.responseText||"Network request failed",status:r.status,isTimedOut:!1}))},r.onload=()=>{clearTimeout(i),clearTimeout(o),t({content:r.responseText,status:r.status,isTimedOut:!1})},r.send(e.data)})}}}var k="1.15.1",D=["de","us"];function O(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!D.includes(r)))throw Error(`\`region\` must be one of the following: ${D.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=g(e,t,r),s=I({hosts:[{url:i?"analytics.{region}.algolia.com".replace("{region}",i):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:v({algoliaAgents:n,client:"AbtestingV3",version:k}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},addABTests(e,t){if(!e)throw Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!e.name)throw Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!e.variants)throw Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!e.metrics)throw Error("Parameter `addABTestsRequest.metrics` is required when calling `addABTests`.");if(!e.endAt)throw Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");return s.request({method:"POST",path:"/3/abtests",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `deleteABTest`.");let r="/3/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},estimateABTest(e,t){if(!e)throw Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!e.configuration)throw Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!e.variants)throw Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");return s.request({method:"POST",path:"/3/abtests/estimate",queryParameters:{},headers:{},data:e},t)},getABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `getABTest`.");let r="/3/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTimeseries({id:e,startDate:t,endDate:r,metric:n},i){if(!e)throw Error("Parameter `id` is required when calling `getTimeseries`.");let o="/3/abtests/{id}/timeseries".replace("{id}",encodeURIComponent(e)),a={};return void 0!==t&&(a.startDate=t.toString()),void 0!==r&&(a.endDate=r.toString()),void 0!==n&&(a.metric=n.toString()),s.request({method:"GET",path:o,queryParameters:a,headers:{}},i)},listABTests({offset:e,limit:t,indexPrefix:r,indexSuffix:n,direction:i}={},o){let a={};return void 0!==e&&(a.offset=e.toString()),void 0!==t&&(a.limit=t.toString()),void 0!==r&&(a.indexPrefix=r.toString()),void 0!==n&&(a.indexSuffix=n.toString()),void 0!==i&&(a.direction=i.toString()),s.request({method:"GET",path:"/3/abtests",queryParameters:a,headers:{}},o)},stopABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `stopABTest`.");let r="/3/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${k}-${e}`}),m()]}),...n})}var F="5.49.1",N=["de","us"];function q(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!N.includes(r)))throw Error(`\`region\` must be one of the following: ${N.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=g(e,t,r),s=I({hosts:[{url:i?"analytics.{region}.algolia.com".replace("{region}",i):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:v({algoliaAgents:n,client:"Abtesting",version:F}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},addABTests(e,t){if(!e)throw Error("Parameter `addABTestsRequest` is required when calling `addABTests`.");if(!e.name)throw Error("Parameter `addABTestsRequest.name` is required when calling `addABTests`.");if(!e.variants)throw Error("Parameter `addABTestsRequest.variants` is required when calling `addABTests`.");if(!e.endAt)throw Error("Parameter `addABTestsRequest.endAt` is required when calling `addABTests`.");return s.request({method:"POST",path:"/2/abtests",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `deleteABTest`.");let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},estimateABTest(e,t){if(!e)throw Error("Parameter `estimateABTestRequest` is required when calling `estimateABTest`.");if(!e.configuration)throw Error("Parameter `estimateABTestRequest.configuration` is required when calling `estimateABTest`.");if(!e.variants)throw Error("Parameter `estimateABTestRequest.variants` is required when calling `estimateABTest`.");return s.request({method:"POST",path:"/2/abtests/estimate",queryParameters:{},headers:{},data:e},t)},getABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `getABTest`.");let r="/2/abtests/{id}".replace("{id}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},listABTests({offset:e,limit:t,indexPrefix:r,indexSuffix:n}={},i){let o={};return void 0!==e&&(o.offset=e.toString()),void 0!==t&&(o.limit=t.toString()),void 0!==r&&(o.indexPrefix=r.toString()),void 0!==n&&(o.indexSuffix=n.toString()),s.request({method:"GET",path:"/2/abtests",queryParameters:o,headers:{}},i)},stopABTest({id:e},t){if(!e)throw Error("Parameter `id` is required when calling `stopABTest`.");let r="/2/abtests/{id}/stop".replace("{id}",encodeURIComponent(e));return s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${F}-${e}`}),m()]}),...n})}var j="5.49.1",L=["de","us"];function M(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!L.includes(r)))throw Error(`\`region\` must be one of the following: ${L.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=g(e,t,r),s=I({hosts:[{url:i?"analytics.{region}.algolia.com".replace("{region}",i):"analytics.algolia.com",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:v({algoliaAgents:n,client:"Analytics",version:j}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},getAddToCartRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getAddToCartRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/addToCartRate",queryParameters:o,headers:{}},i)},getAverageClickPosition({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getAverageClickPosition`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/averageClickPosition",queryParameters:o,headers:{}},i)},getClickPositions({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getClickPositions`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/positions",queryParameters:o,headers:{}},i)},getClickThroughRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getClickThroughRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/clicks/clickThroughRate",queryParameters:o,headers:{}},i)},getConversionRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getConversionRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/conversionRate",queryParameters:o,headers:{}},i)},getNoClickRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getNoClickRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noClickRate",queryParameters:o,headers:{}},i)},getNoResultsRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getNoResultsRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/searches/noResultRate",queryParameters:o,headers:{}},i)},getPurchaseRate({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getPurchaseRate`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/purchaseRate",queryParameters:o,headers:{}},i)},getRevenue({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getRevenue`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/conversions/revenue",queryParameters:o,headers:{}},i)},getSearchesCount({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getSearchesCount`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/searches/count",queryParameters:o,headers:{}},i)},getSearchesNoClicks({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:o},a){if(!e)throw Error("Parameter `index` is required when calling `getSearchesNoClicks`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==o&&(l.tags=o.toString()),s.request({method:"GET",path:"/2/searches/noClicks",queryParameters:l,headers:{}},a)},getSearchesNoResults({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:o},a){if(!e)throw Error("Parameter `index` is required when calling `
13getSearchesNoResults`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==o&&(l.tags=o.toString()),s.request({method:"GET",path:"/2/searches/noResults",queryParameters:l,headers:{}},a)},getStatus({index:e},t){if(!e)throw Error("Parameter `index` is required when calling `getStatus`.");let r={};return void 0!==e&&(r.index=e.toString()),s.request({method:"GET",path:"/2/status",queryParameters:r,headers:{}},t)},getTopCountries({index:e,startDate:t,endDate:r,limit:n,offset:i,tags:o},a){if(!e)throw Error("Parameter `index` is required when calling `getTopCountries`.");let l={};return void 0!==e&&(l.index=e.toString()),void 0!==t&&(l.startDate=t.toString()),void 0!==r&&(l.endDate=r.toString()),void 0!==n&&(l.limit=n.toString()),void 0!==i&&(l.offset=i.toString()),void 0!==o&&(l.tags=o.toString()),s.request({method:"GET",path:"/2/countries",queryParameters:l,headers:{}},a)},getTopFilterAttributes({index:e,search:t,startDate:r,endDate:n,limit:i,offset:o,tags:a},l){if(!e)throw Error("Parameter `index` is required when calling `getTopFilterAttributes`.");let u={};return void 0!==e&&(u.index=e.toString()),void 0!==t&&(u.search=t.toString()),void 0!==r&&(u.startDate=r.toString()),void 0!==n&&(u.endDate=n.toString()),void 0!==i&&(u.limit=i.toString()),void 0!==o&&(u.offset=o.toString()),void 0!==a&&(u.tags=a.toString()),s.request({method:"GET",path:"/2/filters",queryParameters:u,headers:{}},l)},getTopFilterForAttribute({attribute:e,index:t,search:r,startDate:n,endDate:i,limit:o,offset:a,tags:l},u){if(!e)throw Error("Parameter `attribute` is required when calling `getTopFilterForAttribute`.");if(!t)throw Error("Parameter `index` is required when calling `getTopFilterForAttribute`.");let c="/2/filters/{attribute}".replace("{attribute}",encodeURIComponent(e)),d={};return void 0!==t&&(d.index=t.toString()),void 0!==r&&(d.search=r.toString()),void 0!==n&&(d.startDate=n.toString()),void 0!==i&&(d.endDate=i.toString()),void 0!==o&&(d.limit=o.toString()),void 0!==a&&(d.offset=a.toString()),void 0!==l&&(d.tags=l.toString()),s.request({method:"GET",path:c,queryParameters:d,headers:{}},u)},getTopFiltersNoResults({index:e,search:t,startDate:r,endDate:n,limit:i,offset:o,tags:a},l){if(!e)throw Error("Parameter `index` is required when calling `getTopFiltersNoResults`.");let u={};return void 0!==e&&(u.index=e.toString()),void 0!==t&&(u.search=t.toString()),void 0!==r&&(u.startDate=r.toString()),void 0!==n&&(u.endDate=n.toString()),void 0!==i&&(u.limit=i.toString()),void 0!==o&&(u.offset=o.toString()),void 0!==a&&(u.tags=a.toString()),s.request({method:"GET",path:"/2/filters/noResults",queryParameters:u,headers:{}},l)},getTopHits({index:e,search:t,clickAnalytics:r,revenueAnalytics:n,startDate:i,endDate:o,limit:a,offset:l,tags:u},c){if(!e)throw Error("Parameter `index` is required when calling `getTopHits`.");let d={};return void 0!==e&&(d.index=e.toString()),void 0!==t&&(d.search=t.toString()),void 0!==r&&(d.clickAnalytics=r.toString()),void 0!==n&&(d.revenueAnalytics=n.toString()),void 0!==i&&(d.startDate=i.toString()),void 0!==o&&(d.endDate=o.toString()),void 0!==a&&(d.limit=a.toString()),void 0!==l&&(d.offset=l.toString()),void 0!==u&&(d.tags=u.toString()),s.request({method:"GET",path:"/2/hits",queryParameters:d,headers:{}},c)},getTopSearches({index:e,clickAnalytics:t,revenueAnalytics:r,startDate:n,endDate:i,orderBy:o,direction:a,limit:l,offset:u,tags:c},d){if(!e)throw Error("Parameter `index` is required when calling `getTopSearches`.");let h={};return void 0!==e&&(h.index=e.toString()),void 0!==t&&(h.clickAnalytics=t.toString()),void 0!==r&&(h.revenueAnalytics=r.toString()),void 0!==n&&(h.startDate=n.toString()),void 0!==i&&(h.endDate=i.toString()),void 0!==o&&(h.orderBy=o.toString()),void 0!==a&&(h.direction=a.toString()),void 0!==l&&(h.limit=l.toString()),void 0!==u&&(h.offset=u.toString()),void 0!==c&&(h.tags=c.toString()),s.request({method:"GET",path:"/2/searches",queryParameters:h,headers:{}},d)},getUsersCount({index:e,startDate:t,endDate:r,tags:n},i){if(!e)throw Error("Parameter `index` is required when calling `getUsersCount`.");let o={};return void 0!==e&&(o.index=e.toString()),void 0!==t&&(o.startDate=t.toString()),void 0!==r&&(o.endDate=r.toString()),void 0!==n&&(o.tags=n.toString()),s.request({method:"GET",path:"/2/users/count",queryParameters:o,headers:{}},i)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${j}-${e}`}),m()]}),...n})}var K="5.49.1",$=["de","us"];function U(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(r&&("string"!=typeof r||!$.includes(r)))throw Error(`\`region\` must be one of the following: ${$.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=g(e,t,r),s=I({hosts:[{url:i?"insights.{region}.algolia.io".replace("{region}",i):"insights.algolia.io",accept:"readWrite",protocol:"https"}],...o,algoliaAgent:v({algoliaAgents:n,client:"Insights",version:K}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserToken({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserToken`.");let r="/1/usertokens/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},pushEvents(e,t){if(!e)throw Error("Parameter `insightsEvents` is required when calling `pushEvents`.");if(!e.events)throw Error("Parameter `insightsEvents.events` is required when calling `pushEvents`.");return s.request({method:"POST",path:"/1/events",queryParameters:{},headers:{},data:e},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${K}-${e}`}),m()]}),...n})}var B="5.49.1",H=["eu","us"];function W(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!H.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${H.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=g(e,t,r),s=I({hosts:[{url:"personalization.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...o,algoliaAgent:v({algoliaAgents:n,client:"Personalization",version:B}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteUserProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `deleteUserProfile`.");let r="/1/profiles/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getPersonalizationStrategy:e=>s.request({method:"GET",path:"/1/strategies/personalization",queryParameters:{},headers:{}},e),getUserTokenProfile({userToken:e},t){if(!e)throw Error("Parameter `userToken` is required when calling `getUserTokenProfile`.");let r="/1/profiles/personalization/{userToken}".replace("{userToken}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},setPersonalizationStrategy(e,t){if(!e)throw Error("Parameter `personalizationStrategyParams` is required when calling `setPersonalizationStrategy`.");if(!e.eventsScoring)throw Error("Parameter `personalizationStrategyParams.eventsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.facetsScoring)throw Error("Parameter `personalizationStrategyParams.facetsScoring` is required when calling `setPersonalizationStrategy`.");if(!e.personalizationImpact)throw Error("Parameter `personalizationStrategyParams.personalizationImpact` is required when calling `setPersonalizationStrategy`.");return s.request({method:"POST",path:"/1/strategies/personalization",queryParameters:{},headers:{},data:e},t)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${B}-${e}`}),m()]}),...n})}var V="5.49.1",z=["eu","us"];function G(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!z.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${z.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=g(e,t,r),s=I({hosts:[{url:"query-suggestions.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...o,algoliaAgent:v({algoliaAgents:n,client:"QuerySuggestions",version:V}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},createConfig(e,t){if(!e)throw Error("Parameter `configurationWithIndex` is required when calling `createConfig`.");return s.request({method:"POST",path:"/1/configs",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteConfig`.");let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},getAllConfigs:e=>s.request({method:"GET",path:"/1/configs",queryParameters:{},headers:{}},e),getConfig({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfig`.");let r="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getConfigStatus({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getConfigStatus`.");let r="/1/configs/{indexName}/status".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLogFile({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `getLogFile`.");let r="/1/logs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},updateConfig({indexName:e,configuration:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `updateConfig`.");if(!t)throw Error("Parameter `configuration` is required when calling `updateConfig`.");if(!t.sourceIndices)throw Error("Parameter `configuration.sourceIndices` is required when calling `updateConfig`.");let n="/1/configs/{indexName}".replace("{indexName}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${V}-${e}`}),m()]}),...n})}var Q="5.49.1";function J(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let o=g(e,t,r),a=I({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(T([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...i,algoliaAgent:v({algoliaAgents:n,client:"Search",version:Q}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCac
13he:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>void 0),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(e,t){a.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?a.baseQueryParameters["x-algolia-api-key"]=e:a.baseHeaders["x-algolia-api-key"]=e},waitForTask({indexName:e,taskID:t,maxRetries:r=50,timeout:n=e=>Math.min(200*e,5e3)},i){let o=0;return y({func:()=>this.getTask({indexName:e,taskID:t},i),validate:e=>"published"===e.status,aggregator:()=>o+=1,error:{validate:()=>o>=r,message:()=>`The maximum number of retries exceeded. (${o}/${r})`},timeout:()=>n(o)})},waitForAppTask({taskID:e,maxRetries:t=50,timeout:r=e=>Math.min(200*e,5e3)},n){let i=0;return y({func:()=>this.getAppTask({taskID:e},n),validate:e=>"published"===e.status,aggregator:()=>i+=1,error:{validate:()=>i>=t,message:()=>`The maximum number of retries exceeded. (${i}/${t})`},timeout:()=>r(i)})},waitForApiKey({operation:e,key:t,apiKey:r,maxRetries:n=50,timeout:i=e=>Math.min(200*e,5e3)},o){let a=0,s={aggregator:()=>a+=1,error:{validate:()=>a>=n,message:()=>`The maximum number of retries exceeded. (${a}/${n})`},timeout:()=>i(a)};if("update"===e){if(!r)throw Error("`apiKey` is required when waiting for an `update` operation.");return y({...s,func:()=>this.getApiKey({key:t},o),validate:e=>{for(let t of Object.keys(r)){let n=r[t],i=e[t];if(Array.isArray(n)&&Array.isArray(i)){if(n.length!==i.length||n.some((e,t)=>e!==i[t]))return!1}else if(n!==i)return!1}return!0}})}return y({...s,func:()=>this.getApiKey({key:t},o).catch(e=>{if(404!==e.status)throw e}),validate:t=>"add"===e?void 0!==t:void 0===t})},browseObjects({indexName:e,browseParams:t,...r},n){return y({func:r=>this.browse({indexName:e,browseParams:{cursor:r?r.cursor:void 0,hitsPerPage:1e3,...t}},n),validate:e=>void 0===e.cursor,...r})},browseRules({indexName:e,searchRulesParams:t,...r},n){let i={...t,hitsPerPage:t?.hitsPerPage||1e3};return y({func:t=>this.searchRules({indexName:e,searchRulesParams:{...i,page:t?t.page+1:i.page||0}},n),validate:e=>e.hits.length<i.hitsPerPage,...r})},browseSynonyms({indexName:e,searchSynonymsParams:t,...r},n){let i={...t,page:t?.page||0,hitsPerPage:1e3};return y({func:t=>{let r=this.searchSynonyms({indexName:e,searchSynonymsParams:{...i,page:i.page}},n);return i.page+=1,r},validate:e=>e.hits.length<i.hitsPerPage,...r})},async chunkedBatch({indexName:e,objects:t,action:r="addObject",waitForTasks:n,batchSize:i=1e3},o){let a=[],s=[];for(let[n,l]of t.entries())a.push({action:r,body:l}),(a.length===i||n===t.length-1)&&(s.push(await this.batch({indexName:e,batchWriteParams:{requests:a}},o)),a=[]);if(n)for(let t of s)await this.waitForTask({indexName:e,taskID:t.taskID});return s},async saveObjects({indexName:e,objects:t,waitForTasks:r,batchSize:n},i){return await this.chunkedBatch({indexName:e,objects:t,action:"addObject",waitForTasks:r,batchSize:n},i)},async deleteObjects({indexName:e,objectIDs:t,waitForTasks:r,batchSize:n},i){return await this.chunkedBatch({indexName:e,objects:t.map(e=>({objectID:e})),action:"deleteObject",waitForTasks:r,batchSize:n},i)},async partialUpdateObjects({indexName:e,objects:t,createIfNotExists:r,waitForTasks:n,batchSize:i},o){return await this.chunkedBatch({indexName:e,objects:t,action:r?"partialUpdateObject":"partialUpdateObjectNoCreate",batchSize:i,waitForTasks:n},o)},async replaceAllObjects({indexName:e,objects:t,batchSize:r,scopes:n},i){let o=Math.floor(1e6*Math.random())+1e5,a=`${e}_tmp_${o}`;void 0===n&&(n=["settings","rules","synonyms"]);try{let o=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:a,scope:n}},i),s=await this.chunkedBatch({indexName:a,objects:t,waitForTasks:!0,batchSize:r},i);await this.waitForTask({indexName:a,taskID:o.taskID}),o=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:a,scope:n}},i),await this.waitForTask({indexName:a,taskID:o.taskID});let l=await this.operationIndex({indexName:a,operationIndexParams:{operation:"move",destination:e}},i);return await this.waitForTask({indexName:a,taskID:l.taskID}),{copyOperationResponse:o,batchResponses:s,moveOperationResponse:l}}catch(e){throw await this.deleteIndex({indexName:a}),e}},async indexExists({indexName:e}
13){try{await this.getSettings({indexName:e})}catch(e){if(e instanceof x&&404===e.status)return!1;throw e}return!0},searchForHits(e,t){return this.search(e,t)},searchForFacets(e,t){return this.search(e,t)},addApiKey(e,t){if(!e)throw Error("Parameter `apiKey` is required when calling `addApiKey`.");if(!e.acl)throw Error("Parameter `apiKey.acl` is required when calling `addApiKey`.");return a.request({method:"POST",path:"/1/keys",queryParameters:{},headers:{},data:e},t)},addOrUpdateObject({indexName:e,objectID:t,body:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `addOrUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `addOrUpdateObject`.");if(!r)throw Error("Parameter `body` is required when calling `addOrUpdateObject`.");let i="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"PUT",path:i,queryParameters:{},headers:{},data:r},n)},appendSource(e,t){if(!e)throw Error("Parameter `source` is required when calling `appendSource`.");if(!e.source)throw Error("Parameter `source.source` is required when calling `appendSource`.");return a.request({method:"POST",path:"/1/security/sources/append",queryParameters:{},headers:{},data:e},t)},assignUserId({xAlgoliaUserID:e,assignUserIdParams:t},r){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `assignUserId`.");if(!t)throw Error("Parameter `assignUserIdParams` is required when calling `assignUserId`.");if(!t.cluster)throw Error("Parameter `assignUserIdParams.cluster` is required when calling `assignUserId`.");let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),a.request({method:"POST",path:"/1/clusters/mapping",queryParameters:{},headers:n,data:t},r)},batch({indexName:e,batchWriteParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `batch`.");if(!t)throw Error("Parameter `batchWriteParams` is required when calling `batch`.");if(!t.requests)throw Error("Parameter `batchWriteParams.requests` is required when calling `batch`.");let n="/1/indexes/{indexName}/batch".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},batchAssignUserIds({xAlgoliaUserID:e,batchAssignUserIdsParams:t},r){if(!e)throw Error("Parameter `xAlgoliaUserID` is required when calling `batchAssignUserIds`.");if(!t)throw Error("Parameter `batchAssignUserIdsParams` is required when calling `batchAssignUserIds`.");if(!t.cluster)throw Error("Parameter `batchAssignUserIdsParams.cluster` is required when calling `batchAssignUserIds`.");if(!t.users)throw Error("Parameter `batchAssignUserIdsParams.users` is required when calling `batchAssignUserIds`.");let n={};return void 0!==e&&(n["X-Algolia-User-ID"]=e.toString()),a.request({method:"POST",path:"/1/clusters/mapping/batch",queryParameters:{},headers:n,data:t},r)},batchDictionaryEntries({dictionaryName:e,batchDictionaryEntriesParams:t},r){if(!e)throw Error("Parameter `dictionaryName` is required when calling `batchDictionaryEntries`.");if(!t)throw Error("Parameter `batchDictionaryEntriesParams` is required when calling `batchDictionaryEntries`.");if(!t.requests)throw Error("Parameter `batchDictionaryEntriesParams.requests` is required when calling `batchDictionaryEntries`.");let n="/1/dictionaries/{dictionaryName}/batch".replace("{dictionaryName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},browse({indexName:e,browseParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `browse`.");let n="/1/indexes/{indexName}/browse".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0},r)},clearObjects({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `clearObjects`.");let r="/1/indexes/{indexName}/clear".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},clearRules({indexName:e,forwardToReplicas:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `clearRules`.");let n="/1/indexes/{indexName}/rules/clear".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==t&&(i.forwardToReplicas=t.toString()),a.request({method:"POST",path:n,queryParameters:i,headers:{}},r)},clearSynonyms({indexName:e,forwardToReplicas:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `clearSynonyms`.");let n="/1/indexes/{indexName}/synonyms/clear".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==t&&(i.forwardToReplicas=t.toString()),a.request({method:"POST",path:n,queryParameters:i,headers:{}},r)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return a.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return a.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return a.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return a.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `deleteApiKey`.");let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteBy({indexName:e,deleteByParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteBy`.");if(!t)throw Error("Parameter `deleteByParams` is required when calling `deleteBy`.");let n="/1/indexes/{indexName}/deleteByQuery".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},deleteIndex({indexName:e},t){if(!e)throw Error("Parameter `indexName` is required when calling `deleteIndex`.");let r="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteObject({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `deleteObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteObject`.");let n="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"DELETE",path:n,queryParameters:{},headers:{}},r)},deleteRule({indexName:e,objectID:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteRule`.");let i="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),o={};return void 0!==r&&(o.forwardToReplicas=r.toString()),a.request({method:"DELETE",path:i,queryParameters:o,headers:{}},n)},deleteSource({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `deleteSource`.");let r="/1/security/sources/{source}".replace("{source}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSynonym({indexName:e,objectID:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `deleteSynonym`.");let i="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),o={};return void 0!==r&&(o.forwardToReplicas=r.toString()),a.request({method:"DELETE",path:i,queryParameters:o,headers:{}},n)},getApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `getApiKey`.");let r="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getAppTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getAppTask`.");let r="/1/task/{taskID}".replace("{taskID}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDictionaryLanguages:e=>a.request({method:"GET",path:"/1/dictionaries/*/languages",queryParameters:{},headers:{}},e),getDictionarySettings:e=>a.request({method:"GET",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{}},e),getLogs({offset:e,length:t,indexName:r,type:n}={},i){let o={};return void 0!==e&&(o.offset=e.toString()),void 0!==t&&(o.length=t.toString()),void 0!==r&&(o.indexName=r.toString()),void 0!==n&&(o.type=n.toString()),a.request({method:"GET",path:"/1/logs",queryParameters:o,headers:{}},i)},getObject({indexName:e,objectID:t,attributesToRetrieve:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `getObject`.");let i="/1/indexes/{indexName}/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),o={};return void 0!==r&&(o.attributesToRetrieve=r.toString()),a.request({method:"GET",path:i,queryParameters:o,headers:{}},n)},getObjects(e,t){if(!e)throw Error("Parameter `getObjectsParams` is required when calling `getObjects`.");if(!e.requests)throw Error("Parameter `getObjectsParams.requests` is required when calling `getObjects`.");return a.request({method:"POST",path:"/1/indexes/*/objects",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)},getRule({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `getRule`.");let n="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getSettings({indexName:e,getVersion:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getSettings`.");let n="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),i={};return void 0!==t&&(i.getVersion=t.toString()),a.request({method:"GET",path:n,queryParameters:i,headers:{}},r)},getSources:e=>a.request({method:"GET",path:"/1/security/sources",queryParameters:{},headers:{}},e),getSynonym({indexName:e,objectID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `getSynonym`.");let n="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTask({indexName:e,taskID:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `getTask`.");if(!t)throw Error("Parameter `taskID` is required when calling `getTask`.");let n="/1/indexes/{indexName}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{taskID}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getTopUserIds:e=>a.request({method:"GET",path:"/1/clusters/mapping/top",queryParameters:{},headers:{}},e),getUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `getUserId`.");let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},hasPendingMappings({getClusters:e}={},t){let r={};return void 0!==e&&(r.getClusters=e.toString()),a.request({method:"GET",path:"/1/clusters/mapping/pending",queryParameters:r,headers:{}},t)},listApiKeys:e=>a.request({method:"GET",path:"/1/keys",queryParameters:{},headers:{}}
13,e),listClusters:e=>a.request({method:"GET",path:"/1/clusters",queryParameters:{},headers:{}},e),listIndices({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),a.request({method:"GET",path:"/1/indexes",queryParameters:n,headers:{}},r)},listUserIds({page:e,hitsPerPage:t}={},r){let n={};return void 0!==e&&(n.page=e.toString()),void 0!==t&&(n.hitsPerPage=t.toString()),a.request({method:"GET",path:"/1/clusters/mapping",queryParameters:n,headers:{}},r)},multipleBatch(e,t){if(!e)throw Error("Parameter `batchParams` is required when calling `multipleBatch`.");if(!e.requests)throw Error("Parameter `batchParams.requests` is required when calling `multipleBatch`.");return a.request({method:"POST",path:"/1/indexes/*/batch",queryParameters:{},headers:{},data:e},t)},operationIndex({indexName:e,operationIndexParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `operationIndex`.");if(!t)throw Error("Parameter `operationIndexParams` is required when calling `operationIndex`.");if(!t.operation)throw Error("Parameter `operationIndexParams.operation` is required when calling `operationIndex`.");if(!t.destination)throw Error("Parameter `operationIndexParams.destination` is required when calling `operationIndex`.");let n="/1/indexes/{indexName}/operation".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},partialUpdateObject({indexName:e,objectID:t,attributesToUpdate:r,createIfNotExists:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `partialUpdateObject`.");if(!t)throw Error("Parameter `objectID` is required when calling `partialUpdateObject`.");if(!r)throw Error("Parameter `attributesToUpdate` is required when calling `partialUpdateObject`.");let o="/1/indexes/{indexName}/{objectID}/partial".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.createIfNotExists=n.toString()),a.request({method:"POST",path:o,queryParameters:s,headers:{},data:r},i)},removeUserId({userID:e},t){if(!e)throw Error("Parameter `userID` is required when calling `removeUserId`.");let r="/1/clusters/mapping/{userID}".replace("{userID}",encodeURIComponent(e));return a.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},replaceSources({source:e},t){if(!e)throw Error("Parameter `source` is required when calling `replaceSources`.");return a.request({method:"PUT",path:"/1/security/sources",queryParameters:{},headers:{},data:e},t)},restoreApiKey({key:e},t){if(!e)throw Error("Parameter `key` is required when calling `restoreApiKey`.");let r="/1/keys/{key}/restore".replace("{key}",encodeURIComponent(e));return a.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},saveObject({indexName:e,body:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `saveObject`.");if(!t)throw Error("Parameter `body` is required when calling `saveObject`.");let n="/1/indexes/{indexName}".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},saveRule({indexName:e,objectID:t,rule:r,forwardToReplicas:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRule`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveRule`.");if(!r)throw Error("Parameter `rule` is required when calling `saveRule`.");if(!r.objectID)throw Error("Parameter `rule.objectID` is required when calling `saveRule`.");if(!r.consequence)throw Error("Parameter `rule.consequence` is required when calling `saveRule`.");let o="/1/indexes/{indexName}/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),a.request({method:"PUT",path:o,queryParameters:s,headers:{},data:r},i)},saveRules({indexName:e,rules:t,forwardToReplicas:r,clearExistingRules:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveRules`.");if(!t)throw Error("Parameter `rules` is required when calling `saveRules`.");let o="/1/indexes/{indexName}/rules/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.clearExistingRules=n.toString()),a.request({method:"POST",path:o,queryParameters:s,headers:{},data:t},i)},saveSynonym({indexName:e,objectID:t,synonymHit:r,forwardToReplicas:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonym`.");if(!t)throw Error("Parameter `objectID` is required when calling `saveSynonym`.");if(!r)throw Error("Parameter `synonymHit` is required when calling `saveSynonym`.");if(!r.objectID)throw Error("Parameter `synonymHit.objectID` is required when calling `saveSynonym`.");if(!r.type)throw Error("Parameter `synonymHit.type` is required when calling `saveSynonym`.");let o="/1/indexes/{indexName}/synonyms/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{objectID}",encodeURIComponent(t)),s={};return void 0!==n&&(s.forwardToReplicas=n.toString()),a.request({method:"PUT",path:o,queryParameters:s,headers:{},data:r},i)},saveSynonyms({indexName:e,synonymHit:t,forwardToReplicas:r,replaceExistingSynonyms:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `saveSynonyms`.");if(!t)throw Error("Parameter `synonymHit` is required when calling `saveSynonyms`.");let o="/1/indexes/{indexName}/synonyms/batch".replace("{indexName}",encodeURIComponent(e)),s={};return void 0!==r&&(s.forwardToReplicas=r.toString()),void 0!==n&&(s.replaceExistingSynonyms=n.toString()),a.request({method:"POST",path:o,queryParameters:s,headers:{},data:t},i)},search(e,t){if(e&&Array.isArray(e)&&(e={requests:e.map(({params:e,...t})=>"facet"===t.type?{...t,...e,type:"facet"}:{...t,...e,facet:void 0,maxFacetHits:void 0,facetQuery:void 0})}),!e)throw Error("Parameter `searchMethodParams` is required when calling `search`.");if(!e.requests)throw Error("Parameter `searchMethodParams.requests` is required when calling `search`.");let r={method:"POST",path:"/1/indexes/*/queries",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return a.request(r,t)},searchDictionaryEntries({dictionaryName:e,searchDictionaryEntriesParams:t},r){if(!e)throw Error("Parameter `dictionaryName` is required when calling `searchDictionaryEntries`.");if(!t)throw Error("Parameter `searchDictionaryEntriesParams` is required when calling `searchDictionaryEntries`.");if(!t.query)throw Error("Parameter `searchDictionaryEntriesParams.query` is required when calling `searchDictionaryEntries`.");let n="/1/dictionaries/{dictionaryName}/search".replace("{dictionaryName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t,useReadTransporter:!0,cacheable:!0},r)},searchForFacetValues({indexName:e,facetName:t,searchForFacetValuesRequest:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchForFacetValues`.");if(!t)throw Error("Parameter `facetName` is required when calling `searchForFacetValues`.");let i="/1/indexes/{indexName}/facets/{facetName}/query".replace("{indexName}",encodeURIComponent(e)).replace("{facetName}",encodeURIComponent(t));return a.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)},searchRules({indexName:e,searchRulesParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchRules`.");let n="/1/indexes/{indexName}/rules/search".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSingleIndex({indexName:e,searchParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchSingleIndex`.");let n="/1/indexes/{indexName}/query".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchSynonyms({indexName:e,searchSynonymsParams:t},r){if(!e)throw Error("Parameter `indexName` is required when calling `searchSynonyms`.");let n="/1/indexes/{indexName}/synonyms/search".replace("{indexName}",encodeURIComponent(e));return a.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{},useReadTransporter:!0,cacheable:!0},r)},searchUserIds(e,t){if(!e)throw Error("Parameter `searchUserIdsParams` is required when calling `searchUserIds`.");if(!e.query)throw Error("Parameter `searchUserIdsParams.query` is required when calling `searchUserIds`.");return a.request({method:"POST",path:"/1/clusters/mapping/search",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0},t)},setDictionarySettings(e,t){if(!e)throw Error("Parameter `dictionarySettingsParams` is required when calling `setDictionarySettings`.");if(!e.disableStandardEntries)throw Error("Parameter `dictionarySettingsParams.disableStandardEntries` is required when calling `setDictionarySettings`.");return a.request({method:"PUT",path:"/1/dictionaries/*/settings",queryParameters:{},headers:{},data:e},t)},setSettings({indexName:e,indexSettings:t,forwardToReplicas:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `setSettings`.");if(!t)throw Error("Parameter `indexSettings` is required when calling `setSettings`.");let i="/1/indexes/{indexName}/settings".replace("{indexName}",encodeURIComponent(e)),o={};return void 0!==r&&(o.forwardToReplicas=r.toString()),a.request({method:"PUT",path:i,queryParameters:o,headers:{},data:t},n)},updateApiKey({key:e,apiKey:t},r){if(!e)throw Error("Parameter `key` is required when calling `updateApiKey`.");if(!t)throw Error("Parameter `apiKey` is required when calling `updateApiKey`.");if(!t.acl)throw Error("Parameter `apiKey.acl` is required when calling `updateApiKey`.");let n="/1/keys/{key}".replace("{key}",encodeURIComponent(e));return a.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${Q}-${e}`}),m()]}),...r})}var X="1.49.1",Y=["eu","us"];function Z(e){return"onDemand"===e.type}function ee(e){return"schedule"===e.type}function et(e){return"subscription"===e.type}function er(e,t,r,n){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");if(!r||r&&("string"!=typeof r||!Y.includes(r)))throw Error(`\`region\` is required and must be one of the following: ${Y.join(", ")}`);return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,region:i,...o}){let a=g(e,t,r),s=I({hosts:[{url:"data.{region}.algolia.com".replace("{region}",i),accept:"readWrite",protocol:"https"}],...o,algoliaAgent:v({algoliaAgents:n,client:"Ingestion",version:X}),baseHeaders:{"content-type":"text/plain",...a.headers(),...o.baseHeaders},baseQueryParameters:{...a.queryParameters(),...o.baseQueryParameters}});return{transporter:s,appId:e,apiKey:t,clearCache:()=>Promise.all([s.requestsCache.clear(),s.responsesCache.clear()]).then(()=>void 0),get _ua(){return s.algoliaAgent.value},addAlgoliaAgent(e,t){s.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?s.baseQueryParameters["x-algolia-api-key"]=e:s.baseHeaders["x-algolia-api-key"]=e},async chunkedPush({indexName:e,objects:t,action:r="addObject",waitForTasks:n,batchSize:i=1e3,referenceIndexName:o},a){let s=[],l=0,u=[],c=Math.floor(i/10)||i;for(let[d,h]of t.entries())if(s.push(h),(s.length===i||d===t.length-1)&&(u.push(await this.push({indexName:e,pushTaskPayload:{action:r,records:s},referenceIndexName:o},a)),s=[]),n&&u.length>0&&(u.length%c==0||d===t.length-1)){for(let e of u.slice(l,l+c)){if(!e.eventID)throw Error("received unexpected response from the push endpoint, eventID must not be undefined");let t=0;await y({func:async()=>
13{if(void 0===e.eventID||!e.eventID)throw Error("received unexpected response from the push endpoint, eventID must not be undefined");return this.getEvent({runID:e.runID,eventID:e.eventID}).catch(e=>{if(404!==e.status)throw e})},validate:e=>void 0!==e,aggregator:()=>t+=1,error:{validate:()=>t>=50,message:()=>`The maximum number of retries exceeded. (${t}/50)`},timeout:()=>Math.min(500*t,5e3)})}l+=c}return u},createAuthentication(e,t){if(!e)throw Error("Parameter `authenticationCreate` is required when calling `createAuthentication`.");if(!e.type)throw Error("Parameter `authenticationCreate.type` is required when calling `createAuthentication`.");if(!e.name)throw Error("Parameter `authenticationCreate.name` is required when calling `createAuthentication`.");if(!e.input)throw Error("Parameter `authenticationCreate.input` is required when calling `createAuthentication`.");return s.request({method:"POST",path:"/1/authentications",queryParameters:{},headers:{},data:e},t)},createDestination(e,t){if(!e)throw Error("Parameter `destinationCreate` is required when calling `createDestination`.");if(!e.type)throw Error("Parameter `destinationCreate.type` is required when calling `createDestination`.");if(!e.name)throw Error("Parameter `destinationCreate.name` is required when calling `createDestination`.");if(!e.input)throw Error("Parameter `destinationCreate.input` is required when calling `createDestination`.");return s.request({method:"POST",path:"/1/destinations",queryParameters:{},headers:{},data:e},t)},createSource(e,t){if(!e)throw Error("Parameter `sourceCreate` is required when calling `createSource`.");if(!e.type)throw Error("Parameter `sourceCreate.type` is required when calling `createSource`.");if(!e.name)throw Error("Parameter `sourceCreate.name` is required when calling `createSource`.");return s.request({method:"POST",path:"/1/sources",queryParameters:{},headers:{},data:e},t)},createTask(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTask`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTask`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTask`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTask`.");return s.request({method:"POST",path:"/2/tasks",queryParameters:{},headers:{},data:e},t)},createTaskV1(e,t){if(!e)throw Error("Parameter `taskCreate` is required when calling `createTaskV1`.");if(!e.sourceID)throw Error("Parameter `taskCreate.sourceID` is required when calling `createTaskV1`.");if(!e.destinationID)throw Error("Parameter `taskCreate.destinationID` is required when calling `createTaskV1`.");if(!e.trigger)throw Error("Parameter `taskCreate.trigger` is required when calling `createTaskV1`.");if(!e.action)throw Error("Parameter `taskCreate.action` is required when calling `createTaskV1`.");return s.request({method:"POST",path:"/1/tasks",queryParameters:{},headers:{},data:e},t)},createTransformation(e,t){if(!e)throw Error("Parameter `transformationCreate` is required when calling `createTransformation`.");if(!e.name)throw Error("Parameter `transformationCreate.name` is required when calling `createTransformation`.");return s.request({method:"POST",path:"/1/transformations",queryParameters:{},headers:{},data:e},t)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return s.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return s.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return s.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return s.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `deleteAuthentication`.");let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `deleteDestination`.");let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteSource({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `deleteSource`.");let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTask`.");let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `deleteTaskV1`.");let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},deleteTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `deleteTransformation`.");let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"DELETE",path:r,queryParameters:{},headers:{}},t)},disableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTask`.");let r="/2/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},disableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `disableTaskV1`.");let r="/1/tasks/{taskID}/disable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTask`.");let r="/2/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},enableTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `enableTaskV1`.");let r="/1/tasks/{taskID}/enable".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:r,queryParameters:{},headers:{}},t)},getAuthentication({authenticationID:e},t){if(!e)throw Error("Parameter `authenticationID` is required when calling `getAuthentication`.");let r="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getDestination({destinationID:e},t){if(!e)throw Error("Parameter `destinationID` is required when calling `getDestination`.");let r="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getEvent({runID:e,eventID:t},r){if(!e)throw Error("Parameter `runID` is required when calling `getEvent`.");if(!t)throw Error("Parameter `eventID` is required when calling `getEvent`.");let n="/1/runs/{runID}/events/{eventID}".replace("{runID}",encodeURIComponent(e)).replace("{eventID}",encodeURIComponent(t));return s.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getRun({runID:e},t){if(!e)throw Error("Parameter `runID` is required when calling `getRun`.");let r="/1/runs/{runID}".replace("{runID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getSource({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `getSource`.");let r="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTask({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTask`.");let r="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTaskV1({taskID:e},t){if(!e)throw Error("Parameter `taskID` is required when calling `getTaskV1`.");let r="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getTransformation({transformationID:e},t){if(!e)throw Error("Parameter `transformationID` is required when calling `getTransformation`.");let r="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},listAuthentications({itemsPerPage:e,page:t,type:r,platform:n,sort:i,order:o}={},a){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.platform=n.toString()),void 0!==i&&(l.sort=i.toString()),void 0!==o&&(l.order=o.toString()),s.request({method:"GET",path:"/1/authentications",queryParameters:l,headers:{}},a)},listDestinations({itemsPerPage:e,page:t,type:r,authenticationID:n,transformationID:i,sort:o,order:a}={},l){let u={};return void 0!==e&&(u.itemsPerPage=e.toString()),void 0!==t&&(u.page=t.toString()),void 0!==r&&(u.type=r.toString()),void 0!==n&&(u.authenticationID=n.toString()),void 0!==i&&(u.transformationID=i.toString()),void 0!==o&&(u.sort=o.toString()),void 0!==a&&(u.order=a.toString()),s.request({method:"GET",path:"/1/destinations",queryParameters:u,headers:{}},l)},listEvents({runID:e,itemsPerPage:t,page:r,status:n,type:i,sort:o,order:a,startDate:l,endDate:u},c){if(!e)throw Error("Parameter `runID` is required when calling `listEvents`.");let d="/1/runs/{runID}/events".replace("{runID}",encodeURIComponent(e)),h={};return void 0!==t&&(h.itemsPerPage=t.toString()),void 0!==r&&(h.page=r.toString()),void 0!==n&&(h.status=n.toString()),void 0!==i&&(h.type=i.toString()),void 0!==o&&(h.sort=o.toString()),void 0!==a&&(h.order=a.toString()),void 0!==l&&(h.startDate=l.toString()),void 0!==u&&(h.endDate=u.toString()),s.request({method:"GET",path:d,queryParameters:h,headers:{}},c)}
13,listRuns({itemsPerPage:e,page:t,status:r,type:n,taskID:i,sort:o,order:a,startDate:l,endDate:u}={},c){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.status=r.toString()),void 0!==n&&(d.type=n.toString()),void 0!==i&&(d.taskID=i.toString()),void 0!==o&&(d.sort=o.toString()),void 0!==a&&(d.order=a.toString()),void 0!==l&&(d.startDate=l.toString()),void 0!==u&&(d.endDate=u.toString()),s.request({method:"GET",path:"/1/runs",queryParameters:d,headers:{}},c)},listSources({itemsPerPage:e,page:t,type:r,authenticationID:n,sort:i,order:o}={},a){let l={};return void 0!==e&&(l.itemsPerPage=e.toString()),void 0!==t&&(l.page=t.toString()),void 0!==r&&(l.type=r.toString()),void 0!==n&&(l.authenticationID=n.toString()),void 0!==i&&(l.sort=i.toString()),void 0!==o&&(l.order=o.toString()),s.request({method:"GET",path:"/1/sources",queryParameters:l,headers:{}},a)},listTasks({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:i,sourceType:o,destinationID:a,triggerType:l,withEmailNotifications:u,sort:c,order:d}={},h){let f={};return void 0!==e&&(f.itemsPerPage=e.toString()),void 0!==t&&(f.page=t.toString()),void 0!==r&&(f.action=r.toString()),void 0!==n&&(f.enabled=n.toString()),void 0!==i&&(f.sourceID=i.toString()),void 0!==o&&(f.sourceType=o.toString()),void 0!==a&&(f.destinationID=a.toString()),void 0!==l&&(f.triggerType=l.toString()),void 0!==u&&(f.withEmailNotifications=u.toString()),void 0!==c&&(f.sort=c.toString()),void 0!==d&&(f.order=d.toString()),s.request({method:"GET",path:"/2/tasks",queryParameters:f,headers:{}},h)},listTasksV1({itemsPerPage:e,page:t,action:r,enabled:n,sourceID:i,destinationID:o,triggerType:a,sort:l,order:u}={},c){let d={};return void 0!==e&&(d.itemsPerPage=e.toString()),void 0!==t&&(d.page=t.toString()),void 0!==r&&(d.action=r.toString()),void 0!==n&&(d.enabled=n.toString()),void 0!==i&&(d.sourceID=i.toString()),void 0!==o&&(d.destinationID=o.toString()),void 0!==a&&(d.triggerType=a.toString()),void 0!==l&&(d.sort=l.toString()),void 0!==u&&(d.order=u.toString()),s.request({method:"GET",path:"/1/tasks",queryParameters:d,headers:{}},c)},listTransformations({itemsPerPage:e,page:t,sort:r,order:n,type:i}={},o){let a={};return void 0!==e&&(a.itemsPerPage=e.toString()),void 0!==t&&(a.page=t.toString()),void 0!==r&&(a.sort=r.toString()),void 0!==n&&(a.order=n.toString()),void 0!==i&&(a.type=i.toString()),s.request({method:"GET",path:"/1/transformations",queryParameters:a,headers:{}},o)},push({indexName:e,pushTaskPayload:t,watch:r,referenceIndexName:n},i){if(!e)throw Error("Parameter `indexName` is required when calling `push`.");if(!t)throw Error("Parameter `pushTaskPayload` is required when calling `push`.");if(!t.action)throw Error("Parameter `pushTaskPayload.action` is required when calling `push`.");if(!t.records)throw Error("Parameter `pushTaskPayload.records` is required when calling `push`.");let o="/1/push/{indexName}".replace("{indexName}",encodeURIComponent(e)),a={};return void 0!==r&&(a.watch=r.toString()),void 0!==n&&(a.referenceIndexName=n.toString()),i={timeouts:{connect:18e4,read:18e4,write:18e4,...i?.timeouts}},s.request({method:"POST",path:o,queryParameters:a,headers:{},data:t},i)},pushTask({taskID:e,pushTaskPayload:t,watch:r},n){if(!e)throw Error("Parameter `taskID` is required when calling `pushTask`.");if(!t)throw Error("Parameter `pushTaskPayload` is required when calling `pushTask`.");if(!t.action)throw Error("Parameter `pushTaskPayload.action` is required when calling `pushTask`.");if(!t.records)throw Error("Parameter `pushTaskPayload.records` is required when calling `pushTask`.");let i="/2/tasks/{taskID}/push".replace("{taskID}",encodeURIComponent(e)),o={};return void 0!==r&&(o.watch=r.toString()),n={timeouts:{connect:18e4,read:18e4,write:18e4,...n?.timeouts}},s.request({method:"POST",path:i,queryParameters:o,headers:{},data:t},n)},replaceTask({taskID:e,taskReplace:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `replaceTask`.");if(!t)throw Error("Parameter `taskReplace` is required when calling `replaceTask`.");if(!t.destinationID)throw Error("Parameter `taskReplace.destinationID` is required when calling `replaceTask`.");if(!t.action)throw Error("Parameter `taskReplace.action` is required when calling `replaceTask`.");let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},runSource({sourceID:e,runSourcePayload:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `runSource`.");let n="/1/sources/{sourceID}/run".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTask({taskID:e,runTaskPayload:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `runTask`.");let n="/2/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},runTaskV1({taskID:e,runTaskPayload:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `runTaskV1`.");let n="/1/tasks/{taskID}/run".replace("{taskID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t||{}},r)},searchAuthentications(e,t){if(!e)throw Error("Parameter `authenticationSearch` is required when calling `searchAuthentications`.");if(!e.authenticationIDs)throw Error("Parameter `authenticationSearch.authenticationIDs` is required when calling `searchAuthentications`.");return s.request({method:"POST",path:"/1/authentications/search",queryParameters:{},headers:{},data:e},t)},searchDestinations(e,t){if(!e)throw Error("Parameter `destinationSearch` is required when calling `searchDestinations`.");if(!e.destinationIDs)throw Error("Parameter `destinationSearch.destinationIDs` is required when calling `searchDestinations`.");return s.request({method:"POST",path:"/1/destinations/search",queryParameters:{},headers:{},data:e},t)},searchSources(e,t){if(!e)throw Error("Parameter `sourceSearch` is required when calling `searchSources`.");if(!e.sourceIDs)throw Error("Parameter `sourceSearch.sourceIDs` is required when calling `searchSources`.");return s.request({method:"POST",path:"/1/sources/search",queryParameters:{},headers:{},data:e},t)},searchTasks(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasks`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasks`.");return s.request({method:"POST",path:"/2/tasks/search",queryParameters:{},headers:{},data:e},t)},searchTasksV1(e,t){if(!e)throw Error("Parameter `taskSearch` is required when calling `searchTasksV1`.");if(!e.taskIDs)throw Error("Parameter `taskSearch.taskIDs` is required when calling `searchTasksV1`.");return s.request({method:"POST",path:"/1/tasks/search",queryParameters:{},headers:{},data:e},t)},searchTransformations(e,t){if(!e)throw Error("Parameter `transformationSearch` is required when calling `searchTransformations`.");if(!e.transformationIDs)throw Error("Parameter `transformationSearch.transformationIDs` is required when calling `searchTransformations`.");return s.request({method:"POST",path:"/1/transformations/search",queryParameters:{},headers:{},data:e},t)},triggerDockerSourceDiscover({sourceID:e},t){if(!e)throw Error("Parameter `sourceID` is required when calling `triggerDockerSourceDiscover`.");let r="/1/sources/{sourceID}/discover".replace("{sourceID}",encodeURIComponent(e));return t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:r,queryParameters:{},headers:{}},t)},tryTransformation(e,t){if(!e)throw Error("Parameter `transformationTry` is required when calling `tryTransformation`.");if(!e.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformation`.");return s.request({method:"POST",path:"/1/transformations/try",queryParameters:{},headers:{},data:e},t)},tryTransformationBeforeUpdate({transformationID:e,transformationTry:t},r){if(!e)throw Error("Parameter `transformationID` is required when calling `tryTransformationBeforeUpdate`.");if(!t)throw Error("Parameter `transformationTry` is required when calling `tryTransformationBeforeUpdate`.");if(!t.sampleRecord)throw Error("Parameter `transformationTry.sampleRecord` is required when calling `tryTransformationBeforeUpdate`.");let n="/1/transformations/{transformationID}/try".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)},updateAuthentication({authenticationID:e,authenticationUpdate:t},r){if(!e)throw Error("Parameter `authenticationID` is required when calling `updateAuthentication`.");if(!t)throw Error("Parameter `authenticationUpdate` is required when calling `updateAuthentication`.");let n="/1/authentications/{authenticationID}".replace("{authenticationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateDestination({destinationID:e,destinationUpdate:t},r){if(!e)throw Error("Parameter `destinationID` is required when calling `updateDestination`.");if(!t)throw Error("Parameter `destinationUpdate` is required when calling `updateDestination`.");let n="/1/destinations/{destinationID}".replace("{destinationID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateSource({sourceID:e,sourceUpdate:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `updateSource`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `updateSource`.");let n="/1/sources/{sourceID}".replace("{sourceID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTask({taskID:e,taskUpdate:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `updateTask`.");
13if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTask`.");let n="/2/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTaskV1({taskID:e,taskUpdate:t},r){if(!e)throw Error("Parameter `taskID` is required when calling `updateTaskV1`.");if(!t)throw Error("Parameter `taskUpdate` is required when calling `updateTaskV1`.");let n="/1/tasks/{taskID}".replace("{taskID}",encodeURIComponent(e));return s.request({method:"PATCH",path:n,queryParameters:{},headers:{},data:t},r)},updateTransformation({transformationID:e,transformationCreate:t},r){if(!e)throw Error("Parameter `transformationID` is required when calling `updateTransformation`.");if(!t)throw Error("Parameter `transformationCreate` is required when calling `updateTransformation`.");if(!t.name)throw Error("Parameter `transformationCreate.name` is required when calling `updateTransformation`.");let n="/1/transformations/{transformationID}".replace("{transformationID}",encodeURIComponent(e));return s.request({method:"PUT",path:n,queryParameters:{},headers:{},data:t},r)},validateSource:(e,t)=>(t={timeouts:{connect:18e4,read:18e4,write:18e4,...t?.timeouts}},s.request({method:"POST",path:"/1/sources/validate",queryParameters:{},headers:{},data:e||{}},t)),validateSourceBeforeUpdate({sourceID:e,sourceUpdate:t},r){if(!e)throw Error("Parameter `sourceID` is required when calling `validateSourceBeforeUpdate`.");if(!t)throw Error("Parameter `sourceUpdate` is required when calling `validateSourceBeforeUpdate`.");let n="/1/sources/{sourceID}/validate".replace("{sourceID}",encodeURIComponent(e));return r={timeouts:{connect:18e4,read:18e4,write:18e4,...r?.timeouts}},s.request({method:"POST",path:n,queryParameters:{},headers:{},data:t},r)}}}({appId:e,apiKey:t,region:r,timeouts:{connect:25e3,read:25e3,write:25e3},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${X}-${e}`}),m()]}),...n})}var en="1.49.1";function ei(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let o=g(e,t,r),a=I({hosts:[{url:"status.algolia.com",accept:"readWrite",protocol:"https"}],...i,algoliaAgent:v({algoliaAgents:n,client:"Monitoring",version:en}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>void 0),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(e,t){a.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?a.baseQueryParameters["x-algolia-api-key"]=e:a.baseHeaders["x-algolia-api-key"]=e},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return a.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return a.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return a.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return a.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},getClusterIncidents({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterIncidents`.");let r="/1/incidents/{clusters}
13".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getClusterStatus({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getClusterStatus`.");let r="/1/status/{clusters}".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getIncidents:e=>a.request({method:"GET",path:"/1/incidents",queryParameters:{},headers:{}},e),getIndexingTime({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getIndexingTime`.");let r="/1/indexing/{clusters}".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getLatency({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getLatency`.");let r="/1/latency/{clusters}".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getMetrics({metric:e,period:t},r){if(!e)throw Error("Parameter `metric` is required when calling `getMetrics`.");if(!t)throw Error("Parameter `period` is required when calling `getMetrics`.");let n="/1/infrastructure/{metric}/period/{period}".replace("{metric}",encodeURIComponent(e)).replace("{period}",encodeURIComponent(t));return a.request({method:"GET",path:n,queryParameters:{},headers:{}},r)},getReachability({clusters:e},t){if(!e)throw Error("Parameter `clusters` is required when calling `getReachability`.");let r="/1/reachability/{clusters}/probes".replace("{clusters}",encodeURIComponent(e));return a.request({method:"GET",path:r,queryParameters:{},headers:{}},t)},getServers:e=>a.request({method:"GET",path:"/1/inventory/servers",queryParameters:{},headers:{}},e),getStatus:e=>a.request({method:"GET",path:"/1/status",queryParameters:{},headers:{}},e)}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${en}-${e}`}),m()]}),...r})}var eo="5.49.1";function ea(e,t,r){if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");return function({appId:e,apiKey:t,authMode:r,algoliaAgents:n,...i}){let o=g(e,t,r),a=I({hosts:[{url:`${e}-dsn.algolia.net`,accept:"read",protocol:"https"},{url:`${e}.algolia.net`,accept:"write",protocol:"https"}].concat(T([{url:`${e}-1.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-2.algolianet.com`,accept:"readWrite",protocol:"https"},{url:`${e}-3.algolianet.com`,accept:"readWrite",protocol:"https"}])),...i,algoliaAgent:v({algoliaAgents:n,client:"Recommend",version:eo}),baseHeaders:{"content-type":"text/plain",...o.headers(),...i.baseHeaders},baseQueryParameters:{...o.queryParameters(),...i.baseQueryParameters}});return{transporter:a,appId:e,apiKey:t,clearCache:()=>Promise.all([a.requestsCache.clear(),a.responsesCache.clear()]).then(()=>void 0),get _ua(){return a.algoliaAgent.value},addAlgoliaAgent(e,t){a.algoliaAgent.add({segment:e,version:t})},setClientApiKey({apiKey:e}){r&&"WithinHeaders"!==r?a.baseQueryParameters["x-algolia-api-key"]=e:a.baseHeaders["x-algolia-api-key"]=e},batchRecommendRules({indexName:e,model:t,recommendRule:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `batchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `batchRecommendRules`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/batch".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return a.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{}},n)},customDelete({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customDelete`.");let n="/{path}".replace("{path}",e);return a.request({method:"DELETE",path:n,queryParameters:t||{},headers:{}},r)},customGet({path:e,parameters:t},r){if(!e)throw Error("Parameter `path` is required when calling `customGet`.");let n="/{path}".replace("{path}",e);return a.request({method:"GET",path:n,queryParameters:t||{},headers:{}},r)},customPost({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPost`.");let i="/{path}".replace("{path}",e);return a.request({method:"POST",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},customPut({path:e,parameters:t,body:r},n){if(!e)throw Error("Parameter `path` is required when calling `customPut`.");let i="/{path}".replace("{path}",e);return a.request({method:"PUT",path:i,queryParameters:t||{},headers:{},data:r||{}},n)},deleteRecommendRule({indexName:e,model:t,objectID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `deleteRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `deleteRecommendRule`.");if(!r)throw Error("Parameter `objectID` is required when calling `deleteRecommendRule`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return a.request({method:"DELETE",path:i,queryParameters:{},headers:{}},n)},getRecommendRule({indexName:e,model:t,objectID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendRule`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendRule`.");if(!r)throw Error("Parameter `objectID` is required when calling `getRecommendRule`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/{objectID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{objectID}",encodeURIComponent(r));return a.request({method:"GET",path:i,queryParameters:{},headers:{}},n)},getRecommendStatus({indexName:e,model:t,taskID:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `getRecommendStatus`.");if(!t)throw Error("Parameter `model` is required when calling `getRecommendStatus`.");if(!r)throw Error("Parameter `taskID` is required when calling `getRecommendStatus`.");let i="/1/indexes/{indexName}/{model}/task/{taskID}".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t)).replace("{taskID}",encodeURIComponent(r));return a.request({method:"GET",path:i,queryParameters:{},headers:{}},n)},getRecommendations(e,t){if(e&&Array.isArray(e)&&(e={requests:e}),!e)throw Error("Parameter `getRecommendationsParams` is required when calling `getRecommendations`.");if(!e.requests)throw Error("Parameter `getRecommendationsParams.requests` is required when calling `getRecommendations`.");let r={method:"POST",path:"/1/indexes/*/recommendations",queryParameters:{},headers:{},data:e,useReadTransporter:!0,cacheable:!0};return a.request(r,t)},searchRecommendRules({indexName:e,model:t,searchRecommendRulesParams:r},n){if(!e)throw Error("Parameter `indexName` is required when calling `searchRecommendRules`.");if(!t)throw Error("Parameter `model` is required when calling `searchRecommendRules`.");let i="/1/indexes/{indexName}/{model}/recommend/rules/search".replace("{indexName}",encodeURIComponent(e)).replace("{model}",encodeURIComponent(t));return a.request({method:"POST",path:i,queryParameters:{},headers:{},data:r||{},useReadTransporter:!0,cacheable:!0},n)}}}({appId:e,apiKey:t,timeouts:{connect:1e3,read:2e3,write:3e4},logger:b(),requester:A(),algoliaAgents:[{segment:"Browser"}],authMode:"WithinQueryParameters",responsesCache:m(),requestsCache:m({serializable:!1}),hostsCache:p({caches:[f({key:`${eo}-${e}`}),m()]}),...r})}var es=Object.defineProperty,el=Object.getOwnPropertyDescriptor,eu=Object.getOwnPropertyNames,ec=Object.prototype.hasOwnProperty,ed=(e,t)=>{for(var r in t)es(e,r,{get:t[r],enumerable:!0})},eh=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of eu(t))ec.call(e,i)||i===r||es(e,i,{get:()=>t[i],enumerable:!(n=el(t,i))||n.enumerable});return e},ef=(e,t,r)=>(eh(e,t,"default"),r&&eh(r,t,"default")),ep={};ed(ep,{algoliasearch:()=>eg,apiClientVersion:()=>Q});var em={};function eg(e,t,r){let n;if(!e||"string"!=typeof e)throw Error("`appId` is missing.");if(!t||"string"!=typeof t)throw Error("`apiKey` is missing.");let i=J(e,t,r);if(r?.transformation){if(!r.transformation.region)throw Error("`region` must be provided when leveraging the transformation pipeline");n=er(e,t,r.transformation.region,r)}return{...i,async saveObjectsWithTransformation({indexName:e,objects:t,waitForTasks:i},o){if(!n)throw Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!r?.transformation?.region)throw Error("`region` must be provided when leveraging the transformation pipeline");return n.chunkedPush({indexName:e,objects:t,action:"addObject",waitForTasks:i},o)},async partialUpdateObjectsWithTransformation({indexName:e,objects:t,createIfNotExists:i,waitForTasks:o},a){if(!n)throw Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!r?.transformation?.region)throw Error("`region` must be provided when leveraging the transformation pipeline");return n.chunkedPush({indexName:e,objects:t,action:i?"partialUpdateObject":"partialUpdateObjectNoCreate",waitForTasks:o},a)}
13,async replaceAllObjectsWithTransformation({indexName:e,objects:t,batchSize:i,scopes:o},a){if(!n)throw Error("`transformation.region` must be provided at client instantiation before calling this method.");if(!r?.transformation?.region)throw Error("`region` must be provided when leveraging the transformation pipeline");let s=Math.floor(1e6*Math.random())+1e5,l=`${e}_tmp_${s}`;void 0===o&&(o=["settings","rules","synonyms"]);try{let r=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:l,scope:o}},a),s=await n.chunkedPush({indexName:l,objects:t,waitForTasks:!0,batchSize:i,referenceIndexName:e},a);await this.waitForTask({indexName:l,taskID:r.taskID}),r=await this.operationIndex({indexName:e,operationIndexParams:{operation:"copy",destination:l,scope:o}},a),await this.waitForTask({indexName:l,taskID:r.taskID});let u=await this.operationIndex({indexName:l,operationIndexParams:{operation:"move",destination:e}},a);return await this.waitForTask({indexName:l,taskID:u.taskID}),{copyOperationResponse:r,watchResponses:s,moveOperationResponse:u}}catch(e){throw await this.deleteIndex({indexName:l}),e}},get _ua(){return i.transporter.algoliaAgent.value},initAbtesting:r=>q(r.appId||e,r.apiKey||t,r.region,r.options),initAbtestingV3:r=>O(r.appId||e,r.apiKey||t,r.region,r.options),initAnalytics:r=>M(r.appId||e,r.apiKey||t,r.region,r.options),initIngestion:r=>er(r.appId||e,r.apiKey||t,r.region,r.options),initInsights:r=>U(r.appId||e,r.apiKey||t,r.region,r.options),initMonitoring:(r={})=>ei(r.appId||e,r.apiKey||t,r.options),initPersonalization:r=>W(r.appId||e,r.apiKey||t,r.region,r.options),initQuerySuggestions:r=>G(r.appId||e,r.apiKey||t,r.region,r.options),initRecommend:(r={})=>ea(r.appId||e,r.apiKey||t,r.options)}}ed(em,{apiClientVersion:()=>Q}),ef(em,n),ef(em,i),ef(em,o),ef(em,a),ef(em,s),ef(em,l),ef(em,u),ef(em,c),ef(em,d),ef(em,h),ef(ep,em)},54360:(e,t,r)=>{"use strict";function n(e,t){if(void 0===e||"function"!=typeof e)throw Error("The render function is not valid (received type ".concat(Object.prototype.toString.call(e).slice(8,-1),").\n\n").concat(t))}r.d(t,{t:()=>n})},54366:e=>{"use strict";e.exports=Math.min},54575:(e,t,r)=>{"use strict";r.d(t,{E:()=>u,p:()=>c});var n=r(2572),i=r(226),o=r(48553),a=r(93406),s=r(68092),l=r(14232);let u=(0,l.createContext)({}),c=(0,i.U7)(function(e,t){[e,t]=(0,n.JT)(e,t,u);let{hoverProps:r,isHovered:i}=(0,o.M)({...e,isDisabled:e.disabled}),{isFocused:c,isFocusVisible:d,focusProps:h}=(0,a.o)({isTextInput:!0,autoFocus:e.autoFocus}),f=!!e["aria-invalid"]&&"false"!==e["aria-invalid"],p=(0,n.Sl)({...e,values:{isHovered:i,isFocused:c,isFocusVisible:d,isDisabled:e.disabled||!1,isInvalid:f},defaultClassName:"react-aria-Input"});return l.createElement(n.tT.input,{...(0,s.v)((e=>{let{onHoverStart:t,onHoverChange:r,onHoverEnd:n,...i}=e;return i})(e),h,r),...p,ref:t,"data-focused":c||void 0,"data-disabled":e.disabled||void 0,"data-hovered":i||void 0,"data-focus-visible":d||void 0,"data-invalid":f||void 0})})},54587:(e,t,r)=>{e.exports=r(59447)},54989:(e,t,r)=>{"use strict";function n(){throw Object.defineProperty(Error("`unauthorized()` is experimental and only allowed to be used when `experimental.authInterrupts` is enabled."),"__NEXT_ERROR_CODE",{value:"E411",enumerable:!1,configurable:!0})}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unauthorized",{enumerable:!0,get:function(){return n}}),r(46780).HTTP_ERROR_FALLBACK_ERROR_CODE,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},55034:(e,t)=>{"use strict";t._=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}},55120:(e,t,r)=>{"use strict";function n(e){return btoa(encodeURIComponent(JSON.stringify(e)))}r.d(t,{h:()=>n})},55450:(e,t,r)=>{"use strict";var n,i=r(66530),o=r(10221);try{n=[].__proto__===Array.prototype}
13catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},55502:e=>{"use strict";e.exports=RangeError},55527:(e,t,r)=>{"use strict";r.d(t,{$:()=>g,k:()=>m});var n=r(2572),i=r(14232);let o=(0,i.createContext)(null);var a=r(9982),s=r(50302),l=r(68092),u=r(63591),c=r(11646),d=r(93406),h=r(48553),f=r(95800),p=r(226);let m=(0,i.createContext)({}),g=(0,p.U7)(function(e,t){[e,t]=(0,n.JT)(e,t,m);let r=e,{isPending:p}=r,{buttonProps:g,isPressed:y}=function(e,t){let r,{elementType:n="button",isDisabled:i,onPress:o,onPressStart:a,onPressEnd:d,onPressUp:h,onPressChange:f,preventFocusOnPress:p,allowFocusWhenDisabled:m,onClick:g,href:y,target:v,rel:b,type:w="button"}=e;r="button"===n?{type:w,disabled:i,form:e.form,formAction:e.formAction,formEncType:e.formEncType,formMethod:e.formMethod,formNoValidate:e.formNoValidate,formTarget:e.formTarget,name:e.name,value:e.value}:{role:"button",href:"a"!==n||i?void 0:y,target:"a"===n?v:void 0,type:"input"===n?w:void 0,disabled:"input"===n?i:void 0,"aria-disabled":i&&"input"!==n?i:void 0,rel:"a"===n?b:void 0};let{pressProps:E,isPressed:P}=(0,c.d)({onPressStart:a,onPressEnd:d,onPressChange:f,onPress:o,onPressUp:h,onClick:g,isDisabled:i,preventFocusOnPress:p,ref:t}),{focusableProps:S}=(0,u.Wc)(e,t);m&&(S.tabIndex=i?-1:S.tabIndex);let x=(0,l.v)(S,E,(0,s.$)(e,{labelable:!0}));return{isPressed:P,buttonProps:(0,l.v)(r,x,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],"aria-current":e["aria-current"],"aria-disabled":e["aria-disabled"]})}}(e,t);g=function(e,t){if(t){for(let t in e)t.startsWith("on")&&!(t.includes("Focus")||t.includes("Blur"))&&(e[t]=void 0);e.href=void 0,e.target=void 0}return e}(g,p);let{focusProps:v,isFocused:b,isFocusVisible:w}=(0,d.o)(e),{hoverProps:E,isHovered:P}=(0,h.M)({...e,isDisabled:e.isDisabled||p}),S={isHovered:P,isPressed:(r.isPressed||y)&&!p,isFocused:b,isFocusVisible:w,isDisabled:e.isDisabled||!1,isPending:null!=p&&p},x=(0,n.Sl)({...e,values:S,defaultClassName:"react-aria-Button"}),R=(0,f.Bi)(g.id),C=(0,f.Bi)(),T=g["aria-labelledby"];p&&(T?T=`${T} ${C}`:g["aria-label"]&&(T=`${R} ${C}`));let _=(0,i.useRef)(p);(0,i.useEffect)(()=>{let e={"aria-labelledby":T||R};!_.current&&b&&p?(0,a.iP)(e,"assertive"):_.current&&b&&!p&&(0,a.iP)(e,"assertive"),_.current=p},[p,b,T,R]);let I=(0,s.$)(e,{global:!0});return delete I.onClick,i.createElement(n.tT.button,{...(0,l.v)(I,x,g,v,E),type:"submit"===g.type&&p?"button":g.type,id:R,ref:t,"aria-labelledby":T,slot:e.slot||void 0,"aria-disabled":p?"true":g["aria-disabled"],"data-disabled":e.isDisabled||void 0,"data-pressed":S.isPressed||void 0,"data-hovered":P||void 0,"data-focused":b||void 0,"data-pending":p||void 0,"data-focus-visible":w||void 0},i.createElement(o.Provider,{value:{id:C}},x.children))})},55843:(e,t,r)=>{"use strict";r.d(t,{i:()=>s});var n=r(29786),i=r(88001),o=r(23633),a=r(14232);function s(e){let{isDisabled:t,onFocus:r,onBlur:s,onFocusChange:l}=e,u=(0,a.useCallback)(e=>{if((0,n.wt)(e)===e.currentTarget)return s&&s(e),l&&l(!1),!0},[s,l]),c=(0,o.yB)(u),d=(0,a.useCallback)(e=>{let t=(0,n.wt)(e),o=(0,i.TW)(t),a=o?(0,n.bq)(o):(0,n.bq)();t===e.currentTarget&&t===a&&(r&&r(e),l&&l(!0),c(e))},[l,r,c]);return{focusProps:{onFocus:!t&&(r||l||s)?d:void 0,onBlur:!t&&(s||l)?u:void 0}}}},58497:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"notFound",{enumerable:!0,get:function(){return o}});let n=r(46780),i=`${n.HTTP_ERROR_FALLBACK_ERROR_CODE};404`;function o(){let e=Object.defineProperty(Error(i),"__NEXT_ERROR_CODE",{value:"E1041",enumerable:!1,configurable:!0});throw e.digest=i,e}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58694:(e,t,r)=>{"use strict";r.d(t,{oz:()=>K,wb:()=>j,Kp:()=>$,tU:()=>N});var n=r(2572),i=r(94111),o=r(13286),a=r(6755),s=r(93406),l=r(68092);let u=new WeakMap;function c(e,t,r){if(!e)return"";"string"==typeof t&&(t=t.replace(/\s+/g,""));let n=u.get(e);return`${n}-${r}-${t}`}class d{constructor(e,t,r,n=new Set){this.collection=e,this.flipDirection="rtl"===t&&"horizontal"===r,this.disabledKeys=n,this.tabDirection="horizontal"===r}getKeyLeftOf(e){return this.flipDirection?this.getNextKey(e):this.getPreviousKey(e)}getKeyRightOf(e){return this.flipDirection?this.getPreviousKey(e):this.getNextKey(e)}isDisabled(e){return this.disabledKeys.has(e)||!!this.collection.getItem(e)?.props?.isDisabled}getFirstKey(){let e=this.collection.getFirstKey();return null!=e&&this.isDisabled(e)&&(e=this.getNextKey(e)),e}getLastKey(){let e=this.collection.getLastKey();return null!=e&&this.isDisabled(e)&&(e=this.getPreviousKey(e)),e}
13getKeyAbove(e){return this.tabDirection?null:this.getPreviousKey(e)}getKeyBelow(e){return this.tabDirection?null:this.getNextKey(e)}getNextKey(e){let t=e;do null==(t=this.collection.getKeyAfter(t))&&(t=this.collection.getFirstKey());while(null!=t&&this.isDisabled(t)&&t!==e);return t}getPreviousKey(e){let t=e;do null==(t=this.collection.getKeyBefore(t))&&(t=this.collection.getLastKey());while(null!=t&&this.isDisabled(t)&&t!==e);return t}}var h=r(95800),f=r(3324),p=r(81719),m=r(82554),g=r(14232),y=r(50302),v=r(63591),b=r(87802),w=r(28061),E=r(48553),P=r(32639),S=r(3696),x=r(68762),R=r(91681),C=r(226),T=r(71489),_=r(82002),I=r(3097),A=r(69274),k=r(97213);function D(e,t){let r=null;if(e){for(r=e.getFirstKey();null!=r&&(t.has(r)||e.getItem(r)?.props?.isDisabled)&&r!==e.getLastKey();)r=e.getKeyAfter(r);null!=r&&(t.has(r)||e.getItem(r)?.props?.isDisabled)&&r===e.getLastKey()&&(r=e.getFirstKey())}return r}let O=(0,g.createContext)(null),F=(0,g.createContext)(null),N=(0,g.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,O);let{children:r,orientation:i="horizontal"}=e;return r=(0,g.useMemo)(()=>"function"==typeof r?r({orientation:i,defaultChildren:null}):r,[r,i]),g.createElement(x.GQ,{content:r},r=>g.createElement(q,{props:e,collection:r,tabsRef:t}))});function q({props:e,tabsRef:t,collection:r}){let{orientation:i="horizontal"}=e,o=function(e){let t=function(e){let[t,r]=(0,k.P)(e.selectedKey,e.defaultSelectedKey??null,e.onSelectionChange),n=(0,g.useMemo)(()=>null!=t?[t]:[],[t]),{collection:i,disabledKeys:o,selectionManager:a}=(0,A.p)({...e,selectionMode:"single",disallowEmptySelection:!0,allowDuplicateSelectionEvents:!0,selectedKeys:n,onSelectionChange:n=>{if("all"===n)return;let i=n.values().next().value??null;i===t&&e.onSelectionChange&&e.onSelectionChange(i),r(i)}}),s=null!=t?i.getItem(t):null;return{collection:i,disabledKeys:o,selectionManager:a,selectedKey:t,setSelectedKey:r,selectedItem:s}}({...e,onSelectionChange:e.onSelectionChange?t=>{null!=t&&e.onSelectionChange?.(t)}:void 0,suppressTextValueWarning:!0,defaultSelectedKey:e.defaultSelectedKey??D(e.collection,e.disabledKeys?new Set(e.disabledKeys):new Set)??void 0}),{selectionManager:r,collection:n,selectedKey:i}=t,o=(0,g.useRef)(i);return(0,g.useEffect)(()=>{let a=i;null==e.selectedKey&&(r.isEmpty||null==a||!n.getItem(a))&&null!=(a=D(n,t.disabledKeys))&&r.setSelectedKeys([a]),(null==a||null!=r.focusedKey)&&(r.isFocused||a===o.current)||r.setFocusedKey(a),o.current=a}),{...t,isDisabled:e.isDisabled||!1}}({...e,collection:r,children:void 0}),{focusProps:a,isFocused:u,isFocusVisible:c}=(0,s.o)({within:!0}),d=(0,g.useMemo)(()=>({orientation:i,isFocusWithin:u,isFocusVisible:c}),[i,u,c]),h=(0,n.Sl)({...e,defaultClassName:"react-aria-Tabs",values:d}),f=(0,y.$)(e,{global:!0});return g.createElement(n.tT.div,{...(0,l.v)(f,h,a),ref:t,slot:e.slot||void 0,"data-focused":u||void 0,"data-orientation":i,"data-focus-visible":c||void 0,"data-disabled":o.isDisabled||void 0},g.createElement(n.Kq,{values:[[O,e],[F,o]]},h.children))}let j=(0,g.forwardRef)(function(e,t){return(0,g.useContext)(F)?g.createElement(L,{props:e,forwardedRef:t}):g.createElement(x.pM,e)});function L({props:e,forwardedRef:t}){let r=(0,g.useContext)(F),{CollectionRoot:o}=(0,g.useContext)(i.zL),{orientation:s="horizontal",keyboardActivation:c="automatic"}=(0,n.CC)(O),v=(0,T.U)(t),{tabListProps:b}=function(e,t,r){let{orientation:n="horizontal",keyboardActivation:i="automatic"}=e,{collection:o,selectionManager:a,disabledKeys:s}=t,{direction:c}=(0,p.Y)(),y=(0,g.useMemo)(()=>new d(o,c,n,s),[o,s,n,c]),{collectionProps:v}=(0,m.y)({ref:r,selectionManager:a,keyboardDelegate:y,selectOnFocus:"automatic"===i,disallowEmptySelection:!0,scrollRef:r,linkBehavior:"selection"}),b=(0,h.Bi)();u.set(t,b);let w=(0,f.b)({...e,id:b});return{tabListProps:{...(0,l.v)(v,w),role:"tablist","aria-orientation":n,tabIndex:void 0}}}({...e,orientation:s,keyboardActivation:c},r,v),w=(0,n.Sl)({...e,children:null,defaultClassName:"react-aria-TabList",values:{orientation:s,state:r}}),E=(0,y.$)(e,{global:!0});return delete E.id,g.createElement(n.tT.div,{...(0,l.v)(E,w,b),ref:v,"data-orientation":s||void 0},g.createElement(a.D,null,g.createElement(o,{collection:r.collection,persistedKeys:(0,i.l2)(r.selectionManager.focusedKey)})))}class M extends R.Pt{}M.type="item";let K=(0,x.KU)(M,(e,t,r)=>{let i=(0,g.useContext)(F),a=(0,T.U)(t),{tabProps:u,isSelected:d,isDisabled:h,isPressed:f}=function(e,t,r){let{key:n,isDisabled:i,shouldSelectOnPressUp:o}=e,{selectionManager:a,selectedKey:s}=t,u=n===s,d=i||t.isDisabled||t.selectionManager.isDisabled(n),h=t.collection.getItem(n),{itemProps:f,isPressed:p}=(0,w.p)({selectionManager:a,key:n,ref:r,isDisabled:d,shouldSelectOnPressUp:o??h?.props.href!=null,linkBehavior:"selection"}),m=c(t,n,"tab"),g=c(t,n,"tabpanel"),{tabIndex:E}=f,P=(0,y.$)(h?.props,{labelable:!0});delete P.id;let S=(0,b._h)(h?.props),{focusableProps:x}=(0,v.Wc)({...h?.props,isDisabled:d},r);return{tabProps:(0,l.v)(P,x,S,f,{id:m,"aria-selected":u,"aria-disabled":d||void 0,"aria-controls":u?g:void 0,tabIndex:d?void 0:E,role:"tab"}),isSelected:u,isDisabled:d,isPressed:p}}({key:r.key,...e},i,a),{focusProps:p,isFocused:m,isFocusVisible:P}=(0,s.o)(),{hoverProps:S,isHovered:x}=(0,E.M)({isDisabled:h,onHoverStart:e.onHoverStart,onHoverEnd:e.onHoverEnd,onHoverChange:e.onHoverChange}),R=(0,n.Sl)({...e,id:void 0,children:r.rendered,defaultClassName:"react-aria-Tab",values:{isSelected:d,isDisabled:h,isFocused:m,isFocusVisible:P,isPressed:f,isHovered:x}}),C=r.props.href?n.tT.a:n.tT.div,_=(0,y.$)(e,{global:!0});return delete _.id,delete _.onClick,g.createElement(C,{...(0,l.v)(_,R,u,p,S),ref:a,"data-selected":d||void 0,"data-disabled":h||void 0,"data-focused":m||void 0,"data-focus-visible":P||void 0,"data-pressed":f||void 0,"data-hovered":x||void 0},g.createElement(o.r.Provider,{value:{isSelected:d}},R.children))}
13),$=(0,C.U7)(function(e,t){let r=(0,g.useContext)(F),n=(0,T.U)(t),i=r.selectedKey===e.id,[o,a]=(0,g.useState)(null!=r.selectedKey?i:null);null==o&&null!=r.selectedKey?a(i):!i&&o&&a(!1);let s=(0,_.O)(n,i);return i||e.shouldForceMount||s?g.createElement(U,{...e,tabPanelRef:n,isInitiallySelected:o||!1,isExiting:s}):null});function U(e){let t,r,o,a=(0,g.useContext)(F),{id:u,tabPanelRef:d,isInitiallySelected:h,isExiting:p,...m}=e,{tabPanelProps:v}=(t=!function(e){let t,[r,n]=(0,g.useState)(!1);return(0,S.N)(()=>{if(e?.current&&!t){let t=()=>{e.current&&n(!!(0,P.N$)(e.current,{tabbable:!0}).nextNode())};t();let r=new MutationObserver(t);return r.observe(e.current,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabIndex","disabled"]}),()=>{r.disconnect()}}}),!t&&r}(d)?0:void 0,r=c(a,e.id??a?.selectedKey,"tabpanel"),o=(0,f.b)({...e,id:r,"aria-labelledby":c(a,a?.selectedKey,"tab")}),{tabPanelProps:(0,l.v)(o,{tabIndex:t,role:"tabpanel","aria-describedby":e["aria-describedby"],"aria-details":e["aria-details"]})}),{focusProps:b,isFocused:w,isFocusVisible:E}=(0,s.o)(),x=a.selectedKey===e.id,R=(0,_._)(d)&&!h,C=(0,n.Sl)({...e,defaultClassName:"react-aria-TabPanel",values:{isFocused:w,isFocusVisible:E,isInert:(0,I.Y)(!x),isEntering:R,isExiting:p,state:a}}),T=(0,y.$)(m,{global:!0});delete T.id;let A=x?(0,l.v)(T,v,b,C):(0,l.v)(T,C);return g.createElement(n.tT.div,{...A,ref:d,"data-focused":w||void 0,"data-focus-visible":E||void 0,inert:(0,I.Y)(!x||e.inert),"data-inert":x?void 0:"true","data-entering":R||void 0,"data-exiting":p||void 0},g.createElement(n.Kq,{values:[[O,null],[F,null]]},g.createElement(i.zL.Provider,{value:i.N},C.children)))}},59161:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n=r(22602);let i=new WeakMap;function o(e){let t=i.get(e);if(null!=t)return t;let r=0,o=t=>{for(let i of t)"section"===i.type?o((0,n.iQ)(i,e)):"item"===i.type&&r++};return o(e),i.set(e,r),r}},59447:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return c},getImageProps:function(){return u}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(64252),a=r(61925),s=r(14741),l=o._(r(52795));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=s.Image},59679:e=>{"use strict";e.exports=function(e){return e&&Object.keys(e).length>0}},59974:e=>{"use strict";function t(e){return"function"==typeof e||Array.isArray(e)||"[object Object]"===Object.prototype.toString.call(e)}e.exports=function(e){t(e)||(e={});for(var r=1,n=arguments.length;r<n;r++){var i=arguments[r];t(i)&&function e(r,n){if(r===n)return r;for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)&&"__proto__"!==i&&"constructor"!==i){var o=n[i],a=r[i];(void 0===a||void 0!==o)&&(t(a)&&t(o)?r[i]=e(a,o):r[i]="object"==typeof o&&null!==o?e(Array.isArray(o)?[]:{},o):o)}return r}(e,i)}return e}},59978:(e,t,r)=>{"use strict";r.d(t,{FU:()=>c,S8:()=>f,sn:()=>d});var n=r(8768),i=r(83516),o=r(50260),a=r(5382),s=r(95253),l=r(19975),u=r(98619),c={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},d={highlightPreTag:"<mark>",highlightPostTag:"</mark>"};function h(e){var t;return(0,u.Q)(e)&&"string"!=typeof e.value?Object.keys(e).reduce(function(t,r){return(0,s._)((0,a._)({},t),(0,n._)({},r,h(e[r])))},{}):Array.isArray(e)?e.map(h):(0,s._)((0,a._)({},e),{value:(t=e.value,(0,l.i)(t).replace(RegExp(c.highlightPreTag,"g"),d.highlightPreTag).replace(RegExp(c.highlightPostTag,"g"),d.highlightPostTag))})}function f(e){return void 0===e.__escaped&&((e=e.map(function(e){(0,o._)(e);var t=(0,i._)({},e);return t._highlightResult&&(t._highlightResult=h(t._highlightResult)),t._snippetResult&&(t._snippetResult=h(t._snippetResult)),t})).__escaped=!0),e}},60885:(e,t,r)=>{"use strict";var n=r(76957);e.exports=function(e,t){var r=(t||[]).map(function(e){return e.split(":")});return e.reduce(function(e,t){var i=t.split(":"),o=n(r,function(e){return e[0]===i[0]});return i.length>1||!o?(e[0].push(i[0]),e[1].push(i[1])):(e[0].push(o[0]),e[1].push(o[1])),e},[[],[]])}},61664:(e,t,r)=>{"use strict";e.exports=r(52468).getPrototypeOf||null},61925:(e,t,r)=>{"use strict";
13Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),r(88912);let n=r(49419),i=r(16806),o=r(50946),a=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:r=!1,priority:c=!1,preload:d=!1,loading:h,className:f,quality:p,width:m,height:g,fill:y=!1,style:v,overrideSrc:b,onLoad:w,onLoadingComplete:E,placeholder:P="empty",blurDataURL:S,fetchPriority:x,decoding:R="async",layout:C,objectFit:T,objectPosition:_,lazyBoundary:I,lazyRoot:A,...k},D){var O;let F,N,q,{imgConf:j,showAltText:L,blurComplete:M,defaultLoader:K}=D,$=j||o.imageConfigDefault;if("allSizes"in $)F=$;else{let e=[...$.deviceSizes,...$.imageSizes].sort((e,t)=>e-t),t=$.deviceSizes.sort((e,t)=>e-t),r=$.qualities?.sort((e,t)=>e-t);F={...$,allSizes:e,deviceSizes:t,qualities:r}}if(void 0===K)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let U=k.loader||K;delete k.loader,delete k.srcSet;let B="__next_img_default"in U;if(B){if("custom"===F.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop. 14Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=U;U=t=>{let{config:r,...n}=t;return e(n)}}if(C){"fill"===C&&(y=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[C];e&&(v={...v,...e});let r={responsive:"100vw",fill:"100vw"}[C];r&&!t&&(t=r)}let H="",W=l(m),V=l(g);if((O=e)&&"object"==typeof O&&(s(O)||void 0!==O.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(N=t.blurWidth,q=t.blurHeight,S=S||t.blurDataURL,H=t.src,!y)if(W||V){if(W&&!V){let e=W/t.width;V=Math.round(t.height*e)}else if(!W&&V){let e=V/t.height;W=Math.round(t.width*e)}}else W=t.width,V=t.height}let z=!c&&!d&&("lazy"===h||void 0===h);(!(e="string"==typeof e?e:H)||e.startsWith("data:")||e.startsWith("blob:"))&&(r=!0,z=!1),F.unoptimized&&(r=!0),B&&!F.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(r=!0);let G=l(p),Q=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:T,objectPosition:_}:{},L?{}:{color:"transparent"},v),J=M||"empty"===P?null:"blur"===P?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:W,heightInt:V,blurWidth:N,blurHeight:q,blurDataURL:S||"",objectFit:Q.objectFit})}")`:`url("${P}")`,X=a.includes(Q.objectFit)?"fill"===Q.objectFit?"100% 100%":"cover":Q.objectFit,Y=J?{backgroundSize:X,backgroundPosition:Q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Z=function({config:e,src:t,unoptimized:r,width:i,quality:o,sizes:a,loader:s}){if(r){if(t.startsWith("/")&&!t.startsWith("//")){let e=(0,n.getDeploymentId)();if(e){let r=t.indexOf("?");if(-1!==r){let n=new URLSearchParams(t.slice(r+1));n.get("dpl")||(n.append("dpl",e),t=t.slice(0,r)+"?"+n.toString())}else t+=`?dpl=${e}`}}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},r,n){if(n){let r=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=r.exec(n);)i.push(parseInt(e[2]));if(i.length){let r=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*r),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof r?{widths:e,kind:"w"}:{widths:[...new Set([r,2*r].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((r,n)=>`${s({config:e,src:t,quality:o,width:r})} ${"w"===u?r:n+1}${u}`).join(", "),src:s({config:e,src:t,quality:o,width:l[c]})}}({config:F,src:e,unoptimized:r,width:W,quality:G,sizes:t,loader:U}),ee=z?"lazy":h;return{props:{...k,loading:ee,fetchPriority:x,width:W,height:V,decoding:R,className:f,style:{...Q,...Y},sizes:Z.sizes,srcSet:Z.srcSet,src:b||Z.src},meta:{unoptimized:r,preload:d||c,placeholder:P,fill:y}}}},63219:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
14(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=r(65883),a=r(94093);i(r(94093),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,r){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(r=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=r?r:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var r=this.options.xmlMode?o.ElementType.Tag:void 0,n=new a.Element(e,t,void 0,r);this.addNode(n),this.tagStack.push(n)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var r=new a.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new a.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var r=new a.ProcessingInstruction(e,t);this.addNode(r)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],r=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),r&&(e.prev=r,r.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},63311:(e,t,r)=>{"use strict";function n(...e){return(...t)=>{for(let r of e)"function"==typeof r&&r(...t)}}r.d(t,{c:()=>n})},63591:(e,t,r)=>{"use strict";r.d(t,{gY:()=>u,Wc:()=>c});var n=r(67096),i=r(68092),o=r(55843);function a(e){if(!e)return;let t=!0;return r=>{e({...r,preventDefault(){r.preventDefault()},isDefaultPrevented:()=>r.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1,"function"==typeof r.continuePropagation&&r.continuePropagation()},isPropagationStopped:()=>t}),t&&r.stopPropagation()}}var s=r(50529),l=r(14232);let u=l.createContext(null);function c(e,t){let{focusProps:r}=(0,o.i)(e),{keyboardProps:c}={keyboardProps:e.isDisabled?{}:{onKeyDown:a(e.onKeyDown),onKeyUp:a(e.onKeyUp)}},d=(0,i.v)(r,c),h=function(e){let t=(0,l.useContext)(u)||{};(0,s.w)(t,e);let{ref:r,...n}=t;return n}(t),f=e.isDisabled?{}:h,p=(0,l.useRef)(e.autoFocus);(0,l.useEffect)(()=>{p.current&&t.current&&(0,n.l)(t.current),p.current=!1},[t]);let m=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(m=void 0),{focusableProps:(0,i.v)({...d,tabIndex:m},f)}}},63594:(e,t)=>{"use strict";t._=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}},63974:(e,t,r)=>{"use strict";var n=r(30419);t._=function(e){if(Array.isArray(e))return n._(e)}},64247:(e,t,r)=>{"use strict";var n=r(32591),i=r(73250),o=r(85125).escapeFacetValue,a=r(1010),s=r(59974),l=r(59679),u=r(80415),c=r(18561),d=r(38539),h=r(9048),f=r(75983),p=r(4005),m=r(98595),g=r(21800);function y(e,t,r,n){"function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.setClient(e);var i=r||{};i.index=t,this.state=f.make(i),this.recommendState=new c({params:i.recommendState}),this.lastResults=null,this.lastRecommendResults=null,this._queryId=0,this._recommendQueryId=0,this._lastQueryIdReceived=-1,this._lastRecommendQueryId
14Received=-1,this.derivedHelpers=[],this._currentNbQueries=0,this._currentNbRecommendQueries=0,this._searchResultsOptions=n,this._recommendCache={}}function v(e){if(e<0)throw Error("Page requested below 0.");return this._change({state:this.state.setPage(e),isPageReset:!1}),this}function b(){return this.state.page}a(y,n),y.prototype.search=function(){return this._search({onlyWithDerivedHelpers:!1}),this},y.prototype.searchOnlyWithDerivedHelpers=function(){return this._search({onlyWithDerivedHelpers:!0}),this},y.prototype.searchWithComposition=function(){return this._runComposition({onlyWithDerivedHelpers:!0}),this},y.prototype.recommend=function(){return this._recommend(),this},y.prototype.getQuery=function(){var e=this.state;return h._getHitsSearchParams(e)},y.prototype.searchOnce=function(e,t){var r=e?this.state.setQueryParameters(e):this.state,n=h._getQueries(r.index,r),i=this;return(this._currentNbQueries++,this.emit("searchOnce",{state:r}),t)?void this.client.search(n).then(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(null,new p(r,e.results),r)}).catch(function(e){i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),t(e,null,r)}):this.client.search(n).then(function(e){return i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),{content:new p(r,e.results),state:r,_originalResponse:e}},function(e){throw i._currentNbQueries--,0===i._currentNbQueries&&i.emit("searchQueueEmpty"),e})},y.prototype.findAnswers=function(e){console.warn("[algoliasearch-helper] answers is no longer supported");var t=this.state,r=this.derivedHelpers[0];if(!r)return Promise.resolve([]);var n=r.getModifiedState(t),i=s({attributesForPrediction:e.attributesForPrediction,nbHits:e.nbHits},{params:u(h._getHitsSearchParams(n),["attributesToSnippet","hitsPerPage","restrictSearchableAttributes","snippetEllipsisText"])}),o="search for answers was called, but this client does not have a function client.initIndex(index).findAnswers";if("function"!=typeof this.client.initIndex)throw Error(o);var a=this.client.initIndex(n.index);if("function"!=typeof a.findAnswers)throw Error(o);return a.findAnswers(n.query,e.queryLanguages,i)},y.prototype.searchForFacetValues=function(e,t,r,n){var i,a="function"==typeof this.client.searchForFacetValues&&"function"!=typeof this.client.searchForFacets,s="function"==typeof this.client.initIndex;if(!a&&!s&&"function"!=typeof this.client.search)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues or client.initIndex(index).searchForFacetValues");var l=this.state.setQueryParameters(n||{}),u=l.isDisjunctiveFacet(e),c=h.getSearchForFacetQuery(e,t,r,l);this._currentNbQueries++;var d=this;a?i=this.client.searchForFacetValues([{indexName:l.index,params:c}]):s?i=this.client.initIndex(l.index).searchForFacetValues(c):(delete c.facetName,i=this.client.search([{type:"facet",facet:e,indexName:l.index,params:c}]).then(function(e){return e.results[0]})),this.emit("searchForFacetValues",{state:l,facet:e,query:t});var f=this.lastResults&&this.lastResults.index===l.index&&this.lastResults.renderingContent&&this.lastResults.renderingContent.facetOrdering&&this.lastResults.renderingContent.facetOrdering.values&&this.lastResults.renderingContent.facetOrdering.values[e]&&this.lastResults.renderingContent.facetOrdering.values[e].hide||[];return i.then(function(t){return d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),(t=Array.isArray(t)?t[0]:t).facetHits=t.facetHits.reduce(function(t,r){return f.indexOf(r.value)>-1||(r.escapedValue=o(r.value),r.isRefined=u?l.isDisjunctiveFacetRefined(e,r.escapedValue):l.isFacetRefined(e,r.escapedValue),t.push(r)),t},[]),t},function(e){throw d._currentNbQueries--,0===d._currentNbQueries&&d.emit("searchQueueEmpty"),e})},y.prototype.searchForCompositionFacetValues=function(e,t,r,n){if("function"!=typeof this.client.searchForFacetValues)throw Error("search for facet values (searchable) was called, but this client does not have a function client.searchForFacetValues");var i,a=this.state.setQueryParameters(n||{}),s=a.isDisjunctiveFacet(e);this._currentNbQueries++;var l=this;return i=this.client.searchForFacetValues({compositionID:a.index,facetName:e,searchForFacetValuesRequest:{params:{query:t,maxFacetHits:r,searchQuery:h._getCompositionHitsSearchParams(a)}}}
vendor: 8,590 bytes, line 14
14),this.emit("searchForFacetValues",{state:a,facet:e,query:t}),i.then(function(t){return l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),(t=t.results[0]).facetHits.forEach(function(t){t.escapedValue=o(t.value),t.isRefined=s?a.isDisjunctiveFacetRefined(e,t.escapedValue):a.isFacetRefined(e,t.escapedValue)}),t},function(e){throw l._currentNbQueries--,0===l._currentNbQueries&&l.emit("searchQueueEmpty"),e})},y.prototype.setQuery=function(e){return this._change({state:this.state.resetPage().setQuery(e),isPageReset:!0}),this},y.prototype.clearRefinements=function(e){return this._change({state:this.state.resetPage().clearRefinements(e),isPageReset:!0}),this},y.prototype.clearTags=function(){return this._change({state:this.state.resetPage().clearTags(),isPageReset:!0}),this},y.prototype.addDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.addDisjunctiveRefine=function(){return this.addDisjunctiveFacetRefinement.apply(this,arguments)},y.prototype.addHierarchicalFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addHierarchicalFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.addNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().addNumericRefinement(e,t,r),isPageReset:!0}),this},y.prototype.addFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().addFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.addRefine=function(){return this.addFacetRefinement.apply(this,arguments)},y.prototype.addFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().addExcludeRefinement(e,t),isPageReset:!0}),this},y.prototype.addExclude=function(){return this.addFacetExclusion.apply(this,arguments)},y.prototype.addTag=function(e){return this._change({state:this.state.resetPage().addTagRefinement(e),isPageReset:!0}),this},y.prototype.addFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.addFrequentlyBoughtTogether(e)}),this},y.prototype.addRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.addRelatedProducts(e)}),this},y.prototype.addTrendingItems=function(e){return this._recommendChange({state:this.recommendState.addTrendingItems(e)}),this},y.prototype.addTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.addTrendingFacets(e)}),this},y.prototype.addLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.addLookingSimilar(e)}),this},y.prototype.removeNumericRefinement=function(e,t,r){return this._change({state:this.state.resetPage().removeNumericRefinement(e,t,r),isPageReset:!0}),this},y.prototype.removeDisjunctiveFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeDisjunctiveFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.removeDisjunctiveRefine=function(){return this.removeDisjunctiveFacetRefinement.apply(this,arguments)},y.prototype.removeHierarchicalFacetRefinement=function(e){return this._change({state:this.state.resetPage().removeHierarchicalFacetRefinement(e),isPageReset:!0}),this},y.prototype.removeFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().removeFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.removeRefine=function(){return this.removeFacetRefinement.apply(this,arguments)},y.prototype.removeFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().removeExcludeRefinement(e,t),isPageReset:!0}),this},y.prototype.removeExclude=function(){return this.removeFacetExclusion.apply(this,arguments)},y.prototype.removeTag=function(e){return this._change({state:this.state.resetPage().removeTagRefinement(e),isPageReset:!0}),this},y.prototype.removeFrequentlyBoughtTogether=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeRelatedProducts=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeTrendingItems=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeTrendingFacets=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.removeLookingSimilar=function(e){return this._recommendChange({state:this.recommendState.removeParams(e)}),this},y.prototype.toggleFacetExclusion=function(e,t){return this._change({state:this.state.resetPage().toggleExcludeFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.toggleExclude=function(){return this.toggleFacetExclusion.apply(this,arguments)},y.prototype.toggleRefinement=function(e,t){return this.toggleFacetRefinement(e,t)},y.prototype.toggleFacetRefinement=function(e,t){return this._change({state:this.state.resetPage().toggleFacetRefinement(e,t),isPageReset:!0}),this},y.prototype.toggleRefine=function(){return this.toggleFacetRefinement.apply(this,arguments)},y.prototype.toggleTag=function(e){return this._change({state:this.state.resetPage().toggleTagRefinement(e),isPageReset:!0}),this},y.prototype.nextPage=function(){var e=this.state.page||0;return this.setPage(e+1)},y.prototype.previousPage=function(){var e=this.state.page||0;return this.setPage(e-1)},y.prototype.setCurrentPage=v,y.prototype.setPage=v,y.prototype.setIndex=function(e){return this._change({state:this.state.resetPage().setIndex(e),isPageReset:!0}),this},y.prototype.setQueryParameter=function(e,t){return this._change({state:this.state.resetPage().setQueryParameter(e,t),isPageReset:!0}),this},y.prototype.setState=function(e){return this._change({state:f.make(e),isPageReset:!1}),this},y.prototype.overrideStateWithoutTriggeringChangeEvent=function(e){return this.state=new f(e),this},y.prototype.hasRefinements=function(e){return!!l(this.state.getNumericRefinements(e))||(this.state.isConjunctiveFacet(e)?this.state.isFacetRefined(e):this.state.isDisjunctiveFacet(e)?this.state.isDisjunctiveFacetRefined(e):!!this.state.isHierarchicalFacet(e)&&this.state.isHierarchicalFacetRefined(e))},y.prototype.isExcluded=function(e,t){return this.state.isExcludeRefined(e,t)},y.prototype.isDisjunctiveRefined=function(e,t){return this.state.isDisjunctiveFacetRefined(e,t)},y.prototype.hasTag=function(e){return this.state.isTagRefined(e)},y.prototype.isTagRefined=function(){return this.hasTagRefinements.apply(this,arguments)},y.prototype.getIndex=function(){return this.state.index},y.prototype.getCurrentPage=b,y.prototype.getPage=b,y.prototype.getTags=function(){return this.state.tagRefinements},y.prototype.getRefinements=function(e){var t=[];this.state.isConjunctiveFacet(e)?(this.state.getConjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"conjunctive"})}),this.state.getExcludeRefinements(e).forEach(function(e){t.push({value:e,type:"exclude"})})):this.state.isDisjunctiveFacet(e)&&this.state.getDisjunctiveRefinements(e).forEach(function(e){t.push({value:e,type:"disjunctive"})});var r=this.state.getNumericRefinements(e);return Object.keys(r).forEach(function(e){var n=r[e];t.push({value:n,operator:e,type:"numeric"})}),t},y.prototype.getNumericRefinement=function(e,t){return this.state.getNumericRefinement(e,t)},y.prototype.getHierarchicalFacetBreadcrumb=function(e){return this.state.getHierarchicalFacetBreadcrumb(e)},y.prototype._search=function(e){var t=this.state,r=[],n=[];e.onlyWithDerivedHelpers||(n=h._getQueries(t.index,t),r.push({state:t,queriesCount:n.length,helper:this}),this.emit("search",{state:t,results:this.lastResults}));var i=this.derivedHelpers.map(function(e){var n=e.getModifiedState(t),i=n.index?h._getQueries(n.index,n):[];return r.push({state:n,queriesCount:i.length,helper:e}),e.emit("search",{state:n,results:e.lastResults}),i}),o=Array.prototype.concat.apply(n,i),a=this._queryId++;if(this._currentNbQueries++,!o.length)return Promise.resolve({results:[]}).then(this._dispatchAlgoliaResponse.bind(this,r,a));try{this.client.search(o).then(this._dispatchAlgoliaResponse.bind(this,r,a)).catch(this._dispatchAlgoliaError.bind(this,a))}catch(e){this.emit("error",{error:e})}},y.prototype._runComposition=function(){var e=this.state,t=[],r=this.derivedHelpers.map(function(r){var n=r.getModifiedState(e),i=h._getCompositionQueries(n);return t.push({state:n,queriesCount:i.length,helper:r}),r.emit("search",{state:n,results:r.lastResults}),i}),n=Array.prototype.concat.apply([],r),i=this._queryId++;if(this._currentNbQueries++,!n.length)return Promise.resolve({results:[]}
14).then(this._dispatchAlgoliaResponse.bind(this,t,i));if(n.length>1)throw Error("Only one query is allowed when using a composition.");var o=n[0];try{this.client.search(o).then(this._dispatchAlgoliaResponse.bind(this,t,i)).catch(this._dispatchAlgoliaError.bind(this,i))}catch(e){this.emit("error",{error:e})}},y.prototype._recommend=function(){var e=this.state,t=this.recommendState,r=this.getIndex(),n=[{state:t,index:r,helper:this}],i=t.params.map(function(e){return e.$$id});this.emit("fetch",{recommend:{state:t,results:this.lastRecommendResults}});var o=this._recommendCache,a=this.derivedHelpers.map(function(t){var r=t.getModifiedState(e).index;if(!r)return[];var a=t.getModifiedRecommendState(new c);return n.push({state:a,index:r,helper:t}),i=Array.prototype.concat.apply(i,a.params.map(function(e){return e.$$id})),t.emit("fetch",{recommend:{state:a,results:t.lastRecommendResults}}),a._buildQueries(r,o)}),s=Array.prototype.concat.apply(this.recommendState._buildQueries(r,o),a);if(0!==s.length){if(s.length>0&&void 0===this.client.getRecommendations)return void console.warn("Please update algoliasearch/lite to the latest version in order to use recommend widgets.");var l=this._recommendQueryId++;this._currentNbRecommendQueries++;try{this.client.getRecommendations(s).then(this._dispatchRecommendResponse.bind(this,l,n,i)).catch(this._dispatchRecommendError.bind(this,l))}catch(e){this.emit("error",{error:e})}}},y.prototype._dispatchAlgoliaResponse=function(e,t,r){var n=this;if(!(t<this._lastQueryIdReceived)){this._currentNbQueries-=t-this._lastQueryIdReceived,this._lastQueryIdReceived=t,0===this._currentNbQueries&&this.emit("searchQueueEmpty");var i=r.results.slice(),o=Object.keys(r).reduce(function(e,t){return"results"!==t&&(e[t]=r[t]),e},{});Object.keys(o).length<=0&&(o=void 0),e.forEach(function(e){var t=e.state,r=e.queriesCount,a=e.helper,s=i.splice(0,r);t.index?(a.lastResults=new p(t,s,n._searchResultsOptions),void 0!==o&&(a.lastResults._rawContent=o),a.emit("result",{results:a.lastResults,state:t})):a.emit("result",{results:null,state:t})})}},y.prototype._dispatchRecommendResponse=function(e,t,r,n){if(!(e<this._lastRecommendQueryIdReceived)){this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty");var i=this._recommendCache,o={};r.filter(function(e){return void 0===i[e]}).forEach(function(e,t){o[e]||(o[e]=[]),o[e].push(t)}),Object.keys(o).forEach(function(e){var t=o[e],a=n.results[t[0]];if(1===t.length){i[e]=a;return}i[e]=Object.assign({},a,{hits:m(r,t.map(function(e){return n.results[e].hits}))})});var a={};r.forEach(function(e){a[e]=i[e]}),t.forEach(function(e){var t=e.state,r=e.helper;e.index?(r.lastRecommendResults=new d(t,a),r.emit("recommend:result",{recommend:{results:r.lastRecommendResults,state:t}})):r.emit("recommend:result",{results:null,state:t})})}},y.prototype._dispatchAlgoliaError=function(e,t){e<this._lastQueryIdReceived||(this._currentNbQueries-=e-this._lastQueryIdReceived,this._lastQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbQueries&&this.emit("searchQueueEmpty"))},y.prototype._dispatchRecommendError=function(e,t){e<this._lastRecommendQueryIdReceived||(this._currentNbRecommendQueries-=e-this._lastRecommendQueryIdReceived,this._lastRecommendQueryIdReceived=e,this.emit("error",{error:t}),0===this._currentNbRecommendQueries&&this.emit("recommendQueueEmpty"))},y.prototype.containsRefinement=function(e,t,r,n){return e||0!==t.length||0!==r.length||0!==n.length},y.prototype._hasDisjunctiveRefinements=function(e){return this.state.disjunctiveRefinements[e]&&this.state.disjunctiveRefinements[e].length>0},y.prototype._change=function(e){var t=e.state,r=e.isPageReset;t!==this.state&&(this.state=t,this.emit("change",{state:this.state,results:this.lastResults,isPageReset:r}))},y.prototype._recommendChange=function(e){var t=e.state;t!==this.recommendState&&(this.recommendState=t,this.emit("recommend:change",{search:{results:this.lastResults,state:this.state},recommend:{results:this.lastRecommendResults,state:this.recommendState}}))},y.prototype.clearCache=function(){return this.client.clearCache&&this.client.clearCache(),this},y.prototype.setClient=function(e){return this.client===e||("function"==typeof e.addAlgoliaAgent&&e.addAlgoliaAgent("JS Helper ("+g+")"),this.client=e),this},y.prototype.getClient=function(){return this.client},y.prototype.derive=function(e,t){var r=new i(this,e,t);return this.derivedHelpers.push(r),r},y.prototype.detachDerivedHelper=function(e){var t=this.derivedHelpers.indexOf(e);if(-1===t)throw Error("Derived helper already detached");this.derivedHelpers.splice(t,1)},y.prototype.hasPendingRequests=function(){return this._currentNbQueries>0},e.exports=y},64450:(e,t,r)=>{"use strict";r.d(t,{p:()=>s});var n=r(5382),i=r(82291),o=function(e,t){t.facets,t.disjunctiveFacets,t.facetsRefinements,t.facetsExcludes,t.disjunctiveFacetsRefinements,t.numericRefinements,t.tagRefinements,t.hierarchicalFacets,t.hierarchicalFacetsRefinements,t.ruleContexts;var r=(0,i._)(t,["facets","disjunctiveFacets","facetsRefinements","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacets","hierarchicalFacetsRefinements","ruleContexts"]);return e.setQueryParameters(r)}
14,a=function(e,t){var r=[].concat(e.ruleContexts).concat(t.ruleContexts).filter(Boolean).filter(function(e,t,r){return r.indexOf(e)===t});return r.length>0?e.setQueryParameters({ruleContexts:r}):e},s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce(function(e,t){var r,i,s,l,u,c,d,h;return o((h=a((r=e.setQueryParameters({hierarchicalFacetsRefinements:(0,n._)({},e.hierarchicalFacetsRefinements,t.hierarchicalFacetsRefinements)}),i=r.setQueryParameters({hierarchicalFacets:t.hierarchicalFacets.reduce(function(e,t){var r=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}(e,function(e){return e.name===t.name});if(-1===r)return e.concat(t);var n=e.slice();return n.splice(r,1,t),n},r.hierarchicalFacets)}),s=t.tagRefinements.reduce(function(e,t){return e.addTagRefinement(t)},i),l=s.setQueryParameters({numericRefinements:(0,n._)({},s.numericRefinements,t.numericRefinements)}),u=l.setQueryParameters({disjunctiveFacetsRefinements:(0,n._)({},l.disjunctiveFacetsRefinements,t.disjunctiveFacetsRefinements)}),c=u.setQueryParameters({facetsExcludes:(0,n._)({},u.facetsExcludes,t.facetsExcludes)}),d=c.setQueryParameters({facetsRefinements:(0,n._)({},c.facetsRefinements,t.facetsRefinements)}),t.disjunctiveFacets.reduce(function(e,t){return e.addDisjunctiveFacet(t)},d)),t),t.facets.reduce(function(e,t){return e.addFacet(t)},h)),t)})}},64454:(e,t,r)=>{"use strict";r.d(t,{V:()=>h});var n=r(5382),i=r(95253),o=r(2230),a=r(54360),s=r(49560),l=(0,o.V)({name:"search-box",connector:!0}),u=function(e,t){return t(e)},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.l;return(0,a.t)(e,l()),function(r){var o,a,s=(r||{}).queryHook,l=void 0===s?u:s;return{$$type:"ais.searchBox",init:function(t){var r=t.instantSearchInstance;e((0,i._)((0,n._)({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!0)},render:function(t){var r=t.instantSearchInstance;e((0,i._)((0,n._)({},this.getWidgetRenderState(t)),{instantSearchInstance:r}),!1)},dispose:function(e){var r=e.state;return t(),r.setQueryParameter("query",void 0)},getRenderState:function(e,t){return(0,i._)((0,n._)({},e),{searchBox:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t=e.helper,n=e.instantSearchInstance,i=e.state;return o||(o=function(e){l(e,function(e){return t.setQuery(e).search()})},a=function(){t.setQuery("").search()}),{query:i.query||"",refine:o,clear:a,widgetParams:r,isSearchStalled:"stalled"===n.status}},getWidgetUiState:function(e,t){var r=t.searchParameters.query||"";return""===r||e&&e.query===r?e:(0,i._)((0,n._)({},e),{query:r})},getWidgetSearchParameters:function(e,t){var r=t.uiState;return e.setQueryParameter("query",r.query||"")}}}},d=r(86088);function h(e,t){return(0,d.Z)(c,e,t)}},64591:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var n=r(8768),i=r(90189),o=r(5382),a=r(95253),s=r(82291),l=r(67358),u=r(11701),c=0,d=r(73312),h=r(52364);function f(e){for(var t=e.getParent(),r=[e.getHelper().state];null!==t;)r=[t.getHelper().state].concat(r),t=t.getParent();return r}var p=r(10450),m=r(2230),g=r(64450),y=(0,m.V)({name:"index-widget"});function v(e,t){var r=t.state,n=t.recommendState,i=t.isPageReset,o=t._uiState;r!==e.state&&(e.state=r,e.emit("change",{state:e.state,results:e.lastResults,isPageReset:i,_uiState:o})),n!==e.recommendState&&(e.recommendState=n)}function b(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.reduce(function(e,r){return!(0,d.l)(r)&&(r.getWidgetUiState||r.getWidgetState)?r.getWidgetUiState?r.getWidgetUiState(e,t):r.getWidgetState(e,t):e},r)}function w(e,t){var r=t.initialSearchParameters,n=(0,s._)(t,["initialSearchParameters"]);return e.reduce(function(e,t){return!t.getWidgetSearchParameters||(0,d.l)(t)?e:"search"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):t.getWidgetSearchParameters(e,n)},r)}function E(e,t){var r=t.initialRecommendParameters,n=(0,s._)(t,["initialRecommendParameters"]);return e.reduce(function(e,t){return!(0,d.l)(t)&&"recommend"===t.dependsOn&&t.getWidgetParameters?t.getWidgetParameters(e,n):e},r)}var P=function(e){if(void 0===e||void 0===e.indexName&&!e.EXPERIMENTAL_isolated)throw Error(y("The `indexName` option is required."));var t=e.indexName,r=void 0===t?"":t,s=e.indexId,m=void 0===s?r:s,P=e.EXPERIMENTAL_isolated,x=void 0!==P&&P,R=[],C={},T=null,_=null,I=null,A=null,k=null,D=!1,O=!1;return{$$type:"ais.index",$$widgetType:"ais.index",_isolated:x,getIndexName:function(){return r},getIndexId:function(){return m},getHelper:function(){return I},getResults:function(){return(null==A?void 0:A.lastResults)?(A.lastResults._state=I.state,A.lastResults):null},getResultsForWidget:function(e){return"recommend"!==e.dependsOn||(0,d.l)(e)||void 0===e.$$id?this.getResults():(null==I?void 0:I.lastRecommendResults)?I.lastRecommendResults[e.$$id]:null},getPreviousState:function(){return k},getScopedResults:function(){var e=this.getParent();return function e(t){return t.filter(d.l).reduce(function(t,r){return t.concat.apply(t,[{indexId:r.getIndexId(),results:r.getResults(),helper:r.getHelper()}].concat((0,l._)(e(r.getWidgets()))))},[])}(e?e.getWidgets():0===r.length?this.getWidgets():[this])},getParent:function(){return x?null:_},createURL:function(e){return"function"==typeof e?T._createURL((0,n._)({}
14,m,e(C))):T._createURL((0,n._)({},m,b(R,{searchParameters:e,helper:I})))},scheduleLocalSearch:(0,h.v)(function(){x&&(null==I||I.search())}),getWidgets:function(){return R},addWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(y("The `addWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.init&&"function"!=typeof e.render}))throw Error(y("The widget definition expects a `render` and/or an `init` method."));return r.forEach(function(e){(e.parent=t,!(0,d.l)(e))&&(T&&"recommend"===e.dependsOn?T._hasRecommendWidget=!0:T?T._hasSearchWidget=!0:"recommend"===e.dependsOn?D=!0:O=!0,"recommend"===e.dependsOn&&(e.$$id=c++))}),R=R.concat(r),T&&r.length&&(v(I,{state:w(R,{uiState:C,initialSearchParameters:I.state}),recommendState:E(R,{uiState:C,initialRecommendParameters:I.recommendState}),_uiState:C}),r.forEach(function(e){e.getRenderState&&S({renderState:e.getRenderState(T.renderState[t.getIndexId()]||{},(0,p.e)(T,t,T._initialUiState)),instantSearchInstance:T,parent:t})}),r.forEach(function(e){e.init&&e.init((0,p.e)(T,t,T._initialUiState))}),x?this.scheduleLocalSearch():T.scheduleSearch()),this},removeWidgets:function(e){var t=this;if(!Array.isArray(e))throw Error(y("The `removeWidgets` method expects an array of widgets."));var r=e.reduce(function(e,t){return e.concat(Array.isArray(t)?t:[t])},[]);if(r.some(function(e){return"function"!=typeof e.dispose}))throw Error(y("The widget definition expects a `dispose` method."));if((R=R.filter(function(e){return -1===r.indexOf(e)})).forEach(function(e){e.parent=void 0,(0,d.l)(e)||(T&&"recommend"===e.dependsOn?T._hasRecommendWidget=!0:T?T._hasSearchWidget=!0:"recommend"===e.dependsOn?D=!0:O=!0)}),T&&r.length){var n=r.reduce(function(e,r){var n=r.dispose({helper:I,state:e.cleanedSearchState,recommendState:e.cleanedRecommendState,parent:t});return(0,i._)(n,u.RecommendParameters)?e.cleanedRecommendState=n:n&&(e.cleanedSearchState=n),e},{cleanedSearchState:I.state,cleanedRecommendState:I.recommendState}),o=n.cleanedSearchState,a=n.cleanedRecommendState,s=T.future.preserveSharedStateOnUnmount?w(R,{uiState:C,initialSearchParameters:new u.SearchParameters({index:this.getIndexName()})}):w(R,{uiState:b(R,{searchParameters:o,helper:I}),initialSearchParameters:o});C=b(R,{searchParameters:s,helper:I}),I.setState(s),I.recommendState=a,R.length&&(x?this.scheduleLocalSearch():T.scheduleSearch())}return this},init:function(e){var t,n=this,i=e.instantSearchInstance,o=e.parent,a=e.uiState;if(null===I){T=i,_=o,C=a[m]||{};var s=i.mainHelper,c=w(R,{uiState:C,initialSearchParameters:new u.SearchParameters({index:r})}),h=E(R,{uiState:C,initialRecommendParameters:new u.RecommendParameters});(I=u(s.getClient(),c.index,c)).recommendState=h,I.search=function(){return x?(i.status="loading",n.render({instantSearchInstance:i}),i.compositionID?I.searchWithComposition():I.searchOnlyWithDerivedHelpers()):i.onStateChange?(i.onStateChange({uiState:i.mainIndex.getWidgetUiState({}),setUiState:function(e){return i.setUiState(e,!1)}}),s):s.search()},I.searchWithoutTriggeringOnStateChange=function(){return s.search()},I.searchForFacetValues=function(e,t,r,i){var o=g.p.apply(void 0,[s.state].concat((0,l._)(f(n)))).setQueryParameters(i);return s.searchForFacetValues(e,t,r,o)};var y=r?I:u({},"__empty_index__",{});A=(x?y:function(e,t){for(;e;){if(e._isolated)return e.getHelper();e=e.getParent()}return t}(o,s)).derive(function(){return g.p.apply(void 0,[s.state].concat((0,l._)(f(n))))},function(){return n.getHelper().recommendState});var P=null==(t=i._initialResults)?void 0:t[this.getIndexId()];if(null==P?void 0:P.results){var F=new u.SearchResults(new u.SearchParameters(P.state),P.results);A.lastResults=F,I.lastResults=F}if(null==P?void 0:P.recommendResults){var N=new u.RecommendResults(new u.RecommendParameters({params:P.recommendResults.params}),P.recommendResults.results);A.lastRecommendResults=N,I.lastRecommendResults=N}I.on("change",function(e){e.isPageReset&&function e(t){var r=t.filter(d.l);0!==r.length&&r.forEach(function(t){var r=t.getHelper();v(r,{state:r.state.resetPage(),recommendState:r.recommendState,isPageReset:!0}
14),e(t.getWidgets())})}(R)}),A.on("search",function(){i.scheduleStalledRender()}),A.on("result",function(e){var t=e.results;i.scheduleRender(),I.lastResults=t,k=null==t?void 0:t._state}),A.on("recommend:result",function(e){var t=e.recommend;i.scheduleRender(),I.lastRecommendResults=t.results}),R.forEach(function(e){e.getRenderState&&S({renderState:e.getRenderState(i.renderState[n.getIndexId()]||{},(0,p.e)(i,n,a)),instantSearchInstance:i,parent:n})}),R.forEach(function(e){e.init&&e.init((0,p.e)(i,n,a))}),I.on("change",function(e){var t=e.state,r=e._uiState;C=b(R,{searchParameters:t,helper:I},r||{}),i.onStateChange||i.onInternalStateChange()}),P&&i.scheduleRender(),D&&(i._hasRecommendWidget=!0),O&&(i._hasSearchWidget=!0)}},render:function(e){var t=this,n=e.instantSearchInstance;"error"===n.status&&!n.mainHelper.hasPendingRequests()&&k&&I.setState(k);var i=this.getResults()||(null==A?void 0:A.lastRecommendResults)||x&&!r?R:R.filter(function(e){return e.shouldRender});(i=i.filter(function(e){return!e.shouldRender||e.shouldRender({instantSearchInstance:n})})).forEach(function(e){e.getRenderState&&S({renderState:e.getRenderState(n.renderState[t.getIndexId()]||{},(0,p.A)(n,t,e)),instantSearchInstance:n,parent:t})}
14),i.forEach(function(e){e.render&&e.render((0,p.A)(n,t,e))})},dispose:function(){var e=this;R.forEach(function(t){t.dispose&&I&&t.dispose({helper:I,state:I.state,recommendState:I.recommendState,parent:e})}),T=null,_=null,null==I||I.removeAllListeners(),I=null,null==A||A.detach(),A=null},getWidgetUiState:function(e){return R.filter(d.l).filter(function(e){return!e._isolated}).reduce(function(e,t){return t.getWidgetUiState(e)},(0,a._)((0,o._)({},e),(0,n._)({},m,(0,o._)({},e[m],C))))},getWidgetState:function(e){return this.getWidgetUiState(e)},getWidgetSearchParameters:function(e,t){var r=t.uiState;return w(R,{uiState:r,initialSearchParameters:e})},shouldRender:function(){return!0},refreshUiState:function(){C=b(R,{searchParameters:this.getHelper().state,helper:this.getHelper()},C)},setIndexUiState:function(e){var t="function"==typeof e?e(C):e;T.setUiState(function(e){return(0,a._)((0,o._)({},e),(0,n._)({},m,t))})}}};function S(e){var t=e.renderState,r=e.instantSearchInstance,i=e.parent,s=i?i.getIndexId():r.mainIndex.getIndexId();r.renderState=(0,a._)((0,o._)({},r.renderState),(0,n._)({},s,(0,o._)({},r.renderState[s],t)))}},65225:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},65399:(e,t)=>{"use strict";t._=function(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}},65865:e=>{"use strict";e.exports=TypeError},65883:(e,t)=>{"use strict";var r,n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(n=r=t.ElementType||(t.ElementType={})).Root="root",n.Text="text",n.Directive="directive",n.Comment="comment",n.Script="script",n.Style="style",n.Tag="tag",n.CDATA="cdata",n.Doctype="doctype",t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},66113:(e,t,r)=>{"use strict";r.d(t,{X:()=>l});var n=r(29786),i=r(70977),o=r(34200),a=r(3696),s=r(14232);function l(e,t,r){let{validationBehavior:l,focus:u}=e;(0,a.N)(()=>{if("native"===l&&r?.current&&"setCustomValidity"in r.current&&!r.current.disabled){var e;let n,i=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";r.current.setCustomValidity(i),r.current.hasAttribute("title")||(r.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=r.current).validity.valid,validationDetails:{badInput:(n=e.validity).badInput,customError:n.customError,patternMismatch:n.patternMismatch,rangeOverflow:n.rangeOverflow,rangeUnderflow:n.rangeUnderflow,stepMismatch:n.stepMismatch,tooLong:n.tooLong,tooShort:n.tooShort,typeMismatch:n.typeMismatch,valueMissing:n.valueMissing,valid:n.valid},validationErrors:e.validationMessage?[e.validationMessage]:[]})}});let c=(0,s.useRef)(!1),d=(0,o.J)(()=>{c.current||t.resetValidation()}),h=(0,o.J)(e=>{t.displayValidation.isInvalid||t.commitValidation();let n=r?.current?.form;!e.defaultPrevented&&r&&n&&function(e){for(let t=0;t<e.elements.length;t++){let r=e.elements[t];if(r.validity?.valid===!1)return r}return null}(n)===r.current&&(u?u():r.current?.focus(),(0,i.Cl)("keyboard")),e.preventDefault()}),f=(0,o.J)(()=>{t.commitValidation()});(0,s.useEffect)(()=>{let e=r?.current;if(!e)return;let t=e.form,i=t?.reset;return t&&(t.reset=()=>{c.current=!window.event||"message"===window.event.type&&(0,n.wt)(window.event)instanceof MessagePort,i?.call(t),c.current=!1}),e.addEventListener("invalid",h),e.addEventListener("change",f),t?.addEventListener("reset",d),()=>{e.removeEventListener("invalid",h),e.removeEventListener("change",f),t?.removeEventListener("reset",d),t&&(t.reset=i)}},[r,l])}},66530:(e,t,r)=>{"use strict";var n=r(28419),i=r(65865),o=r(66958),a=r(34140);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(n,o,e)}},66532:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});class n extends Set{constructor(e,t,r){super(e),e instanceof n?(this.anchorKey=t??e.anchorKey,this.currentKey=r??e.currentKey):(this.anchorKey=t??null,this.currentKey=r??null)}}},66595:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=r(80909);function i(e,t){let r=e;for((0,n.o)(r,t)&&(r=r.parentElement);r&&!(0,n.o)(r,t);)r=r.parentElement;return r||document.scrollingElement||document.documentElement}},66614:(e,t)=>
14{"use strict";function r(e){return t._=r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}t._=r},66958:e=>{"use strict";e.exports=Function.prototype.call},67022:(e,t,r)=>{"use strict";r.d(t,{Q:()=>o});var n=r(81719);let i=new Map;function o(e){let{locale:t}=(0,n.Y)(),r=t+(e?Object.entries(e).sort((e,t)=>e[0]<t[0]?-1:1).join():"");if(i.has(r))return i.get(r);let o=new Intl.Collator(t,e);return i.set(r,o),o}},67027:(e,t,r)=>{"use strict";r.d(t,{H:()=>i,b:()=>n});let n=new WeakMap;function i(e,t){let r=n.get(e);if(!r)throw Error("Unknown list");return`${r.id}-option-${"string"==typeof t?t.replace(/\s*/g,""):""+t}`}},67096:(e,t,r)=>{"use strict";r.d(t,{l:()=>l});var n=r(48153),i=r(29786),o=r(70977),a=r(88001),s=r(74032);function l(e){if(!e.isConnected)return;let t=(0,a.TW)(e);if("virtual"===(0,o.ME)()){let r=(0,i.bq)(t);(0,s.v)(()=>{let o=(0,i.bq)(t);(o===r||o===t.body)&&e.isConnected&&(0,n.e)(e)})}else(0,n.e)(e)}},67121:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=o,t.hasOpenTag=function(e,t){var r="<"+t,n=e.toLowerCase().indexOf(r);if(-1===n)return!1;var i=e[n+r.length];return">"===i||" "===i||" "===i||"\n"===i||"\r"===i||"/"===i},t.escapeSpecialCharacters=function(e){return e.replace(i.CARRIAGE_RETURN_REGEX,i.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=a,t.formatDOM=function e(t,r,s){void 0===r&&(r=null);for(var l,u,c,d,h,f=[],p=0,m=t.length;p<m;p++){var g=t[p];switch(g.nodeType){case 1:var y=function(e){var t,r=(t=e=e.toLowerCase(),i.CASE_SENSITIVE_TAG_NAMES_MAP[t]);return r||e}(g.nodeName);(h=new n.Element(y,o(g.attributes))).children=e("template"===y?g.content.childNodes:g.childNodes,h);break;case 3:h=new n.Text(a(null!=(l=g.nodeValue)?l:""));break;case 8:h=new n.Comment(null!=(u=g.nodeValue)?u:"");break;default:continue}var v=null!=(c=f[p-1])?c:null;v&&(v.next=h),h.parent=r,h.prev=v,h.next=null,f.push(h)}return s&&((h=new n.ProcessingInstruction(s.substring(0,s.indexOf(" ")).toLowerCase(),s)).next=null!=(d=f[0])?d:null,h.parent=r,f.unshift(h),f[1]&&(f[1].prev=f[0])),f};var n=r(63219),i=r(86092);function o(e){for(var t={},r=0,n=e.length;r<n;r++){var i=e[r];t[i.name]=i.value}return t}function a(e){return e.replace(i.CARRIAGE_RETURN_PLACEHOLDER_REGEX,i.CARRIAGE_RETURN)}},67358:(e,t,r)=>{"use strict";var n=r(93149),i=r(16667),o=r(53115),a=r(23015);t._=function(e){return n._(e)||i._(e)||a._(e)||o._()}},68092:(e,t,r)=>{"use strict";r.d(t,{v:()=>s});var n=r(63311),i=r(95800),o=r(79494);let a=function(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=function e(t){var r,n,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(r=0;r<o;r++)t[r]&&(n=e(t[r]))&&(i&&(i+=" "),i+=n)}else for(n in t)t[n]&&(i&&(i+=" "),i+=n);return i}(e))&&(n&&(n+=" "),n+=t);return n};function s(...e){let t={...e[0]};for(let r=1;r<e.length;r++){let s=e[r];for(let e in s){let r=t[e],l=s[e];"function"==typeof r&&"function"==typeof l&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&90>=e.charCodeAt(2)?t[e]=(0,n.c)(r,l):("className"===e||"UNSAFE_className"===e)&&"string"==typeof r&&"string"==typeof l?t[e]=a(r,l):"id"===e&&r&&l?t.id=(0,i.Tw)(r,l):"ref"===e&&r&&l?t.ref=(0,o.P)(r,l):t[e]=void 0!==l?l:r}}return t}},68643:e=>{"use strict";e.exports=function(e,t){if(!Array.isArray(e))return -1;for(var r=0;r<e.length;r++)if(t(e[r]))return r;return -1}},68654:(e,t,r)=>{"use strict";r.d(t,{a3:()=>et,Wf:()=>ee});var n=r(55527),i=r(2572),o=r(30593),a=r(32629),s=r(14232);let l=(0,s.createContext)({});var u=r(54575),c=r(24773),d=r(22167),h=r(52747),f=r(25451),p=r(50442),m=r(67022),g=r(9982),y=r(92566),v=r(63311),b=r(41796),w=r(29786),E=r(67027),P=r(88001),S={};S={"ar-AE":{buttonLabel:"عرض اÙÙ
ÙØªØ±ØØ§Øª",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${t.number(e.optionCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})} \u{645}\u{62A}\u{627}\u{62D}\u{629}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{627}\u{644}\u{645}\u{62C}\u{645}\u{648}\u{639}\u{629} \u{627}\u{644}\u{645}\u{62F}\u{62E}\u{644}\u{629} ${e.groupTitle}, \u{645}\u{639} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}`,other:()=>`${t.number(e.groupCount)} \u{62E}\u{64A}\u{627}\u{631}\u{627}\u{62A}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", Ù
ØØ¯Ø¯",other:""},e.isSelected)}`,listboxLabel:"Ù
ÙØªØ±ØØ§Øª",selectedAnnouncement:e=>`${e.optionText}\u{60C} \u{645}\u{62D}\u{62F}\u{62F}`},"bg-BG":{buttonLabel:"Ðокажи пÑедложениÑ",countAnnouncement:(e,t)=>
14`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${t.number(e.optionCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})} \u{43D}\u{430} \u{440}\u{430}\u{437}\u{43F}\u{43E}\u{43B}\u{43E}\u{436}\u{435}\u{43D}\u{438}\u{435}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{44A}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{44F}`,other:()=>`${t.number(e.groupCount)} \u{43E}\u{43F}\u{446}\u{438}\u{438}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", избÑани",other:""},e.isSelected)}`,listboxLabel:"ÐÑедложениÑ",selectedAnnouncement:e=>`${e.optionText}, \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438}`},"cs-CZ":{buttonLabel:"Zobrazit doporuÄen\xed",countAnnouncement:(e,t)=>`K dispozici ${t.plural(e.optionCount,{one:()=>`je ${t.number(e.optionCount)} mo\u{17E}nost`,other:()=>`jsou/je ${t.number(e.optionCount)} mo\u{17E}nosti/-\xed`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina \u{201E}${e.groupTitle}\u{201C} ${t.plural(e.groupCount,{one:()=>`s ${t.number(e.groupCount)} mo\u{17E}nost\xed`,other:()=>`se ${t.number(e.groupCount)} mo\u{17E}nostmi`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:" (vybr\xe1no)",other:""},e.isSelected)}`,listboxLabel:"N\xe1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybr\xe1no`},"da-DK":{buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mulighed tilg\xe6ngelig`,other:()=>`${t.number(e.optionCount)} muligheder tilg\xe6ngelige`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Angivet gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mulighed`,other:()=>`${t.number(e.groupCount)} muligheder`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"de-DE":{buttonLabel:"Empfehlungen anzeigen",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} Option`,other:()=>`${t.number(e.optionCount)} Optionen`})} verf\xfcgbar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Eingetretene Gruppe ${e.groupTitle}, mit ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} Option`,other:()=>`${t.number(e.groupCount)} Optionen`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ausgew\xe4hlt",other:""},e.isSelected)}`,listboxLabel:"Empfehlungen",selectedAnnouncement:e=>`${e.optionText}, ausgew\xe4hlt`},"el-GR":{buttonLabel:"Î Ïοβολή ÏÏοÏάÏεÏν",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${t.number(e.optionCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2} `})} \u{3B4}\u{3B9}\u{3B1}\u{3B8}\u{3AD}\u{3C3}\u{3B9}\u{3BC}\u{3B5}\u{3C2}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{395}\u{3B9}\u{3C3}\u{3B1}\u{3B3}\u{3BC}\u{3AD}\u{3BD}\u{3B7} \u{3BF}\u{3BC}\u{3AC}\u{3B4}\u{3B1} ${e.groupTitle}, \u{3BC}\u{3B5} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AE}`,other:()=>`${t.number(e.groupCount)} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3BF}\u{3B3}\u{3AD}\u{3C2}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", εÏιλεγμÎνο",other:""},e.isSelected)}`,listboxLabel:"Î ÏοÏάÏειÏ",selectedAnnouncement:e=>`${e.optionText}, \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5}`},"en-US":{focusAnnouncement:(e,t)=>`${t.select({true:()=>`Entered group ${e.groupTitle}, with ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selected",other:""},e.isSelected)}`,countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} available.`,selectedAnnouncement:e=>`${e.optionText}, selected`,buttonLabel:"Show suggestions",listboxLabel:"Suggestions"},"es-ES":{buttonLabel:"Mostrar sugerencias",countAnnouncement:(e,t)=>
14`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opci\xf3n`,other:()=>`${t.number(e.optionCount)} opciones`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Se ha unido al grupo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opci\xf3n`,other:()=>`${t.number(e.groupCount)} opciones`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", seleccionado",other:""},e.isSelected)}`,listboxLabel:"Sugerencias",selectedAnnouncement:e=>`${e.optionText}, seleccionado`},"et-EE":{buttonLabel:"Kuva soovitused",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} valik`,other:()=>`${t.number(e.optionCount)} valikud`})} saadaval.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Sisestatud r\xfchm ${e.groupTitle}, valikuga ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} valik`,other:()=>`${t.number(e.groupCount)} valikud`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valitud",other:""},e.isSelected)}`,listboxLabel:"Soovitused",selectedAnnouncement:e=>`${e.optionText}, valitud`},"fi-FI":{buttonLabel:"N\xe4yt\xe4 ehdotukset",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} vaihtoehto`,other:()=>`${t.number(e.optionCount)} vaihtoehdot`})} saatavilla.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Mentiin ryhm\xe4\xe4n ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} vaihtoehdon`,other:()=>`${t.number(e.groupCount)} vaihtoehdon`})} kanssa.`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valittu",other:""},e.isSelected)}`,listboxLabel:"Ehdotukset",selectedAnnouncement:e=>`${e.optionText}, valittu`},"fr-FR":{buttonLabel:"Afficher les suggestions",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} option`,other:()=>`${t.number(e.optionCount)} options`})} disponible(s).`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groupe ${e.groupTitle} rejoint, avec ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} option`,other:()=>`${t.number(e.groupCount)} options`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", s\xe9lectionn\xe9(s)",other:""},e.isSelected)}`,listboxLabel:"Suggestions",selectedAnnouncement:e=>`${e.optionText}, s\xe9lectionn\xe9`},"he-IL":{buttonLabel:"××¦× ×צע×ת",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${t.number(e.optionCount)}`,other:()=>`${t.number(e.optionCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})} \u{5D1}\u{5DE}\u{5E6}\u{5D1} \u{5D6}\u{5DE}\u{5D9}\u{5DF}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{5E0}\u{5DB}\u{5E0}\u{5E1} \u{5DC}\u{5E7}\u{5D1}\u{5D5}\u{5E6}\u{5D4} ${e.groupTitle}, \u{5E2}\u{5DD} ${t.plural(e.groupCount,{one:()=>`\u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5EA} ${t.number(e.groupCount)}`,other:()=>`${t.number(e.groupCount)} \u{5D0}\u{5E4}\u{5E9}\u{5E8}\u{5D5}\u{5D9}\u{5D5}\u{5EA}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", × ××ר",other:""},e.isSelected)}`,listboxLabel:"×צע×ת",selectedAnnouncement:e=>`${e.optionText}, \u{5E0}\u{5D1}\u{5D7}\u{5E8}`},"hr-HR":{buttonLabel:"Prikaži prijedloge",countAnnouncement:(e,t)=>`Dostupno jo\u{161}: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} opcije/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", odabranih",other:""},e.isSelected)}`,listboxLabel:"Prijedlozi",selectedAnnouncement:e=>`${e.optionText}, odabrano`},"hu-HU":{buttonLabel:"Javaslatok megjelen\xedt\xe9se",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} lehet\u{151}s\xe9g`,other:()=>`${t.number(e.optionCount)} lehet\u{151}s\xe9g`})} \xe1ll rendelkez\xe9sre.`,focusAnnouncement:(e,t)=>
14`${t.select({true:()=>`Bel\xe9pett a(z) ${e.groupTitle} csoportba, amely ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} lehet\u{151}s\xe9get`,other:()=>`${t.number(e.groupCount)} lehet\u{151}s\xe9get`})} tartalmaz. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", kijel\xf6lve",other:""},e.isSelected)}`,listboxLabel:"Javaslatok",selectedAnnouncement:e=>`${e.optionText}, kijel\xf6lve`},"it-IT":{buttonLabel:"Mostra suggerimenti",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opzione disponibile`,other:()=>`${t.number(e.optionCount)} opzioni disponibili`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingresso nel gruppo ${e.groupTitle}, con ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opzione`,other:()=>`${t.number(e.groupCount)} opzioni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selezionato",other:""},e.isSelected)}`,listboxLabel:"Suggerimenti",selectedAnnouncement:e=>`${e.optionText}, selezionato`},"ja-JP":{buttonLabel:"åè£ã表示",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${t.number(e.optionCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{5229}\u{7528}\u{3067}\u{304D}\u{307E}\u{3059}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{5165}\u{529B}\u{3055}\u{308C}\u{305F}\u{30B0}\u{30EB}\u{30FC}\u{30D7} ${e.groupTitle}\u{3001}${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`,other:()=>`${t.number(e.groupCount)} \u{500B}\u{306E}\u{30AA}\u{30D7}\u{30B7}\u{30E7}\u{30F3}`})}\u{3092}\u{542B}\u{3080}\u{3002}`,other:""},e.isGroupChange)}${e.optionText}${t.select({true:"ã鏿æ¸ã¿",other:""},e.isSelected)}`,listboxLabel:"åè£",selectedAnnouncement:e=>`${e.optionText}\u{3001}\u{9078}\u{629E}\u{6E08}\u{307F}`},"ko-KR":{buttonLabel:"ì ì ì¬í íì",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${t.number(e.optionCount)}\u{AC1C} \u{C635}\u{C158}`})}\u{C744} \u{C0AC}\u{C6A9}\u{D560} \u{C218} \u{C788}\u{C2B5}\u{B2C8}\u{B2E4}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{C785}\u{B825}\u{D55C} \u{ADF8}\u{B8F9} ${e.groupTitle}, ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`,other:()=>`${t.number(e.groupCount)}\u{AC1C} \u{C635}\u{C158}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", ì íë¨",other:""},e.isSelected)}`,listboxLabel:"ì ì",selectedAnnouncement:e=>`${e.optionText}, \u{C120}\u{D0DD}\u{B428}`},"lt-LT":{buttonLabel:"Rodyti pasiÅ«lymus",countAnnouncement:(e,t)=>`Yra ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} parinktis`,other:()=>`${t.number(e.optionCount)} parinktys (-i\u{173})`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{12E}vesta grup\u{117} ${e.groupTitle}, su ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} parinktimi`,other:()=>`${t.number(e.groupCount)} parinktimis (-i\u{173})`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", pasirinkta",other:""},e.isSelected)}`,listboxLabel:"PasiÅ«lymai",selectedAnnouncement:e=>`${e.optionText}, pasirinkta`},"lv-LV":{buttonLabel:"RÄdÄ«t ieteikumus",countAnnouncement:(e,t)=>`Pieejamo opciju skaits: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcijas`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ievad\u{12B}ta grupa ${e.groupTitle}, ar ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opciju`,other:()=>`${t.number(e.groupCount)} opcij\u{101}m`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", atlasÄ«ta",other:""},e.isSelected)}`,listboxLabel:"Ieteikumi",selectedAnnouncement:e=>`${e.optionText}, atlas\u{12B}ta`},"nb-NO":{buttonLabel:"Vis forslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativer`})} finnes.`,focusAnnouncement:(e,t)=>
14`${t.select({true:()=>`Angitt gruppe ${e.groupTitle}, med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativer`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valgt",other:""},e.isSelected)}`,listboxLabel:"Forslag",selectedAnnouncement:e=>`${e.optionText}, valgt`},"nl-NL":{buttonLabel:"Suggesties weergeven",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} optie`,other:()=>`${t.number(e.optionCount)} opties`})} beschikbaar.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Groep ${e.groupTitle} ingevoerd met ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} optie`,other:()=>`${t.number(e.groupCount)} opties`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", geselecteerd",other:""},e.isSelected)}`,listboxLabel:"Suggesties",selectedAnnouncement:e=>`${e.optionText}, geselecteerd`},"pl-PL":{buttonLabel:"WyÅwietlaj sugestie",countAnnouncement:(e,t)=>`dost\u{119}pna/dost\u{119}pne(-nych) ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcja`,other:()=>`${t.number(e.optionCount)} opcje(-i)`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Do\u{142}\u{105}czono do grupy ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcj\u{105}`,other:()=>`${t.number(e.groupCount)} opcjami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", wybrano",other:""},e.isSelected)}`,listboxLabel:"Sugestie",selectedAnnouncement:e=>`${e.optionText}, wybrano`},"pt-BR":{buttonLabel:"Mostrar sugest\xf5es",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo inserido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xf5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"pt-PT":{buttonLabel:"Apresentar sugest\xf5es",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\xe7\xe3o`,other:()=>`${t.number(e.optionCount)} op\xe7\xf5es`})} dispon\xedvel.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grupo introduzido ${e.groupTitle}, com ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\xe7\xe3o`,other:()=>`${t.number(e.groupCount)} op\xe7\xf5es`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selecionado",other:""},e.isSelected)}`,listboxLabel:"Sugest\xf5es",selectedAnnouncement:e=>`${e.optionText}, selecionado`},"ro-RO":{buttonLabel:"AfiÈare sugestii",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} op\u{21B}iune`,other:()=>`${t.number(e.optionCount)} op\u{21B}iuni`})} disponibile.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Grup ${e.groupTitle} introdus, cu ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} op\u{21B}iune`,other:()=>`${t.number(e.groupCount)} op\u{21B}iuni`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", selectat",other:""},e.isSelected)}`,listboxLabel:"Sugestii",selectedAnnouncement:e=>`${e.optionText}, selectat`},"ru-RU":{buttonLabel:"ÐоказаÑÑ Ð¿ÑедложениÑ",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{432}`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{43D}\u{430}\u{44F} \u{433}\u{440}\u{443}\u{43F}\u{43F}\u{430} ${e.groupTitle}, \u{441} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{43E}\u{43C}`,other:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{430}\u{43C}\u{438}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вÑбÑаннÑми",other:""},e.isSelected)}`,listboxLabel:"ÐÑедложениÑ",selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`},"sk-SK":{buttonLabel:"ZobraziÅ¥ n\xe1vrhy",countAnnouncement:(e,t)=>
14`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} mo\u{17E}nos\u{165}`,other:()=>`${t.number(e.optionCount)} mo\u{17E}nosti/-\xed`})} k dispoz\xedcii.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Zadan\xe1 skupina ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} mo\u{17E}nos\u{165}ou`,other:()=>`${t.number(e.groupCount)} mo\u{17E}nos\u{165}ami`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", vybrat\xe9",other:""},e.isSelected)}`,listboxLabel:"N\xe1vrhy",selectedAnnouncement:e=>`${e.optionText}, vybrat\xe9`},"sl-SI":{buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Na voljo je ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Vnesena skupina ${e.groupTitle}, z ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcija`,other:()=>`${t.number(e.groupCount)} opcije`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izbrano",other:""},e.isSelected)}`,listboxLabel:"Predlogi",selectedAnnouncement:e=>`${e.optionText}, izbrano`},"sr-SP":{buttonLabel:"Prikaži predloge",countAnnouncement:(e,t)=>`Dostupno jo\u{161}: ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} opcija`,other:()=>`${t.number(e.optionCount)} opcije/a`})}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Unesena grupa ${e.groupTitle}, s ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} opcijom`,other:()=>`${t.number(e.groupCount)} optione/a`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", izabranih",other:""},e.isSelected)}`,listboxLabel:"Predlozi",selectedAnnouncement:e=>`${e.optionText}, izabrano`},"sv-SE":{buttonLabel:"Visa f\xf6rslag",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} alternativ`,other:()=>`${t.number(e.optionCount)} alternativ`})} tillg\xe4ngliga.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Ingick i gruppen ${e.groupTitle} med ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} alternativ`,other:()=>`${t.number(e.groupCount)} alternativ`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", valda",other:""},e.isSelected)}`,listboxLabel:"F\xf6rslag",selectedAnnouncement:e=>`${e.optionText}, valda`},"tr-TR":{buttonLabel:"\xd6nerileri g\xf6ster",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} se\xe7enek`,other:()=>`${t.number(e.optionCount)} se\xe7enekler`})} kullan\u{131}labilir.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`Girilen grup ${e.groupTitle}, ile ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} se\xe7enek`,other:()=>`${t.number(e.groupCount)} se\xe7enekler`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", se\xe7ildi",other:""},e.isSelected)}`,listboxLabel:"\xd6neriler",selectedAnnouncement:e=>`${e.optionText}, se\xe7ildi`},"uk-UA":{buttonLabel:"ÐоказаÑи пÑопозиÑÑÑ",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.optionCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})} \u{434}\u{43E}\u{441}\u{442}\u{443}\u{43F}\u{43D}\u{43E}.`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{412}\u{432}\u{435}\u{434}\u{435}\u{43D}\u{430} \u{433}\u{440}\u{443}\u{43F}\u{430} ${e.groupTitle}, \u{437} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}`,other:()=>`${t.number(e.groupCount)} \u{43F}\u{430}\u{440}\u{430}\u{43C}\u{435}\u{442}\u{440}\u{438}(-\u{456}\u{432})`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", вибÑано",other:""},e.isSelected)}`,listboxLabel:"ÐÑопозиÑÑÑ",selectedAnnouncement:e=>`${e.optionText}, \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`},"zh-CN":{buttonLabel:"æ¾ç¤ºå»ºè®®",countAnnouncement:(e,t)=>`\u{6709} ${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${t.number(e.optionCount)} \u{4E2A}\u{9009}\u{9879}`})}\u{53EF}\u{7528}\u{3002}
14`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{8FDB}\u{5165}\u{4E86} ${e.groupTitle} \u{7EC4}\u{FF0C}\u{5176}\u{4E2D}\u{6709} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`,other:()=>`${t.number(e.groupCount)} \u{4E2A}\u{9009}\u{9879}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", 已鿩",other:""},e.isSelected)}`,listboxLabel:"建议",selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9009}\u{62E9}`},"zh-TW":{buttonLabel:"顯示建è°",countAnnouncement:(e,t)=>`${t.plural(e.optionCount,{one:()=>`${t.number(e.optionCount)} \u{9078}\u{9805}`,other:()=>`${t.number(e.optionCount)} \u{9078}\u{9805}`})} \u{53EF}\u{7528}\u{3002}`,focusAnnouncement:(e,t)=>`${t.select({true:()=>`\u{8F38}\u{5165}\u{7684}\u{7FA4}\u{7D44} ${e.groupTitle}, \u{6709} ${t.plural(e.groupCount,{one:()=>`${t.number(e.groupCount)} \u{9078}\u{9805}`,other:()=>`${t.number(e.groupCount)} \u{9078}\u{9805}`})}. `,other:""},e.isGroupChange)}${e.optionText}${t.select({true:", å·²é¸å",other:""},e.isSelected)}`,listboxLabel:"建è°",selectedAnnouncement:e=>`${e.optionText}, \u{5DF2}\u{9078}\u{53D6}`}};var x=r(84947),R=r(20607),C=r(68092),T=r(32929),_=r(47482),I=r(95800),A=r(3324),k=r(70026),D=r(48153),O={};O={"ar-AE":{longPressMessage:"اضغط Ù
Ø·ÙÙØ§Ù أ٠اضغط عÙÙ Alt + Ø§ÙØ³ÙÙ
ÙØ£Ø³ÙÙ ÙÙØªØ اÙÙØ§Ø¦Ù
Ø©"},"bg-BG":{longPressMessage:"ÐаÑиÑнеÑе пÑодÑлжиÑелно или наÑиÑнеÑе Alt+ ÑÑÑелка надолÑ, за да оÑвоÑиÑе менÑÑо"},"cs-CZ":{longPressMessage:"Dlouh\xfdm stiskem nebo stisknut\xedm kl\xe1ves Alt + Å¡ipka dolů otevÅete nab\xeddku"},"da-DK":{longPressMessage:"Langt tryk eller tryk p\xe5 Alt + pil ned for at \xe5bne menuen"},"de-DE":{longPressMessage:"Dr\xfccken Sie lange oder dr\xfccken Sie Alt + Nach-unten, um das Men\xfc zu \xf6ffnen"},"el-GR":{longPressMessage:"ΠιÎÏÏε ÏαÏαÏεÏαμÎνα ή ÏαÏήÏÏε Alt + κάÏÏ Î²ÎÎ»Î¿Ï Î³Î¹Î± να ανοίξεÏε Ïο μενοÏ"},"en-US":{longPressMessage:"Long press or press Alt + ArrowDown to open menu"},"es-ES":{longPressMessage:"Mantenga pulsado o pulse Alt + flecha abajo para abrir el men\xfa"},"et-EE":{longPressMessage:"Men\xfc\xfc avamiseks vajutage pikalt v\xf5i vajutage klahve Alt + allanool"},"fi-FI":{longPressMessage:"Avaa valikko painamalla pohjassa tai n\xe4pp\xe4inyhdistelm\xe4ll\xe4 Alt + Alanuoli"},"fr-FR":{longPressMessage:"Appuyez de mani\xe8re prolong\xe9e ou appuyez sur Alt\xa0+\xa0Fl\xe8che vers le bas pour ouvrir le menu."},"he-IL":{longPressMessage:"×××¥ ××××¦× ×ר××× ×× ×קש Alt + ArrowDown ××× ×פת×× ×ת ×תפר××"},"hr-HR":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika"},"hu-HU":{longPressMessage:"Nyomja meg hosszan, vagy nyomja meg az Alt + lefele ny\xedl gombot a men\xfc megnyit\xe1s\xe1hoz"},"it-IT":{longPressMessage:"Premi a lungo o premi Alt + Freccia gi\xf9 per aprire il menu"},"ja-JP":{longPressMessage:"é·æ¼ãã¾ã㯠Alt+ä¸ç¢å°ãã¼ã§ã¡ãã¥ã¼ãéã"},"ko-KR":{longPressMessage:"ê¸¸ê² ë르거ë Alt + ìë쪽 íì´í를 ëë¬ ë©ë´ ì´ê¸°"},"lt-LT":{longPressMessage:"NorÄdami atidaryti meniu, nuspaudÄ palaikykite arba paspauskite âAlt + ArrowDownâ."},"lv-LV":{longPressMessage:"Lai atvÄrtu izvÄlni, turiet nospiestu vai nospiediet taustiÅu kombinÄciju Alt + lejupvÄrstÄ bultiÅa"},"nb-NO":{longPressMessage:"Langt trykk eller trykk Alt + PilNed for \xe5 \xe5pne menyen"},"nl-NL":{longPressMessage:"Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen"},"pl-PL":{longPressMessage:"NaciÅnij i przytrzymaj lub naciÅnij klawisze Alt + StrzaÅka w d\xf3Å, aby otworzyÄ menu"},"pt-BR":{longPressMessage:"Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu"},"pt-PT":{longPressMessage:"Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu"},"ro-RO":{longPressMessage:"ApÄsaÈi lung sau apÄsaÈi pe Alt + sÄgeatÄ \xeen jos pentru a deschide meniul"},"ru-RU":{longPressMessage:"ÐажмиÑе и ÑдеÑживайÑе или нажмиÑе Alt + СÑÑелка вниз, ÑÑÐ¾Ð±Ñ Ð¾ÑкÑÑÑÑ Ð¼ÐµÐ½Ñ"},"sk-SK":{longPressMessage:"Ponuku otvor\xedte dlh\xfdm stlaÄen\xedm alebo stlaÄen\xedm kl\xe1vesu Alt + kl\xe1vesu so Å¡\xedpkou nadol"},"sl-SI":{longPressMessage:"Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puÅ¡Äica navzdol"},"sr-SP":{longPressMessage:"Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni"},"sv-SE":{longPressMessage:"H\xe5ll nedtryckt eller tryck p\xe5 Alt + pil ned\xe5t f\xf6r att \xf6ppna menyn"},"tr-TR":{longPressMessage:"Men\xfcy\xfc a\xe7mak i\xe7in uzun basın veya Alt + AÅaÄı Ok tuÅuna basın"},"uk-UA":{longPressMessage:"Ðовго або звиÑайно наÑиÑнÑÑÑ ÐºÐ¾Ð¼Ð±ÑнаÑÑÑ ÐºÐ»Ð°Ð²ÑÑ Alt Ñ ÑÑÑÑлка вниз, Ñоб вÑдкÑиÑи менÑ"},"zh-CN":{longPressMessage:"é¿æææ Alt + å䏿¹åé®ä»¥æå¼èå"},"zh-TW":{longPressMessage:"é·æææ Alt+åä¸éµä»¥éååè½è¡¨"}};var F=r(93622),N=r(30239),q=r(87802),j=r(82554),L=r(50302),M=r(25940),K=r(63591),$=r(66113),U=r(97213),B=r(23953),H=r(34200),W=r(22602),V=r(59161),z=r(18570),G=r(69274),Q=r(12859);function J(e,t,r){return null==e&&null!=t?r.getItem(t)?.textValue??"":e}var X=r(68762),Y=r(54047);let Z=(0,s.createContext)(null),ee=(0,s.createContext)(null),et=(0,s.forwardRef)(function(e,t){[e,t]=(0,i.JT)(e,t,Z);let{children:r,isDisabled:n=!1,isInvalid:o=!1,isRequired:a=!1}=e,l=(0,s.useMemo)(()=>{var t;return s.createElement(d.JC.Provider,{value:{items:null!=(t=e.items)?t:e.defaultItems}},"function"==typeof r?r({isOpen:!1,isDisabled:n,isInvalid:o,isRequired:a,defaultChildren:null}):r)},[r,n,o,a,e.items,e.defaultItems]);return s.createElement(X.GQ,{content:l},r=>s.createElement(en,{props:e,collection:r,comboBoxRef:t}))}),er=[c.I,n.k,u.E,l,p.h];function en({props:e,collection:t,comboBoxRef:r}){var X,Z,et,ei;let eo,ea,es,el,{name:eu,formValue:ec="key",allowsCustomValue:ed}=e;ed&&(ec="text");let{validationBehavior:eh}=(0,i.CC)(a.c)||{},ef=null!=(Z=null!=(X=e.validationBehavior)?X:eh)?Z:"native",{contains:ep}=(ei={sensitivity:"base"},eo=(0,m.Q)({usage:"search",...ei}),ea=(0,s.useCallback)((e,t)=>0===t.length||(e=e.normalize("NFC"),t=t.normalize("NFC"),0===eo.compare(e.slice(0,t.length),t)),[eo]),es=(0,s.useCallback)((e,t)=>0===t.length||(e=e.normalize("NFC"),t=t.normalize("NFC"),0===eo.compare(e.slice(-t.length),t)),[eo]),el=(0,s.useCallback)((e,t)=>{if(0===t.length)return!0;e=e.normalize("NFC");let r=0,n=(t=t.normalize("NFC")).length;for(;r+n<=e.length;r++){let i=e.slice(r,r+n);if(0===eo.compare(t,i))return!0}return!1},[eo]),(0,s.useMemo)(()=>({startsWith:ea,endsWith:es,contains:el}),[ea,es,el])),em=function(e){let{defaultFilter:t,menuTrigger:r="input",allowsEmptyCollection:n=!1,allowsCustomValue:i,shouldCloseOnBlur:o=!0,selectionMode:a="single"}
14=e,[l,u]=(0,s.useState)(!1),[c,d]=(0,s.useState)(!1),[h,f]=(0,s.useState)(null),p=(0,s.useMemo)(()=>void 0!==e.defaultValue?e.defaultValue:"single"===a?e.defaultSelectedKey??null:[],[e.defaultValue,e.defaultSelectedKey,a]),m=(0,s.useMemo)(()=>void 0!==e.value?e.value:"single"===a?e.selectedKey:void 0,[e.value,e.selectedKey,a]),[g,y]=(0,U.P)(m,p,e.onChange),v="single"===a&&Array.isArray(g)?g[0]:g,b=t=>{if("single"===a){let r=Array.isArray(t)?t[0]??null:t;y(r),r!==v&&e.onSelectionChange?.(r)}else{let e=[];Array.isArray(t)?e=t:null!=t&&(e=[t]),y(e)}},{collection:w,selectionManager:E,disabledKeys:P}=(0,G.p)({...e,items:e.items??e.defaultItems,selectionMode:a,disallowEmptySelection:"single"===a,allowDuplicateSelectionEvents:!0,selectedKeys:(0,s.useMemo)(()=>(function(e){if(void 0!==e)return null===e?[]:Array.isArray(e)?e:[e]})(v),[v]),onSelectionChange:t=>{if("all"!==t)if("single"===a){let r=t.values().next().value??null;r===v?(e.onSelectionChange?.(r),K(),j()):b(r)}else b([...t])}}),S="single"===a?E.firstSelectedKey:null,x=(0,s.useMemo)(()=>[...E.selectedKeys].map(e=>w.getItem(e)).filter(e=>null!=e),[E.selectedKeys,w]),[R,C]=(0,U.P)(e.inputValue,J(e.defaultInputValue,S,w)||"",e.onInputChange),[T]=(0,s.useState)(v),[_]=(0,s.useState)(R),I=(0,s.useMemo)(()=>{var r,n,i;return null==e.items&&t?(r=w,n=R,i=t,new(0,z.J)(function e(t,r,n,i){let o=[];for(let a of r)if("section"===a.type&&a.hasChildNodes){let r=e(t,(0,W.iQ)(a,t),n,i);[...r].some(e=>"item"===e.type)&&o.push({...a,childNodes:r})}else"item"===a.type&&i(a.textValue,n)?o.push({...a}):"item"!==a.type&&o.push({...a});return o}(r,r,n,i))):w},[w,R,t,e.items]),[A,k]=(0,s.useState)(I),D=(0,s.useRef)("focus"),O=(0,Q.T)({...e,onOpenChange:t=>{e.onOpenChange&&e.onOpenChange(t,t?D.current:void 0),E.setFocused(t),t||E.setFocusedKey(null)},isOpen:void 0,defaultOpen:void 0}),F=(t=null,i)=>{let o="manual"===i||"focus"===i&&"focus"===r;(n||I.size>0||o&&w.size>0||e.items)&&(o&&!O.isOpen&&void 0===e.items&&u(!0),D.current=i,f(t),O.open())},N=(0,s.useCallback)(()=>{k(l?w:I)},[l,w,I]),q=(0,s.useCallback)((e=null)=>{O.isOpen&&N(),f(e),O.toggle()},[O,N]),j=(0,s.useCallback)(()=>{O.isOpen&&(N(),O.close())},[O,N]),[L,M]=(0,s.useState)(R),K=()=>{let e=null!=S?w.getItem(S)?.textValue??"":"";M(e),C(e)},$=(0,s.useRef)(v),H=(0,s.useRef)(null!=S?w.getItem(S)?.textValue??"":"");(0,s.useEffect)(()=>{c&&(I.size>0||n)&&!O.isOpen&&R!==L&&"manual"!==r&&F(null,"input"),l||n||!O.isOpen||0!==I.size||j(),null!=v&&v!==$.current&&"single"===a&&j(),R!==L&&(E.setFocusedKey(null),u(!1),"single"===a&&""===R&&(void 0===e.inputValue||void 0===m)&&b(null)),v!==$.current&&(void 0===e.inputValue||void 0===m)?K():L!==R&&M(R);let t=null!=S?w.getItem(S)?.textValue??"":"";c||null==S||void 0!==e.inputValue||S!==$.current||H.current===t||(M(t),C(t)),$.current=v,H.current=t});let V=(0,B.KZ)({...e,value:(0,s.useMemo)(()=>Array.isArray(v)&&0===v.length?null:{inputValue:R,value:v,selectedKey:S},[R,S,v])}),X=()=>{if("multiple"===a){M(R),j();return}$.current=null,b(null),j()},Y=(t=!1)=>{if(void 0!==m&&void 0!==e.inputValue){let r=null!=S?w.getItem(S)?.textValue??"":"";(t||"multiple"===a||R!==r)&&(e.onSelectionChange?.(S),e.onChange?.(v)),M(r),j()}else K(),j()},Z=()=>{i?R===(null!=S?w.getItem(S)?.textValue??"":"")?Y():X():Y()},ee=(0,s.useRef)([R,v]),et=(0,s.useMemo)(()=>O.isOpen?l?w:I:A,[O.isOpen,w,I,l,A]),er=e.defaultSelectedKey??("single"===a?T:null);return{...V,...O,focusStrategy:h,toggle:(t=null,i)=>{let o="manual"===i||"focus"===i&&"focus"===r;(n||I.size>0||o&&w.size>0||e.items||O.isOpen)&&(o&&!O.isOpen&&void 0===e.items&&u(!0),O.isOpen||(D.current=i),q(t))},open:F,close:Z,selectionManager:E,value:v,defaultValue:p??T,setValue:b,selectedKey:S,selectedItems:x,defaultSelectedKey:er,setSelectedKey:b,disabledKeys:P,isFocused:c,setFocused:t=>{t?(ee.current=[R,v],"focus"!==r||e.isReadOnly||F(null,"focus")):(o&&Z(),(R!==ee.current[0]||v!==ee.current[1])&&V.commitValidation()),d(t)},selectedItem:x[0]??null,collection:et,inputValue:R,defaultInputValue:J(e.defaultInputValue,er,w)??_,setInputValue:C,commit:()=>{O.isOpen&&null!=E.focusedKey?E.isSelected(E.focusedKey)&&"single"===a?Y(!0):E.select(E.focusedKey):Z()},revert:()=>{i&&null==S?X():Y()}}}({...e,defaultFilter:e.defaultFilter||ep,items:e.items,children:void 0,collection:t,validationBehavior:ef}),eg=(0,s.useRef)(null),ey=(0,s.useRef)(null),ev=(0,s.useRef)(null),eb=(0,s.useRef)(null),[ew,eE]=(0,i._E)(!e["aria-label"]&&!e["aria-labelledby"]),{buttonProps:eP,inputProps:eS,listBoxProps:ex,labelProps:eR,descriptionProps:eC,errorMessageProps:eT,...e_}=function(e,t){var r,n,i;let o,a,l,{buttonRef:u,popoverRef:c,inputRef:d,listBoxRef:h,keyboardDelegate:f,layoutDelegate:p,shouldFocusWrap:m,isReadOnly:z,isDisabled:G}=e,Q=(0,s.useRef)(null);u=u??Q;let J=(0,k.o)((r=S)&&r.__esModule?r.default:r,"@react-aria/combobox"),{menuTriggerProps:X,menuProps:Y}=function(e,t,r){var n;let{type:i="menu",isDisabled:o,trigger:a="press"}=e,s=(0,I.Bi)(),{triggerProps:l,overlayProps:u}=(0,N.o)({type:i},t,r),c=(0,k.o)((n=O)&&n.__esModule?n.default:n,"@react-aria/menu"),{longPressProps:d}=(0,F.H)({isDisabled:o||"longPress"!==a,accessibilityDescription:c.format("longPressMessage"),onLongPressStart(){t.close()},onLongPress(){t.open("first")}});return delete l.onPress,{menuTriggerProps:{...l,..."press"===a?{preventFocusOnPress:!0,onPressStart(e){"touch"===e.pointerType||"ke
14yboard"===e.pointerType||o||((0,D.e)(e.target),t.open("virtual"===e.pointerType?"first":null))},onPress(e){"touch"!==e.pointerType||o||((0,D.e)(e.target),t.toggle())}}:d,id:s,onKeyDown:e=>{if(!o&&("longPress"!==a||e.altKey)&&r&&r.current)switch(e.key){case"Enter":case" ":if("longPress"===a||e.isDefaultPrevented())return;case"ArrowDown":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("first");break;case"ArrowUp":"continuePropagation"in e||e.stopPropagation(),e.preventDefault(),t.toggle("last");break;default:"continuePropagation"in e&&e.continuePropagation()}}},menuProps:{...u,"aria-labelledby":s,autoFocus:t.focusStrategy||!0,onClose:t.close}}}({type:"listbox",isDisabled:G||z},t,u);E.b.set(t,{id:Y.id});let{collection:Z}=t,{disabledKeys:ee}=t.selectionManager,et=(0,s.useMemo)(()=>f||new(0,R.n)({collection:Z,disabledKeys:ee,ref:h,layoutDelegate:p}),[f,p,Z,ee,h]),{collectionProps:er}=(0,j.y)({selectionManager:t.selectionManager,keyboardDelegate:et,disallowTypeAhead:!0,disallowEmptySelection:!0,shouldFocusWrap:m,ref:d,isVirtualized:!0}),en=(0,q.rd)(),ei=function(e=[]){let t=(0,I.Bi)(),[r,n]=(0,s.useState)(!0),[i,o]=(0,s.useState)(e);return i.some((t,r)=>!Object.is(t,e[r]))&&(n(!0),o(e)),(0,s.useEffect)(()=>{r&&!document.getElementById(t)&&n(!1)},[t,r,i]),r?t:void 0}([t.selectionManager.selectedKeys,t.selectionManager.selectionMode]),{isInvalid:eo,validationErrors:ea,validationDetails:es}=t.displayValidation,{labelProps:el,inputProps:eu,descriptionProps:ec,errorMessageProps:ed}=function(e,t){let{inputElementType:r="input",isDisabled:n=!1,isRequired:i=!1,isReadOnly:o=!1,type:a="text",validationBehavior:l="aria"}=e,[u,c]=(0,U.P)(e.value,e.defaultValue||"",e.onChange),{focusableProps:d}=(0,K.Wc)(e,t),h=(0,B.KZ)({...e,value:u}),{isInvalid:f,validationErrors:p,validationDetails:m}=h.displayValidation,{labelProps:g,fieldProps:y,descriptionProps:v,errorMessageProps:b}=function(e){let{description:t,errorMessage:r,isInvalid:n,validationState:i}=e,{labelProps:o,fieldProps:a}=(0,M.M)(e),s=(0,I.X1)([!!t,!!r,n,i]),l=(0,I.X1)([!!t,!!r,n,i]);return{labelProps:o,fieldProps:a=(0,C.v)(a,{"aria-describedby":[s,l,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),descriptionProps:{id:s},errorMessageProps:{id:l}}}({...e,isInvalid:f,errorMessage:e.errorMessage||p}),E=(0,L.$)(e,{labelable:!0}),P={type:a,pattern:e.pattern},[S]=(0,s.useState)(u);return(0,_.F)(t,e.defaultValue??S,c),(0,$.X)(e,h,t),{labelProps:g,inputProps:(0,C.v)(E,"input"===r?P:void 0,{disabled:n,readOnly:o,required:i&&"native"===l,"aria-required":i&&"aria"===l||void 0,"aria-invalid":f||void 0,"aria-errormessage":e["aria-errormessage"],"aria-activedescendant":e["aria-activedescendant"],"aria-autocomplete":e["aria-autocomplete"],"aria-haspopup":e["aria-haspopup"],"aria-controls":e["aria-controls"],value:u,onChange:e=>c((0,w.wt)(e).value),autoComplete:e.autoComplete,autoCapitalize:e.autoCapitalize,maxLength:e.maxLength,minLength:e.minLength,name:e.name,form:e.form,placeholder:e.placeholder,inputMode:e.inputMode,autoCorrect:e.autoCorrect,spellCheck:e.spellCheck,[parseInt(s.version,10)>=17?"enterKeyHint":"enterkeyhint"]:e.enterKeyHint,onCopy:e.onCopy,onCut:e.onCut,onPaste:e.onPaste,onCompositionEnd:e.onCompositionEnd,onCompositionStart:e.onCompositionStart,onCompositionUpdate:e.onCompositionUpdate,onSelect:e.onSelect,onBeforeInput:e.onBeforeInput,onInput:e.onInput,...d,...y}),descriptionProps:v,errorMessageProps:b,isInvalid:f,validationErrors:p,validationDetails:m}}({...e,isRequired:"multiple"===e.selectionMode?e.isRequired&&t.selectionManager.isEmpty:e.isRequired,onChange:t.setInputValue,onKeyDown:z?e.onKeyDown:(0,v.c)(t.isOpen&&er.onKeyDown,r=>{if(!r.nativeEvent.isComposing)switch(r.key){case"Enter":case"Tab":if(t.isOpen&&"Enter"===r.key&&r.preventDefault(),t.isOpen&&h.current&&null!=t.selectionManager.focusedKey){let e=t.collection.getItem(t.selectionManager.focusedKey);if(e?.props.href){let n=h.current.querySelector(`[data-key="${CSS.escape(t.selectionManager.focusedKey.toString())}"]`);"Enter"===r.key&&n instanceof HTMLAnchorElement&&en.open(n,r,e.props.href,e.props.routerOptions),t.close();break}if(e?.props.onAction){e.props.onAction(),t.close();break}}("Enter"===r.key||t.isOpen)&&t.commit(),"Tab"===r.key&&r.continuePropagation();break;case"Escape":(!t.selectionManager.isEmpty||""===t.inputValue||e.allowsCustomValue)&&r.continuePropagation(),t.revert();break;case"ArrowDown":t.open("first","manual");break;case"ArrowUp":t.open("last","manual");break;case"ArrowLeft":case"ArrowRight":t.selectionManager.setFocusedKey(null)}},e.onKeyDown),onBlur:r=>{let n=u?.current&&u.current===r.relatedTarget,i=(0,w.sD)(c.current,r.relatedTarget);n||i||(e.onBlur&&e.onBlur(r),t.setFocused(!1))},value:t.inputValue,defaultValue:t.defaultInputValue,onFocus:r=>{t.isFocused||(e.onFocus&&e.onFocus(r),t.setFocused(!0))},autoComplete:"off",validate:void 0,[B.Lf]:t,"aria-describedby":[ei,e["aria-describedby"]].filter(
14Boolean).join(" ")||void 0},d);(0,_.F)(d,t.defaultValue,t.setValue);let eh=(0,A.b)({id:X.id,"aria-label":J.format("buttonLabel"),"aria-labelledby":e["aria-labelledby"]||el.id}),ef=(0,A.b)({id:Y.id,"aria-label":J.format("listboxLabel"),"aria-labelledby":e["aria-labelledby"]||el.id}),ep=(0,s.useRef)(0),em=null!=t.selectionManager.focusedKey&&t.isOpen?t.collection.getItem(t.selectionManager.focusedKey):void 0,eg=em?.parentKey??null,ey=t.selectionManager.focusedKey??null,ev=(0,s.useRef)(eg),eb=(0,s.useRef)(ey);(0,s.useEffect)(()=>{if((0,x.lg)()&&null!=em&&null!=ey&&ey!==eb.current){let e=t.selectionManager.isSelected(ey),r=null!=eg?t.collection.getItem(eg):null,n=r?.["aria-label"]||("string"==typeof r?.rendered?r.rendered:"")||"",i=J.format("focusAnnouncement",{isGroupChange:(r&&eg!==ev.current)??!1,groupTitle:n,groupCount:r?[...(0,W.iQ)(r,t.collection)].length:0,optionText:em["aria-label"]||em.textValue||"",isSelected:e});(0,g.iP)(i)}ev.current=eg,eb.current=ey});let ew=(0,V.v)(t.collection),eE=(0,s.useRef)(ew),eP=(0,s.useRef)(t.isOpen);(0,s.useEffect)(()=>{let e=t.isOpen!==eP.current&&(null==t.selectionManager.focusedKey||(0,x.lg)());if(t.isOpen&&(e||ew!==eE.current)){let e=J.format("countAnnouncement",{optionCount:ew});(0,g.iP)(e)}eE.current=ew,eP.current=t.isOpen});let eS=(0,s.useRef)(t.selectedKey);return(0,s.useEffect)(()=>{if((0,x.lg)()&&t.isFocused&&t.selectedItem&&t.selectedKey!==eS.current){let e=t.selectedItem["aria-label"]||t.selectedItem.textValue||"",r=J.format("selectedAnnouncement",{optionText:e});(0,g.iP)(r)}eS.current=t.selectedKey}),(0,s.useEffect)(()=>{if(t.isOpen)return(0,y.h)([d.current,c.current].filter(e=>null!=e))},[t.isOpen,d,c]),n=()=>{!em&&d.current&&(0,w.bq)((0,P.TW)(d.current))===d.current&&(0,b.Ig)(d.current,null)},i=[em],o=(0,s.useRef)(!0),a=(0,s.useRef)(null),l=(0,H.J)(n),(0,s.useEffect)(()=>(o.current=!0,()=>{o.current=!1}),[]),(0,s.useEffect)(()=>{let e=a.current;o.current?o.current=!1:(!e||i.some((t,r)=>!Object.is(t,e[r])))&&l(),a.current=i},i),(0,T._)(h,"react-aria-item-action",t.isOpen?()=>{t.close()}:void 0),{labelProps:el,buttonProps:{...X,...eh,excludeFromTabOrder:!0,preventFocusOnPress:!0,onPress:e=>{"touch"===e.pointerType&&(d.current?.focus(),t.toggle(null,"manual"))},onPressStart:e=>{"touch"!==e.pointerType&&(d.current?.focus(),t.toggle("keyboard"===e.pointerType||"virtual"===e.pointerType?"first":null,"manual"))},isDisabled:G||z},inputProps:(0,C.v)(eu,{role:"combobox","aria-expanded":X["aria-expanded"],"aria-controls":t.isOpen?Y.id:void 0,"aria-autocomplete":"list","aria-activedescendant":em?(0,E.H)(t,em.key):void 0,onTouchEnd:e=>{if(G||z)return;if(e.timeStamp-ep.current<500){e.preventDefault(),d.current?.focus();return}let r=(0,w.wt)(e).getBoundingClientRect(),n=e.changedTouches[0],i=Math.ceil(r.left+.5*r.width),o=Math.ceil(r.top+.5*r.height);n.clientX===i&&n.clientY===o&&(e.preventDefault(),d.current?.focus(),t.toggle(null,"manual"),ep.current=e.timeStamp)},autoCorrect:"off",spellCheck:"false"}),listBoxProps:(0,C.v)(Y,ef,{onAction:void 0,autoFocus:t.focusStrategy||!0,shouldUseVirtualFocus:!0,shouldSelectOnPressUp:!0,shouldFocusOnHover:!0,linkBehavior:"selection",UNSTABLE_itemBehavior:"action"}),valueProps:{id:ei},descriptionProps:ec,errorMessageProps:ed,isInvalid:eo,validationErrors:ea,validationDetails:es}}({...(0,i.SK)(e),label:eE,inputRef:ey,buttonRef:eg,listBoxRef:ev,popoverRef:eb,name:"text"===ec?eu:void 0,validationBehavior:ef},em),[eI,eA]=(0,s.useState)(null),ek=(0,s.useCallback)(()=>{if(ey.current){var e;let t=null==(e=eg.current)?void 0:e.getBoundingClientRect(),r=ey.current.getBoundingClientRect(),n=t?Math.min(t.left,r.left):r.left;eA((t?Math.max(t.right,r.right):r.right)-n+"px")}},[eg,ey,eA]);(0,Y.w)({ref:ey,onResize:ek});let eD=(0,s.useMemo)(()=>({isOpen:em.isOpen,isDisabled:e.isDisabled||!1,isInvalid:e_.isInvalid||!1,isRequired:e.isRequired||!1}),[em.isOpen,e.isDisabled,e_.isInvalid,e.isRequired]),eO=(0,i.Sl)({...e,values:eD,defaultClassName:"react-aria-ComboBox"}),eF=(0,L.$)(e,{global:!0});return delete eF.id,s.createElement(i.Kq,{values:[[ee,em],[c.I,{...eR,ref:ew}],[n.k,{...eP,ref:eg,isPressed:em.isOpen}],[u.E,{...eS,ref:ey}],[h.RG,em],[f.n,{ref:eb,triggerRef:ey,scrollRef:ev,placement:"bottom start",isNonModal:!0,trigger:"ComboBox",style:{"--trigger-width":eI},clearContexts:er}],[d.JC,{...ex,ref:ev}],[d.DN,em],[p.h,{slots:{description:eC,errorMessage:eT}}],[l,{isInvalid:e_.isInvalid,isDisabled:e.isDisabled||!1}],[o.C,e_]]},s.createElement(i.tT.div,{...eF,...eO,ref:r,slot:e.slot||void 0,"data-focused":em.isFocused||void 0,"data-open":em.isOpen||void 0,"data-disabled":e.isDisabled||void 0,"data-invalid":e_.isInvalid||void 0,"data-required":e.isRequired||void 0}),eu&&"key"===ec&&s.createElement("input",{type:"hidden",name:eu,form:e.form,value:null!=(et=em.selectedKey)?et:""}))}},68762:(e,t,r)=>{"use strict";r.d(t,{pM:()=>P,GQ:()=>g,KU:()=>w});var n=r(91681);class i{constructor(e){this._firstChild=null,this._lastChild=null,this._previousSibling=null,this._nextSibling=null,this._parentNode=null,this._minInvalidChildIndex=null,this.ownerDocument=e}*[Symbol.iterator](){let e=this.firstChild;for(;e;)yield e,e=e.nextSibling}get firstChild(){return this._firstChild}set firstChild(e){this._firstChild=e,this.ownerDocument.markDirty(this)}get lastChild(){return this._lastChild}set lastChild(e){this._lastChild=e,this.ownerDocument.markDirty(this)}get previousSibling(){return this._previousSibling}set previousSibling(e){this._previousSibling=e,this.ownerDocument.markDirty(this)}get nextSibling(){return this._nextSibling}set nextSibling(e){this._nextSibling=e,this.ownerDocument.markDirty(this)}get parentNode(){return this._parentNode}set parentNode(e){this._parentNode=e,this.ownerDocument.markDirty(this)}get isConnected(){return this.parentNode?.isConnected||!1}invalidateChildIndices(e){(null==this._minInvalidChildIndex||!this._minInvalidChildIndex.isConnected||e.index<this._minInvalidChildIndex.index)&&(this._minInvalidChildIndex=e,this.ownerDocument.markDirty(this))}updateChildIndices(){let e=this._minInvalidChildIndex;for(;e;)e.index=e.previousSibling?e.previousSibling.index+1:0,e=e.nextSibling;this._minInvalidChildIndex=null}appendChild(e){e.parentNode&&e.parentNode.removeChild(e),null==this.firstChild&&(this.firstChild=e),this.lastChild?(this.lastChild.nextSibling=e,e.index=this.lastChild.index+1,e.previousSibling=this.lastChild):(e.previousSibling=null,e.index=0),e.parentNode=this,e.nextSibling=null,this.lastChild=e,this.ownerDocument.markDirty(this),this.isConnected&&this.ownerDocument.queueUpdate()}insertBefore(e,t){if(null==t)return this.appendChild(e);e.parentNode&&e.parentNode.removeChild(e),e.nextSibling=t,e.previousSibling=t.previousSibling,e.index=t.index-1,this.firstChild===t?this.firstChild=e
14:t.previousSibling&&(t.previousSibling.nextSibling=e),t.previousSibling=e,e.parentNode=t.parentNode,this.invalidateChildIndices(e),this.isConnected&&this.ownerDocument.queueUpdate()}removeChild(e){e.parentNode===this&&(this._minInvalidChildIndex===e&&(this._minInvalidChildIndex=null),e.nextSibling&&(this.invalidateChildIndices(e.nextSibling),e.nextSibling.previousSibling=e.previousSibling),e.previousSibling&&(e.previousSibling.nextSibling=e.nextSibling),this.firstChild===e&&(this.firstChild=e.nextSibling),this.lastChild===e&&(this.lastChild=e.previousSibling),e.parentNode=null,e.nextSibling=null,e.previousSibling=null,e.index=0,this.ownerDocument.markDirty(e),this.isConnected&&this.ownerDocument.queueUpdate())}addEventListener(){}removeEventListener(){}get previousVisibleSibling(){let e=this.previousSibling;for(;e&&e.isHidden;)e=e.previousSibling;return e}get nextVisibleSibling(){let e=this.nextSibling;for(;e&&e.isHidden;)e=e.nextSibling;return e}get firstVisibleChild(){let e=this.firstChild;for(;e&&e.isHidden;)e=e.nextSibling;return e}get lastVisibleChild(){let e=this.lastChild;for(;e&&e.isHidden;)e=e.previousSibling;return e}}class o extends i{constructor(e,t){super(t),this.nodeType=8,this.isMutated=!0,this._index=0,this.isHidden=!1,this.node=null}get index(){return this._index}set index(e){this._index=e,this.ownerDocument.markDirty(this)}get level(){return this.parentNode instanceof o?this.parentNode.level+ +(this.parentNode.node?.type==="item"):0}getMutableNode(){return null==this.node?null:(this.isMutated||(this.node=this.node.clone(),this.isMutated=!0),this.ownerDocument.markDirty(this),this.node)}updateNode(){let e=this.nextVisibleSibling,t=this.getMutableNode();if(null!=t&&(t.index=this.index,t.level=this.level,t.parentKey=this.parentNode instanceof o?this.parentNode.node?.key??null:null,t.prevKey=this.previousVisibleSibling?.node?.key??null,t.nextKey=e?.node?.key??null,t.hasChildNodes=!!this.firstChild,t.firstChildKey=this.firstVisibleChild?.node?.key??null,t.lastChildKey=this.lastVisibleChild?.node?.key??null,(null!=t.colSpan||null!=t.colIndex)&&e)){let r=(t.colIndex??t.index)+(t.colSpan??1);null!=e.node&&r!==e.node.colIndex&&(e.getMutableNode().colIndex=r)}}setProps(e,t,r,n,i){let o,{value:a,textValue:s,id:l,...u}=e;if(null==this.node?(o=new r(l??`react-aria-${++this.ownerDocument.nodeId}`),this.node=o):o=this.getMutableNode(),u.ref=t,o.props=u,o.rendered=n,o.render=i,o.value=a,e["aria-label"]&&(o["aria-label"]=e["aria-label"]),o.textValue=s||("string"==typeof u.children?u.children:"")||e["aria-label"]||"",null!=l&&l!==o.key)throw Error("Cannot change the id of an item");null!=u.colSpan&&(o.colSpan=u.colSpan),this.isConnected&&this.ownerDocument.queueUpdate()}get style(){let e=this;return{get display(){return e.isHidden?"none":""},set display(value){let t="none"===value;if(e.isHidden!==t){(e.parentNode?.firstVisibleChild===e||e.parentNode?.lastVisibleChild===e)&&e.ownerDocument.markDirty(e.parentNode);let r=e.previousVisibleSibling,n=e.nextVisibleSibling;r&&e.ownerDocument.markDirty(r),n&&e.ownerDocument.markDirty(n),e.isHidden=t,e.ownerDocument.markDirty(e)}}}}hasAttribute(){}setAttribute(){}setAttributeNS(){}removeAttribute(){}}class a extends i{constructor(e){super(null),this.nodeType=11,this.ownerDocument=this,this.dirtyNodes=new Set,this.isSSR=!1,this.nodeId=0,this.nodesByProps=new WeakMap,this.nextCollection=null,this.subscriptions=new Set,this.queuedRender=!1,this.inSubscription=!1,this.collection=e,this.nextCollection=e}get isConnected(){return!0}createElement(e){return new o(e,this)}getMutableCollection(){return this.nextCollection||(this.nextCollection=this.collection.clone()),this.nextCollection}markDirty(e){this.dirtyNodes.add(e)}addNode(e){if(e.isHidden||null==e.node)return;let t=this.getMutableCollection();if(!t.getItem(e.node.key))for(let t of e)this.addNode(t);t.addNode(e.node)}removeNode(e){for(let t of e)this.removeNode(t);e.node&&this.getMutableCollection().removeNode(e.node.key)}getCollection(){return this.inSubscription||(this.queuedRender=!1,this.updateCollection()),this.collection}updateCollection(){for(let e of this.dirtyNodes)e instanceof o&&(!e.isConnected||e.isHidden)?this.removeNode(e):e.updateChildIndices();for(let e of this.dirtyNodes)e instanceof o?(e.isConnected&&!e.isHidden&&(e.updateNode(),this.addNode(e)),e.node&&this.dirtyNodes.delete(e),e.isMutated=!1):this.dirtyNodes.delete(e);
14this.nextCollection&&(this.nextCollection.commit(this.firstVisibleChild?.node?.key??null,this.lastVisibleChild?.node?.key??null,this.isSSR),this.isSSR||(this.collection=this.nextCollection,this.nextCollection=null))}queueUpdate(){if(0!==this.dirtyNodes.size&&!this.queuedRender){for(let e of(this.queuedRender=!0,this.inSubscription=!0,this.isSSR||(this.collection=this.collection.clone()),this.subscriptions))e();this.inSubscription=!1}}subscribe(e){return this.subscriptions.add(e),()=>this.subscriptions.delete(e)}resetAfterSSR(){this.isSSR&&(this.isSSR=!1,this.firstChild=null,this.lastChild=null,this.nodeId=0)}}var s=r(45258),l=r(63591),u=r(226),c=r(6344),d=r(98477),h=r(14232),f=r(38806);let p=(0,h.createContext)(!1),m=(0,h.createContext)(null);function g(e){if((0,h.useContext)(m))return e.content;let{collection:t,document:r}=function(e){let[t]=(0,h.useState)(()=>new a(e?.()||new(0,n.Wk)));return{collection:v((0,h.useCallback)(e=>t.subscribe(e),[t]),(0,h.useCallback)(()=>{let e=t.getCollection();return t.isSSR&&t.resetAfterSSR(),e},[t]),(0,h.useCallback)(()=>(t.isSSR=!0,t.getCollection()),[t])),document:t}}(e.createCollection);return h.createElement(h.Fragment,null,h.createElement(u.jZ,null,h.createElement(m.Provider,{value:r},e.content)),h.createElement(y,{render:e.children,collection:t}))}function y({collection:e,render:t}){return t(e)}let v="function"==typeof h.useSyncExternalStore?h.useSyncExternalStore:function(e,t,r){let n=(0,c.wR)(),i=(0,h.useRef)(n);i.current=n;let o=(0,h.useCallback)(()=>i.current?r():t(),[t,r]);return(0,f.useSyncExternalStore)(e,o)},b=(0,h.createContext)(null);function w(e,t){let r=({node:e})=>t(e.props,e.props.ref,e),i=(0,h.forwardRef)((i,o)=>{let a=(0,h.useContext)(l.gY);if(!(0,h.useContext)(p)){if(t.length>=3)throw Error(t.name+" cannot be rendered outside a collection.");return t(i,o)}return function(e,t,r,i,o){"string"==typeof e&&(e=function(e){return class extends n.Pt{static{this.type=e}}}(e));let a=(0,h.useCallback)(n=>{n?.setProps(t,r,e,i,o)},[t,r,i,o,e]),s=(0,h.useContext)(b);if(s){let n=s.ownerDocument.nodesByProps.get(t);return n||((n=s.ownerDocument.createElement(e.type)).setProps(t,r,e,i,o),s.appendChild(n),s.ownerDocument.updateCollection(),s.ownerDocument.nodesByProps.set(t,n)),null}return h.createElement(e.type,{ref:a},null)}(e,i,o,"children"in i?i.children:null,e=>h.createElement(l.gY.Provider,{value:a},h.createElement(r,{node:e})))});return i.displayName=t.name,i}let E=(0,h.createContext)(null);function P(e){var t;let r=(0,h.useContext)(E),n=(r?.dependencies||[]).concat(e.dependencies),i=e.idScope??r?.idScope,o=(t={...e,idScope:i,dependencies:n},(0,s.p)({...t,addIdAndValue:!0}));return(0,h.useContext)(m)&&(o=h.createElement(S,null,o)),r=(0,h.useMemo)(()=>({dependencies:n,idScope:i}),[i,...n]),h.createElement(E.Provider,{value:r},o)}function S({children:e}){let t=(0,h.useContext)(m),r=(0,h.useMemo)(()=>h.createElement(m.Provider,{value:null},h.createElement(p.Provider,{value:!0},e)),[e]);return(0,c.wR)()?h.createElement(b.Provider,{value:t},r):(0,d.createPortal)(r,t)}},69274:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f,p:()=>h});var n=r(18570),i=r(66532),o=r(97213),a=r(14232);function s(e,t){return e?"all"===e?"all":new(0,i.L)(e):t}var l=r(5407);class u{build(e,t){return this.context=t,c(()=>this.iterateCollection(e))}*iterateCollection(e){let{children:t,items:r}=e;if(a.isValidElement(t)&&t.type===a.Fragment)yield*this.iterateCollection({children:t.props.children,items:r});else if("function"==typeof t){if(!r)throw Error("props.children was a function but props.items is missing");let e=0;for(let n of r)yield*this.getFullNode({value:n,index:e},{renderer:t}),e++}else{let e=[];a.Children.forEach(t,t=>{t&&e.push(t)});let r=0;for(let t of e)for(let e of this.getFullNode({element:t,index:r},{}))r++,yield e}}getKey(e,t,r,n){if(null!=e.key)return e.key;if("cell"===t.type&&null!=t.key)return`${n}${t.key}`;let i=t.value;if(null!=i){let e=i.key??i.id;if(null==e)throw Error("No key found for item");return e}return n?`${n}.${t.index}`:`$.${t.index}`}getChildState(e,t){return{renderer:t.renderer||e.renderer}}*getFullNode(e,t,r,n){if(a.isValidElement(e.element)&&e.element.type===a.Fragment){let i=[];
14a.Children.forEach(e.element.props.children,e=>{i.push(e)});let o=e.index??0;for(let e of i)yield*this.getFullNode({element:e,index:o++},t,r,n);return}let i=e.element;if(!i&&e.value&&t&&t.renderer){let r=this.cache.get(e.value);if(r&&(!r.shouldInvalidate||!r.shouldInvalidate(this.context))){r.index=e.index,r.parentKey=n?n.key:null,yield r;return}i=t.renderer(e.value)}if(a.isValidElement(i)){let o=i.type;if("function"!=typeof o&&"function"!=typeof o.getCollectionNode){let e=i.type;throw Error(`Unknown element <${e}> in collection.`)}let a=o.getCollectionNode(i.props,this.context),s=e.index??0,l=a.next();for(;!l.done&&l.value;){let o=l.value;e.index=s;let u=o.key??null;null==u&&(u=o.element?null:this.getKey(i,e,t,r));let c=[...this.getFullNode({...o,key:u,index:s,wrapper:function(e,t){return e&&t?r=>e(t(r)):e||t||void 0}(e.wrapper,o.wrapper)},this.getChildState(t,o),r?`${r}${i.key}`:i.key,n)];for(let t of c){if(t.value=o.value??e.value??null,t.value&&this.cache.set(t.value,t),e.type&&t.type!==e.type)throw Error(`Unsupported type <${d(t.type)}> in <${d(n?.type??"unknown parent type")}>. Only <${d(e.type)}> is supported.`);s++,yield t}l=a.next(c)}return}if(null==e.key||null==e.type)return;let o=this,s={type:e.type,props:e.props,key:e.key,parentKey:n?n.key:null,value:e.value??null,level:(n?.level??0)+ +(n?.type==="item"),index:e.index,rendered:e.rendered,textValue:e.textValue??"","aria-label":e["aria-label"],wrapper:e.wrapper,shouldInvalidate:e.shouldInvalidate,hasChildNodes:e.hasChildNodes||!1,childNodes:c(function*(){if(!e.hasChildNodes||!e.childNodes)return;let r=0;for(let n of e.childNodes())for(let e of(null!=n.key&&(n.key=`${s.key}${n.key}`),o.getFullNode({...n,index:r},o.getChildState(t,n),s.key,s)))r++,yield e})};yield s}constructor(){this.cache=new WeakMap}}function c(e){let t=[],r=null;return{*[Symbol.iterator](){for(let e of t)yield e;for(let n of(r||(r=e()),r))t.push(n),yield n}}}function d(e){return e[0].toUpperCase()+e.slice(1)}function h(e){let{filter:t,layoutDelegate:r}=e,c=function(e){let{selectionMode:t="none",disallowEmptySelection:r=!1,allowDuplicateSelectionEvents:n,selectionBehavior:l="toggle",disabledBehavior:u="all"}=e,c=(0,a.useRef)(!1),[,d]=(0,a.useState)(!1),h=(0,a.useRef)(null),f=(0,a.useRef)(null),[,p]=(0,a.useState)(null),m=(0,a.useMemo)(()=>s(e.selectedKeys),[e.selectedKeys]),g=(0,a.useMemo)(()=>s(e.defaultSelectedKeys,new(0,i.L)),[e.defaultSelectedKeys]),[y,v]=(0,o.P)(m,g,e.onSelectionChange),b=(0,a.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),[w,E]=(0,a.useState)(l);"replace"===l&&"toggle"===w&&"object"==typeof y&&0===y.size&&E("replace");let P=(0,a.useRef)(l);return(0,a.useEffect)(()=>{l!==P.current&&(E(l),P.current=l)},[l]),{selectionMode:t,disallowEmptySelection:r,selectionBehavior:w,setSelectionBehavior:E,get isFocused(){return c.current},setFocused(e){c.current=e,d(e)},get focusedKey(){return h.current},get childFocusStrategy(){return f.current},setFocusedKey(e,t="first"){h.current=e,f.current=t,p(e)},selectedKeys:y,setSelectedKeys(e){(n||!function(e,t){if(e.size!==t.size)return!1;for(let r of e)if(!t.has(r))return!1;return!0}(e,y))&&v(e)},disabledKeys:b,disabledBehavior:u}}(e),d=(0,a.useMemo)(()=>e.disabledKeys?new Set(e.disabledKeys):new Set,[e.disabledKeys]),h=(0,a.useCallback)(e=>new(0,n.J)(t?t(e):e),[t]),f=(0,a.useMemo)(()=>({suppressTextValueWarning:e.suppressTextValueWarning}),[e.suppressTextValueWarning]),m=function(e,t,r){let n=(0,a.useMemo)(()=>new u,[]),{children:i,items:o,collection:s}=e;return(0,a.useMemo)(()=>s||t(n.build({children:i,items:o},r)),[n,i,o,s,r,t])}(e,h,f),g=(0,a.useMemo)(()=>new(0,l.Y)(m,c,{layoutDelegate:r}),[m,c,r]);return p(m,g),{collection:m,disabledKeys:d,selectionManager:g}}function f(e,t){let r=(0,a.useMemo)(()=>t?e.collection.filter(t):e.collection,[e.collection,t]),n=e.selectionManager.withCollection(r);return p(r,n),{collection:r,selectionManager:n,disabledKeys:e.disabledKeys}}function p(e,t){let r=(0,a.useRef)(null);(0,a.useEffect)(()=>{if(null!=t.focusedKey&&!e.getItem(t.focusedKey)&&r.current){let n=r.current.getKeyAfter(t.focusedKey),i=null;for(;null!=n;){let o=e.getItem(n);if(o&&"item"===o.type&&!t.isDisabled(n)){i=n;break}n=r.current.getKeyAfter(n)}if(null==i)for(n=r.current.getKeyBefore(t.focusedKey);null!=n;){let o=e.getItem(n);if(o&&"item"===o.type&&!t.isDisabled(n)){i=n;break}n=r.current.getKeyBefore(n)}t.setFocusedKey(i)}r.current=e},[e,t])}},69432:(e,t)=>{"use strict";t._=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}},69512:(e,t)=>
14{"use strict";t._=function(e){return e&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}},69655:e=>{"use strict";e.exports=function(e,t){return e.filter(function(r,n){return t.indexOf(r)>-1&&e.indexOf(r)===n})}},70026:(e,t,r)=>{"use strict";let n;r.d(t,{o:()=>f});var i=r(81719);let o=Symbol.for("react-aria.i18n.locale"),a=Symbol.for("react-aria.i18n.strings");class s{constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter(([,e])=>e)),this.defaultLocale=t}getStringForLocale(e,t){let r=this.getStringsForLocale(t)[e];if(!r)throw Error(`Could not find intl message ${e} in ${t} locale`);return r}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,r="en-US"){var n;if(t[e])return t[e];let i=(n=e,Intl.Locale?new Intl.Locale(n).language:n.split("-")[0]),o=function(e){if(Intl.Locale)return new Intl.Locale(e).script}(e);if(o&&t[`${i}-${o}`])return t[`${i}-${o}`];if(t[i])return t[i];for(let e in t)if(e.startsWith(i+"-"))return t[e];return t[r]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("u"<typeof window)return null;let t=window[o];if(void 0===n){let e=window[a];if(!e)return null;for(let r in n={},e)n[r]=new s({[t]:e[r]},t)}let r=n?.[e];if(!r)throw Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r}}let l=new Map,u=new Map;class c{constructor(e,t){this.locale=e,this.strings=t}format(e,t){let r=this.strings.getStringForLocale(e,this.locale);return"function"==typeof r?r(t,this):r}plural(e,t,r="cardinal"){let n=t["="+e];if(n)return"function"==typeof n?n():n;let i=this.locale+":"+r,o=l.get(i);return o||(o=new Intl.PluralRules(this.locale,{type:r}),l.set(i,o)),"function"==typeof(n=t[o.select(e)]||t.other)?n():n}number(e){let t=u.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),u.set(this.locale,t)),t.format(e)}select(e,t){let r=e[t]||e.other;return"function"==typeof r?r():r}}var d=r(14232);let h=new WeakMap;function f(e,t){let r,{locale:n}=(0,i.Y)(),o=t&&s.getGlobalDictionaryForPackage(t)||((r=h.get(e))||(r=new s(e),h.set(e,r)),r);return(0,d.useMemo)(()=>new c(n,o),[n,o])}},70412:(e,t,r)=>{"use strict";function n(){return!1}r.d(t,{Nf:()=>n})},70877:(e,t,r)=>{"use strict";r.d(t,{I:()=>a});var n=r(14232),i=r(8866),o=r(5414);function a(){var e=(0,n.useContext)(i.t);return(0,o.V)(null!==e),e}},70977:(e,t,r)=>{"use strict";let n;r.d(t,{Cl:()=>T,K7:()=>I,ME:()=>C,pP:()=>R});var i=r(29786),o=r(88001),a=r(23633),s=r(84947),l=r(29105),u=r(87802),c=r(14232);let d=null,h=new Set,f=new Map,p=!1,m=!1,g={Tab:!0,Escape:!0};function y(e,t){for(let r of h)r(e,t)}function v(e){p=!0,u.Fe.isOpening||e.metaKey||!(0,s.cX)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(d="keyboard",y("keyboard",e))}function b(e){d="pointer","pointerType"in e&&e.pointerType,("mousedown"===e.type||"pointerdown"===e.type)&&(p=!0,y("pointer",e))}function w(e){!u.Fe.isOpening&&(0,l.Y)(e)&&(p=!0,d="virtual")}function E(e){let t=(0,o.mD)((0,i.wt)(e)),r=(0,o.TW)((0,i.wt)(e));(0,i.wt)(e)!==t&&(0,i.wt)(e)!==r&&!a.lR&&e.isTrusted&&(p||m||(d="virtual",y("virtual",e)),p=!1,m=!1)}function P(){a.lR||(p=!1,m=!0)}function S(e){if("u"<typeof window||"u"<typeof document)return;let t=(0,o.mD)(e),r=(0,o.TW)(e);if(f.get(t))return;let n=t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:function(){p=!0,n.apply(this,arguments)}}),r.addEventListener("keydown",v,!0),r.addEventListener("keyup",v,!0),r.addEventListener("click",w,!0),t.addEventListener("focus",E,!0),t.addEventListener("blur",P,!1),"u">typeof PointerEvent&&(r.addEventListener("pointerdown",b,!0),r.addEventListener("pointermove",b,!0),r.addEventListener("pointerup",b,!0)),t.addEventListener("beforeunload",()=>{x(e)},{once:!0}),f.set(t,{focus:n})}let x=(e,t)=>{let r=(0,o.mD)(e),n=(0,o.TW)(e);t&&n.removeEventListener("DOMContentLoaded",t),f.has(r)&&(Reflect.defineProperty(r.HTMLElement.prototype,"focus",{configurable:!0,writable:!0,value:f.get(r).focus}),n.removeEventListener("keydown",v,!0),n.removeEventListener("keyup",v,!0),n.removeEventListener("click",w,!0),r.removeEventListener("focus",E,!0),r.removeEventListener("blur",P,!1),"u">typeof PointerEvent&&(n.removeEventListener("pointerdown",b,!0),n.removeEventListener("pointermove",b,!0),n.removeEventListener("pointerup",b,!0)),f.delete(r))};function R(){return"pointer"!==d}function C(){return d}function T(e){d=e,y(e,null)}"u">typeof document&&("loading"!==(n=(0,o.TW)(void 0)).readyState?S(void 0):n.addEventListener("DOMContentLoaded",()=>{S(void 0)}));let _=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function I(e,t,r){S(),(0,c.useEffect)(()=>
14{if(r?.enabled===!1)return;let t=(t,n)=>{var a;let s,l,u,c,d,h,f,p;a=!!r?.isTextInput,s=n?(0,i.wt)(n):void 0,l=(0,o.TW)(s),c=void 0!==(u=(0,o.mD)(s))?u.HTMLInputElement:HTMLInputElement,d=void 0!==u?u.HTMLTextAreaElement:HTMLTextAreaElement,h=void 0!==u?u.HTMLElement:HTMLElement,f=void 0!==u?u.KeyboardEvent:KeyboardEvent,p=(0,i.bq)(l),(a=a||p instanceof c&&!_.has(p.type)||p instanceof d||p instanceof h&&p.isContentEditable)&&"keyboard"===t&&n instanceof f&&!g[n.key]||e(R())};return h.add(t),()=>{h.delete(t)}},t)}},71326:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let r=null;if(!e||"string"!=typeof e)return r;let n=(0,i.default)(e),o="function"==typeof t;return n.forEach(e=>{if("declaration"!==e.type)return;let{property:n,value:i}=e;o?t(n,i,e):i&&((r=r||{})[n]=i)}),r};let i=n(r(79437))},71355:(e,t,r)=>{"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty;e.exports=r(28419).call(n,i)},71489:(e,t,r)=>{"use strict";r.d(t,{U:()=>i});var n=r(14232);function i(e){let t=(0,n.useRef)(null),r=(0,n.useRef)(void 0),i=(0,n.useCallback)(t=>{if("function"==typeof e){let r=e(t);return()=>{"function"==typeof r?r():e(null)}}if(e)return e.current=t,()=>{e.current=null}},[e]);return(0,n.useMemo)(()=>({get current(){return t.current},set current(value){t.current=value,r.current&&(r.current(),r.current=void 0),null!=value&&(r.current=i(value))}}),[i])}},71524:(e,t)=>{"use strict";t._=function(e,t){var r,n,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}},71742:e=>{"use strict";e.exports=SyntaxError},71938:e=>{"use strict";e.exports=Function.prototype.apply},72130:e=>{"use strict";e.exports=ReferenceError},72357:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];var t=a.exec(e),r=t?t[1]:void 0;return(0,o.formatDOM)((0,i.default)(e),null,r)};var i=n(r(99038)),o=r(67121),a=/<(![a-zA-Z\s]+)>/},73025:e=>{e.exports=function(e){return e.reduce(function(e,t){return e.concat(t)},[])}},73250:(e,t,r)=>{"use strict";var n=r(32591);function i(e,t,r){this.main=e,this.fn=t,this.recommendFn=r,this.lastResults=null,this.lastRecommendResults=null}r(1010)(i,n),i.prototype.detach=function(){this.removeAllListeners(),this.main.detachDerivedHelper(this)},i.prototype.getModifiedState=function(e){return this.fn(e)},i.prototype.getModifiedRecommendState=function(e){return this.recommendFn(e)},e.exports=i},73305:e=>{"use strict";e.exports=URIError},73312:(e,t,r)=>{"use strict";function n(e){return"ais.index"===e.$$type}r.d(t,{l:()=>n})},73442:(e,t,r)=>{"use strict";var n=r(45525),i=r(66530),o=i([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i([r]):r}},73923:(e,t)=>{"use strict";t._=function(e,t){if(null==e)return{};var r,n,i={},o=Object.getOwnPropertyNames(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r]);return i}},73927:(e,t)=>{"use strict";t._=function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},74032:(e,t,r)=>{"use strict";r.d(t,{v:()=>s});var n=r(29786);let i=new Map,o=new Set;function a(){if("u"<typeof window)return;function e(e){return"propertyName"in e}let t=r=>{let a=(0,n.wt)(r);if(!e(r)||!a)return;let s=i.get(a);if(s&&(s.delete(r.propertyName),0===s.size&&(a.removeEventListener("transitioncancel",t),i.delete(a)),0===i.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",r=>{let o=(0,n.wt)(r);if(!e(r)||!o)return;let a=i.get(o);a||(a=new Set,i.set(o,a),o.addEventListener("transitioncancel",t,{once:!0})),a.add(r.propertyName)}),document.body.addEventListener("transitionend",t)}function s(e){requestAnimationFrame(()=>{for(let[e]of i)"isConnected"in e&&!e.isConnected&&i.delete(e);0===i.size?e():o.add(e)})}"u">typeof document&&("loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a))},74092:(e,t,r)=>{"use strict";r.d(t,{R:()=>l});var n={};n={"ar-AE":{dismiss:"تجاÙÙ"},"bg-BG":{dismiss:"ÐÑÑ
вÑÑлÑне"},"cs-CZ":{dismiss:"Odstranit"},"da-DK":{dismiss:"Luk"},"de-DE":{dismiss:"Schlie\xdfen"},"el-GR":{dismiss:"ÎÏÏÏÏιÏη"},"en-US":{dismiss:"Dismiss"},"es-ES":{dismiss:"Descartar"},"et-EE":{dismiss:"L\xf5peta"},"fi-FI":{dismiss:"Hylk\xe4\xe4"},"fr-FR":{dismiss:"Rejeter"},"he-IL":{dismiss:"×תע××"},"hr-HR":{dismiss:"Odbaci"},"hu-HU":{dismiss:"Elutas\xedt\xe1s"},"it-IT":{dismiss:"Ignora"},"ja-JP":{dismiss:"éãã"},"ko-KR":{dismiss:"무ì"},"lt-LT":{dismiss:"Atmesti"},"lv-LV":{dismiss:"NerÄdÄ«t"},"nb-NO":{dismiss:"Lukk"},"nl-NL":{dismiss:"Negeren"},"pl-PL":{dismiss:"Zignoruj"},"pt-BR":{dismiss:"Descartar"},"pt-PT":{dismiss:"Dispensar"},"ro-RO":{dismiss:"Revocare"},"ru-RU":{dismiss:"ÐÑопÑÑÑиÑÑ"},"sk-SK":{dismiss:"ZruÅ¡iÅ¥"},"sl-SI":{dismiss:"Opusti"},"sr-SP":{dismiss:"Odbaci"},"sv-SE":{dismiss:"Avvisa"},"tr-TR":{dismiss:"Kapat"},"uk-UA":{dismiss:"СкаÑÑваÑи"},"zh-CN":{dismiss:"åæ¶"},"zh-TW":{dismiss:"éé"}};var i=r(3324),o=r(70026),a=r(95044),s=r(14232);function l(e){var t;let{onDismiss:r,...l}=e,u=(0,o.o)((t=n)&&t.__esModule?t.default:t,"@react-aria/overlays"),c=(0,i.b)(l,u.format("dismiss"));return s.createElement(a.s,null,s.createElement("button",{...c,tabIndex:-1,onClick:()=>{r&&r()},style:{width:1,height:1}}))}},74290:(e,t,r)=>{"use strict";var n=r(15738),i=r(47278),o=r(81151),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,h=o.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset
14:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,filter:void 0,format:h,formatter:o.formatters[h],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},p={},m=function e(t,r,o,a,s,u,d,h,m,g,y,v,b,w,E,P,S,x){for(var R,C,T=t,_=x,I=0,A=!1;void 0!==(_=_.get(p))&&!A;){var k=_.get(t);if(I+=1,void 0!==k)if(k===I)throw RangeError("Cyclic object value");else A=!0;void 0===_.get(p)&&(I=0)}if("function"==typeof g?T=g(r,T):T instanceof Date?T=b(T):"comma"===o&&l(T)&&(T=i.maybeMap(T,function(e){return e instanceof Date?b(e):e})),null===T){if(u)return E(m&&!P?m(r,f.encoder,S,"key",w):r);T=""}if("string"==typeof(R=T)||"number"==typeof R||"boolean"==typeof R||"symbol"==typeof R||"bigint"==typeof R||i.isBuffer(T))return m?[E(P?r:m(r,f.encoder,S,"key",w))+"="+E(m(T,f.encoder,S,"value",w))]:[E(r)+"="+E(String(T))];var D=[];if(void 0===T)return D;if("comma"===o&&l(T))P&&m&&(T=i.maybeMap(T,function(e){return null==e?e:m(e)})),C=[{value:T.length>0?T.join(",")||null:void 0}];else if(l(g))C=g;else{var O=Object.keys(T);C=y?O.sort(y):O}var F=h?String(r).replace(/\./g,"%2E"):String(r),N=a&&l(T)&&1===T.length?F+"[]":F;if(s&&l(T)&&0===T.length)return N+"[]";for(var q=0;q<C.length;++q){var j=C[q],L="object"==typeof j&&j&&void 0!==j.value?j.value:T[j];if(!d||null!==L){var M=v&&h?String(j).replace(/\./g,"%2E"):String(j),K=l(T)?"function"==typeof o?o(N,M):N:N+(v?"."+M:"["+M+"]");x.set(t,I);var $=n();$.set(p,x),c(D,e(L,K,o,a,s,u,d,h,"comma"===o&&P&&l(T)?null:m,g,y,v,b,w,E,P,S,$))}}return D},g=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,r=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw TypeError("Unknown format option provided.");n=e.format}var i=o.formatters[n],u=f.filter;if(("function"==typeof e.filter||l(e.filter))&&(u=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var c=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:c,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:t,charset:r,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:u,format:n,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}};e.exports=function(e,t){var r,i=e,o=g(t);"function"==typeof o.filter?i=(0,o.filter)("",i):l(o.filter)&&(r=o.filter);var a=[];if("object"!=typeof i||null===i)return"";var u=s[o.arrayFormat],d="comma"===u&&o.commaRoundTrip;r||(r=Object.keys(i)),o.sort&&r.sort(o.sort);for(var h=n(),f=0;f<r.length;++f){var p=r[f];if(null!=p){var y=i[p];o.skipNulls&&null===y||c(a,m(y,p,u,d,o.allowEmptyArrays,o.strictNullHandling,o.skipNulls,o.encodeDotInKeys,o.encode?o.encoder:null,o.filter,o.sort,o.allowDots,o.serializeDate,o.format,o.formatter,o.encodeValuesOnly,o.charset,h))}}var v=a.join(o.delimiter),b=!0===o.addQueryPrefix?"?":"";return o.charsetSentinel&&("iso-8859-1"===o.charset?b+="utf8=%26%2310003%3B"+o.delimiter:b+="utf8=%E2%9C%93"+o.delimiter),v.length>0?b+v:""}},74512:(e,t,r)=>{"use strict";var n=r(47278),i=Object.prototype.hasOwnProperty,o=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:n.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e,t,r){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},l=function(e,t){var r={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,c=l.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==u?u+1:u);if(t.throwOnLimitExceeded&&void 0!==u&&c.length>u)throw RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var d=-1,h=t.charset;if(t.charsetSentinel)for(f=0;f<c.length;++f)0===c[f].indexOf("utf8=")&&("utf8=%E2%9C%93"===c[f]?h="utf-8":"utf8=%26%2310003%3B"===c[f]&&(h="iso-8859-1"),d=f,f=c.length);for(f=0;f<c.length;++f)if(f!==d){var f,p,m,g=c[f],y=g.indexOf("]="),v=-1===y?g.indexOf("="):y+1;if(-1===v?(p=t.decoder(g,a.decoder,h,"key"),m=t.strictNullHandling?null:""):null!==(p=t.decoder(g.slice(0,v),a.decoder,h,"key"))&&(m=n.maybeMap(s(g.slice(v+1),t,o(r[p])?r[p].length:0),function(e){return t.decoder(e,a.decoder,h,"value")}
14)),m&&t.interpretNumericEntities&&"iso-8859-1"===h&&(m=String(m).replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(m=o(m)?[m]:m),t.comma&&o(m)&&m.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");m=n.combine([],m,t.arrayLimit,t.plainObjects)}if(null!==p){var b=i.call(r,p);b&&("combine"===t.duplicates||g.indexOf("[]=")>-1)?r[p]=n.combine(r[p],m,t.arrayLimit,t.plainObjects):b&&"last"!==t.duplicates||(r[p]=m)}}return r},u=function(e,t,r,i){var o=0;if(e.length>0&&"[]"===e[e.length-1]){var a=e.slice(0,-1).join("");o=Array.isArray(t)&&t[a]?t[a].length:0}for(var l=i?t:s(t,r,o),u=e.length-1;u>=0;--u){var c,d=e[u];if("[]"===d&&r.parseArrays)c=n.isOverflow(l)?l:r.allowEmptyArrays&&(""===l||r.strictNullHandling&&null===l)?[]:n.combine([],l,r.arrayLimit,r.plainObjects);else{c=r.plainObjects?{__proto__:null}:{};var h="["===d.charAt(0)&&"]"===d.charAt(d.length-1)?d.slice(1,-1):d,f=r.decodeDotInKeys?h.replace(/%2E/g,"."):h,p=parseInt(f,10),m=!isNaN(p)&&d!==f&&String(p)===f&&p>=0&&r.parseArrays;if(r.parseArrays||""!==f)if(m&&p<r.arrayLimit)(c=[])[p]=l;else if(m&&r.throwOnLimitExceeded)throw RangeError("Array limit exceeded. Only "+r.arrayLimit+" element"+(1===r.arrayLimit?"":"s")+" allowed in an array.");else m?(c[p]=l,n.markOverflow(c,p)):"__proto__"!==f&&(c[f]=l);else c={0:l}}l=c}return l},c=function(e,t){var r=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&i.call(Object.prototype,r)&&!t.allowPrototypes)return;return[r]}var n=[],o=r.indexOf("["),a=o>=0?r.slice(0,o):r;if(a){if(!t.plainObjects&&i.call(Object.prototype,a)&&!t.allowPrototypes)return;n[n.length]=a}for(var s=r.length,l=o,u=0;l>=0&&u<t.depth;){for(var c=1,d=l+1,h=-1;d<s&&h<0;){var f=r.charCodeAt(d);91===f?c+=1:93===f&&0==(c-=1)&&(h=d),d+=1}if(h<0)return n[n.length]="["+r.slice(l)+"]",n;var p=r.slice(l,h+1),m=p.slice(1,-1);if(!t.plainObjects&&i.call(Object.prototype,m)&&!t.allowPrototypes)return;n[n.length]=p,u+=1,l=r.indexOf("[",h+1)}if(l>=0){if(!0===t.strictDepth)throw RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");n[n.length]="["+r.slice(l)+"]"}return n},d=function(e,t,r,n){if(e){var i=c(e,r);if(i)return u(i,t,r,n)}},h=function(e){if(!e)return a;
14if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?a.charset:e.charset,r=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==r&&"first"!==r&&"last"!==r)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||n.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:r,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:a.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:a.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}};e.exports=function(e,t){var r=h(t);if(""===e||null==e)return r.plainObjects?{__proto__:null}:{};for(var i="string"==typeof e?l(e,r):e,o=r.plainObjects?{__proto__:null}:{},a=Object.keys(i),s=0;s<a.length;++s){var u=a[s],c=d(u,i[u],r,"string"==typeof e);o=n.merge(o,c,r)}return!0===r.allowSparse?o:n.compact(o)}},74856:(e,t,r)=>{"use strict";var n=r(73923);t._=function(e,t){if(null==e)return{};var r,i,o,a={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}if(a=n._(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}},75983:(e,t,r)=>{"use strict";var n=r(19958),i=r(76957),o=r(69655),a=r(59974),s=r(59679),l=r(80415),u=r(249),c=r(42228),d=r(86788);function h(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&e.every(function(e,r){return h(t[r],e)}):e===t}function f(e){var t=e?f._parseNumbers(e):{};void 0===t.userToken||c(t.userToken)||console.warn("[algoliasearch-helper] The `userToken` parameter is invalid. This can lead to wrong analytics.\n - Format: [a-zA-Z0-9_-]{1,64}"),this.facets=t.facets||[],this.disjunctiveFacets=t.disjunctiveFacets||[],this.hierarchicalFacets=t.hierarchicalFacets||[],this.facetsRefinements=t.facetsRefinements||{},this.facetsExcludes=t.facetsExcludes||{},this.disjunctiveFacetsRefinements=t.disjunctiveFacetsRefinements||{},this.numericRefinements=t.numericRefinements||{},this.tagRefinements=t.tagRefinements||[],this.hierarchicalFacetsRefinements=t.hierarchicalFacetsRefinements||{};var r=this;Object.keys(t).forEach(function(e){var n=-1!==f.PARAMETERS.indexOf(e),i=void 0!==t[e];!n&&i&&(r[e]=t[e])})}f.PARAMETERS=Object.keys(new f),f._parseNumbers=function(e){if(e instanceof f)return e;var t={};if(["aroundPrecision","aroundRadius","getRankingInfo","minWordSizefor2Typos","minWordSizefor1Typo","page","maxValuesPerFacet","distinct","minimumAroun
14dRadius","hitsPerPage","minProximity"].forEach(function(r){var n=e[r];if("string"==typeof n){var i=parseFloat(n);t[r]=isNaN(i)?n:i}}),Array.isArray(e.insideBoundingBox)&&(t.insideBoundingBox=e.insideBoundingBox.map(function(e){return Array.isArray(e)?e.map(function(e){return parseFloat(e)}):e})),e.numericRefinements){var r={};Object.keys(e.numericRefinements).forEach(function(t){var n=e.numericRefinements[t]||{};r[t]={},Object.keys(n).forEach(function(e){var i=n[e].map(function(e){return Array.isArray(e)?e.map(function(e){return"string"==typeof e?parseFloat(e):e}):"string"==typeof e?parseFloat(e):e});r[t][e]=i})}),t.numericRefinements=r}return a(e,t)},f.make=function(e){var t=new f(e);return(e.hierarchicalFacets||[]).forEach(function(e){if(e.rootPath){var r=t.getHierarchicalRefinement(e.name);r.length>0&&0!==r[0].indexOf(e.rootPath)&&(t=t.clearRefinements(e.name)),0===(r=t.getHierarchicalRefinement(e.name)).length&&(t=t.toggleHierarchicalFacetRefinement(e.name,e.rootPath))}}),t},f.validate=function(e,t){var r=t||{};return e.tagFilters&&r.tagRefinements&&r.tagRefinements.length>0?Error("[Tags] Cannot switch from the managed tag API to the advanced API. It is probably an error, if it is really what you want, you should first clear the tags with clearTags method."):e.tagRefinements.length>0&&r.tagFilters?Error("[Tags] Cannot switch from the advanced tag API to the managed API. It is probably an error, if it is not, you should first clear the tags with clearTags method."):e.numericFilters&&r.numericRefinements&&s(r.numericRefinements)?Error("[Numeric filters] Can't switch from the advanced to the managed API. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):s(e.numericRefinements)&&r.numericFilters?Error("[Numeric filters] Can't switch from the managed API to the advanced. It is probably an error, if this is really what you want, you have to first clear the numeric filters."):null},f.prototype={constructor:f,clearRefinements:function(e){var t={numericRefinements:this._clearNumericRefinements(e),facetsRefinements:d.clearRefinement(this.facetsRefinements,e,"conjunctiveFacet"),facetsExcludes:d.clearRefinement(this.facetsExcludes,e,"exclude"),disjunctiveFacetsRefinements:d.clearRefinement(this.disjunctiveFacetsRefinements,e,"disjunctiveFacet"),hierarchicalFacetsRefinements:d.clearRefinement(this.hierarchicalFacetsRefinements,e,"hierarchicalFacet")};return t.numericRefinements===this.numericRefinements&&t.facetsRefinements===this.facetsRefinements&&t.facetsExcludes===this.facetsExcludes&&t.disjunctiveFacetsRefinements===this.disjunctiveFacetsRefinements&&t.hierarchicalFacetsRefinements===this.hierarchicalFacetsRefinements?this:this.setQueryParameters(t)},clearTags:function(){return void 0===this.tagFilters&&0===this.tagRefinements.length?this:this.setQueryParameters({tagFilters:void 0,tagRefinements:[]})},setIndex:function(e){return e===this.index?this:this.setQueryParameters({index:e})},setQuery:function(e){return e===this.query?this:this.setQueryParameters({query:e})},setPage:function(e){return e===this.page?this:this.setQueryParameters({page:e})},setFacets:function(e){return this.setQueryParameters({facets:e})},setDisjunctiveFacets:function(e){return this.setQueryParameters({disjunctiveFacets:e})},setHitsPerPage:function(e){return this.hitsPerPage===e?this:this.setQueryParameters({hitsPerPage:e})},setTypoTolerance:function(e){return this.typoTolerance===e?this:this.setQueryParameters({typoTolerance:e})},addNumericRefinement:function(e,t,r){var n=u(r);if(this.isNumericRefined(e,t,n))return this;var i=a({},this.numericRefinements);return i[e]=a({},i[e]),i[e][t]?(i[e][t]=i[e][t].slice(),i[e][t].push(n)):i[e][t]=[n],this.setQueryParameters({numericRefinements:i})},getConjunctiveRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsRefinements[e]||[]},getDisjunctiveRefinements:function(e){return this.isDisjunctiveFacet(e)&&this.disjunctiveFacetsRefinements[e]||[]},getHierarchicalRefinement:function(e){return this.hierarchicalFacetsRefinements[e]||[]},getExcludeRefinements:function(e){return this.isConjunctiveFacet(e)&&this.facetsExcludes[e]||[]},removeNumericRefinement:function(e,t,r){return void 0!==r?this.isNumericRefined(e,t,r)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(n,i){return i===e&&n.op===t&&h(n.val,u(r))})}):this:void 0!==t?this.isNumericRefined(e,t)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(r,n){return n===e&&r.op===t})}):this:this.isNumericRefined(e)?this.setQueryParameters({numericRefinements:this._clearNumericRefinements(function(t,r){return r===e})}):this},getNumericRefinements:function(e){return this.numericRefinements[e]||{}},getNumericRefinement:function(e,t){return this.numericRefinements[e]&&this.numericRefinements[e][t]},_clearNumericRefinements:function(e){if(void 0===e)return s(this.numericRefinements)?{}:this.numericRefinements;if("string"==typeof e)return l(this.numericRefinements,[e]);if("function"==typeof e){var t=!1,r=this.numericRefinements,n=Object.keys(r).reduce(function(n,i){var o=r[i],a={};return Object.keys(o=o||{}
vendor: 8,277 bytes, line 14
14).forEach(function(r){var n=o[r]||[],s=[];n.forEach(function(t){e({val:t,op:r},i,"numeric")||s.push(t)}),s.length!==n.length&&(t=!0),a[r]=s}),n[i]=a,n},{});return t?n:this.numericRefinements}},addFacet:function(e){return this.isConjunctiveFacet(e)?this:this.setQueryParameters({facets:this.facets.concat([e])})},addDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this:this.setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.concat([e])})},addHierarchicalFacet:function(e){if(this.isHierarchicalFacet(e.name))throw Error("Cannot declare two hierarchical facets with the same name: `"+e.name+"`");return this.setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.concat([e])})},addFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this:this.setQueryParameters({facetsRefinements:d.addRefinement(this.facetsRefinements,e,t)})},addExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this:this.setQueryParameters({facetsExcludes:d.addRefinement(this.facetsExcludes,e,t)})},addDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this:this.setQueryParameters({disjunctiveFacetsRefinements:d.addRefinement(this.disjunctiveFacetsRefinements,e,t)})},addTagRefinement:function(e){if(this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.concat(e)};return this.setQueryParameters(t)},removeFacet:function(e){return this.isConjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({facets:this.facets.filter(function(t){return t!==e})}):this},removeDisjunctiveFacet:function(e){return this.isDisjunctiveFacet(e)?this.clearRefinements(e).setQueryParameters({disjunctiveFacets:this.disjunctiveFacets.filter(function(t){return t!==e})}):this},removeHierarchicalFacet:function(e){return this.isHierarchicalFacet(e)?this.clearRefinements(e).setQueryParameters({hierarchicalFacets:this.hierarchicalFacets.filter(function(t){return t.name!==e})}):this},removeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsRefinements,e,t)?this.setQueryParameters({facetsRefinements:d.removeRefinement(this.facetsRefinements,e,t)}):this},removeExcludeRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return d.isRefined(this.facetsExcludes,e,t)?this.setQueryParameters({facetsExcludes:d.removeRefinement(this.facetsExcludes,e,t)}):this},removeDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return d.isRefined(this.disjunctiveFacetsRefinements,e,t)?this.setQueryParameters({disjunctiveFacetsRefinements:d.removeRefinement(this.disjunctiveFacetsRefinements,e,t)}):this},removeTagRefinement:function(e){if(!this.isTagRefined(e))return this;var t={tagRefinements:this.tagRefinements.filter(function(t){return t!==e})};return this.setQueryParameters(t)},toggleRefinement:function(e,t){return this.toggleFacetRefinement(e,t)},toggleFacetRefinement:function(e,t){if(this.isHierarchicalFacet(e))return this.toggleHierarchicalFacetRefinement(e,t);if(this.isConjunctiveFacet(e))return this.toggleConjunctiveFacetRefinement(e,t);if(this.isDisjunctiveFacet(e))return this.toggleDisjunctiveFacetRefinement(e,t);throw Error("Cannot refine the undeclared facet "+e+"; it should be added to the helper options facets, disjunctiveFacets or hierarchicalFacets")},toggleConjunctiveFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsRefinements:d.toggleRefinement(this.facetsRefinements,e,t)})},toggleExcludeFacetRefinement:function(e,t){if(!this.isConjunctiveFacet(e))throw Error(e+" is not defined in the facets attribute of the helper configuration");return this.setQueryParameters({facetsExcludes:d.toggleRefinement(this.facetsExcludes,e,t)})},toggleDisjunctiveFacetRefinement:function(e,t){if(!this.isDisjunctiveFacet(e))throw Error(e+" is not defined in the disjunctiveFacets attribute of the helper configuration");return this.setQueryParameters({disjunctiveFacetsRefinements:d.toggleRefinement(this.disjunctiveFacetsRefinements,e,t)})},toggleHierarchicalFacetRefinement:function(e,t){if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration");var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e)),i={};return void 0!==this.hierarchicalFacetsRefinements[e]&&this.hierarchicalFacetsRefinements[e].length>0&&(this.hierarchicalFacetsRefinements[e][0]===t||0===this.hierarchicalFacetsRefinements[e][0].indexOf(t+r))?-1===t.indexOf(r)?i[e]=[]:i[e]=[t.slice(0,t.lastIndexOf(r))]:i[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(i,this.hierarchicalFacetsRefinements)})},addHierarchicalFacetRefinement:function(e,t){if(this.isHierarchicalFacetRefined(e))throw Error(e+" is already refined.");if(!this.isHierarchicalFacet(e))throw Error(e+" is not defined in the hierarchicalFacets attribute of the helper configuration.");var r={};return r[e]=[t],this.setQueryParameters({hierarchicalFacetsRefinements:n(r,this.hierarchicalFacetsRefinements)})},removeHierarchicalFacetRefinement:function(e){if(!this.isHierarchicalFacetRefined(e))return this;var t={};return t[e]=[],this.setQueryParameters({hierarchicalFacetsRefinements:n(t,this.hierarchicalFacetsRefinements)})},toggleTagRefinement:function(e){return this.isTagRefined(e)?this.removeTagRefinement(e):this.addTagRefinement(e)},isDisjunctiveFacet:function(e){return this.disjunctiveFacets.indexOf(e)>-1},isHierarchicalFacet:function(e){return void 0!==this.getHierarchicalFacetByName(e)},isConjunctiveFacet:function(e){return this.facets.indexOf(e)>-1},isFacetRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsRefinements,e,t)},isExcludeRefined:function(e,t){return!!this.isConjunctiveFacet(e)&&d.isRefined(this.facetsExcludes,e,t)},isDisjunctiveFacetRefined:function(e,t){return!!this.isDisjunctiveFacet(e)&&d.isRefined(this.disjunctiveFacetsRefinements,e,t)},isHierarchicalFacetRefined:function(e,t){if(!this.isHierarchicalFacet(e))return!1;var r=this.getHierarchicalRefinement(e);return t?-1!==r.indexOf(t):r.length>0},isNumericRefined:function(e,t,r){if(void 0===r&&void 0===t)return!!this.numericRefinements[e];var n,o=this.numericRefinements[e]&&void 0!==this.numericRefinements[e][t];if(void 0===r||!o)return o;var a=u(r),s=void 0!==(n=this.numericRefinements[e][t],i(n,function(e){return h(e,a)}));return o&&s},isTagRefined:function(e){return -1!==this.tagRefinements.indexOf(e)},getRefinedDisjunctiveFacets:function(){var e=this,t=o(Object.keys(this.numericRefinements).filter(function(t){return Object.keys(e.numericRefinements[t]).length>0}),this.disjunctiveFacets);return Object.keys(this.disjunctiveFacetsRefinements).filter(function(t){return e.disjunctiveFacetsRefinements[t].length>0}).concat(t).concat(this.getRefinedHierarchicalFacets()).sort()},getRefinedHierarchicalFacets:function(){var e=this;return o(this.hierarchicalFacets.map(function(e){return e.name}),Object.keys(this.hierarchicalFacetsRefinements).filter(function(t){return e.hierarchicalFacetsRefinements[t].length>0})).sort()},getUnrefinedDisjunctiveFacets:function(){var e=this.getRefinedDisjunctiveFacets();return this.disjunctiveFacets.filter(function(t){return -1===e.indexOf(t)})},managedParameters:["index","facets","disjunctiveFacets","facetsRefinements","hierarchicalFacets","facetsExcludes","disjunctiveFacetsRefinements","numericRefinements","tagRefinements","hierarchicalFacetsRefinements"],getQueryParams:function(){var e=this.managedParameters,t={},r=this;
14return Object.keys(this).forEach(function(n){var i=r[n];-1===e.indexOf(n)&&void 0!==i&&(t[n]=i)}),t},setQueryParameter:function(e,t){if(this[e]===t)return this;var r={};return r[e]=t,this.setQueryParameters(r)},setQueryParameters:function(e){if(!e)return this;var t=f.validate(this,e);if(t)throw t;var r=this,n=f._parseNumbers(e),i=Object.keys(this).reduce(function(e,t){return e[t]=r[t],e},{}),o=Object.keys(n).reduce(function(e,t){var r=void 0!==e[t],i=void 0!==n[t];return r&&!i?l(e,[t]):(i&&(e[t]=n[t]),e)},i);return new this.constructor(o)},resetPage:function(){return void 0===this.page?this:this.setPage(0)},_getHierarchicalFacetSortBy:function(e){return e.sortBy||["isRefined:desc","name:asc"]},_getHierarchicalFacetSeparator:function(e){return e.separator||" > "},_getHierarchicalRootPath:function(e){return e.rootPath||null},_getHierarchicalShowParentLevel:function(e){return"boolean"!=typeof e.showParentLevel||e.showParentLevel},getHierarchicalFacetByName:function(e){return i(this.hierarchicalFacets,function(t){return t.name===e})},getHierarchicalFacetBreadcrumb:function(e){if(!this.isHierarchicalFacet(e))return[];var t=this.getHierarchicalRefinement(e)[0];if(!t)return[];var r=this._getHierarchicalFacetSeparator(this.getHierarchicalFacetByName(e));return t.split(r).map(function(e){return e.trim()})},toString:function(){return JSON.stringify(this,null,2)}},e.exports=f},76957:e=>{"use strict";e.exports=function(e,t){if(Array.isArray(e)){for(var r=0;r<e.length;r++)if(t(e[r]))return e[r]}}},77253:(e,t)=>{"use strict";function r(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(t._=r=function(){return!!e})()}t._=r},77328:(e,t,r)=>{e.exports=r(88022)},77785:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},77813:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return n}});let n=r(83615).unstable_rethrow;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78043:(e,t)=>
14{"use strict";t._=function(e,t){var r,n,i=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}},78121:e=>{"use strict";e.exports="u">typeof Reflect&&Reflect&&Reflect.apply},79437:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,d=1;function h(e){var t=e.match(r);t&&(c+=t.length);var n=e.lastIndexOf("\n");d=~n?e.length-n:d+e.length}function f(){var e={line:c,column:d};return function(t){return t.position=new p(e),g(n),t}}function p(e){this.start=e,this.end={line:c,column:d},this.source=l.source}function m(t){var r=Error(l.source+":"+c+":"+d+": "+t);if(r.reason=t,r.filename=l.source,r.line=c,r.column=d,r.source=e,l.silent);else throw r}function g(t){var r=t.exec(e);if(r){var n=r[0];return h(n),e=e.slice(n.length),r}}function y(e){var t;for(e=e||[];t=v();)!1!==t&&e.push(t);return e}function v(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return m("End of comment missing");var n=e.slice(2,r-2);return d+=2,h(n),e=e.slice(r),d+=2,t({type:"comment",comment:n})}}p.prototype.content=e,g(n);var b,w=[];for(y(w);b=function(){var e=f(),r=g(i);if(r){if(v(),!g(o))return m("property missing ':'");var n=g(a),l=e({type:"declaration",property:u(r[0].replace(t,"")),value:n?u(n[0].replace(t,"")):""});return g(s),l}}();)!1!==b&&(w.push(b),y(w));return w}},79459:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(14232),i=(0,n.createContext)(null);function o(){return(0,n.useContext)(i)}},79494:(e,t,r)=>{"use strict";function n(...e){return 1===e.length&&e[0]?e[0]:t=>{let r=!1,n=e.map(e=>{let n=i(e,t);return r||="function"==typeof n,n});if(r)return()=>{n.forEach((t,r)=>{"function"==typeof t?t():i(e[r],null)})}}}function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}r.d(t,{P:()=>n})},80301:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=r(14232),i=r(62640),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l({rootRef:e,rootMargin:t,disabled:r}){let u=r||!o,[c,d]=(0,n.useState)(!1),h=(0,n.useRef)(null),f=(0,n.useCallback)(e=>{h.current=e},[]);return(0,n.useEffect)(()=>{if(o){if(u||c)return;let r=h.current;if(r&&r.tagName)return function(e,t,r){let{id:n,observer:i,elements:o}=function(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=a.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),a.set(r,t),t}(r);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}(r,e=>e&&d(e),{root:e?.current,rootMargin:t})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,t,e,c,h.current]),[f,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80354:(e,t)=>{"use strict";function r(e,n){return t._=r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,n)}t._=r},80415:e=>{"use strict";e.exports=function(e,t){if(null===e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}},80611:(e,t,r)=>{"use strict";var n=r(93023);e.exports=function(e){return n(e)||0===e?e:e<0?-1:1}},80701:(e,t)=>{"use strict";t._=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}},80909:(e,t,r)=>{"use strict";function n(e,t){if(!e)return!1;let r=window.getComputedStyle(e),n=document.scrollingElement||document.documentElement,i=/(auto|scroll)/.test(r.overflow+r.overflowX+r.overflowY);
14return e===n&&"hidden"!==r.overflow&&(i=!0),i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}r.d(t,{o:()=>n})},81073:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,o=n&&i&&"function"==typeof i.get?i.get:null,a=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,h="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,p=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,P=RegExp.prototype.test,S=Array.prototype.concat,x=Array.prototype.join,R=Array.prototype.slice,C=Math.floor,T="function"==typeof BigInt?BigInt.prototype.valueOf:null,_=Object.getOwnPropertySymbols,I="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,A="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===A?"object":"symbol")?Symbol.toStringTag:null,D=Object.prototype.propertyIsEnumerable,O=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function F(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||P.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-C(-e):C(e);if(n!==e){var i=String(n),o=v.call(t,i.length+1);return b.call(i,r,"$&_")+"."+b.call(b.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,r,"$&_")}var N=r(42634),q=N.custom,j=H(q)?q:null,L={__proto__:null,double:'"',single:"'"},M={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function K(e,t,r){var n=L[r.quoteStyle||t];return n+e+n}function $(e){return!k||!("object"==typeof e&&(k in e||void 0!==e[k]))}function U(e){return"[object Array]"===z(e)&&$(e)}function B(e){return"[object RegExp]"===z(e)&&$(e)}function H(e){if(A)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}e.exports=function e(t,n,i,s){var l,m,w,P,C,_=n||{};if(V(_,"quoteStyle")&&!V(L,_.quoteStyle))throw TypeError('option "quoteStyle" must be "single" or "double"');if(V(_,"maxStringLength")&&("number"==typeof _.maxStringLength?_.maxStringLength<0&&_.maxStringLength!==1/0:null!==_.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var q=!V(_,"customInspect")||_.customInspect;if("boolean"!=typeof q&&"symbol"!==q)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(V(_,"indent")&&null!==_.indent&&" "!==_.indent&&!(parseInt(_.indent,10)===_.indent&&_.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(V(_,"numericSeparator")&&"boolean"!=typeof _.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var W=_.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,r){if(t.length>r.maxStringLength){var n=t.length-r.maxStringLength;return e(v.call(t,0,r.maxStringLength),r)+("... "+n)+" more character"+(n>1?"s":"")}var i=M[r.quoteStyle||"single"];return i.lastIndex=0,K(b.call(b.call(t,i,"\\$1"),/[\x00-\x1f]/g,Q),"single",r)}(t,_);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var et=String(t);return W?F(t,et):et}if("bigint"==typeof t){var er=String(t)+"n";return W?F(t,er):er}var en=void 0===_.depth?5:_.depth;if(void 0===i&&(i=0),i>=en&&en>0&&"object"==typeof t)return U(t)?"[Array]":"[Object]";var ei=function(e,t){var r;if(" "===e.indent)r=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=x.call(Array(e.indent+1)," ")}return{base:r,prev:x.call(Array(t+1),r)}}(_,i);if(void 0===s)s=[];else if(G(s,t)>=0)return"[Circular]";function eo(t,r,n){if(r&&(s=R.call(s)).push(r),n){var o={depth:_.depth};return V(_,"quoteStyle")&&(o.quoteStyle=_.quoteStyle),e(t,o,i+1,s)}return e(t,_,i+1,s)}if("function"==typeof t&&!B(t)){var ea=function(e){if(e.name)return e.name;var t=y.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),es=ee(t,eo);
14return"[Function"+(ea?": "+ea:" (anonymous)")+"]"+(es.length>0?" { "+x.call(es,", ")+" }":"")}if(H(t)){var el=A?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):I.call(t);return"object"!=typeof t||A?el:J(el)}if((eu=t)&&"object"==typeof eu&&("u">typeof HTMLElement&&eu instanceof HTMLElement||"string"==typeof eu.nodeName&&"function"==typeof eu.getAttribute)){for(var eu,ec,ed="<"+E.call(String(t.nodeName)),eh=t.attributes||[],ef=0;ef<eh.length;ef++){ed+=" "+eh[ef].name+"="+K((ec=eh[ef].value,b.call(String(ec),/"/g,""")),"double",_)}return ed+=">",t.childNodes&&t.childNodes.length&&(ed+="..."),ed+="</"+E.call(String(t.nodeName))+">"}if(U(t)){if(0===t.length)return"[]";var ep=ee(t,eo);return ei&&!function(e){for(var t=0;t<e.length;t++)if(G(e[t],"\n")>=0)return!1;return!0}(ep)?"["+Z(ep,ei)+"]":"[ "+x.call(ep,", ")+" ]"}if("[object Error]"===z(l=t)&&$(l)){var em=ee(t,eo);return"cause"in Error.prototype||!("cause"in t)||D.call(t,"cause")?0===em.length?"["+String(t)+"]":"{ ["+String(t)+"] "+x.call(em,", ")+" }":"{ ["+String(t)+"] "+x.call(S.call("[cause]: "+eo(t.cause),em),", ")+" }"}if("object"==typeof t&&q){if(j&&"function"==typeof t[j]&&N)return N(t,{depth:en-i});else if("symbol"!==q&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!o||!e||"object"!=typeof e)return!1;try{o.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var eg=[];return a&&a.call(t,function(e,r){eg.push(eo(r,t,!0)+" => "+eo(e,t))}),Y("Map",o.call(t),eg,ei)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{o.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ey=[];return c&&c.call(t,function(e){ey.push(eo(e,t))}),Y("Set",u.call(t),ey,ei)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{h.call(e,h)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{h.call(e,h);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if("[object Number]"===z(m=t)&&$(m))return J(eo(Number(t)));if(function(e){if(!e||"object"!=typeof e||!T)return!1;try{return T.call(e),!0}catch(e){}return!1}(t))return J(eo(T.call(t)));if("[object Boolean]"===z(w=t)&&$(w))return J(p.call(t));if("[object String]"===z(P=t)&&$(P))return J(eo(String(t)));if("u">typeof window&&t===window)return"{ [object Window] }";if("u">typeof globalThis&&t===globalThis||void 0!==r.g&&t===r.g)return"{ [object globalThis] }";if(!("[object Date]"===z(C=t)&&$(C))&&!B(t)){var ev=ee(t,eo),eb=O?O(t)===Object.prototype:t instanceof Object||t.constructor===Object,ew=t instanceof Object?"":"null prototype",eE=!eb&&k&&Object(t)===t&&k in t?v.call(z(t),8,-1):ew?"Object":"",eP=(eb||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(eE||ew?"["+x.call(S.call([],eE||[],ew||[]),": ")+"] ":"");return 0===ev.length?eP+"{}":ei?eP+"{"+Z(ev,ei)+"}":eP+"{ "+x.call(ev,", ")+" }"}return String(t)};var W=Object.prototype.hasOwnProperty||function(e){return e in this};function V(e,t){return W.call(e,t)}function z(e){return m.call(e)}function G(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return -1}function Q(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function J(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function Y(e,t,r,n){return e+" ("+t+") {"+(n?Z(r,n):x.call(r,", "))+"}"}function Z(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+x.call(e,","+r)+"\n"+t.prev}function ee(e,t){var r,n=U(e),i=[];if(n){i.length=e.length;for(var o=0;o<e.length;o++)i[o]=V(e,o)?t(e[o],e):""}var a="function"==typeof _?_(e):[];if(A){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var l in e)if(V(e,l)&&(!n||String(Number(l))!==l||!(l<e.length)))if(A&&r["$"+l]instanceof Symbol)continue;else P.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e));if("function"==typeof _)for(var u=0;u<a.length;
14u++)D.call(e,a[u])&&i.push("["+t(a[u])+"]: "+t(e[a[u]],e));return i}},81100:(e,t,r)=>{"use strict";r.d(t,{Q:()=>c});var n=r(14232),i=r.t(n,2),o=r(10362),a=i.use,s=r(70877),l=r(34451),u=r(94006);function c(e){var t,r,i,c=e.widget,d=e.parentIndex,h=e.props,f=e.shouldSsr,p=e.skipSuspense,m=(0,u.t)(),g=m.waitForResultsRef,y=m.countRef;m.ignoreMultipleHooksWarning;var v=(0,n.useRef)(h);(0,n.useEffect)(function(){v.current=h},[h]);var b=(0,n.useRef)(c);(0,n.useEffect)(function(){b.current=c},[c]);var w=(0,n.useRef)(null),E=f&&!d.getWidgets().includes(c),P=(0,s.I)();(0,l.E)(function(){var e=b.current;return w.current?(clearTimeout(w.current),(0,o.j)(h,v.current)||(d.removeWidgets([e]),d.addWidgets([c]))):f||d.addWidgets([c]),function(){w.current=setTimeout(function(){P._schedule(function(){P._preventWidgetCleanup||d.removeWidgets([e])})})}},[d,c,f,P,h]),(E||(null==g||null==(t=g.current)?void 0:t.status)==="pending")&&d.addWidgets([c]),(null==g?void 0:g.current)&&!p&&(a(g.current),"ais.dynamicWidgets"!==c.$$type&&(null==(i=P.helper)?void 0:i.lastResults)&&a(g.current)),(null==g||null==(r=g.current)?void 0:r.status)==="fulfilled"&&(y.current+=1)}},81151:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n="RFC3986";e.exports={default:n,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:n}},81370:(e,t)=>{"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,o=l(e),a=o[0],s=o[1],u=new i((a+s)*3/4-s),c=0,d=s>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=0,s=n-i;a<s;a+=16383)o.push(function(e,t,n){for(var i,o=[],a=t;a<n;a+=3)i=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(e,a,a+16383>s?s:a+16383));return 1===i?o.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&o.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=o.length;a<s;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},81719:(e,t,r)=>{"use strict";r.d(t,{Y:()=>f});let n=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),i=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);var o=r(6344),a=r(14232);let s=Symbol.for("react-aria.i18n.locale");function l(){let e="u">typeof window&&window[s]||"u">typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:!function(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),r="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(r)return"rtl"===r.direction;if(t.script)return n.has(t.script)}let t=e.split("-")[0];return i.has(t)}(e)?"ltr":"rtl"}}let u=l(),c=new Set;function d(){for(let e of(u=l(),c))e(u)}let h=a.createContext(null);function f(){let e=function(){let e=(0,o.wR)(),[t,r]=(0,a.useState)(u);return((0,a.useEffect)(()=>(0===c.size&&window.addEventListener("languagechange",d),c.add(r),()=>{c.delete(r),0===c.size&&window.removeEventListener("languagechange",d)}),[]),e)?{locale:"u">typeof window&&window[s]||"en-US",direction:"ltr"}:t}();return(0,a.useContext)(h)||e}},82002:(e,t,r)=>{"use strict";r.d(t,{O:()=>s,_:()=>a});var n=r(3696),i=r(98477),o=r(14232);function a(e,t=!0){let[r,i]=(0,o.useState)(!0),s=r&&t;return(0,n.N)(()=>{if(s&&e.current&&"getAnimations"in e.current)for(let t of e.current.getAnimations())t instanceof CSSTransition&&t.cancel()},[e,s]),l(e,s,(0,o.useCallback)(()=>i(!1),[])),s}function s(e,t){let[r,n]=(0,o.useState)(t?"open":"closed");switch(r){case"open":t||n("exiting");break;case"closed":case"exiting":t&&n("open")}let i="exiting"===r;return l(e,i,(0,o.useCallback)(()=>{n(e=>"exiting"===e?"closed":e)},[])),i}function l(e,t,r){(0,n.N)(()=>
14{if(t&&e.current){if(!("getAnimations"in e.current))return void r();let t=e.current.getAnimations();if(0===t.length)return void r();let n=!1;return Promise.allSettled(t.map(e=>e.finished)).then(()=>{n||(0,i.flushSync)(()=>{r()})}),()=>{n=!0}}},[e,t,r])}},82291:(e,t,r)=>{"use strict";var n=r(29196);t._=function(e,t){if(null==e)return{};var r,i,o,a={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}if(a=n._(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}},82554:(e,t,r)=>{"use strict";r.d(t,{y:()=>R});var n=r(41796),i=r(67096),o=r(48153),a=r(29786),s=r(32639),l=r(70977),u=r(27570),c=r(25885),d=r(23740),h=r(68092),f=r(80909);function p(e,t){let r=[],n=document.scrollingElement||document.documentElement;for(;e&&((0,f.o)(e,t)&&r.push(e),e!==n);)e=e.parentElement;return r}var m=r(84947);function g(e,t,r={}){let{block:n="nearest",inline:i="nearest"}=r;if(e===t)return;let o=e.scrollTop,a=e.scrollLeft,s=t.getBoundingClientRect(),l=e.getBoundingClientRect(),u=window.getComputedStyle(t),c=window.getComputedStyle(e),d=document.scrollingElement||document.documentElement,h=e===d,f=e===d?0:l.top,p=e===d?e.clientHeight:l.bottom,y=e===d?0:l.left,v=e===d?e.clientWidth:l.right,b=parseFloat(u.scrollMarginTop)||0,w=parseFloat(u.scrollMarginBottom)||0,E=parseFloat(u.scrollMarginLeft)||0,P=parseFloat(u.scrollMarginRight)||0,S=parseFloat(c.scrollPaddingTop)||0,x=parseFloat(c.scrollPaddingBottom)||0,R=parseFloat(c.scrollPaddingLeft)||0,C=parseFloat(c.scrollPaddingRight)||0,T=parseFloat(c.borderTopWidth)||0,_=parseFloat(c.borderBottomWidth)||0,I=parseFloat(c.borderLeftWidth)||0,A=parseFloat(c.borderRightWidth)||0,k=s.top-b,D=s.bottom+w,O=s.left-E,F=s.right+P,N=e===d?0:I+A,q=e===d?0:T+_,j=e===d?0:e.offsetWidth-e.clientWidth-N,L=e===d?0:e.offsetHeight-e.clientHeight-q,M=f+(h?0:T)+S,K=p-(h?0:_)-x-L,$=y+(h?0:I)+R,U=v-(h?0:A)-C;"rtl"!==c.direction||(0,m.un)()?U-=j:$+=j;let B=k<M||D>K,H=O<$||F>U;if(B&&"start"===n)o+=k-M;else if(B&&"center"===n)o+=(k+D)/2-(M+K)/2;else if(B&&"end"===n)o+=D-K;else if(B&&"nearest"===n){let e=k-M,t=D-K;o+=Math.abs(e)<=Math.abs(t)?e:t}if(H&&"start"===i)a+=O-$;else if(H&&"center"===i)a+=(O+F)/2-($+U)/2;else if(H&&"end"===i)a+=F-U;else if(H&&"nearest"===i){let e=O-$,t=F-U;a+=Math.abs(e)<=Math.abs(t)?e:t}e.scrollTo({left:a,top:o})}function y(e,t={}){let{containingElement:r}=t;if(e&&e.isConnected){let t=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(t).overflow){let{left:t,top:n}=e.getBoundingClientRect(),i=p(e,!0);for(let t of i)g(t,e);let{left:o,top:a}=e.getBoundingClientRect();if(Math.abs(t-o)>1||Math.abs(n-a)>1){for(let e of i=r?p(r,!0):[])g(e,r,{block:"center",inline:"center"});for(let t of p(e,!0))g(t,e)}}else{let{left:t,top:n}=e.getBoundingClientRect();e?.scrollIntoView?.({block:"nearest"});let{left:i,top:o}=e.getBoundingClientRect();(Math.abs(t-i)>1||Math.abs(n-o)>1)&&(r?.scrollIntoView?.({block:"center",inline:"center"}),e.scrollIntoView?.({block:"nearest"}))}}}var v=r(32929),b=r(81719),w=r(87802),E=r(14232),P=r(3696);function S(e,t){let r=(0,E.useRef)(!0),n=(0,E.useRef)(null);(0,P.N)(()=>(r.current=!0,()=>{r.current=!1}),[]),(0,P.N)(()=>{r.current?r.current=!1:(!n.current||t.some((e,t)=>!Object.is(e,n[t])))&&e(),n.current=t},t)}var x=r(98477);function R(e){let t,{selectionManager:r,keyboardDelegate:f,ref:p,autoFocus:m=!1,shouldFocusWrap:P=!1,disallowEmptySelection:R=!1,disallowSelectAll:C=!1,escapeKeyBehavior:T="clearSelection",selectOnFocus:_="replace"===r.selectionBehavior,disallowTypeAhead:I=!1,shouldUseVirtualFocus:A,allowsTabNavigation:k=!1,scrollRef:D=p,linkBehavior:O="action",UNSTABLE_focusOnEntry:F}=e,{direction:N}=(0,b.Y)(),q=(0,w.rd)(),j=(0,E.useRef)({top:0,left:0});(0,v._)(D,"scroll",()=>{j.current={top:D.current?.scrollTop??0,left:D.current?.scrollLeft??0}});let L=(0,E.useRef)(!1);(0,v._)(p,"react-aria-focus",A?e=>{let{detail:t}=e;e.stopPropagation(),r.setFocused(!0),t?.focusStrategy==="first"&&(L.current=!0)}:void 0);let M=f.getFirstKey?.()??null;S(()=>
14{if(L.current)if(null==M){let e=(0,a.bq)();(0,n.vX)(p.current),(0,n.Ig)(e,null),r.collection.size>0&&(L.current=!1)}else r.setFocusedKey(M),L.current=!1},[M,r.collection.size]),S(()=>{r.collection.size>0&&(L.current=!1)},[r.focusedKey]),(0,v._)(p,"react-aria-clear-focus",A?e=>{e.stopPropagation(),r.setFocused(!1),e.detail?.clearFocusKey&&r.setFocusedKey(null)}:void 0);let K=(0,E.useRef)(m),$=(0,E.useRef)(!1);(0,E.useEffect)(()=>{if(K.current){let e=null;"first"===m&&(e=f.getFirstKey?.()??null),"last"===m&&(e=f.getLastKey?.()??null);let t=r.selectedKeys;if(t.size){for(let n of t)if(r.canSelectItem(n)){e=n;break}}r.setFocused(!0),r.setFocusedKey(e),null==e&&!A&&p.current&&(0,i.l)(p.current),r.collection.size>0&&(K.current=!1,$.current=!0)}});let U=(0,E.useRef)(r.focusedKey),B=(0,E.useRef)(null);(0,E.useEffect)(()=>{if(r.isFocused&&null!=r.focusedKey&&(r.focusedKey!==U.current||$.current)&&D.current&&p.current){let e=(0,l.ME)(),t=(0,u.au)(p,r.focusedKey);if(!(t instanceof HTMLElement))return;("keyboard"===e||$.current)&&(B.current&&cancelAnimationFrame(B.current),B.current=requestAnimationFrame(()=>{D.current&&(g(D.current,t),"virtual"!==e&&y(t,{containingElement:p.current}))}))}!A&&r.isFocused&&null==r.focusedKey&&null!=U.current&&p.current&&(0,i.l)(p.current),U.current=r.focusedKey,$.current=!1}),(0,E.useEffect)(()=>()=>{B.current&&cancelAnimationFrame(B.current)},[]),(0,v._)(p,"react-aria-focus-scope-restore",e=>{e.preventDefault(),r.setFocused(!0)});let H={onKeyDown:e=>{if(e.altKey&&"Tab"===e.key&&e.preventDefault(),!p.current||!(0,a.sD)(p.current,(0,a.wt)(e)))return;let t=(t,n)=>{if(null!=t){if(r.isLink(t)&&"selection"===O&&_&&!(0,u.N9)(e)){(0,x.flushSync)(()=>{r.setFocusedKey(t,n)});let i=(0,u.au)(p,t),o=r.getItemProps(t);i&&q.open(i,e,o.href,o.routerOptions);return}r.setFocusedKey(t,n),r.isLink(t)&&"override"===O||(e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):_&&!(0,u.N9)(e)&&r.replaceSelection(t))}};switch(e.key){case"ArrowDown":if(f.getKeyBelow){let n=null!=r.focusedKey?f.getKeyBelow?.(r.focusedKey):f.getFirstKey?.();null==n&&P&&(n=f.getFirstKey?.(r.focusedKey)),null!=n&&(e.preventDefault(),t(n))}break;case"ArrowUp":if(f.getKeyAbove){let n=null!=r.focusedKey?f.getKeyAbove?.(r.focusedKey):f.getLastKey?.();null==n&&P&&(n=f.getLastKey?.(r.focusedKey)),null!=n&&(e.preventDefault(),t(n))}break;case"ArrowLeft":if(f.getKeyLeftOf){let n=null!=r.focusedKey?f.getKeyLeftOf?.(r.focusedKey):f.getFirstKey?.();null==n&&P&&(n="rtl"===N?f.getFirstKey?.(r.focusedKey):f.getLastKey?.(r.focusedKey)),null!=n&&(e.preventDefault(),t(n,"rtl"===N?"first":"last"))}break;case"ArrowRight":if(f.getKeyRightOf){let n=null!=r.focusedKey?f.getKeyRightOf?.(r.focusedKey):f.getFirstKey?.();null==n&&P&&(n="rtl"===N?f.getLastKey?.(r.focusedKey):f.getFirstKey?.(r.focusedKey)),null!=n&&(e.preventDefault(),t(n,"rtl"===N?"last":"first"))}break;case"Home":if(f.getFirstKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=f.getFirstKey(r.focusedKey,(0,c.B)(e));r.setFocusedKey(t),null!=t&&((0,c.B)(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):_&&r.replaceSelection(t))}break;case"End":if(f.getLastKey){if(null===r.focusedKey&&e.shiftKey)return;e.preventDefault();let t=f.getLastKey(r.focusedKey,(0,c.B)(e));r.setFocusedKey(t),null!=t&&((0,c.B)(e)&&e.shiftKey&&"multiple"===r.selectionMode?r.extendSelection(t):_&&r.replaceSelection(t))}break;case"PageDown":if(f.getKeyPageBelow&&null!=r.focusedKey){let n=f.getKeyPageBelow(r.focusedKey);null!=n&&(e.preventDefault(),t(n))}break;case"PageUp":if(f.getKeyPageAbove&&null!=r.focusedKey){let n=f.getKeyPageAbove(r.focusedKey);null!=n&&(e.preventDefault(),t(n))}break;case"a":(0,c.B)(e)&&"multiple"===r.selectionMode&&!0!==C&&(e.preventDefault(),r.selectAll());break;case"Escape":"clearSelection"!==T||R||0===r.selectedKeys.size||(e.stopPropagation(),e.preventDefault(),r.clearSelection());break;case"Tab":if(!k)if(e.shiftKey)p.current.focus();else{let e,t,r=(0,s.N$)(p.current,{tabbable:!0});do(t=r.lastChild())&&(e=t);while(t);let n=(0,a.bq)();e&&(!(0,a.ae)(e)||n&&!(0,d.A)(n))&&(0,o.e)(e)}}},onFocus:e=>{if(r.isFocused){(0,a.sD)(e.currentTarget,(0,a.wt)(e))||r.setFocused(!1);return}if(!(0,a.sD)(e.currentTarget,(0,a.wt)(e)))return;let t=(0,l.ME)();r.setFocused(!0);let n=e=>{null!=e&&(r.setFocusedKey(e),_&&!r.isSelected(e)&&r.replaceSelection(e))};if(F&&("keyboard"===t||"virtual"===t))n("first"===F?f.getFirstKey?.():f.getLastKey?.());else if(null==r.focusedKey){let t=e.relatedTarget;t&&e.currentTarget.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?n(r.lastSelectedKey??f.getLastKey?.()):n(r.firstSelectedKey??f.getFirstKey?.())}else D.current&&(D.current.scrollTop=j.current.top,D.current.scrollLeft=j.current.left);if(null!=r.focusedKey&&D.current){let e=(0,u.au)(p,r.focusedKey);e instanceof HTMLElement&&((0,a.ae)(e)||A||(0,o.e)(e),("keyboard"===t||F&&"virtual"===t)&&y(e,{containingElement:p.current}))}},onBlur:e=>{(0,a.sD)(e.currentTarget,e.relatedTarget)||r.setFocused(!1)},onMouseDown(e){D.current===(0,a.wt)(e)&&e.preventDefault()}}
14,{typeSelectProps:W}=function(e){let{keyboardDelegate:t,selectionManager:r,onTypeSelect:n}=e,i=(0,E.useRef)({search:"",timeout:void 0});return(0,E.useEffect)(()=>{let e=i.current.timeout;return()=>{clearTimeout(e)}},[i]),{typeSelectProps:{onKeyDownCapture:t.getKeyForSearch?e=>{if(i.current.search.length>0&&" "===e.key){if(e.preventDefault(),"continuePropagation"in e&&(!("continuePropagation"in e)||e.isPropagationStopped())||e.stopPropagation(),i.current.search+=" ",null!=t.getKeyForSearch){let e=t.getKeyForSearch(i.current.search,r.focusedKey);null==e&&(e=t.getKeyForSearch(i.current.search)),null!=e&&(r.setFocusedKey(e),n&&n(e))}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},1e3)}}:void 0,onKeyDown:t.getKeyForSearch?e=>{var o;let s=1!==(o=e.key).length&&/^[A-Z]/i.test(o)?"":o;if(s&&!e.ctrlKey&&!e.metaKey&&!e.altKey&&(0,a.sD)(e.currentTarget,(0,a.wt)(e))&&(0!==i.current.search.length||" "!==s)){if(i.current.search+=s,null!=t.getKeyForSearch){let o=t.getKeyForSearch(i.current.search,r.focusedKey);if(null==o&&(o=t.getKeyForSearch(i.current.search)),null!=o)r.setFocusedKey(o),n&&n(o),e.preventDefault(),"continuePropagation"in e||e.stopPropagation();else{i.current.search="",clearTimeout(i.current.timeout),i.current.timeout=void 0;return}}clearTimeout(i.current.timeout),i.current.timeout=setTimeout(()=>{i.current.search=""},1e3)}}:void 0}}}({keyboardDelegate:f,selectionManager:r});I||(H=(0,h.v)(W,H)),A||(t=null==r.focusedKey?0:-1);let V=(0,u.j5)(r.collection);return{collectionProps:(0,h.v)(H,{tabIndex:t,"data-collection":V})}}},82909:(e,t,r)=>{"use strict";var n=r(81370),i=r(87247),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!s.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),l=a(o),u=l.write(n,i);return u!==o&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e)){var c=e;if(I(c,Uint8Array)){var m=new Uint8Array(c);return h(m.buffer,m.byteOffset,m.byteLength)}return d(c)}if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(I(e,ArrayBuffer)||e&&I(e.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(I(e,SharedArrayBuffer)||e&&I(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var g=e.valueOf&&e.valueOf();if(null!=g&&g!==e)return s.from(g,t,r);var y=function(e){if(s.isBuffer(e)){var t=0|f(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(y)return y;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|f(e))}function d(e){for(var t=e.length<0?0:0|f(e.length),r=a(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),s.prototype),n}function f(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||I(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return T(e).length;default:if(i)return n?-1:C(e).length;t=(""+t).toLowerCase(),i=!0}}function m(e,t,r){var i,o,a,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=A[e[o]];return i}(this,t,r);case"utf8":case"utf-8":return b(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,o=t,a=r,0===o&&a===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,t,r);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function g(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){var o;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=s.from(t,n)),s.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return v(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;
vendor: 13,788 bytes, line 14
14o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else -1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return -1}function b(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:(192&(o=e[i+1]))==128&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],(192&o)==128&&(192&a)==128&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],(192&o)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}var h=n,f=h.length;if(f<=4096)return String.fromCharCode.apply(String,h);for(var p="",m=0;m<f;)p+=String.fromCharCode.apply(String,h.slice(m,m+=4096));return p}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function E(e,t,r,n,i,o){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function P(e,t,r,n,i,o){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function S(e,t,r,n,o){return t*=1,r>>>=0,o||P(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function x(e,t,r,n,o){return t*=1,r>>>=0,o||P(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}t.hp=s,t.IS=50,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},s.allocUnsafe=function(e){return c(e)},s.allocUnsafeSlow=function(e){return c(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),I(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=s.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(I(o,Uint8Array))i+o.length>n.length?s.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else if(s.isBuffer(o))o.copy(n,i);else throw TypeError('"list" argument must be an Array of Buffers');i+=o.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?b(this,0,e):m.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",r=t.IS;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(s.prototype[o]=s.prototype.inspect),s.prototype.compare=function(e,t,r,n,i){if(I(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var o=i-n,a=r-t,l=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),d=0;d<l;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:+(a<o)},s.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},s.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},s.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},s.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,a,s,l,u,c,d,h=this.length-t;if((void 0===r||r>h)&&(r=h),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var f=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s,l=parseInt(t.substr(2*a,2),16);if((s=l)!=s)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return i=t,o=r,_(C(e,this.length-i),this,i,o);case"ascii":case"latin1":case"binary":return a=t,s=r,_(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(e),this,a,s);case"base64":return l=t,u=r,_(T(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,d=r,_(function(e,t){for(var r,n,i=[],o=0;o<e.length&&!((t-=2)<0);++o)n=(r=e.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(e,this.length-c),this,c,d);default:if(f)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},s.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},s.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=1,a=0;for(this[t]=255&e;++a<r&&(o*=256);)this[t+a]=e/o&255;return t+r},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;E(this,e,t,r,i,0)}var o=r-1,a=1;for(this[t+o]=255&e;--o>=0&&(a*=256);)this[t+o]=e/a&255;return t+r},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);E(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},s.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||E(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,r){return S(this,e,t,!0,r)},s.prototype.writeFloatBE=function(e,t,r){return S(this,e,t,!1,r)},s.prototype.writeDoubleLE=function(e,t,r){return x(this,e,t,!0,r)},s.prototype.writeDoubleBE=function(e,t,r){return x(this,e,t,!1,r)},s.prototype.copy=function(e,t,r,n){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},s.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=s.isBuffer(e)?e:s.from(e,n),l=a.length;
14if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%l]}return this};var R=/[^+/0-9A-Za-z-_]/g;function C(e,t){t=t||1/0;for(var r,n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319||a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function T(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(R,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function _(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function I(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},83044:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={ReadonlyURLSearchParams:function(){return o.ReadonlyURLSearchParams},RedirectType:function(){return h},forbidden:function(){return l.forbidden},notFound:function(){return s.notFound},permanentRedirect:function(){return a.permanentRedirect},redirect:function(){return a.redirect},unauthorized:function(){return u.unauthorized},unstable_isUnrecognizedActionError:function(){return d},unstable_rethrow:function(){return c.unstable_rethrow}};for(var i in n)Object.defineProperty(t,i,{enumerable:!0,get:n[i]});let o=r(90713),a=r(963),s=r(58497),l=r(6764),u=r(54989),c=r(77813);function d(){throw Object.defineProperty(Error("`unstable_isUnrecognizedActionError` can only be used on the client."),"__NEXT_ERROR_CODE",{value:"E776",enumerable:!1,configurable:!0})}let h={push:"push",replace:"replace"};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83516:(e,t)=>{"use strict";function r(){return t._=r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},r.apply(this,arguments)}t._=r},83615:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"unstable_rethrow",{enumerable:!0,get:function(){return function e(t){if((0,i.isNextRouterError)(t)||(0,n.isBailoutToCSRError)(t))throw t;t instanceof Error&&"cause"in t&&e(t.cause)}}});let n=r(4808),i=r(57804);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},83821:(e,t,r)=>{"use strict";r.d(t,{u:()=>y});var n=r(8768),i=r(5382),o=r(95253),a=r(96531),s=r(65399),l=r(55120);function u(e){var t=e.helper,r=e.widgetType;e.methodName;var n=e.args,o=e.instantSearchInstance;if(1===n.length&&"object"===(0,s._)(n[0]))return[n[0]];var l=(0,a._)(n[0].split(":"),2),u=l[0],c=l[1],d=n[1],h=n[2],f=n[3]||{};if(!d||("click"===u||"conversion"===u)&&!h)return[];var p=Array.isArray(d)?d:[d];if(0===p.length)return[];var m=p[0].__queryID,g=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,r=[],n=0;n<Math.ceil(e.length/t);n++)r.push(e.slice(n*t,(n+1)*t));return r}(p),y=g.map(function(e){return e.map(function(e){return e.objectID})}),v=g.map(function(e){return e.map(function(e){return e.__position})});return"view"===u?"idle"!==o.status?[]:g.map(function(e,n){var o;return{insightsMethod:"viewedObjectIDs",widgetType:r,eventType:u,payload:(0,i._)({eventName:h||"Hits Viewed",index:(null==(o=t.lastResults)?void 0:o.index)||t.state.index,objectIDs:y[n]},f),hits:e,eventModifier:c}}):"click"===u?g.map(function(e,n){var o;return{insightsMethod:"clickedObjectIDsAfterSearch",widgetType:r,eventType:u,payload:(0,i._)({eventName:h||"Hit Clicked",index:(null==(o=t.lastResults)?void 0:o.index)||t.state.index,queryID:m,objectIDs:y[n],positions:v[n]},f),hits:e,eventModifier:c}}):"conversion"===u?g.map(function(e,n){var o;return{insightsMethod:"convertedObjectIDsAfterSearch",widgetType:r,eventType:u,payload:(0,i._)({eventName:h||"Hit Converted",index:(null==(o=t.lastResults)?void 0:o.index)||t.state.index,queryID:m,objectIDs:y[n]},f),hits:e,eventModifier:c}}):[]}var c=r(2230),d=r(54360),h=r(59978),f=r(49560),p=(0,c.V)({name:"hits",connector:!0}),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:f.l;return(0,d.t)(e,p()),function(r){var a,s,c=r||{},d=c.escapeHTML,f=void 0===d||d,p=c.transformItems,m=void 0===p?function(e){return e}:p;return{$$type:"ais.hits",init:function(t){e((0,o._)((0,i._)({},this.getWidgetRenderState(t)),{instantSearchInstance:t.instantSearchInstance}),!0)},render:function(t){var r=this.getWidgetRenderState(t);e((0,o._)((0,i._)({},r),{instantSearchInstance:t.instantSearchInstance}),!1),r.sendEvent("view:internal",r.items)},getRenderState:function(e,t){return(0,o._)((0,i._)({},e),{hits:this.getWidgetRenderState(t)})},getWidgetRenderState:function(e){var t,n,c,d,p,g,y,v,b,w,E,P,S,x,R,C,T,_,I=e.results,A=e.helper,k=e.instantSearchInstance;if(a||(n=(t={instantSearchInstance:k,helper:A,widgetType:this.$$type}).instantSearchInstance,c=t.helper,d=t.widgetType,p={},g=void 0,a=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];u({widgetType:d,helper:c,methodName:"sendEvent",args:t,instantSearchInstance:n}
14).forEach(function(e){"click"===e.eventType&&"internal"===e.eventModifier&&p[e.eventType]||(p[e.eventType]=!0,n.sendEventToInsights(e))}),clearTimeout(g),g=setTimeout(function(){p={}},0)}),s||(v=(y={helper:A,widgetType:this.$$type,instantSearchInstance:k}).helper,b=y.widgetType,w=y.instantSearchInstance,s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=u({widgetType:b,helper:v,methodName:"bindEvent",args:t,instantSearchInstance:w});return n.length?"data-insights-event=".concat((0,l.h)(n)):""}),!I)return{hits:[],items:[],results:void 0,banner:void 0,sendEvent:a,bindEvent:s,widgetParams:r};f&&I.hits.length>0&&(I.hits=(0,h.S8)(I.hits));var D=m((E=I.hits,P=I.page,S=I.hitsPerPage,x=E.map(function(e,t){return(0,o._)((0,i._)({},e),{__position:S*P+t+1})}),(R=I.queryID)?x.map(function(e){return(0,o._)((0,i._)({},e),{__queryID:R})}):x),{results:I}),O=null==(_=I.renderingContent)||null==(T=_.widgets)||null==(C=T.banners)?void 0:C[0];return{hits:D,items:D,results:I,banner:O,sendEvent:a,bindEvent:s,widgetParams:r}},dispose:function(e){var r=e.state;return(t(),f)?r.setQueryParameters(Object.keys(h.FU).reduce(function(e,t){return(0,o._)((0,i._)({},e),(0,n._)({},t,void 0))},{})):r},getWidgetSearchParameters:function(e,t){return f?e.setQueryParameters(h.FU):e}}}},g=r(86088);function y(e,t){return(0,g.Z)(m,e,t)}},83833:function(e,t,r){"use strict";var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(71326)),i=r(24181);function o(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,i.camel
14Case)(e,t)]=n)}),r}o.default=o,e.exports=o},84947:(e,t,r)=>{"use strict";function n(e){if("u"<typeof window||null==window.navigator)return!1;let t=window.navigator.userAgentData?.brands;return Array.isArray(t)&&t.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function i(e){return"u">typeof window&&null!=window.navigator&&e.test(window.navigator.userAgentData?.platform||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}r.d(t,{H8:()=>h,Tc:()=>d,bh:()=>l,cX:()=>a,gm:()=>p,lg:()=>c,m0:()=>f,un:()=>u});let a=o(function(){return i(/^Mac/i)}),s=o(function(){return i(/^iPhone/i)}),l=o(function(){return i(/^iPad/i)||a()&&navigator.maxTouchPoints>1}),u=o(function(){return s()||l()}),c=o(function(){return a()||u()}),d=o(function(){return n(/AppleWebKit/i)&&!h()}),h=o(function(){return n(/Chrome/i)}),f=o(function(){return n(/Android/i)}),p=o(function(){return n(/Firefox/i)})},85125:e=>{"use strict";e.exports={escapeFacetValue:function(e){return"string"!=typeof e?e:String(e).replace(/^-/,"\\-")},unescapeFacetValue:function(e){return"string"!=typeof e?e:e.replace(/^\\-/,"-")}}},85998:(e,t,r)=>{"use strict";var n=r(20481);t._=function(e,t){if(null==e)return{};var r,i,o,a={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}if(a=n._(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}},86088:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var n=r(21393),i=r(74856),o=r(7436),a=r(49131),s=r(14232),l=r(10362),u=r(55034),c=r(11701);function d(e){var t,r,n;return new c.SearchResults(e,[{query:null!=(t=e.query)?t:"",page:null!=(r=e.page)?r:0,hitsPerPage:null!=(n=e.hitsPerPage)?n:20,hits:[],nbHits:0,nbPages:0,params:"",exhaustiveNbHits:!0,exhaustiveFacetsCount:!0,processingTimeMS:0,index:e.index}],{__isArtificial:!0})}var h=r(37846),f=r(70877),p=r(79459),m=r(48060),g=r(2091),y=r(81100);function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,c=(0,a._)([t,r]),v=c[0],b=c.slice(1),w=(0,o._)(b,1)[0],E=void 0===w?{}:w,P=E.skipSuspense,S=(0,i._)(E,["skipSuspense"]),x=(0,p.r)(),R=(0,m.m)(),C=(0,f.I)(),T=(0,h.R)(),_=(0,g.w)(void 0===v?{}:v),I=(0,g.w)(S),A=(0,s.useRef)(!0),k=(0,s.useRef)(null),D=(0,s.useRef)(C.status),O=(0,s.useMemo)(function(){var t=e(function(e,t){if(t){A.current=!0;return}if(A.current){var r=e.instantSearchInstance;e.widgetParams;var n=(0,i._)(e,["instantSearchInstance","widgetParams"]);(0,l.j)(n,k.current,function(e,t){return(null==e?void 0:e.constructor)===Function&&(null==t?void 0:t.constructor)===Function})&&r.status===D.current||(q(n),k.current=n,D.current=r.status)}},function(){A.current=!1});return(0,n._)({},t(_),I)},[e,_,I]),F=(0,o._)((0,s.useState)(function(){if(O.getWidgetRenderState){var e,t,r,o,a=T.getHelper(),s=T.getWidgetUiState({})[T.getIndexId()];a.state=(null==(o=O.getWidgetSearchParameters)?void 0:o.call(O,a.state,{uiState:s}))||a.state;var l=(e=T.getHelper(),t=T.getResults()||d(e.state),r=T.getScopedResults().map(function(e){var r=e.indexId===T.getIndexId()?t:d(e.helper.state);return(0,u._)((0,n._)({},e),{results:e.results||r})}),{results:t,scopedResults:r,recommendResults:e.lastRecommendResults}),c=l.results,h=l.scopedResults,f=l.recommendResults,p=O.getWidgetRenderState({helper:a,parent:T,instantSearchInstance:C,results:"recommend"===O.dependsOn&&f&&R?f[R.recommendIdx.current++]:c,scopedResults:h,state:a.state,renderState:C.renderState,templatesConfig:C.templatesConfig,createURL:T.createURL,searchMetadata:{isSearchStalled:"stalled"===C.status},status:C.status,error:C.error});return p.widgetParams,(0,i._)(p,["widgetParams"])}return{}}),2),N=F[0],q=F[1];return(0,y.Q)({widget:O,parentIndex:T,props:_,shouldSsr:!!x,skipSuspense:void 0!==P&&P}),N}},86092:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce(function(e,t){return e[t.toLowerCase()]=t,e},{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},86306:(e,t)=>{"use strict";function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}t._=function(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}},86473:(e,t,r)=>{"use strict";r.d(t,{hJ:()=>d,Se:()=>h});
14var n=r(16445),i=r(32639),o=r(6344),a=r(3696),s=r(14232);let l=(0,s.createContext)({});var u=r(98477);let c=s.createContext(null);function d(e){let t=(0,o.wR)(),{portalContainer:r=t?null:document.body,isExiting:a}=e,[d,h]=(0,s.useState)(!1),f=(0,s.useMemo)(()=>({contain:d,setContain:h}),[d,h]),{getContainer:p}=(0,s.useContext)(l)??{};if(!e.portalContainer&&p&&(r=p()),!r)return null;let m=e.children;return e.disableFocusManagement||(m=s.createElement(i.n1,{restoreFocus:!0,contain:(e.shouldContainFocus||d)&&!a},m)),m=s.createElement(c.Provider,{value:f},s.createElement(n.N,null,m)),u.createPortal(m,r)}function h(){let e=(0,s.useContext)(c),t=e?.setContain;(0,a.N)(()=>{t?.(!0)},[t])}},86558:e=>{"use strict";e.exports="u">typeof Reflect&&Reflect.getPrototypeOf||null},86649:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>i});var n=r(29006);let i=n.default||n},86788:(e,t,r)=>{"use strict";var n=r(19958),i=r(59679),o=r(80415),a={addRefinement:function(e,t,r){if(a.isRefined(e,t,r))return e;var i=""+r,o=e[t]?e[t].concat(i):[i],s={};return s[t]=o,n(s,e)},removeRefinement:function(e,t,r){if(void 0===r)return a.clearRefinement(e,function(e,r){return t===r});var n=""+r;return a.clearRefinement(e,function(e,r){return t===r&&n===e})},toggleRefinement:function(e,t,r){if(void 0===r)throw Error("toggleRefinement should be used with a value");return a.isRefined(e,t,r)?a.removeRefinement(e,t,r):a.addRefinement(e,t,r)},clearRefinement:function(e,t,r){if(void 0===t)return i(e)?{}:e;if("string"==typeof t)return o(e,[t]);if("function"==typeof t){var n=!1,a=Object.keys(e).reduce(function(i,o){var a=e[o]||[],s=a.filter(function(e){return!t(e,o,r)});return s.length!==a.length&&(n=!0),i[o]=s,i},{});return n?a:e}},isRefined:function(e,t,r){var n=!!e[t]&&e[t].length>0;return void 0!==r&&n?-1!==e[t].indexOf(""+r):n}};e.exports=a},87100:(e,t,r)=>{"use strict";function n(e,t,r,n,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}let i={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{i[e]=new n(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{i[e]=new n(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{i[e]=new n(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{i[e]=new n(e,2,!1,e,null,!1,!1)}),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach(e=>{i[e]=new n(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{i[e]=new n(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{i[e]=new n(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{i[e]=new n(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{i[e]=new n(e,5,!1,e.toLowerCase(),null,!1,!1)});let o=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode
14-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,null,!1,!1)}),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{let t=e.replace(o,a);i[t]=new n(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!1,!1)}),i.xlinkHref=new n("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{i[e]=new n(e,1,!1,e.toLowerCase(),null,!0,!0)});let{CAMELCASE:s,SAME:l,possibleStandardNames:u}=r(34739),c=RegExp.prototype.test.bind(RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(u).reduce((e,t)=>{let r=u[t];return r===l?e[t]=t:r===s?e[t.toLowerCase()]=t:e[t]=r,e},{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return i.hasOwnProperty(e)?i[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},87247:(e,t)=>{t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=u}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=5960464477539062e-23*(23===i),f=n?0:o-1,p=n?1:-1,m=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(s=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+d>=1?t+=h/l:t+=h*Math.pow(2,1-d),t*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*m}},87535:e=>{"use strict";e.exports=function(e){return Array.isArray(e)?e.filter(Boolean):[]}},87577:(e,t,r)=>{"use strict";var n=r(63974),i=r(27656),o=r(16968),a=r(35152);t._=function(e){return n._(e)||i._(e)||a._(e)||o._()}},87802:(e,t,r)=>{"use strict";r.d(t,{Fe:()=>l,PJ:()=>c,_h:()=>u,rd:()=>s});var n=r(48153),i=r(84947),o=r(14232);let a=(0,o.createContext)({isNative:!0,open:function(e,t){if(e instanceof HTMLAnchorElement)l(e,t);else if(e.hasAttribute("data-href")){let r=document.createElement("a");r.href=e.getAttribute("data-href"),e.hasAttribute("data-target")&&(r.target=e.getAttribute("data-target")),e.hasAttribute("data-rel")&&(r.rel=e.getAttribute("data-rel")),e.hasAttribute("data-download")&&(r.download=e.getAttribute("data-download")),e.hasAttribute("data-ping")&&(r.ping=e.getAttribute("data-ping")),e.hasAttribute("data-referrer-policy")&&(r.referrerPolicy=e.getAttribute("data-referrer-policy")),e.appendChild(r),l(r,t),e.removeChild(r)}},useHref:e=>e});function s(){return(0,o.useContext)(a)}function l(e,t,r=!0){let{metaKey:o,ctrlKey:a,altKey:s,shiftKey:u}=t;(0,i.gm)()&&window.event?.type?.startsWith("key")&&"_blank"===e.target&&((0,i.cX)()?o=!0:a=!0);let c=(0,i.Tc)()&&(0,i.cX)()&&!(0,i.bh)()&&1?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:o,ctrlKey:a,altKey:s,shiftKey:u}):new MouseEvent("click",{metaKey:o,ctrlKey:a,altKey:s,shiftKey:u,detail:1,bubbles:!0,cancelable:!0});l.isOpening=r,(0,n.e)(e),e.dispatchEvent(c),l.isOpening=!1}function u(e){let t=s().useHref(e?.href??""),r={};if(e)for(let n of["href","target","rel","download","ping","referrerPolicy"])n in e&&(r[n]="href"===n?t:e[n]);return r}function c(e,t,r,n){var i;let o;!(!t.isNative&&e.currentTarget instanceof HTMLAnchorElement)||!e.currentTarget.href||e.isDefaultPrevented()||(i=e.currentTarget,(o=i.getAttribute("target"))&&"_self"!==o||i.origin!==location.origin||i.hasAttribute("download")||e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)||!r||(e.preventDefault(),t.open(e.currentTarget,e,r,n))}l.isOpening=!1},87962:e=>{"use strict";e.exports=Math.round},88001:(e,t,r)=>{"use strict";r.d(t,{Ng:()=>o,TW:()=>n,mD:()=>i});let n=e=>e?.ownerDocument??document,i=e=>e&&"window"in e&&e.window===e?e:n(e).defaultView||window;function o(e){return null!==e&&"object"==typeof e&&"nodeType"in e&&"number"==typeof e.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e}},89953:(e,t,r)=>{"use strict";var n=r(5543);t._=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
14))),i.forEach(function(t){n._(e,t,r[t])})}return e}},90189:(e,t)=>{"use strict";t._=function(e,t){return null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}},91028:(e,t,r)=>{"use strict";r.d(t,{aF:()=>C,mH:()=>T});var n=r(2572),i=r(52747),o=r(6344),a=r(92566),s=r(17132),l=r(68092),u=r(86473),c=r(16870),d=r(14232),h=r(74092),f=r(71489),p=r(82002),m=r(29786),g=r(84947),y=r(25885);let v="u">typeof document&&window.visualViewport;function b(){return{width:v?Math.min(v.width*v.scale,document.documentElement.clientWidth):document.documentElement.clientWidth,height:v?v.height*v.scale:document.documentElement.clientHeight}}var w=r(80909),E=r(50302),P=r(79494),S=r(12859);let x=(0,d.createContext)(null),R=(0,d.createContext)(null),C=(0,d.forwardRef)(function(e,t){if((0,d.useContext)(R))return d.createElement(I,{...e,modalRef:t},e.children);let{isDismissable:r,isKeyboardDismissDisabled:n,isOpen:i,defaultOpen:o,onOpenChange:a,children:s,isEntering:l,isExiting:u,UNSTABLE_portalContainer:c,shouldCloseOnInteractOutside:h,...f}=e;return d.createElement(T,{isDismissable:r,isKeyboardDismissDisabled:n,isOpen:i,defaultOpen:o,onOpenChange:a,isEntering:l,isExiting:u,UNSTABLE_portalContainer:c,shouldCloseOnInteractOutside:h},d.createElement(I,{...f,modalRef:t},s))}),T=(0,d.forwardRef)(function(e,t){[e,t]=(0,n.JT)(e,t,x);let r=(0,d.useContext)(i.RG),a=(0,S.T)(e),s=null==e.isOpen&&null==e.defaultOpen&&r?r:a,l=(0,f.U)(t),u=(0,d.useRef)(null),c=(0,p.O)(l,s.isOpen),h=(0,p.O)(u,s.isOpen),m=c||h||e.isExiting||!1,g=(0,o.wR)();return(s.isOpen||m)&&!g?d.createElement(_,{...e,state:s,isExiting:m,overlayRef:l,modalRef:u}):null});function _({UNSTABLE_portalContainer:e,...t}){let r,h=t.modalRef,{state:f}=t,{modalProps:P,underlayProps:S}=function(e,t,r){let{overlayProps:n,underlayProps:i}=(0,s.e)({...e,isOpen:t.isOpen,onClose:t.close},r);return(0,c.H)({isDisabled:!t.isOpen}),(0,u.Se)(),(0,d.useEffect)(()=>{if(t.isOpen&&r.current)return(0,a.h)([r.current],{shouldUseInert:!0})},[t.isOpen,r]),{modalProps:(0,l.v)(n),underlayProps:i}}(t,f,h),x=(0,p._)(t.overlayRef)||t.isEntering||!1,C=(0,n.Sl)({...t,defaultClassName:"react-aria-ModalOverlay",values:{isEntering:x,isExiting:t.isExiting,state:f}}),T=function(){let e=(0,o.wR)(),[t,r]=(0,d.useState)(()=>e?{width:0,height:0}:b());return(0,d.useEffect)(()=>{let e,t=e=>{r(t=>e.width===t.width&&e.height===t.height?t:e)},n=()=>{v&&v.scale>1||t(b())},i=r=>{v&&v.scale>1||(0,y.o)((0,m.wt)(r))&&(e=requestAnimationFrame(()=>{let e=(0,m.bq)();e&&(0,y.o)(e)||t({width:document.documentElement.clientWidth,height:document.documentElement.clientHeight})}))};return t(b()),(0,g.un)()&&window.addEventListener("blur",i,!0),v?v.addEventListener("resize",n):window.addEventListener("resize",n),()=>{cancelAnimationFrame(e),(0,g.un)()&&window.removeEventListener("blur",i,!0),v?v.removeEventListener("resize",n):window.removeEventListener("resize",n)}},[]),t}();if("u">typeof document){let e=(0,w.o)(document.body)?document.body:document.scrollingElement||document.documentElement,t=e.getBoundingClientRect().height%1;r=e.scrollHeight-t}let I={...C.style,"--visual-viewport-height":T.height+"px","--page-height":void 0!==r?r+"px":void 0};return d.createElement(u.hJ,{isExiting:t.isExiting,portalContainer:e},d.createElement(n.tT.div,{...(0,l.v)((0,E.$)(t,{global:!0}),S),...C,style:I,ref:t.overlayRef,"data-entering":x||void 0,"data-exiting":t.isExiting||void 0},d.createElement(n.Kq,{values:[[R,{modalProps:P,modalRef:h,isExiting:t.isExiting,isDismissable:t.isDismissable}],[i.RG,f]]},C.children)))}function I(e){let{modalProps:t,modalRef:r,isExiting:o,isDismissable:a}=(0,d.useContext)(R),s=(0,d.useContext)(i.RG),u=(0,d.useMemo)(()=>(0,P.P)(e.modalRef,r),[e.modalRef,r]),c=(0,f.U)(u),m=(0,p._)(c),g=(0,n.Sl)({...e,defaultClassName:"react-aria-Modal",values:{isEntering:m,isExiting:o,state:s}});return d.createElement(n.tT.div,{...(0,l.v)((0,E.$)(e,{global:!0}),t),...g,ref:c,"data-entering":m||void 0,"data-exiting":o||void 0},a&&d.createElement(h.R,{onDismiss:s.close}),g.children)}},91681:(e,t,r)=>{"use strict";r.d(t,{OJ:()=>a,Pt:()=>n,Wk:()=>u,_B:()=>s});
14class n{constructor(e){this.value=null,this.level=0,this.hasChildNodes=!1,this.rendered=null,this.textValue="",this["aria-label"]=void 0,this.index=0,this.parentKey=null,this.prevKey=null,this.nextKey=null,this.firstChildKey=null,this.lastChildKey=null,this.props={},this.colSpan=null,this.colIndex=null,this.type=this.constructor.type,this.key=e}get childNodes(){throw Error("childNodes is not supported")}clone(){let e=new this.constructor(this.key);return e.value=this.value,e.level=this.level,e.hasChildNodes=this.hasChildNodes,e.rendered=this.rendered,e.textValue=this.textValue,e["aria-label"]=this["aria-label"],e.index=this.index,e.parentKey=this.parentKey,e.prevKey=this.prevKey,e.nextKey=this.nextKey,e.firstChildKey=this.firstChildKey,e.lastChildKey=this.lastChildKey,e.props=this.props,e.render=this.render,e.colSpan=this.colSpan,e.colIndex=this.colIndex,e}filter(e,t,r){let n=this.clone();return t.addDescendants(n,e),n}}class i extends n{filter(e,t,r){let[n,i]=c(e,t,this.firstChildKey,r),o=this.clone();return o.firstChildKey=n,o.lastChildKey=i,o}}class o extends n{static{this.type="header"}}class a extends n{static{this.type="loader"}}class s extends i{static{this.type="item"}filter(e,t,r){if(r(this.textValue,this)){let r=this.clone();return t.addDescendants(r,e),r}return null}}class l extends i{static{this.type="section"}filter(e,t,r){let n=super.filter(e,t,r);if(n&&null!==n.lastChildKey){let t=e.getItem(n.lastChildKey);if(t&&"header"!==t.type)return n}return null}}class u{get size(){return this.itemCount}getKeys(){return this.keyMap.keys()}*[Symbol.iterator](){let e=null!=this.firstKey?this.keyMap.get(this.firstKey):void 0;for(;e;)yield e,e=null!=e.nextKey?this.keyMap.get(e.nextKey):void 0}getChildren(e){let t=this.keyMap;return{*[Symbol.iterator](){let r=t.get(e),n=r?.firstChildKey!=null?t.get(r.firstChildKey):null;for(;n;)yield n,n=null!=n.nextKey?t.get(n.nextKey):void 0}}}getKeyBefore(e){let t=this.keyMap.get(e);if(!t)return null;if(null!=t.prevKey){for(t=this.keyMap.get(t.prevKey);t&&"item"!==t.type&&null!=t.lastChildKey;)t=this.keyMap.get(t.lastChildKey);return t?.key??null}return t.parentKey}getKeyAfter(e){let t=this.keyMap.get(e);if(!t)return null;if("item"!==t.type&&null!=t.firstChildKey)return t.firstChildKey;for(;t;){if(null!=t.nextKey)return t.nextKey;if(null!=t.parentKey)t=this.keyMap.get(t.parentKey);else break}return null}getFirstKey(){return this.firstKey}getLastKey(){let e=null!=this.lastKey?this.keyMap.get(this.lastKey):null;for(;e?.lastChildKey!=null;)e=this.keyMap.get(e.lastChildKey);return e?.key??null}getItem(e){return this.keyMap.get(e)??null}at(){throw Error("Not implemented")}clone(){let e=new this.constructor;return e.keyMap=new Map(this.keyMap),e.firstKey=this.firstKey,e.lastKey=this.lastKey,e.itemCount=this.itemCount,e}addNode(e){if(this.frozen)throw Error("Cannot add a node to a frozen collection");"item"===e.type&&null==this.keyMap.get(e.key)&&this.itemCount++,this.keyMap.set(e.key,e)}addDescendants(e,t){for(let r of(this.addNode(e),t.getChildren(e.key)))this.addDescendants(r,t)}removeNode(e){if(this.frozen)throw Error("Cannot remove a node to a frozen collection");let t=this.keyMap.get(e);null!=t&&"item"===t.type&&this.itemCount--,this.keyMap.delete(e)}commit(e,t,r=!1){if(this.frozen)throw Error("Cannot commit a frozen collection");this.firstKey=e,this.lastKey=t,this.frozen=!r}filter(e){let t=new this.constructor,[r,n]=c(this,t,this.firstKey,e);return t?.commit(r,n),t}constructor(){this.keyMap=new Map,this.firstKey=null,this.lastKey=null,this.frozen=!1,this.itemCount=0}}function c(e,t,r,n){if(null==r)return[null,null];let i=null,o=null,a=e.getItem(r);for(;null!=a;){let r=a.filter(e,t,n);null!=r&&(r.nextKey=null,o&&(r.prevKey=o.key,o.nextKey=r.key),null==i&&(i=r),t.addNode(r),o=r),a=null!=a.nextKey?e.getItem(a.nextKey):null}if(o&&"separator"===o.type){let e=o.prevKey;t.removeNode(o.key),null!=e?(o=t.getItem(e)).nextKey=null:o=null}return[i?.key??null,o?.key??null]}},92566:(e,t,r)=>{"use strict";r.d(t,{O:()=>h,h:()=>d});var n=r(26747),i=r(88001),o=r(29786),a=r(70412);let s="u">typeof HTMLElement&&"inert"in HTMLElement.prototype;function l(e){return"true"===e.dataset.liveAnnouncer||void 0!==e.dataset.reactAriaTopLayer}let u=new WeakMap,c=[];function d(e,t){let r=(0,i.mD)(e?.[0]),d=t instanceof r.Element?{root:t}:t,h=d?.root??document.body,f=d?.shouldUseInert&&s,p=new Set(e),m=new Set,g=(e,t)=>
14{f&&e instanceof r.HTMLElement?e.inert=t:t?e.setAttribute("aria-hidden","true"):(e.removeAttribute("aria-hidden"),e instanceof r.HTMLElement&&(e.inert=!1))},y=new Set;if((0,a.Nf)())for(let t of e){let e=t;for(;e&&e!==h;){let t=e.getRootNode();"shadowRoot"in t&&y.add(t.shadowRoot),e=t.parentNode}}let v=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))p.add(t);let t=e=>{if(m.has(e)||p.has(e)||e.parentElement&&m.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of p)if((0,o.sD)(e,t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},r=(0,n.H)((0,i.TW)(e),e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),a=t(e);if(a===NodeFilter.FILTER_ACCEPT&&b(e),a!==NodeFilter.FILTER_REJECT){let e=r.nextNode();for(;null!=e;)b(e),e=r.nextNode()}},b=e=>{let t=u.get(e)??0;(f&&e instanceof r.HTMLElement?e.inert:"true"===e.getAttribute("aria-hidden"))&&0===t||(0===t&&g(e,!0),m.add(e),u.set(e,t+1))};c.length&&c[c.length-1].disconnect(),v(h);let w=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...m].some(e=>(0,o.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&l(e)?p.add(e):e instanceof Element&&v(e);if((0,a.Nf)()){for(let e of y)if(!e.isConnected){w.disconnect();break}}}});w.observe(h,{childList:!0,subtree:!0});let E=new Set;if((0,a.Nf)())for(let e of y){let t=new MutationObserver(e=>{for(let t of e)if("childList"===t.type){if(t.target.isConnected&&![...p,...m].some(e=>(0,o.sD)(e,t.target)))for(let e of t.addedNodes)(e instanceof HTMLElement||e instanceof SVGElement)&&l(e)?p.add(e):e instanceof Element&&v(e);if((0,a.Nf)()){for(let e of y)if(!e.isConnected){w.disconnect();break}}}});t.observe(e,{childList:!0,subtree:!0}),E.add(t)}let P={visibleNodes:p,hiddenNodes:m,observe(){w.observe(h,{childList:!0,subtree:!0})},disconnect(){w.disconnect()}};return c.push(P),()=>{if(w.disconnect(),(0,a.Nf)())for(let e of E)e.disconnect();for(let e of m){let t=u.get(e);null!=t&&(1===t?(g(e,!1),u.delete(e)):u.set(e,t-1))}P===c[c.length-1]?(c.pop(),c.length&&c[c.length-1].observe()):c.splice(c.indexOf(P),1)}}function h(e){let t=c[c.length-1];if(t&&!t.visibleNodes.has(e))return t.visibleNodes.add(e),()=>{t.visibleNodes.delete(e)}}},92786:(e,t,r)=>{"use strict";r.d(t,{R:()=>l});var n=r(23633),i=r(29786),o=r(88001),a=r(48721),s=r(14232);function l(e){let{isDisabled:t,onBlurWithin:r,onFocusWithin:l,onFocusWithinChange:u}=e,c=(0,s.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:h}=(0,a.A)(),f=(0,s.useCallback)(e=>{(0,i.sD)(e.currentTarget,(0,i.wt)(e))&&c.current.isFocusWithin&&!(0,i.sD)(e.currentTarget,e.relatedTarget)&&(c.current.isFocusWithin=!1,h(),r&&r(e),u&&u(!1))},[r,u,c,h]),p=(0,n.yB)(f),m=(0,s.useCallback)(e=>{if(!(0,i.sD)(e.currentTarget,(0,i.wt)(e)))return;let t=(0,i.wt)(e),r=(0,o.TW)(t),a=(0,i.bq)(r);if(!c.current.isFocusWithin&&a===t){l&&l(e),u&&u(!0),c.current.isFocusWithin=!0,p(e);let t=e.currentTarget;d(r,"focus",e=>{let o=(0,i.wt)(e);if(c.current.isFocusWithin&&!(0,i.sD)(t,o)){let e=new r.defaultView.FocusEvent("blur",{relatedTarget:o});(0,n.o1)(e,t),f((0,n.eg)(e))}},{capture:!0})}},[l,u,p,d,f]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:f}}}},93023:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},93149:(e,t,r)=>{"use strict";var n=r(69432);t._=function(e){if(Array.isArray(e))return n._(e)}},93406:(e,t,r)=>{"use strict";r.d(t,{o:()=>s});var n=r(70977),i=r(55843),o=r(92786),a=r(14232);function s(e={}){let{autoFocus:t=!1,isTextInput:r,within:l}=e,u=(0,a.useRef)({isFocused:!1,isFocusVisible:t||(0,n.pP)()}),[c,d]=(0,a.useState)(!1),[h,f]=(0,a.useState)(()=>u.current.isFocused&&u.current.isFocusVisible),p=(0,a.useCallback)(()=>f(u.current.isFocused&&u.current.isFocusVisible),[]),m=(0,a.useCallback)(e=>{u.current.isFocused=e,u.current.isFocusVisible=(0,n.pP)(),d(e),p()},[p]);(0,n.K7)(e=>{u.current.isFocusVisible=e,p()},[r,c],{enabled:c,isTextInput:r});let{focusProps:g}=(0,i.i)({isDisabled:l,onFocusChange:m}),{focusWithinProps:y}=(0,o.R)({isDisabled:!l,onFocusWithinChange:m});return{isFocused:c,isFocusVisible:h,focusProps:l?y:g}}},93622:(e,t,r)=>{"use strict";r.d(t,{H:()=>h});var n=r(48153),i=r(88001),o=r(68092),a=r(3696),s=r(14232);let l=0,u=new Map;var c=r(48721),d=r(11646);function h(e){let{isDisabled:t,onLongPressStart:r,onLongPressEnd:h,onLongPress:f,threshold:p=500,accessibilityDescription:m}=e,g=(0,s.useRef)(void 0),{addGlobalListener:y,removeGlobalListener:v}=(0,c.A)(),{pressProps:b}=(0,d.d)({isDisabled:t,onPressStart(e){if(e.continuePropagation(),("mouse"===e.pointerType||"touch"===e.pointerType)&&(r&&r({...e,type:"longpressstart"}),g.current=setTimeout(()=>{e.target.dispatchEvent(new PointerEvent("pointercancel",{bubbles:!0})),(0,i.TW)(e.target).activeElement!==e.target&&(0,n.e)(e.target),f&&f({...e,type:"longpress"}),g.current=void 0},p),"touch"===e.pointerType)){let t=e=>{e.preventDefault()},r=(0,i.mD)(e.target);y(e.target,"contextmenu",t,{once:!0}),y(r,"pointerup",()=>{setTimeout(()=>{v(e.target,"contextmenu",t)}
14,30)},{once:!0})}},onPressEnd(e){g.current&&clearTimeout(g.current),h&&("mouse"===e.pointerType||"touch"===e.pointerType)&&h({...e,type:"longpressend"})}}),w=function(e){let[t,r]=(0,s.useState)();return(0,a.N)(()=>{if(!e)return;let t=u.get(e);if(t)r(t.element.id);else{let n=`react-aria-description-${l++}`;r(n);let i=document.createElement("div");i.id=n,i.style.display="none",i.textContent=e,document.body.appendChild(i),t={refCount:0,element:i},u.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),u.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}(f&&!t?m:void 0);return{longPressProps:(0,o.v)(b,w)}}},94006:(e,t,r)=>{"use strict";r.d(t,{t:()=>o});var n=r(14232),i=(0,n.createContext)({countRef:{current:0},waitForResultsRef:null,ignoreMultipleHooksWarning:!1});function o(){return(0,n.useContext)(i)}},94093:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=r(65883),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),P(this,e)},e}();t.Node=s;var l=function(e){function t(t){var r=e.call(this)||this;return r.data=t,r}return i(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var d=function(e){function t(t,r){var n=e.call(this,r)||this;return n.name=t,n.type=a.ElementType.Directive,n}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var h=function(e){function t(t){var r=e.call(this)||this;return r.children=t,r}return i(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!=(e=this.children[0])?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4}
14,enumerable:!1,configurable:!0}),t}(h);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=p;var m=function(e){function t(t,r,n,i){void 0===n&&(n=[]),void 0===i&&(i="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,n)||this;return o.name=t,o.attribs=r,o.type=i,o}return i(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var r,n;return{name:t,value:e.attribs[t],namespace:null==(r=e["x-attribsNamespace"])?void 0:r[t],prefix:null==(n=e["x-attribsPrefix"])?void 0:n[t]}})},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function w(e){return e.type===a.ElementType.Directive}function E(e){return e.type===a.ElementType.Root}function P(e,t){if(void 0===t&&(t=!1),v(e))r=new u(e.data);else if(b(e))r=new c(e.data);else if(g(e)){var r,n=t?S(e.children):[],i=new m(e.name,o({},e.attribs),n);n.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),r=i}else if(y(e)){var n=t?S(e.children):[],a=new f(n);n.forEach(function(e){return e.parent=a}),r=a}else if(E(e)){var n=t?S(e.children):[],s=new p(n);n.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),r=s}else if(w(e)){var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),r=l}else throw Error("Not implemented yet: ".concat(e.type));return r.startIndex=e.startIndex,r.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(r.sourceCodeLocation=e.sourceCodeLocation),r}function S(e){for(var t=e.map(function(e){return P(e,!0)}),r=1;r<t.length;r++)t[r].prev=t[r-1],t[r-1].next=t[r];return t}t.Element=m,t.isTag=g,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=w,t.isDocument=E,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=P},94111:(e,t,r)=>{"use strict";r.d(t,{N:()=>a,P2:()=>o,l2:()=>u,zL:()=>l});var n=r(45258),i=r(14232);let o=(0,i.createContext)(null),a={CollectionRoot:({collection:e,renderDropIndicator:t})=>s(e,null,t),CollectionBranch:({collection:e,parent:t,renderDropIndicator:r})=>s(e,t,r)};function s(e,t,r){return(0,n.p)({items:t?e.getChildren(t.key):e,dependencies:[r],children(t){let n=t.render(t);return r&&"item"===t.type?i.createElement(i.Fragment,null,r({type:"item",key:t.key,dropPosition:"before"}),n,function(e,t,r){let n=t.key,o=e.getKeyAfter(n),a=null!=o?e.getItem(o):null;for(;null!=a&&"item"!==a.type;)a=null!=(o=e.getKeyAfter(a.key))?e.getItem(o):null;let s=null!=t.nextKey?e.getItem(t.nextKey):null;for(;null!=s&&"item"!==s.type;)s=null!=s.nextKey?e.getItem(s.nextKey):null;let l=[];if(null==s){let n=t;for(;(null==n?void 0:n.type)==="item"&&(!a||n.parentKey!==a.parentKey&&a.level<n.level);){let t=r({type:"item",key:n.key,dropPosition:"after"});(0,i.isValidElement)(t)&&l.push((0,i.cloneElement)(t,{key:`${n.key}-after`})),n=null!=n.parentKey?e.getItem(n.parentKey):null}}return l}(e,t,r)):n}})}let l=(0,i.createContext)(a);function u(e){return(0,i.useMemo)(()=>null!=e?new Set([e]):null,[e])}},94959:(e,t,r)=>{"use strict";r.d(t,{G:()=>eb});var n=r(74856),i=r(14232),o=r(30413),a=r(8866),s=r(21393),l=r(87577),u=r(42507),c=r(7085),d=r(86306),h=r(8768),f=r(39139),p=r(90189),m=r(5382),g=r(67358),y=r(32591),v=r(11701),b=r(95253),w=r(96531),E=r(65399);function P(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{fallback:function(){}}).fallback;return"u"<typeof window?t():e({window:window})}function S(e){if(e.appId&&e.apiKey)return[e.appId,e.apiKey];if(!e.transporter)return[e.applicationID,e.apiKey];var t=e.transporter,r=t.headers||t.baseHeaders,n=t.queryParameters||t.baseQueryParameters,i="x-algolia-application-id",o="x-algolia-api-key";return[r[i]||n[i],r[o]||n[o]]}function x(e,t){for(var r,n=0;n<e.length;n++)if(t(r=e[n],n,e))return r}var R=r(49560),C="2.17.2",T="https://cdn.jsdelivr.net/npm/search-insights@".concat(C,"/dist/search-insights.min.js");function _(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.insightsClient,r=e.insightsInitParams,n=e.onEvent,i=e.$$internal,o=void 0!==i&&i,a=e.$$automatic,s=void 0!==a&&a,l=t;t||null===t||P(function(e){var t=e.window,r=t.AlgoliaAnalyticsObject||"aa";"string"==typeof r&&(l=t[r]),l||(t.AlgoliaAnalyticsObject=r,t[r]||(t[r]=function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];t[r].queue||(t[r].queue=[]),t[r].queue.push(n)},t[r].version=C,t[r].shouldAddScript=!0),l=t[r])});var u=l||R.l;return function(e){var t,i,a,l=e.instantSearchInstance,c=l.middleware.filter(function(e){return"ais.insights"===e.instance.$$type&&e.instance.$$internal}).map(function(e){return e.creator});l.unuse.apply(l,(0,g._)(c));var d=(0,w._)(S(l.client),2),h=d[0],f=d[1],p=void 0,y=void 0,v=void 0,P=u.queue;return Array.isArray(P)&&(y=(t=(0,w._)(["setUserToken","init"].map(function(e){return(0,w._)(x(P.slice().reverse(),function(t){return(0,w._)(t,1)[0]===e})||[],2)[1]}),2))[0],p=t[1]),u("getUserToken",null,function(e,t){v=A(t)}),(r||!I(u))&&u("init",(0,m._)({appId:h,apiKey:f,partial:!0},r)),{$$type:"ais.insights",$$internal:o,$$automatic:s,onStateChange:function(){},subscribe:function(){if(u.shouldAddScript){var e="[insights middleware]: could not load search-insights.js. Please load it manually following https://alg.li/insights-init";try{var t=document.createElement("script");t.async=!0,t.src=T,t.onerror=function(){l.emit("error",Error(e))},document.body.appendChild(t),u.shouldAddScript=!1}catch(t){u.shouldAddScript=!1,l.emit("error",Error(e))}}},started:function(){u("addAlgoliaAgent","insights-middleware"),a=l.mainHelper;var e,t,c,d,h,f,g,P,R,C,T,_,k=u.queue;Array.isArray(k)&&(y=(C=(0,w._)(["setUserToken","init"].map(function(e){return(0,w._)(x(k.slice().reverse(),function(t){return(0,w._)(t,1)[0]===e})||[],2)[1]}),2))[0],p=C[1]),d=(null==(c=(e=l)._initialResults)||null==(t=c[e.indexName])?void 0:t.state)||{},h=e.mainHelper.state,i={userToken:d.userToken||h.userToken,clickAnalytics:d.clickAnalytics||h.clickAnalytics},s||a.overrideStateWithoutTriggeringChangeEvent((0,b._)((0,m._)({},a.state),{clickAnalytics:!0})),o||l.scheduleSearch();var D=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=A(e);if(r){var n=a.state.userToken;t?i():setTimeout(i,0)}function i(){a.overrideStateWithoutTriggeringChangeEvent((0,b._)((0,m._)({},a.state),{userToken:r})),n&&n!==e&&l.scheduleSearch()}};function O(e){D(e,!0),u("setUserToken",e)}var F=void 0,N=function(){if(("u"<typeof document?"undefined":(0,E._)(document))==="object"&&"string"==typeof document.cookie)for(var e="".concat("_ALGOLIA","="),t=document.cookie.split(";"),r=0;r<t.length;r++){for(var n=t[r];" "===n.charAt(0);)n=n.substring(1);if(0===n.indexOf(e))return n.substring(e.length,n.length)}}();F=N||"anonymous-".concat("xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}));var q=i.userToken;(null==r?void 0:r.userToken)&&(T=r.userToken),T?O(T):q?O(q):v?O(v):y?O(y):F&&(O(F),((null==r?void 0:r.useCookie)||(null==p?void 0:p.useCookie))&&(f=F,g=(null==r?void 0:r.cookieDuration)||(null==p?void 0:p.cookieDuration),(P=new Date).setTime(P.getTime()+(g||15552e6)),R="expires=".concat(P.toUTCString()),document.cookie="_ALGOLIA=".concat(f,";").concat(R,";path=/"))),u("onUserTokenChange",function(e){return D(e,!0)},{immediate:!0});var j=u;I(u)&&(j=function(e,t){var r=(0,w._)(S(l.client),2);return u(e,t,{headers:{"X-Algolia-Application-Id":r[0],"X-Algolia-API-Key":r[1]}})});var L=new Set;l.mainHelper.derivedHelpers[0].on("result",function(e){var t=e.results;t&&(!t.queryID||t.queryID!==_)&&(_=t.queryID,L.clear())}),l.sendEventToInsights=function(e){if(n)n(e,j);else if(e.insightsMethod){if("viewedObjectIDs"===e.insightsMethod){var t=e.payload,r=t.objectIDs.filter(function(e){return!L.has(e)});if(0===r.length)return;r.forEach(function(e){return L.add(e)}),t.objectIDs=r}e.payload.algoliaSource=["instantsearch"],s&&e.payload.algoliaSource.pu
14sh("instantsearch-automatic"),"internal"===e.eventModifier&&e.payload.algoliaSource.push("instantsearch-internal"),j(e.insightsMethod,e.payload)}}},unsubscribe:function(){u("onUserTokenChange",void 0),l.sendEventToInsights=R.l,a&&i&&(a.overrideStateWithoutTriggeringChangeEvent((0,m._)({},a.state,i)),l.scheduleSearch())}}}}function I(e){var t=(0,w._)((e.version||"").split(".").map(Number),2),r=t[0],n=t[1];return r>=3||2===r&&n>=6||1===r&&n>=10}function A(e){if(e)return"number"==typeof e?e.toString():e}var k=r(10450),D=r(30915),O=function(e){e&&(window.document.title=e)},F=function(){function e(t){var r=this,n=t.windowTitle,i=t.writeDelay,o=t.createURL,a=t.parseURL,s=t.getLocation,l=t.start,u=t.dispose,d=t.push,f=t.cleanUrlOnDispose;(0,c._)(this,e),(0,h._)(this,"$$type","ais.browser"),(0,h._)(this,"windowTitle",void 0),(0,h._)(this,"writeDelay",void 0),(0,h._)(this,"_createURL",void 0),(0,h._)(this,"parseURL",void 0),(0,h._)(this,"getLocation",void 0),(0,h._)(this,"writeTimer",void 0),(0,h._)(this,"_onPopState",void 0),(0,h._)(this,"inPopState",!1),(0,h._)(this,"isDisposed",!1),(0,h._)(this,"latestAcknowledgedHistory",0),(0,h._)(this,"_start",void 0),(0,h._)(this,"_dispose",void 0),(0,h._)(this,"_push",void 0),(0,h._)(this,"_cleanUrlOnDispose",void 0),this.windowTitle=n,this.writeTimer=void 0,this.writeDelay=void 0===i?400:i,this._createURL=o,this.parseURL=a,this.getLocation=s,this._start=l,this._dispose=u,this._push=d,this._cleanUrlOnDispose=void 0===f||f,P(function(e){var t=e.window;O(r.windowTitle&&r.windowTitle(r.read())),r.latestAcknowledgedHistory=t.history.length})}return(0,d._)(e,[{key:"read",value:function(){return this.parseURL({qsModule:D,location:this.getLocation()})}},{key:"write",value:function(e){var t=this;P(function(r){var n=r.window,i=t.createURL(e),o=t.windowTitle&&t.windowTitle(e);t.writeTimer&&clearTimeout(t.writeTimer),t.writeTimer=setTimeout(function(){O(o),t.shouldWrite(i)&&(t._push?t._push(i):n.history.pushState(e,o||"",i),t.latestAcknowledgedHistory=n.history.length),t.inPopState=!1,t.writeTimer=void 0},t.writeDelay)})}},{key:"onUpdate",value:function(e){var t=this;this._start&&this._start(function(){e(t.read())}),this._onPopState=function(){t.writeTimer&&(clearTimeout(t.writeTimer),t.writeTimer=void 0),t.inPopState=!0,e(t.read())},P(function(e){e.window.addEventListener("popstate",t._onPopState)})}},{key:"createURL",value:function(e){return this._createURL({qsModule:D,routeState:e,location:this.getLocation()})}},{key:"dispose",value:function(){var e=this;this._dispose&&this._dispose(),this.isDisposed=!0,P(function(t){var r=t.window;e._onPopState&&r.removeEventListener("popstate",e._onPopState)}),this.writeTimer&&clearTimeout(this.writeTimer),this._cleanUrlOnDispose&&this.write({})}},{key:"start",value:function(){this.isDisposed=!1}},{key:"shouldWrite",value:function(e){var t=this;return P(function(r){var n=r.window;if(t.isDisposed&&!t._cleanUrlOnDispose)return!1;var i=!(t.isDisposed&&t.latestAcknowledgedHistory!==n.history.length);return!t.inPopState&&i&&e!==n.location.href})}}]),e}(),N=r(82291);function q(e){return e.configure,(0,N._)(e,["configure"])}function j(e){return e!==Object(e)}var L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.router,r=void 0===t?function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.createURL,r=void 0===t?function(e){var t=e.qsModule,r=e.routeState,n=e.location,i=n.protocol,o=n.hostname,a=n.port,s=void 0===a?"":a,l=n.pathname,u=n.hash,c=t.stringify(r),d=""===s?"":":".concat(s);return c?"".concat(i,"//").concat(o).concat(d).concat(l,"?").concat(c).concat(u):"".concat(i,"//").concat(o).concat(d).concat(l).concat(u)}:t,n=e.parseURL,i=void 0===n?function(e){var t=e.qsModule,r=e.location;return t.parse(r.search.slice(1),{arrayLimit:99})}:n,o=e.writeDelay,a=e.windowTitle,s=e.getLocation;return new F({createURL:r,parseURL:i,writeDelay:void 0===o?400:o,windowTitle:a,getLocation:void 0===s?function(){return P(function(e){return e.window.location},{fallback:function(){throw Error("You need to provide `getLocation` to the `history` router in environments where `window` does not exist.")}})}:s,start:e.start,dispose:e.dispose,push:e.push,cleanUrlOnDispose:e.cleanUrlOnDispose})}():t,n=e.stateMapping,i=void 0===n?{$$type:"ais.simple",stateToRoute:function(e){return Object.keys(e).reduce(function(t,r){return(0,b._)((0,m._)({},t),(0,h._)({},r,q(e[r])))},{})},routeToState:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,r){return(0,b._)((0,m._)({},t),(0,h._)({},r,q(e[r])))},{})}}:n,o=e.$$internal,a=void 0!==o&&o;return function(e){var t=e.instantSearchInstance;
14t._createURL=function(e){var n=0===t.mainIndex.getWidgets().length?t._initialUiState:t.mainIndex.getWidgetUiState({}),o=Object.keys(e).reduce(function(t,r){return(0,b._)((0,m._)({},t),(0,h._)({},r,e[r]))},n),a=i.stateToRoute(o);return r.createURL(a)};var n=void 0,o=t._initialUiState;return{$$type:"ais.router({router:".concat(r.$$type||"__unknown__",", stateMapping:").concat(i.$$type||"__unknown__","})"),$$internal:a,onStateChange:function(e){var t=e.uiState,o=i.stateToRoute(t);(void 0===n||!function e(t,r){if(t===r)return!0;if(j(t)||j(r)||"function"==typeof t||"function"==typeof r)return t===r;if(Object.keys(t).length!==Object.keys(r).length)return!1;var n=!0,i=!1,o=void 0;try{for(var a,s=Object.keys(t)[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value;if(!(l in r)||!e(t[l],r[l]))return!1}}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return!0}(n,o))&&(r.write(o),n=o)},subscribe:function(){t._initialUiState=(0,m._)({},o,i.routeToState(r.read())),r.onUpdate(function(e){t.mainIndex.getWidgets().length>0&&t.setUiState(i.routeToState(e))})},started:function(){var e;null==(e=r.start)||e.call(r)},unsubscribe:function(){r.dispose()}}}},M=r(64591),K=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.descendantName,n=t.modifierName;return"".concat("ais","-").concat(e).concat(r?"-".concat(r):"").concat(n?"--".concat(n):"")}},$=r(27039),U=r(59978),B=K("Highlight");function H(e){var t=U.sn.highlightPreTag,r=U.sn.highlightPostTag;return e.map(function(e){return e.isHighlighted?t+e.value+r:e.value}).join("")}var W=r(19975),V=new RegExp(/\w/i);function z(e){return e.some(function(e){return e.isHighlighted})?e.map(function(t,r){var n,i,o,a,s;return(0,b._)((0,m._)({},t),{isHighlighted:(o=e[r],a=(null==(n=e[r+1])?void 0:n.isHighlighted)||!0,s=(null==(i=e[r-1])?void 0:i.isHighlighted)||!0,V.test((0,W.x)(o.value))||s!==a?!o.isHighlighted:!s)})}):e.map(function(e){return(0,b._)((0,m._)({},e),{isHighlighted:!1})})}var G=r(7009),Q=K("ReverseHighlight"),J=K("Snippet"),X=K("ReverseSnippet"),Y=r(55120);function Z(e){var t=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=0;return e.replace(/%s/g,function(){return encodeURIComponent(r[i++])})};return Object.keys(e).map(function(r){var n;return t("%s=%s",r,(n=e[r],"[object Object]"===Object.prototype.toString.call(n)||"[object Array]"===Object.prototype.toString.call(n))?JSON.stringify(e[r]):e[r])}).join("&")}var ee=r(73312);function et(e,t){var r=e[t.getIndexId()]||{};t.getHelper().setState(t.getWidgetSearchParameters(t.getHelper().state,{uiState:r})),t.getWidgets().filter(ee.l).forEach(function(t){return et(e,t)})}var er=r(2230),en=r(52364),ei=(0,er.V)({name:"instantsearch"});function eo(){return"#"}var ea={preserveSharedStateOnUnmount:!1,persistHierarchicalRootCount:!1},es=function(e){function t(e){(0,c._)(this,t),r=(0,u._)(this,t),(0,h._)(r,"client",void 0),(0,h._)(r,"indexName",void 0),(0,h._)(r,"compositionID",void 0),(0,h._)(r,"insightsClient",void 0),(0,h._)(r,"onStateChange",null),(0,h._)(r,"future",void 0),(0,h._)(r,"helper",void 0),(0,h._)(r,"mainHelper",void 0),(0,h._)(r,"mainIndex",void 0),(0,h._)(r,"started",void 0),(0,h._)(r,"templatesConfig",void 0),(0,h._)(r,"renderState",{}),(0,h._)(r,"_stalledSearchDelay",void 0),(0,h._)(r,"_searchStalledTimer",void 0),(0,h._)(r,"_initialUiState",void 0),(0,h._)(r,"_initialResults",void 0),(0,h._)(r,"_manuallyResetScheduleSearch",!1),(0,h._)(r,"_resetScheduleSearch",void 0),(0,h._)(r,"_createURL",void 0),(0,h._)(r,"_searchFunction",void 0),(0,h._)(r,"_mainHelperSearch",void 0),(0,h._)(r,"_hasSearchWidget",!1),(0,h._)(r,"_hasRecommendWidget",!1),(0,h._)(r,"_insights",void 0),(0,h._)(r,"middleware",[]),(0,h._)(r,"sendEventToInsights",void 0),(0,h._)(r,"status","idle"),(0,h._)(r,"error",void 0),(0,h._)(r,"scheduleSearch",(0,en.v)(function(){r.started&&r.mainHelper.search()})),(0,h._)(r,"scheduleRender",(0,en.v)(function(){var e,t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];(null==(e=r.mainHelper)?void 0:e.hasPendingRequests())||(clearTimeout(r._searchStalledTimer),r._searchStalledTimer=null,t&&(r.status="idle",r.error=void 0)),r.mainIndex.render({instantSearchInstance:r}),r.emit("render")})),(0,h._)(r,"onInternalStateChange",(0,en.v)(function(){var e=r.mainIndex.getWidgetUiState({});r.middleware.forEach(function(t){t.instance.onStateChange({uiState:e})})})),r.setMaxListeners(100);var r,n=e.indexName,i=e.compositionID,o=e.numberLocale,a=e.initialUiState,s=e.routing,l=void 0===s?null:s,d=e.insights,f=void 0===d?void 0:d,p=e.searchFunction,g=e.stalledSearchDelay,y=e.searchClient,v=void 0===y?null:y,w=e.insightsClient,S=void 0===w?null:w,x=e.onStateChange,C=e.future,T=void 0===C?(0,m._)({},ea,e.future||{}):C;if(null===v)throw Error(ei("The `searchClient` option is required."));if("function"!=typeof v.search)throw Error("The `searchClient` must implement a `search` method.\n\nSee: https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/backend-instantsearch/js/");if("function"==typeof v.addAlgoliaAgent&&v.addAlgoliaAgent("instantsearch.js (".concat("4.90.0",")")),S&&"function"!=typeof S)throw Error(ei("The `insightsClient` option should be a function."));if(r.client=v,r.future=T,r.insightsClient=S,r.indexName=void 0===n?"":n,r.compositionID=i,r.helper=null,r.mainHelper=null,r.mainIndex=(0,M.A)({indexName:r.compositionID||r.indexName}),r.onStateChange=void 0===x?null:x,r.started=!1,r.templatesConfig={helpers:{formatNumber:function(e,t){var r;
14return r=Number(t(e)),r.toLocaleString(o)},highlight:function(e,t){try{var r,n,i,o,a,s,l,u,c,d=JSON.parse(e);return t((n=(r=(0,b._)((0,m._)({},d),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,a=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=((0,$.E)(a._highlightResult,n)||{}).value,c=B({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===u?"":u).replace(RegExp(U.sn.highlightPreTag,"g"),"<".concat(o,' class="').concat(c,'">')).replace(RegExp(U.sn.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\nThe highlight helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseHighlight:function(e,t){try{var r,n,i,o,a,s,l,u,c,d=JSON.parse(e);return t((n=(r=(0,b._)((0,m._)({},d),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,a=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=((0,$.E)(a._highlightResult,n)||{}).value,c=Q({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),H(z((0,G.I)(void 0===u?"":u))).replace(RegExp(U.sn.highlightPreTag,"g"),"<".concat(o,' class="').concat(c,'">')).replace(RegExp(U.sn.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\n The reverseHighlight helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},snippet:function(e,t){try{var r,n,i,o,a,s,l,u,c,d=JSON.parse(e);return t((n=(r=(0,b._)((0,m._)({},d),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,a=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=((0,$.E)(a._snippetResult,n)||{}).value,c=J({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),(void 0===u?"":u).replace(RegExp(U.sn.highlightPreTag,"g"),"<".concat(o,' class="').concat(c,'">')).replace(RegExp(U.sn.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\nThe snippet helper expects a JSON object of the format:\n{ "attribute": "name", "highlightedTagName": "mark" }')}},reverseSnippet:function(e,t){try{var r,n,i,o,a,s,l,u,c,d=JSON.parse(e);return t((n=(r=(0,b._)((0,m._)({},d),{hit:this})).attribute,i=r.highlightedTagName,o=void 0===i?"mark":i,a=r.hit,s=r.cssClasses,l=void 0===s?{}:s,u=((0,$.E)(a._snippetResult,n)||{}).value,c=X({descendantName:"highlighted"})+(l.highlighted?" ".concat(l.highlighted):""),H(z((0,G.I)(void 0===u?"":u))).replace(RegExp(U.sn.highlightPreTag,"g"),"<".concat(o,' class="').concat(c,'">')).replace(RegExp(U.sn.highlightPostTag,"g"),"</".concat(o,">"))))}catch(e){throw Error('\n The reverseSnippet helper expects a JSON object of the format:\n { "attribute": "name", "highlightedTagName": "mark" }')}},insights:function(e,t){try{var r,n=JSON.parse(e),i=n.method,o=n.payload;return t((r=(0,m._)({objectIDs:[this.objectID]},o),function(e){var t,r=e.method,n=e.payload;if((void 0===n?"undefined":(0,E._)(n))!=="object")throw Error("The insights helper expects the payload to be an object.");try{t=(0,Y.h)(n)}catch(e){throw Error("Could not JSON serialize the payload object.")}return'data-insights-method="'.concat(r,'" data-insights-payload="').concat(t,'"')}({method:i,payload:r})))}catch(e){throw Error('\nThe insights helper expects a JSON object of the format:\n{ "method": "method-name", "payload": { "eventName": "name of the event" } }')}}},compileOptions:{}},r._stalledSearchDelay=void 0===g?200:g,r._searchStalledTimer=null,r._createURL=eo,r._initialUiState=void 0===a?{}:a,r._initialResults=null,r._insights=f,p&&(r._searchFunction=p),r.sendEventToInsights=R.l,l){var I="boolean"==typeof l?{}:l;I.$$internal=!0,r.use(L(I))}if(f){var A="boolean"==typeof f?{}:f;A.$$internal=!0,r.use(_(A))}return P(function(e){var t,r;return(null==(r=e.window.navigator)||null==(t=r.userAgent)?void 0:t.indexOf("Algolia Crawler"))>-1},{fallback:function(){return!1}})&&r.use(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.$$internal,r=void 0!==t&&t;return function(e){var t=e.instantSearchInstance,n={widgets:[]},i=document.createElement("meta"),o=document.querySelector("head");return i.name="instantsearch:widgets",{$$type:"ais.metadata",$$internal:r,onStateChange:function(){},subscribe:function(){setTimeout(function(){var e;n.ua=(e=t.client).transporter&&e.transporter.userAgent?e.transporter.userAgent.value:e._ua,function e(t,r,n){var i=(0,k.e)(r,r.mainIndex,r._initialUiState);t.forEach(function(t){var o={};
14if(t.getWidgetRenderState){var a=t.getWidgetRenderState(i);a&&a.widgetParams&&(o=a.widgetParams)}var s=Object.keys(o).filter(function(e){return void 0!==o[e]});n.widgets.push({type:t.$$type,widgetType:t.$$widgetType,params:s}),"ais.index"===t.$$type&&e(t.getWidgets(),r,n)})}(t.mainIndex.getWidgets(),t,n),t.middleware.forEach(function(e){return n.widgets.push({middleware:!0,type:e.instance.$$type,internal:e.instance.$$internal})}),i.content=JSON.stringify(n),o.appendChild(i)},0)},started:function(){},unsubscribe:function(){i.remove()}}}}({$$internal:!0})),r}return(0,f._)(t,e),(0,d._)(t,[{key:"_isSearchStalled",get:function(){return"stalled"===this.status}},{key:"use",value:function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=r.map(function(t){var r=(0,m._)({$$type:"__unknown__",$$internal:!1,subscribe:R.l,started:R.l,unsubscribe:R.l,onStateChange:R.l},t({instantSearchInstance:e}));return e.middleware.push({creator:t,instance:r}),r});return this.started&&i.forEach(function(e){e.subscribe(),e.started()}),this}},{key:"unuse",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.middleware.filter(function(e){return t.includes(e.creator)}).forEach(function(e){return e.instance.unsubscribe()}),this.middleware=this.middleware.filter(function(e){return!t.includes(e.creator)}),this}},{key:"EXPERIMENTAL_use",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.use.apply(this,(0,g._)(t))}},{key:"addWidget",value:function(e){return this.addWidgets([e])}},{key:"addWidgets",value:function(e){if(!Array.isArray(e))throw Error(ei("The `addWidgets` method expects an array of widgets. Please use `addWidget`."));if(this.compositionID&&e.some(function(e){return!Array.isArray(e)&&(0,ee.l)(e)&&!e._isolated}))throw Error(ei("The `index` widget cannot be used with a composition-based InstantSearch implementation."));return this.mainIndex.addWidgets(e),this}},{key:"removeWidget",value:function(e){return this.removeWidgets([e])}},{key:"removeWidgets",value:function(e){if(!Array.isArray(e))throw Error(ei("The `removeWidgets` method expects an array of widgets. Please use `removeWidget`."));return this.mainIndex.removeWidgets(e),this}},{key:"start",value:function(){var e=this;if(this.started)throw Error(ei("The `start` method has already been called once."));var t=this.mainHelper||v(this.client,this.indexName,void 0,{persistHierarchicalRootCount:this.future.persistHierarchicalRootCount});if(this.compositionID&&(t.searchForFacetValues=t.searchForCompositionFacetValues.bind(t)),t.search=function(){return e.status="loading",e.scheduleRender(!1),e._hasSearchWidget&&(e.compositionID?t.searchWithComposition():t.searchOnlyWithDerivedHelpers()),e._hasRecommendWidget&&t.recommend(),t},this._searchFunction){var r={search:function(){return new Promise(R.l)}};this._mainHelperSearch=t.search.bind(t),t.search=function(){var n=e.mainIndex.getHelper(),i=v(r,n.state.index,n.state);return i.once("search",function(t){var r=t.state;n.overrideStateWithoutTriggeringChangeEvent(r),e._mainHelperSearch()}),i.on("change",function(e){var t=e.state;n.setState(t)}),e._searchFunction(i),t}}if(t.on("error",function(t){var r=t.error;if(!(0,p._)(r,Error)){var n=r;r=Object.keys(n).reduce(function(e,t){return e[t]=n[t],e},Error(n.message))}r.error=r,e.error=r,e.status="error",e.scheduleRender(!1),e.emit("error",r)}),this.mainHelper=t,this.middleware.forEach(function(e){e.instance.subscribe()}),this.mainIndex.init({instantSearchInstance:this,parent:null,uiState:this._initialUiState}),this._initialResults){!function(e,t){if(t&&("transporter"in e&&!e._cacheHydrated||e._useCache&&"function"==typeof e.addAlgoliaAgent)){var r=[Object.keys(t).reduce(function(e,r){var n=t[r],i=n.state,o=n.requestParams,a=n.results,s=a&&i?a.map(function(e,t){return(0,m._)({indexName:i.index||e.index},(null==o?void 0:o[t])||e.params?{params:Z((null==o?void 0:o[t])||e.params.split("&").reduce(function(e,t){var r=(0,w._)(t.split("="),2),n=r[0],i=r[1];return e[n]=i?decodeURIComponent(i):"",e},{}))}:{})}):[];return e.concat(s)},[])],n=Object.keys(t).reduce(function(e,r){var n=t[r].results;return n?e.concat(n):e},[]);if("transporter"in e&&!e._cacheHydrated){e._cacheHydrated=!0;var i=e.search.bind(e);e.search=function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];var a=Array.isArray(t)?t.map(function(e){return(0,b._)((0,m._)({},e),{params:Z(e.params)})}):Z(t.requestBody.params);return e.transporter.responsesCache.get({method:"search",args:[a].concat((0,g._)(n))},function(){return i.apply(void 0,[t].concat((0,g._)(n)))})},e.transporter.responsesCache.set({method:"search",args:r},{results:n})}if(!("transporter"in e)){var o="/1/indexes/*/queries_body_".concat(JSON.stringify({requests:r}));e.cache=(0,b._)((0,m._)({},e.cache),(0,h._)({},o,JSON.stringify({results:Object.keys(t).map(function(e){return t[e].results})})))}}}(this.client,this._initialResults),this.mainHelper._recommendCache=Object.keys(n=this._initialResults).reduce(function(e,t){var r=n[t];return r.recommendResults?(0,m._)({},e,r.recommendResults.results):e},{});var n,i=this.scheduleSearch;this.scheduleSearch=(0,en.v)(R.l),this._manuallyResetScheduleSearch?this._resetScheduleSearch=function(){e.scheduleSearch=i}:(0,en.v)(function(){e.scheduleSearch=i})()}else this.mainIndex.getWidgets().length>0&&this.scheduleSearch();this.helper=this.mainIndex.getHelper(),this.started=!0,this.middleware.forEach(function(e){e.instance.started()}),void 0===this._insights&&t.derivedHelpers[0].once("result",function(){e.mainIndex.getScopedResults().some(function(e){var t=e.results;return null==t?void 0:t._automaticInsights}
14)&&e.use(_({$$internal:!0,$$automatic:!0}))})}},{key:"dispose",value:function(){var e;this.scheduleSearch.cancel(),this.scheduleRender.cancel(),clearTimeout(this._searchStalledTimer),this.removeWidgets(this.mainIndex.getWidgets()),this.mainIndex.dispose(),this.started=!1,this.removeAllListeners(),null==(e=this.mainHelper)||e.removeAllListeners(),this.mainHelper=null,this.helper=null,this.middleware.forEach(function(e){e.instance.unsubscribe()})}},{key:"scheduleStalledRender",value:function(){var e=this;this._searchStalledTimer||(this._searchStalledTimer=setTimeout(function(){e.status="stalled",e.scheduleRender()},this._stalledSearchDelay))}},{key:"setUiState",value:function(e){var t=this,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1];if(!this.mainHelper)throw Error(ei("The `start` method needs to be called before `setUiState`."));this.mainIndex.refreshUiState();var n="function"==typeof e?e(this.mainIndex.getWidgetUiState({})):e;this.onStateChange&&r?this.onStateChange({uiState:n,setUiState:function(e){et("function"==typeof e?e(n):e,t.mainIndex),t.scheduleSearch(),t.onInternalStateChange()}}):(et(n,this.mainIndex),this.scheduleSearch(),this.onInternalStateChange())}},{key:"getUiState",value:function(){return this.started&&this.mainIndex.refreshUiState(),this.mainIndex.getWidgetUiState({})}},{key:"createURL",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.started)throw Error(ei("The `start` method needs to be called before `createURL`."));return this._createURL(e)}},{key:"refresh",value:function(){if(!this.mainHelper)throw Error(ei("The `start` method needs to be called before `refresh`."));this.mainHelper.clearCache().search()}}]),t}(y),el=r(38806),eu="7.26.0",ec=r(10362),ed=r(17797),eh=r(79459),ef=r(48060),ep=r(94006),em=r(65364),eg=["react (".concat(i.version,")"),"react-instantsearch (".concat(eu,")"),"react-instantsearch-core (".concat(eu,")")],ey="react-instantsearch-server (".concat(eu,")");function ev(e,t){"function"==typeof e.addAlgoliaAgent&&t.filter(Boolean).forEach(function(t){e.addAlgoliaAgent(t)})}function eb(e){var t=e.children,r=function(e){var t=(0,ed.C)(),r=(0,eh.r)(),n=(0,ef.m)(),o=(0,ep.t)().waitForResultsRef,a=null==n?void 0:n.initialResults,u=(0,i.useRef)(e),c=r||a||o,d=(0,i.useRef)(null);if((null==n?void 0:n.ssrSearchRef)&&(d=n.ssrSearchRef),null===d.current){var h,f,p=new es(e);p._schedule=function(e){p._schedule.queue.push(e),clearTimeout(p._schedule.timer),p._schedule.timer=setTimeout(function(){p._schedule.queue.forEach(function(e){e()}),p._schedule.queue=[]},0)},p._schedule.queue=[],c&&(p._initialResults=a||{},p._manuallyResetScheduleSearch=!0),ev(e.searchClient,(0,l._)(eg).concat([r&&ey,(f="u">typeof window&&(null==(h=window.next)?void 0:h.version)||(void 0!==em?null==em.env?void 0:"":void 0))?"next.js (".concat(f,")"):null])),c&&p.start(),r&&r.notifyServer({search:p}),e.routing,d.current=p}var m,g=d.current,y=u.current;y.indexName!==e.indexName&&(g.helper.setIndex(e.indexName||"").search(),u.current=e),y.searchClient!==e.searchClient&&(ev(e.searchClient,(0,l._)(eg).concat([r&&ey])),g.mainHelper.setClient(e.searchClient).search(),u.current=e),y.onStateChange!==e.onStateChange&&(g.onStateChange=e.onStateChange,u.current=e),y.searchFunction!==e.searchFunction&&(g._searchFunction=e.searchFunction,u.current=e),y.stalledSearchDelay!==e.stalledSearchDelay&&(g._stalledSearchDelay=null!=(m=e.stalledSearchDelay)?m:200,u.current=e),(0,ec.j)(y.future,e.future)||(g.future=(0,s._)({},ea,e.future),u.current=e);var v=(0,i.useRef)(null);return(0,el.useSyncExternalStore)((0,i.useCallback)(function(){var e=d.current;return null===v.current?e.started||(e.start(),t()):(clearTimeout(v.current),e._preventWidgetCleanup=!1),function(){null!=n&&n.ssrSearchRef||(clearTimeout(e._schedule.timer),v.current=setTimeout(function(){e.dispose()}),e._preventWidgetCleanup=!0)}},[t,n]),function(){return d.current},function(){return d.current})}((0,n._)(e,["children"]));return r.started?i.createElement(a.t.Provider,{value:r},i.createElement(o.m.Provider,{value:r.mainIndex},t,i.createElement(ew,{search:r}))):null}function ew(e){var t=e.search;return(0,i.useEffect)(function(){t._resetScheduleSearch&&t._resetScheduleSearch()},[t]),null}},95044:(e,t,r)=>{"use strict";r.d(t,{s:()=>s});var n=r(68092),i=r(92786),o=r(14232);let a={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function s(e){let{children:t,elementType:r="div",isFocusable:s,style:l,...u}=e,{visuallyHiddenProps:c}=function(e={}){let{style:t,isFocusable:r}=e,[n,s]=(0,o.useState)(!1),{focusWithinProps:l}=(0,i.R)({isDisabled:!r,onFocusWithinChange:e=>s(e)}),u=(0,o.useMemo)(()=>n?t:t?{...a,...t}:a,[n]);return{visuallyHiddenProps:{...l,style:u}}}(e);return o.createElement(r,(0,n.v)(u,c),t)}},95253:(e,t)=>{"use strict";t._=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}
14)(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}},95295:(e,t,r)=>{"use strict";var n="u">typeof Symbol&&Symbol,i=r(77785);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&i()}},95800:(e,t,r)=>{"use strict";let n;r.d(t,{Tw:()=>c,Bi:()=>u,X1:()=>d});var i=r(3696),o=r(6344),a=r(14232);let s=!!("u">typeof window&&window.document&&window.document.createElement),l=new Map;function u(e){let[t,r]=(0,a.useState)(e),u=(0,a.useRef)(null),c=(0,o.Cc)(t),d=(0,a.useRef)(null);if(n&&n.register(d,c),s){let e=l.get(c);e&&!e.includes(u)?e.push(u):l.set(c,[u])}return(0,i.N)(()=>()=>{n&&n.unregister(d),l.delete(c)},[c]),(0,a.useEffect)(()=>{let e=u.current;return e&&r(e),()=>{e&&(u.current=null)}}),c}function c(e,t){if(e===t)return e;let r=l.get(e);if(r)return r.forEach(e=>e.current=t),t;let n=l.get(t);return n?(n.forEach(t=>t.current=e),e):t}function d(e=[]){let t=u(),[r,n]=function(e){let[t,r]=(0,a.useState)(e),n=(0,a.useRef)(t),o=(0,a.useRef)(null),s=(0,a.useRef)(()=>{if(!o.current)return;let e=o.current.next();if(e.done){o.current=null;return}n.current===e.value?s.current():r(e.value)});return(0,i.N)(()=>{n.current=t,o.current&&s.current()}),[t,(0,a.useCallback)(e=>{o.current=e(n.current),s.current()},[s])]}(t),o=(0,a.useCallback)(()=>{n(function*(){yield t,yield document.getElementById(t)?t:void 0})},[t,n]);return(0,i.N)(o,[t,o,...e]),r}"u">typeof FinalizationRegistry&&(n=new FinalizationRegistry(e=>{l.delete(e)}))},96531:(e,t,r)=>{"use strict";var n=r(44961),i=r(78043),o=r(420),a=r(23015);t._=function(e,t){return n._(e)||i._(e,t)||a._(e,t)||o._()}},97213:(e,t,r)=>{"use strict";r.d(t,{P:()=>o});var n=r(14232);let i="u">typeof document?n.useInsertionEffect??n.useLayoutEffect:()=>{};function o(e,t,r){let[o,a]=(0,n.useState)(e||t),s=(0,n.useRef)(o),l=(0,n.useRef)(void 0!==e),u=void 0!==e;(0,n.useEffect)(()=>{l.current,l.current=u},[u]);let c=u?e:o;i(()=>{s.current=c});let[,d]=(0,n.useReducer)(()=>({}),{});return[c,(0,n.useCallback)((e,...t)=>{let n="function"==typeof e?e(s.current):e;Object.is(s.current,n)||(s.current=n,a(n),d(),r?.(n,...t))},[r])]}},97272:(e,t,r)=>{"use strict";var n=r(9171);t._=function(e,t){if(null==e)return{};var r,i,o,a={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,r=Reflect.ownKeys(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}if(a=n._(e,t),Object.getOwnPropertySymbols)for(o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(a[i]=e[i]);return a}},97635:(e,t,r)=>{"use strict";r.d(t,{Sc:()=>_});var n=r(4644),i=r(2572),o=r(32629),a=r(50302),s=r(29786),l=r(68092),u=r(63591),c=r(47482),d=r(66113),h=r(11646),f=r(95800),p=r(3696),m=r(14232);function g(e=!0){let t=(0,f.Bi)(),[r,n]=function(e=!0){let[t,r]=(0,m.useState)(e),n=(0,m.useRef)(!1),i=(0,m.useCallback)(e=>{n.current=!0,r(!!e)},[]);return(0,p.N)(()=>{n.current||r(!1)},[]),[i,t]}(e);return{id:n?t:void 0,ref:r}}var y=r(23953);function v(e,t,r){let{labelProps:n,inputProps:i,descriptionProps:o,errorMessageProps:f,isSelected:p,isPressed:v,isDisabled:b,isReadOnly:w,isInvalid:E,validationErrors:P,validationDetails:S}=function(e,t,r){let{isDisabled:n=!1,isReadOnly:i=!1,value:o,name:f,form:p,children:v,isRequired:b,validationBehavior:w="aria","aria-label":E,"aria-labelledby":P,"aria-describedby":S,onPressStart:x,onPressEnd:R,onPressChange:C,onPress:T,onPressUp:_,onClick:I}=e,A=(0,y.KZ)({...e,value:t.isSelected}),{isInvalid:k,validationErrors:D,validationDetails:O}=A.displayValidation;(0,d.X)(e,A,r);let{pressProps:F,isPressed:N}=(0,h.d)({onPressStart:x,onPressEnd:R,onPressChange:C,onPress:T,onPressUp:_,onClick:I,isDisabled:n}),[q,j]=(0,m.useState)(!1),{pressProps:L}=(0,h.d)({onPressStart(e){"keyboard"===e.pointerType||"virtual"===e.pointerType?e.continuePropagation():(x?.(e),C?.(!0),j(!0))},onPressEnd(e){"keyboard"===e.pointerType||"virtual"===e.pointerType?e.continuePropagation():(R?.(e),C?.(!1),j(!1))},onPressUp(e){"keyboard"===e.pointerType||"virtual"===e.pointerType?e.continuePropagation():_?.(e)},onClick:I,onPress(n){if("keyboard"===n.pointerType||"virtual"===n.pointerType)return void n.continuePropagation();
14T?.(n),t.toggle(),r.current?.focus();let{[y.Lf]:i}=e,{commitValidation:o}=i||A;o()},isDisabled:n||i}),{focusableProps:M}=(0,u.Wc)(e,r),K=(0,l.v)(F,M),$=(0,a.$)(e,{labelable:!0});(0,c.F)(r,t.defaultSelected,t.setSelected);let U=g(),B=g();return{labelProps:(0,l.v)(L,{onClick:e=>e.preventDefault()}),inputProps:(0,l.v)($,{checked:t.isSelected,"aria-required":b&&"aria"===w||void 0,required:b&&"native"===w,"aria-invalid":k||"invalid"===e.validationState||void 0,"aria-errormessage":e["aria-errormessage"],"aria-controls":e["aria-controls"],"aria-readonly":i||void 0,"aria-describedby":[U.id,B.id,S].filter(Boolean).join(" ")||void 0,onChange:e=>{e.stopPropagation(),t.setSelected((0,s.wt)(e).checked)},disabled:n,...null==o?{}:{value:o},name:f,form:p,type:"checkbox",...K}),descriptionProps:U,errorMessageProps:B,isSelected:t.isSelected,isPressed:N||q,isDisabled:n,isReadOnly:i,isInvalid:k||"invalid"===e.validationState,validationErrors:D,validationDetails:O}}(e,t,r),{isIndeterminate:x}=e;return(0,m.useEffect)(()=>{r.current&&(r.current.indeterminate=!!x)}),{labelProps:(0,l.v)(n,(0,m.useMemo)(()=>({onMouseDown:e=>e.preventDefault()}),[])),inputProps:i,descriptionProps:o,errorMessageProps:f,isSelected:p,isPressed:v,isDisabled:b,isReadOnly:w,isInvalid:E,validationErrors:P,validationDetails:S}}let b=new WeakMap;var w=r(97213);function E(e={}){let{isReadOnly:t}=e,[r,n]=(0,w.P)(e.isSelected,e.defaultSelected||!1,e.onChange),[i]=(0,m.useState)(r);return{isSelected:r,defaultSelected:e.defaultSelected??i,setSelected:function(e){t||n(e)},toggle:function(){t||n(!r)}}}var P=r(93406),S=r(48553),x=r(95044),R=r(71489),C=r(79494);let T=(0,m.createContext)(null),_=(0,m.forwardRef)(function(e,t){var r,s;let{inputRef:u=null,...c}=e;[e,t]=(0,i.JT)(c,t,n.BP);let{validationBehavior:d}=(0,i.CC)(o.c)||{},h=null!=(s=null!=(r=e.validationBehavior)?r:d)?s:"native",f=(0,m.useContext)(T),p=(0,R.U)((0,m.useMemo)(()=>(0,C.P)(u,void 0!==e.inputRef?e.inputRef:null),[u,e.inputRef])),{labelProps:g,inputProps:w,isSelected:_,isDisabled:I,isReadOnly:A,isPressed:k,isInvalid:D}=f?function(e,t,r){let n=E({isReadOnly:e.isReadOnly||t.isReadOnly,isSelected:t.isSelected(e.value),defaultSelected:t.defaultValue.includes(e.value),onChange(r){r?t.addValue(e.value):t.removeValue(e.value),e.onChange&&e.onChange(r)}}),{name:i,form:o,descriptionId:a,errorMessageId:s,validationBehavior:l}=b.get(t);l=e.validationBehavior??l;let{realtimeValidation:u}=(0,y.KZ)({...e,value:n.isSelected,name:void 0,validationBehavior:"aria"}),c=(0,m.useRef)(y.YD),d=()=>{t.setInvalid(e.value,u.isInvalid?u:c.current)};(0,m.useEffect)(d);let h=t.realtimeValidation.isInvalid?t.realtimeValidation:u,f="native"===l?t.displayValidation:h,p=v({...e,isReadOnly:e.isReadOnly||t.isReadOnly,isDisabled:e.isDisabled||t.isDisabled,name:e.name||i,form:e.form||o,isRequired:e.isRequired??t.isRequired,validationBehavior:l,[y.Lf]:{realtimeValidation:h,displayValidation:f,resetValidation:t.resetValidation,commitValidation:t.commitValidation,updateValidation(e){c.current=e,d()}}},n,r);return{...p,inputProps:{...p.inputProps,"aria-describedby":[p.inputProps["aria-describedby"],t.isInvalid?s:null,a].filter(Boolean).join(" ")||void 0}}}({...(0,i.SK)(e),value:e.value,children:"function"==typeof e.children||e.children},f,p):v({...(0,i.SK)(e),children:"function"==typeof e.children||e.children,validationBehavior:h},E(e),p),{isFocused:O,isFocusVisible:F,focusProps:N}=(0,P.o)(),q=I||A,{hoverProps:j,isHovered:L}=(0,S.M)({...e,isDisabled:q}),M=(0,i.Sl)({...e,defaultClassName:"react-aria-Checkbox",values:{isSelected:_,isIndeterminate:e.isIndeterminate||!1,isPressed:k,isHovered:L,isFocused:O,isFocusVisible:F,isDisabled:I,isReadOnly:A,isInvalid:D,isRequired:e.isRequired||!1}}),K=(0,a.$)(e,{global:!0});return delete K.id,delete K.onClick,m.createElement(i.tT.label,{...(0,l.v)(K,g,j,M),ref:t,slot:e.slot||void 0,"data-selected":_||void 0,"data-indeterminate":e.isIndeterminate||void 0,"data-pressed":k||void 0,"data-hovered":L||void 0,"data-focused":O||void 0,"data-focus-visible":F||void 0,"data-disabled":I||void 0,"data-readonly":A||void 0,"data-invalid":D||void 0,"data-required":e.isRequired||void 0},m.createElement(x.s,{elementType:"span"},m.createElement("input",{...(0,l.v)(w,N),ref:p})),M.children)})},98097:e=>{"use strict";e.exports=function(){var e=Array.prototype.slice.call(arguments);return e.reduceRight(function(e,t){return Object.keys(Object(t)).forEac
14h(function(r){var n="number"==typeof e[r]?e[r]:0,i=t[r];void 0!==i&&i>=n&&(void 0!==e[r]&&delete e[r],e[r]=i)}),e},{})}},98595:(e,t,r)=>{"use strict";var n=r(76957),i=r(73025);e.exports=function(e,t){var r,o,a={};return t.forEach(function(t){t.forEach(function(t,r){e.includes(t.objectID)||(a[t.objectID]?a[t.objectID]={indexSum:a[t.objectID].indexSum+r,count:a[t.objectID].count+1}:a[t.objectID]={indexSum:r,count:1})})}),(r=t.length,o=[],Object.keys(a).forEach(function(e){a[e].count<2&&(a[e].indexSum+=100),o.push({objectID:e,avgOfIndices:a[e].indexSum/r})}),o.sort(function(e,t){return e.avgOfIndices>t.avgOfIndices?1:-1})).reduce(function(e,r){var o=n(i(t),function(e){return e.objectID===r.objectID});return o?e.concat(o):e},[])}},98619:(e,t,r)=>{"use strict";r.d(t,{Q:()=>i});var n=r(65399);function i(e){if((void 0===e?"undefined":(0,n._)(e))!=="object"||null===e||"[object Object]"!==(null===e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)))return!1;if(null===Object.getPrototypeOf(e))return!0;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},98857:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},99038:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,r,d,h,f,p,g=l.exec(e=(0,i.escapeSpecialCharacters)(e)),y=null==(t=null==g?void 0:g[1])?void 0:t.toLowerCase();switch(y){case o:var v=c(e);if(!(0,i.hasOpenTag)(e,a)){var b=v.querySelector(a);null==(r=null==b?void 0:b.parentNode)||r.removeChild(b)}if(!(0,i.hasOpenTag)(e,s)){var b=v.querySelector(s);null==(d=null==b?void 0:b.parentNode)||d.removeChild(b)}return v.querySelectorAll(o);case a:case s:var w=u(e).querySelectorAll(y);if((0,i.hasOpenTag)(e,s)&&(0,i.hasOpenTag)(e,a))return null!=(f=null==(h=w[0].parentNode)?void 0:h.childNodes)?f:m();return w;default:if(n)return n(e);var b=u(e,s).querySelector(s);return null!=(p=null==b?void 0:b.childNodes)?p:m()}};var n,i=r(67121),o="html",a="head",s="body",l=/<([a-zA-Z]+[0-9]?)/,u=function(e,t){throw Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw Error("This browser does not support `DOMParser.prototype.parseFromString`")},d="object"==typeof window&&window.DOMParser;if("function"==typeof d){var h=new d;u=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();u=function(e,t){if(t){var r=f.documentElement.querySelector(t);return r&&(r.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var p="object"==typeof document&&document.createElement("template");p&&p.content&&(n=function(e){return p.innerHTML=e,p.content.childNodes});var m=function(){return document.createDocumentFragment().childNodes}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.