1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[720],{3578:(e,t,r)=>{"use strict";var n,o,i,a="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},s={},c={};Object.defineProperty(c,"__esModule",{value:!0}),c.BLOCKS=void 0,function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"}(n||(c.BLOCKS=n={}));var l={};Object.defineProperty(l,"__esModule",{value:!0}),l.INLINES=void 0,function(e){e.HYPERLINK="hyperlink",e.ENTRY_HYPERLINK="entry-hyperlink",e.ASSET_HYPERLINK="asset-hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline"}(o||(l.INLINES=o={}));var u={};Object.defineProperty(u,"__esModule",{value:!0}),u.MARKS=void 0,function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"}(i||(u.MARKS=i={}));var p={};!function(e){var t,r=a&&a.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))};Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0,e.TOP_LEVEL_BLOCKS=[c.BLOCKS.PARAGRAPH,c.BLOCKS.HEADING_1,c.BLOCKS.HEADING_2,c.BLOCKS.HEADING_3,c.BLOCKS.HEADING_4,c.BLOCKS.HEADING_5,c.BLOCKS.HEADING_6,c.BLOCKS.OL_LIST,c.BLOCKS.UL_LIST,c.BLOCKS.HR,c.BLOCKS.QUOTE,c.BLOCKS.EMBEDDED_ENTRY,c.BLOCKS.EMBEDDED_ASSET,c.BLOCKS.EMBEDDED_RESOURCE,c.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[c.BLOCKS.PARAGRAPH,c.BLOCKS.HEADING_1,c.BLOCKS.HEADING_2,c.BLOCKS.HEADING_3,c.BLOCKS.HEADING_4,c.BLOCKS.HEADING_5,c.BLOCKS.HEADING_6,c.BLOCKS.OL_LIST,c.BLOCKS.UL_LIST,c.BLOCKS.HR,c.BLOCKS.QUOTE,c.BLOCKS.EMBEDDED_ENTRY,c.BLOCKS.EMBEDDED_ASSET,c.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[c.BLOCKS.TABLE,c.BLOCKS.TABLE_ROW,c.BLOCKS.TABLE_CELL,c.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[c.BLOCKS.HR,c.BLOCKS.EMBEDDED_ENTRY,c.BLOCKS.EMBEDDED_ASSET,c.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=((t={})[c.BLOCKS.OL_LIST]=[c.BLOCKS.LIST_ITEM],t[c.BLOCKS.UL_LIST]=[c.BLOCKS.LIST_ITEM],t[c.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,t[c.BLOCKS.QUOTE]=[c.BLOCKS.PARAGRAPH],t[c.BLOCKS.TABLE]=[c.BLOCKS.TABLE_ROW],t[c.BLOCKS.TABLE_ROW]=[c.BLOCKS.TABLE_CELL,c.BLOCKS.TABLE_HEADER_CELL],t[c.BLOCKS.TABLE_CELL]=[c.BLOCKS.PARAGRAPH],t[c.BLOCKS.TABLE_HEADER_CELL]=[c.BLOCKS.PARAGRAPH],t),e.HEADINGS=[c.BLOCKS.HEADING_1,c.BLOCKS.HEADING_2,c.BLOCKS.HEADING_3,c.BLOCKS.HEADING_4,c.BLOCKS.HEADING_5,c.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=r([c.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[c.BLOCKS.DOCUMENT,c.BLOCKS.PARAGRAPH,c.BLOCKS.HEADING_1,c.BLOCKS.HEADING_2,c.BLOCKS.HEADING_3,c.BLOCKS.HEADING_4,c.BLOCKS.HEADING_5,c.BLOCKS.HEADING_6,c.BLOCKS.OL_LIST,c.BLOCKS.UL_LIST,c.BLOCKS.LIST_ITEM,c.BLOCKS.HR,c.BLOCKS.QUOTE,c.BLOCKS.EMBEDDED_ENTRY,c.BLOCKS.EMBEDDED_ASSET,l.INLINES.HYPERLINK,l.INLINES.ENTRY_HYPERLINK,l.INLINES.ASSET_HYPERLINK,l.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[u.MARKS.BOLD,u.MARKS.CODE,u.MARKS.ITALIC,u.MARKS.UNDERLINE]}(p);var f={};Object.defineProperty(f,"__esModule",{value:!0});var y={};Object.defineProperty(y,"__esModule",{value:!0});var d={};Object.defineProperty(d,"__esModule",{value:!0}),d.EMPTY_DOCUMENT=void 0,d.EMPTY_DOCUMENT={nodeType:c.BLOCKS.DOCUMENT,data:{},content:[{nodeType:c.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var h={};function g(e,t){for(var r=0,n=Object.keys(e);r<n.length;r++)if(t===e[n[r]])return!0;return!1}Object.defineProperty(h,"__esModule",{value:!0}),h.isText=h.isBlock=h.isInline=void 0,h.isInline=function(e){return g(l.INLINES,e.nodeType)},h.isBlock=function(e){return g(c.BLOCKS,e.nodeType)},h.isText=function(e){return"text"===e.nodeType},function(e){var t=a&&a.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);
1(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=a&&a.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=a&&a.__exportStar||function(e,r){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(r,n)||t(r,e,n)},o=a&&a.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&t(n,e,o);return r(n,e),n};Object.defineProperty(e,"__esModule",{value:!0}),e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0,Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return c.BLOCKS}}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return l.INLINES}}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return u.MARKS}}),n(p,e),n(f,e),n(y,e),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return d.EMPTY_DOCUMENT}});var i=o(h);e.helpers=i}(s),t.l=function e(t,r){return(void 0===r&&(r=" "),t&&t.content&&Array.isArray(t.content))?t.content.reduce(function(n,o,i){if(s.helpers.isText(o))a=o.value;else if((s.helpers.isBlock(o)||s.helpers.isInline(o))&&!(a=e(o,r)).length)return n;var a,c=t.content[i+1];return n+a+(c&&s.helpers.isBlock(c)?r:"")},""):""}},4635:(e,t,r)=>{"use strict";var n,o,i=r(4041),a=function(e){return e&&"object"==typeof e&&"default"in e?e.default:e}(i),s=function(){return(s=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{};function l(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u(e,t){return e(t={exports:{}},t.exports),t.exports}var p=u(function(e,t){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0,(r=t.BLOCKS||(t.BLOCKS={})).DOCUMENT="document",r.PARAGRAPH="paragraph",r.HEADING_1="heading-1",r.HEADING_2="heading-2",r.HEADING_3="heading-3",r.HEADING_4="heading-4",r.HEADING_5="heading-5",r.HEADING_6="heading-6",r.OL_LIST="ordered-list",r.UL_LIST="unordered-list",r.LIST_ITEM="list-item",r.HR="hr",r.QUOTE="blockquote",r.EMBEDDED_ENTRY="embedded-entry-block",r.EMBEDDED_ASSET="embedded-asset-block",r.EMBEDDED_RESOURCE="embedded-resource-block",r.TABLE="table",r.TABLE_ROW="table-row",r.TABLE_CELL="table-cell",r.TABLE_HEADER_CELL="table-header-cell"});l(p),p.BLOCKS;var f=u(function(e,t){var r;Object.defineProperty(t,"__esModule",{value:!0}),t.INLINES=void 0,(r=t.INLINES||(t.INLINES={})).HYPERLINK="hyperlink",r.ENTRY_HYPERLINK="entry-hyperlink",r.ASSET_HYPERLINK="asset-hyperlink",r.RESOURCE_HYPERLINK="resource-hyperlink",r.EMBEDDED_ENTRY="embedded-entry-inline",r.EMBEDDED_RESOURCE="embedded-resource-inline"});l(f),f.INLINES;var y=u(function(e,t){var r,n;Object.defineProperty(t,"__esModule",{value:!0}),(n=r||(r={})).BOLD="bold",n.ITALIC="italic",n.UNDERLINE="underline",n.CODE="code",n.SUPERSCRIPT="superscript",n.SUBSCRIPT="subscript",t.default=r});l(y);var d=u(function(e,t){var r,n=c&&c.__spreadArray||function(e,t,r){if(r||2==arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},o=c&&c.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.V1_MARKS=t.V1_NODE_TYPES=t.TEXT_CONTAINERS=t.HEADINGS=t.CONTAINERS=t.VOID_BLOCKS=t.TABLE_BLOCKS=t.LIST_ITEM_BLOCKS=t.TOP_LEVEL_BLOCKS=void 0;var i=o(y);t.TOP_LEVEL_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE,p.BLOCKS.TABLE],t.LIST_ITEM_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],t.TABLE_BLOCKS=[p.BLOCKS.TABLE,p.BLOCKS.TABLE_ROW,p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],t.VOID_BLOCKS=[p.BLOCKS.HR,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],t.CONTAINERS=((r={})[p.BLOCKS.OL_LIST]=[p.BLOCKS.LIST_ITEM],r[p.BLOCKS.UL_LIST]=[p.BLOCKS.LIST_ITEM],r[p.BLOCKS.LIST_ITEM]=t.LIST_ITEM_BLOCKS,r[p.BLOCKS.QUOTE]=[p.BLOCKS.PARAGRAPH],r[p.BLOCKS.TABLE]=[p.BLOCKS.TABLE_ROW],r[p.BLOCKS.TABLE_ROW]=[p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],r[p.BLOCKS.TABLE_CELL]=[p.BLOCKS.PARAGRAPH],r[p.BLOCKS.TABLE_HEADER_CELL]=[p.BLOCKS.PARAGRAPH],r),t.HEADINGS=[p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6],t.TEXT_CONTAINERS=n([p.BLOCKS.PARAGRAPH],t.HEADINGS,!0),t.V1_NODE_TYPES=[p.BLOCKS.DOCUMENT,p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.LIST_ITEM,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,f.INLINES.HYPERLINK,f.INLINES.ENTRY_HYPERLINK,f.INLINES.ASSET_HYPERLINK,f.INLINES.EMBEDDED_ENTRY,"text"],t.V1_MARKS=[i.default.BOLD,i.default.CODE,i.default.ITALIC,i.default.UNDERLINE]});l(d),d.V1_MARKS,d.V1_NODE_TYPES,d.TEXT_CONTAINERS,d.HEADINGS,d.CONTAINERS,d.VOID_BLOCKS,d.TABLE_BLOCKS,d.LIST_ITEM_BLOCKS,d.TOP_LEVEL_BLOCKS;
1var h=u(function(e,t){Object.defineProperty(t,"__esModule",{value:!0})});l(h);var g=u(function(e,t){Object.defineProperty(t,"__esModule",{value:!0})});l(g);var b=u(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r={nodeType:p.BLOCKS.DOCUMENT,data:{},content:[{nodeType:p.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};t.default=r});l(b);var m=u(function(e,t){function r(e,t){for(var r=0,n=Object.keys(e);r<n.length;r++)if(t===e[n[r]])return!0;return!1}Object.defineProperty(t,"__esModule",{value:!0}),t.isText=t.isBlock=t.isInline=void 0,t.isInline=function(e){return r(f.INLINES,e.nodeType)},t.isBlock=function(e){return r(p.BLOCKS,e.nodeType)},t.isText=function(e){return"text"===e.nodeType}});l(m),m.isText,m.isBlock,m.isInline;var S=u(function(e,t){var r=c&&c.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),n=c&&c.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=c&&c.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)},i=c&&c.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t},a=c&&c.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.helpers=t.EMPTY_DOCUMENT=t.MARKS=t.INLINES=t.BLOCKS=void 0,Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return p.BLOCKS}}),Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return f.INLINES}}),Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return a(y).default}}),o(d,t),o(h,t),o(g,t),Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return a(b).default}});var s=i(m);t.helpers=s});l(S);var E=S.helpers;S.EMPTY_DOCUMENT;var v=S.MARKS,O=S.INLINES,A=S.BLOCKS,P=((n={})[A.DOCUMENT]=function(e,t){return t},n[A.PARAGRAPH]=function(e,t){return a.createElement("p",null,t)},n[A.HEADING_1]=function(e,t){return a.createElement("h1",null,t)},n[A.HEADING_2]=function(e,t){return a.createElement("h2",null,t)},n[A.HEADING_3]=function(e,t){return a.createElement("h3",null,t)},n[A.HEADING_4]=function(e,t){return a.createElement("h4",null,t)},n[A.HEADING_5]=function(e,t){return a.createElement("h5",null,t)},n[A.HEADING_6]=function(e,t){return a.createElement("h6",null,t)},n[A.EMBEDDED_ENTRY]=function(e,t){return a.createElement("div",null,t)},n[A.EMBEDDED_RESOURCE]=function(e,t){return a.createElement("div",null,t)},n[A.UL_LIST]=function(e,t){return a.createElement("ul",null,t)},n[A.OL_LIST]=function(e,t){return a.createElement("ol",null,t)},n[A.LIST_ITEM]=function(e,t){return a.createElement("li",null,t)},n[A.QUOTE]=function(e,t){return a.createElement("blockquote",null,t)},n[A.HR]=function(){return a.createElement("hr",null)},n[A.TABLE]=function(e,t){return a.createElement("table",null,a.createElement("tbody",null,t))},n[A.TABLE_ROW]=function(e,t){return a.createElement("tr",null,t)},n[A.TABLE_HEADER_CELL]=function(e,t){return a.createElement("th",
1null,t)},n[A.TABLE_CELL]=function(e,t){return a.createElement("td",null,t)},n[O.ASSET_HYPERLINK]=function(e){return j(O.ASSET_HYPERLINK,e)},n[O.ENTRY_HYPERLINK]=function(e){return j(O.ENTRY_HYPERLINK,e)},n[O.RESOURCE_HYPERLINK]=function(e){return I(O.RESOURCE_HYPERLINK,e)},n[O.EMBEDDED_ENTRY]=function(e){return j(O.EMBEDDED_ENTRY,e)},n[O.EMBEDDED_RESOURCE]=function(e,t){return I(O.EMBEDDED_RESOURCE,e)},n[O.HYPERLINK]=function(e,t){return a.createElement("a",{href:e.data.uri},t)},n),_=((o={})[v.BOLD]=function(e){return a.createElement("b",null,e)},o[v.ITALIC]=function(e){return a.createElement("i",null,e)},o[v.UNDERLINE]=function(e){return a.createElement("u",null,e)},o[v.CODE]=function(e){return a.createElement("code",null,e)},o[v.SUPERSCRIPT]=function(e){return a.createElement("sup",null,e)},o[v.SUBSCRIPT]=function(e){return a.createElement("sub",null,e)},o);function j(e,t){return a.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function I(e,t){return a.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}t.i=function(e,t){return(void 0===t&&(t={}),e)?function e(t,r){var n=r.renderNode,o=r.renderMark,s=r.renderText,c=r.preserveWhitespace;if(E.isText(t)){var l=s?s(t.value):t.value;if(c){var u=(l=l.replace(/ {2,}/g,function(e){return" ".repeat(e.length)})).split("\n"),p=[];u.forEach(function(e,t){p.push(e),t!==u.length-1&&p.push(a.createElement("br",null))}),l=p}return t.marks.reduce(function(e,t){return o[t.type]?o[t.type](e):e},l)}var f=t.content.map(function(t,n){var o;return o=e(t,r),i.isValidElement(o)&&null===o.key?i.cloneElement(o,{key:n}):o});return t.nodeType&&n[t.nodeType]?n[t.nodeType](t,f):a.createElement(a.Fragment,null,f)}(e,{renderNode:s(s({},P),t.renderNode),renderMark:s(s({},_),t.renderMark),renderText:t.renderText,preserveWhitespace:t.preserveWhitespace}):null}},6869:function(e,t,r){var n=r(9907);!function(e){"use strict";var t=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},r=function(){function e(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)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},i=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},a=function(e,t){var r={};for(var n in e)!(t.indexOf(n)>=0)&&Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r},s=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){o=!0,i=e}finally{try{!n&&s.return&&s.return()}finally{if(o)throw i}}return r}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")},c=function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r},l=function(){function e(r){t(this,e),r._group&&r._group.length>0&&(r=i({},r,{_group:r._group.map(function(t){return new e(t)})})),this.data=r}return r(e,[{key:"getRaw",value:function(e){return(this.data[e]||{}).raw}},{key:"getSnippet",value:function(e){return(this.data[e]||{}).snippet}}]),e}(),u=function e(r,n){t(this,e),this.rawResults=r,this.rawInfo=n;var o=[];r.forEach(function(e){o.push(new l(e))}),this.results=o,this.info=n},p=function(){function e(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.filtersJSON=r}return r(e,[{key:"removeFilter",value:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.filtersJSON;return new e(function e(t,r){var n=Object.entries(r).reduce(function(r,n){var a=s(n,2),c=a[0],l=a[1];return c===t?r:(["all","any","none"].includes(c)&&(l=l.reduce(function(r,n){var o=e(t,n);return o?r.concat(o):r},[])),i({},r,o({},c,l)))},{});if(0!==Object.keys(n).length)return n}(t,r))}},{key:"getListOfAppliedFilters",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.filtersJSON;return Array.from(Object.entries(t).reduce(function(t,r){var n=s(r,2),o=n[0],i=n[1];
1return["all","any","none"].includes(o)?i.forEach(function(r){Object.keys(r).forEach(function(n){["all","any","none"].includes(n)?t=new Set([].concat(c(t),c(e.getListOfAppliedFilters(r)))):t.add(n)})}):t.add(o),t},new Set).values())}}]),e}(),f="8.13.0",y=new(function(){function e(){t(this,e),this.cache={}}return r(e,[{key:"getKey",value:function(e,t,r){return e+t+JSON.stringify(r)}},{key:"store",value:function(e,t){this.cache[e]=t}},{key:"retrieve",value:function(e){return this.cache[e]}}]),e}());function d(e,t,r,o,a){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=s.additionalHeaders,l="POST",u=y.getKey(l,t+r,o);if(a){var p=y.retrieve(u);if(p)return Promise.resolve(p)}return(function(e,t,r,o,a){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=s.additionalHeaders;return fetch(""+r+o,{method:e,headers:new Headers(i({},t&&{Authorization:"Bearer "+t},{"Content-Type":"application/json","X-Swiftype-Client":"elastic-app-search-javascript","X-Swiftype-Client-Version":f,"x-elastic-client-meta":"ent="+f+"-legacy,js="+("undefined"!=typeof window?"browser":n.version)+",t="+f+"-legacy,ft=universal"},c)),body:JSON.stringify(a),credentials:"include"})})(l,e,t,r,o,{additionalHeaders:c}).then(function(e){return e.json().then(function(t){var r={response:e,json:t};return a&&y.store(u,r),r}).catch(function(){return{response:e,json:{}}})})}var h={SEARCH:"SEARCH",MULTI_SEARCH:"MULTI_SEARCH"};function g(e){return new u(e.results,function(e,t){if(e)return e[t],a(e,[t])}(e,"results"))}function b(e){var t=e.response,r=e.json;if(!t.ok){var n,o=Array.isArray(r)?" "+(n=r.map(function(e){return e.errors}),[].concat.apply([],n)).join(", "):r.errors?" "+r.errors:"";throw Error("["+t.status+"]"+o)}return r}var m=function(){function e(r,n,o){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.endpointBase,s=void 0===a?"":a,c=i.cacheResponses,l=i.additionalHeaders;t(this,e),this.additionalHeaders=l,this.searchKey=n,this.cacheResponses=void 0===c||c,this.engineName=o,this.apiEndpoint=s?s+"/api/as/v1/":"https://"+r+".api.swiftype.com/api/as/v1/",this.searchPath="engines/"+this.engineName+"/search",this.multiSearchPath="engines/"+this.engineName+"/multi_search",this.querySuggestionPath="engines/"+this.engineName+"/query_suggestion",this.clickPath="engines/"+this.engineName+"/click"}return r(e,[{key:"querySuggestion",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({query:e},t);return d(this.searchKey,this.apiEndpoint,this.querySuggestionPath,r,this.cacheResponses,{additionalHeaders:this.additionalHeaders}).then(b)}},{key:"search",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.disjunctiveFacets,n=t.disjunctiveFacetsAnalyticsTags,o=Object.assign({query:e},a(t,["disjunctiveFacets","disjunctiveFacetsAnalyticsTags"]));return r&&r.length>0?this._performDisjunctiveSearch(o,r,n).then(g):this._performSearch(o).then(g)}},{key:"multiSearch",value:function(e){var t=e.map(function(e){return i({query:e.query},e.options||{})});return this._performSearch({queries:t},h.MULTI_SEARCH).then(function(e){return e.map(g)})}},{key:"_performDisjunctiveSearch",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:["Facet-Only"],a=this._performSearch(e),l=new p(e.filters),u=l.getListOfAppliedFilters().filter(function(e){return t.includes(e)});if(!u.length)return a;var f=e.page||{},y=e.analytics||{};return y.tags=n,Promise.all([a].concat(c(u.map(function(t){return r._performSearch(i({},e,{filters:l.removeFilter(t).filtersJSON,record_analytics:!1,page:i({},f,{size:0}),analytics:y,facets:o({},t,e.facets[t])}))})))).then(function(e){var t=Array.isArray(e)?e:Array.from(e),r=t[0];return t.slice(1).forEach(function(e){var t=s(Object.entries(e.facets)[0],2),n=t[0],o=t[1];r.facets[n]=o}),r})}},{key:"_performSearch",value:function(e){var t=arguments.length>
11&&void 0!==arguments[1]?arguments[1]:h.SEARCH,r=t===h.MULTI_SEARCH?this.multiSearchPath:this.searchPath;return d(this.searchKey,this.apiEndpoint,r+".json",e,this.cacheResponses,{additionalHeaders:this.additionalHeaders}).then(b)}},{key:"click",value:function(e){var t=e.query,r=e.documentId,n=e.requestId,o=e.tags;return d(this.searchKey,this.apiEndpoint,this.clickPath+".json",{query:t,document_id:r,request_id:n,tags:void 0===o?[]:o},this.cacheResponses,{additionalHeaders:this.additionalHeaders}).then(b)}}]),e}();e.createClient=function(e){var t=e.hostIdentifier,r=e.accountHostKey,n=e.apiKey,o=e.searchKey,i=e.engineName,a=e.endpointBase,s=e.cacheResponses,c=e.additionalHeaders;return new m(t=t||r,o=o||n,i,{endpointBase:a,cacheResponses:s,additionalHeaders:c})},Object.defineProperty(e,"__esModule",{value:!0})}(t)},202:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(4041).createContext(null)},5414:(e,t,r)=>{"use strict";r.d(t,{A:()=>er});var n={};r.r(n),r.d(n,{a11yNotify:()=>q,addFilter:()=>w,clearFilters:()=>B,removeFilter:()=>T,reset:()=>x,setCurrent:()=>N,setFilter:()=>D,setResultsPerPage:()=>U,setSearchTerm:()=>M,setSort:()=>F,trackAutocompleteClickThrough:()=>C,trackAutocompleteSuggestionClickThrough:()=>$,trackClickThrough:()=>k});var o=r(4041);function i(){return(i=Object.assign?Object.assign.bind():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}).apply(this,arguments)}function a(e){return"/"===e.charAt(0)}function s(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}let c=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&a(e),c=t&&a(t),l=i||c;if(e&&a(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";if(o.length){var u=o[o.length-1];r="."===u||".."===u||""===u}else r=!1;for(var p=0,f=o.length;f>=0;f--){var y=o[f];"."===y?s(o,f):".."===y?(s(o,f),p++):p&&(s(o,f),p--)}if(!l)for(;p--;p)o.unshift("..");!l||""===o[0]||o[0]&&a(o[0])||o.unshift("");var d=o.join("/");return r&&"/"!==d.substr(-1)&&(d+="/"),d};function l(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function u(e,t,r,n){var o,a,s,l,u,p;"string"==typeof e?(s="",l="",-1!==(u=(a=e||"/").indexOf("#"))&&(l=a.substr(u),a=a.substr(0,u)),-1!==(p=a.indexOf("?"))&&(s=a.substr(p),a=a.substr(0,p)),(o={pathname:a,search:"?"===s?"":s,hash:"#"===l?"":l}).state=t):(void 0===(o=i({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){if(e instanceof URIError)throw URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.');throw e}return r&&(o.key=r),n?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=c(o.pathname,n.pathname)):o.pathname=n.pathname:o.pathname||(o.pathname="/"),o}function p(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter(function(e){return e!==n})}},notifyListeners:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach(function(e){return e.apply(void 0,r)})}}}var f=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function y(e,t){t(window.confirm(e))}var d="popstate",h="hashchange";function g(){try{return window.history.state||{}}catch(e){return{}}}function b(e,t,r){return Math.min(Math.max(e,t),r)}var m=r(5810),S=r.n(m);let E={encode:(e,t)=>null!=e&&"number"==typeof e?`n_${e}_n`:e&&"boolean"==typeof e?`b_${e}_b`:t(e),decode:(e,t)=>/n_-?[\d\.]*_n/.test(e)?Number(e.substring(2,e.length-2)):/^b_(true|false)*_b$/.test(e)?function(e){if("true"===e)return!0;
1if("false"===e)return!1;throw"Invalid type parsed as Boolean value"}(e.substring(2,e.length-2)):t(e)},v={parse:e=>S().parse(e,{ignoreQueryPrefix:!0,decoder:E.decode,arrayLimit:1e3}),stringify:e=>S().stringify(e,{encoder:E.encode})};function O(e){return Array.isArray(e)?e[e.length-1]:e}function A(e){if(!isNaN(e))return parseInt(e,10)}function P(e){let t=O(e["sort-field"]),r=O(e["sort-direction"]);return t?[t,r]:[]}class _{constructor(e={}){this.routingOptions={readUrl:e.readUrl||this.readUrl.bind(this),writeUrl:e.writeUrl||this.writeUrl.bind(this),urlToState:e.urlToState||this.urlToState.bind(this),stateToUrl:e.stateToUrl||this.stateToUrl.bind(this),routeChangeHandler:e.routeChangeHandler||this.routeChangeHandler.bind(this)},this.history="undefined"!=typeof window?function(e){void 0===e&&(e={}),f||function(e,t){if(!e)throw Error("Invariant failed")}(!1);var t,r,n,o=window.history,a=(-1===(n=window.navigator.userAgent).indexOf("Android 2.")&&-1===n.indexOf("Android 4.0")||-1===n.indexOf("Mobile Safari")||-1!==n.indexOf("Chrome")||-1!==n.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,s=-1!==window.navigator.userAgent.indexOf("Trident"),c=e,b=c.forceRefresh,m=void 0!==b&&b,S=c.getUserConfirmation,E=void 0===S?y:S,v=c.keyLength,O=void 0===v?6:v,A=e.basename?"/"===(r="/"===(t=e.basename).charAt(0)?t:"/"+t).charAt(r.length-1)?r.slice(0,-1):r:"";function P(e){var t,r,n=e||{},o=n.key,i=n.state,a=window.location,s=a.pathname+a.search+a.hash;return A&&(t=s,r=A,s=0===t.toLowerCase().indexOf(r.toLowerCase())&&-1!=="/?#".indexOf(t.charAt(r.length))?t.substr(r.length):t),u(s,i,o)}function _(){return Math.random().toString(36).substr(2,O)}var j=p();function I(e){i(F,e),F.length=o.length,j.notifyListeners(F.location,F.action)}function L(e){void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")||C(P(e.state))}function R(){C(P(g()))}var w=!1;function C(e){w?(w=!1,I()):j.confirmTransitionTo(e,"POP",E,function(t){var r,n,o,i;t?I({action:"POP",location:e}):(r=F.location,-1===(n=T.indexOf(r.key))&&(n=0),-1===(o=T.indexOf(e.key))&&(o=0),(i=n-o)&&(w=!0,N(i)))})}var B=P(g()),T=[B.key];function x(e){return A+l(e)}function N(e){o.go(e)}var D=0;function U(e){1===(D+=e)&&1===e?(window.addEventListener(d,L),s&&window.addEventListener(h,R)):0===D&&(window.removeEventListener(d,L),s&&window.removeEventListener(h,R))}var M=!1,F={length:o.length,action:"POP",location:B,createHref:x,push:function(e,t){var r="PUSH",n=u(e,t,_(),F.location);j.confirmTransitionTo(n,r,E,function(e){if(e){var t=x(n),i=n.key,s=n.state;if(a){if(o.pushState({key:i,state:s},null,t),m)window.location.href=t;else{var c=T.indexOf(F.location.key),l=T.slice(0,c+1);l.push(n.key),T=l,I({action:r,location:n})}}else window.location.href=t}})},replace:function(e,t){var r="REPLACE",n=u(e,t,_(),F.location);j.confirmTransitionTo(n,r,E,function(e){if(e){var t=x(n),i=n.key,s=n.state;if(a){if(o.replaceState({key:i,state:s},null,t),m)window.location.replace(t);else{var c=T.indexOf(F.location.key);-1!==c&&(T[c]=n.key),I({action:r,location:n})}}else window.location.replace(t)}})},go:N,goBack:function(){N(-1)},goForward:function(){N(1)},block:function(e){void 0===e&&(e=!1);var t=j.setPrompt(e);return M||(U(1),M=!0),function(){return M&&(M=!1,U(-1)),t()}},listen:function(e){var t=j.appendListener(e);return U(1),function(){U(-1),t()}}};return F}():function(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,n=t.initialEntries,o=void 0===n?["/"]:n,a=t.initialIndex,s=t.keyLength,c=void 0===s?6:s,f=p();function y(e){i(S,e),S.length=S.entries.length,f.notifyListeners(S.location,S.action)}function d(){return Math.random().toString(36).substr(2,c)}var h=b(void 0===a?0:a,0,o.length-1),g=o.map(function(e){return"string"==typeof e?u(e,void 0,d()):u(e,void 0,e.key||d())});function m(e){var t=b(S.index+e,0,S.entries.length-1),n=S.entries[t];f.confirmTransitionTo(n,"POP",r,function(e){e?y({action:"POP",location:n,index:t}):y()})}var S={length:g.length,action:"POP",location:g[h],index:h,entries:g,createHref:l,push:function(e,t){var n="PUSH",o=u(e,t,d(),S.location);f.confirmTransitionTo(o,n,r,function(e){if(e){var t=S.index+1,r=S.entries.slice(0);r.length>t?r.splice(t,r.length-t,o):r.push(o),y({action:n,location:o,index:t,entries:r})}})},replace:function(e,t){var n="REPLACE",o=u(e,t,d(),S.location);f.confirmTransitionTo(o,n,r,function(e){e&&(S.entries[S.index]=o,y({action:n,location:o}))})},go:m,goBack:function(){m(-1)},goForward:function(){m(1)},canGo:function(e){var t=S.index+e;return t>=0&&t<S.entries.length},block:function(e){return void 0===e&&(e=!1),f.setPrompt(e)},listen:function(e){return f.appendListener(e)}};return S}(),this.lastPushSearchString=""}readUrl(){return this.history?this.history.location.search:""}writeUrl(e,{replaceUrl:t=!1}={}){(t?this.history.replace:this.history.push)(`?${e}`)}urlToState(e){return function(e){let t={current:A(O(e.current)),filters:e.filters,searchTerm:O(e.q),resultsPerPage:A(O(e.size)),sortField:P(e)[0],sortDirection:P(e)[1],sortList:e.sort};return Object.keys(t).reduce((e,r)=>{let n=t[r];return n&&(e[r]=n),e},{})}(v.parse(e))}stateToUrl(e){return`${v.stringify(function({searchTerm:e,current:t,filters:r,resultsPerPage:n,sortDirection:o,sortField:i,sortList:a}){let s={};return t>1&&(s.current=t),e&&(s.q=e),n&&(s.size=n),r&&r.length>0&&(s.filters=r),a&&a.length>0?s.sort=a:i&&(s["sort-field"]=i,s["sort-direction"]=o),s}(e))}`}getStateFromURL(){return this.routingOptions.urlToState(this.routingOptions.readUrl())}pushStateToURL(e,{replaceUrl:t=!1}={}){let r=this.routingOptions.stateToUrl(e);this.lastPushSearchString=r,this.routingOptions.writeUrl(r,{replaceUrl:t})}onURLStateChange(e){this.unlisten=this.routingOptions.routeChangeHandler((t=>{`?${this.lastPushSearchString}`!==t&&(this.lastPushSearchString="",e(this.routingOptions.urlToState(t)))}).bind(this))}routeChangeHandler(e){return this.history.listen(t=>{e(t.search)})}tearDown(){this.unlisten()}}class j{constructor(){this.requestSequence=0,this.lastCompleted=0}
1next(){return++this.requestSequence}isOldRequest(e){return e<this.lastCompleted}completed(e){this.lastCompleted=e}}function I(e,t){let r;let n=function(){let n=arguments;clearTimeout(r),r=setTimeout(()=>{e.apply(null,n)},t)};return n.cancel=()=>{r&&(clearTimeout(r),r=null)},n}class L{constructor(){this.debounceCache={}}runWithDebounce(e,t,r,...n){if(!e)return r(...n);let o=`${t}|${e.toString()}`,i=this.debounceCache[o];i||(this.debounceCache[o]=I(r,e),i=this.debounceCache[o]),i(...n)}cancelByName(e){Object.entries(this.debounceCache).filter(([t])=>t.startsWith(`${e}|`)).forEach(([e,t])=>t.cancel())}}L.debounce=(e,t)=>I(t,e);var R=r(7922);function w(e,t,r="all"){this.debug&&console.log("Search UI: Action","addFilter",...arguments);let{filters:n}=this.state,o=n.find(t=>t.field===e&&t.type===r)||null,i=n.filter(t=>t.field!==e||t.type!==r)||[],a=(null==o?void 0:o.values)||[],s=a.find(e=>(0,R.doFilterValuesMatch)(e,t))?a:a.concat(t);this._updateSearchResults({current:1,filters:[...i,{field:e,values:s,type:r}]}),this.events.emit({type:"FacetFilterSelected",field:e,value:(0,R.serialiseFilter)(s),query:this.state.searchTerm})}function C(e,t=[]){this.debug&&console.log("Search UI: Action","trackAutocompleteClickThrough",...arguments);let{autocompletedResultsRequestId:r,searchTerm:n,autocompletedResults:o,current:i,resultsPerPage:a,totalResults:s,filters:c}=this.state,l=o.findIndex(t=>t._meta.id===e),u=o[l],p=this.events;p.autocompleteResultClick({query:n,documentId:e,requestId:r,tags:t,result:u,resultIndex:l}
1),p.emit({type:"ResultSelected",documentId:e,query:n,position:l,origin:"autocomplete",tags:t,totalResults:s,filters:c,currentPage:i,resultsPerPage:a})}function B(e=[]){this.debug&&console.log("Search UI: Action","clearFilters",...arguments);let{filters:t}=this.state,r=t.filter(t=>{let r=t.field;return e.includes(r)});this._updateSearchResults({current:1,filters:r})}function T(e,t,r){this.debug&&console.log("Search UI: Action","removeFilter",...arguments);let{filters:n}=this.state,o=n;o=!t&&r?n.filter(t=>!(t.field===e&&t.type===r)):t?(0,R.removeSingleFilterValue)(n,e,t,r):n.filter(t=>t.field!==e),this._updateSearchResults({current:1,filters:o}),this.events.emit({type:"FacetFilterRemoved",field:e,value:t&&(0,R.serialiseFilter)([t]),query:this.state.searchTerm})}function x(){this.debug&&console.log("Search UI: Action","reset",...arguments),this._setState(this.startingState),this.trackUrlState&&this.URLManager.pushStateToURL(this.state)}function N(e){this.debug&&console.log("Search UI: Action","setCurrent",...arguments),this._updateSearchResults({current:e})}function D(e,t,r="all"){this.debug&&console.log("Search UI: Action","setFilter",...arguments);let{filters:n}=this.state;n=n.filter(t=>t.field!==e||t.type!==r),this._updateSearchResults({current:1,filters:[...n,{field:e,values:[t],type:r}]}),this.events.emit({type:"FacetFilterSelected",field:e,value:t&&(0,R.serialiseFilter)([t]),query:this.state.searchTerm})}function U(e){this.debug&&console.log("Search UI: Action","setRe
1sultsPerPage",...arguments),this._updateSearchResults({current:1,resultsPerPage:e})}function M(e,{autocompleteMinimumCharacters:t=0,autocompleteResults:r=!1,autocompleteSuggestions:n=!1,shouldClearFilters:o=!0,refresh:i=!0,debounce:a=0}={}){this.debug&&console.log("Search UI: Action","setSearchTerm",...arguments),this._setState({searchTerm:e}),i&&this.debounceManager.runWithDebounce(a,"_updateSearchResults",this._updateSearchResults,Object.assign({current:1},o&&{filters:[]})),(r||n)&&e.length>=t&&this.debounceManager.runWithDebounce(a,"_updateAutocomplete",this._updateAutocomplete,e,{autocompleteResults:r,autocompleteSuggestions:n})}function F(e,t){this.debug&&console.log("Search UI: Action","setSort",...arguments);let r={current:1,sortList:null,sortField:null,sortDirection:null};Array.isArray(e)?r.sortList=e:(r.sortField=e,r.sortDirection=t),this._updateSearchResults(r)}function k(e,t=[]){this.debug&&console.log("Search UI: Action","trackClickThrough",...arguments);let{requestId:r,searchTerm:n,results:o,current:i,resultsPerPage:a,totalResults:s,filters:c}=this.state,l=o.findIndex(t=>t._meta.id===e),u=o[l],p=this.events;this.events.resultClick({query:n,documentId:e,requestId:r,tags:t,result:u,page:i,resultsPerPage:a,resultIndexOnPage:l}),p.emit({type:"ResultSelected",documentId:e,query:n,origin:"results",position:l,tags:t,totalResults:s,filters:c,currentPage:i,resultsPerPage:a})}let K="search-ui-screen-reader-notifications",H="undefined"!=typeof document,G=()=>{if(!H)return null;let e=document.getElementById(K);return e||((e=document.createElement("div")).id=K,e.setAttribute("role","status"),e.setAttribute("aria-live","polite"),e.style.position="absolute",e.style.width="1px",e.style.height="1px",e.style.margin="-1px",e.style.padding="0",e.style.border="0",e.style.overflow="hidden",e.style.clip="rect(0 0 0 0)",document.body.appendChild(e)),e},z=e=>{let t=G();t&&(t.textContent=e)},W={searchResults:({start:e,end:t,totalResults:r,searchTerm:n})=>{let o=`Showing ${e} to ${t} results out of ${r}`;return n&&(o+=`, searching for "${n}".`),o}};function q(e,t){if(!this.hasA11yNotifications)return;let r=this.a11yNotificationMessages[e];if(!r){console.warn("Action","a11yNotify",`Could not find corresponding message function in a11yNotificationMessages: "${e}"`);return}let n=r(t);z(n),this.debug&&console.log("Search UI: Action","a11yNotify",{messageFunc:e,messageArgs:t,message:n})}function $(e,t,r=[]){this.debug&&console.log("Search UI: Action","trackAutocompleteSuggestionClickThrough",...arguments);let{searchTerm:n}=this.state;this.events.emit({type:"AutocompleteSuggestionSelected",position:t,query:n,tags:r,suggestion:e})}function V(e,t,r){if(r){if(t){let n=t[e].bind(t);return(...e)=>r(...e,n)}return r}return t&&t[e]?t[e].bind(t):()=>{throw`No ${e} handler provided and no Connector provided. You must configure one or the other.`}}class Y{constructor({apiConnector:e,onSearch:t,onAutocomplete:r,onResultClick:n,onAutocompleteResultClick:o,plugins:i=[]}={}){this.search=V("onSearch",e,t),this.autocomplete=V("onAutocomplete",e,r),this.resultClick=V("onResultClick",e,n),this.autocompleteResultClick=V("onAutocompleteResultClick",e,o),this.plugins=i}emit(e){this.plugins.forEach(t=>{t.subscribe(e)})}}var Q=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function J({current:e,filters:t,resultsPerPage:r,searchTerm:n,sortDirection:o,sortField:i,sortList:a}){return{current:e,filters:t,resultsPerPage:r,searchTerm:n,sortDirection:o,sortField:i,sortList:a}}let X={current:1,filters:[],resultsPerPage:20,searchTerm:"",sortDirection:"",sortField:"",sortList:[],autocompletedResults:[],autocompletedResultsRequestId:"",autocompletedSuggestions:{},autocompletedSuggestionsRequestId:"",error:"",isLoading:!1,facets:{},requestId:"",results:[],resultSearchTerm:"",totalPages:0,totalResults:0,pagingStart:0,pagingEnd:0,wasSearched:!1,rawResponse:{}};class Z{constructor({apiConnector:e,autocompleteQuery:t={},plugins:r=[],debug:o,initialState:i,onSearch:a,onAutocomplete:s,onResultClick:c,onAutocompleteResultClick:l,searchQuery:u={},trackUrlState:p=!0,routingOptions:f={},urlPushDebounceLength:y=500,hasA11yNotifications:d=!1,a11yNotificationMessages:h={},alwaysSearchOnInitialLoad:g=!1}){let b;this.state=X,this._updateAutocomplete=(e,{autocompleteResults:t,autocompleteSuggestions:r}={})=>{let n=this.autocompleteRequestSequencer.next(),o=Object.assign(Object.assign({},t&&{results:this.autocompleteQuery.results||{}}),r&&{suggestions:this.autocompleteQuery.suggestions||{}});return this.events.autocomplete({searchTerm:e},o).then(e=>{this.autocompleteRequestSequencer.isOldRequest(n)||(this.autocompleteRequestSequencer.completed(n),this._setState(e))})},this._updateSearchResults=(e,{skipPushToUrl:t=!1,replaceUrl:r=!1}={})=>{let{current:n,filters:o,resultsPerPage:i,searchTerm:a,sortDirection:s,sortField:c,sortList:l}=Object.assign(Object.assign({},this.state),e);this.debounceManager.cancelByName("_updateSearchResults"),this._setState({current:n,error:"",filters:o,resultsPerPage:i,searchTerm:a,sortDirection:s,sortField:c,sortList:l}),this._makeSearchRequest({skipPushToUrl:t,replaceUrl:r})},this._makeSearchRequest=L.debounce(0,({skipPushToUrl:e,replaceUrl:t})=>{let{current:r,filters:n,resultsPerPage:o,searchTerm:i,sortDirection:a,sortField:s,sortList:c}=this.state;this._setState({isLoading:!0});
1let l=this.searchRequestSequencer.next(),u=this.searchQuery,{conditionalFacets:p}=u,f=Object.assign(Object.assign({},Q(u,["conditionalFacets"])),{facets:function(e={},t={},r=[]){return Object.entries(e).reduce((e,[n,o])=>(t[n]&&"function"==typeof t[n]&&!t[n]({filters:r})||(e[n]=o),e),{})}(this.searchQuery.facets,p,n)}),y=Object.assign(Object.assign({},J(this.state)),{filters:(0,R.mergeFilters)(n,this.searchQuery.filters)});return this.events.search(y,f).then(u=>{if(this.searchRequestSequencer.isOldRequest(l))return;this.searchRequestSequencer.completed(l);let{totalResults:p}=u;this.events.emit({type:"SearchQuery",filters:this.state.filters,query:this.state.searchTerm,currentPage:y.current,resultsPerPage:y.resultsPerPage,totalResults:p});let f=0===p?0:(r-1)*o+1,d=p<f+o?p:f+o-1;this._setState(Object.assign(Object.assign({isLoading:!1,resultSearchTerm:i,pagingStart:f,pagingEnd:d},u),{wasSearched:!0})),this.hasA11yNotifications&&this.actions.a11yNotify("searchResults",{start:f,end:d,totalResults:p,searchTerm:i}),!e&&this.trackUrlState&&this.debounceManager.runWithDebounce(this.urlPushDebounceLength,"pushStateToURL",this.URLManager.pushStateToURL.bind(this.URLManager),{current:r,filters:n,resultsPerPage:o,searchTerm:i,sortDirection:a,sortField:s,sortList:c},{replaceUrl:t})},e=>{var t;if("Invalid credentials"===e.message){this._setState(Object.assign({},(null===(t=this.apiConnector)||void 0===t?void 0:t.state)&&Object.assign({},this.apiConnector.state)));return}this._setState({error:`An unexpected error occurred: ${e.message}`})})}),this.actions=Object.entries(n).reduce((e,[t,r])=>Object.assign(Object.assign({},e),{[t]:r.bind(this)}),{}),this.actions=Object.assign(Object.assign({},this.actions),(null==e?void 0:e.actions)&&Object.assign({},e.actions)),Object.assign(this,this.actions),this.events=new Y({apiConnector:e,onSearch:a,onAutocomplete:s,onResultClick:c,onAutocompleteResultClick:l,plugins:r}),this.debug=o,this.debug&&(console.warn("Search UI Debugging is enabled. This should be turned off in production deployments."),"undefined"!=typeof window&&(window.searchUI=this)),this.autocompleteRequestSequencer=new j,this.searchRequestSequencer=new j,this.debounceManager=new L,this.autocompleteQuery=t,this.searchQuery=u,this.subscriptions=[],this.trackUrlState=p,this.urlPushDebounceLength=y,this.alwaysSearchOnInitialLoad=g,this.apiConnector=e,p?(this.URLManager=new _(f),b=this.URLManager.getStateFromURL(),this.URLManager.onURLStateChange(e=>{this._updateSearchResults(Object.assign(Object.assign({},X),e),{skipPushToUrl:!0})})):b={},this.hasA11yNotifications=d,this.hasA11yNotifications&&G(),this.a11yNotificationMessages=Object.assign(Object.assign({},W),h),this.startingState=Object.assign(Object.assign({},this.state),i);let m=J(Object.assign(Object.assign({},this.startingState),b));this.state=Object.assign(Object.assign(Object.assign({},this.state),(null==e?void 0:e.state)&&Object.assign({},e.state)),m),(m.searchTerm||m.filters.length>0||this.alwaysSearchOnInitialLoad)&&this._updateSearchResults(m,{replaceUrl:!0})}_setState(e){let t=Object.assign(Object.assign({},this.state),e);this.debug&&console.log("Search UI: State Update",e,t),this.state=t,this.subscriptions.forEach(e=>e(t))}setSearchQuery(e){this.searchQuery=e,this._updateSearchResults({})}setAutocompleteQuery(e){this.autocompleteQuery=e}subscribeToStateChanges(e){this.subscriptions.push(e)}unsubscribeToStateChanges(e){this.subscriptions=this.subscriptions.filter(t=>t!==e)}tearDown(){this.subscriptions=[],this.URLManager&&this.URLManager.tearDown(),this.debounceManager.cancelByName("pushStateToURL")}getActions(){return this.actions}getState(){return Object.assign({},this.state)}}var ee=r(202);let et={moreFilters:({visibleOptionsCount:e,showingAll:t})=>(t?"All ":"")+`${e} options shown.`},er=({children:e,config:t,driver:r})=>{let[n,i]=(0,o.useState)(null);return((0,o.useEffect)(()=>{let e=r||new Z(Object.assign(Object.assign({},t),{a11yNotificationMessages:Object.assign(Object.assign({},et),t.a11yNotificationMessages)}));return i(e),()=>{e.tearDown()}},[]),(0,o.useEffect)(()=>{n&&n.setSearchQuery(t.searchQuery)},[t.searchQuery]),(0,o.useEffect)(()=>{n&&n.setAutocompleteQuery(t.autocompleteQuery)},[t.autocompleteQuery]),n)?o.createElement(ee.A.Provider,{value:{driver:n}},e):null}},8637:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});
1var n=r(4041),o=r(202),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function a(e,t,r){return(r.mapContextToProps||t)(e,r)||{}}let s=function(e){if(!e)throw"withSearch requires a function to be provided which returns an object with at least one value.";return function(t){class r extends n.PureComponent{constructor(t,r){super(t),this.subscription=t=>{this.mounted&&this.setState(r=>a(Object.assign(Object.assign({},r),t),e,this.props))},this.mounted=!1,this.state=Object.assign({},a(Object.assign(Object.assign({},r.driver.getState()),r.driver.getActions()),e,t))}componentDidMount(){this.mounted=!0,this.context.driver.subscribeToStateChanges(this.subscription)}componentWillUnmount(){this.mounted=!1,this.context.driver.unsubscribeToStateChanges(this.subscription)}render(){let e=i(this.props,[]);return n.createElement(t,Object.assign({},this.state,e))}}return r.contextType=o.A,r}}},3849:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(6869),o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function i(e,t={}){let r=e.info.facets,n=e.info.meta.request_id,a=e.info.meta.page&&void 0!==e.info.meta.page.total_pages?Math.min(e.info.meta.page.total_pages,100):void 0,s=e.info.meta.page?e.info.meta.page.total_results:void 0;return Object.assign(Object.assign(Object.assign(Object.assign({},r&&{facets:function(e,{additionalFacetValueFields:t={}}){return e&&0!==Object.keys(e).length?Object.entries(e).reduce((e,[r,n])=>{let i=n.map(e=>{let{type:n,data:i}=e,a=o(e,["type","data"]);return Object.assign({field:r},Object.assign({type:n,data:i.map(e=>(function(e,t={}){let r=Object.prototype.hasOwnProperty.call(e,"value"),{count:n,value:i}=e,a=o(e,["count","value"]);return{count:n,value:r?i:Object.assign(Object.assign({},a),t)}})(e,t[r]))},a))});return Object.assign(Object.assign({},e),{[r]:i})},{}):e}(r,t)}),{rawResponse:e,requestId:n,results:e.rawResults}),void 0!==a&&{totalPages:a}),void 0!==s&&{totalResults:s})}let a=Object.assign({},r(7922));var s=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function c(e){if(a.isFilterValueRange(e)){let{name:t}=e;return Object.assign({},s(e,["name"]))}return e}function l(e){let t;let r=e.values.some(a.isFilterValueRange);return t="all"===e.type||r||1===e.values.length?e.values.map(c).map(t=>({[e.field]:t})):[{[e.field]:e.values.map(c).map(e=>e)}],{[e.type||"any"]:t}}function u(e){var t;let{current:r,resultsPerPage:n,searchTerm:o,sortDirection:i,sortField:a,sortList:s}=e,c=s&&s.length?s.map(e=>({[e.field]:e.direction})):a&&i?{[a]:i}:void 0;return Object.assign(Object.assign({query:o},void 0!==c&&{sort:c}),{page:Object.assign(Object.assign({},void 0!==n&&{size:n}),void 0!==r&&{current:r}),filters:(t=e.filters)&&0!==t.length?{all:t.map(l)}:{}})}var p=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},f=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function y(e){let{facets:t,filters:r}=e,n=f(e,["facets","filters"]);return Object.assign(Object.assign(Object.assign({},t&&Object.entries(t).length>0&&{facets:t}),r&&Object.entries(r).length>0&&{filters:r}),n)}class d{constructor(e){var{searchKey:t,engineName:r,beforeSearchCall:o=(e,t)=>t(e),beforeAutocompleteResultsCall:i=(e,t)=>t(e),beforeAutocompleteSuggestionsCall:a=(e,t)=>t(e),cacheResponses:s=!0}=e,c=f(e,["searchKey","engineName","beforeSearchCall","beforeAutocompleteResultsCall","beforeAutocompleteSuggestionsCall","cacheResponses"]);if(!r||!("hostIdentifier"in c||"endpointBase"in c))throw Error("hostIdentifier or endpointBase, and engineName are required");this.client=n.createClient(Object.assign(Object.assign(Object.assign(Object.assign({},"endpointBase"in c&&{endpointBase:c.endpointBase}),"hostIdentifier"in c&&{hostIdentifier:c.hostIdentifier}),{apiKey:t,engineName:r,cacheResponses:s}),c)),this.beforeSearchCall=o,this.beforeAutocompleteResultsCall=i,this.beforeAutocompleteSuggestionsCall=a}onResultClick({query:e,documentId:t,requestId:r,tags:n=[]}){return n=n.concat("results"),this.client.click({query:e,documentId:t,requestId:r,tags:n})}onAutocompleteResultClick({query:e,documentId:t,requestId:r,tags:n=[]}){return n=n.concat("autocomplete"),this.client.click({query:e,documentId:t,requestId:r,tags:n})}onSearch(e,t){return p(this,void 0,void 0,function*(){let{current:r,resultsPerPage:n,sortDirection:o,sortField:a,sortList:s}=t,c=f(t,["current","resultsPerPage","sortDirection","sortField","
1sortList"]),l=u(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e),void 0!==r&&{current:r}),void 0!==n&&{resultsPerPage:n}),void 0!==o&&{sortDirection:o}),void 0!==a&&{sortField:a}),void 0!==s&&{sortList:s})),{query:d}=l,h=f(l,["query"]),g=Object.assign({},y(Object.assign(Object.assign({},c),h)));return this.beforeSearchCall(g,e=>p(this,void 0,void 0,function*(){return i((yield this.client.search(d,e)),function(e={}){let t=Object.entries(e.facets||{}).reduce((e,[t,r])=>r.unit&&r.center?Object.assign(Object.assign({},e||{}),{[t]:Object.assign(Object.assign({},r.unit&&{unit:r.unit}),r.center&&{center:r.center})}):e,null);return Object.assign({},t&&{additionalFacetValueFields:t})}(t))}))})}onAutocomplete({searchTerm:e},t){return p(this,void 0,void 0,function*(){let r={},n=[];if(t.results){let o=t.results,{current:a,filters:s,resultsPerPage:c,sortDirection:l,sortField:p,sortList:d}=o,h=f(o,["current","filters","resultsPerPage","sortDirection","sortField","sortList"]),g=u({current:a,searchTerm:e,filters:s,resultsPerPage:c,sortDirection:l,sortField:p,sortList:d}),{query:b}=g,m=f(g,["query"]),S=y(Object.assign(Object.assign({},h),m));n.push(this.beforeAutocompleteResultsCall(S,e=>this.client.search(b,Object.assign(Object.assign({},e),{record_analytics:!1})).then(e=>{r.autocompletedResults=i(e).results,r.autocompletedResultsRequestId=e.info.meta.request_id})))}if(t.suggestions){let o=t.suggestions;n.push(this.beforeAutocompleteSuggestionsCall(o,t=>this.client.querySuggestion(e,t).then(e=>{r.autocompletedSuggestions=e.results,r.autocompletedSuggestionsRequestId=e.meta.request_id})))}return yield Promise.all(n),r})}}let h=d},7922:(e,t,r)=>{"use strict";r.r(t),r.d(t,{doFilterValuesMatch:()=>l,findFilterValues:()=>a,isFilterValueRange:()=>p,markSelectedFacetValuesFromFilters:()=>c,mergeFilters:()=>u,removeSingleFilterValue:()=>s,serialiseFilter:()=>f});var n=r(5796),o=r.n(n),i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)0>t.indexOf(n[o])&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]]);return r};function a(e,t,r){let n=e.find(e=>e.field===t&&e.type===r);return n?n.values:[]}function s(e,t,r,n){return e.reduce((e,o)=>{let{field:a,values:s,type:c}=o,u=i(o,["field","values","type"]);if(a===t&&(!n||c===n)){let t=s.filter(e=>!l(e,r));return t.length>0?e.concat(Object.assign({field:a,values:t,type:c},u)):e}return e.concat(o)},[])}function c(e,t,r,n){let o=e.data,i=a(t,r,n)||[];return Object.assign(Object.assign({},e),{data:o.map(e=>Object.assign(Object.assign({},e),{selected:i.some(t=>l(t,e.value))}))})}function l(e,t){return!!e&&!!e.name&&!!t&&!!t.name&&e.name===t.name||o()(e,t,{strict:!0})}function u(e,t){return t?t.reduce((e,t)=>e.find(e=>e.type===t.type&&e.field===t.field)?e:[...e,t],e):e}function p(e){return"object"==typeof e&&void 0!==e.name}let f=e=>e.reduce((e,t)=>(p(t)?e.push(t.name):e.push(t.toString()),e),[]).join(",")},5796:(e,t,r)=>{var n=r(9228),o=r(5387),i=r(5968),a=r(2672),s=r(1026),c=r(9543),l=Date.prototype.getTime;function u(e){return!!e&&"object"==typeof e&&"number"==typeof e.length&&"function"==typeof e.copy&&"function"==typeof e.slice&&(!(e.length>0)||"number"==typeof e[0])}e.exports=function e(t,r,p){var f=p||{};return(f.strict?!!i(t,r):t===r)||(t&&r&&("object"==typeof t||"object"==typeof r)?function(t,r,i){if(typeof t!=typeof r||null==t||null==r||t.prototype!==r.prototype||o(t)!==o(r))return!1;var p,f,y=a(t),d=a(r);if(y!==d)return!1;if(y||d)return t.source===r.source&&s(t)===s(r);if(c(t)&&c(r))return l.call(t)===l.call(r);var h=u(t),g=u(r);if(h!==g)return!1;if(h||g){if(t.length!==r.length)return!1;for(p=0;p<t.length;p++)if(t[p]!==r[p])return!1;return!0}if(typeof t!=typeof r)return!1;try{var b=n(t),m=n(r)}catch(e){return!1}if(b.length!==m.length)return!1;for(b.sort(),m.sort(),p=b.length-1;p>=0;p--)if(b[p]!=m[p])return!1;for(p=b.length-1;p>=0;p--)if(!e(t[f=b[p]],r[f],i))return!1;return!0}(t,r,f):f.strict?i(t,r):t==r)}},172:(e,t,r)=>{"use strict";r.d(t,{sF:()=>B});var n=r(6195),o=r(9507);let i=n.z.object({id:n.z.string(),name:n.z.string().optional(),description:n.z.string().optional()}),a=function(e){return e.EntryReplacement="EntryReplacement",e.InlineVariable="InlineVariable",e}({}),s=n.z.object({id:n.z.string(),hidden:n.z.boolean().default(!1)}),c=n.z.object({type:n.z.literal(a.EntryReplacement),baseline:s,variants:n.z.array(s)}),l=n.z.object({type:n.z.literal(a.InlineVariable),key:n.z.string(),valueType:n.z.nativeEnum(o.NO),baseline:o.jh,variants:n.z.array(o.jh)}),u=n.z.preprocess(e=>!(null!=e&&e.type)&&"baseline"in e&&"variants"in e?Object.assign({},e,{type:a.EntryReplacement}):e,n.z.discriminatedUnion("type",[c,l])),p=n.z.object({distribution:n.z.array(n.z.number()).optional().default([.5,.5]),traffic:n.z.number().optional().default(0),components:n.z.array(u).optional().default([{type:a.EntryReplacement,baseline:{id:""},variants:[{id:""}]}]),sticky:n.z.boolean().optional().default(!1)}),f=n.z.object({id:n.z.string()}).catchall(n.z.unknown()),y=n.z.object({id:n.z.string(),name:n.z.string(),description:n.z.string().optional(),type:n.z.union([n.z.string().regex(/^nt_experiment$/g),n.z.string().regex(/^nt_personalization$/g)]),config:p.default({}),audience:i.optional().nullable(),variants:(function(e){let t=t=>e.safeParse(t).success;return n.z.preprocess(e=>(Array.isArray(e)?e:[e]).filter(t),n.z.array(e))})(f).default([])}),d=Object.assign({},y,{parse:e=>{let t=y.parse(e);return Object.assign({},t,{variants:t.variants})},safeParse:e=>{let t=y.safeParse(e);return t.success?Object.assign({},t,{data:Object.assign({},t.data,{variants:t.data.variants})}):t}}),h=y.extend({type:n.z.string().regex(/^nt_experiment$/g)}),g=Object.assign({},h,{parse:e=>{let t=h.parse(e);return Object.assign({},t,{variants:t.variants})},safeParse:e=>{let t=h.safeParse(e);return t.success?Object.assign({},t,{data:Object.assign({},t.data,{variants:t.data.variants})}):t}});class b{static isExperienceEntry(e){return d.safeParse(e).success}static mapExperience(e){let t=d.safeParse(e);
1if(!t.success)throw o.vF.warn("[Ninetailed ExperienceMapper]","Error parsing experience",t.error.format()),Error(`[Ninetailed ExperienceMapper] The Experience Input is not valid. Please filter data first with "ExperienceMapper.isExperienceEntry". 2${JSON.stringify(t.error.format(),null,2)}`);let{id:r,type:n,name:i,description:s,audience:c,config:l,variants:u}=t.data,{components:p,traffic:f,sticky:y}=l;return Object.assign({id:r,type:n,name:i},s?{description:s}:{},c?{audience:c}:{},{trafficAllocation:f,distribution:l.distribution.map((e,t)=>({index:t,start:l.distribution.slice(0,t).reduce((e,t)=>e+t,0),end:l.distribution.slice(0,t+1).reduce((e,t)=>e+t,0)})),sticky:y,components:p.map(e=>{if(e.type===a.EntryReplacement||void 0===e.type){let t=e.variants.map(e=>{if(e.hidden)return e;let t=u.find(t=>t.id===e.id);return null!=t?t:null}).filter(e=>null!==e);return{type:a.EntryReplacement,baseline:e.baseline,variants:t}}if(e.type===a.InlineVariable)return e;throw Error("Unsupported component type encountered")})})}static isExperimentEntry(e){return g.safeParse(e).success}static mapExperiment(e){return b.mapExperience(e)}}let m=n.z.object({}).passthrough(),S=n.z.object({type:n.z.string().optional(),linkType:n.z.string().optional(),id:n.z.string()}),E=n.z.object({sys:S}),v=n.z.object({sys:n.z.object({type:n.z.string().optional(),id:n.z.string(),createdAt:n.z.string().optional(),updatedAt:n.z.string().optional(),locale:n.z.string().optional(),revision:n.z.number().optional(),space:E.optional(),environment:E.optional(),contentType:E.optional()}),fields:m,metadata:n.z.object({tags:n.z.array(n.z.object({sys:S.extend({linkType:n.z.string()})}))}).optional()});Object.assign({},v,{parse:e=>Object.assign({},v.parse(e),{fields:e.fields}),safeParse:e=>{let t=v.safeParse(e);return t.success?Object.assign({},t,{data:Object.assign({},t.data,{fields:e.fields})}):t}});let O=m.extend({nt_name:n.z.string(),nt_description:n.z.string().optional(),nt_audience_id:n.z.string()}),A=v.extend({fields:O});class P{static mapAudience(e){return{id:e.fields.nt_audience_id,name:e.fields.nt_name||"",description:e.fields.nt_description||""}}}P.isAudienceEntry=e=>A.safeParse(e).success;let _=n.z.object({nt_name:n.z.string(),nt_description:n.z.string().optional().nullable(),nt_type:n.z.union([n.z.string(),n.z.string()]),nt_config:p.optional().nullable().default(null).transform(e=>null!=e?e:{traffic:0,distribution:[.5,.5],components:[],sticky:!1}),nt_audience:A.optional().nullable(),nt_variants:n.z.array(v).optional(),nt_experience_id:n.z.string()}),j=v.extend({fields:_}),I=Object.assign({},j,{parse:e=>{let t=j.parse(e);return Object.assign({},t,{fields:Object.assign({},t.fields,{nt_variants:e.fields.nt_variants||[]})})},safeParse:e=>{let t=j.safeParse(e);return t.success?Object.assign({},t,{data:Object.assign({},t.data,{fields:Object.assign({},t.data.fields,{nt_variants:e.fields.nt_variants||[]})})}):t}}),L=j.extend({fields:_.extend({nt_type:n.z.string().regex(/^nt_experiment$/g)})}),R=Object.assign({},L,{parse:e=>{let t=L.parse(e);return Object.assign({},t,{fields:Object.assign({},t.fields,{nt_variants:e.fields.nt_variants||[]})})},safeParse:e=>{let t=L.safeParse(e);return t.success?Object.assign({},t,{data:Object.assign({},t.data,{fields:Object.assign({},t.data.fields,{nt_variants:e.fields.nt_variants||[]})})}):t}});function w(e,t){let{nt_name:r,nt_description:n,nt_type:o,nt_audience:i,nt_config:a,nt_experience_id:s}=e;return Object.assign({id:s,name:r,description:n||"",type:o},i?{audience:{id:i.fields.nt_audience_id,name:i.fields.nt_name,description:i.fields.nt_description||""}}:{},{config:a,variants:t})}function C(e){let t=I.safeParse(e);if(!t.success)throw o.vF.warn("[Ninetailed Contentful ExperienceMapper]","Error parsing experience",t.error.format()),Error(`[Ninetailed Contentful ExperienceMapper] The Experience Input is not valid. Please filter data first with "ExperienceMapper.isExperienceEntry". 3${JSON.stringify(t.error.format(),null,2)}`);return t.data}class B{static isExperienceEntry(e){return I.safeParse(e).success}static mapExperience(e){let{fields:t}=C(e),r=t.nt_variants.map(e=>Object.assign({},e,{id:e.sys.id})),n=w(t,r);return b.mapExperience(n)}static mapCustomExperience(e,t){let{fields:r}=C(e),n=r.nt_variants.map(t),o=w(r,n);return b.mapExperience(o)}static async mapCustomExperienceAsync(e,t){let{fields:r}=C(e),n=await Promise.all(r.nt_variants.map(t)),o=w(r,n);return b.mapExperience(o)}static isExperiment(e){return R.safeParse(e).success}static mapExperiment(e){return B.mapCustomExperience(e,()=>({id:""}))}static mapBaselineWithExperiences(e){return e.fields.nt_experiences.filter(
3B.isExperienceEntry).map(e=>B.mapExperience(e))}}},9818:(e,t,r)=>{"use strict";var n=r(528),o=r(8498),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},8498:(e,t,r)=>{"use strict";var n=r(9138),o=r(528),i=r(6108),a=r(3468),s=o("%Function.prototype.apply%"),c=o("%Function.prototype.call%"),l=o("%Reflect.apply%",!0)||n.call(c,s),u=r(4940),p=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=l(n,c,arguments);return i(t,1+p(0,e.length-(arguments.length-1)),!0)};var f=function(){return l(n,s,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},686:(e,t,r)=>{"use strict";var n=r(4940),o=r(5731),i=r(3468),a=r(3436);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],p=!!a&&a(e,t);if(n)n(e,t,{configurable:null===l&&p?p.configurable:!l,enumerable:null===s&&p?p.enumerable:!s,value:r,writable:null===c&&p?p.writable:!c});else if(!u&&(s||c||l))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=r}},7830:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n,o=this;if("function"!=typeof o||"[object Function]"!==r.call(o))throw TypeError("Function.prototype.bind called on incompatible "+o);for(var i=t.call(arguments,1),a=Math.max(0,o.length-i.length),s=[],c=0;c<a;c++)s.push("$"+c);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(!(this instanceof n))return o.apply(e,i.concat(t.call(arguments)));var r=o.apply(this,i.concat(t.call(arguments)));return Object(r)===r?r:this}),o.prototype){var l=function(){};l.prototype=o.prototype,n.prototype=new l,l.prototype=null}return n}},8990:(e,t,r)=>{"use strict";var n=r(7830);e.exports=Function.prototype.bind||n},9100:(e,t,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var l=function(){throw new a},u=c?function(){try{return arguments.callee,l}catch(e){try{return c(arguments,"callee").get}catch(e){return l}}}():l,p=r(3558)(),f=Object.getPrototypeOf||function(e){return e.__proto__},y={},d="undefined"==typeof Uint8Array?n:f(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p?f([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
3IteratorPrototype%":p?f(f([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?f(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?f(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?f(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};try{null.error}catch(e){var g=f(f(e));h["%Error.prototype%"]=g}var b=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=f(o.prototype))}return h[t]=r,r},m={"%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"]},S=r(8990),E=r(2571),v=S.call(Function.call,Array.prototype.concat),O=S.call(Function.apply,Array.prototype.splice),A=S.call(Function.call,String.prototype.replace),P=S.call(Function.call,String.prototype.slice),_=S.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,L=function(e){var t=P(e,0,1),r=P(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,j,function(e,t,r,o){n[n.length]=r?A(o,I,"$1"):t||e}),n},R=function(e,t){var r,n=e;if(E(m,n)&&(n="%"+(r=m[n])[0]+"%"),E(h,n)){var i=h[n];if(i===y&&(i=b(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===_(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=L(e),n=r.length>0?r[0]:"",i=R("%"+n+"%",t),s=i.name,l=i.value,u=!1,p=i.alias;p&&(n=p[0],O(r,v([0,1],p)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],g=P(d,0,1),b=P(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===b||"'"===b||"`"===b)&&g!==b)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(u=!0),n+="."+d,E(h,s="%"+n+"%"))l=h[s];else if(null!=l){if(!(d in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=r.length){var m=c(l,d);l=(y=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:l[d]}else y=E(l,d),l=l[d];y&&!u&&(h[s]=l)}}return l}},3436:(e,t,r)=>{"use strict";var n=r(9100)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},1857:(e,t,r)=>{"use strict";var n=r(9228),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=r(686),c=r(7239)(),l=function(e,t,r,n){if(t in e){if(!0===n){
3if(e[t]===r)return}else if(!("function"==typeof n&&"[object Function]"===i.call(n))||!n())return}c?s(e,t,r,!0):s(e,t,r)},u=function(e,t){var r=arguments.length>2?arguments[2]:{},i=n(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)l(e,i[s],t[i[s]],r[i[s]])};u.supportsDescriptors=!!c,e.exports=u},4940:(e,t,r)=>{"use strict";var n=r(528)("%Object.defineProperty%",!0)||!1;if(n)try{n({},"a",{value:1})}catch(e){n=!1}e.exports=n},9110:e=>{"use strict";e.exports=EvalError},9838:e=>{"use strict";e.exports=Error},1155:e=>{"use strict";e.exports=RangeError},4943:e=>{"use strict";e.exports=ReferenceError},5731:e=>{"use strict";e.exports=SyntaxError},3468:e=>{"use strict";e.exports=TypeError},2140:e=>{"use strict";e.exports=URIError},8794: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 o=0;o<t.length;o+=1)r[o+e.length]=t[o];return r},o=function(e,t){for(var r=[],n=t||0,o=0;n<e.length;n+=1,o+=1)r[o]=e[n];return r},i=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 c=o(arguments,1),l=r(0,s.length-c.length),u=[],p=0;p<l;p++)u[p]="$"+p;if(a=Function("binder","return function ("+i(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof a){var t=s.apply(this,n(c,arguments));return Object(t)===t?t:this}return s.apply(e,n(c,arguments))}),s.prototype){var f=function(){};f.prototype=s.prototype,a.prototype=new f,f.prototype=null}return a}},9138:(e,t,r)=>{"use strict";var n=r(8794);e.exports=Function.prototype.bind||n},8993:e=>{"use strict";var t=function(){return"string"==typeof(function(){}).name},r=Object.getOwnPropertyDescriptor;if(r)try{r([],"length")}catch(e){r=null}t.functionsHaveConfigurableNames=function(){if(!t()||!r)return!1;var e=r(function(){},"name");return!!e&&!!e.configurable};var n=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof n&&""!==(function(){}).bind().name},e.exports=t},528:(e,t,r)=>{"use strict";var n,o=r(9838),i=r(9110),a=r(1155),s=r(4943),c=r(5731),l=r(3468),u=r(2140),p=Function,f=function(e){try{return p('"use strict"; return ('+e+").constructor;")()}catch(e){}},y=Object.getOwnPropertyDescriptor;if(y)try{y({},"")}catch(e){y=null}var d=function(){throw new l},h=y?function(){try{return arguments.callee,d}catch(e){try{return y(arguments,"callee").get}catch(e){return d}}}():d,g=r(3558)(),b=r(9250)(),m=Object.getPrototypeOf||(b?function(e){return e.__proto__}:null),S={},E="undefined"!=typeof Uint8Array&&m?m(Uint8Array):n,v={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":g&&m?m([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":S,"%AsyncGenerator%":S,"%AsyncGeneratorFunction%":S,"%AsyncIteratorPrototype%":S,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":p,"%GeneratorFunction%":S,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
3IteratorPrototype%":g&&m?m(m([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&m?m(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&m?m(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&m?m(""[Symbol.iterator]()):n,"%Symbol%":g?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":h,"%TypedArray%":E,"%TypeError%":l,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(m)try{null.error}catch(e){var O=m(m(e));v["%Error.prototype%"]=O}var A=function e(t){var r;if("%AsyncFunction%"===t)r=f("async function () {}");else if("%GeneratorFunction%"===t)r=f("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=f("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&m&&(r=m(o.prototype))}return v[t]=r,r},P={__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"]},_=r(9138),j=r(8554),I=_.call(Function.call,Array.prototype.concat),L=_.call(Function.apply,Array.prototype.splice),R=_.call(Function.call,String.prototype.replace),w=_.call(Function.call,String.prototype.slice),C=_.call(Function.call,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,T=/\\(\\)?/g,x=function(e){var t=w(e,0,1),r=w(e,-1);if("%"===t&&"%"!==r)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var n=[];return R(e,B,function(e,t,r,o){n[n.length]=r?R(o,T,"$1"):t||e}),n},N=function(e,t){var r,n=e;if(j(P,n)&&(n="%"+(r=P[n])[0]+"%"),j(v,n)){var o=v[n];if(o===S&&(o=A(n)),void 0===o&&!t)throw new l("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:o}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new l("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new l('"allowMissing" argument must be a boolean');if(null===C(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=x(e),n=r.length>0?r[0]:"",o=N("%"+n+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(n=u[0],L(r,I([0,1],u)));for(var p=1,f=!0;p<r.length;p+=1){var d=r[p],h=w(d,0,1),g=w(d,-1);if(('"'===h||"'"===h||"`"===h||'"'===g||"'"===g||"`"===g)&&h!==g)throw new c("property names with quotes must have matching quotes");if("constructor"!==d&&f||(s=!0),n+="."+d,j(v,i="%"+n+"%"))a=v[i];
3else if(null!=a){if(!(d in a)){if(!t)throw new l("base intrinsic for "+e+" exists, but the property is not available.");return}if(y&&p+1>=r.length){var b=y(a,d);a=(f=!!b)&&"get"in b&&!("originalValue"in b.get)?b.get:a[d]}else f=j(a,d),a=a[d];f&&!s&&(v[i]=a)}}return a}},7239:(e,t,r)=>{"use strict";var n=r(4940),o=function(){return!!n};o.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},9250:e=>{"use strict";var t={__proto__:null,foo:{}},r=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof r)}},3558:(e,t,r)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,o=r(2908);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&o()}},2908: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(t 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 n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[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}},1913:(e,t,r)=>{"use strict";var n=r(2908);e.exports=function(){return n()&&!!Symbol.toStringTag}},7762:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n,o=this;if("function"!=typeof o||"[object Function]"!==r.call(o))throw TypeError("Function.prototype.bind called on incompatible "+o);for(var i=t.call(arguments,1),a=Math.max(0,o.length-i.length),s=[],c=0;c<a;c++)s.push("$"+c);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(!(this instanceof n))return o.apply(e,i.concat(t.call(arguments)));var r=o.apply(this,i.concat(t.call(arguments)));return Object(r)===r?r:this}),o.prototype){var l=function(){};l.prototype=o.prototype,n.prototype=new l,l.prototype=null}return n}},6890:(e,t,r)=>{"use strict";var n=r(7762);e.exports=Function.prototype.bind||n},2571:(e,t,r)=>{"use strict";var n=r(6890);e.exports=n.call(Function.call,Object.prototype.hasOwnProperty)},8554:(e,t,r)=>{"use strict";var n=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=r(9138);e.exports=i.call(n,o)},5387:(e,t,r)=>{"use strict";var n=r(1913)(),o=r(9818)("Object.prototype.toString"),i=function(e){return(!n||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},9543:(e,t,r)=>{"use strict";var n=Date.prototype.getDay,o=function(e){try{return n.call(e),!0}catch(e){return!1}},i=Object.prototype.toString,a=r(1913)();e.exports=function(e){return"object"==typeof e&&null!==e&&(a?o(e):"[object Date]"===i.call(e))}},2672:(e,t,r)=>{"use strict";var n,o,i,a,s=r(9818),c=r(1913)();if(c){n=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),i={};var l=function(){throw i};a={toString:l,valueOf:l},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=l)}var u=s("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor;e.exports=c?function(e){if(!e||"object"!=typeof e)return!1;var t=p(e,"lastIndex");if(!(t&&n(t,"value")))return!1;try{o(e,a)}catch(e){return e===i}}:function(e){return!!e&&("object"==typeof e||"function"==typeof e)&&"[object RegExp]"===u(e)}},3804:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return E}});let n=r(6004),o=r(1263),i=r(1085),a=o._(r(4041)),s=n._(r(3144)),c=n._(r(8151)),l=r(8404),u=r(3787),p=r(743);r(3397);let f=r(8294),y=n._(r(6054)),d=r(4261),h={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,o,i,a){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>
3{if(e.parentElement&&e.isConnected){if("empty"!==t&&o(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,o=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>o,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{o=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function b(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let m=(0,a.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:o,height:s,width:c,decoding:l,className:u,style:p,fetchPriority:f,placeholder:y,loading:h,unoptimized:m,fill:S,onLoadRef:E,onLoadingCompleteRef:v,setBlurComplete:O,setShowAltText:A,sizesInput:P,onLoad:_,onError:j,...I}=e,L=(0,a.useCallback)(e=>{e&&(j&&(e.src=e.src),e.complete&&g(e,y,E,v,O,m,P))},[r,y,E,v,O,j,m,P]),R=(0,d.useMergedRef)(t,L);return(0,i.jsx)("img",{...I,...b(f),loading:h,width:c,height:s,decoding:l,"data-nimg":S?"fill":"1",className:u,style:p,sizes:o,srcSet:n,src:r,ref:R,onLoad:e=>{g(e.currentTarget,y,E,v,O,m,P)},onError:e=>{A(!0),"empty"!==y&&O(!0),j&&j(e)}})});function S(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...b(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,i.jsx)(c.default,{children:(0,i.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let E=(0,a.forwardRef)((e,t)=>{let r=(0,a.useContext)(f.RouterContext),n=(0,a.useContext)(p.ImageConfigContext),o=(0,a.useMemo)(()=>{var e;let t=h||n||u.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>e-t),o=t.deviceSizes.sort((e,t)=>e-t),i=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:o,qualities:i}},[n]),{onLoad:s,onLoadingComplete:c}=e,d=(0,a.useRef)(s);(0,a.useEffect)(()=>{d.current=s},[s]);let g=(0,a.useRef)(c);(0,a.useEffect)(()=>{g.current=c},[c]);let[b,E]=(0,a.useState)(!1),[v,O]=(0,a.useState)(!1),{props:A,meta:P}=(0,l.getImgProps)(e,{defaultLoader:y.default,imgConf:o,blurComplete:b,showAltText:v});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(m,{...A,unoptimized:P.unoptimized,placeholder:P.placeholder,fill:P.fill,onLoadRef:d,onLoadingCompleteRef:g,setBlurComplete:E,setShowAltText:O,sizesInput:e.sizes,ref:t}),P.priority?(0,i.jsx)(S,{isAppRouter:!r,imgAttributes:A}):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)},8404:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return s}}),r(3397);let n=r(5967),o=r(3787);function i(e){return void 0!==e.default}function a(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 s(e,t){var r,s;let c,l,u,{src:p,sizes:f,unoptimized:y=!1,priority:d=!1,loading:h,className:g,quality:b,width:m,height:S,fill:E=!1,style:v,overrideSrc:O,onLoad:A,onLoadingComplete:P,placeholder:_="empty",blurDataURL:j,fetchPriority:I,decoding:L="async",layout:R,objectFit:w,objectPosition:C,lazyBoundary:B,lazyRoot:T,...x}=e,{imgConf:N,showAltText:D,blurComplete:U,defaultLoader:M}=t,F=N||o.imageConfigDefault;if("allSizes"in F)c=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t),n=null==(r=F.qualities)?void 0:r.sort((e,t)=>e-t);c={...F,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===M)throw Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config");let k=x.loader||M;delete x.loader,delete x.srcSet;let K="__next_img_default"in k;if(K){if("custom"===c.loader)throw Error('Image with src "'+p+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=k;k=t=>{let{config:r,...n}=t;return e(n)}}if(R){"fill"===R&&(E=!0);
3let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[R];e&&(v={...v,...e});let t={responsive:"100vw",fill:"100vw"}[R];t&&!f&&(f=t)}let H="",G=a(m),z=a(S);if((s=p)&&"object"==typeof s&&(i(s)||void 0!==s.src)){let e=i(p)?p.default:p;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,j=j||e.blurDataURL,H=e.src,!E){if(G||z){if(G&&!z){let t=G/e.width;z=Math.round(e.height*t)}else if(!G&&z){let t=z/e.height;G=Math.round(e.width*t)}}else G=e.width,z=e.height}}let W=!d&&("lazy"===h||void 0===h);(!(p="string"==typeof p?p:H)||p.startsWith("data:")||p.startsWith("blob:"))&&(y=!0,W=!1),c.unoptimized&&(y=!0),K&&!c.dangerouslyAllowSVG&&p.split("?",1)[0].endsWith(".svg")&&(y=!0);let q=a(b),$=Object.assign(E?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:w,objectPosition:C}:{},D?{}:{color:"transparent"},v),V=U||"empty"===_?null:"blur"===_?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:G,heightInt:z,blurWidth:l,blurHeight:u,blurDataURL:j||"",objectFit:$.objectFit})+'")':'url("'+_+'")',Y=V?{backgroundSize:$.objectFit||"cover",backgroundPosition:$.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:V}:{},Q=function(e){let{config:t,src:r,unoptimized:n,width:o,quality:i,sizes:a,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:c,kind:l}=function(e,t,r){let{deviceSizes:n,allSizes:o}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:o.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:o,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>o.find(t=>t>=e)||o[o.length-1]))],kind:"x"}}(t,o,a),u=c.length-1;return{sizes:a||"w"!==l?a:"100vw",srcSet:c.map((e,n)=>s({config:t,src:r,quality:i,width:e})+" "+("w"===l?e:n+1)+l).join(", "),src:s({config:t,src:r,quality:i,width:c[u]})}}({config:c,src:p,unoptimized:y,width:G,quality:q,sizes:f,loader:k});return{props:{...x,loading:W?"lazy":h,fetchPriority:I,width:G,height:z,decoding:L,className:g,style:{...$,...Y},sizes:Q.sizes,srcSet:Q.srcSet,src:O||Q.src},meta:{unoptimized:y,priority:d,placeholder:_,fill:E}}}},5967:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:o,blurDataURL:i,objectFit:a}=e,s=n?40*n:t,c=o?40*o:r,l=s&&c?"viewBox='0 0 "+s+" "+c+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+l+"%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='"+(l?"none":"contain"===a?"xMidYMid":"cover"===a?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+i+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},754:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return c},getImageProps:function(){return s}});let n=r(6004),o=r(8404),i=r(3804),a=n._(r(6054));function s(e){let{props:t}=(0,o.getImgProps)(e,{defaultLoader:a.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let c=i.Image},6054:(e,t)=>
3{"use strict";function r(e){var t;let{config:r,src:n,width:o,quality:i}=e,a=i||(null==(t=r.qualities)?void 0:t.reduce((e,t)=>Math.abs(t-75)<Math.abs(e-75)?t:e))||75;return r.path+"?url="+encodeURIComponent(n)+"&w="+o+"&q="+a+(n.startsWith("/_next/static/media/"),"")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),r.__next_img_default=!0;let n=r},2657:(e,t,r)=>{e.exports=r(8151)},7338:(e,t,r)=>{e.exports=r(754)},2372:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,r){return 0===e&&0===r?1/e==1/r:!!(e===r||t(e)&&t(r))}},5968:(e,t,r)=>{"use strict";var n=r(1857),o=r(8498),i=r(2372),a=r(1937),s=r(5087),c=o(a(),Object);n(c,{getPolyfill:a,implementation:i,shim:s}),e.exports=c},1937:(e,t,r)=>{"use strict";var n=r(2372);e.exports=function(){return"function"==typeof Object.is?Object.is:n}},5087:(e,t,r)=>{"use strict";var n=r(1937),o=r(1857);e.exports=function(){var e=n();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8160:(e,t,r)=>{"use strict";var n;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=r(968),s=Object.prototype.propertyIsEnumerable,c=!s.call({toString:null},"toString"),l=s.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],p=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},y=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{p(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),d=function(e){if("undefined"==typeof window||!y)return p(e);try{return p(e)}catch(e){return!1}};n=function(e){var t=null!==e&&"object"==typeof e,r="[object Function]"===i.call(e),n=a(e),s=t&&"[object String]"===i.call(e),p=[];if(!t&&!r&&!n)throw TypeError("Object.keys called on a non-object");var f=l&&r;if(s&&e.length>0&&!o.call(e,0))for(var y=0;y<e.length;++y)p.push(String(y));if(n&&e.length>0)for(var h=0;h<e.length;++h)p.push(String(h));else for(var g in e)!(f&&"prototype"===g)&&o.call(e,g)&&p.push(String(g));if(c)for(var b=d(e),m=0;m<u.length;++m)!(b&&"constructor"===u[m])&&o.call(e,u[m])&&p.push(u[m]);return p}}e.exports=n},9228:(e,t,r)=>{"use strict";var n=Array.prototype.slice,o=r(968),i=Object.keys,a=i?function(e){return i(e)}:r(8160),s=Object.keys;a.shim=function(){return Object.keys?!function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2)&&(Object.keys=function(e){return o(e)?s(n.call(e)):s(e)}):Object.keys=a,Object.keys||a},e.exports=a},968:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var r=t.call(e),n="[object Arguments]"===r;return n||(n="[object Array]"!==r&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),n}},1830:e=>{"use strict";var t=String.prototype.replace,r=/%20/g,n={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:n.RFC3986,formatters:{RFC1738:function(e){return t.call(e,r,"+")},RFC3986:function(e){return String(e)}},RFC1738:n.RFC1738,RFC3986:n.RFC3986}},5810:(e,t,r)=>{"use strict";var n=r(6623),o=r(6193),i=r(1830);e.exports={formats:i,parse:o,stringify:n}},6193:(e,t,r)=>{"use strict";var n=r(1539),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:n.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t){var r={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,l=t.parameterLimit===1/0?void 0:t.parameterLimit,u=c.split(t.delimiter,l),p=-1,f=t.charset;if(t.charsetSentinel)for(y=0;y<u.length;++y)0===u[y].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[y]?f="utf-8":"utf8=%26%2310003%3B"===u[y]&&(f="iso-8859-1"),p=y,y=u.length);for(y=0;y<u.length;++y)if(y!==p){var y,d,h,g=u[y],b=g.indexOf("]="),m=-1===b?g.indexOf("="):b+1;-1===m?(d=t.decoder(g,a.decoder,f,"key"),h=t.strictNullHandling?null:""):(d=t.decoder(g.slice(0,m),a.decoder,f,"key"),h=n.maybeMap(s(g.slice(m+1),t),function(e){return t.decoder(e,a.decoder,f,"value")})),h&&t.interpretNumericEntities&&"iso-8859-1"===f&&(h=h.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(h=i(h)?[h]:h),o.call(r,d)?r[d]=n.combine(r[d],h):r[d]=h}return r},l=function(e,t,r,n){for(var o=n?t:s(t,r),i=e.length-1;i>=0;--i){var a,c=e[i];if("[]"===c&&r.parseArrays)a=[].concat(o);else{a=r.plainObjects?Object.create(null):{};var l="["===c.charAt(0)&&"]"===c.charAt(c.length-1)?c.slice(1,-1):c,u=parseInt(l,10);r.parseArrays||""!==l?!isNaN(u)&&c!==l&&String(u)===l&&u>
3=0&&r.parseArrays&&u<=r.arrayLimit?(a=[])[u]=o:"__proto__"!==l&&(a[l]=o):a={0:o}}o=a}return o},u=function(e,t,r,n){if(e){var i=r.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=r.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,u=[];if(c){if(!r.plainObjects&&o.call(Object.prototype,c)&&!r.allowPrototypes)return;u.push(c)}for(var p=0;r.depth>0&&null!==(s=a.exec(i))&&p<r.depth;){if(p+=1,!r.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!r.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+i.slice(s.index)+"]"),l(u,t,r,n)}},p=function(e){if(!e)return a;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");var t=void 0===e.charset?a.charset:e.charset;return{allowDots:void 0===e.allowDots?a.allowDots:!!e.allowDots,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,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,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,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}};e.exports=function(e,t){var r=p(t);if(""===e||null==e)return r.plainObjects?Object.create(null):{};for(var o="string"==typeof e?c(e,r):e,i=r.plainObjects?Object.create(null):{},a=Object.keys(o),s=0;s<a.length;++s){var l=a[s],f=u(l,o[l],r,"string"==typeof e);i=n.merge(i,f,r)}return!0===r.allowSparse?i:n.compact(i)}},6623:(e,t,r)=>{"use strict";var n=r(7575),o=r(1539),i=r(1830),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},c=Array.isArray,l=Array.prototype.push,u=function(e,t){l.apply(e,c(t)?t:[t])},p=Date.prototype.toISOString,f=i.default,y={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return p.call(e)},skipNulls:!1,strictNullHandling:!1},d={},h=function e(t,r,i,a,s,l,p,f,h,g,b,m,S,E,v,O){for(var A,P,_=t,j=O,I=0,L=!1;void 0!==(j=j.get(d))&&!L;){var R=j.get(t);if(I+=1,void 0!==R){if(R===I)throw RangeError("Cyclic object value");L=!0}void 0===j.get(d)&&(I=0)}if("function"==typeof f?_=f(r,_):_ instanceof Date?_=b(_):"comma"===i&&c(_)&&(_=o.maybeMap(_,function(e){return e instanceof Date?b(e):e})),null===_){if(s)return p&&!E?p(r,y.encoder,v,"key",m):r;_=""}if("string"==typeof(A=_)||"number"==typeof A||"boolean"==typeof A||"symbol"==typeof A||"bigint"==typeof A||o.isBuffer(_))return p?[S(E?r:p(r,y.encoder,v,"key",m))+"="+S(p(_,y.encoder,v,"value",m))]:[S(r)+"="+S(String(_))];var w=[];if(void 0===_)return w;if("comma"===i&&c(_))E&&p&&(_=o.maybeMap(_,p)),P=[{value:_.length>0?_.join(",")||null:void 0}];else if(c(f))P=f;else{var C=Object.keys(_);P=h?C.sort(h):C}for(var B=a&&c(_)&&1===_.length?r+"[]":r,T=0;T<P.length;++T){var x=P[T],N="object"==typeof x&&void 0!==x.value?x.value:_[x];if(!l||null!==N){var D=c(_)?"function"==typeof i?i(B,x):B:B+(g?"."+x:"["+x+"]");O.set(t,I);var U=n();U.set(d,O),u(w,e(N,D,i,a,s,l,"comma"===i&&E&&c(_)?null:p,f,h,g,b,m,S,E,v,U))}}return w},g=function(e){if(!e)return y;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t=e.charset||y.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 r=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var n=i.formatters[r],o=y.filter;return("function"==typeof e.filter||c(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:y.addQueryPrefix,allowDots:void 0===e.allowDots?y.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:y.charsetSentinel,delimiter:void 0===e.delimiter?y.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:y.encode,encoder:"function"==typeof e.encoder?e.encoder:y.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:y.encodeValuesOnly,filter:o,format:r,formatter:n,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:y.seri
3alizeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:y.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:y.strictNullHandling}};e.exports=function(e,t){var r,o,i=e,a=g(t);"function"==typeof a.filter?i=(0,a.filter)("",i):c(a.filter)&&(r=a.filter);var l=[];if("object"!=typeof i||null===i)return"";o=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var p=s[o];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var f="comma"===p&&t&&t.commaRoundTrip;r||(r=Object.keys(i)),a.sort&&r.sort(a.sort);for(var y=n(),d=0;d<r.length;++d){var b=r[d];a.skipNulls&&null===i[b]||u(l,h(i[b],b,p,f,a.strictNullHandling,a.skipNulls,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,y))}var m=l.join(a.delimiter),S=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?S+="utf8=%26%2310003%3B&":S+="utf8=%E2%9C%93&"),m.length>0?S+m:""}},1539:(e,t,r)=>{"use strict";var n=r(1830),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),r=t.obj[t.prop];if(i(r)){for(var n=[],o=0;o<r.length;++o)void 0!==r[o]&&n.push(r[o]);t.obj[t.prop]=n}}},c=function(e,t){for(var r=t&&t.plainObjects?Object.create(null):{},n=0;n<e.length;++n)void 0!==e[n]&&(r[n]=e[n]);return r};e.exports={arrayToObject:c,assign:function(e,t){return Object.keys(t).reduce(function(e,r){return e[r]=t[r],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],r=[],n=0;n<t.length;++n)for(var o=t[n],i=o.obj[o.prop],a=Object.keys(i),c=0;c<a.length;++c){var l=a[c],u=i[l];"object"==typeof u&&null!==u&&-1===r.indexOf(u)&&(t.push({obj:i,prop:l}),r.push(u))}return s(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,o,i){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===r)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var c="",l=0;l<s.length;++l){var u=s.charCodeAt(l);if(45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===n.RFC1738&&(40===u||41===u)){c+=s.charAt(l);continue}if(u<128){c+=a[u];continue}if(u<2048){c+=a[192|u>>6]+a[128|63&u];continue}if(u<55296||u>=57344){c+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u];continue}l+=1,c+=a[240|(u=65536+((1023&u)<<10|1023&s.charCodeAt(l)))>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u]}return c},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var r=[],n=0;n<e.length;n+=1)r.push(t(e[n]));return r}return t(e)},merge:function e(t,r,n){if(!r)return t;if("object"!=typeof r){if(i(t))t.push(r);else{if(!t||"object"!=typeof t)return[t,r];(n&&(n.plainObjects||n.allowPrototypes)||!o.call(Object.prototype,r))&&(t[r]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(r);var a=t;return(i(t)&&!i(r)&&(a=c(t,n)),i(t)&&i(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.push(r)}else t[i]=r}),t):Object.keys(r).reduce(function(t,i){var a=r[i];return o.call(t,i)?t[i]=e(t[i],a,n):t[i]=a,t},a)}}},8394:(e,t,r)=>{"use strict";var n=r(9343),o=r(3468),i=Object;e.exports=n(function(){if(this==null||this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0)},1026:(e,t,r)=>{"use strict";var n=r(1857),o=r(8498),i=r(8394),a=r(243),s=r(9669),c=o(a());n(c,{getPolyfill:a,implementation:i,shim:s}),e.exports=c},243:(e,t,r)=>{"use strict";var n=r(8394),o=r(1857).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/mig.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(r,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return n}},9669:(e,t,r)=>{"use strict";var n=r(1857).supportsDescriptors,o=r(243),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,c=Object.getPrototypeOf,l=/
3a/;e.exports=function(){if(!n||!c)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=c(l),r=i(t,"flags");return r&&r.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},6108:(e,t,r)=>{"use strict";var n=r(528),o=r(686),i=r(7239)(),a=r(8246),s=r(3468),c=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>0xffffffff||c(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,l=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(n=!1),u&&!u.writable&&(l=!1)}return(n||l||!r)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},8246:(e,t,r)=>{"use strict";var n=r(3364)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},478:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n,o=this;if("function"!=typeof o||"[object Function]"!==r.call(o))throw TypeError("Function.prototype.bind called on incompatible "+o);for(var i=t.call(arguments,1),a=Math.max(0,o.length-i.length),s=[],c=0;c<a;c++)s.push("$"+c);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(!(this instanceof n))return o.apply(e,i.concat(t.call(arguments)));var r=o.apply(this,i.concat(t.call(arguments)));return Object(r)===r?r:this}),o.prototype){var l=function(){};l.prototype=o.prototype,n.prototype=new l,l.prototype=null}return n}},9318:(e,t,r)=>{"use strict";var n=r(478);e.exports=Function.prototype.bind||n},3364:(e,t,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var l=function(){throw new a},u=c?function(){try{return arguments.callee,l}catch(e){try{return c(arguments,"callee").get}catch(e){return l}}}():l,p=r(3558)(),f=Object.getPrototypeOf||function(e){return e.__proto__},y={},d="undefined"==typeof Uint8Array?n:f(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p?f([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
3IteratorPrototype%":p?f(f([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?f(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?f(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?f(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};try{null.error}catch(e){var g=f(f(e));h["%Error.prototype%"]=g}var b=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=f(o.prototype))}return h[t]=r,r},m={"%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"]},S=r(9318),E=r(2571),v=S.call(Function.call,Array.prototype.concat),O=S.call(Function.apply,Array.prototype.splice),A=S.call(Function.call,String.prototype.replace),P=S.call(Function.call,String.prototype.slice),_=S.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,L=function(e){var t=P(e,0,1),r=P(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,j,function(e,t,r,o){n[n.length]=r?A(o,I,"$1"):t||e}),n},R=function(e,t){var r,n=e;if(E(m,n)&&(n="%"+(r=m[n])[0]+"%"),E(h,n)){var i=h[n];if(i===y&&(i=b(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===_(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=L(e),n=r.length>0?r[0]:"",i=R("%"+n+"%",t),s=i.name,l=i.value,u=!1,p=i.alias;p&&(n=p[0],O(r,v([0,1],p)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],g=P(d,0,1),b=P(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===b||"'"===b||"`"===b)&&g!==b)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(u=!0),n+="."+d,E(h,s="%"+n+"%"))l=h[s];else if(null!=l){if(!(d in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=r.length){var m=c(l,d);l=(y=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:l[d]}else y=E(l,d),l=l[d];y&&!u&&(h[s]=l)}}return l}},9343:(e,t,r)=>{"use strict";var n=r(686),o=r(7239)(),i=r(8993).functionsHaveConfigurableNames(),a=r(3468);e.exports=function(e,t){if("function"!=typeof e)throw new a("`fn` is not a function");var r=arguments.length>2&&!!arguments[2];return(!r||i)&&(o?n(e,"name",t,!0,!0):n(e,"name",t)),e}},7575:(e,t,r)=>{"use strict";var n=r(3503),o=r(7189),i=r(1277),a=n("%TypeError%"),s=n("%WeakMap%",!0),c=n("%Map%",!0),l=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),p=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),y=o("Map.prototype.set",!0),d=o("Map.prototype.has",!0),h=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},g=function(e,t){var r=h(e,t);return r&&r.value},b=function(e,t,r){var n=h(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+i(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return l(e,n)}else if(c){if(t)return f(t,n)}else if(r)return g(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(c){if(t)return d(t,n)}else if(r)return!!h(r,n);return!1},set:function(n,o){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),u(e,n,o)):c?(t||(t=new c),y(t,n,o)):(r||(r={key:{},next:null}),b(r,n,o))}};return n}},7189:(e,t,r)=>{"use strict";var n=r(3503),o=r(573),i=o(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&i(e,".prototype.")>-1?o(r):r}},573:(e,t,r)=>{"use strict";var n=r(6765),o=r(3503),i=o("%Function.prototype.apply%"),a=o("%Function.prototype.call%"),s=o("%Reflect.apply%",!0)||n.call(a,i),c=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),u=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch(e){l=null}e.exports=function(e){var t=s(n,a,arguments);return c&&l&&c(t,"length").configurable&&l(t,"length",{value:1+u(0,e.length-(arguments.length-1))}),t};var p=function(){return s(n,i,arguments)};l?l(e.exports,"apply",{value:p}):e.exports.apply=p},3139:e=>{"use strict";var t=Array.prototype.slice,r=Object.prototype.toString;e.exports=function(e){var n,o=this;if("function"!=typeof o||"[object Function]"!==r.call(o))throw TypeError("Function.prototype.bind called on incompatible "+o);
3for(var i=t.call(arguments,1),a=Math.max(0,o.length-i.length),s=[],c=0;c<a;c++)s.push("$"+c);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")(function(){if(!(this instanceof n))return o.apply(e,i.concat(t.call(arguments)));var r=o.apply(this,i.concat(t.call(arguments)));return Object(r)===r?r:this}),o.prototype){var l=function(){};l.prototype=o.prototype,n.prototype=new l,l.prototype=null}return n}},6765:(e,t,r)=>{"use strict";var n=r(3139);e.exports=Function.prototype.bind||n},3503:(e,t,r)=>{"use strict";var n,o=SyntaxError,i=Function,a=TypeError,s=function(e){try{return i('"use strict"; return ('+e+").constructor;")()}catch(e){}},c=Object.getOwnPropertyDescriptor;if(c)try{c({},"")}catch(e){c=null}var l=function(){throw new a},u=c?function(){try{return arguments.callee,l}catch(e){try{return c(arguments,"callee").get}catch(e){return l}}}():l,p=r(3558)(),f=Object.getPrototypeOf||function(e){return e.__proto__},y={},d="undefined"==typeof Uint8Array?n:f(Uint8Array),h={"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":p?f([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":i,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
3IteratorPrototype%":p?f(f([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&p?f(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&p?f(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?f(""[Symbol.iterator]()):n,"%Symbol%":p?Symbol:n,"%SyntaxError%":o,"%ThrowTypeError%":u,"%TypedArray%":d,"%TypeError%":a,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};try{null.error}catch(e){var g=f(f(e));h["%Error.prototype%"]=g}var b=function e(t){var r;if("%AsyncFunction%"===t)r=s("async function () {}");else if("%GeneratorFunction%"===t)r=s("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=s("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&(r=f(o.prototype))}return h[t]=r,r},m={"%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"]},S=r(6765),E=r(2571),v=S.call(Function.call,Array.prototype.concat),O=S.call(Function.apply,Array.prototype.splice),A=S.call(Function.call,String.prototype.replace),P=S.call(Function.call,String.prototype.slice),_=S.call(Function.call,RegExp.prototype.exec),j=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,L=function(e){var t=P(e,0,1),r=P(e,-1);if("%"===t&&"%"!==r)throw new o("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new o("invalid intrinsic syntax, expected opening `%`");var n=[];return A(e,j,function(e,t,r,o){n[n.length]=r?A(o,I,"$1"):t||e}),n},R=function(e,t){var r,n=e;if(E(m,n)&&(n="%"+(r=m[n])[0]+"%"),E(h,n)){var i=h[n];if(i===y&&(i=b(n)),void 0===i&&!t)throw new a("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new o("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new a("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new a('"allowMissing" argument must be a boolean');if(null===_(/^%?[^%]*%?$/,e))throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=L(e),n=r.length>0?r[0]:"",i=R("%"+n+"%",t),s=i.name,l=i.value,u=!1,p=i.alias;p&&(n=p[0],O(r,v([0,1],p)));for(var f=1,y=!0;f<r.length;f+=1){var d=r[f],g=P(d,0,1),b=P(d,-1);if(('"'===g||"'"===g||"`"===g||'"'===b||"'"===b||"`"===b)&&g!==b)throw new o("property names with quotes must have matching quotes");if("constructor"!==d&&y||(u=!0),n+="."+d,E(h,s="%"+n+"%"))l=h[s];else if(null!=l){if(!(d in l)){if(!t)throw new a("base intrinsic for "+e+" exists, but the property is not available.");return}if(c&&f+1>=r.length){var m=c(l,d);l=(y=!!m)&&"get"in m&&!("originalValue"in m.get)?m.get:l[d]}else y=E(l,d),l=l[d];y&&!u&&(h[s]=l)}}return l}},1277:(e,t,r)=>{var n="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&n?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,i=n&&o&&"function"==typeof o.get?o.get:null,a=n&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,c=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,l=s&&
3c&&"function"==typeof c.get?c.get:null,u=s&&Set.prototype.forEach,p="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,y="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,d=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,m=String.prototype.slice,S=String.prototype.replace,E=String.prototype.toUpperCase,v=String.prototype.toLowerCase,O=RegExp.prototype.test,A=Array.prototype.concat,P=Array.prototype.join,_=Array.prototype.slice,j=Math.floor,I="function"==typeof BigInt?BigInt.prototype.valueOf:null,L=Object.getOwnPropertySymbols,R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,w="function"==typeof Symbol&&"object"==typeof Symbol.iterator,C="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===w?"object":"symbol")?Symbol.toStringTag:null,B=Object.prototype.propertyIsEnumerable,T=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function x(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||O.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var n=e<0?-j(-e):j(e);if(n!==e){var o=String(n),i=m.call(t,o.length+1);return S.call(o,r,"$&_")+"."+S.call(S.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return S.call(t,r,"$&_")}var N=r(7260),D=N.custom,U=K(D)?D:null;function M(e,t,r){var n="double"===(r.quoteStyle||t)?'"':"'";return n+e+n}function F(e){return"[object Array]"===z(e)&&(!C||!("object"==typeof e&&C in e))}function k(e){return"[object RegExp]"===z(e)&&(!C||!("object"==typeof e&&C in e))}function K(e){if(w)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!R)return!1;try{return R.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,n,o){var s=r||{};if(G(s,"quoteStyle")&&"single"!==s.quoteStyle&&"double"!==s.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(G(s,"maxStringLength")&&("number"==typeof s.maxStringLength?s.maxStringLength<0&&s.maxStringLength!==1/0:null!==s.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var c=!G(s,"customInspect")||s.customInspect;if("boolean"!=typeof c&&"symbol"!==c)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(G(s,"indent")&&null!==s.indent&&" "!==s.indent&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(G(s,"numericSeparator")&&"boolean"!=typeof s.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var h=s.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(m.call(t,0,r.maxStringLength),r)+"... "+n+" more character"+(n>1?"s":"")}return M(S.call(S.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,q),"single",r)}(t,s);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var E=String(t);return h?x(t,E):E}if("bigint"==typeof t){var O=String(t)+"n";return h?x(t,O):O}var j=void 0===s.depth?5:s.depth;if(void 0===n&&(n=0),n>=j&&j>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]";var L=function(e,t){var r;if(" "===e.indent)r=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;r=P.call(Array(e.indent+1)," ")}return{base:r,prev:P.call(Array(t+1),r)}}(s,n);if(void 0===o)o=[];else if(W(o,t)>=0)return"[Circular]";function D(t,r,i){if(r&&(o=_.call(o)).push(r),i){var a={depth:s.depth};return G(s,"quoteStyle")&&(a.quoteStyle=s.quoteStyle),e(t,a,n+1,o)}return e(t,s,n+1,o)}if("function"==typeof t&&!k(t)){var H=function(e){if(e.name)return e.name;var t=b.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),X=J(t,D);return"[Function"+(H?": "+H:" (anonymous)")+"]"+(X.length>0?" { "+P.call(X,", ")+" }":"")}if(K(t)){var Z=w?S.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):R.call(t);return"object"!=typeof t||w?Z:$(Z)}if(t&&"object"==typeof t&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)){for(var ee,et="<"+v.call(String(t.nodeName)),er=t.attributes||[],en=0;en<er.length;en++)et+=" "+er[en].name+"="+M((ee=er[en].value,S.call(String(ee),/"/g,""")),"double",s);return et+=">",t.childNodes&&t.childNodes.length&&(et+="..."),et+="</"+v.call(String(t.nodeName))+">"}if(F(t)){if(0===t.length)return"[]";var eo=J(t,D);return L&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(eo)?"["+Q(eo,L)+"]":"[ "+P.call(eo,", ")+" ]"}if("[object Error]"===z(t)&&(!C||!("object"==typeof t&&C in t))){var ei=J(t,D);return"cause"in Error.prototype||!("cause"in t)||B.call(t,"cause")?0===ei.length?"["+String(t)+"]":"{ ["+String(t)+"] "+P.call(ei,", ")+" }":"{ ["+String(t)+"] "+P.call(A.call("[cause]: "+D(t.cause),ei),", ")+" }"}if("object"==typeof t&&c){if(U&&"function"==typeof t[U]&&N)return N(t,{depth:j-n});if("symbol"!==c&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;
3try{i.call(e);try{l.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ea=[];return a&&a.call(t,function(e,r){ea.push(D(r,t,!0)+" => "+D(e,t))}),Y("Map",i.call(t),ea,L)}if(function(e){if(!l||!e||"object"!=typeof e)return!1;try{l.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var es=[];return u&&u.call(t,function(e){es.push(D(e,t))}),Y("Set",l.call(t),es,L)}if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return V("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return V("WeakSet");if(function(e){if(!y||!e||"object"!=typeof e)return!1;try{return y.call(e),!0}catch(e){}return!1}(t))return V("WeakRef");if("[object Number]"===z(t)&&(!C||!("object"==typeof t&&C in t)))return $(D(Number(t)));if(function(e){if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}(t))return $(D(I.call(t)));if("[object Boolean]"===z(t)&&(!C||!("object"==typeof t&&C in t)))return $(d.call(t));if("[object String]"===z(t)&&(!C||!("object"==typeof t&&C in t)))return $(D(String(t)));if(!("[object Date]"===z(t)&&(!C||!("object"==typeof t&&C in t)))&&!k(t)){var ec=J(t,D),el=T?T(t)===Object.prototype:t instanceof Object||t.constructor===Object,eu=t instanceof Object?"":"null prototype",ep=!el&&C&&Object(t)===t&&C in t?m.call(z(t),8,-1):eu?"Object":"",ef=(el||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ep||eu?"["+P.call(A.call([],ep||[],eu||[]),": ")+"] ":"");return 0===ec.length?ef+"{}":L?ef+"{"+Q(ec,L)+"}":ef+"{ "+P.call(ec,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function G(e,t){return H.call(e,t)}function z(e){return h.call(e)}function W(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":"")+E.call(t.toString(16))}function $(e){return"Object("+e+")"}function V(e){return e+" { ? }"}function Y(e,t,r,n){return e+" ("+t+") {"+(n?Q(r,n):P.call(r,", "))+"}"}function Q(e,t){if(0===e.length)return"";var r="\n"+t.prev+t.base;return r+P.call(e,","+r)+"\n"+t.prev}function J(e,t){var r,n=F(e),o=[];if(n){o.length=e.length;for(var i=0;i<e.length;i++)o[i]=G(e,i)?t(e[i],e):""}var a="function"==typeof L?L(e):[];if(w){r={};for(var s=0;s<a.length;s++)r["$"+a[s]]=a[s]}for(var c in e)G(e,c)&&(!n||String(Number(c))!==c||!(c<e.length))&&(w&&r["$"+c]instanceof Symbol||(O.call(/[^\w$]/,c)?o.push(t(c,e)+": "+t(e[c],e)):o.push(c+": "+t(e[c],e))));if("function"==typeof L)for(var l=0;l<a.length;l++)B.call(e,a[l])&&o.push("["+t(a[l])+"]: "+t(e[a[l]],e));return o}}}]);
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.