1(self.webpackChunk=self.webpackChunk||[]).push([[1754],{7154:function(t){function e(){return t.exports=e=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},e.apply(this,arguments)}t.exports=e},2732:function(t,e){"use strict";e.ud={mounted:function(t,e,n){t.clickOutsideEvent=function(n){t==n.target||t.contains(n.target)||e.value(n,t)},document.addEventListener("click",t.clickOutsideEvent)},unmounted:function(t){document.removeEventListener("click",t.clickOutsideEvent)}}},2160:function(t,e,n){"use strict";var r=n(2732),i='[type="checkbox"]';e.Z={directives:{clickOutside:r.ud},data:function(){return{isOpen:!1}},methods:{open:function(){this.isOpen||(this.isOpen=!0)},close:function(){this.isOpen&&(this.isOpen=!1)},toggle:function(){this.isOpen=!this.isOpen},dropdownKeydownHandler:function(){var t,e,n;null==this||null===(t=this.$refs)||void 0===t||null===(e=t.list)||void 0===e||null===(n=e.querySelector(i))||void 0===n||n.focus()},itemKeyHandler:function(t){var e,n,r,o,u,c,a=(null==t||null===(e=t.target)||void 0===e||null===(n=e.closest("li"))||void 0===n?void 0:n.previousElementSibling)||null,l=(null==t||null===(r=t.target)||void 0===r||null===(o=r.closest("li"))||void 0===o?void 0:o.nextElementSibling)||null;38===t.keyCode&&null!=a&&(t.preventDefault(),t.stopPropagation(),null==a||null===(u=a.querySelector(i))||void 0===u||u.focus());40===t.keyCode&&null!=l&&(t.preventDefault(),t.stopPropagation(),null==l||null===(c=l.querySelector(i))||void 0===c||c.focus())}}}},3772:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return C}});var r=n(6252),i=n(9963),o=n(3577),u=["aria-expanded"],c={key:0},a=["textContent"],l=["aria-label","textContent"],s={class:"ddOptions__menu",role:"listbox"},f={class:"ddOptions__list ais-MultiSelect-list",ref:"list"},p={class:"ais-MultiSelect-item"},d=["value","onClick","checked"],g={class:"ddOptions__label ais-MultiSelect-label"},h={class:"ddOptions__label-count"};var y=n(7154),m=n.n(y),v=n(755),b=n(7456),O=n(1490),S=n(2244),w=n(761),j=n(3616);function P(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?P(Object(n),!0).forEach((function(e){R(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function R(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function k(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var x=(0,b.K)({name:"multi-select",connector:!0}),F=["isRefined","count:desc","name:asc"],E=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:O.Z;return(0,S._)(t,x()),function(n){var r=n||{},i=r.attribute,o=r.operator,u=void 0===o?"or":o,c=r.limit,a=void 0===c?10:c,l=r.sortBy,s=void 0===l?F:l,f=r.escapeFacetValues,p=void 0===f||f,d=r.transformItems,g=void 0===d?function(t){return t}:d;if(!i)throw new Error(x("The `attribute` option is required."));if(!/^(and|or)$/.test(u))throw new Error(x('The `operator` must one of: `"and"`, `"or"` (got "'.concat(u,'").')));var h,y,m,v=function(t){var e=t.name,n=t.escapedValue;return _(_({},k(t,["name","escapedValue"])),{},{value:n,label:e,highlighted:e})},b=[],O=!0;function S(){return a}var P=function(){return function(){}};return{$$type:"ais.multiSelect",init:function(e){t(_(_({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!0)},render:function(e){t(_(_({},this.getWidgetRenderState(e)),{},{instantSearchInstance:e.instantSearchInstance}),!1)},getRenderState:function(t,e){return _(_({},t),{},{multiSelect:_(_({},t.multiSelect),{},R({},i,this.getWidgetRenderState(e)))})},getWidgetRenderState:function(e){var r=e.results,o=e.state,u=e.createURL,c=e.instantSearchInstance,a=e.helper,l=[],f=[];if(m&&y&&P||(m=(0,j.l)({instantSearchInstance:c,helper:a,attribute:i,widgetType:this.$$type}),y=function(t){m("click",t),a.toggleFacetRefinement(i,t).search()},P=function(e,n){return function(r){return function(o){var u=r.instantSearchInstance,c=r.results;if(""===o&&b)t(_(_({},n.getWidgetRenderState(_(_({},r),{},{results:h}))),{},{instantSearchInstance:u}),!1);else{var a={highlightPreTag:p?w.dg.highlightPreTag:w.Rn.highlightPreTag,highlightPostTag:p?w.dg.highlightPostTag:w.Rn.highlightPostTag};e.searchForFacetValues(i,o,Math.min(S(),100),a).then((function(e){var i=p?(0,w.gf)(e.facetHits):e.facetHits,o=g(i.map((function(t){var e=t.escapedValue,n=t.value;return _(_({},k(t,["escapedValue","value"])),{},{value:e,label:n})}
1)),{results:c});t(_(_({},n.getWidgetRenderState(_(_({},r),{},{results:h}))),{},{items:o,canRefine:!0,isFromSearch:!0,instantSearchInstance:u}),!1)}))}}}}(a,this)),r){var d=r.getFacetValues(i,{sortBy:s,facetOrdering:s===F});f=d&&Array.isArray(d)?d:[],l=g(f.slice(0,S()).map(v),{results:r});var R=o.maxValuesPerFacet,x=S();O=R>x?f.length<=x:f.length<x,h=r,b=l}var E=P&&P(e);return{createURL:function(t){return u(o.resetPage().toggleFacetRefinement(i,t))},items:l,refine:y,searchForItems:E,isFromSearch:!1,canRefine:l.length>0,widgetParams:n,sendEvent:m,hasExhaustiveItems:O}},dispose:function(t){var n=t.state;e();var r=n.setQueryParameter("maxValuesPerFacet",void 0);return"and"===u?r.removeFacet(i):r.removeDisjunctiveFacet(i)},getWidgetUiState:function(t,e){var n=e.searchParameters,r="or"===u?n.getDisjunctiveRefinements(i):n.getConjunctiveRefinements(i);return r.length?_(_({},t),{},{multiSelect:_(_({},t.multiSelect),{},R({},i,r))}):t},getWidgetSearchParameters:function(t,e){var n=e.uiState,r="or"===u,o=n.multiSelect&&n.multiSelect[i],c=t.clearRefinements(i),l=r?c.addDisjunctiveFacet(i):c.addFacet(i),s=l.maxValuesPerFacet||0,f=Math.max(s,a),p=l.setQueryParameter("maxValuesPerFacet",f);if(!o){var d=r?"disjunctiveFacetsRefinements":"facetsRefinements";return p.setQueryParameters(R({},d,_(_({},p[d]),{},R({},i,[]))))}return o.reduce((function(t,e){return r?t.addDisjunctiveFacetRefinement(i,e):t.addFacetRefinement(i,e)}),p)}}}},I=n(2160),T={props:{attribute:{type:String,required:!0},operator:{type:String,default:"or",validator:function(t){return["or","and"].includes(t)}},limit:{type:Number,default:1e3},sortBy:{type:[Array,Function]},transformItems:{type:Function}},name:"AisMultiSelect",mixins:[(0,v.hJ)({connector:E}),I.Z],computed:{count:function(){return this.selectedItems.length||0},items:function(){return this.state.items.map((function(t){return m()({},t,{_highlightResult:{item:{value:t.highlighted}}})}))},widgetParams:function(){return{attribute:this.attribute,operator:this.operator,limit:this.limit,sortBy:this.sortBy,transformItems:this.transformItems}},selectedItems:function(){var t;return(null==this||null===(t=this.items)||void 0===t?void 0:t.filter((function(t){return t.isRefined})))||[]},selectedLabel:function(){return this.count?this.selectedItems.map((function(t){return t.label})).join(", "):""}},methods:{refine:function(t){this.state.refine(t)}}};const D=(0,n(3744).Z)(T,[["render",function(t,e,n,y,m,v){var b=(0,r.Q2)("click-outside");return t.state?(0,r.wy)(((0,r.wg)(),(0,r.iD)("div",{key:0,class:"ais-MultiSelect ddOptions",onKeydown:[e[3]||(e[3]=(0,i.D2)((function(){return t.close&&t.close.apply(t,arguments)}),["esc"])),e[4]||(e[4]=(0,i.D2)((function(){return t.close&&t.close.apply(t,arguments)}),["tab"]))]},[(0,r.WI)(t.$slots,"default",{items:v.items,refine:t.state.refine,createURL:t.state.createURL,sendEvent:t.state.sendEvent},(function(){return[(0,r._)("button",{class:"ddOptions__cta ais-MultiSelect-button","aria-haspopup":"true",type:"button","aria-expanded":t.isOpen?"true":"false",onClick:e[0]||(e[0]=function(){return t.toggle&&t.toggle.apply(t,arguments)}),onKeydown:e[1]||(e[1]=(0,i.D2)((function(){return t.dropdownKeydownHandler&&t.dropdownKeydownHandler.apply(t,arguments)}),["down"]))},[v.count?((0,r.wg)(),(0,r.iD)("span",{key:1,textContent:(0,o.zw)(v.selectedLabel)},null,8,a)):((0,r.wg)(),(0,r.iD)("span",c,[(0,r.WI)(t.$slots,"defaultOption",{},(function(){return[(0,r.Uk)("All Categories")]}))])),v.count&&v.count>1?((0,r.wg)(),(0,r.iD)("span",{key:2,class:"ddOptions__count ais-MultiSelect-count","data-item-bubble":"","aria-label":"".concat(v.count," selected"),textContent:(0,o.zw)(v.count)},null,8,l)):(0,r.kq)("",!0)],40,u),(0,r._)("div",s,[(0,r._)("ul",f,[((0,r.wg)(!0),(0,r.iD)(r.HY,null,(0,r.Ko)(v.items,(function(n){return(0,r.WI)(t.$slots,"item",{key:n.value,item:n,refine:t.state.refine,createUrl:t.state.createUrl},(function(){return[(0,r._)("li",p,[(0,r._)("label",null,[(0,r._)("input",{class:"ddOptions__input ais-MultiSelect-checkbox",type:"checkbox",tabindex:"-1",role:"option",value:n.value,onClick:function(e){return t.state.refine(n.value)}
1,checked:n.isRefined,onKeydown:e[2]||(e[2]=function(){return t.itemKeyHandler&&t.itemKeyHandler.apply(t,arguments)})},null,40,d),(0,r._)("span",g,[(0,r.Uk)((0,o.zw)(n.label),1),(0,r._)("span",h," ("+(0,o.zw)(n.count.toLocaleString())+")",1)])])])]}))})),128))],512)])]}))],32)),[[b,t.close]]):(0,r.kq)("",!0)}]]);var C=D},2244:function(t,e,n){"use strict";function r(t,e){if(void 0===t||"function"!=typeof t)throw new Error("The render function is not valid (received type ".concat((n=t,Object.prototype.toString.call(n).slice(8,-1)),").\n\n").concat(e));var n}n.d(e,{_:function(){return r}})},3616:function(t,e,n){"use strict";function r(t,e,n){return t.state.isHierarchicalFacet(e)?t.state.isHierarchicalFacetRefined(e,n):t.state.isConjunctiveFacet(e)?t.state.isFacetRefined(e,n):t.state.isDisjunctiveFacetRefined(e,n)}function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t){var e=t.instantSearchInstance,n=t.helper,o=t.attribute,u=t.widgetType;return function(){for(var t=arguments.length,c=new Array(t),a=0;a<t;a++)c[a]=arguments[a];var l=c[0],s=c[1],f=c[2],p=void 0===f?"Filter Applied":f,d="string"==typeof o?o:o(s);1===c.length&&"object"===i(c[0])?e.sendEventToInsights(c[0]):"click"!==l||2!==c.length&&3!==c.length||r(n,d,s)||e.sendEventToInsights({insightsMethod:"clickedFilters",widgetType:u,eventType:l,payload:{eventName:p,index:n.getIndex(),filters:["".concat(d,":").concat(s)]},attribute:d})}}n.d(e,{l:function(){return o}})},7456:function(t,e,n){"use strict";function r(t){var e=t.name,n=t.connector;return["https://www.algolia.com/doc/api-reference/widgets/",e,"/js/",void 0!==n&&n?"#connector":""].join("")}function i(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=e.map((function(t){return r(t)})).join(", ");return function(t){return[t,"See documentation: ".concat(i)].filter(Boolean).join("\n\n")}}n.d(e,{J:function(){return r},K:function(){return i}})},761:function(t,e,n){"use strict";n.d(e,{dg:function(){return s},Rn:function(){return f},mY:function(){return g},gf:function(){return h}});var r=n(8139),i=n(7105);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},u.apply(this,arguments)}function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!==o(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s={highlightPreTag:"__ais-highlight__",highlightPostTag:"__/ais-highlight__"},f={highlightPreTag:"<mark>",highlightPostTag:"</mark>"};function p(t){return(0,r.Y)(t).replace(new RegExp(s.highlightPreTag,"g"),f.highlightPreTag).replace(new RegExp(s.highlightPostTag,"g"),f.highlightPostTag)}function d(t){return(0,i.P)(t)&&"string"!=typeof t.value?Object.keys(t).reduce((function(e,n){return a(a({},e),{},l({},n,d(t[n])))}),{}):Array.isArray(t)?t.map(d):a(a({},t),{},{value:p(t.value)})}function g(t){return void 0===t.__escaped&&((t=t.map((function(t){var e=u({},(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(t),t));return e._highlightResult&&(e._highlightResult=d(e._highlightResult)),e._snippetResult&&(e._snippetResult=d(e._snippetResult)),e}))).__escaped=!0),t}function h(t){return t.map((function(t){return a(a({},t),{},{highlighted:p(t.highlighted)})}))}},8139:function(t,e,n){"use strict";n.d(e,{Y:function(){return u},A:function(){return s}});var r={"&":"&","<":"<",">":">",'"':""","'":"'"},i=/[&<>"']/g,o=RegExp(i.source);function u(t){return t&&o.test(t)?t.replace(i,(function(t){return r[t]})):t}var c={"&":"&","<":"<",">":">",""":'"',"'":"'"},a=/&(amp|quot|lt|gt|#39);/g,l=RegExp(a.source);function s(t){return t&&l.test(t)?t.replace(a,(function(t){return c[t]})):t}},7105:function(t,e,n){"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t){if(!function(t){return"object"===r(t)&&null!==t}(t)||"[object Object]"!==function(t){return null===t?void 0===t?"[object Undef
1ined]":"[object Null]":Object.prototype.toString.call(t)}(t))return!1;if(null===Object.getPrototypeOf(t))return!0;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}n.d(e,{P:function(){return i}})}}]);
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.