PageSourceSearch

https://www.asme.org/dist/vendor.js

js asme.org collected 2026-09-24 08:26:55 UTC 731,765 bytes, 8 lines download raw bytes

1/*! For license information please see vendor.js.LICENSE.txt */
2(self.webpackChunkasme_react_ts=self.webpackChunkasme_react_ts||[]).push([[736],{3877:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(9748).default.createContext(null)},4810:(e,t,n)=>{"use strict";n.d(t,{Z:()=>ce});var r={};n.r(r),n.d(r,{a11yNotify:()=>ee,addFilter:()=>L,clearFilters:()=>V,removeFilter:()=>U,reset:()=>Z,setCurrent:()=>H,setFilter:()=>B,setResultsPerPage:()=>z,setSearchTerm:()=>W,setSort:()=>K,trackAutocompleteClickThrough:()=>F,trackAutocompleteSuggestionClickThrough:()=>te,trackClickThrough:()=>q});var o=n(9748),a=n(7462);function i(e){return"/"===e.charAt(0)}function s(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}const l=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],o=t&&t.split("/")||[],a=e&&i(e),l=t&&i(t),u=a||l;if(e&&i(e)?o=r:r.length&&(o.pop(),o=o.concat(r)),!o.length)return"/";if(o.length){var c=o[o.length-1];n="."===c||".."===c||""===c}else n=!1;for(var d=0,f=o.length;f>=0;f--){var p=o[f];"."===p?s(o,f):".."===p?(s(o,f),d++):d&&(s(o,f),d--)}if(!u)for(;d--;d)o.unshift("..");!u||""===o[0]||o[0]&&i(o[0])||o.unshift("");var h=o.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};var u="Invariant failed";function c(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function d(e,t,n,r){var o;"string"==typeof e?(o=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");return-1!==a&&(n=t.substr(a),t=t.substr(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),o.state=t):(void 0===(o=(0,a.Z)({},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){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(o.key=n),r?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=l(o.pathname,r.pathname)):o.pathname=r.pathname:o.pathname||(o.pathname="/"),o}function f(){var e=null,t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var a="function"==typeof e?e(t,n):e;"string"==typeof a?"function"==typeof r?r(a,o):o(!0):o(!1!==a)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var p=!("undefined"==typeof window||!window.document||!window.document.createElement);function h(e,t){t(window.confirm(e))}var m="popstate",g="hashchange";function v(){try{return window.history.state||{}}catch(e){return{}}}function y(e,t,n){return Math.min(Math.max(e,t),n)}var b=n(129),w=n.n(b);const E={encode:(e,t)=>function(e){return null!=e&&"number"==typeof e}(e)?`n_${e}_n`:function(e){return e&&"boolean"==typeof e}(e)?`b_${e}_b`:t(e),decode(e,t){if(/n_-?[\d\.]*_n/.test(e)){const t=e.substring(2,e.length-2);return Number(t)}return/^b_(true|false)*_b$/.test(e)?function(e){if("true"===e)return!0;if("false"===e)return!1;throw"Invalid type parsed as Boolean value"}(e.substring(2,e.length-2)):t(e)}},_=e=>w().parse(e,{ignoreQueryPrefix:!0,decoder:E.decode,arrayLimit:1e3}),S=e=>w().stringify(e,{encoder:E.encode});function D(e){return Array.isArray(e)?e[e.length-1]:e}function x(e){return function(e){if(function(e){return!isNaN(e)}(e))return parseInt(e,10)}(D(e))}function P(e){return e.filters}function C(e){return x(e.current)}function k(e){return D(e.q)}function O(e){const t=D(e["sort-field"]),n=D(e["sort-direction"]);return t?[t,n]:[]}function R(e){return x(e.size)}function T(e){return e.sort}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={}),p||function(e,t){throw new Error(u)}();var t,n,r=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),s=e,l=s.forceRefresh,y=void 0!==l&&l,b=s.getUserConfirmation,w=void 0===b?h:b,E=s.keyLength,_=void 0===E?6:E,S=e.basename?function(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}("/"===(n=e.basename).charAt(0)?n:"/"+n):"";function D(e){var t=e||{},n=t.key,r=t.state,o=window.location,a=o.pathname+o.search+o.hash;return S&&(a=function(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}(a,S)),d(a,r,n)}function x(){return Math.random().toString(36).substr(2,_)}var P=f();function C(e){(0,a.Z)(F,e),F.length=r.length,P.notifyListeners(F.location,F.action)}function k(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||T(D(e.state))}function O(){T(D(v()))}var R=!1;function T(e){R?(R=!1,C()):P.confirmTransitionTo(e,"POP",w,(function(t){t?C({action:"POP",location:e}):function(e){var t=F.location,n=I.indexOf(t.key);-1===n&&(n=0);var r=I.indexOf(e.key);-1===r&&(r=0);var o=n-r;
2o&&(R=!0,A(o))}(e)}))}var $=D(v()),I=[$.key];function M(e){return S+c(e)}function A(e){r.go(e)}var N=0;function j(e){1===(N+=e)&&1===e?(window.addEventListener(m,k),i&&window.addEventListener(g,O)):0===N&&(window.removeEventListener(m,k),i&&window.removeEventListener(g,O))}var L=!1,F={length:r.length,action:"POP",location:$,createHref:M,push:function(e,t){var n="PUSH",a=d(e,t,x(),F.location);P.confirmTransitionTo(a,n,w,(function(e){if(e){var t=M(a),i=a.key,s=a.state;if(o)if(r.pushState({key:i,state:s},null,t),y)window.location.href=t;else{var l=I.indexOf(F.location.key),u=I.slice(0,l+1);u.push(a.key),I=u,C({action:n,location:a})}else window.location.href=t}}))},replace:function(e,t){var n="REPLACE",a=d(e,t,x(),F.location);P.confirmTransitionTo(a,n,w,(function(e){if(e){var t=M(a),i=a.key,s=a.state;if(o)if(r.replaceState({key:i,state:s},null,t),y)window.location.replace(t);else{var l=I.indexOf(F.location.key);-1!==l&&(I[l]=a.key),C({action:n,location:a})}else window.location.replace(t)}}))},go:A,goBack:function(){A(-1)},goForward:function(){A(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return L||(j(1),L=!0),function(){return L&&(L=!1,j(-1)),t()}},listen:function(e){var t=P.appendListener(e);return j(1),function(){j(-1),t()}}};return F}():function(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,r=t.initialEntries,o=void 0===r?["/"]:r,i=t.initialIndex,s=void 0===i?0:i,l=t.keyLength,u=void 0===l?6:l,p=f();function h(e){(0,a.Z)(E,e),E.length=E.entries.length,p.notifyListeners(E.location,E.action)}function m(){return Math.random().toString(36).substr(2,u)}var g=y(s,0,o.length-1),v=o.map((function(e){return d(e,void 0,"string"==typeof e?m():e.key||m())})),b=c;function w(e){var t=y(E.index+e,0,E.entries.length-1),r=E.entries[t];p.confirmTransitionTo(r,"POP",n,(function(e){e?h({action:"POP",location:r,index:t}):h()}))}var E={length:v.length,action:"POP",location:v[g],index:g,entries:v,createHref:b,push:function(e,t){var r="PUSH",o=d(e,t,m(),E.location);p.confirmTransitionTo(o,r,n,(function(e){if(e){var t=E.index+1,n=E.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),h({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=d(e,t,m(),E.location);p.confirmTransitionTo(o,r,n,(function(e){e&&(E.entries[E.index]=o,h({action:r,location:o}))}))},go:w,goBack:function(){w(-1)},goForward:function(){w(1)},canGo:function(e){var t=E.index+e;return t>=0&&t<E.entries.length},block:function(e){return void 0===e&&(e=!1),p.setPrompt(e)},listen:function(e){return p.appendListener(e)}};return E}(),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){const t={current:C(e),filters:P(e),searchTerm:k(e),resultsPerPage:R(e),sortField:O(e)[0],sortDirection:O(e)[1],sortList:T(e)};return Object.keys(t).reduce(((e,n)=>{const r=t[n];return r&&(e[n]=r),e}),{})}(_(e))}stateToUrl(e){return`${function(e){return S(function({searchTerm:e,current:t,filters:n,resultsPerPage:r,sortDirection:o,sortField:a,sortList:i}){const s={};return t>1&&(s.current=t),e&&(s.q=e),r&&(s.size=r),n&&n.length>0&&(s.filters=n),i&&i.length>0?s.sort=i:a&&(s["sort-field"]=a,s["sort-direction"]=o),s}(e))}(e)}`}getStateFromURL(){return this.routingOptions.urlToState(this.routingOptions.readUrl())}pushStateToURL(e,{replaceUrl:t=!1}={}){const n=this.routingOptions.stateToUrl(e);this.lastPushSearchString=n,this.routingOptions.writeUrl(n,{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 I{constructor(){this.requestSequence=0,this.lastCompleted=0}next(){return++this.requestSequence}isOldRequest(e){return e<this.lastCompleted}completed(e){this.lastCompleted=e}}function M(e,t){let n;const r=function(){const r=arguments;clearTimeout(n),n=setTimeout((()=>{e.apply(null,r)}
2),t)};return r.cancel=()=>{n&&(clearTimeout(n),n=null)},r}class A{constructor(){this.debounceCache={}}runWithDebounce(e,t,n,...r){if(!e)return n(...r);const o=`${t}|${e.toString()}`;let a=this.debounceCache[o];a||(this.debounceCache[o]=M(n,e),a=this.debounceCache[o]),a(...r)}cancelByName(e){Object.entries(this.debounceCache).filter((([t])=>t.startsWith(`${e}|`))).forEach((([e,t])=>t.cancel()))}}A.debounce=(e,t)=>M(t,e);const N=A;var j=n(8);function L(e,t,n="all"){this.debug&&console.log("Search UI: Action","addFilter",...arguments);const{filters:r}=this.state,o=r.find((t=>t.field===e&&t.type===n))||null,a=r.filter((t=>t.field!==e||t.type!==n))||[],i=(null==o?void 0:o.values)||[],s=i.find((e=>(0,j.doFilterValuesMatch)(e,t)))?i:i.concat(t);this._updateSearchResults({current:1,filters:[...a,{field:e,values:s,type:n}]}),this.events.emit({type:"FacetFilterSelected",field:e,value:(0,j.serialiseFilter)(s),query:this.state.searchTerm})}function F(e,t=[]){this.debug&&console.log("Search UI: Action","trackAutocompleteClickThrough",...arguments);const{autocompletedResultsRequestId:n,searchTerm:r,autocompletedResults:o,current:a,resultsPerPage:i,totalResults:s,filters:l}=this.state,u=o.findIndex((t=>t._meta.id===e)),c=o[u],d=this.events;d.autocompleteResultClick({query:r,documentId:e,requestId:n,tags:t,result:c,resultIndex:u}),d.emit({type:"ResultSelected",documentId:e,query:r,position:u,origin:"autocomplete",tags:t,totalResults:s,filters:l,currentPage:a,resultsPerPage:i})}function V(e=[]){this.debug&&console.log("Search UI: Action","clearFilters",...arguments);const{filters:t}=this.state,n=t.filter((t=>{const n=t.field;return e.includes(n)}));this._updateSearchResults({current:1,filters:n})}function U(e,t,n){this.debug&&console.log("Search UI: Action","removeFilter",...arguments);const{filters:r}=this.state;let o=r;o=!t&&n?r.filter((t=>!(t.field===e&&t.type===n))):t?(0,j.removeSingleFilterValue)(r,e,t,n):r.filter((t=>t.field!==e)),this._updateSearchResults({current:1,filters:o}),this.events.emit({type:"FacetFilterRemoved",field:e,value:t&&(0,j.serialiseFilter)([t]),query:this.state.searchTerm})}function Z(){this.debug&&console.log("Search UI: Action","reset",...arguments),this._setState(this.startingState),this.trackUrlState&&this.URLManager.pushStateToURL(this.state)}function H(e){this.debug&&console.log("Search UI: Action","setCurrent",...arguments),this._updateSearchResults({current:e})}function B(e,t,n="all"){this.debug&&console.log("Search UI: Action","setFilter",...arguments);let{filters:r}=this.state;r=r.filter((t=>t.field!==e||t.type!==n)),this._updateSearchResults({current:1,filters:[...r,{field:e,values:[t],type:n}]}),this.events.emit({type:"FacetFilterSelected",field:e,value:t&&(0,j.serialiseFilter)([t]),query:this.state.searchTerm})}function z(e){this.debug&&console.log("Search UI: Action","setRe
2sultsPerPage",...arguments),this._updateSearchResults({current:1,resultsPerPage:e})}function W(e,{autocompleteMinimumCharacters:t=0,autocompleteResults:n=!1,autocompleteSuggestions:r=!1,shouldClearFilters:o=!0,refresh:a=!0,debounce:i=0}={}){this.debug&&console.log("Search UI: Action","setSearchTerm",...arguments),this._setState({searchTerm:e}),a&&this.debounceManager.runWithDebounce(i,"_updateSearchResults",this._updateSearchResults,Object.assign({current:1},o&&{filters:[]})),(n||r)&&e.length>=t&&this.debounceManager.runWithDebounce(i,"_updateAutocomplete",this._updateAutocomplete,e,{autocompleteResults:n,autocompleteSuggestions:r})}function K(e,t){this.debug&&console.log("Search UI: Action","setSort",...arguments);const n={current:1,sortList:null,sortField:null,sortDirection:null};Array.isArray(e)?n.sortList=e:(n.sortField=e,n.sortDirection=t),this._updateSearchResults(n)}function q(e,t=[]){this.debug&&console.log("Search UI: Action","trackClickThrough",...arguments);const{requestId:n,searchTerm:r,results:o,current:a,resultsPerPage:i,totalResults:s,filters:l}=this.state,u=o.findIndex((t=>t._meta.id===e)),c=o[u],d=this.events;this.events.resultClick({query:r,documentId:e,requestId:n,tags:t,result:c,page:a,resultsPerPage:i,resultIndexOnPage:u}),d.emit({type:"ResultSelected",documentId:e,query:r,origin:"results",position:u,tags:t,totalResults:s,filters:l,currentPage:a,resultsPerPage:i})}const Y="search-ui-screen-reader-notifications",G="undefined"!=typeof document,J=()=>{if(!G)return null;let e=document.getElementById(Y);return e||(e=document.createElement("div"),e.id=Y,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)},Q=e=>{const t=J();t&&(t.textContent=e)},X={searchResults:({start:e,end:t,totalResults:n,searchTerm:r})=>{let o=`Showing ${e} to ${t} results out of ${n}`;return r&&(o+=`, searching for "${r}".`),o}};function ee(e,t){if(!this.hasA11yNotifications)return;const n=this.a11yNotificationMessages[e];if(!n){const t=`Could not find corresponding message function in a11yNotificationMessages: "${e}"`;return void console.warn("Action","a11yNotify",t)}const r=n(t);Q(r),this.debug&&console.log("Search UI: Action","a11yNotify",{messageFunc:e,messageArgs:t,message:r})}function te(e,t,n=[]){this.debug&&console.log("Search UI: Action","trackAutocompleteSuggestionClickThrough",...arguments);const{searchTerm:r}=this.state;this.events.emit({type:"AutocompleteSuggestionSelected",position:t,query:r,tags:n,suggestion:e})}function ne(e,t,n){if(n){if(t){const r=t[e].bind(t);return(...e)=>n(...e,r)}return n}return t&&t[e]?t[e].bind(t):()=>{throw`No ${e} handler provided and no Connector provided. You must configure one or the other.`}}const re=class{constructor({apiConnector:e,onSearch:t,onAutocomplete:n,onResultClick:r,onAutocompleteResultClick:o,plugins:a=[]}={}){this.search=ne("onSearch",e,t),this.autocomplete=ne("onAutocomplete",e,n),this.resultClick=ne("onResultClick",e,r),this.autocompleteResultClick=ne("onAutocompleteResultClick",e,o),this.plugins=a}emit(e){this.plugins.forEach((t=>{t.subscribe(e)}))}};function oe({current:e,filters:t,resultsPerPage:n,searchTerm:r,sortDirection:o,sortField:a,sortList:i}){return{current:e,filters:t,resultsPerPage:n,searchTerm:r,sortDirection:o,sortField:a,sortList:i}}const ae={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:{}};function ie(e={},t={},n=[]){return Object.entries(e).reduce(((e,[r,o])=>(t[r]&&"function"==typeof t[r]&&!t[r]({filters:n})||(e[r]=o),e)),{})}const se=class{constructor({apiConnector:e,autocompleteQuery:t={},plugins:n=[],debug:o,initialState:a,onSearch:i,onAutocomplete:s,onResultClick:l,onAutocompleteResultClick:u,searchQuery:c={},trackUrlState:d=!0,routingOptions:f={},urlPushDebounceLength:p=500,hasA11yNotifications:h=!1,a11yNotificationMessages:m={},alwaysSearchOnInitialLoad:g=!1}){let v;this.state=ae,this._updateAutocomplete=(e,{autocompleteResults:t,autocompleteSuggestions:n}={})=>{const r=this.autocompleteRequestSequencer.next(),o=Object.assign(Object.assign({},t&&{results:this.autocompleteQuery.results||{}}),n&&{suggestions:this.autocompleteQuery.suggestions||{}});return this.events.autocomplete({searchTerm:e},o).then((e=>{this.autocompleteRequestSequencer.isOldRequest(r)||(this.autocompleteRequestSequencer.completed(r),this._setState(e))}))},this._updateSearchResults=(e,{skipPushToUrl:t=!1,replaceUrl:n=!1}={})=>{const{current:r,filters:o,resultsPerPage:a,searchTerm:i,sortDirection:s,sortField:l,sortList:u}=Object.assign(Object.assign({},this.state),e);this.debounceManager.cancelByName("_updateSearchResults"),this._setState({current:r,error:"",filters:o,resultsPerPage:a,searchTerm:i,sortDirection:s,sortField:l,sortList:u}),this._makeSearchRequest({skipPushToUrl:t,replaceUrl:n})},this._makeSearchRequest=N.debounce(0,(({skipPushToUrl:e,replaceUrl:t})=>{const{current:n,filters:r,resultsPerPage:o,searchTerm:a,sortDirection:i,sortField:s,sortList:l}=this.state;this._setState({isLoading:!0});
2const u=this.searchRequestSequencer.next(),c=this.searchQuery,{conditionalFacets:d}=c,f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(c,["conditionalFacets"]),p=Object.assign(Object.assign({},f),{facets:ie(this.searchQuery.facets,d,r)}),h=Object.assign(Object.assign({},oe(this.state)),{filters:(0,j.mergeFilters)(r,this.searchQuery.filters)});return this.events.search(h,p).then((c=>{if(this.searchRequestSequencer.isOldRequest(u))return;this.searchRequestSequencer.completed(u);const{totalResults:d}=c;this.events.emit({type:"SearchQuery",filters:this.state.filters,query:this.state.searchTerm,currentPage:h.current,resultsPerPage:h.resultsPerPage,totalResults:d});const f=0===d?0:(n-1)*o+1,p=d<f+o?d:f+o-1;if(this._setState(Object.assign(Object.assign({isLoading:!1,resultSearchTerm:a,pagingStart:f,pagingEnd:p},c),{wasSearched:!0})),this.hasA11yNotifications){const e={start:f,end:p,totalResults:d,searchTerm:a};this.actions.a11yNotify("searchResults",e)}!e&&this.trackUrlState&&this.debounceManager.runWithDebounce(this.urlPushDebounceLength,"pushStateToURL",this.URLManager.pushStateToURL.bind(this.URLManager),{current:n,filters:r,resultsPerPage:o,searchTerm:a,sortDirection:i,sortField:s,sortList:l},{replaceUrl:t})}),(e=>{var t;
2"Invalid credentials"!==e.message?this._setState({error:`An unexpected error occurred: ${e.message}`}):this._setState(Object.assign({},(null===(t=this.apiConnector)||void 0===t?void 0:t.state)&&Object.assign({},this.apiConnector.state)))}))})),this.actions=Object.entries(r).reduce(((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n.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 re({apiConnector:e,onSearch:i,onAutocomplete:s,onResultClick:l,onAutocompleteResultClick:u,plugins:n}),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 I,this.searchRequestSequencer=new I,this.debounceManager=new N,this.autocompleteQuery=t,this.searchQuery=c,this.subscriptions=[],this.trackUrlState=d,this.urlPushDebounceLength=p,this.alwaysSearchOnInitialLoad=g,this.apiConnector=e,d?(this.URLManager=new $(f),v=this.URLManager.getStateFromURL(),this.URLManager.onURLStateChange((e=>{this._updateSearchResults(Object.assign(Object.assign({},ae),e),{skipPushToUrl:!0})}))):v={},this.hasA11yNotifications=h,this.hasA11yNotifications&&J(),this.a11yNotificationMessages=Object.assign(Object.assign({},X),m),this.startingState=Object.assign(Object.assign({},this.state),a);const y=oe(Object.assign(Object.assign({},this.startingState),v));this.state=Object.assign(Object.assign(Object.assign({},this.state),(null==e?void 0:e.state)&&Object.assign({},e.state)),y),(y.searchTerm||y.filters.length>0||this.alwaysSearchOnInitialLoad)&&this._updateSearchResults(y,{replaceUrl:!0})}_setState(e){const 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 le=n(3877);const ue={moreFilters:({visibleOptionsCount:e,showingAll:t})=>{let n=t?"All ":"";return n+=`${e} options shown.`,n}},ce=({children:e,config:t,driver:n})=>{const[r,a]=(0,o.useState)(null);if((0,o.useEffect)((()=>{const e=n||new se(Object.assign(Object.assign({},t),{a11yNotificationMessages:Object.assign(Object.assign({},ue),t.a11yNotificationMessages)}));return a(e),()=>{e.tearDown()}}),[]),(0,o.useEffect)((()=>{r&&r.setSearchQuery(t.searchQuery)}),[t.searchQuery]),(0,o.useEffect)((()=>{r&&r.setAutocompleteQuery(t.autocompleteQuery)}),[t.autocompleteQuery]),!r)return null;const i={driver:r};return o.default.createElement(le.Z.Provider,{value:i},e)}},7132:(e,t,n)=>{"use strict";n.d(t,{Z:()=>H});var r=n(9748),o=n(3366),a=n(7462),i=n(7326),s=n(4578),l=n(9579),u=n.n(l);function c(e){return"object"==typeof e&&null!=e&&1===e.nodeType}function d(e,t){return(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function f(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return d(n.overflowY,t)||d(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function p(e,t,n,r,o,a,i,s){return a<e&&i>t||a>e&&i<t?0:a<=e&&s<=n||i>=t&&s>=n?a-e-r:i>t&&s<n||a<e&&s>
2n?i-t+o:0}n(9864);var h=0;function m(e){return"function"==typeof e?e:g}function g(){}function v(e,t){if(null!==e){var n=function(e,t){var n=window,r=t.scrollMode,o=t.block,a=t.inline,i=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof i?i:function(e){return e!==i};if(!c(e))throw new TypeError("Invalid target");for(var u,d,h=document.scrollingElement||document.documentElement,m=[],g=e;c(g)&&l(g);){if((g=null==(d=(u=g).parentElement)?u.getRootNode().host||null:d)===h){m.push(g);break}null!=g&&g===document.body&&f(g)&&!f(document.documentElement)||null!=g&&f(g,s)&&m.push(g)}for(var v=n.visualViewport?n.visualViewport.width:innerWidth,y=n.visualViewport?n.visualViewport.height:innerHeight,b=window.scrollX||pageXOffset,w=window.scrollY||pageYOffset,E=e.getBoundingClientRect(),_=E.height,S=E.width,D=E.top,x=E.right,P=E.bottom,C=E.left,k="start"===o||"nearest"===o?D:"end"===o?P:D+_/2,O="center"===a?C+S/2:"end"===a?x:C,R=[],T=0;T<m.length;T++){var $=m[T],I=$.getBoundingClientRect(),M=I.height,A=I.width,N=I.top,j=I.right,L=I.bottom,F=I.left;if("if-needed"===r&&D>=0&&C>=0&&P<=y&&x<=v&&D>=N&&P<=L&&C>=F&&x<=j)return R;var V=getComputedStyle($),U=parseInt(V.borderLeftWidth,10),Z=parseInt(V.borderTopWidth,10),H=parseInt(V.borderRightWidth,10),B=parseInt(V.borderBottomWidth,10),z=0,W=0,K="offsetWidth"in $?$.offsetWidth-$.clientWidth-U-H:0,q="offsetHeight"in $?$.offsetHeight-$.clientHeight-Z-B:0,Y="offsetWidth"in $?0===$.offsetWidth?0:A/$.offsetWidth:0,G="offsetHeight"in $?0===$.offsetHeight?0:M/$.offsetHeight:0;if(h===$)z="start"===o?k:"end"===o?k-y:"nearest"===o?p(w,w+y,y,Z,B,w+k,w+k+_,_):k-y/2,W="start"===a?O:"center"===a?O-v/2:"end"===a?O-v:p(b,b+v,v,U,H,b+O,b+O+S,S),z=Math.max(0,z+w),W=Math.max(0,W+b);else{z="start"===o?k-N-Z:"end"===o?k-L+B+q:"nearest"===o?p(N,L,M,Z,B+q,k,k+_,_):k-(N+M/2)+q/2,W="start"===a?O-F-U:"center"===a?O-(F+A/2)+K/2:"end"===a?O-j+H+K:p(F,j,A,U,H+K,O,O+S,S);var J=$.scrollLeft,Q=$.scrollTop;k+=Q-(z=Math.max(0,Math.min(Q+z/G,$.scrollHeight-M/G+q))),O+=J-(W=Math.max(0,Math.min(J+W/Y,$.scrollWidth-A/Y+K)))}R.push({el:$,top:z,left:W})}return R}(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}}function y(e,t){return e===t||e.contains&&e.contains(t)}function b(e,t){var n;function r(){n&&clearTimeout(n)}function o(){for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];r(),n=setTimeout((function(){n=null,e.apply(void 0,a)}),t)}return o.cancel=r,o}function w(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function E(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function _(e){var t=e.isOpen,n=e.selectedItem,r=e.resultCount,o=e.previousResultCount,a=e.itemToString;return t?r?r!==o?r+" result"+(1===r?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":n?a(n):""}function S(e,t){return!(e=Array.isArray(e)?e[0]:e)&&t?t:e}var D=["highlightedIndex","inputValue","isOpen","selectedItem","type"];function x(e){void 0===e&&(e={});var t={};return D.forEach((function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}function P(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}function C(e,t,n){var r=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:r+1);var o=t+e;return o<0?o=r:o>r&&(o=0),o}var k=b((function(){O().textContent=""}),500);function O(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}
2var R=Object.freeze({__proto__:null,unknown:0,mouseUp:1,itemMouseEnter:2,keyDownArrowUp:3,keyDownArrowDown:4,keyDownEscape:5,keyDownEnter:6,keyDownHome:7,keyDownEnd:8,clickItem:9,blurInput:10,changeInput:11,keyDownSpaceButton:12,clickButton:13,blurButton:14,controlledPropUpdatedSelectedItem:15,touchEnd:16}),T=function(){var e=function(e){function t(t){var n=e.call(this,t)||this;n.id=n.props.id||"downshift-"+String(h++),n.menuId=n.props.menuId||n.id+"-menu",n.labelId=n.props.labelId||n.id+"-label",n.inputId=n.props.inputId||n.id+"-input",n.getItemId=n.props.getItemId||function(e){return n.id+"-item-"+e},n.input=null,n.items=[],n.itemCount=null,n.previousResultCount=0,n.timeoutIds=[],n.internalSetTimeout=function(e,t){var r=setTimeout((function(){n.timeoutIds=n.timeoutIds.filter((function(e){return e!==r})),e()}),t);n.timeoutIds.push(r)},n.setItemCount=function(e){n.itemCount=e},n.unsetItemCount=function(){n.itemCount=null},n.setHighlightedIndex=function(e,t){void 0===e&&(e=n.props.defaultHighlightedIndex),void 0===t&&(t={}),t=x(t),n.internalSetState((0,a.Z)({highlightedIndex:e},t))},n.clearSelection=function(e){n.internalSetState({selectedItem:null,inputValue:"",highlightedIndex:n.props.defaultHighlightedIndex,isOpen:n.props.defaultIsOpen},e)},n.selectItem=function(e,t,r){t=x(t),n.internalSetState((0,a.Z)({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,selectedItem:e,inputValue:n.props.itemToString(e)},t),r)},n.selectItemAtIndex=function(e,t,r){var o=n.items[e];null!=o&&n.selectItem(o,t,r)},n.selectHighlightedItem=function(e,t){return n.selectItemAtIndex(n.getState().highlightedIndex,e,t)},n.internalSetState=function(e,t){var r,o,i={},s="function"==typeof e;return!s&&e.hasOwnProperty("inputValue")&&n.props.onInputValueChange(e.inputValue,(0,a.Z)({},n.getStateAndHelpers(),{},e)),n.setState((function(t){t=n.getState(t);var l=s?e(t):e;l=n.props.stateReducer(t,l),r=l.hasOwnProperty("selectedItem");var u={},c={};return r&&l.selectedItem!==t.selectedItem&&(o=l.selectedItem),l.type=l.type||0,Object.keys(l).forEach((function(e){t[e]!==l[e]&&(i[e]=l[e]),"type"!==e&&(c[e]=l[e],n.isControlledProp(e)||(u[e]=l[e]))})),s&&l.hasOwnProperty("inputValue")&&n.props.onInputValueChange(l.inputValue,(0,a.Z)({},n.getStateAndHelpers(),{},l)),u}),(function(){m(t)(),Object.keys(i).length>1&&n.props.onStateChange(i,n.getStateAndHelpers()),r&&n.props.onSelect(e.selectedItem,n.getStateAndHelpers()),void 0!==o&&n.props.onChange(o,n.getStateAndHelpers()),n.props.onUserAction(i,n.getStateAndHelpers())}))},n.rootRef=function(e){return n._rootNode=e},n.getRootProps=function(e,t){var r,i=void 0===e?{}:e,s=i.refKey,l=void 0===s?"ref":s,u=i.ref,c=(0,o.Z)(i,["refKey","ref"]),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d;n.getRootProps.called=!0,n.getRootProps.refKey=l,n.getRootProps.suppressRefError=f;var p=n.getState().isOpen;return(0,a.Z)(((r={})[l]=E(u,n.rootRef),r.role="combobox",r["aria-expanded"]=p,r["aria-haspopup"]="listbox",r["aria-owns"]=p?n.menuId:null,r["aria-labelledby"]=n.labelId,r),c)},n.keyDownHandlers={ArrowDown:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?5:1;this.moveHighlightedIndex(n,{type:4})}else this.internalSetState({isOpen:!0,type:4},(function(){var e=t.getItemCount();e>0&&t.setHighlightedIndex(C(1,t.getState().highlightedIndex,e),{type:4})}))},ArrowUp:function(e){var t=this;if(e.preventDefault(),this.getState().isOpen){var n=e.shiftKey?-5:-1;this.moveHighlightedIndex(n,{type:3})}else this.internalSetState({isOpen:!0,type:3},(function(){var e=t.getItemCount();e>0&&t.setHighlightedIndex(C(-1,t.getState().highlightedIndex,e),{type:4})}))},Enter:function(e){var t=this.getState(),n=t.isOpen,r=t.highlightedIndex;if(n&&null!=r){e.preventDefault();var o=this.items[r],a=this.getItemNodeFromIndex(r);if(null==o||a&&a.hasAttribute("disabled"))return;this.selectHighlightedItem({type:6})}},Escape:function(e){e.preventDefault(),this.reset({type:5,selectedItem:null,inputValue:""})}}
vendor: 4,824 bytes, line 2
2,n.buttonKeyDownHandlers=(0,a.Z)({},n.keyDownHandlers,{" ":function(e){e.preventDefault(),this.toggleMenu({type:12})}}),n.inputKeyDownHandlers=(0,a.Z)({},n.keyDownHandlers,{Home:function(e){this.highlightFirstOrLastIndex(e,!0,{type:7})},End:function(e){this.highlightFirstOrLastIndex(e,!1,{type:8})}}),n.getToggleButtonProps=function(e){var t=void 0===e?{}:e,r=t.onClick,i=(t.onPress,t.onKeyDown),s=t.onKeyUp,l=t.onBlur,u=(0,o.Z)(t,["onClick","onPress","onKeyDown","onKeyUp","onBlur"]),c=n.getState().isOpen,d={onClick:w(r,n.buttonHandleClick),onKeyDown:w(i,n.buttonHandleKeyDown),onKeyUp:w(s,n.buttonHandleKeyUp),onBlur:w(l,n.buttonHandleBlur)},f=u.disabled?{}:d;return(0,a.Z)({type:"button",role:"button","aria-label":c?"close menu":"open menu","aria-haspopup":!0,"data-toggle":!0},f,{},u)},n.buttonHandleKeyUp=function(e){e.preventDefault()},n.buttonHandleKeyDown=function(e){var t=P(e);n.buttonKeyDownHandlers[t]&&n.buttonKeyDownHandlers[t].call((0,i.Z)(n),e)},n.buttonHandleClick=function(e){e.preventDefault(),n.props.environment.document.activeElement===n.props.environment.document.body&&e.target.focus(),n.internalSetTimeout((function(){return n.toggleMenu({type:13})}))},n.buttonHandleBlur=function(e){var t=e.target;n.internalSetTimeout((function(){n.isMouseDown||null!=n.props.environment.document.activeElement&&n.props.environment.document.activeElement.id===n.inputId||n.props.environment.document.activeElement===t||n.reset({type:14})}))},n.getLabelProps=function(e){return(0,a.Z)({htmlFor:n.inputId,id:n.labelId},e)},n.getInputProps=function(e){var t,r=void 0===e?{}:e,i=r.onKeyDown,s=r.onBlur,l=r.onChange,u=r.onInput,c=(r.onChangeText,(0,o.Z)(r,["onKeyDown","onBlur","onChange","onInput","onChangeText"])),d={},f=n.getState(),p=f.inputValue,h=f.isOpen,m=f.highlightedIndex;return c.disabled||((t={}).onChange=w(l,u,n.inputHandleChange),t.onKeyDown=w(i,n.inputHandleKeyDown),t.onBlur=w(s,n.inputHandleBlur),d=t),(0,a.Z)({"aria-autocomplete":"list","aria-activedescendant":h&&"number"==typeof m&&m>=0?n.getItemId(m):null,"aria-controls":h?n.menuId:null,"aria-labelledby":n.labelId,autoComplete:"off",value:p,id:n.inputId},d,{},c)},n.inputHandleKeyDown=function(e){var t=P(e);t&&n.inputKeyDownHandlers[t]&&n.inputKeyDownHandlers[t].call((0,i.Z)(n),e)},n.inputHandleChange=function(e){n.internalSetState({type:11,isOpen:!0,inputValue:e.target.value,highlightedIndex:n.props.defaultHighlightedIndex})},n.inputHandleBlur=function(){n.internalSetTimeout((function(){var e=n.props.environment.document&&!!n.props.environment.document.activeElement&&!!n.props.environment.document.activeElement.dataset&&n.props.environment.document.activeElement.dataset.toggle&&n._rootNode&&n._rootNode.contains(n.props.environment.document.activeElement);n.isMouseDown||e||n.reset({type:10})}))},n.menuRef=function(e){n._menuNode=e},n.getMenuProps=function(e,t){var r,i=void 0===e?{}:e,s=i.refKey,l=void 0===s?"ref":s,u=i.ref,c=(0,o.Z)(i,["refKey","ref"]),d=(void 0===t?{}:t).suppressRefError,f=void 0!==d&&d;return n.getMenuProps.called=!0,n.getMenuProps.refKey=l,n.getMenuProps.suppressRefError=f,(0,a.Z)(((r={})[l]=E(u,n.menuRef),r.role="listbox",r["aria-labelledby"]=c&&c["aria-label"]?null:n.labelId,r.id=n.menuId,r),c)},n.getItemProps=function(e){var t,r=void 0===e?{}:e,i=r.onMouseMove,s=r.onMouseDown,l=r.onClick,u=(r.onPress,r.index),c=r.item,d=void 0===c?void 0:c,f=(0,o.Z)(r,["onMouseMove","onMouseDown","onClick","onPress","index","item"]);void 0===u?(n.items.push(d),u=n.items.indexOf(d)):n.items[u]=d;var p=l,h=((t={onMouseMove:w(i,(function(){u!==n.getState().highlightedIndex&&(n.setHighlightedIndex(u,{type:2}),n.avoidScrolling=!0,n.internalSetTimeout((function(){return n.avoidScrolling=!1}),250))})),onMouseDown:w(s,(function(e){e.preventDefault()}))}).onClick=w(p,(function(){n.selectItemAtIndex(u,{type:9})})),t),m=f.disabled?{onMouseDown:h.onMouseDown}:h;return(0,a.Z)({id:n.getItemId(u),role:"option","aria-selected":n.getState().highlightedIndex===u},m,{},f)},n.clearItems=function(){n.items=[]},n.reset=function(e,t){void 0===e&&(e={}),e=x(e),n.internalSetState((function(t){var r=t.selectedItem;return(0,a.Z)({isOpen:n.props.defaultIsOpen,highlightedIndex:n.props.defaultHighlightedIndex,inputValue:n.props.itemToString(r)},e)}),t)},n.toggleMenu=function(e,t){void 0===e&&(e={}),e=x(e),n.internalSetState((function(t){var r=t.isOpen;return(0,a.Z)({isOpen:!r},r&&{highlightedIndex:n.props.defaultHighlightedIndex},{},e)}),(function(){var r=n.getState(),o=r.isOpen,a=r.highlightedIndex;o&&n.getItemCount()>0&&"number"==typeof a&&n.setHighlightedIndex(a,e),m(t)()}))},n.openMenu=function(e){n.internalSetState({isOpen:!0},e)},n.closeMenu=function(e){n.internalSetState({isOpen:!1},e)},n.updateStatus=b((function(){var e=n.getState(),t=n.items[e.highlightedIndex],r=n.getItemCount(),o=n.props.getA11yStatus
2Message((0,a.Z)({itemToString:n.props.itemToString,previousResultCount:n.previousResultCount,resultCount:r,highlightedItem:t},e));n.previousResultCount=r,function(e,t){var n=O(t);e&&(n.textContent=e,k())}(o,n.props.environment.document)}),200);var r=n.props,s=r.defaultHighlightedIndex,l=r.initialHighlightedIndex,u=void 0===l?s:l,c=r.defaultIsOpen,d=r.initialIsOpen,f=void 0===d?c:d,p=r.initialInputValue,g=void 0===p?"":p,v=r.initialSelectedItem,y=void 0===v?null:v,_=n.getState({highlightedIndex:u,isOpen:f,inputValue:g,selectedItem:y});return null!=_.selectedItem&&void 0===n.props.initialInputValue&&(_.inputValue=n.props.itemToString(_.selectedItem)),n.state=_,n}(0,s.Z)(t,e);var n=t.prototype;return n.internalClearTimeouts=function(){this.timeoutIds.forEach((function(e){clearTimeout(e)})),this.timeoutIds=[]},n.getState=function(e){var t=this;return void 0===e&&(e=this.state),Object.keys(e).reduce((function(n,r){return n[r]=t.isControlledProp(r)?t.props[r]:e[r],n}),{})},n.isControlledProp=function(e){return void 0!==this.props[e]},n.getItemCount=function(){var e=this.items.length;return null!=this.itemCount?e=this.itemCount:void 0!==this.props.itemCount&&(e=this.props.itemCount),e},n.getItemNodeFromIndex=function(e){return this.props.environment.document.getElementById(this.getItemId(e))},n.scrollHighlightedItemIntoView=function(){var e=this.getItemNodeFromIndex(this.getState().highlightedIndex);this.props.scrollIntoView(e,this._menuNode)},n.moveHighlightedIndex=function(e,t){var n=this.getItemCount();if(n>0){var r=C(e,this.getState().highlightedIndex,n);this.setHighlightedIndex(r,t)}},n.highlightFirstOrLastIndex=function(e,t,n){var r=this.getItemCount()-1;r<0||!this.getState().isOpen||(e.preventDefault(),this.setHighlightedIndex(t?0:r,n))},n.getStateAndHelpers=function(){var e=this.getState(),t=e.highlightedIndex,n=e.inputValue,r=e.selectedItem,o=e.isOpen,a=this.props.itemToString,i=this.id,s=this.getRootProps,l=this.getToggleButtonProps,u=this.getLabelProps,c=this.getMenuProps,d=this.getInputProps,f=this.getItemProps,p=this.openMenu,h=this.closeMenu,m=this.toggleMenu,g=this.selectItem,v=this.selectItemAtIndex,y=this.selectHighlightedItem,b=this.setHighlightedIndex,w=this.clearSelection,E=this.clearItems;return{getRootProps:s,getToggleButtonProps:l,getLabelProps:u,getMenuProps:c,getInputProps:d,getItemProps:f,reset:this.reset,openMenu:p,closeMenu:h,toggleMenu:m,selectItem:g,selectItemAtIndex:v,selectHighlightedItem:y,setHighlightedIndex:b,clearSelection:w,clearItems:E,setItemCount:this.setItemCount,unsetItemCount:this.unsetItemCount,setState:this.internalSetState,itemToString:a,id:i,highlightedIndex:t,inputValue:n,isOpen:o,selectedItem:r}},n.componentDidMount=function(){var e=this,t=function(t,n){void 0===n&&(n=!0);var r=e.props.environment.document;return[e._rootNode,e._menuNode].some((function(e){return e&&(y(e,t)||n&&y(e,r.activeElement))}))},n=function(){e.isMouseDown=!0},r=function(n){e.isMouseDown=!1,!t(n.target)&&e.getState().isOpen&&e.reset({type:1},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},o=function(){e.isTouchMove=!1},a=function(){e.isTouchMove=!0},i=function(n){var r=t(n.target,!1);e.isTouchMove||r||!e.getState().isOpen||e.reset({type:16},(function(){return e.props.onOuterClick(e.getStateAndHelpers())}))},s=this.props.environment;s.addEventListener("mousedown",n),s.addEventListener("mouseup",r),s.addEventListener("touchstart",o),s.addEventListener("touchmove",a),s.addEventListener("touchend",i),this.cleanup=function(){e.internalClearTimeouts(),e.updateStatus.cancel(),s.removeEventListener("mousedown",n),s.removeEventListener("mouseup",r),s.removeEventListener("touchstart",o),s.removeEventListener("touchmove",a),s.removeEventListener("touchend",i)}},n.shouldScroll=function(e,t){var n=(void 0===this.props.highlightedIndex?this.getState():this.props).highlightedIndex,r=(void 0===t.highlightedIndex?e:t).highlightedIndex;return n&&this.getState().isOpen&&!e.isOpen||n!==r},n.componentDidUpdate=function(e,t){this.isControlledProp("selectedItem")&&this.props.selectedItemChanged(e.selectedItem,this.props.selectedItem)&&this.internalSetState({type:15,inputValue:this.props.itemToString(this.props.selectedItem)}),!this.avoidScrolling&&this.shouldScroll(t,e)&&this.scrollHighlightedItemIntoView(),this.updateStatus()},n.componentWillUnmount=function(){this.cleanup()},n.render=function(){var e=S(this.props.children,g);this.clearItems(),this.getRootProps.called=!1,this.getRootProps.refKey=void 0,this.getRootProps.suppressRefError=void 0,this.getMenuProps.called=!1,this.getMenuProps.refKey=void 0,this.getMenuProps.suppressRefError=void 0,this.getLabelProps.called=!1,this.getInputProps.called=!1;var t=S(e(this.getStateAndHelpers()));return t?this.getRootProps.called||this.props.suppressRefError?t:function(e){return"string"==typeof e.type}(t)?(0,r.cloneElement)(t,this.getRootProps(function(e){return e.props}(t))):void 0:null},t}(r.Component);return e.defaultProps={defaultHighlightedIndex:null,defaultIsOpen:!1,getA11yStatus
2Message:_,itemToString:function(e){return null==e?"":String(e)},onStateChange:g,onInputValueChange:g,onUserAction:g,onChange:g,onSelect:g,onOuterClick:g,selectedItemChanged:function(e,t){return e!==t},environment:"undefined"==typeof window?{}:window,stateReducer:function(e,t){return t},suppressRefError:!1,scrollIntoView:v},e.stateChangeTypes=R,e}();u().array.isRequired,u().func,u().func,u().func,u().bool,u().number,u().number,u().number,u().bool,u().bool,u().bool,u().any,u().any,u().any,u().string,u().string,u().string,u().func,u().string,u().func,u().func,u().func,u().func,u().func,u().shape({addEventListener:u().func,removeEventListener:u().func,document:u().shape({getElementById:u().func,activeElement:u().any,body:u().any})}),"undefined"==typeof window||window;const $=T;function I(e){return Array.isArray(e)?e.filter((e=>e)).join(" "):e}function M(e,t){return t?e?`${e} ${I(t)}`:I(t)||"":(Array.isArray(e)?e.join(" "):e)||""}function A(e,t){return t.sectionTitle?t.sectionTitle:t[e]&&t[e].sectionTitle?t[e].sectionTitle:void 0}const N=function({autocompleteResults:e,autocompletedResults:t,autocompleteSuggestions:n,autocompletedSuggestions:o,className:a,getItemProps:i,getMenuProps:s}){let l=0;return r.default.createElement("div",Object.assign({},s({className:M("sui-search-box__autocomplete-container",a)})),r.default.createElement("div",null,!!n&&Object.entries(o).map((([e,t])=>r.default.createElement(r.default.Fragment,{key:e},A(e,n)&&t.length>0&&r.default.createElement("div",{className:"sui-search-box__section-title"},A(e,n)),t.length>0&&r.default.createElement("ul",{className:"sui-search-box__suggestion-list"},t.map((t=>{var o;if(l++,"results"===t.queryType){let a=null;a=!0===n?Object.keys(t.result)[0]:function(e,t){return"results"===t.queryType?t.displayField:t[e]&&"results"===t[e].queryType?t[e].displayField:void 0}(e,n);const s=null===(o=t.result[a])||void 0===o?void 0:o.raw;return r.default.createElement("li",Object.assign({},i({key:s,index:l-1,item:{suggestion:s}}),{"data-transaction-name":"query suggestion"}),r.default.createElement("span",null,s))}return r.default.createElement("li",Object.assign({},i({key:t.suggestion||t.highlight,index:l-1,item:Object.assign(Object.assign({},t),{index:l-1})}),{"data-transaction-name":"query suggestion"}),t.highlight?r.default.createElement("span",{dangerouslySetInnerHTML:{__html:t.highlight}}):r.default.createElement("span",null,t.suggestion))})))))),!!e&&!!t&&"boolean"!=typeof e&&t.length>0&&e.sectionTitle&&r.default.createElement("div",{className:"sui-search-box__section-title"},e.sectionTitle),!!e&&!!t&&t.length>0&&r.default.createElement("ul",{className:"sui-search-box__results-list"},t.map((t=>{l++;const n="boolean"==typeof e?null:e.titleField,o=function(e,t){if(e[t]&&e[t].snippet)return e[t].snippet}(t,n),a=function(e,t){if(e[t]&&e[t].raw)return e[t].raw}(t,n);return r.default.createElement("li",Object.assign({},i({key:t.id.raw,index:l-1,item:t})),o?r.default.createElement("span",{dangerouslySetInnerHTML:{__html:o}}):r.default.createElement("span",null,a))})))))}
2,j=function({getAutocomplete:e,getButtonProps:t,getInputProps:n}){return r.default.createElement(r.default.Fragment,null,r.default.createElement("div",{className:"sui-search-box__wrapper"},r.default.createElement("input",Object.assign({},n())),e()),r.default.createElement("input",Object.assign({},t())))};var L=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};const F=function(e){const{className:t,allAutocompletedItemsCount:n,autocompleteView:o,isFocused:a,inputProps:i={className:""},inputView:s,onChange:l,onSelectAutocomplete:u,onSubmit:c,useAutocomplete:d,value:f,autocompletedResults:p,autocompletedSuggestions:h,autocompletedSuggestionsCount:m,completeSuggestion:g,notifyAutocompleteSelected:v}=e,y=L(e,["className","allAutocompletedItemsCount","autocompleteView","isFocused","inputProps","inputView","onChange","onSelectAutocomplete","onSubmit","useAutocomplete","value","autocompletedResults","autocompletedSuggestions","autocompletedSuggestionsCount","completeSuggestion","notifyAutocompleteSelected"]),b=a?"focus":"",w=o||N,E=s||j;return r.default.createElement($,Object.assign({inputValue:f,onChange:u,onInputValueChange:e=>{f!==e&&l(e)},itemToString:()=>f},y),(o=>{const{closeMenu:a,getInputProps:s,isOpen:l}=o,u=!0===l?" autocomplete":"";return r.default.createElement("form",{onSubmit:e=>{a(),c(e)}},r.default.createElement("div",{className:M("sui-search-box",t)+u},r.default.createElement(E,Object.assign({},o,{getInputProps:e=>{const t=e||{},{className:n}=t,r=L(t,["className"]);return s(Object.assign(Object.assign(Object.assign({"data-transaction-name":"search input",placeholder:"Search"},i),{className:M("sui-search-box__text-input",[i.className,n,b])}),r))},getButtonProps:e=>{const t=e||{},{className:n}=t,r=L(t,["className"]);return Object.assign({"data-transaction-name":"search submit",type:"submit",value:"Search",className:M("button sui-search-box__submit",n)},r)},getAutocomplete:()=>d&&l&&n>0?r.default.createElement(w,Object.assign({},e,o)):null}))))}))};var V=n(3877);function U(e,t,n){return(n.mapContextToProps||t)(e,n)||{}}class Z extends r.Component{constructor(){super(...arguments),this.state={isFocused:!1},this.handleFocus=()=>{this.setState({isFocused:!0})},this.handleBlur=()=>{this.setState({isFocused:!1})},this.completeSuggestion=e=>{const{shouldClearFilters:t,setSearchTerm:n}=this.props;n(e,{shouldClearFilters:t})},this.handleSubmit=e=>{const{shouldClearFilters:t,searchTerm:n,setSearchTerm:r}=this.props;e.preventDefault(),r(n,{shouldClearFilters:t})},this.handleChange=e=>{const{autocompleteMinimumCharacters:t,autocompleteResults:n,autocompleteSuggestions:r,shouldClearFilters:o,searchAsYouType:a,setSearchTerm:i,debounceLength:s}=this.props;i(e,Object.assign(Object.assign({autocompleteMinimumCharacters:t},(n||r||a)&&{debounce:s||200}),{shouldClearFilters:o,refresh:!!a,autocompleteResults:!!n,autocompleteSuggestions:!!r}))},this.handleNotifyAutocompleteSelected=e=>{var t;const{autocompleteResults:n,trackAutocompleteClickThrough:r,trackAutocompleteSuggestionClickThrough:o}=this.props;if(n){const a=!0===n?{clickThroughTags:[],shouldTrackClickThrough:!0}:n;if(!e.suggestion&&!1!==a.shouldTrackClickThrough){const{clickThroughTags:n=[]}=a;r(null===(t=e.id)||void 0===t?void 0:t.raw,n)}e.suggestion&&o(e.suggestion,e.index,[])}},this.defaultOnSelectAutocomplete=e=>{if(!e)return;const{autocompleteResults:t}=this.props;if(this.handleNotifyAutocompleteSelected(e),e.suggestion||"boolean"==typeof t)this.completeSuggestion(e.suggestion);else{const n=e[t.urlField]?e[t.urlField].raw:"";if(n){const e="boolean"!=typeof t&&t.linkTarget||"_self";window.open(n,e)}}}}render(){const{isFocused:e}=this.state,t=this.props,{autocompleteMinimumCharacters:n,autocompleteResults:o,autocompleteSuggestions:a,autocompletedResults:i,autocompletedSuggestions:s,className:l,autocompleteView:u,inputProps:c,inputVie
2w:d,onSelectAutocomplete:f,onSubmit:p,searchTerm:h,view:m}=t,g=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["autocompleteMinimumCharacters","autocompleteResults","autocompleteSuggestions","autocompletedResults","autocompletedSuggestions","className","autocompleteView","inputProps","inputView","onSelectAutocomplete","onSubmit","searchTerm","view"]),v=m||F,y=(!!o||!!a)&&h.length>=n,b=Object.entries(s).reduce(((e,[t,n])=>e+n.length),0),w=b+i.length;let E;f&&(E=e=>{f(e,{notifyAutocompleteSelected:this.handleNotifyAutocompleteSelected,completeSuggestion:this.completeSuggestion,autocompleteResults:this.props.autocompleteResults},this.defaultOnSelectAutocomplete)});const _=Object.assign({allAutocompletedItemsCount:w,autocompleteView:u,autocompleteResults:o,autocompleteSuggestions:a,autocompletedResults:i,autocompletedSuggestions:s,className:l,autocompletedSuggestionsCount:b,completeSuggestion:this.completeSuggestion,isFocused:e,notifyAutocompleteSelected:this.handleNotifyAutocompleteSelected,onChange:e=>this.handleChange(e),onSelectAutocomplete:E||this.defaultOnSelectAutocomplete,onSubmit:p?e=>{e.preventDefault(),p(h)}:this.handleSubmit,useAutocomplete:y,value:h,inputProps:Object.assign({onFocus:this.handleFocus,onBlur:this.handleBlur},c),inputView:d},g);return r.default.createElement(v,Object.assign({},_))}}Z.defaultProps={autocompleteMinimumCharacters:0,shouldClearFilters:!0};const H=function(e){if(!e)throw"withSearch requires a function to be provided which returns an object with at least one value.";
2return function(t){class n extends r.default.PureComponent{constructor(t,n){super(t),this.subscription=t=>{this.mounted&&this.setState((n=>U(Object.assign(Object.assign({},n),t),e,this.props)))},this.mounted=!1,this.state=Object.assign({},U(function(e){return Object.assign(Object.assign({},e.driver.getState()),e.driver.getActions())}(n),e,t))}componentDidMount(){this.mounted=!0,this.context.driver.subscribeToStateChanges(this.subscription)}componentWillUnmount(){this.mounted=!1,this.context.driver.unsubscribeToStateChanges(this.subscription)}render(){const e=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(this.props,[]);return r.default.createElement(t,Object.assign({},this.state,e))}}return n.contextType=V.Z,n}}((({autocompletedResults:e,autocompletedSuggestions:t,searchTerm:n,setSearchTerm:r,trackAutocompleteClickThrough:o,trackAutocompleteSuggestionClickThrough:a})=>({autocompletedResults:e,autocompletedSuggestions:t,searchTerm:n,setSearchTerm:r,trackAutocompleteClickThrough:o,trackAutocompleteSuggestionClickThrough:a})))(Z)},4787:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(8);const o=Object.assign({},r);function a(e,t,n){const{disjunctiveFacets:r,disjunctiveFacetsAnalyticsTags:a}=t;r&&console.warn("search-ui-site-search-connector: disjunctiveFacets is not supported by Site Search"),a&&console.warn("search-ui-site-search-connector: disjunctiveFacetsAnalyticsTags is not supported by Site Search");const i=function(e){if(!e)return;const t=Object.entries(e).map((([e,t])=>{if("value"==t.type)return t.sort&&console.warn("search-ui-site-search-connector: Site Search does not support 'sort' on facets"),t.size&&console.warn("search-ui-site-search-connector: Site Search does not support 'size' on facets"),[e,t];console.warn(`search-ui-site-search-connector: Dropping ${e} facet, only value facets are supported in Site Search`)})).filter((e=>e)).map((([e])=>e));return t.length?t:void 0}(t.facets),s=function(e){if(e&&0!==Object.keys(e).length)return e.reduce(((e,t)=>{const n=t.field,r=t.values;if(e[n])return console.warn("search-ui-site-search-connector: More than one filter found for a single field"),e;if(t.type&&"all"!==t.type&&"any"!==t.type)return console.warn(`search-ui-site-search-connector: Unsupported filter type "${t.type}" found, only "all" and "any" are currently supported`),e;if(void 0!==r.find((e=>"object"==typeof e))){if(r.length>1)return console.warn("search-ui-site-search-connector: Cannot apply more than 1 none-value filters to a single field"),e;const t=r[0];if(o.isFilterValueRange(t)){const{name:r}=t,o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(t,["name"]);return e[n]=Object.assign({type:"range"},o),e}return e}return e[n]=Object.assign(Object.assign({},"any"===t.type?{}:{type:"and"}),{values:r}),e}),{})}(void 0!==t.filters?t.filters:e.filters),l=void 0!==t.current?t.current:e.current,u=void 0!==t.resultsPerPage?t.resultsPerPage:e.resultsPerPage,c=void 0!==t.sortDirection?t.sortDirection:e.sortDirection,d=void 0!==t.sortField?t.sortField:e.sortField,f=void 0!==t.sortList?t.sortList:e.sortList,[p,h]=(m=t.result_fields)?[Object.keys(m),Object.entries(m).reduce(((e,[t,n])=>n.snippet?Object.assign(Object.assign({},e),{[t]:n.snippet}):e),{})]:[];var m;const g=(v=t.search_fields)?Object.keys(v):[];var v;const y=e.searchTerm;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},u&&{per_page:u}),l&&{page:l}),c&&{sort_direction:{[n]:c}}),d&&{sort_field:{[n]:d}}),f&&{sort_list:{[n]:f}}),s&&{filters:{[n]:s}}),i&&{facets:{[n]:i}}),p&&{fetch_fields:{[n]:p}}),h&&{highlight_fields:{[n]:h}}),g&&!!g.length&&{search_fields:{[n]:g}}),{q:y})}const i=(e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n});function s(e,t){const n=function(e,t){return e[t].map((e=>{const{highlight:t,sort:n}=e,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}(e,["highlight","sort"]),o=Object.entries(r).filter((([e])=>!e.startsWith("_"))).map((([e,t])=>{return[e,(n=t,{raw:n})];var n})).reduce(i,{});return Object.entries(t).forEach((([e,t])=>{o[e].snippet=t})),o}))}(e.records,t),r=e.info[t].num_pages,o=e.info[t].total_result_count,a=(s=e.info[t]).facets?Object.entries(s.facets).map((([e,t])=>[e,[{field:e,data:Object.entries(t).map((([e,t])=>({value:e,count:t}))),type:"value"}]])).reduce(i,{}):{};var s;return Object.assign({rawResponse:e,results:n,totalPages:r,totalResults:o,requestId:""},Object.keys(a).length>0&&{facets:a})}function l(e,t,n,r){return o=this,a=void 0,s=function*(){const o=new Headers({"Content-Type":"application/json"}),a=yield fetch(`https://search-api.swiftype.com/api/v1/public/${n}`,{method:t,headers:o,body:JSON.stringify(Object.assign({engine_key:e},r)),credentials:"include"});let i;try{i=yield a.json()}catch(e){}if(a.status>=200&&a.status<300)return i;{const e=i&&i.errors&&Object.entries(i.errors).length>0?JSON.stringify(i.errors):a.status;throw new Error(`${e}`)}}
2,new((i=void 0)||(i=Promise))((function(e,t){function n(e){try{l(s.next(e))}catch(e){t(e)}}function r(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var o;t.done?e(t.value):(o=t.value,o instanceof i?o:new i((function(e){e(o)}))).then(n,r)}l((s=s.apply(o,a||[])).next())}));var o,a,i,s}function u(e,t,n){const r=Object.entries(Object.assign({engine_key:e},n)).map((([e,t])=>`${e}=${encodeURIComponent(t)}`)).join("&");return fetch(`https://search-api.swiftype.com/api/v1/public/${t}?${r}`,{method:"GET",credentials:"include"})}const c=class{constructor({documentType:e,engineKey:t,beforeSearchCall:n=((e,t)=>t(e)),beforeAutocompleteResultsCall:r=((e,t)=>t(e))}){this.documentType=e,this.engineKey=t,this.beforeSearchCall=n,this.beforeAutocompleteResultsCall=r,this.request=l.bind(this,t),this._get=u.bind(this,t)}onResultClick({query:e,documentId:t,tags:n}){n&&n.length>0&&console.warn("search-ui-site-search-connector: Site Search does not support tags on click"),this._get("analytics/pc",{t:(new Date).getTime(),q:e,doc_id:t})}onAutocompleteResultClick({query:e,documentId:t,tags:n}){n&&console.warn("search-ui-site-search-connector: Site Search does not support tags on autocompleteClick"),this._get("analytics/pas",{t:(new Date).getTime(),q:e,doc_id:t})}onSearch(e,t){const n=a(e,t,this.documentType);return this.beforeSearchCall(n,(e=>this.request("POST","engines/search.json",e).then((e=>s(e,this.documentType)))))}onAutocomplete({searchTerm:e},t){return n=this,r=void 0,i=function*(){if(t.results){const n=a({searchTerm:e},t.results,this.documentType);return this.beforeAutocompleteResultsCall(n,(e=>this.request("POST","engines/suggest.json",e).then((e=>({autocompletedResults:s(e,this.documentType).results})))))}t.suggestions&&console.warn("search-ui-site-search-connector: Site Search does support query suggestions on autocomplete")},new((o=void 0)||(o=Promise))((function(e,t){function a(e){try{l(i.next(e))}catch(e){t(e)}}function s(e){try{l(i.throw(e))}catch(e){t(e)}}function l(t){var n;t.done?e(t.value):(n=t.value,n instanceof o?n:new o((function(e){e(n)}))).then(a,s)}l((i=i.apply(n,r||[])).next())}));var n,r,o,i}}},8:(e,t,n)=>{"use strict";n.r(t),n.d(t,{doFilterValuesMatch:()=>u,findFilterValues:()=>i,isFilterValueRange:()=>d,markSelectedFacetValuesFromFilters:()=>l,mergeFilters:()=>c,removeSingleFilterValue:()=>s,serialiseFilter:()=>f});var r=n(251),o=n.n(r),a=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function i(e,t,n){const r=e.find((e=>e.field===t&&e.type===n));return r?r.values:[]}function s(e,t,n,r){return e.reduce(((e,o)=>{const{field:i,values:s,type:l}=o,c=a(o,["field","values","type"]);if(i===t&&(!r||l===r)){const t=s.filter((e=>!u(e,n)));return t.length>0?e.concat(Object.assign({field:i,values:t,type:l},c)):e}return e.concat(o)}),[])}function l(e,t,n,r){const o=e.data,a=i(t,n,r)||[];return Object.assign(Object.assign({},e),{data:o.map((e=>Object.assign(Object.assign({},e),{selected:a.some((t=>u(t,e.value)))})))})}function u(e,t){return!!(e&&e.name&&t&&t.name&&e.name===t.name)||o()(e,t,{strict:!0})}function c(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 d(e){return"object"==typeof e&&void 0!==e.name}const f=e=>e.reduce(((e,t)=>(d(t)?e.push(t.name):e.push(t.toString()),e)),[]).join(",")},6751:(e,t,n)=>{"use strict";n.d(t,{Z:()=>re});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
vendor: 5,067 bytes, line 2
2,t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,a=String.fromCharCode,i=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function u(e,t){return e.indexOf(t)}function c(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,y=0,b=0,w="";function E(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:m,column:g,length:i,return:""}}function _(e,t){return i(E("",null,null,"",null,null,0),e,{length:-e.length},t)}function S(){return b=y>0?c(w,--y):0,g--,10===b&&(g=1,m--),b}function D(){return b=y<v?c(w,y++):0,g++,10===b&&(g=1,m++),b}function x(){return c(w,y)}function P(){return y}function C(e,t){return d(w,e,t)}function k(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function O(e){return m=g=1,v=f(w=e),y=0,[]}function R(e){return w="",e}function T(e){return s(C(y-1,M(91===e?e+2:40===e?e+1:e)))}function $(e){for(;(b=x())&&b<33;)D();return k(e)>2||k(b)>3?"":" "}function I(e,t){for(;--t&&D()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return C(e,P()+(t<6&&32==x()&&32==D()))}function M(e){for(;D();)switch(b){case e:return y;case 34:case 39:34!==e&&39!==e&&M(b);break;case 40:41===e&&M(e);break;case 92:D()}return y}function A(e,t){for(;D()&&e+b!==57&&(e+b!==84||47!==x()););return"/*"+C(t,y-1)+"*"+a(47===e?e:D())}function N(e){for(;!k(x());)D();return C(e,y)}var j="-ms-",L="-moz-",F="-webkit-",V="comm",U="rule",Z="decl",H="@keyframes";function B(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function z(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Z:return e.return=e.return||e.value;case V:return"";case H:return e.return=e.value+"{"+B(e.children,r)+"}";case U:e.value=e.props.join(",")}return f(n=B(e.children,r))?e.return=e.value+"{"+n+"}":""}function W(e){return R(K("",null,null,null,[""],e=O(e),0,[0],e))}function K(e,t,n,r,o,i,s,d,p){for(var m=0,g=0,v=s,y=0,b=0,w=0,E=1,_=1,C=1,k=0,O="",R=o,M=i,j=r,L=O;_;)switch(w=k,k=D()){case 40:if(108!=w&&58==c(L,v-1)){-1!=u(L+=l(T(k),"&","&\f"),"&\f")&&(C=-1);break}case 34:case 39:case 91:L+=T(k);break;case 9:case 10:case 13:case 32:L+=$(w);break;case 92:L+=I(P()-1,7);continue;case 47:switch(x()){case 42:case 47:h(Y(A(D(),P()),t,n),p);break;default:L+="/"}break;case 123*E:d[m++]=f(L)*C;case 125*E:case 59:case 0:switch(k){case 0:case 125:_=0;case 59+g:-1==C&&(L=l(L,/\f/g,"")),b>0&&f(L)-v&&h(b>32?G(L+";",r,n,v-1):G(l(L," ","")+";",r,n,v-2),p);break;case 59:L+=";";default:if(h(j=q(L,t,n,m,g,o,d,O,R=[],M=[],v),i),123===k)if(0===g)K(L,t,j,j,R,i,v,d,M);else switch(99===y&&110===c(L,3)?100:y){case 100:case 108:case 109:case 115:K(e,j,j,r&&h(q(e,j,j,0,0,o,d,O,o,R=[],v),M),o,M,v,d,r?R:M);break;default:K(L,j,j,j,[""],M,0,d,M)}}m=g=b=0,E=C=1,O=L="",v=s;break;case 58:v=1+f(L),b=w;default:if(E<1)if(123==k)--E;else if(125==k&&0==E++&&125==S())continue;switch(L+=a(k),k*E){case 38:C=g>0?1:(L+="\f",-1);break;case 44:d[m++]=(f(L)-1)*C,C=1;break;case 64:45===x()&&(L+=T(D())),y=x(),g=v=f(O=L+=N(P())),k++;break;case 45:45===w&&2==f(L)&&(E=0)}}return i}function q(e,t,n,r,a,i,u,c,f,h,m){for(var g=a-1,v=0===a?i:[""],y=p(v),b=0,w=0,_=0;b<r;++b)for(var S=0,D=d(e,g+1,g=o(w=u[b])),x=e;S<y;++S)(x=s(w>0?v[S]+" "+D:l(D,/&\f/g,v[S])))&&(f[_++]=x);return E(e,t,n,0===a?U:c,f,h,m)}function Y(e,t,n){return E(e,t,n,V,a(b),d(e,2,-2),0)}function G(e,t,n,r){return E(e,t,n,Z,d(e,0,r),d(e,r+1,-1),r)}var J=function(e,t,n){for(var r=0,o=0;r=o,o=x(),38===r&&12===o&&(t[n]=1),!k(o);)D();return C(e,y)},Q=new WeakMap,X=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Q.get(n))&&!r){Q.set(e,!0);for(var o=[],i=function(e,t){return R(function(e,t){var n=-1,r=44;do{switch(k(r)){case 0:38===r&&12===x()&&(t[n]=1),e[n]+=J(y-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===x()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=D());return e}(O(e),t))}(t,o),s=n.props,l=0,u=0;l<i.length;l++)for(var c=0;c<s.length;c++,u++)e.props[u]=o[l]?i[l].replace(/&\f/g,s[c]):s[c]+" "+i[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^c(e,0)?(((t<<2^c(e,0))<<2^c(e,1))<<2^c(e,2))<<2^c(e,3):0}(e,t)){case 5103:return F+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return F+e+e;
vendor: 8,513 bytes, line 2
2case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+L+e+j+e+e;case 6828:case 4268:return F+e+j+e+e;case 6165:return F+e+j+"flex-"+e+e;case 5187:return F+e+l(e,/(\w+).+(:[^]+)/,F+"box-$1$2"+j+"flex-$1$2")+e;case 5443:return F+e+j+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return F+e+j+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+j+l(e,"shrink","negative")+e;case 5292:return F+e+j+l(e,"basis","preferred-size")+e;case 6060:return F+"box-"+l(e,"-grow","")+F+e+j+l(e,"grow","positive")+e;case 4554:return F+l(e,/([^-])(transform)/g,"$1"+F+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,F+"$1"),/(image-set)/,F+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,F+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,F+"box-pack:$3"+j+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,F+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(c(e,t+1)){case 109:if(45!==c(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+F+"$2-$3$1"+L+(108==c(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==c(e,t+1))break;case 6444:switch(c(e,f(e)-3-(~u(e,"!important")&&10))){case 107:return l(e,":",":"+F)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+F+(45===c(e,14)?"inline-":"")+"box$3$1"+F+"$2$3$1"+j+"$2box$3")+e}break;case 5936:switch(c(e,t+11)){case 114:return F+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+j+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+j+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+j+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Z:e.return=te(e.value,e.length);break;case H:return B([_(e,{value:l(e.value,"@","@"+F)})],r);case U:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return B([_(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return B([_(e,{props:[l(t,/:(plac\w+)/,":"+F+"input-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,j+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,a,i=e.stylisPlugins||ne,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var u,c,d,f,h=[z,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(c=[X,ee].concat(i,h),d=p(c),function(e,t,n,r){for(var o="",a=0;a<d;a++)o+=c[a](e,t,n,r)||"";return o});a=function(e,t,n,r){u=n,B(W(e?e+"{"+t.styles+"}":t.styles),m),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return g.sheet.hydrate(l),g}},2003:(e,t,n)=>{"use strict";n.d(t,{iv:()=>k,tZ:()=>C,F4:()=>O});var r=n(9748),o=n(6751),a=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function s(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var l=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,c=function(e){return 45===e.charCodeAt(1)},d=function(e){return null!=e&&"boolean"!=typeof e},f=s((function(e){return c(e)?e:e.replace(l,"-$&").toLowerCase()})),p=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return m={name:t,styles:n,next:m},t}))}return 1===i[e]||c(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return m={name:n.name,styles:n.styles,next:m},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)m={name:r.name,styles:r.styles,next:m},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=h(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":d(i)&&(r+=f(a)+":"+p(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=h(e,t,i);switch(a){case"animation":case"animationName":r+=f(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var l=0;l<i.length;l++)d(i[l])&&(r+=f(a)+":"+p(a,i[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=m,a=n(e);return m=o,h(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var m,g=/label:\s*([^\s;\n{]+)\s*(;|$)/g,v=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";m=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=h(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=h(n,t,e[i]),r&&(o+=a[i]);g.lastIndex=0;for(var s,l="";null!==(s=g.exec(o));)l+="-"+s[1];var u=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:u,styles:o,next:m}},y=!!r.useInsertionEffect&&r.useInsertionEffect,b=y||function(e){return e()},w=(y||r.useLayoutEffect,{}.hasOwnProperty),E=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);E.Provider;var _=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(E);return e(t,o,n)}))},S=r.createContext({}),D="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",x=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return a(t,n,r),b((function(){return function(e,t,n){a(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}}(t,n,r)})),null},P=_((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var a=e[D],i=[o],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}(t.registered,i,e.className):null!=e.className&&(s=e.className+" ");var l=v(i,void 0,r.useContext(S));s+=t.key+"-"+l.name;var u={};for(var c in e)w.call(e,c)&&"css"!==c&&c!==D&&(u[c]=e[c]);return u.ref=n,u.className=s,r.createElement(r.Fragment,null,r.createElement(x,{cache:t,serialized:l,isStringTag:"string"==typeof a}),r.createElement(a,u))})),C=(n(8679),function(e,t){var n=arguments;if(null==t||!w.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,a=new Array(o);a[0]=P,a[1]=function(e,t){var n={};for(var r in t)w.call(t,r)&&(n[r]=t[r]);return n[D]=e,n}(e,t);for(var i=2;i<o;i++)a[i]=n[i];return r.createElement.apply(null,a)});function k(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return v(t)}var O=function(){var e=k.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},1581:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.MissingRefError=t.ValidationError=t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;const r=n(7159),o=n(3924),a=n(1240),i=n(98),s=["/properties"],l="http://json-schema.org/draft-07/schema";class u extends r.default{_addVocabularies(){super._addVocabularies(),o.default.forEach((e=>this.addVocabulary(e))),this.opts.discriminator&&this.addKeyword(a.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const e=this.opts.$data?this.$dataMetaSchema(i,s):i;this.addMetaSchema(e,l,!1),this.refs["http://json-schema.org/schema"]=l}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(l)?l:void 0)}}e.exports=t=u,Object.defineProperty(t,"__esModule",{value:!0}),t.default=u;var c=n(4815);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var d=n(3487);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return d._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return d.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return d.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return d.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return d.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return d.CodeGen}});var f=n(7426);Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return f.default}});var p=n(6646);Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})},7023:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.regexpCode=t.getEsmExportName=t.getProperty=t.safeStringify=t.stringify=t.strConcat=t.addCodeArg=t.str=t._=t.nil=t._Code=t.Name=t.IDENTIFIER=t._CodeOrName=void 0;class n{}t._CodeOrName=n,t.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;class r extends n{constructor(e){if(super(),!t.IDENTIFIER.test(e))throw new Error("CodeGen: name must be a valid identifier");this.str=e}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}}t.Name=r;class o extends n{constructor(e){super(),this._items="string"==typeof e?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;const e=this._items[0];return""===e||'""'===e}get str(){var e;return null!==(e=this._str)&&void 0!==e?e:this._str=this._items.reduce(((e,t)=>`${e}${t}`),"")}get names(){var e;return null!==(e=this._names)&&void 0!==e?e:this._names=this._items.reduce(((e,t)=>(t instanceof r&&(e[t.str]=(e[t.str]||0)+1),e)),{})}}function a(e,...t){const n=[e[0]];let r=0;for(;r<t.length;)l(n,t[r]),n.push(e[++r]);return new o(n)}t._Code=o,t.nil=new o(""),t._=a;const i=new o("+");function s(e,...t){const n=[c(e[0])];let r=0;for(;r<t.length;)n.push(i),l(n,t[r]),n.push(i,c(e[++r]));return function(e){let t=1;for(;t<e.length-1;){if(e[t]===i){const n=u(e[t-1],e[t+1]);if(void 0!==n){e.splice(t-1,3,n);continue}e[t++]="+"}t++}}(n),new o(n)}function l(e,t){var n;t instanceof o?e.push(...t._items):t instanceof r?e.push(t):e.push("number"==typeof(n=t)||"boolean"==typeof n||null===n?n:c(Array.isArray(n)?n.join(","):n))}function u(e,t){if('""'===t)return e;if('""'===e)return t;if("string"==typeof e){if(t instanceof r||'"'!==e[e.length-1])return;return"string"!=typeof t?`${e.slice(0,-1)}${t}"`:'"'===t[0]?e.slice(0,-1)+t.slice(1):void 0}return"string"!=typeof t||'"'!==t[0]||e instanceof r?void 0:`"${e}${t.slice(1)}`}function c(e){return JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}t.str=s,t.addCodeArg=l,t.strConcat=function(e,t){return t.emptyStr()?e:e.emptyStr()?t:s`${e}${t}`},t.stringify=function(e){return new o(c(e))},t.safeStringify=c,t.getProperty=function(e){return"string"==typeof e&&t.IDENTIFIER.test(e)?new o(`.${e}`):a`[${e}]`},t.getEsmExportName=function(e){if("string"==typeof e&&t.IDENTIFIER.test(e))return new o(`${e}`);throw new Error(`CodeGen: invalid export name: ${e}, use explicit $id name mapping`)},t.regexpCode=function(e){return new o(e.toString())}},3487:(e,t,n)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.or=t.and=t.not=t.CodeGen=t.operators=t.varKinds=t.ValueScopeName=t.ValueScope=t.Scope=t.Name=t.regexpCode=t.stringify=t.getProperty=t.nil=t.strConcat=t.str=t._=void 0;const r=n(7023),o=n(8490);var a=n(7023);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return a._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(t,"strConcat",{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(t,"getProperty",{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(t,"regexpCode",{enumerable:!0,get:function(){return a.regexpCode}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return a.Name}});var i=n(8490);Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return i.Scope}}),Object.defineProperty(t,"ValueScope",{enumerable:!0,get:function(){return i.ValueScope}}),Object.defineProperty(t,"ValueScopeName",{enumerable:!0,get:function(){return i.ValueScopeName}}),Object.defineProperty(t,"varKinds",{enumerable:!0,get:function(){return i.varKinds}}),t.operators={GT:new r._Code(">"),GTE:new r._Code(">="),LT:new r._Code("<"),LTE:new r._Code("<="),EQ:new r._Code("==="),NEQ:new r._Code("!=="),NOT:new r._Code("!"),OR:new r._Code("||"),AND:new r._Code("&&"),ADD:new r._Code("+")};class s{optimizeNodes(){return this}optimizeNames(e,t){return this}}class l extends s{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){const n=e?o.varKinds.var:this.varKind,r=void 0===this.rhs?"":` = ${this.rhs}`;return`${n} ${this.name}${r};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&(this.rhs=T(this.rhs,e,t)),this}get names(){return this.rhs instanceof r._CodeOrName?this.rhs.names:{}}}class u extends s{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,t){if(!(this.lhs instanceof r.Name)||e[this.lhs.str]||this.sideEffects)return this.rhs=T(this.rhs,e,t),this}get names(){return R(this.lhs instanceof r.Name?{}:{...this.lhs.names},this.rhs)}}class c extends u{constructor(e,t,n,r){super(e,n,r),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}}class d extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}}class f extends s{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:""};`+e}}class p extends s{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}}class h extends s{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=T(this.code,e,t),this}get names(){return this.code instanceof r._CodeOrName?this.code.names:{}}}class m extends s{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce(((t,n)=>t+n.render(e)),"")}optimizeNodes(){const{nodes:e}=this;let t=e.length;for(;t--;){const n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){const{nodes:n}=this;let r=n.length;for(;r--;){const o=n[r];o.optimizeNames(e,t)||($(e,o.names),n.splice(r,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce(((e,t)=>O(e,t.names)),{})}}class g extends m{render(e){return"{"+e._n+super.render(e)+"}"+e._n}}class v extends m{}class y extends g{}y.kind="else";class b extends g{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+="else "+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();const e=this.condition;if(!0===e)return this.nodes;let t=this.else;if(t){const e=t.optimizeNodes();t=this.else=Array.isArray(e)?new y(e):e}return t?!1===e?t instanceof b?t:t.nodes:this.nodes.length?this:new b(I(e),t instanceof b?[t]:t.nodes):!1!==e&&this.nodes.length?this:void 0}optimizeNames(e,t){var n;if(this.else=null===(n=this.else)||void 0===n?void 0:n.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=T(this.condition,e,t),this}get names(){const e=super.names;return R(e,this.condition),this.else&&O(e,this.else.names),e}}b.kind="if";class w extends g{}w.kind="for";class E extends w{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=T(this.iteration,e,t),this}get names(){return O(super.names,this.iteration.names)}}class _ extends w{constructor(e,t,n,r){super(),this.varKind=e,this.name=t,this.from=n,this.to=r}render(e){const t=e.es5?o.varKinds.var:this.varKind,{name:n,from:r,to:a}=this;return`for(${t} ${n}=${r}; ${n}<${a}; ${n}++)`+super.render(e)}get names(){const e=R(super.names,this.from);return R(e,this.to)}}class S extends w{constructor(e,t,n,r){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=r}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=T(this.iterable,e,t),this}get names(){return O(super.names,this.iterable.names)}}class D extends g{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(e)}}D.kind="func";class x extends m{render(e){return"return "+super.render(e)}}x.kind="return";class P extends g{render(e){let t="try"+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),null===(e=this.catch)||void 0===e||e.optimizeNodes(),null===(t=this.finally)||void 0===t||t.optimizeNodes(),this}optimizeNames(e,t){var n,r;return super.optimizeNames(e,t),null===(n=this.catch)||void 0===n||n.optimizeNames(e,t),null===(r=this.finally)||void 0===r||r.optimizeNames(e,t),this}get names(){const e=super.names;return this.catch&&O(e,this.catch.names),this.finally&&O(e,this.finally.names),e}}class C extends g{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}}C.kind="catch";class k extends g{render(e){return"finally"+super.render(e)}}function O(e,t){for(const n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function R(e,t){return t instanceof r._CodeOrName?O(e,t.names):e}function T(e,t,n){return e instanceof r.Name?a(e):(o=e)instanceof r._Code&&o._items.some((e=>e instanceof r.Name&&1===t[e.str]&&void 0!==n[e.str]))?new r._Code(e._items.reduce(((e,t)=>(t instanceof r.Name&&(t=a(t)),t instanceof r._Code?e.push(...t._items):e.push(t),e)),[])):e;var o;function a(e){const r=n[e.str];return void 0===r||1!==t[e.str]?e:(delete t[e.str],r)}}function $(e,t){for(const n in t)e[n]=(e[n]||0)-(t[n]||0)}function I(e){return"boolean"==typeof e||"number"==typeof e||null===e?!e:r._`!${j(e)}`}k.kind="finally",t.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?"\n":""},this._extScope=e,this._scope=new o.Scope({parent:e}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){const n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,r){const o=this._scope.toName(t);return void 0!==n&&r&&(this._constants[o.str]=n),this._leafNode(new l(e,o,n)),o}const(e,t,n){return this._def(o.varKinds.const,e,t,n)}let(e,t,n){return this._def(o.varKinds.let,e,t,n)}var(e,t,n){return this._def(o.varKinds.var,e,t,n)}
2assign(e,t,n){return this._leafNode(new u(e,t,n))}add(e,n){return this._leafNode(new c(e,t.operators.ADD,n))}code(e){return"function"==typeof e?e():e!==r.nil&&this._leafNode(new h(e)),this}object(...e){const t=["{"];for(const[n,o]of e)t.length>1&&t.push(","),t.push(n),(n!==o||this.opts.es5)&&(t.push(":"),(0,r.addCodeArg)(t,o));return t.push("}"),new r._Code(t)}if(e,t,n){if(this._blockNode(new b(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(e){return this._elseNode(new b(e))}else(){return this._elseNode(new y)}endIf(){return this._endBlockNode(b,y)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new E(e),t)}forRange(e,t,n,r,a=(this.opts.es5?o.varKinds.var:o.varKinds.let)){const i=this._scope.toName(e);return this._for(new _(a,i,t,n),(()=>r(i)))}forOf(e,t,n,a=o.varKinds.const){const i=this._scope.toName(e);if(this.opts.es5){const e=t instanceof r.Name?t:this.var("_arr",t);return this.forRange("_i",0,r._`${e}.length`,(t=>{this.var(i,r._`${e}[${t}]`),n(i)}))}return this._for(new S("of",a,i,t),(()=>n(i)))}forIn(e,t,n,a=(this.opts.es5?o.varKinds.var:o.varKinds.const)){if(this.opts.ownProperties)return this.forOf(e,r._`Object.keys(${t})`,n);const i=this._scope.toName(e);return this._for(new S("in",a,i,t),(()=>n(i)))}endFor(){return this._endBlockNode(w)}label(e){return this._leafNode(new d(e))}break(e){return this._leafNode(new f(e))}return(e){const t=new x;if(this._blockNode(t),this.code(e),1!==t.nodes.length)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(x)}try(e,t,n){if(!t&&!n)throw new Error('CodeGen: "try" without "catch" and "finally"');const r=new P;if(this._blockNode(r),this.code(e),t){const e=this.name("e");this._currNode=r.catch=new C(e),t(e)}return n&&(this._currNode=r.finally=new k,this.code(n)),this._endBlockNode(C,k)}throw(e){return this._leafNode(new p(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){const t=this._blockStarts.pop();if(void 0===t)throw new Error("CodeGen: not in self-balancing block");const n=this._nodes.length-t;if(n<0||void 0!==e&&n!==e)throw new Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,t=r.nil,n,o){return this._blockNode(new D(e,t,n)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(D)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){const n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){const t=this._currNode;if(!(t instanceof b))throw new Error('CodeGen: "else" without "if"');return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){const e=this._nodes;return e[e.length-1]}set _currNode(e){const t=this._nodes;t[t.length-1]=e}},t.not=I;const M=N(t.operators.AND);t.and=function(...e){return e.reduce(M)};const A=N(t.operators.OR);function N(e){return(t,n)=>t===r.nil?n:n===r.nil?t:r._`${j(t)} ${e} ${j(n)}`}function j(e){return e instanceof r.Name?e:r._`(${e})`}t.or=function(...e){return e.reduce(A)}},8490:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ValueScope=t.ValueScopeName=t.Scope=t.varKinds=t.UsedValueState=void 0;const r=n(7023);class o extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}}var a;!function(e){e[e.Started=0]="Started",e[e.Completed=1]="Completed"}(a=t.UsedValueState||(t.UsedValueState={})),t.varKinds={const:new r.Name("const"),let:new r.Name("let"),var:new r.Name("var")};class i{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof r.Name?e:this.name(e)}name(e){return new r.Name(this._newName(e))}_newName(e){return`${e}${(this._names[e]||this._nameGroup(e)).index++}`}_nameGroup(e){var t,n;if((null===(n=null===(t=this._parent)||void 0===t?void 0:t._prefixes)||void 0===n?void 0:n.has(e))||this._prefixes&&!this._prefixes.has(e))throw new Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}}t.Scope=i;class s extends r.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:t,itemIndex:n}){this.value=e,this.scopePath=r._`.${new r.Name(t)}[${n}]`}}t.ValueScopeName=s;const l=r._`\n`;t.ValueScope=class extends i{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:r.nil}}get(){return this._scope}name(e){return new s(e,this._newName(e))}value(e,t){var n;if(void 0===t.ref)throw new Error("CodeGen: ref must be passed in value");const r=this.toName(e),{prefix:o}=r,a=null!==(n=t.key)&&void 0!==n?n:t.ref;let i=this._values[o];if(i){const e=i.get(a);if(e)return e}else i=this._values[o]=new Map;i.set(a,r);const s=this._scope[o]||(this._scope[o]=[]),l=s.length;return s[l]=t.ref,r.setValue(t,{property:o,itemIndex:l}),r}getValue(e,t){const n=this._values[e];if(n)return n.get(t)}scopeRefs(e,t=this._values){return this._reduceValues(t,(t=>{if(void 0===t.scopePath)throw new Error(`CodeGen: name "${t}" has no value`);return r._`${e}${t.scopePath}`}))}scopeCode(e=this._values,t,n){return this._reduceValues(e,(e=>{if(void 0===e.value)throw new Error(`CodeGen: name "${e}" has no value`);return e.value.code}),t,n)}_reduceValues(e,n,i={},s){let l=r.nil;for(const u in e){const c=e[u];if(!c)continue;const d=i[u]=i[u]||new Map;
2c.forEach((e=>{if(d.has(e))return;d.set(e,a.Started);let i=n(e);if(i){const n=this.opts.es5?t.varKinds.var:t.varKinds.const;l=r._`${l}${n} ${e} = ${i};${this.opts._n}`}else{if(!(i=null==s?void 0:s(e)))throw new o(e);l=r._`${l}${i}${this.opts._n}`}d.set(e,a.Completed)}))}return l}}},4181:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendErrors=t.resetErrorsCount=t.reportExtraError=t.reportError=t.keyword$DataError=t.keywordError=void 0;const r=n(3487),o=n(6776),a=n(2141);function i(e,t){const n=e.const("err",t);e.if(r._`${a.default.vErrors} === null`,(()=>e.assign(a.default.vErrors,r._`[${n}]`)),r._`${a.default.vErrors}.push(${n})`),e.code(r._`${a.default.errors}++`)}function s(e,t){const{gen:n,validateName:o,schemaEnv:a}=e;a.$async?n.throw(r._`new ${e.ValidationError}(${t})`):(n.assign(r._`${o}.errors`,t),n.return(!1))}t.keywordError={message:({keyword:e})=>r.str`must pass "${e}" keyword validation`},t.keyword$DataError={message:({keyword:e,schemaType:t})=>t?r.str`"${e}" keyword must be ${t} ($data)`:r.str`"${e}" keyword is invalid ($data)`},t.reportError=function(e,n=t.keywordError,o,a){const{it:l}=e,{gen:c,compositeRule:d,allErrors:f}=l,p=u(e,n,o);(null!=a?a:d||f)?i(c,p):s(l,r._`[${p}]`)},t.reportExtraError=function(e,n=t.keywordError,r){const{it:o}=e,{gen:l,compositeRule:c,allErrors:d}=o;i(l,u(e,n,r)),c||d||s(o,a.default.vErrors)},t.resetErrorsCount=function(e,t){e.assign(a.default.errors,t),e.if(r._`${a.default.vErrors} !== null`,(()=>e.if(t,(()=>e.assign(r._`${a.default.vErrors}.length`,t)),(()=>e.assign(a.default.vErrors,null)))))},t.extendErrors=function({gen:e,keyword:t,schemaValue:n,data:o,errsCount:i,it:s}){if(void 0===i)throw new Error("ajv implementation error");const l=e.name("err");e.forRange("i",i,a.default.errors,(i=>{e.const(l,r._`${a.default.vErrors}[${i}]`),e.if(r._`${l}.instancePath === undefined`,(()=>e.assign(r._`${l}.instancePath`,(0,r.strConcat)(a.default.instancePath,s.errorPath)))),e.assign(r._`${l}.schemaPath`,r.str`${s.errSchemaPath}/${t}`),s.opts.verbose&&(e.assign(r._`${l}.schema`,n),e.assign(r._`${l}.data`,o))}))};const l={keyword:new r.Name("keyword"),schemaPath:new r.Name("schemaPath"),params:new r.Name("params"),propertyName:new r.Name("propertyName"),message:new r.Name("message"),schema:new r.Name("schema"),parentSchema:new r.Name("parentSchema")};function u(e,t,n){const{createErrors:o}=e.it;return!1===o?r._`{}`:function(e,t,n={}){const{gen:o,it:i}=e,s=[c(i,n),d(e,n)];return function(e,{params:t,message:n},o){const{keyword:i,data:s,schemaValue:u,it:c}=e,{opts:d,propertyName:f,topSchemaRef:p,schemaPath:h}=c;o.push([l.keyword,i],[l.params,"function"==typeof t?t(e):t||r._`{}`]),d.messages&&o.push([l.message,"function"==typeof n?n(e):n]),d.verbose&&o.push([l.schema,u],[l.parentSchema,r._`${p}${h}`],[a.default.data,s]),f&&o.push([l.propertyName,f])}(e,t,s),o.object(...s)}(e,t,n)}function c({errorPath:e},{instancePath:t}){const n=t?r.str`${e}${(0,o.getErrorPath)(t,o.Type.Str)}`:e;return[a.default.instancePath,(0,r.strConcat)(a.default.instancePath,n)]}function d({keyword:e,it:{errSchemaPath:t}},{schemaPath:n,parentSchema:a}){let i=a?t:r.str`${t}/${e}`;return n&&(i=r.str`${i}${(0,o.getErrorPath)(n,o.Type.Str)}`),[l.schemaPath,i]}},5173:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveSchema=t.getCompilingSchema=t.resolveRef=t.compileSchema=t.SchemaEnv=void 0;const r=n(3487),o=n(7426),a=n(2141),i=n(2531),s=n(6776),l=n(4815);class u{constructor(e){var t;let n;this.refs={},this.dynamicAnchors={},"object"==typeof e.schema&&(n=e.schema),this.schema=e.schema,this.schemaId=e.schemaId,this.root=e.root||this,this.baseId=null!==(t=e.baseId)&&void 0!==t?t:(0,i.normalizeId)(null==n?void 0:n[e.schemaId||"$id"]),this.schemaPath=e.schemaPath,this.localRefs=e.localRefs,this.meta=e.meta,this.$async=null==n?void 0:n.$async,this.refs={}}}function c(e){const t=f.call(this,e);if(t)return t;const n=(0,i.getFullPath)(this.opts.uriResolver,e.root.baseId),{es5:s,lines:u}=this.opts.code,{ownProperties:c}=this.opts,d=new r.CodeGen(this.scope,{es5:s,lines:u,ownProperties:c});let p;e.$async&&(p=d.scopeValue("Error",{ref:o.default,code:r._`require("ajv/dist/runtime/validation_error").default`}));const h=d.scopeName("validate");e.validateName=h;const m={gen:d,allErrors:this.opts.allErrors,data:a.default.data,parentData:a.default.parentData,parentDataProperty:a.default.parentDataProperty,dataNames:[a.default.data],dataPathArr:[r.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:d.scopeValue("schema",!0===this.opts.code.source?{ref:e.schema,code:(0,r.stringify)(e.schema)}:{ref:e.schema}),validateName:h,ValidationError:p,schema:e.schema,schemaEnv:e,rootId:n,baseId:e.baseId||n,schemaPath:r.nil,errSchemaPath:e.schemaPath||(this.opts.jtd?"":"#"),errorPath:r._`""`,opts:this.opts,self:this};let g;try{this._compilations.add(e),(0,l.validateFunctionCode)(m),d.optimize(this.opts.code.optimize);const t=d.toString();g=`${d.scopeRefs(a.default.scope)}return ${t}`,this.opts.code.process&&(g=this.opts.code.process(g,e));const n=new Function(`${a.default.self}`,`${a.default.scope}`,g)(this,this.scope.get());if(this.scope.value(h,{ref:n}),n.errors=null,n.schema=e.schema,n.schemaEnv=e,e.$async&&(n.$async=!0),!0===this.opts.code.source&&(n.source={validateName:h,validateCode:t,scopeValues:d._values}),this.opts.unevaluated){const{props:e,items:t}=m;n.evaluated={props:e instanceof r.Name?void 0:e,items:t instanceof r.Name?void 0:t,dynamicProps:e instanceof r.Name,dynamicItems:t instanceof r.Name},n.source&&(n.source.evaluated=(0,r.stringify)(n.evaluated))}return e.validate=n,e}catch(t){throw delete e.validate,delete e.validateName,g&&this.logger.error("Error compiling schema, function code:",g),t}finally{this._compilations.delete(e)}}function d(e){return(0,i.inlineRef)(e.schema,this.opts.inlineRefs)?e.schema:e.validate?e:c.call(this,e)}function f(e){for(const r of this._compilations)if(n=e,(t=r).schema===n.schema&&t.root===n.root&&t.baseId===n.baseId)return r;var t,n}function p(e,t){let n;for(;"string"==typeof(n=this.refs[t]);)t=n;return n||this.schemas[t]||h.call(this,e,t)}function h(e,t){const n=this.opts.uriResolver.parse(t),r=(0,i._getFullPath)(this.opts.uriResolver,n);let o=(0,i.getFullPath)(this.opts.uriResolver,e.baseId,void 0);if(Object.keys(e.schema).length>0&&r===o)return g.call(this,n,e);const a=(0,i.normalizeId)(r),s=this.refs[a]||this.schemas[a];if("string"==typeof s){const t=h.call(this,e,s);if("object"!=typeof(null==t?void 0:t.schema))return;return g.call(this,n,t)}
2if("object"==typeof(null==s?void 0:s.schema)){if(s.validate||c.call(this,s),a===(0,i.normalizeId)(t)){const{schema:t}=s,{schemaId:n}=this.opts,r=t[n];return r&&(o=(0,i.resolveUrl)(this.opts.uriResolver,o,r)),new u({schema:t,schemaId:n,root:e,baseId:o})}return g.call(this,n,s)}}t.SchemaEnv=u,t.compileSchema=c,t.resolveRef=function(e,t,n){var r;n=(0,i.resolveUrl)(this.opts.uriResolver,t,n);const o=e.refs[n];if(o)return o;let a=p.call(this,e,n);if(void 0===a){const o=null===(r=e.localRefs)||void 0===r?void 0:r[n],{schemaId:i}=this.opts;o&&(a=new u({schema:o,schemaId:i,root:e,baseId:t}))}return void 0!==a?e.refs[n]=d.call(this,a):void 0},t.getCompilingSchema=f,t.resolveSchema=h;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function g(e,{baseId:t,schema:n,root:r}){var o;if("/"!==(null===(o=e.fragment)||void 0===o?void 0:o[0]))return;for(const r of e.fragment.slice(1).split("/")){if("boolean"==typeof n)return;const e=n[(0,s.unescapeFragment)(r)];if(void 0===e)return;const o="object"==typeof(n=e)&&n[this.opts.schemaId];!m.has(r)&&o&&(t=(0,i.resolveUrl)(this.opts.uriResolver,t,o))}let a;if("boolean"!=typeof n&&n.$ref&&!(0,s.schemaHasRulesButRef)(n,this.RULES)){const e=(0,i.resolveUrl)(this.opts.uriResolver,t,n.$ref);a=h.call(this,r,e)}const{schemaId:l}=this.opts;return a=a||new u({schema:n,schemaId:l,root:r,baseId:t}),a.schema!==a.root.schema?a:void 0}},2141:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o={data:new r.Name("data"),valCxt:new r.Name("valCxt"),instancePath:new r.Name("instancePath"),parentData:new r.Name("parentData"),parentDataProperty:new r.Name("parentDataProperty"),rootData:new r.Name("rootData"),dynamicAnchors:new r.Name("dynamicAnchors"),vErrors:new r.Name("vErrors"),errors:new r.Name("errors"),this:new r.Name("this"),self:new r.Name("self"),scope:new r.Name("scope"),json:new r.Name("json"),jsonPos:new r.Name("jsonPos"),jsonLen:new r.Name("jsonLen"),jsonPart:new r.Name("jsonPart")};t.default=o},6646:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(2531);class o extends Error{constructor(e,t,n,o){super(o||`can't resolve reference ${n} from id ${t}`),this.missingRef=(0,r.resolveUrl)(e,t,n),this.missingSchema=(0,r.normalizeId)((0,r.getFullPath)(e,this.missingRef))}}t.default=o},2531:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaRefs=t.resolveUrl=t.normalizeId=t._getFullPath=t.getFullPath=t.inlineRef=void 0;const r=n(6776),o=n(4063),a=n(9461),i=new Set(["type","format","pattern","maxLength","minLength","maxProperties","minProperties","maxItems","minItems","maximum","minimum","uniqueItems","multipleOf","required","enum","const"]);t.inlineRef=function(e,t=!0){return"boolean"==typeof e||(!0===t?!l(e):!!t&&u(e)<=t)};const s=new Set(["$ref","$recursiveRef","$recursiveAnchor","$dynamicRef","$dynamicAnchor"]);function l(e){for(const t in e){if(s.has(t))return!0;const n=e[t];if(Array.isArray(n)&&n.some(l))return!0;if("object"==typeof n&&l(n))return!0}return!1}function u(e){let t=0;for(const n in e){if("$ref"===n)return 1/0;if(t++,!i.has(n)&&("object"==typeof e[n]&&(0,r.eachItem)(e[n],(e=>t+=u(e))),t===1/0))return 1/0}return t}function c(e,t="",n){!1!==n&&(t=p(t));const r=e.parse(t);return d(e,r)}function d(e,t){return e.serialize(t).split("#")[0]+"#"}t.getFullPath=c,t._getFullPath=d;const f=/#\/?$/;function p(e){return e?e.replace(f,""):""}t.normalizeId=p,t.resolveUrl=function(e,t,n){return n=p(n),e.resolve(t,n)};const h=/^[a-z_][-a-z0-9._]*$/i;t.getSchemaRefs=function(e,t){if("boolean"==typeof e)return{};const{schemaId:n,uriResolver:r}=this.opts,i=p(e[n]||t),s={"":i},l=c(r,i,!1),u={},d=new Set;return a(e,{allKeys:!0},((e,t,r,o)=>{if(void 0===o)return;const a=l+t;let i=s[o];function c(t){const n=this.opts.uriResolver.resolve;if(t=p(i?n(i,t):t),d.has(t))throw m(t);d.add(t);let r=this.refs[t];return"string"==typeof r&&(r=this.refs[r]),"object"==typeof r?f(e,r.schema,t):t!==p(a)&&("#"===t[0]?(f(e,u[t],t),u[t]=e):this.refs[t]=a),t}function g(e){if("string"==typeof e){if(!h.test(e))throw new Error(`invalid anchor "${e}"`);c.call(this,`#${e}`)}}"string"==typeof e[n]&&(i=c.call(this,e[n])),g.call(this,e.$anchor),g.call(this,e.$dynamicAnchor),s[t]=i})),u;function f(e,t,n){if(void 0!==t&&!o(e,t))throw m(n)}function m(e){return new Error(`reference "${e}" resolves to more than one schema`)}}},3141:(e,t)=>{"use strict";
2Object.defineProperty(t,"__esModule",{value:!0}),t.getRules=t.isJSONType=void 0;const n=new Set(["string","number","integer","boolean","null","object","array"]);t.isJSONType=function(e){return"string"==typeof e&&n.has(e)},t.getRules=function(){const e={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}},6776:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkStrictMode=t.getErrorPath=t.Type=t.useFunc=t.setEvaluated=t.evaluatedPropsToName=t.mergeEvaluated=t.eachItem=t.unescapeJsonPointer=t.escapeJsonPointer=t.escapeFragment=t.unescapeFragment=t.schemaRefOrVal=t.schemaHasRulesButRef=t.schemaHasRules=t.checkUnknownRules=t.alwaysValidSchema=t.toHash=void 0;const r=n(3487),o=n(7023);function a(e,t=e.schema){const{opts:n,self:r}=e;if(!n.strictSchema)return;if("boolean"==typeof t)return;const o=r.RULES.keywords;for(const n in t)o[n]||h(e,`unknown keyword: "${n}"`)}function i(e,t){if("boolean"==typeof e)return!e;for(const n in e)if(t[n])return!0;return!1}function s(e){return"number"==typeof e?`${e}`:e.replace(/~/g,"~0").replace(/\//g,"~1")}function l(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")}function u({mergeNames:e,mergeToName:t,mergeValues:n,resultToName:o}){return(a,i,s,l)=>{const u=void 0===s?i:s instanceof r.Name?(i instanceof r.Name?e(a,i,s):t(a,i,s),s):i instanceof r.Name?(t(a,s,i),i):n(i,s);return l!==r.Name||u instanceof r.Name?u:o(a,u)}}function c(e,t){if(!0===t)return e.var("props",!0);const n=e.var("props",r._`{}`);return void 0!==t&&d(e,n,t),n}function d(e,t,n){Object.keys(n).forEach((n=>e.assign(r._`${t}${(0,r.getProperty)(n)}`,!0)))}t.toHash=function(e){const t={};for(const n of e)t[n]=!0;return t},t.alwaysValidSchema=function(e,t){return"boolean"==typeof t?t:0===Object.keys(t).length||(a(e,t),!i(t,e.self.RULES.all))},t.checkUnknownRules=a,t.schemaHasRules=i,t.schemaHasRulesButRef=function(e,t){if("boolean"==typeof e)return!e;for(const n in e)if("$ref"!==n&&t.all[n])return!0;return!1},t.schemaRefOrVal=function({topSchemaRef:e,schemaPath:t},n,o,a){if(!a){if("number"==typeof n||"boolean"==typeof n)return n;if("string"==typeof n)return r._`${n}`}return r._`${e}${t}${(0,r.getProperty)(o)}`},t.unescapeFragment=function(e){return l(decodeURIComponent(e))},t.escapeFragment=function(e){return encodeURIComponent(s(e))},t.escapeJsonPointer=s,t.unescapeJsonPointer=l,t.eachItem=function(e,t){if(Array.isArray(e))for(const n of e)t(n);else t(e)},t.mergeEvaluated={props:u({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>{e.if(r._`${t} === true`,(()=>e.assign(n,!0)),(()=>e.assign(n,r._`${n} || {}`).code(r._`Object.assign(${n}, ${t})`)))})),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>{!0===t?e.assign(n,!0):(e.assign(n,r._`${n} || {}`),d(e,n,t))})),mergeValues:(e,t)=>!0===e||{...e,...t},resultToName:c}),items:u({mergeNames:(e,t,n)=>e.if(r._`${n} !== true && ${t} !== undefined`,(()=>e.assign(n,r._`${t} === true ? true : ${n} > ${t} ? ${n} : ${t}`))),mergeToName:(e,t,n)=>e.if(r._`${n} !== true`,(()=>e.assign(n,!0===t||r._`${n} > ${t} ? ${n} : ${t}`))),mergeValues:(e,t)=>!0===e||Math.max(e,t),resultToName:(e,t)=>e.var("items",t)})},t.evaluatedPropsToName=c,t.setEvaluated=d;const f={};var p;function h(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,!0===n)throw new Error(t);e.self.logger.warn(t)}}t.useFunc=function(e,t){return e.scopeValue("func",{ref:t,code:f[t.code]||(f[t.code]=new o._Code(t.code))})},function(e){e[e.Num=0]="Num",e[e.Str=1]="Str"}(p=t.Type||(t.Type={})),t.getErrorPath=function(e,t,n){if(e instanceof r.Name){const o=t===p.Num;return n?o?r._`"[" + ${e} + "]"`:r._`"['" + ${e} + "']"`:o?r._`"/" + ${e}`:r._`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return n?(0,r.getProperty)(e).toString():"/"+s(e)},t.checkStrictMode=h},8876:(e,t)=>{"use strict";function n(e,t){return t.rules.some((t=>r(e,t)))}function r(e,t){var n;return void 0!==e[t.keyword]||(null===(n=t.definition.implements)||void 0===n?void 0:n.some((t=>void 0!==e[t])))}
2Object.defineProperty(t,"__esModule",{value:!0}),t.shouldUseRule=t.shouldUseGroup=t.schemaHasRulesForType=void 0,t.schemaHasRulesForType=function({schema:e,self:t},r){const o=t.RULES.types[r];return o&&!0!==o&&n(e,o)},t.shouldUseGroup=n,t.shouldUseRule=r},5667:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.boolOrEmptySchema=t.topBoolOrEmptySchema=void 0;const r=n(4181),o=n(3487),a=n(2141),i={message:"boolean schema is false"};function s(e,t){const{gen:n,data:o}=e,a={gen:n,keyword:"false schema",data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,r.reportError)(a,i,void 0,t)}t.topBoolOrEmptySchema=function(e){const{gen:t,schema:n,validateName:r}=e;!1===n?s(e,!1):"object"==typeof n&&!0===n.$async?t.return(a.default.data):(t.assign(o._`${r}.errors`,null),t.return(!0))},t.boolOrEmptySchema=function(e,t){const{gen:n,schema:r}=e;!1===r?(n.var(t,!1),s(e)):n.var(t,!0)}},453:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reportTypeError=t.checkDataTypes=t.checkDataType=t.coerceAndCheckDataType=t.getJSONTypes=t.getSchemaTypes=t.DataType=void 0;const r=n(3141),o=n(8876),a=n(4181),i=n(3487),s=n(6776);var l;function u(e){const t=Array.isArray(e)?e:e?[e]:[];if(t.every(r.isJSONType))return t;throw new Error("type must be JSONType or JSONType[]: "+t.join(","))}!function(e){e[e.Correct=0]="Correct",e[e.Wrong=1]="Wrong"}(l=t.DataType||(t.DataType={})),t.getSchemaTypes=function(e){const t=u(e.type);if(t.includes("null")){if(!1===e.nullable)throw new Error("type: null contradicts nullable: false")}else{if(!t.length&&void 0!==e.nullable)throw new Error('"nullable" cannot be used without "type"');!0===e.nullable&&t.push("null")}return t},t.getJSONTypes=u,t.coerceAndCheckDataType=function(e,t){const{gen:n,data:r,opts:a}=e,s=function(e,t){return t?e.filter((e=>c.has(e)||"array"===t&&"array"===e)):[]}(t,a.coerceTypes),u=t.length>0&&!(0===s.length&&1===t.length&&(0,o.schemaHasRulesForType)(e,t[0]));if(u){const o=f(t,r,a.strictNumbers,l.Wrong);n.if(o,(()=>{s.length?function(e,t,n){const{gen:r,data:o,opts:a}=e,s=r.let("dataType",i._`typeof ${o}`),l=r.let("coerced",i._`undefined`);"array"===a.coerceTypes&&r.if(i._`${s} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,(()=>r.assign(o,i._`${o}[0]`).assign(s,i._`typeof ${o}`).if(f(t,o,a.strictNumbers),(()=>r.assign(l,o))))),r.if(i._`${l} !== undefined`);for(const e of n)(c.has(e)||"array"===e&&"array"===a.coerceTypes)&&u(e);function u(e){switch(e){case"string":return void r.elseIf(i._`${s} == "number" || ${s} == "boolean"`).assign(l,i._`"" + ${o}`).elseIf(i._`${o} === null`).assign(l,i._`""`);case"number":return void r.elseIf(i._`${s} == "boolean" || ${o} === null
3              || (${s} == "string" && ${o} && ${o} == +${o})`).assign(l,i._`+${o}`);case"integer":return void r.elseIf(i._`${s} === "boolean" || ${o} === null
4              || (${s} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(l,i._`+${o}`);case"boolean":return void r.elseIf(i._`${o} === "false" || ${o} === 0 || ${o} === null`).assign(l,!1).elseIf(i._`${o} === "true" || ${o} === 1`).assign(l,!0);case"null":return r.elseIf(i._`${o} === "" || ${o} === 0 || ${o} === false`),void r.assign(l,null);case"array":r.elseIf(i._`${s} === "string" || ${s} === "number"
5              || ${s} === "boolean" || ${o} === null`).assign(l,i._`[${o}]`)}}r.else(),h(e),r.endIf(),r.if(i._`${l} !== undefined`,(()=>{r.assign(o,l),function({gen:e,parentData:t,parentDataProperty:n},r){e.if(i._`${t} !== undefined`,(()=>e.assign(i._`${t}[${n}]`,r)))}(e,l)}))}(e,t,s):h(e)}))}return u};const c=new Set(["string","number","integer","boolean","null"]);function d(e,t,n,r=l.Correct){const o=r===l.Correct?i.operators.EQ:i.operators.NEQ;let a;switch(e){case"null":return i._`${t} ${o} null`;case"array":a=i._`Array.isArray(${t})`;break;case"object":a=i._`${t} && typeof ${t} == "object" && !Array.isArray(${t})`;break;case"integer":a=s(i._`!(${t} % 1) && !isNaN(${t})`);break;case"number":a=s();break;default:return i._`typeof ${t} ${o} ${e}`}return r===l.Correct?a:(0,i.not)(a);function s(e=i.nil){return(0,i.and)(i._`typeof ${t} == "number"`,e,n?i._`isFinite(${t})`:i.nil)}}function f(e,t,n,r){if(1===e.length)return d(e[0],t,n,r);let o;const a=(0,s.toHash)(e);if(a.array&&a.object){const e=i._`typeof ${t} != "object"`;o=a.null?e:i._`!${t} || ${e}`,delete a.null,delete a.array,delete a.object}else o=i.nil;a.number&&delete a.integer;for(const e in a)o=(0,i.and)(o,d(e,t,n,r));return o}t.checkDataType=d,t.checkDataTypes=f;const p={message:({schema:e})=>`must be ${e}`,params:({schema:e,schemaValue:t})=>"string"==typeof e?i._`{type: ${e}}`:i._`{type: ${t}}`};function h(e){const t=function(e){const{gen:t,data:n,schema:r}=e,o=(0,s.schemaRefOrVal)(e,r,"type");
5return{gen:t,keyword:"type",data:n,schema:r.type,schemaCode:o,schemaValue:o,parentSchema:r,params:{},it:e}}(e);(0,a.reportError)(t,p)}t.reportTypeError=h},313:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assignDefaults=void 0;const r=n(3487),o=n(6776);function a(e,t,n){const{gen:a,compositeRule:i,data:s,opts:l}=e;if(void 0===n)return;const u=r._`${s}${(0,r.getProperty)(t)}`;if(i)return void(0,o.checkStrictMode)(e,`default is ignored for: ${u}`);let c=r._`${u} === undefined`;"empty"===l.useDefaults&&(c=r._`${c} || ${u} === null || ${u} === ""`),a.if(c,r._`${u} = ${(0,r.stringify)(n)}`)}t.assignDefaults=function(e,t){const{properties:n,items:r}=e.schema;if("object"===t&&n)for(const t in n)a(e,t,n[t].default);else"array"===t&&Array.isArray(r)&&r.forEach(((t,n)=>a(e,n,t.default)))}},4815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getData=t.KeywordCxt=t.validateFunctionCode=void 0;const r=n(5667),o=n(453),a=n(8876),i=n(453),s=n(313),l=n(5005),u=n(3099),c=n(3487),d=n(2141),f=n(2531),p=n(6776),h=n(4181);function m({gen:e,validateName:t,schema:n,schemaEnv:r,opts:o},a){o.code.es5?e.func(t,c._`${d.default.data}, ${d.default.valCxt}`,r.$async,(()=>{e.code(c._`"use strict"; ${g(n,o)}`),function(e,t){e.if(d.default.valCxt,(()=>{e.var(d.default.instancePath,c._`${d.default.valCxt}.${d.default.instancePath}`),e.var(d.default.parentData,c._`${d.default.valCxt}.${d.default.parentData}`),e.var(d.default.parentDataProperty,c._`${d.default.valCxt}.${d.default.parentDataProperty}`),e.var(d.default.rootData,c._`${d.default.valCxt}.${d.default.rootData}`),t.dynamicRef&&e.var(d.default.dynamicAnchors,c._`${d.default.valCxt}.${d.default.dynamicAnchors}`)}),(()=>{e.var(d.default.instancePath,c._`""`),e.var(d.default.parentData,c._`undefined`),e.var(d.default.parentDataProperty,c._`undefined`),e.var(d.default.rootData,d.default.data),t.dynamicRef&&e.var(d.default.dynamicAnchors,c._`{}`)}))}(e,o),e.code(a)})):e.func(t,c._`${d.default.data}, ${function(e){return c._`{${d.default.instancePath}="", ${d.default.parentData}, ${d.default.parentDataProperty}, ${d.default.rootData}=${d.default.data}${e.dynamicRef?c._`, ${d.default.dynamicAnchors}={}`:c.nil}}={}`}(o)}`,r.$async,(()=>e.code(g(n,o)).code(a)))}function g(e,t){const n="object"==typeof e&&e[t.schemaId];return n&&(t.code.source||t.code.process)?c._`/*# sourceURL=${n} */`:c.nil}function v({schema:e,self:t}){if("boolean"==typeof e)return!e;for(const n in e)if(t.RULES.all[n])return!0;return!1}function y(e){return"boolean"!=typeof e.schema}function b(e){(0,p.checkUnknownRules)(e),function(e){const{schema:t,errSchemaPath:n,opts:r,self:o}=e;t.$ref&&r.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(t,o.RULES)&&o.logger.warn(`$ref: keywords ignored in schema at path "${n}"`)}(e)}function w(e,t){if(e.opts.jtd)return _(e,[],!1,t);const n=(0,o.getSchemaTypes)(e.schema);_(e,n,!(0,o.coerceAndCheckDataType)(e,n),t)}function E({gen:e,schemaEnv:t,schema:n,errSchemaPath:r,opts:o}){const a=n.$comment;if(!0===o.$comment)e.code(c._`${d.default.self}.logger.log(${a})`);else if("function"==typeof o.$comment){const n=c.str`${r}/$comment`,o=e.scopeValue("root",{ref:t.root});e.code(c._`${d.default.self}.opts.$comment(${a}, ${n}, ${o}.schema)`)}}function _(e,t,n,r){const{gen:o,schema:s,data:l,allErrors:u,opts:f,self:h}=e,{RULES:m}=h;function g(p){(0,a.shouldUseGroup)(s,p)&&(p.type?(o.if((0,i.checkDataType)(p.type,l,f.strictNumbers)),S(e,p),1===t.length&&t[0]===p.type&&n&&(o.else(),(0,i.reportTypeError)(e)),o.endIf()):S(e,p),u||o.if(c._`${d.default.errors} === ${r||0}`))}!s.$ref||!f.ignoreKeywordsWithRef&&(0,p.schemaHasRulesButRef)(s,m)?(f.jtd||function(e,t){!e.schemaEnv.meta&&e.opts.strictTypes&&(function(e,t){t.length&&(e.dataTypes.length?(t.forEach((t=>{D(e.dataTypes,t)||x(e,`type "${t}" not allowed by context "${e.dataTypes.join(",")}"`)})),function(e,t){const n=[];for(const r of e.dataTypes)D(t,r)?n.push(r):t.includes("integer")&&"number"===r&&n.push("integer");e.dataTypes=n}(e,t)):e.dataTypes=t)}(e,t),e.opts.allowUnionTypes||function(e,t){t.length>1&&(2!==t.length||!t.includes("null"))&&x(e,"use allowUnionTypes to allow union type keyword")}(e,t),function(e,t){const n=e.self.RULES.all;for(const r in n){const o=n[r];if("object"==typeof o&&(0,a.shouldUseRule)(e.schema,o)){const{type:n}=o.definition;n.length&&!n.some((e=>{return r=e,(n=t).includes(r)||"number"===r&&n.includes("integer");var n,r}))&&x(e,`missing type "${n.join(",")}" for keyword "${r}"`)}}}(e,e.dataTypes))}(e,t),o.block((()=>{for(const e of m.rules)g(e);g(m.post)}))):o.block((()=>C(e,"$ref",m.all.$ref.definition)))}function S(e,t){const{gen:n,schema:r,opts:{useDefaults:o}}=e;o&&(0,s.assignDefaults)(e,t.type),n.block((()=>{for(const n of t.rules)(0,a.shouldUseRule)(r,n)&&C(e,n.keyword,n.definition,t.type)}))}function D(e,t){return e.includes(t)||"integer"===t&&e.includes("number")}function x(e,t){t+=` at "${e.schemaEnv.baseId+e.errSchemaPath}" (strictTypes)`,(0,p.checkStrictMode)(e,t,e.opts.strictTypes)}t.validateFunctionCode=function(e){y(e)&&(b(e),v(e))?function(e){const{schema:t,opts:n,gen:r}=e;m(e,(()=>{n.$comment&&t.$comment&&E(e),function(e){const{schema:t,opts:n}=e;void 0!==t.default&&n.useDefaults&&n.strictSchema&&(0,p.checkStrictMode)(e,"default is ignored in the schema root")}(e),r.let(d.default.vErrors,null),r.let(d.default.errors,0),n.unevaluated&&function(e){const{gen:t,validateName:n}=e;e.evaluated=t.const("evaluated",c._`${n}.evaluated`),t.if(c._`${e.evaluated}.dynamicProps`,(()=>t.assign(c._`${e.evaluated}.props`,c._`undefined`))),t.if(c._`${e.evaluated}.dynamicItems`,(()=>t.assign(c._`${e.evaluated}.items`,c._`undefined`)))}(e),w(e),function(e){const{gen:t,schemaEnv:n,validateName:r,ValidationError:o,opts:a}=e;n.$async?t.if(c._`${d.default.errors} === 0`,(()=>t.return(d.default.data)),(()=>t.throw(c._`new ${o}(${d.default.vErrors})`))):(t.assign(c._`${r}.errors`,d.default.vErrors),a.unevaluated&&function({gen:e,evaluated:t,props:n,items:r}){n instanceof c.Name&&e.assign(c._`${t}.props`,n),r instanceof c.Name&&e.assign(c._`${t}.items`,r)}(e),t.return(c._`${d.default.errors} === 0`))}(e)}))}(e):m(e,(()=>(0,r.topBoolOrEmptySchema)(e)))};class P{constructor(e,t,n){if((0,l.validateKeywordUsage)(e,t,n),this.gen=e.gen,this.allErrors=e.allErrors,this.keyword=n,this.data=e.data,this.schema=e.schema[n],this.$data=t.$data&&e.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,p.schemaRefOrVal)(e,this.schema,n,this.$data),this.schemaType=t.schemaType,this.parentSchema=e.schema,this.params={},this.it=e,this.def=t,this.$data)this.schemaCode=e.gen.const("vSchema",R(this.$data,e));else if(this.schemaCode=this.schemaValue,!(0,l.validSchemaType)(this.schema,t.schemaType,t.allowUndefined))throw new Error(`${n} value must be ${JSON.stringify(t.schemaType)}`);("code"in t?t.trackErrors:!1!==t.errors)&&(this.errsCount=e.gen.const("_errs",d.default.errors))}result(e,t,n){this.failResult((0,c.not)(e),t,n)}failResult(e,t,n){this.gen.if(e),n?n():this.error(),t?(this.gen.else(),t(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(e,t){this.failResult((0,c.not)(e),void 0,t)}fail(e){if(void 0===e)return this.error(),void(this.allErrors||this.gen.if(!1));this.gen.if(e),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(e){if(!this.$data)return this.fail(e);const{schemaCode:t}=this;this.fail(c._`${t} !== undefined && (${(0,c.or)(this.invalid$data(),e)})`)}error(e,t,n){if(t)return this.setParams(t),this._error(e,n),void this.setParams({});this._error(e,n)}_error(e,t){(e?h.reportExtraError:h.reportError)(this,this.def.error,t)}$dataError(){(0,h.reportError)(this,this.def.$dataError||h.keyword$DataError)}reset(){if(void 0===this.errsCount)throw new Error('add "trackErrors" to keyword definition');(0,h.resetErrorsCount)(this.gen,this.errsCount)}ok(e){this.allErrors||this.gen.if(e)}setParams(e,t){t?Object.assign(this.params,e):this.params=e}block$data(e,t,n=c.nil){this.gen.block((()=>{this.check$data(e,n),t()}))}check$data(e=c.nil,t=c.nil){if(!this.$data)return;const{gen:n,schemaCode:r,schemaType:o,def:a}=this;n.if((0,c.or)(c._`${r} === undefined`,t)),e!==c.nil&&n.assign(e,!0),(o.length||a.validateSchema)&&(n.elseIf(this.invalid$data()),this.$dataError(),e!==c.nil&&n.assign(e,!1)),n.else()}invalid$data(){const{gen:e,schemaCode:t,schemaType:n,def:r,it:o}=this;return(0,c.or)(function(){if(n.length){if(!(t instanceof c.Name))throw new Error("ajv implementation error");const e=Array.isArray(n)?n:[n];return c._`${(0,i.checkDataTypes)(e,t,o.opts.strictNumbers,i.DataType.Wrong)}`}return c.nil}(),function(){if(r.validateSchema){const n=e.scopeValue("validate$data",{ref:r.validateSchema});return c._`!${n}(${t})`}return c.nil}())}subschema(e,t){const n=(0,u.getSubschema)(this.it,e);(0,u.extendSubschemaData)(n,this.it,e),(0,u.extendSubschemaMode)(n,e);const o={...this.it,...n,items:void 0,props:void 0};return function(e,t){y(e)&&(b(e),v(e))?function(e,t){const{schema:n,gen:r,opts:o}=e;o.$comment&&n.$comment&&E(e),function(e){const t=e.schema[e.opts.schemaId];t&&(e.baseId=(0,f.resolveUrl)(e.opts.uriResolver,e.baseId,t))}(e),function(e){if(e.schema.$async&&!e.schemaEnv.$async)throw new Error("async schema in sync schema")}(e);const a=r.const("_errs",d.default.errors);w(e,a),r.var(t,c._`${a} === ${d.default.errors}`)}(e,t):(0,r.boolOrEmptySchema)(e,t)}(o,t),o}mergeEvaluated(e,t){const{it:n,gen:r}=this;
5n.opts.unevaluated&&(!0!==n.props&&void 0!==e.props&&(n.props=p.mergeEvaluated.props(r,e.props,n.props,t)),!0!==n.items&&void 0!==e.items&&(n.items=p.mergeEvaluated.items(r,e.items,n.items,t)))}mergeValidEvaluated(e,t){const{it:n,gen:r}=this;if(n.opts.unevaluated&&(!0!==n.props||!0!==n.items))return r.if(t,(()=>this.mergeEvaluated(e,c.Name))),!0}}function C(e,t,n,r){const o=new P(e,n,t);"code"in n?n.code(o,r):o.$data&&n.validate?(0,l.funcKeywordCode)(o,n):"macro"in n?(0,l.macroKeywordCode)(o,n):(n.compile||n.validate)&&(0,l.funcKeywordCode)(o,n)}t.KeywordCxt=P;const k=/^\/(?:[^~]|~0|~1)*$/,O=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function R(e,{dataLevel:t,dataNames:n,dataPathArr:r}){let o,a;if(""===e)return d.default.rootData;if("/"===e[0]){if(!k.test(e))throw new Error(`Invalid JSON-pointer: ${e}`);o=e,a=d.default.rootData}else{const i=O.exec(e);if(!i)throw new Error(`Invalid JSON-pointer: ${e}`);const s=+i[1];if(o=i[2],"#"===o){if(s>=t)throw new Error(l("property/index",s));return r[t-s]}if(s>t)throw new Error(l("data",s));if(a=n[t-s],!o)return a}let i=a;const s=o.split("/");for(const e of s)e&&(a=c._`${a}${(0,c.getProperty)((0,p.unescapeJsonPointer)(e))}`,i=c._`${i} && ${a}`);return i;function l(e,n){return`Cannot access ${e} ${n} levels up, current level is ${t}`}}t.getData=R},5005:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateKeywordUsage=t.validSchemaType=t.funcKeywordCode=t.macroKeywordCode=void 0;const r=n(3487),o=n(2141),a=n(412),i=n(4181);function s(e){const{gen:t,data:n,it:o}=e;t.if(o.parentData,(()=>t.assign(n,r._`${o.parentData}[${o.parentDataProperty}]`)))}function l(e,t,n){if(void 0===n)throw new Error(`keyword "${t}" failed to compile`);return e.scopeValue("keyword","function"==typeof n?{ref:n}:{ref:n,code:(0,r.stringify)(n)})}t.macroKeywordCode=function(e,t){const{gen:n,keyword:o,schema:a,parentSchema:i,it:s}=e,u=t.macro.call(s.self,a,i,s),c=l(n,o,u);!1!==s.opts.validateSchema&&s.self.validateSchema(u,!0);const d=n.name("valid");e.subschema({schema:u,schemaPath:r.nil,errSchemaPath:`${s.errSchemaPath}/${o}`,topSchemaRef:c,compositeRule:!0},d),e.pass(d,(()=>e.error(!0)))},t.funcKeywordCode=function(e,t){var n;const{gen:u,keyword:c,schema:d,parentSchema:f,$data:p,it:h}=e;!function({schemaEnv:e},t){if(t.async&&!e.$async)throw new Error("async keyword in sync schema")}(h,t);const m=!p&&t.compile?t.compile.call(h.self,d,f,h):t.validate,g=l(u,c,m),v=u.let("valid");function y(n=(t.async?r._`await `:r.nil)){const i=h.opts.passContext?o.default.this:o.default.self,s=!("compile"in t&&!p||!1===t.schema);u.assign(v,r._`${n}${(0,a.callValidateCode)(e,g,i,s)}`,t.modifying)}function b(e){var n;u.if((0,r.not)(null!==(n=t.valid)&&void 0!==n?n:v),e)}e.block$data(v,(function(){if(!1===t.errors)y(),t.modifying&&s(e),b((()=>e.error()));else{const n=t.async?function(){const e=u.let("ruleErrs",null);return u.try((()=>y(r._`await `)),(t=>u.assign(v,!1).if(r._`${t} instanceof ${h.ValidationError}`,(()=>u.assign(e,r._`${t}.errors`)),(()=>u.throw(t))))),e}():function(){const e=r._`${g}.errors`;return u.assign(e,null),y(r.nil),e}();t.modifying&&s(e),b((()=>function(e,t){const{gen:n}=e;n.if(r._`Array.isArray(${t})`,(()=>{n.assign(o.default.vErrors,r._`${o.default.vErrors} === null ? ${t} : ${o.default.vErrors}.concat(${t})`).assign(o.default.errors,r._`${o.default.vErrors}.length`),(0,i.extendErrors)(e)}),(()=>e.error()))}(e,n)))}})),e.ok(null!==(n=t.valid)&&void 0!==n?n:v)},t.validSchemaType=function(e,t,n=!1){return!t.length||t.some((t=>"array"===t?Array.isArray(e):"object"===t?e&&"object"==typeof e&&!Array.isArray(e):typeof e==t||n&&void 0===e))},t.validateKeywordUsage=function({schema:e,opts:t,self:n,errSchemaPath:r},o,a){if(Array.isArray(o.keyword)?!o.keyword.includes(a):o.keyword!==a)throw new Error("ajv implementation error");const i=o.dependencies;if(null==i?void 0:i.some((t=>!Object.prototype.hasOwnProperty.call(e,t))))throw new Error(`parent schema must have dependencies of ${a}: ${i.join(",")}`);if(o.validateSchema&&!o.validateSchema(e[a])){const e=`keyword "${a}" value is invalid at path "${r}": `+n.errorsText(o.validateSchema.errors);if("log"!==t.validateSchema)throw new Error(e);n.logger.error(e)}}}
5,3099:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extendSubschemaMode=t.extendSubschemaData=t.getSubschema=void 0;const r=n(3487),o=n(6776);t.getSubschema=function(e,{keyword:t,schemaProp:n,schema:a,schemaPath:i,errSchemaPath:s,topSchemaRef:l}){if(void 0!==t&&void 0!==a)throw new Error('both "keyword" and "schema" passed, only one allowed');if(void 0!==t){const a=e.schema[t];return void 0===n?{schema:a,schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}`,errSchemaPath:`${e.errSchemaPath}/${t}`}:{schema:a[n],schemaPath:r._`${e.schemaPath}${(0,r.getProperty)(t)}${(0,r.getProperty)(n)}`,errSchemaPath:`${e.errSchemaPath}/${t}/${(0,o.escapeFragment)(n)}`}}if(void 0!==a){if(void 0===i||void 0===s||void 0===l)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:a,schemaPath:i,topSchemaRef:l,errSchemaPath:s}}throw new Error('either "keyword" or "schema" must be passed')},t.extendSubschemaData=function(e,t,{dataProp:n,dataPropType:a,data:i,dataTypes:s,propertyName:l}){if(void 0!==i&&void 0!==n)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:u}=t;if(void 0!==n){const{errorPath:i,dataPathArr:s,opts:l}=t;c(u.let("data",r._`${t.data}${(0,r.getProperty)(n)}`,!0)),e.errorPath=r.str`${i}${(0,o.getErrorPath)(n,a,l.jsPropertySyntax)}`,e.parentDataProperty=r._`${n}`,e.dataPathArr=[...s,e.parentDataProperty]}function c(n){e.data=n,e.dataLevel=t.dataLevel+1,e.dataTypes=[],t.definedProperties=new Set,e.parentData=t.data,e.dataNames=[...t.dataNames,n]}void 0!==i&&(c(i instanceof r.Name?i:u.let("data",i,!0)),void 0!==l&&(e.propertyName=l)),s&&(e.dataTypes=s)},t.extendSubschemaMode=function(e,{jtdDiscriminator:t,jtdMetadata:n,compositeRule:r,createErrors:o,allErrors:a}){void 0!==r&&(e.compositeRule=r),void 0!==o&&(e.createErrors=o),void 0!==a&&(e.allErrors=a),e.jtdDiscriminator=t,e.jtdMetadata=n}},7159:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGen=t.Name=t.nil=t.stringify=t.str=t._=t.KeywordCxt=void 0;var r=n(4815);Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return r.KeywordCxt}});var o=n(3487);Object.defineProperty(t,"_",{enumerable:!0,get:function(){return o._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return o.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return o.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return o.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return o.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return o.CodeGen}});const a=n(7426),i=n(6646),s=n(3141),l=n(5173),u=n(3487),c=n(2531),d=n(453),f=n(6776),p=n(4775),h=n(3589),m=(e,t)=>new RegExp(e,t);m.code="new RegExp";const g=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),y={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated 
5ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},b={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'};function w(e){var t,n,r,o,a,i,s,l,u,c,d,f,p,g,v,y,b,w,E,_,S,D,x,P,C;const k=e.strict,O=null===(t=e.code)||void 0===t?void 0:t.optimize,R=!0===O||void 0===O?1:O||0,T=null!==(r=null===(n=e.code)||void 0===n?void 0:n.regExp)&&void 0!==r?r:m,$=null!==(o=e.uriResolver)&&void 0!==o?o:h.default;return{strictSchema:null===(i=null!==(a=e.strictSchema)&&void 0!==a?a:k)||void 0===i||i,strictNumbers:null===(l=null!==(s=e.strictNumbers)&&void 0!==s?s:k)||void 0===l||l,strictTypes:null!==(c=null!==(u=e.strictTypes)&&void 0!==u?u:k)&&void 0!==c?c:"log",strictTuples:null!==(f=null!==(d=e.strictTuples)&&void 0!==d?d:k)&&void 0!==f?f:"log",strictRequired:null!==(g=null!==(p=e.strictRequired)&&void 0!==p?p:k)&&void 0!==g&&g,code:e.code?{...e.code,optimize:R,regExp:T}:{optimize:R,regExp:T},loopRequired:null!==(v=e.loopRequired)&&void 0!==v?v:200,loopEnum:null!==(y=e.loopEnum)&&void 0!==y?y:200,meta:null===(b=e.meta)||void 0===b||b,messages:null===(w=e.messages)||void 0===w||w,inlineRefs:null===(E=e.inlineRefs)||void 0===E||E,schemaId:null!==(_=e.schemaId)&&void 0!==_?_:"$id",addUsedSchema:null===(S=e.addUsedSchema)||void 0===S||S,validateSchema:null===(D=e.validateSchema)||void 0===D||D,validateFormats:null===(x=e.validateFormats)||void 0===x||x,unicodeRegExp:null===(P=e.unicodeRegExp)||void 0===P||P,int32range:null===(C=e.int32range)||void 0===C||C,uriResolver:$}}class E{constructor(e={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,e=this.opts={...e,...w(e)};const{es5:t,lines:n}=this.opts.code;this.scope=new u.ValueScope({scope:{},prefixes:v,es5:t,lines:n}),this.logger=function(e){if(!1===e)return k;if(void 0===e)return console;if(e.log&&e.warn&&e.error)return e;throw new Error("logger must implement log, warn and error methods")}(e.logger);const r=e.validateFormats;e.validateFormats=!1,this.RULES=(0,s.getRules)(),_.call(this,y,e,"NOT SUPPORTED"),_.call(this,b,e,"DEPRECATED","warn"),this._metaOpts=C.call(this),e.formats&&x.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),e.keywords&&P.call(this,e.keywords),"object"==typeof e.meta&&this.addMetaSchema(e.meta),D.call(this),e.validateFormats=r}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:e,meta:t,schemaId:n}=this.opts;let r=p;"id"===n&&(r={...p},r.id=r.$id,delete r.$id),t&&e&&this.addMetaSchema(r,r[n],!1)}defaultMeta(){const{meta:e,schemaId:t}=this.opts;return this.opts.defaultMeta="object"==typeof e?e[t]||e:void 0}validate(e,t){let n;if("string"==typeof e){if(n=this.getSchema(e),!n)throw new Error(`no schema with key or ref "${e}"`)}else n=this.compile(e);const r=n(t);return"$async"in n||(this.errors=n.errors),r}compile(e,t){const n=this._addSchema(e,t);return n.validate||this._compileSchemaEnv(n)}compileAsync(e,t){if("function"!=typeof this.opts.loadSchema)throw new Error("options.loadSchema should be a function");const{loadSchema:n}=this.opts;return r.call(this,e,t);async function r(e,t){await o.call(this,e.$schema);const n=this._addSchema(e,t);return n.validate||a.call(this,n)}async function o(e){e&&!this.getSchema(e)&&await r.call(this,{$ref:e},!0)}async function a(e){try{return this._compileSchemaEnv(e)}catch(t){if(!(t instanceof i.default))throw t;return s.call(this,t),await l.call(this,t.missingSchema),a.call(this,e)}}function s({missingSchema:e,missingRef:t}){if(this.refs[e])throw new Error(`AnySchema ${e} is loaded but ${t} cannot be resolved`)}async function l(e){const n=await u.call(this,e);this.refs[e]||await o.call(this,n.$schema),this.refs[e]||this.addSchema(n,e,t)}async function u(e){const t=this._loading[e];if(t)return t;try{return await(this._loading[e]=n(e))}finally{delete this._loading[e]}}}addSchema(e,t,n,r=this.opts.validateSchema){if(Array.isArray(e)){for(const t of e)this.addSchema(t,void 0,n,r);return this}let o;if("object"==typeof e){const{schemaId:t}=this.opts;if(o=e[t],void 0!==o&&"string"!=typeof o)throw new Error(`schema ${t} must be string`)}return t=(0,c.normalizeId)(t||o),this._checkUnique(t),this.schemas[t]=this._addSchema(e,n,t,r,!0),this}addMetaSchema(e,t,n=this.opts.validateSchema){return this.addSchema(e,t,!0,n),this}validateSchema(e,t){if("boolean"==typeof e)return!0;let n;
5if(n=e.$schema,void 0!==n&&"string"!=typeof n)throw new Error("$schema must be a string");if(n=n||this.opts.defaultMeta||this.defaultMeta(),!n)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const r=this.validate(n,e);if(!r&&t){const e="schema is invalid: "+this.errorsText();if("log"!==this.opts.validateSchema)throw new Error(e);this.logger.error(e)}return r}getSchema(e){let t;for(;"string"==typeof(t=S.call(this,e));)e=t;if(void 0===t){const{schemaId:n}=this.opts,r=new l.SchemaEnv({schema:{},schemaId:n});if(t=l.resolveSchema.call(this,r,e),!t)return;this.refs[e]=t}return t.validate||this._compileSchemaEnv(t)}removeSchema(e){if(e instanceof RegExp)return this._removeAllSchemas(this.schemas,e),this._removeAllSchemas(this.refs,e),this;switch(typeof e){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const t=S.call(this,e);return"object"==typeof t&&this._cache.delete(t.schema),delete this.schemas[e],delete this.refs[e],this}case"object":{const t=e;this._cache.delete(t);let n=e[this.opts.schemaId];return n&&(n=(0,c.normalizeId)(n),delete this.schemas[n],delete this.refs[n]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(e){for(const t of e)this.addKeyword(t);return this}addKeyword(e,t){let n;if("string"==typeof e)n=e,"object"==typeof t&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),t.keyword=n);else{if("object"!=typeof e||void 0!==t)throw new Error("invalid addKeywords parameters");if(n=(t=e).keyword,Array.isArray(n)&&!n.length)throw new Error("addKeywords: keyword must be string or non-empty array")}if(R.call(this,n,t),!t)return(0,f.eachItem)(n,(e=>T.call(this,e))),this;I.call(this,t);const r={...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)};return(0,f.eachItem)(n,0===r.type.length?e=>T.call(this,e,r):e=>r.type.forEach((t=>T.call(this,e,r,t)))),this}getKeyword(e){const t=this.RULES.all[e];return"object"==typeof t?t.definition:!!t}removeKeyword(e){const{RULES:t}=this;delete t.keywords[e],delete t.all[e];for(const n of t.rules){const t=n.rules.findIndex((t=>t.keyword===e));t>=0&&n.rules.splice(t,1)}return this}addFormat(e,t){return"string"==typeof t&&(t=new RegExp(t)),this.formats[e]=t,this}errorsText(e=this.errors,{separator:t=", ",dataVar:n="data"}={}){return e&&0!==e.length?e.map((e=>`${n}${e.instancePath} ${e.message}`)).reduce(((e,n)=>e+t+n)):"No errors"}$dataMetaSchema(e,t){const n=this.RULES.all;e=JSON.parse(JSON.stringify(e));for(const r of t){const t=r.split("/").slice(1);let o=e;for(const e of t)o=o[e];for(const e in n){const t=n[e];if("object"!=typeof t)continue;const{$data:r}=t.definition,a=o[e];r&&a&&(o[e]=A(a))}}return e}_removeAllSchemas(e,t){for(const n in e){const r=e[n];t&&!t.test(n)||("string"==typeof r?delete e[n]:r&&!r.meta&&(this._cache.delete(r.schema),delete e[n]))}}_addSchema(e,t,n,r=this.opts.validateSchema,o=this.opts.addUsedSchema){let a;const{schemaId:i}=this.opts;if("object"==typeof e)a=e[i];else{if(this.opts.jtd)throw new Error("schema must be object");if("boolean"!=typeof e)throw new Error("schema must be object or boolean")}let s=this._cache.get(e);if(void 0!==s)return s;n=(0,c.normalizeId)(a||n);const u=c.getSchemaRefs.call(this,e,n);return s=new l.SchemaEnv({schema:e,schemaId:i,meta:t,baseId:n,localRefs:u}),this._cache.set(s.schema,s),o&&!n.startsWith("#")&&(n&&this._checkUnique(n),this.refs[n]=s),r&&this.validateSchema(e,!0),s}_checkUnique(e){if(this.schemas[e]||this.refs[e])throw new Error(`schema with key or id "${e}" already exists`)}_compileSchemaEnv(e){if(e.meta?this._compileMetaSchema(e):l.compileSchema.call(this,e),!e.validate)throw new Error("ajv implementation error");return e.validate}_compileMetaSchema(e){const t=this.opts;this.opts=this._metaOpts;try{l.compileSchema.call(this,e)}finally{this.opts=t}}}function _(e,t,n,r="error"){for(const o in e){const a=o;a in t&&this.logger[r](`${n}: option ${o}. ${e[a]}`)}}function S(e){return e=(0,c.normalizeId)(e),this.schemas[e]||this.refs[e]}function D(){const e=this.opts.schemas;if(e)if(Array.isArray(e))this.addSchema(e);else for(const t in e)this.addSchema(e[t],t)}function x(){for(const e in this.opts.formats){const t=this.opts.formats[e];t&&this.addFormat(e,t)}}function P(e){if(Array.isArray(e))this.addVocabulary(e);else{this.logger.warn("keywords option as map is deprecated, pass array");for(const t in e){const n=e[t];n.keyword||(n.keyword=t),this.addKeyword(n)}}}function C(){const e={...this.opts};for(const t of g)delete e[t];return e}t.default=E,E.ValidationError=a.default,E.MissingRefError=i.default;const k={log(){},warn(){},error(){}},O=/^[a-z_$][a-z0-9_$:-]*$/i;function R(e,t){const{RULES:n}=this;if((0,f.eachItem)(e,(e=>{if(n.keywords[e])throw new Error(`Keyword ${e} is already defined`);if(!O.test(e))throw new Error(`Keyword ${e}
5 has invalid name`)})),t&&t.$data&&!("code"in t)&&!("validate"in t))throw new Error('$data keyword must have "code" or "validate" function')}function T(e,t,n){var r;const o=null==t?void 0:t.post;if(n&&o)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:a}=this;let i=o?a.post:a.rules.find((({type:e})=>e===n));if(i||(i={type:n,rules:[]},a.rules.push(i)),a.keywords[e]=!0,!t)return;const s={keyword:e,definition:{...t,type:(0,d.getJSONTypes)(t.type),schemaType:(0,d.getJSONTypes)(t.schemaType)}};t.before?$.call(this,i,s,t.before):i.rules.push(s),a.all[e]=s,null===(r=t.implements)||void 0===r||r.forEach((e=>this.addKeyword(e)))}function $(e,t,n){const r=e.rules.findIndex((e=>e.keyword===n));r>=0?e.rules.splice(r,0,t):(e.rules.push(t),this.logger.warn(`rule ${n} is not defined`))}function I(e){let{metaSchema:t}=e;void 0!==t&&(e.$data&&this.opts.$data&&(t=A(t)),e.validateSchema=this.compile(t,!0))}const M={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function A(e){return{anyOf:[e,M]}}},3510:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4063);r.code='require("ajv/dist/runtime/equal").default',t.default=r},4499:(e,t)=>{"use strict";function n(e){const t=e.length;let n,r=0,o=0;for(;o<t;)r++,n=e.charCodeAt(o++),n>=55296&&n<=56319&&o<t&&(n=e.charCodeAt(o),56320==(64512&n)&&o++);return r}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n,n.code='require("ajv/dist/runtime/ucs2length").default'},3589:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(540);r.code='require("ajv/dist/runtime/uri").default',t.default=r},7426:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super("validation failed"),this.errors=e,this.ajv=this.validation=!0}}t.default=n},4783:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateAdditionalItems=void 0;const r=n(3487),o=n(6776),a={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{parentSchema:t,it:n}=e,{items:r}=t;Array.isArray(r)?i(e,r):(0,o.checkStrictMode)(n,'"additionalItems" is ignored when "items" is not an array of schemas')}};function i(e,t){const{gen:n,schema:a,data:i,keyword:s,it:l}=e;l.items=!0;const u=n.const("len",r._`${i}.length`);if(!1===a)e.setParams({len:t.length}),e.pass(r._`${u} <= ${t.length}`);else if("object"==typeof a&&!(0,o.alwaysValidSchema)(l,a)){const a=n.var("valid",r._`${u} <= ${t.length}`);n.if((0,r.not)(a),(()=>function(a){n.forRange("i",t.length,u,(t=>{e.subschema({keyword:s,dataProp:t,dataPropType:o.Type.Num},a),l.allErrors||n.if((0,r.not)(a),(()=>n.break()))}))}(a))),e.ok(a)}}t.validateAdditionalItems=i,t.default=a},9351:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(412),o=n(3487),a=n(2141),i=n(6776),s={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:e})=>o._`{additionalProperty: ${e.additionalProperty}}`},code(e){const{gen:t,schema:n,parentSchema:s,data:l,errsCount:u,it:c}=e;if(!u)throw new Error("ajv implementation error");const{allErrors:d,opts:f}=c;if(c.props=!0,"all"!==f.removeAdditional&&(0,i.alwaysValidSchema)(c,n))return;const p=(0,r.allSchemaProperties)(s.properties),h=(0,r.allSchemaProperties)(s.patternProperties);function m(e){t.code(o._`delete ${l}[${e}]`)}function g(r){if("all"===f.removeAdditional||f.removeAdditional&&!1===n)m(r);else{if(!1===n)return e.setParams({additionalProperty:r}),e.error(),void(d||t.break());if("object"==typeof n&&!(0,i.alwaysValidSchema)(c,n)){const n=t.name("valid");"failing"===f.removeAdditional?(v(r,n,!1),t.if((0,o.not)(n),(()=>{e.reset(),m(r)}))):(v(r,n),d||t.if((0,o.not)(n),(()=>t.break())))}}}function v(t,n,r){const o={keyword:"additionalProperties",dataProp:t,dataPropType:i.Type.Str};!1===r&&Object.assign(o,{compositeRule:!0,createErrors:!1,allErrors:!1}),e.subschema(o,n)}t.forIn("key",l,(n=>{p.length||h.length?t.if(function(n){let a;if(p.length>8){const e=(0,i.schemaRefOrVal)(c,s.properties,"properties");a=(0,r.isOwnProperty)(t,e,n)}else a=p.length?(0,o.or)(...p.map((e=>o._`${n} === ${e}`))):o.nil;return h.length&&(a=(0,o.or)(a,...h.map((t=>o._`${(0,r.usePattern)(e,t)}.test(${n})`)))),(0,o.not)(a)}(n),(()=>g(n))):g(n)})),e.ok(o._`${u} === ${a.default.errors}`)}};t.default=s},1125:(e,t,n)=>{"use strict";
5Object.defineProperty(t,"__esModule",{value:!0});const r=n(6776),o={keyword:"allOf",schemaType:"array",code(e){const{gen:t,schema:n,it:o}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");const a=t.name("valid");n.forEach(((t,n)=>{if((0,r.alwaysValidSchema)(o,t))return;const i=e.subschema({keyword:"allOf",schemaProp:n},a);e.ok(a),e.mergeEvaluated(i)}))}};t.default=o},19:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:n(412).validateUnion,error:{message:"must match a schema in anyOf"}};t.default=r},6935:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:e,max:t}})=>void 0===t?r.str`must contain at least ${e} valid item(s)`:r.str`must contain at least ${e} and no more than ${t} valid item(s)`,params:({params:{min:e,max:t}})=>void 0===t?r._`{minContains: ${e}}`:r._`{minContains: ${e}, maxContains: ${t}}`},code(e){const{gen:t,schema:n,parentSchema:a,data:i,it:s}=e;let l,u;const{minContains:c,maxContains:d}=a;s.opts.next?(l=void 0===c?1:c,u=d):l=1;const f=t.const("len",r._`${i}.length`);if(e.setParams({min:l,max:u}),void 0===u&&0===l)return void(0,o.checkStrictMode)(s,'"minContains" == 0 without "maxContains": "contains" keyword ignored');if(void 0!==u&&l>u)return(0,o.checkStrictMode)(s,'"minContains" > "maxContains" is always invalid'),void e.fail();if((0,o.alwaysValidSchema)(s,n)){let t=r._`${f} >= ${l}`;return void 0!==u&&(t=r._`${t} && ${f} <= ${u}`),void e.pass(t)}s.items=!0;const p=t.name("valid");function h(){const e=t.name("_valid"),n=t.let("count",0);m(e,(()=>t.if(e,(()=>function(e){t.code(r._`${e}++`),void 0===u?t.if(r._`${e} >= ${l}`,(()=>t.assign(p,!0).break())):(t.if(r._`${e} > ${u}`,(()=>t.assign(p,!1).break())),1===l?t.assign(p,!0):t.if(r._`${e} >= ${l}`,(()=>t.assign(p,!0))))}(n)))))}function m(n,r){t.forRange("i",0,f,(t=>{e.subschema({keyword:"contains",dataProp:t,dataPropType:o.Type.Num,compositeRule:!0},n),r()}))}void 0===u&&1===l?m(p,(()=>t.if(p,(()=>t.break())))):0===l?(t.let(p,!0),void 0!==u&&t.if(r._`${i}.length > 0`,h)):(t.let(p,!1),h()),e.result(p,(()=>e.reset()))}};t.default=a},7772:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateSchemaDeps=t.validatePropertyDeps=t.error=void 0;const r=n(3487),o=n(6776),a=n(412);t.error={message:({params:{property:e,depsCount:t,deps:n}})=>{const o=1===t?"property":"properties";return r.str`must have ${o} ${n} when property ${e} is present`},params:({params:{property:e,depsCount:t,deps:n,missingProperty:o}})=>r._`{property: ${e},
6    missingProperty: ${o},
7    depsCount: ${t},
8    deps: ${n}}`};const i={keyword:"dependencies",type:"object",schemaType:"object",error:t.error,code(e){const[t,n]=function({schema:e}){const t={},n={};for(const r in e)"__proto__"!==r&&((Array.isArray(e[r])?t:n)[r]=e[r]);return[t,n]}(e);s(e,t),l(e,n)}};function s(e,t=e.schema){const{gen:n,data:o,it:i}=e;if(0===Object.keys(t).length)return;const s=n.let("missing");for(const l in t){const u=t[l];if(0===u.length)continue;const c=(0,a.propertyInData)(n,o,l,i.opts.ownProperties);e.setParams({property:l,depsCount:u.length,deps:u.join(", ")}),i.allErrors?n.if(c,(()=>{for(const t of u)(0,a.checkReportMissingProp)(e,t)})):(n.if(r._`${c} && (${(0,a.checkMissingProp)(e,u,s)})`),(0,a.reportMissingProp)(e,s),n.else())}}function l(e,t=e.schema){const{gen:n,data:r,keyword:i,it:s}=e,l=n.name("valid");for(const u in t)(0,o.alwaysValidSchema)(s,t[u])||(n.if((0,a.propertyInData)(n,r,u,s.opts.ownProperties),(()=>{const t=e.subschema({keyword:i,schemaProp:u},l);e.mergeValidEvaluated(t,l)}),(()=>n.var(l,!0))),e.ok(l))}t.validatePropertyDeps=s,t.validateSchemaDeps=l,t.default=i},9434:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:e})=>r.str`must match "${e.ifClause}" schema`,params:({params:e})=>r._`{failingKeyword: ${e.ifClause}}`},code(e){const{gen:t,parentSchema:n,it:a}=e;void 0===n.then&&void 0===n.else&&(0,o.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const s=i(a,"then"),l=i(a,"else");if(!s&&!l)return;const u=t.let("valid",!0),c=t.name("_valid");if(function(){const t=e.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},c);e.mergeEvaluated(t)}(),e.reset(),s&&l){const n=t.let("ifClause");e.setParams({ifClause:n}),t.if(c,d("then",n),d("else",n))}else s?t.if(c,d("then")):t.if((0,r.not)(c),d("else"));function d(n,o){return()=>{const a=e.subschema({keyword:n},c);t.assign(u,c),e.mergeValidEvaluated(a,u),o?t.assign(o,r._`${n}`):e.setParams({ifClause:n})}}e.pass(u,(()=>e.error(!0)))}};function i(e,t){const n=e.schema[t];return void 0!==n&&!(0,o.alwaysValidSchema)(e,n)}t.default=a},8200:(e,t,n)=>{"use strict";
8Object.defineProperty(t,"__esModule",{value:!0});const r=n(4783),o=n(2924),a=n(4665),i=n(1119),s=n(6935),l=n(7772),u=n(3708),c=n(9351),d=n(6239),f=n(2296),p=n(5697),h=n(19),m=n(4200),g=n(1125),v=n(9434),y=n(6552);t.default=function(e=!1){const t=[p.default,h.default,m.default,g.default,v.default,y.default,u.default,c.default,l.default,d.default,f.default];return e?t.push(o.default,i.default):t.push(r.default,a.default),t.push(s.default),t}},4665:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateTuple=void 0;const r=n(3487),o=n(6776),a=n(412),i={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(e){const{schema:t,it:n}=e;if(Array.isArray(t))return s(e,"additionalItems",t);n.items=!0,(0,o.alwaysValidSchema)(n,t)||e.ok((0,a.validateArray)(e))}};function s(e,t,n=e.schema){const{gen:a,parentSchema:i,data:s,keyword:l,it:u}=e;!function(e){const{opts:r,errSchemaPath:a}=u,i=n.length,s=i===e.minItems&&(i===e.maxItems||!1===e[t]);if(r.strictTuples&&!s){const e=`"${l}" is ${i}-tuple, but minItems or maxItems/${t} are not specified or different at path "${a}"`;(0,o.checkStrictMode)(u,e,r.strictTuples)}}(i),u.opts.unevaluated&&n.length&&!0!==u.items&&(u.items=o.mergeEvaluated.items(a,n.length,u.items));const c=a.name("valid"),d=a.const("len",r._`${s}.length`);n.forEach(((t,n)=>{(0,o.alwaysValidSchema)(u,t)||(a.if(r._`${d} > ${n}`,(()=>e.subschema({keyword:l,schemaProp:n,dataProp:n},c))),e.ok(c))}))}t.validateTuple=s,t.default=i},1119:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a=n(412),i=n(4783),s={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:e}})=>r.str`must NOT have more than ${e} items`,params:({params:{len:e}})=>r._`{limit: ${e}}`},code(e){const{schema:t,parentSchema:n,it:r}=e,{prefixItems:s}=n;r.items=!0,(0,o.alwaysValidSchema)(r,t)||(s?(0,i.validateAdditionalItems)(e,s):e.ok((0,a.validateArray)(e)))}};t.default=s},5697:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6776),o={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(e){const{gen:t,schema:n,it:o}=e;if((0,r.alwaysValidSchema)(o,n))return void e.fail();const a=t.name("valid");e.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},a),e.failResult(a,(()=>e.reset()),(()=>e.error()))},error:{message:"must NOT be valid"}};t.default=o},4200:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:e})=>r._`{passingSchemas: ${e.passing}}`},code(e){const{gen:t,schema:n,parentSchema:a,it:i}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(i.opts.discriminator&&a.discriminator)return;const s=n,l=t.let("valid",!1),u=t.let("passing",null),c=t.name("_valid");e.setParams({passing:u}),t.block((function(){s.forEach(((n,a)=>{let s;(0,o.alwaysValidSchema)(i,n)?t.var(c,!0):s=e.subschema({keyword:"oneOf",schemaProp:a,compositeRule:!0},c),a>0&&t.if(r._`${c} && ${l}`).assign(l,!1).assign(u,r._`[${u}, ${a}]`).else(),t.if(c,(()=>{t.assign(l,!0),t.assign(u,a),s&&e.mergeEvaluated(s,r.Name)}))}))})),e.result(l,(()=>e.reset()),(()=>e.error(!0)))}};t.default=a},2296:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(412),o=n(3487),a=n(6776),i=n(6776),s={keyword:"patternProperties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,data:s,parentSchema:l,it:u}=e,{opts:c}=u,d=(0,r.allSchemaProperties)(n),f=d.filter((e=>(0,a.alwaysValidSchema)(u,n[e])));if(0===d.length||f.length===d.length&&(!u.opts.unevaluated||!0===u.props))return;const p=c.strictSchema&&!c.allowMatchingProperties&&l.properties,h=t.name("valid");!0===u.props||u.props instanceof o.Name||(u.props=(0,i.evaluatedPropsToName)(t,u.props));const{props:m}=u;function g(e){for(const t in p)new RegExp(e).test(t)&&(0,a.checkStrictMode)(u,`property ${t} matches pattern ${e} (use allowMatchingProperties)`)}
8function v(n){t.forIn("key",s,(a=>{t.if(o._`${(0,r.usePattern)(e,n)}.test(${a})`,(()=>{const r=f.includes(n);r||e.subschema({keyword:"patternProperties",schemaProp:n,dataProp:a,dataPropType:i.Type.Str},h),u.opts.unevaluated&&!0!==m?t.assign(o._`${m}[${a}]`,!0):r||u.allErrors||t.if((0,o.not)(h),(()=>t.break()))}))}))}!function(){for(const e of d)p&&g(e),u.allErrors?v(e):(t.var(h,!0),v(e),t.if(h))}()}};t.default=s},2924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4665),o={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:e=>(0,r.validateTuple)(e,"items")};t.default=o},6239:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(4815),o=n(412),a=n(6776),i=n(9351),s={keyword:"properties",type:"object",schemaType:"object",code(e){const{gen:t,schema:n,parentSchema:s,data:l,it:u}=e;"all"===u.opts.removeAdditional&&void 0===s.additionalProperties&&i.default.code(new r.KeywordCxt(u,i.default,"additionalProperties"));const c=(0,o.allSchemaProperties)(n);for(const e of c)u.definedProperties.add(e);u.opts.unevaluated&&c.length&&!0!==u.props&&(u.props=a.mergeEvaluated.props(t,(0,a.toHash)(c),u.props));const d=c.filter((e=>!(0,a.alwaysValidSchema)(u,n[e])));if(0===d.length)return;const f=t.name("valid");for(const n of d)p(n)?h(n):(t.if((0,o.propertyInData)(t,l,n,u.opts.ownProperties)),h(n),u.allErrors||t.else().var(f,!0),t.endIf()),e.it.definedProperties.add(n),e.ok(f);function p(e){return u.opts.useDefaults&&!u.compositeRule&&void 0!==n[e].default}function h(t){e.subschema({keyword:"properties",schemaProp:t,dataProp:t},f)}}};t.default=s},3708:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:e})=>r._`{propertyName: ${e.propertyName}}`}
8,code(e){const{gen:t,schema:n,data:a,it:i}=e;if((0,o.alwaysValidSchema)(i,n))return;const s=t.name("valid");t.forIn("key",a,(n=>{e.setParams({propertyName:n}),e.subschema({keyword:"propertyNames",data:n,dataTypes:["string"],propertyName:n,compositeRule:!0},s),t.if((0,r.not)(s),(()=>{e.error(!0),i.allErrors||t.break()}))})),e.ok(s)}};t.default=a},6552:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(6776),o={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:e,parentSchema:t,it:n}){void 0===t.if&&(0,r.checkStrictMode)(n,`"${e}" without "if" is ignored`)}};t.default=o},412:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateUnion=t.validateArray=t.usePattern=t.callValidateCode=t.schemaProperties=t.allSchemaProperties=t.noPropertyInData=t.propertyInData=t.isOwnProperty=t.hasPropFunc=t.reportMissingProp=t.checkMissingProp=t.checkReportMissingProp=void 0;const r=n(3487),o=n(6776),a=n(2141),i=n(6776);function s(e){return e.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:r._`Object.prototype.hasOwnProperty`})}function l(e,t,n){return r._`${s(e)}.call(${t}, ${n})`}function u(e,t,n,o){const a=r._`${t}${(0,r.getProperty)(n)} === undefined`;return o?(0,r.or)(a,(0,r.not)(l(e,t,n))):a}function c(e){return e?Object.keys(e).filter((e=>"__proto__"!==e)):[]}t.checkReportMissingProp=function(e,t){const{gen:n,data:o,it:a}=e;n.if(u(n,o,t,a.opts.ownProperties),(()=>{e.setParams({missingProperty:r._`${t}`},!0),e.error()}))},t.checkMissingProp=function({gen:e,data:t,it:{opts:n}},o,a){return(0,r.or)(...o.map((o=>(0,r.and)(u(e,t,o,n.ownProperties),r._`${a} = ${o}`))))},t.reportMissingProp=function(e,t){e.setParams({missingProperty:t},!0),e.error()},t.hasPropFunc=s,t.isOwnProperty=l,t.propertyInData=function(e,t,n,o){const a=r._`${t}${(0,r.getProperty)(n)} !== undefined`;return o?r._`${a} && ${l(e,t,n)}`:a},t.noPropertyInData=u,t.allSchemaProperties=c,t.schemaProperties=function(e,t){return c(t).filter((n=>!(0,o.alwaysValidSchema)(e,t[n])))},t.callValidateCode=function({schemaCode:e,data:t,it:{gen:n,topSchemaRef:o,schemaPath:i,errorPath:s},it:l},u,c,d){const f=d?r._`${e}, ${t}, ${o}${i}`:t,p=[[a.default.instancePath,(0,r.strConcat)(a.default.instancePath,s)],[a.default.parentData,l.parentData],[a.default.parentDataProperty,l.parentDataProperty],[a.default.rootData,a.default.rootData]];l.opts.dynamicRef&&p.push([a.default.dynamicAnchors,a.default.dynamicAnchors]);const h=r._`${f}, ${n.object(...p)}`;return c!==r.nil?r._`${u}.call(${c}, ${h})`:r._`${u}(${h})`};const d=r._`new RegExp`;t.usePattern=function({gen:e,it:{opts:t}},n){const o=t.unicodeRegExp?"u":"",{regExp:a}=t.code,s=a(n,o);return e.scopeValue("pattern",{key:s.toString(),ref:s,code:r._`${"new RegExp"===a.code?d:(0,i.useFunc)(e,a)}(${n}, ${o})`})},t.validateArray=function(e){const{gen:t,data:n,keyword:a,it:i}=e,s=t.name("valid");if(i.allErrors){const e=t.let("valid",!0);return l((()=>t.assign(e,!1))),e}return t.var(s,!0),l((()=>t.break())),s;function l(i){const l=t.const("len",r._`${n}.length`);t.forRange("i",0,l,(n=>{e.subschema({keyword:a,dataProp:n,dataPropType:o.Type.Num},s),t.if((0,r.not)(s),i)}))}},t.validateUnion=function(e){const{gen:t,schema:n,keyword:a,it:i}=e;if(!Array.isArray(n))throw new Error("ajv implementation error");if(n.some((e=>(0,o.alwaysValidSchema)(i,e)))&&!i.opts.unevaluated)return;const s=t.let("valid",!1),l=t.name("_valid");t.block((()=>n.forEach(((n,o)=>{const i=e.subschema({keyword:a,schemaProp:o,compositeRule:!0},l);t.assign(s,r._`${s} || ${l}`),e.mergeValidEvaluated(i,l)||t.if((0,r.not)(s))})))),e.result(s,(()=>e.reset()),(()=>e.error(!0)))}},8386:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};t.default=n},5684:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(8386),o=n(8280),a=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",r.default,o.default];t.default=a},8280:(e,t,n)=>{"use strict";
8Object.defineProperty(t,"__esModule",{value:!0}),t.callRef=t.getValidate=void 0;const r=n(6646),o=n(412),a=n(3487),i=n(2141),s=n(5173),l=n(6776),u={keyword:"$ref",schemaType:"string",code(e){const{gen:t,schema:n,it:o}=e,{baseId:i,schemaEnv:l,validateName:u,opts:f,self:p}=o,{root:h}=l;if(("#"===n||"#/"===n)&&i===h.baseId)return function(){if(l===h)return d(e,u,l,l.$async);const n=t.scopeValue("root",{ref:h});return d(e,a._`${n}.validate`,h,h.$async)}();const m=s.resolveRef.call(p,h,i,n);if(void 0===m)throw new r.default(o.opts.uriResolver,i,n);return m instanceof s.SchemaEnv?function(t){const n=c(e,t);d(e,n,t,t.$async)}(m):function(r){const o=t.scopeValue("schema",!0===f.code.source?{ref:r,code:(0,a.stringify)(r)}:{ref:r}),i=t.name("valid"),s=e.subschema({schema:r,dataTypes:[],schemaPath:a.nil,topSchemaRef:o,errSchemaPath:n},i);e.mergeEvaluated(s),e.ok(i)}(m)}};function c(e,t){const{gen:n}=e;return t.validate?n.scopeValue("validate",{ref:t.validate}):a._`${n.scopeValue("wrapper",{ref:t})}.validate`}function d(e,t,n,r){const{gen:s,it:u}=e,{allErrors:c,schemaEnv:d,opts:f}=u,p=f.passContext?i.default.this:a.nil;function h(e){const t=a._`${e}.errors`;s.assign(i.default.vErrors,a._`${i.default.vErrors} === null ? ${t} : ${i.default.vErrors}.concat(${t})`),s.assign(i.default.errors,a._`${i.default.vErrors}.length`)}function m(e){var t;if(!u.opts.unevaluated)return;const r=null===(t=null==n?void 0:n.validate)||void 0===t?void 0:t.evaluated;if(!0!==u.props)if(r&&!r.dynamicProps)void 0!==r.props&&(u.props=l.mergeEvaluated.props(s,r.props,u.props));else{const t=s.var("props",a._`${e}.evaluated.props`);u.props=l.mergeEvaluated.props(s,t,u.props,a.Name)}if(!0!==u.items)if(r&&!r.dynamicItems)void 0!==r.items&&(u.items=l.mergeEvaluated.items(s,r.items,u.items));else{const t=s.var("items",a._`${e}.evaluated.items`);u.items=l.mergeEvaluated.items(s,t,u.items,a.Name)}}r?function(){if(!d.$async)throw new Error("async schema referenced by sync schema");const n=s.let("valid");s.try((()=>{s.code(a._`await ${(0,o.callValidateCode)(e,t,p)}`),m(t),c||s.assign(n,!0)}),(e=>{s.if(a._`!(${e} instanceof ${u.ValidationError})`,(()=>s.throw(e))),h(e),c||s.assign(n,!1)})),e.ok(n)}():e.result((0,o.callValidateCode)(e,t,p),(()=>m(t)),(()=>h(t)))}t.getValidate=c,t.callRef=d,t.default=u},1240:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(9306),a=n(5173),i=n(6776),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:e,tagName:t}})=>e===o.DiscrError.Tag?`tag "${t}" must be string`:`value of tag "${t}" must be in oneOf`,params:({params:{discrError:e,tag:t,tagName:n}})=>r._`{error: ${e}, tag: ${n}, tagValue: ${t}}`},code(e){const{gen:t,data:n,schema:s,parentSchema:l,it:u}=e,{oneOf:c}=l;if(!u.opts.discriminator)throw new Error("discriminator: requires discriminator option");const d=s.propertyName;if("string"!=typeof d)throw new Error("discriminator: requires propertyName");if(s.mapping)throw new Error("discriminator: mapping is not supported");if(!c)throw new Error("discriminator: requires oneOf keyword");const f=t.let("valid",!1),p=t.const("tag",r._`${n}${(0,r.getProperty)(d)}`);function h(n){const o=t.name("valid"),a=e.subschema({keyword:"oneOf",schemaProp:n},o);return e.mergeEvaluated(a,r.Name),o}t.if(r._`typeof ${p} == "string"`,(()=>function(){const n=function(){var e;const t={},n=o(l);let r=!0;for(let t=0;t<c.length;t++){let l=c[t];(null==l?void 0:l.$ref)&&!(0,i.schemaHasRulesButRef)(l,u.self.RULES)&&(l=a.resolveRef.call(u.self,u.schemaEnv.root,u.baseId,null==l?void 0:l.$ref),l instanceof a.SchemaEnv&&(l=l.schema));const f=null===(e=null==l?void 0:l.properties)||void 0===e?void 0:e[d];if("object"!=typeof f)throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${d}"`);r=r&&(n||o(l)),s(f,t)}if(!r)throw new Error(`discriminator: "${d}" must be required`);return t;function o({required:e}){return Array.isArray(e)&&e.includes(d)}function s(e,t){if(e.const)f(e.const,t);else{if(!e.enum)throw new Error(`discriminator: "properties/${d}" must have "const" or "enum"`);for(const n of e.enum)f(n,t)}}function f(e,n){if("string"!=typeof e||e in t)throw new Error(`discriminator: "${d}" values must be unique strings`);t[e]=n}}();t.if(!1);for(const e in n)t.elseIf(r._`${p} === ${e}`),t.assign(f,h(n[e]));t.else(),e.error(!1,{discrError:o.DiscrError.Mapping,tag:p,tagName:d}),t.endIf()}()),(()=>e.error(!1,{discrError:o.DiscrError.Tag,tag:p,tagName:d}))),e.ok(f)}};t.default=s},9306:(e,t)=>{"use strict";var n;
8Object.defineProperty(t,"__esModule",{value:!0}),t.DiscrError=void 0,(n=t.DiscrError||(t.DiscrError={})).Tag="tag",n.Mapping="mapping"},3924:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(5684),o=n(2649),a=n(8200),i=n(9502),s=n(6167),l=[r.default,o.default,(0,a.default)(),i.default,s.metadataVocabulary,s.contentVocabulary];t.default=l},9651:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>r.str`must match format "${e}"`,params:({schemaCode:e})=>r._`{format: ${e}}`},code(e,t){const{gen:n,data:o,$data:a,schema:i,schemaCode:s,it:l}=e,{opts:u,errSchemaPath:c,schemaEnv:d,self:f}=l;u.validateFormats&&(a?function(){const a=n.scopeValue("formats",{ref:f.formats,code:u.code.formats}),i=n.const("fDef",r._`${a}[${s}]`),l=n.let("fType"),c=n.let("format");n.if(r._`typeof ${i} == "object" && !(${i} instanceof RegExp)`,(()=>n.assign(l,r._`${i}.type || "string"`).assign(c,r._`${i}.validate`)),(()=>n.assign(l,r._`"string"`).assign(c,i))),e.fail$data((0,r.or)(!1===u.strictSchema?r.nil:r._`${s} && !${c}`,function(){const e=d.$async?r._`(${i}.async ? await ${c}(${o}) : ${c}(${o}))`:r._`${c}(${o})`,n=r._`(typeof ${c} == "function" ? ${e} : ${c}.test(${o}))`;return r._`${c} && ${c} !== true && ${l} === ${t} && !${n}`}()))}():function(){const a=f.formats[i];if(!a)return void function(){if(!1!==u.strictSchema)throw new Error(e());function e(){return`unknown format "${i}" ignored in schema at path "${c}"`}f.logger.warn(e())}();if(!0===a)return;const[s,l,p]=function(e){const t=e instanceof RegExp?(0,r.regexpCode)(e):u.code.formats?r._`${u.code.formats}${(0,r.getProperty)(i)}`:void 0,o=n.scopeValue("formats",{key:i,ref:e,code:t});return"object"!=typeof e||e instanceof RegExp?["string",e,o]:[e.type||"string",e.validate,r._`${o}.validate`]}(a);s===t&&e.pass(function(){if("object"==typeof a&&!(a instanceof RegExp)&&a.async){if(!d.$async)throw new Error("async format in sync schema");return r._`await ${p}(${o})`}return"function"==typeof l?r._`${p}(${o})`:r._`${p}.test(${o})`}())}())}};t.default=o},9502:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=[n(9651).default];t.default=r},6167:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.contentVocabulary=t.metadataVocabulary=void 0,t.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],t.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]},4693:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a=n(3510),i={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:e})=>r._`{allowedValue: ${e}}`},code(e){const{gen:t,data:n,$data:i,schemaCode:s,schema:l}=e;i||l&&"object"==typeof l?e.fail$data(r._`!${(0,o.useFunc)(t,a.default)}(${n}, ${s})`):e.fail(r._`${l} !== ${n}`)}};t.default=i},966:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a=n(3510),i={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:e})=>r._`{allowedValues: ${e}}`},code(e){const{gen:t,data:n,$data:i,schema:s,schemaCode:l,it:u}=e;if(!i&&0===s.length)throw new Error("enum must have non-empty array");const c=s.length>=u.opts.loopEnum;let d;const f=()=>null!=d?d:d=(0,o.useFunc)(t,a.default);let p;if(c||i)p=t.let("valid"),e.block$data(p,(function(){t.assign(p,!1),t.forOf("v",l,(e=>t.if(r._`${f()}(${n}, ${e})`,(()=>t.assign(p,!0).break()))))}
8));else{if(!Array.isArray(s))throw new Error("ajv implementation error");const e=t.const("vSchema",l);p=(0,r.or)(...s.map(((t,o)=>function(e,t){const o=s[t];return"object"==typeof o&&null!==o?r._`${f()}(${n}, ${e}[${t}])`:r._`${n} === ${o}`}(e,o))))}e.pass(p)}};t.default=i},2649:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3983),o=n(430),a=n(3229),i=n(4336),s=n(498),l=n(3301),u=n(1687),c=n(2958),d=n(4693),f=n(966),p=[r.default,o.default,a.default,i.default,s.default,l.default,u.default,c.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},d.default,f.default];t.default=p},1687:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxItems"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} items`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,a="maxItems"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`${n}.length ${a} ${o}`)}};t.default=o},3229:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=n(6776),a=n(4499),i={keyword:["maxLength","minLength"],type:"string",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxLength"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} characters`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:i,it:s}=e,l="maxLength"===t?r.operators.GT:r.operators.LT,u=!1===s.opts.unicode?r._`${n}.length`:r._`${(0,o.useFunc)(e.gen,a.default)}(${n})`;e.fail$data(r._`${u} ${l} ${i}`)}};t.default=i},3983:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o=r.operators,a={maximum:{okStr:"<=",ok:o.LTE,fail:o.GT},minimum:{okStr:">=",ok:o.GTE,fail:o.LT},exclusiveMaximum:{okStr:"<",ok:o.LT,fail:o.GTE},exclusiveMinimum:{okStr:">",ok:o.GT,fail:o.LTE}},i={message:({keyword:e,schemaCode:t})=>r.str`must be ${a[e].okStr} ${t}`,params:({keyword:e,schemaCode:t})=>r._`{comparison: ${a[e].okStr}, limit: ${t}}`},s={keyword:Object.keys(a),type:"number",schemaType:"number",$data:!0,error:i,code(e){const{keyword:t,data:n,schemaCode:o}=e;e.fail$data(r._`${n} ${a[t].fail} ${o} || isNaN(${n})`)}};t.default=s},498:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:e,schemaCode:t}){const n="maxProperties"===e?"more":"fewer";return r.str`must NOT have ${n} than ${t} properties`},params:({schemaCode:e})=>r._`{limit: ${e}}`},code(e){const{keyword:t,data:n,schemaCode:o}=e,a="maxProperties"===t?r.operators.GT:r.operators.LT;e.fail$data(r._`Object.keys(${n}).length ${a} ${o}`)}};t.default=o},430:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(3487),o={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:e})=>r.str`must be multiple of ${e}`,params:({schemaCode:e})=>r._`{multipleOf: ${e}}`},code(e){const{gen:t,data:n,schemaCode:o,it:a}=e,i=a.opts.multipleOfPrecision,s=t.let("res"),l=i?r._`Math.abs(Math.round(${s}) - ${s}) > 1e-${i}`:r._`${s} !== parseInt(${s})`;e.fail$data(r._`(${o} === 0 || (${s} = ${n}/${o}, ${l}))`)}};t.default=o},4336:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(412),o=n(3487),a={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:e})=>o.str`must match pattern "${e}"`,params:({schemaCode:e})=>o._`{pattern: ${e}}`},code(e){const{data:t,$data:n,schema:a,schemaCode:i,it:s}=e,l=s.opts.unicodeRegExp?"u":"",u=n?o._`(new RegExp(${i}, ${l}))`:(0,r.usePattern)(e,a);e.fail$data(o._`!${u}.test(${t})`)}};t.default=a},3301:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(412),o=n(3487),a=n(6776),i={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:e}})=>o.str`must have required property '${e}'`,params:({params:{missingProperty:e}})=>o._`{missingProperty: ${e}}`}
8,code(e){const{gen:t,schema:n,schemaCode:i,data:s,$data:l,it:u}=e,{opts:c}=u;if(!l&&0===n.length)return;const d=n.length>=c.loopRequired;if(u.allErrors?function(){if(d||l)e.block$data(o.nil,f);else for(const t of n)(0,r.checkReportMissingProp)(e,t)}():function(){const a=t.let("missing");if(d||l){const n=t.let("valid",!0);e.block$data(n,(()=>function(n,a){e.setParams({missingProperty:n}),t.forOf(n,i,(()=>{t.assign(a,(0,r.propertyInData)(t,s,n,c.ownProperties)),t.if((0,o.not)(a),(()=>{e.error(),t.break()}))}),o.nil)}(a,n))),e.ok(n)}else t.if((0,r.checkMissingProp)(e,n,a)),(0,r.reportMissingProp)(e,a),t.else()}(),c.strictRequired){const t=e.parentSchema.properties,{definedProperties:r}=e.it;for(const e of n)if(void 0===(null==t?void 0:t[e])&&!r.has(e)){const t=`required property "${e}" is not defined at "${u.schemaEnv.baseId+u.errSchemaPath}" (strictRequired)`;(0,a.checkStrictMode)(u,t,u.opts.strictRequired)}}function f(){t.forOf("prop",i,(n=>{e.setParams({missingProperty:n}),t.if((0,r.noPropertyInData)(t,s,n,c.ownProperties),(()=>e.error()))}))}}};t.default=i},2958:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const r=n(453),o=n(3487),a=n(6776),i=n(3510),s={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:e,j:t}})=>o.str`must NOT have duplicate items (items ## ${t} and ${e} are identical)`,params:({params:{i:e,j:t}})=>o._`{i: ${e}, j: ${t}}`},code(e){const{gen:t,data:n,$data:s,schema:l,parentSchema:u,schemaCode:c,it:d}=e;if(!s&&!l)return;const f=t.let("valid"),p=u.items?(0,r.getSchemaTypes)(u.items):[];function h(a,i){const s=t.name("item"),l=(0,r.checkDataTypes)(p,s,d.opts.strictNumbers,r.DataType.Wrong),u=t.const("indices",o._`{}`);t.for(o._`;${a}--;`,(()=>{t.let(s,o._`${n}[${a}]`),t.if(l,o._`continue`),p.length>1&&t.if(o._`typeof ${s} == "string"`,o._`${s} += "_"`),t.if(o._`typeof ${u}[${s}] == "number"`,(()=>{t.assign(i,o._`${u}[${s}]`),e.error(),t.assign(f,!1).break()})).code(o._`${u}[${s}] = ${a}`)}))}function m(r,s){const l=(0,a.useFunc)(t,i.default),u=t.name("outer");t.label(u).for(o._`;${r}--;`,(()=>t.for(o._`${s} = ${r}; ${s}--;`,(()=>
8t.if(o._`${l}(${n}[${r}], ${n}[${s}])`,(()=>{e.error(),t.assign(f,!1).break(u)}))))))}e.block$data(f,(function(){const r=t.let("i",o._`${n}.length`),a=t.let("j");e.setParams({i:r,j:a}),t.assign(f,!0),t.if(o._`${r} > 1`,(()=>(p.length>0&&!p.some((e=>"object"===e||"array"===e))?h:m)(r,a)))}),o._`${c} === false`),e.ok(f)}};t.default=s},3541:(e,t,n)=>{"use strict";n.d(t,{Ry:()=>l});var r=new WeakMap,o=new WeakMap,a={},i=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,n){void 0===n&&(n="data-aria-hidden");var l=Array.from(Array.isArray(e)?e:[e]),u=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return u?(l.push.apply(l,Array.from(u.querySelectorAll("[aria-live]"))),function(e,t,n,l){var u=function(e,t){return t.map((function(t){if(e.contains(t))return t;var n=s(t);return n&&e.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)})).filter((function(e){return Boolean(e)}))}(t,Array.isArray(e)?e:[e]);a[n]||(a[n]=new WeakMap);var c=a[n],d=[],f=new Set,p=new Set(u),h=function(e){e&&!f.has(e)&&(f.add(e),h(e.parentNode))};u.forEach(h);var m=function(e){e&&!p.has(e)&&Array.prototype.forEach.call(e.children,(function(e){if(f.has(e))m(e);else{var t=e.getAttribute(l),a=null!==t&&"false"!==t,i=(r.get(e)||0)+1,s=(c.get(e)||0)+1;r.set(e,i),c.set(e,s),d.push(e),1===i&&a&&o.set(e,!0),1===s&&e.setAttribute(n,"true"),a||e.setAttribute(l,"true")}}))};return m(t),f.clear(),i++,function(){d.forEach((function(e){var t=r.get(e)-1,a=c.get(e)-1;r.set(e,t),c.set(e,a),t||(o.has(e)||e.removeAttribute(l),o.delete(e)),a||e.removeAttribute(n)})),--i||(r=new WeakMap,r=new WeakMap,o=new WeakMap,a={})}}(l,u,n,"aria-hidden")):function(){return null}}},5116:(e,t,n)=>{"use strict";var r=n(8612),o=n(1768),a=n(8928),i=n(9770);e.exports=i||r.call(a,o)},3192:(e,t,n)=>{"use strict";var r=n(8612),o=n(1768),a=n(5116);e.exports=function(){return a(r,o,arguments)}},1768:e=>{"use strict";e.exports=Function.prototype.apply},8928:e=>{"use strict";e.exports=Function.prototype.call},319:(e,t,n)=>{"use strict";var r=n(8612),o=n(4453),a=n(8928),i=n(5116);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return i(r,a,e)}},9770:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},1924:(e,t,n)=>{"use strict";var r=n(210),o=n(5559),a=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o(n):n}},5559:(e,t,n)=>{"use strict";var r=n(7771),o=n(4429),a=n(319),i=n(3192);e.exports=function(e){var t=a(arguments),n=e.length-(arguments.length-1);return r(t,1+(n>0?n:0),!0)},o?o(e.exports,"apply",{value:i}):e.exports.apply=i},251:(e,t,n)=>{var r=n(2215),o=n(2584),a=n(609),i=n(8420),s=n(2847),l=n(8923),u=Date.prototype.getTime;function c(e){return null==e}function d(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,n,f){var p=f||{};return!!(p.strict?a(t,n):t===n)||(!t||!n||"object"!=typeof t&&"object"!=typeof n?p.strict?a(t,n):t==n:function(t,n,a){var f,p;if(typeof t!=typeof n)return!1;if(c(t)||c(n))return!1;if(t.prototype!==n.prototype)return!1;if(o(t)!==o(n))return!1;var h=i(t),m=i(n);if(h!==m)return!1;if(h||m)return t.source===n.source&&s(t)===s(n);if(l(t)&&l(n))return u.call(t)===u.call(n);var g=d(t),v=d(n);if(g!==v)return!1;if(g||v){if(t.length!==n.length)return!1;for(f=0;f<t.length;f++)if(t[f]!==n[f])return!1;return!0}if(typeof t!=typeof n)return!1;try{var y=r(t),b=r(n)}catch(e){return!1}if(y.length!==b.length)return!1;for(y.sort(),b.sort(),f=y.length-1;f>=0;f--)if(y[f]!=b[f])return!1;for(f=y.length-1;f>=0;f--)if(!e(t[p=y[f]],n[p],a))return!1;return!0}(t,n,p))}},5511:(e,t,n)=>{"use strict";var r=n(4429),o=n(3464),a=n(4453),i=n(7296);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");
8if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!i&&i(e,t);if(r)r(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else{if(!c&&(s||l||u))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},4289:(e,t,n)=>{"use strict";var r=n(2215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),a=Object.prototype.toString,i=Array.prototype.concat,s=n(5511),l=n(3596)(),u=function(e,t,n,r){if(t in e)if(!0===r){if(e[t]===n)return}else if("function"!=typeof(o=r)||"[object Function]"!==a.call(o)||!r())return;var o;l?s(e,t,n,!0):s(e,t,n)},c=function(e,t){var n=arguments.length>2?arguments[2]:{},a=r(t);o&&(a=i.call(a,Object.getOwnPropertySymbols(t)));for(var s=0;s<a.length;s+=1)u(e,a[s],t[a[s]],n[a[s]])};c.supportsDescriptors=!!l,e.exports=c},9960:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},3729:function(e,t){var n,r;void 0===(r="function"==typeof(n=function(){return function e(t,n,r){var o,a,i=window,s="application/octet-stream",l=r||s,u=t,c=!n&&!r&&u,d=document.createElement("a"),f=function(e){return String(e)},p=i.Blob||i.MozBlob||i.WebKitBlob||f,h=n||"download";if(p=p.call?p.bind(i):Blob,"true"===String(this)&&(l=(u=[u,l])[0],u=u[1]),c&&c.length<2048&&(h=c.split("/").pop().split("?")[0],d.href=c,-1!==d.href.indexOf(c))){var m=new XMLHttpRequest;return m.open("GET",c,!0),m.responseType="blob",m.onload=function(t){e(t.target.response,h,s)},setTimeout((function(){m.send()}),0),m}if(/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u)){if(!(u.length>2096103.424&&p!==f))return navigator.msSaveBlob?navigator.msSaveBlob(b(u),h):w(u);l=(u=b(u)).type||s}else if(/([\x80-\xff])/.test(u)){for(var g=0,v=new Uint8Array(u.length),y=v.length;g<y;++g)v[g]=u.charCodeAt(g);u=new p([v],{type:l})}function b(e){for(var t=e.split(/[:;,]/),n=t[1],r=("base64"==t[2]?atob:decodeURIComponent)(t.pop()),o=r.length,a=0,i=new Uint8Array(o);a<o;++a)i[a]=r.charCodeAt(a);return new p([i],{type:n})}function w(e,t){if("download"in d)return d.href=e,d.setAttribute("download",h),d.className="download-js-link",d.innerHTML="downloading...",d.style.display="none",document.body.appendChild(d),setTimeout((function(){d.click(),document.body.removeChild(d),!0===t&&setTimeout((function(){i.URL.revokeObjectURL(d.href)}),250)}),66),!0;if(/(Version)\/(\d+)\.(\d+)(?:\.(\d+))?.*Safari\//.test(navigator.userAgent))return/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),window.open(e)||confirm("Displaying New Document\n\nUse Save As... to download, then click back to return to this page.")&&(location.href=e),!0;var n=document.createElement("iframe");document.body.appendChild(n),!t&&/^data:/.test(e)&&(e="data:"+e.replace(/^data:([\w\/\-\+]+)/,s)),n.src=e,setTimeout((function(){document.body.removeChild(n)}),333)}if(o=u instanceof p?u:new p([u],{type:l}),navigator.msSaveBlob)return navigator.msSaveBlob(o,h);if(i.URL)w(i.URL.createObjectURL(o),!0);else{if("string"==typeof o||o.constructor===f)try{return w("data:"+l+";base64,"+i.btoa(o))}catch(e){return w("data:"+l+","+encodeURIComponent(o))}(a=new FileReader).onload=function(e){w(this.result)},a.readAsDataURL(o)}return!0}})?n.apply(t,[]):n)||(e.exports=r)}
8,6504:(e,t,n)=>{"use strict";var r,o=n(319),a=n(7296);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var i=!!r&&a&&a(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=i&&"function"==typeof i.get?o([i.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},4429:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},3981:e=>{"use strict";e.exports=EvalError},1648:e=>{"use strict";e.exports=Error},4726:e=>{"use strict";e.exports=RangeError},6712:e=>{"use strict";e.exports=ReferenceError},3464:e=>{"use strict";e.exports=SyntaxError},4453:e=>{"use strict";e.exports=TypeError},3915:e=>{"use strict";e.exports=URIError},8892:e=>{"use strict";e.exports=Object},4063:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;for(o=r;0!=o--;){var i=a[o];if(!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}},7648:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var a,i=function(e,t){for(var n=[],r=1,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n}(arguments),s=n(0,o.length-i.length),l=[],u=0;u<s;u++)l[u]="$"+u;if(a=Function("binder","return function ("+function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=",");return n}(l)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var t=o.apply(this,r(i,arguments));return Object(t)===t?t:this}return o.apply(e,r(i,arguments))})),o.prototype){var c=function(){};c.prototype=o.prototype,a.prototype=new c,c.prototype=null}return a}},8612:(e,t,n)=>{"use strict";var r=n(7648);e.exports=Function.prototype.bind||r},5972:e=>{"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n((function(){}),"name");return!!e&&!!e.configurable};var r=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof r&&""!==function(){}.bind().name},e.exports=t},210:(e,t,n)=>{"use strict";var r,o=n(8892),a=n(1648),i=n(3981),s=n(4726),l=n(6712),u=n(3464),c=n(4453),d=n(3915),f=n(9738),p=n(6329),h=n(2264),m=n(5730),g=n(707),v=n(3862),y=n(9550),b=Function,w=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},E=n(7296),_=n(4429),S=function(){throw new c},D=E?function(){try{return S}catch(e){try{return E(arguments,"callee").get}catch(e){return S}}}():S,x=n(1405)(),P=n(1618),C=n(8899),k=n(443),O=n(1768),R=n(8928),T={},$="undefined"!=typeof Uint8Array&&P?P(Uint8Array):r,I={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":x&&P?P([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":T,"%AsyncGenerator%":T,"%AsyncGeneratorFunction%":T,"%AsyncIteratorPrototype%":T,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":T,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
8IteratorPrototype%":x&&P?P(P([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&x&&P?P((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&x&&P?P((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":x&&P?P(""[Symbol.iterator]()):r,"%Symbol%":x?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":D,"%TypedArray%":$,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":R,"%Function.prototype.apply%":O,"%Object.defineProperty%":_,"%Object.getPrototypeOf%":C,"%Math.abs%":f,"%Math.floor%":p,"%Math.max%":h,"%Math.min%":m,"%Math.pow%":g,"%Math.round%":v,"%Math.sign%":y,"%Reflect.getPrototypeOf%":k};if(P)try{null.error}catch(e){var M=P(P(e));I["%Error.prototype%"]=M}var A=function e(t){var n;if("%AsyncFunction%"===t)n=w("async function () {}");else if("%GeneratorFunction%"===t)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=w("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&P&&(n=P(o.prototype))}return I[t]=n,n},N={__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"]}
vendor: 4,938 bytes, line 8
8,j=n(8612),L=n(8824),F=j.call(R,Array.prototype.concat),V=j.call(O,Array.prototype.splice),U=j.call(R,String.prototype.replace),Z=j.call(R,String.prototype.slice),H=j.call(R,RegExp.prototype.exec),B=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,W=function(e,t){var n,r=e;if(L(N,r)&&(r="%"+(n=N[r])[0]+"%"),L(I,r)){var o=I[r];if(o===T&&(o=A(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=Z(e,0,1),n=Z(e,-1);if("%"===t&&"%"!==n)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var r=[];return U(e,B,(function(e,t,n,o){r[r.length]=n?U(o,z,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=W("%"+r+"%",t),a=o.name,i=o.value,s=!1,l=o.alias;l&&(r=l[0],V(n,F([0,1],l)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],h=Z(p,0,1),m=Z(p,-1);if(('"'===h||"'"===h||"`"===h||'"'===m||"'"===m||"`"===m)&&h!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==p&&f||(s=!0),L(I,a="%"+(r+="."+p)+"%"))i=I[a];else if(null!=i){if(!(p in i)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(E&&d+1>=n.length){var g=E(i,p);i=(f=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:i[p]}else f=L(i,p),i=i[p];f&&!s&&(I[a]=i)}}return i}},8899:(e,t,n)=>{"use strict";var r=n(8892);e.exports=r.getPrototypeOf||null},443:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},1618:(e,t,n)=>{"use strict";var r=n(443),o=n(8899),a=n(6504);e.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:a?function(e){return a(e)}:null},690:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},7296:(e,t,n)=>{"use strict";var r=n(690);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},3596:(e,t,n)=>{"use strict";var r=n(4429),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},1405:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(5419);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},5419: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"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},6410:(e,t,n)=>{"use strict";var r=n(5419);e.exports=function(){return r()&&!!Symbol.toStringTag}},8824:(e,t,n)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=n(8612);e.exports=a.call(r,o)},8679:(e,t,n)=>{"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<i.length;++g){var v=i[g];if(!(a[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=f(n,v);try{u(t,v,y)}catch(e){}}}}return t}},8880:(e,t)=>{"use strict";
8Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},8276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="html",r="head",o="body",a=/<([a-zA-Z]+[0-9]?)/,i=/<head[^]*>/i,s=/<body[^]*>/i,l=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var d=new c;l=u=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var f=document.implementation.createHTMLDocument();l=function(e,t){if(t){var n=f.documentElement.querySelector(t);return n&&(n.innerHTML=e),f}return f.documentElement.innerHTML=e,f}}var p,h="object"==typeof document&&document.createElement("template");h&&h.content&&(p=function(e){return h.innerHTML=e,h.content.childNodes}),t.default=function(e){var t,c,d=e.match(a),f=d&&d[1]?d[1].toLowerCase():"";switch(f){case n:var h=u(e);return i.test(e)||null===(t=null==(g=h.querySelector(r))?void 0:g.parentNode)||void 0===t||t.removeChild(g),s.test(e)||null===(c=null==(g=h.querySelector(o))?void 0:g.parentNode)||void 0===c||c.removeChild(g),h.querySelectorAll(n);case r:case o:var m=l(e).querySelectorAll(f);return s.test(e)&&i.test(e)?m[0].parentNode.childNodes:m;default:return p?p(e):(g=l(e,o).querySelector(o)).childNodes;var g}}},4152:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(8276)),a=n(1507),i=/<(![a-zA-Z\s]+)>/;t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(i),n=t?t[1]:void 0;return(0,a.formatDOM)((0,o.default)(e),null,n)}},1507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatDOM=t.formatAttributes=void 0;var r=n(4584),o=n(8880);function a(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function i(e){return function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}t.formatAttributes=a,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var s,l=[],u=0,c=t.length;u<c;u++){var d=t[u];switch(d.nodeType){case 1:var f=i(d.nodeName);(s=new r.Element(f,a(d.attributes))).children=e("template"===f?d.content.childNodes:d.childNodes,s);break;case 3:s=new r.Text(d.nodeValue);break;case 8:s=new r.Comment(d.nodeValue);break;default:continue}var p=l[u-1]||null;p&&(p.next=s),s.parent=n,s.prev=p,s.next=null,l.push(s)}return o&&((s=new r.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=l[0]||null,s.parent=n,l.unshift(s),l[1]&&(l[1].prev=l[0])),l}},4584:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=n(9960),i=n(1642);o(n(1642),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?a.ElementType.Tag:void 0,r=new i.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment)this.lastNode.data+=e;else{var t=new i.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(""),t=new i.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e}
vendor: 4,319 bytes, line 8
8,e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new i.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},1642:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(9960),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),_(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9}
8,enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function g(e){return(0,i.isTag)(e)}function v(e){return e.type===i.ElementType.CDATA}function y(e){return e.type===i.ElementType.Text}function b(e){return e.type===i.ElementType.Comment}function w(e){return e.type===i.ElementType.Directive}function E(e){return e.type===i.ElementType.Root}function _(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new u(e.data);else if(b(e))n=new c(e.data);else if(g(e)){var r=t?S(e.children):[],o=new m(e.name,a({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?S(e.children):[];var i=new p(r);r.forEach((function(e){return e.parent=i})),n=i}else if(E(e)){r=t?S(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return _(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=g,t.isCDATA=v,t.isText=y,t.isComment=b,t.isDirective=w,t.isDocument=E,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=_},484:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5726),o=n(4606),a=["checked","value"],i=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}t.default=function(e,t){void 0===e&&(e={});var n={},u=Boolean(e.type&&s[e.type]);for(var c in e){var d=e[c];if((0,r.isCustomAttribute)(c))n[c]=d;else{var f=c.toLowerCase(),p=l(f);if(p){var h=(0,r.getPropertyInfo)(p);switch(a.includes(p)&&i.includes(t)&&!u&&(p=l("default"+f)),n[p]=d,h&&h.type){case r.BOOLEAN:n[p]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[p]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[c]=d)}}return(0,o.setStyleProp)(e.style,n),n}},3670:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(9748),a=r(n(484)),i=n(4606),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,i.isCustomComponent)(e.name,e.attribs)}t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,u=n.transform||i.returnFirstArg,c=n.library||s,d=c.cloneElement,f=c.createElement,p=c.isValidElement,h=t.length,m=0;m<h;m++){var g=t[m];if(o){var v=n.replace(g,m);if(p(v)){h>1&&(v=d(v,{key:v.key||m})),r.push(u(v,g,m));continue}}if("text"!==g.type){var y=g,b={};l(y)?((0,i.setStyleProp)(y.attribs.style,y.attribs),b=y.attribs):y.attribs&&(b=(0,a.default)(y.attribs,y.name));var w=void 0;switch(g.type){case"script":case"style":g.children[0]&&(b.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?b.defaultValue=g.children[0].data:g.children&&g.children.length&&(w=e(g.children,n));break;default:continue}h>1&&(b.key=m),r.push(u(f(g.name,b,w),g,m))}else{var E=!g.data.trim().length;if(E&&g.parent&&!(0,i.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&E)continue;r.push(u(g.data,g,m))}}return 1===r.length?r[0]:r}},3426:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
8dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0;var o=r(n(4152));t.htmlToDOM=o.default;var a=r(n(484));t.attributesToProps=a.default;var i=r(n(3670));t.domToReact=i.default;var s=n(7384);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1};t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,i.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]}},4606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=t.setStyleProp=t.isCustomComponent=void 0;var o=n(9748),a=r(n(1476)),i=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]);t.isCustomComponent=function(e,t){return e.includes("-")?!i.has(e):Boolean(t&&"string"==typeof t.is)};var s={reactCompat:!0};t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,a.default)(e,s)}catch(e){t.style={}}else t.style={}},t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},7384:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var a=n(9960),i=n(5079);o(n(5079),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new i.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?a.ElementType.Tag:void 0,r=new i.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===a.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new i.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment)this.lastNode.data+=e;else{var t=new i.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new i.Text(""),t=new i.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e}
vendor: 4,319 bytes, line 8
8,e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new i.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},5079:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=this&&this.__assign||function(){return a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var i=n(9960),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),_(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=i.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=p;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=i.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9}
vendor: 4,442 bytes, line 8
8,enumerable:!1,configurable:!0}),t}(f);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?i.ElementType.Script:"style"===t?i.ElementType.Style:i.ElementType.Tag);var a=e.call(this,r)||this;return a.name=t,a.attribs=n,a.type=o,a}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function g(e){return(0,i.isTag)(e)}function v(e){return e.type===i.ElementType.CDATA}function y(e){return e.type===i.ElementType.Text}function b(e){return e.type===i.ElementType.Comment}function w(e){return e.type===i.ElementType.Directive}function E(e){return e.type===i.ElementType.Root}function _(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new u(e.data);else if(b(e))n=new c(e.data);else if(g(e)){var r=t?S(e.children):[],o=new m(e.name,a({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=a({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=a({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?S(e.children):[];var i=new p(r);r.forEach((function(e){return e.parent=i})),n=i}else if(E(e)){r=t?S(e.children):[];var s=new h(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return _(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=g,t.isCDATA=v,t.isText=y,t.isComment=b,t.isDirective=w,t.isDocument=E,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=_},8139:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,i=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,f=1;function p(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function h(){var e={line:d,column:f};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=f,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=E();)!1!==t&&e.push(t);return e}function E(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return f+=2,p(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function _(){var e=h(),n=y(o);if(n){if(E(),!y(a))return v("property missing ':'");var r=y(i),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(s),l}}return b(),function(){var e,t=[];for(w(t);e=_();)!1!==e&&(t.push(e),w(t));return t}()}},2584:(e,t,n)=>{"use strict";var r=n(6410)(),o=n(1924)("Object.prototype.toString"),a=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},i=function(e){return!!a(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 a(arguments)}();a.isLegacyArguments=i,e.exports=s?a:i}
8,8923:(e,t,n)=>{"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,a=n(6410)();e.exports=function(e){return"object"==typeof e&&null!==e&&(a?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},8420:(e,t,n)=>{"use strict";var r,o,a,i,s=n(1924),l=n(6410)();if(l){r=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),a={};var u=function(){throw a};i={toString:u,valueOf:u},"symbol"==typeof Symbol.toPrimitive&&(i[Symbol.toPrimitive]=u)}var c=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!=typeof e)return!1;var t=d(e,"lastIndex");if(!t||!r(t,"value"))return!1;try{o(e,i)}catch(e){return e===a}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===c(e)}},9461:e=>{"use strict";var t=e.exports=function(e,t,r){"function"==typeof t&&(r=t,t={}),n(t,"function"==typeof(r=t.cb||r)?r:r.pre||function(){},r.post||function(){},e,"",e)};function n(e,r,o,a,i,s,l,u,c,d){if(a&&"object"==typeof a&&!Array.isArray(a)){for(var f in r(a,i,s,l,u,c,d),a){var p=a[f];if(Array.isArray(p)){if(f in t.arrayKeywords)for(var h=0;h<p.length;h++)n(e,r,o,p[h],i+"/"+f+"/"+h,s,i,f,a,h)}else if(f in t.propsKeywords){if(p&&"object"==typeof p)for(var m in p)n(e,r,o,p[m],i+"/"+f+"/"+m.replace(/~/g,"~0").replace(/\//g,"~1"),s,i,f,a,m)}else(f in t.keywords||e.allKeys&&!(f in t.skipKeywords))&&n(e,r,o,p,i+"/"+f,s,i,f,a)}o(a,i,s,l,u,c,d)}}t.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},t.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},t.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},t.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0}},9738:e=>{"use strict";e.exports=Math.abs},6329:e=>{"use strict";e.exports=Math.floor},3678:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},2264:e=>{"use strict";e.exports=Math.max},5730:e=>{"use strict";e.exports=Math.min},707:e=>{"use strict";e.exports=Math.pow},3862:e=>{"use strict";e.exports=Math.round},9550:(e,t,n)=>{"use strict";var r=n(3678);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},631:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,u=s&&l&&"function"==typeof l.get?l.get:null,c=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,y=String.prototype.slice,b=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,_=RegExp.prototype.test,S=Array.prototype.concat,D=Array.prototype.join,x=Array.prototype.slice,P=Math.floor,C="function"==typeof BigInt?BigInt.prototype.valueOf:null,k=Object.getOwnPropertySymbols,O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,R="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,$=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||_.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-P(-e):P(e);if(r!==e){var o=String(r),a=y.call(t,o.length+1);return b.call(o,n,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var A=n(4654),N=A.custom,j=Z(N)?N:null;function L(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return b.call(String(e),/"/g,"&quot;")}function V(e){return!("[object Array]"!==z(e)||T&&"object"==typeof e&&T in e)}function U(e){return!("[object RegExp]"!==z(e)||T&&"object"==typeof e&&T in e)}function Z(e){if(R)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;
vendor: 5,266 bytes, line 8
8if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,s){var l=r||{};if(B(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(B(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!B(l,"customInspect")||l.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(B(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(B(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.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 K(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var _=String(t);return w?M(t,_):_}if("bigint"==typeof t){var P=String(t)+"n";return w?M(t,P):P}var k=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=k&&k>0&&"object"==typeof t)return V(t)?"[Array]":"[Object]";var N,H=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=D.call(Array(e.indent+1)," ")}return{base:n,prev:D.call(Array(t+1),n)}}(l,o);if(void 0===s)s=[];else if(W(s,t)>=0)return"[Circular]";function q(t,n,r){if(n&&(s=x.call(s)).push(n),r){var a={depth:l.depth};return B(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,o+1,s)}return e(t,l,o+1,s)}if("function"==typeof t&&!U(t)){var ee=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),te=X(t,q);return"[Function"+(ee?": "+ee:" (anonymous)")+"]"+(te.length>0?" { "+D.call(te,", ")+" }":"")}if(Z(t)){var ne=R?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!=typeof t||R?ne:Y(ne)}if((N=t)&&"object"==typeof N&&("undefined"!=typeof HTMLElement&&N instanceof HTMLElement||"string"==typeof N.nodeName&&"function"==typeof N.getAttribute)){for(var re="<"+E.call(String(t.nodeName)),oe=t.attributes||[],ae=0;ae<oe.length;ae++)re+=" "+oe[ae].name+"="+L(F(oe[ae].value),"double",l);return re+=">",t.childNodes&&t.childNodes.length&&(re+="..."),re+"</"+E.call(String(t.nodeName))+">"}if(V(t)){if(0===t.length)return"[]";var ie=X(t,q);return H&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(ie)?"["+Q(ie,H)+"]":"[ "+D.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==z(e)||T&&"object"==typeof e&&T in e)}(t)){var se=X(t,q);return"cause"in Error.prototype||!("cause"in t)||$.call(t,"cause")?0===se.length?"["+String(t)+"]":"{ ["+String(t)+"] "+D.call(se,", ")+" }":"{ ["+String(t)+"] "+D.call(S.call("[cause]: "+q(t.cause),se),", ")+" }"}if("object"==typeof t&&m){if(j&&"function"==typeof t[j]&&A)return A(t,{depth:k-o});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{u.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var le=[];return i&&i.call(t,(function(e,n){le.push(q(n,t,!0)+" => "+q(e,t))})),J("Map",a.call(t),le,H)}if(function(e){if(!u||!e||"object"!=typeof e)return!1;try{u.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return c&&c.call(t,(function(e){ue.push(q(e,t))})),J("Set",u.call(t),ue,H)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return G("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return G("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return G("WeakRef");if(function(e){return!("[object Number]"!==z(e)||T&&"object"==typeof e&&T in e)}(t))return Y(q(Number(t)));if(function(e){if(!e||"object"!=typeof e||!C)return!1;try{return C.call(e),!0}catch(e){}return!1}(t))return Y(q(C.call(t)));if(function(e){return!("[object Boolean]"!==z(e)||T&&"object"==typeof e&&T in e)}(t))return Y(h.call(t));if(function(e){return!("[object String]"!==z(e)||T&&"object"==typeof e&&T in e)}(t))return Y(q(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==z(e)||T&&"object"==typeof e&&T in e)}(t)&&!U(t)){var ce=X(t,q),de=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",pe=!de&&T&&Object(t)===t&&T in t?y.call(z(t),8,-1):fe?"Object":"",he=(de||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(pe||fe?"["+D.call(S.call([],pe||[],fe||[]),": ")+"] ":"");return 0===ce.length?he+"{}":H?he+"{"+Q(ce,H)+"}
8":he+"{ "+D.call(ce,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function B(e,t){return H.call(e,t)}function z(e){return m.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function K(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return K(y.call(e,0,t.maxStringLength),t)+r}return L(b.call(b.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,q),"single",t)}function q(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Y(e){return"Object("+e+")"}function G(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):D.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+D.call(e,","+n)+"\n"+t.prev}function X(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=B(e,o)?t(e[o],e):""}var a,i="function"==typeof k?k(e):[];if(R){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)B(e,l)&&(n&&String(Number(l))===l&&l<e.length||R&&a["$"+l]instanceof Symbol||(_.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof k)for(var u=0;u<i.length;u++)$.call(e,i[u])&&r.push("["+t(i[u])+"]: "+t(e[i[u]],e));return r}},4244:e=>{"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},609:(e,t,n)=>{"use strict";var r=n(4289),o=n(5559),a=n(4244),i=n(5624),s=n(2281),l=o(i(),Object);r(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},5624:(e,t,n)=>{"use strict";var r=n(4244);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},2281:(e,t,n)=>{"use strict";var r=n(5624),o=n(4289);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},8987:(e,t,n)=>{"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,a=Object.prototype.toString,i=n(1414),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),u=s.call((function(){}),"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=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},p=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{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===a.call(e),r=i(e),s=t&&"[object String]"===a.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=u&&n;if(s&&e.length>0&&!o.call(e,0))for(var m=0;m<e.length;++m)f.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)f.push(String(g));else for(var v in e)h&&"prototype"===v||!o.call(e,v)||f.push(String(v));if(l)for(var y=function(e){if("undefined"==typeof window||!p)return d(e);try{return d(e)}catch(e){return!1}}(e),b=0;b<c.length;++b)y&&"constructor"===c[b]||!o.call(e,c[b])||f.push(c[b]);return f}}e.exports=r},2215:(e,t,n)=>{"use strict";var r=Array.prototype.slice,o=n(1414),a=Object.keys,i=a?function(e){return a(e)}:n(8987),s=Object.keys;i.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=i;return Object.keys||i},e.exports=i},1414:e=>{"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}}
vendor: 5,635 bytes, line 8
8,9748:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Children:()=>z,Component:()=>s.wA,Fragment:()=>s.HY,PureComponent:()=>F,StrictMode:()=>Te,Suspense:()=>G,SuspenseList:()=>X,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>Ee,cloneElement:()=>Pe,createContext:()=>s.kr,createElement:()=>s.az,createFactory:()=>Se,createPortal:()=>re,createRef:()=>s.Vf,default:()=>Le,findDOMNode:()=>ke,flushSync:()=>Re,forwardRef:()=>H,hydrate:()=>de,isElement:()=>Ne,isFragment:()=>xe,isValidElement:()=>De,lazy:()=>Q,memo:()=>V,render:()=>ce,startTransition:()=>$e,unmountComponentAtNode:()=>Ce,unstable_batchedUpdates:()=>Oe,useCallback:()=>D,useContext:()=>x,useDebugValue:()=>P,useDeferredValue:()=>Ie,useEffect:()=>b,useErrorBoundary:()=>C,useId:()=>k,useImperativeHandle:()=>_,useInsertionEffect:()=>Ae,useLayoutEffect:()=>w,useMemo:()=>S,useReducer:()=>y,useRef:()=>E,useState:()=>v,useSyncExternalStore:()=>je,useTransition:()=>Me,version:()=>_e});var r,o,a,i,s=n(6400),l=0,u=[],c=[],d=s.YM.__b,f=s.YM.__r,p=s.YM.diffed,h=s.YM.__c,m=s.YM.unmount;function g(e,t){s.YM.__h&&s.YM.__h(o,e,l||t),l=0;var n=o.__H||(o.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:c}),n.__[e]}function v(e){return l=1,y(A,e)}function y(e,t,n){var a=g(r++,2);if(a.t=e,!a.__c&&(a.__=[n?n(t):A(void 0,t),function(e){var t=a.__N?a.__N[0]:a.__[0],n=a.t(t,e);t!==n&&(a.__N=[n,a.__[1]],a.__c.setState({}))}],a.__c=o,!o.u)){var i=function(e,t,n){if(!a.__c.__H)return!0;var r=a.__c.__H.__.filter((function(e){return e.__c}));if(r.every((function(e){return!e.__N})))return!s||s.call(this,e,t,n);var o=!1;return r.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(o=!0)}})),!(!o&&a.__c.props===e)&&(!s||s.call(this,e,t,n))};o.u=!0;var s=o.shouldComponentUpdate,l=o.componentWillUpdate;o.componentWillUpdate=function(e,t,n){if(this.__e){var r=s;s=void 0,i(e,t,n),s=r}l&&l.call(this,e,t,n)},o.shouldComponentUpdate=i}return a.__N||a.__}function b(e,t){var n=g(r++,3);!s.YM.__s&&M(n.__H,t)&&(n.__=e,n.i=t,o.__H.__h.push(n))}function w(e,t){var n=g(r++,4);!s.YM.__s&&M(n.__H,t)&&(n.__=e,n.i=t,o.__h.push(n))}function E(e){return l=5,S((function(){return{current:e}}),[])}function _(e,t,n){l=6,w((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function S(e,t){var n=g(r++,7);return M(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function D(e,t){return l=8,S((function(){return e}),t)}function x(e){var t=o.context[e.__c],n=g(r++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(o)),t.props.value):e.__}function P(e,t){s.YM.useDebugValue&&s.YM.useDebugValue(t?t(e):e)}function C(e){var t=g(r++,10),n=v();return t.__=e,o.componentDidCatch||(o.componentDidCatch=function(e,r){t.__&&t.__(e,r),n[1](e)}),[n[0],function(){n[1](void 0)}]}function k(){var e=g(r++,11);if(!e.__){for(var t=o.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function O(){for(var e;e=u.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach($),e.__H.__h.forEach(I),e.__H.__h=[]}catch(t){e.__H.__h=[],s.YM.__e(t,e.__v)}}s.YM.__b=function(e){o=null,d&&d(e)},s.YM.__r=function(e){f&&f(e),r=0;var t=(o=e.__c).__H;t&&(a===o?(t.__h=[],o.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=c,e.__N=e.i=void 0}))):(t.__h.forEach($),t.__h.forEach(I),t.__h=[],r=0)),a=o},s.YM.diffed=function(e){p&&p(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==u.push(t)&&i===s.YM.requestAnimationFrame||((i=s.YM.requestAnimationFrame)||T)(O)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==c&&(e.__=e.__V),e.i=void 0,e.__V=c}))),a=o=null},s.YM.__c=function(e,t){t.some((function(e){try{e.__h.forEach($),e.__h=e.__h.filter((function(e){return!e.__||I(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],s.YM.__e(n,e.__v)}})),h&&h(e,t)},s.YM.unmount=function(e){m&&m(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{$(e)}catch(e){t=e}})),n.__H=void 0,t&&s.YM.__e(t,n.__v))};var R="function"==typeof requestAnimationFrame;function T(e){var t,n=function(){clearTimeout(r),R&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);R&&(t=requestAnimationFrame(n))}function $(e){var t=o,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),o=t}function I(e){var t=o;e.__c=e.__(),o=t}function M(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function A(e,t){return"function"==typeof t?t(e):t}function N(e,t){for(var n in t)e[n]=t[n];return e}function j(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function L(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}function F(e){this.props=e}function V(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:j(this.props,e)}function r(t){return this.shouldComponentUpdate=n,(0,s.az)(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(F.prototype=new s.wA).isPureReactComponent=!0,F.prototype.shouldComponentUpdate=function(e,t){return j(this.props,e)||j(this.state,t)};var U=s.YM.__b;s.YM.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),U&&U(e)};var Z="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function H(e){function t(t){var n=N({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Z,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var B=function(e,t){return null==e?null:(0,s.bR)((0,s.bR)(e).map(t))}
8,z={map:B,forEach:B,count:function(e){return e?(0,s.bR)(e).length:0},only:function(e){var t=(0,s.bR)(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:s.bR},W=s.YM.__e;s.YM.__e=function(e,t,n,r){if(e.then)for(var o,a=t;a=a.__;)if((o=a.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);W(e,t,n,r)};var K=s.YM.unmount;function q(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=N({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return q(e,t,n)}))),e}function Y(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Y(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function G(){this.__u=0,this.t=null,this.__b=null}function J(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Q(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return(0,s.az)(n,o)}return o.displayName="Lazy",o.__f=!0,o}function X(){this.u=null,this.o=null}s.YM.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),K&&K(e)},(G.prototype=new s.wA).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=J(r.__v),a=!1,i=function(){a||(a=!0,n.__R=null,o?o(s):s())};n.__R=i;var s=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Y(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}},l=!0===t.__h;r.__u++||l||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(i,i)},G.prototype.componentWillUnmount=function(){this.t=[]},G.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=q(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&(0,s.az)(s.HY,null,e.fallback);return o&&(o.__h=null),[(0,s.az)(s.HY,null,t.__a?null:e.children),o]};var ee=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function te(e){return this.getChildContext=function(){return e.context},e.children}function ne(e){var t=this,n=e.i;t.componentWillUnmount=function(){(0,s.sY)(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),(0,s.sY)((0,s.az)(te,{context:t.context},e.__v),t.l)}function re(e,t){var n=(0,s.az)(ne,{__v:e,i:t});return n.containerInfo=t,n}(X.prototype=new s.wA).__a=function(e){var t=this,n=J(t.__v),r=t.o.get(e);return r[0]++,function(o){var a=function(){t.props.revealOrder?(r.push(o),ee(t,e,r)):o()};n?n(a):a()}},X.prototype.render=function(e){this.u=null,this.o=new Map;var t=(0,s.bR)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},X.prototype.componentDidUpdate=X.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ee(e,n,t)}))};var oe="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,ae=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ie=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,se=/[A-Z0-9]/g,le="undefined"!=typeof document,ue=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function ce(e,t,n){return null==t.__k&&(t.textContent=""),(0,s.sY)(e,t),"function"==typeof n&&n(),e?e.__c:null}function de(e,t,n){return(0,s.ZB)(e,t),"function"==typeof n&&n(),e?e.__c:null}s.wA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(s.wA.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var fe=s.YM.event;function pe(){}function he(){return this.cancelBubble}function me(){return this.defaultPrevented}s.YM.event=function(e){return fe&&(e=fe(e)),e.persist=pe,e.isPropagationStopped=he,e.isDefaultPrevented=me,e.nativeEvent=e};
8var ge,ve={enumerable:!1,configurable:!0,get:function(){return this.class}},ye=s.YM.vnode;s.YM.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var a=t[o];if(!("value"===o&&"defaultValue"in t&&null==a||le&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var i=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===a?a="":"ondoubleclick"===i?o="ondblclick":"onchange"!==i||"input"!==n&&"textarea"!==n||ue(t.type)?"onfocus"===i?o="onfocusin":"onblur"===i?o="onfocusout":ie.test(o)?o=i:-1===n.indexOf("-")&&ae.test(o)?o=o.replace(se,"-$&").toLowerCase():null===a&&(a=void 0):i=o="oninput","oninput"===i&&r[o=i]&&(o="oninputCapture"),r[o]=a}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,s.bR)(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=(0,s.bR)(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",ve)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=oe,ye&&ye(e)};var be=s.YM.__r;s.YM.__r=function(e){be&&be(e),ge=e.__c};var we=s.YM.diffed;s.YM.diffed=function(e){we&&we(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),ge=null};var Ee={ReactCurrentDispatcher:{current:{readContext:function(e){return ge.__n[e.__c].props.value}}}},_e="17.0.2";function Se(e){return s.az.bind(null,e)}function De(e){return!!e&&e.$$typeof===oe}function xe(e){return De(e)&&e.type===s.HY}function Pe(e){return De(e)?s.Tm.apply(null,arguments):e}function Ce(e){return!!e.__k&&((0,s.sY)(null,e),!0)}function ke(e){return e&&(e.base||1===e.nodeType&&e)||null}var Oe=function(e,t){return e(t)},Re=function(e,t){return e(t)},Te=s.HY;function $e(e){e()}function Ie(e){return e}function Me(){return[!1,$e]}var Ae=w,Ne=De;function je(e,t){var n=t(),r=v({h:{__:n,v:t}}),o=r[0].h,a=r[1];return w((function(){o.__=n,o.v=t,L(o.__,t())||a({h:o})}),[e,n,t]),b((function(){return L(o.__,o.v())||a({h:o}),e((function(){L(o.__,o.v())||a({h:o})}))}),[e]),n}var Le={useState:v,useId:k,useReducer:y,useEffect:b,useLayoutEffect:w,useInsertionEffect:Ae,useTransition:Me,useDeferredValue:Ie,useSyncExternalStore:je,startTransition:$e,useRef:E,useImperativeHandle:_,useMemo:S,useCallback:D,useContext:x,useDebugValue:P,version:"17.0.2",Children:z,render:ce,hydrate:de,unmountComponentAtNode:Ce,createPortal:re,createElement:s.az,createContext:s.kr,createFactory:Se,cloneElement:Pe,createRef:s.Vf,Fragment:s.HY,isValidElement:De,isElement:Ne,isFragment:xe,findDOMNode:ke,Component:s.wA,PureComponent:F,memo:V,forwardRef:H,flushSync:Re,unstable_batchedUpdates:Oe,StrictMode:Te,Suspense:G,SuspenseList:X,lazy:Q,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:Ee}},2375:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>C});var r=n(6400),o=/[\s\n\\/='"\0<>]/,a=/^(xlink|xmlns|xml)(:|[A-Z])/,i=/^accessK|^auto[A-Z]|^ch|^col|cont|cross|dateT|encT|form[A-Z]|frame|hrefL|inputM|maxL|minL|noV|playsI|readO|rowS|spellC|src[A-Z]|tabI|item[A-Z]/,s=/^ac|^ali|arabic|basel|cap|clipPath$|clipRule$|color|dominant|enable|fill|flood|font|glyph[^R]|horiz|image|letter|lighting|marker[^WUH]|overline|panose|pointe|paint|rendering|shape|stop|strikethrough|stroke|text[^L]|transform|underline|unicode|units|^v[^i]|^w|^xH/,l=/["&<]/;function u(e){if(0===e.length||!1===l.test(e))return e;for(var t=0,n=0,r="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 60:o="&lt;";break;default:continue}n!==t&&(r+=e.slice(t,n)),r+=o,t=n+1}return n!==t&&(r+=e.slice(t,n)),r}var c={},d=new Set(["animation-iteration-count","border-image-outset","border-image-slice","border-image-width","box-flex","box-flex-group","box-ordinal-group","column-count","fill-opacity","flex","flex-grow","flex-negative","flex-order","flex-positive","flex-shrink","flood-opacity","font-weight","grid-column","grid-row","line-clamp","line-height","o
8pacity","order","orphans","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-miterlimit","stroke-opacity","stroke-width","tab-size","widows","z-index","zoom"]),f=/[A-Z]/g;function p(e){var t="";for(var n in e){var r=e[n];if(null!=r&&""!==r){var o="-"==n[0]?n:c[n]||(c[n]=n.replace(f,"-$&").toLowerCase()),a=";";"number"!=typeof r||o.startsWith("--")||d.has(o)||(a="px;"),t=t+o+":"+r+a}}return t||void 0}var h,m,g,v,y=[],b=Array.isArray,w=Object.assign;function E(e,t){var n=r.YM.__s;r.YM.__s=!0,h=r.YM.__b,m=r.YM.diffed,g=r.YM.__r,v=r.YM.unmount;var o=(0,r.h)(r.HY,null);o.__k=[e];try{return x(e,t||S,!1,void 0,o)}finally{r.YM.__c&&r.YM.__c(e,y),r.YM.__s=n,y.length=0}}function _(){this.__d=!0}var S={};function D(e,t){var n,r=e.type,o=!0;return e.__c?(o=!1,(n=e.__c).state=n.__s):n=new r(e.props,t),e.__c=n,n.__v=e,n.props=e.props,n.context=t,n.__d=!0,null==n.state&&(n.state=S),null==n.__s&&(n.__s=n.state),r.getDerivedStateFromProps?n.state=w({},n.state,r.getDerivedStateFromProps(n.props,n.state)):o&&n.componentWillMount?(n.componentWillMount(),n.state=n.__s!==n.state?n.__s:n.state):!o&&n.componentWillUpdate&&n.componentWillUpdate(),g&&g(e),n.render(n.props,n.state,t)}function x(e,t,n,l,c){if(null==e||!0===e||!1===e||""===e)return"";if("object"!=typeof e)return"function"==typeof e?"":u(e+"");if(b(e)){var d="";c.__k=e;for(var f=0;f<e.length;f++){var y=e[f];null!=y&&"boolean"!=typeof y&&(d+=x(y,t,n,l,c))}return d}if(void 0!==e.constructor)return"";e.__=c,h&&h(e);var E,S,C,k=e.type,O=e.props,R=t;if("function"==typeof k){if(k===r.HY){if(O.UNSTABLE_comment)return"\x3c!--"+u(O.UNSTABLE_comment||"")+"--\x3e";S=O.children}else{if(null!=(E=k.contextType)){var T=t[E.__c];R=T?T.props.value:E.__}if(k.prototype&&"function"==typeof k.prototype.render)S=D(e,R),C=e.__c;else{e.__c=C={__v:e,props:O,context:R,setState:_,forceUpdate:_,__d:!0,__h:[]};for(var $=0;C.__d&&$++<25;)C.__d=!1,g&&g(e),S=k.call(C,O,R);C.__d=!0}if(null!=C.getChildContext&&(t=w({},t,C.getChildContext())),(k.getDerivedStateFromError||C.componentDidCatch)&&r.YM.errorBoundaries){var I="";S=null!=S&&S.type===r.HY&&null==S.key?S.props.children:S;try{return I=x(S,t,n,l,e)}catch(o){return k.getDerivedStateFromError&&(C.__s=k.getDerivedStateFromError(o)),C.componentDidCatch&&C.componentDidCatch(o,{}),C.__d&&(S=D(e,t),null!=(C=e.__c).getChildContext&&(t=w({},t,C.getChildContext())),I=x(S=null!=S&&S.type===r.HY&&null==S.key?S.props.children:S,t,n,l,e)),I}finally{m&&m(e),e.__=void 0,v&&v(e)}}}var M=x(S=null!=S&&S.type===r.HY&&null==S.key?S.props.children:S,t,n,l,e);return m&&m(e),e.__=void 0,v&&v(e),M}var A,N="<"+k,j="";for(var L in O){var F=O[L];switch(L){case"children":A=F;continue;case"key":case"ref":case"__self":case"__source":continue;case"htmlFor":if("for"in O)continue;L="for";break;case"className":if("class"in O)continue;L="class";break;case"defaultChecked":L="checked";break;case"defaultSelected":L="selected";break;case"defaultValue":case"value":switch(L="value",k){case"textarea":A=F;continue;case"select":l=F;continue;case"option":l!=F||"selected"in O||(N+=" selected")}break;case"dangerouslySetInnerHTML":j=F&&F.__html;continue;case"style":"object"==typeof F&&(F=p(F));break;case"acceptCharset":L="accept-charset";break;case"httpEquiv":L="http-equiv";break;default:if(a.test(L))L=L.replace(a,"$1:$2").toLowerCase();else{if(o.test(L))continue;"-"!==L[4]&&"draggable"!==L||null==F?n?s.test(L)&&(L="panose1"===L?"panose-1":L.replace(/([A-Z])/g,"-$1").toLowerCase()):i.test(L)&&(L=L.toLowerCase()):F+=""}}null!=F&&!1!==F&&"function"!=typeof F&&(N=!0===F||""===F?N+" "+L:N+" "+L+'="'+u(F+"")+'"')}if(o.test(k))throw new Error(k+" is not a valid HTML tag name in "+N+">");return j||("string"==typeof A?j=u(A):null!=A&&!1!==A&&!0!==A&&(j=x(A,t,"svg"===k||"foreignObject"!==k&&n,l,e))),m&&m(e),e.__=void 0,v&&v(e),!j&&P.has(k)?N+"/>":N+">"+j+"</"+k+">"}var P=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]);const C={renderToString:E,renderToStaticMarkup:E}},6400:(e,t,n)=>{"use strict";n.d(t,{HY:()=>w,Tm:()=>H,Vf:()=>b,YM:()=>o,ZB:()=>Z,az:()=>v,bR:()=>k,h:()=>v,kr:()=>B,sY:()=>U,wA:()=>E});var r,o,a,i,s,l,u,c,d={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function v(e,t,n){var o,a,i,s={};for(i in t)"key"==i?o=t[i]:"ref"==i?a=t[i]:s[i]=t[i];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(i in e.defaultProps)void 0===s[i]&&(s[i]=e.defaultProps[i]);return y(e,s,o,a,null)}function y(e,t,n,r,i){var s={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==i?++a:i};return null==i&&null!=o.vnode&&o.vnode(s),s}function b(){return{current:null}}function w(e){return e.children}function E(e,t){this.props=e,this.context=t}function _(e,t){if(null==t)return e.__?_(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?_(e):null}function S(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return S(e)}}function D(e){(!e.__d&&(e.__d=!0)&&i.push(e)&&!x.__r++||s!==o.debounceRendering)&&((s=o.debounceRendering)||l)(x)}function x(){var e,t,n,r,o,a,s,l,c;for(i.sort(u);e=i.shift();)e.__d&&(t=i.length,r=void 0,o=void 0,a=void 0,l=(s=(n=e).__v).__e,(c=n.__P)&&(r=[],o=[],(a=m({},s)).__v=s.__v+1,A(c,s,a,n.__n,void 0!==c.ownerSVGElement,null!=s.__h?[l]:null,r,null==l?_(s):l,s.__h,o),N(r,s,o),s.__e!=l&&S(s)),i.length>t&&i.sort(u));x.__r=0}function P(e,t,n,r,o,a,i,s,l,u,c){var p,m,g,v,b,E,S,D,x,P=0,k=r&&r.__k||f,T=k.length,$=T,I=t.length;
vendor: 4,671 bytes, line 8
8for(n.__k=[],p=0;p<I;p++)null!=(v=n.__k[p]=null==(v=t[p])||"boolean"==typeof v||"function"==typeof v?null:"string"==typeof v||"number"==typeof v||"bigint"==typeof v?y(null,v,null,null,v):h(v)?y(w,{children:v},null,null,null):v.__b>0?y(v.type,v.props,v.key,v.ref?v.ref:null,v.__v):v)?(v.__=n,v.__b=n.__b+1,-1===(D=R(v,k,S=p+P,$))?g=d:(g=k[D]||d,k[D]=void 0,$--),A(e,v,g,o,a,i,s,l,u,c),b=v.__e,(m=v.ref)&&g.ref!=m&&(g.ref&&L(g.ref,null,v),c.push(m,v.__c||b,v)),null!=b&&(null==E&&(E=b),(x=g===d||null===g.__v)?-1==D&&P--:D!==S&&(D===S+1?P++:D>S?$>I-S?P+=D-S:P--:P=D<S&&D==S-1?D-S:0),S=p+P,"function"!=typeof v.type||D===S&&g.__k!==v.__k?"function"==typeof v.type||D===S&&!x?void 0!==v.__d?(l=v.__d,v.__d=void 0):l=b.nextSibling:l=O(e,b,l):l=C(v,l,e),"function"==typeof n.type&&(n.__d=l))):(g=k[p])&&null==g.key&&g.__e&&(g.__e==l&&(l=_(g)),F(g,g,!1),k[p]=null);for(n.__e=E,p=T;p--;)null!=k[p]&&("function"==typeof n.type&&null!=k[p].__e&&k[p].__e==n.__d&&(n.__d=k[p].__e.nextSibling),F(k[p],k[p]))}function C(e,t,n){for(var r,o=e.__k,a=0;o&&a<o.length;a++)(r=o[a])&&(r.__=e,t="function"==typeof r.type?C(r,t,n):O(n,r.__e,t));return t}function k(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){k(e,t)})):t.push(e)),t}function O(e,t,n){return null==n||n.parentNode!==e?e.insertBefore(t,null):t==n&&null!=t.parentNode||e.insertBefore(t,n),t.nextSibling}function R(e,t,n,r){var o=e.key,a=e.type,i=n-1,s=n+1,l=t[n];if(null===l||l&&o==l.key&&a===l.type)return n;if(r>(null!=l?1:0))for(;i>=0||s<t.length;){if(i>=0){if((l=t[i])&&o==l.key&&a===l.type)return i;i--}if(s<t.length){if((l=t[s])&&o==l.key&&a===l.type)return s;s++}}return-1}function T(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||p.test(t)?n:n+"px"}function $(e,t,n,r,o){var a;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||T(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||T(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/(PointerCapture)$|Capture$/,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?r||e.addEventListener(t,a?M:I,a):e.removeEventListener(t,a?M:I,a);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function I(e){return this.l[e.type+!1](o.event?o.event(e):e)}function M(e){return this.l[e.type+!0](o.event?o.event(e):e)}function A(e,t,n,r,a,i,s,l,u,c){var d,f,p,g,v,y,b,_,S,D,x,C,k,O,R,T=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(u=n.__h,l=t.__e=n.__e,t.__h=null,i=[l]),(d=o.__b)&&d(t);e:if("function"==typeof T)try{if(_=t.props,S=(d=T.contextType)&&r[d.__c],D=d?S?S.props.value:d.__:r,n.__c?b=(f=t.__c=n.__c).__=f.__E:("prototype"in T&&T.prototype.render?t.__c=f=new T(_,D):(t.__c=f=new E(_,D),f.constructor=T,f.render=V),S&&S.sub(f),f.props=_,f.state||(f.state={}),f.context=D,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=T.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=m({},f.__s)),m(f.__s,T.getDerivedStateFromProps(_,f.__s))),g=f.props,v=f.state,f.__v=t,p)null==T.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==T.getDerivedStateFromProps&&_!==g&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(_,D),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(_,f.__s,D)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=_,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),x=0;x<f._sb.length;x++)f.__h.push(f._sb[x]);f._sb=[],f.__h.length&&s.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(_,f.__s,D),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(g,v,y)}))}if(f.context=D,f.props=_,f.__P=e,f.__e=!1,C=o.__r,k=0,"prototype"in T&&T.prototype.render){for(f.state=f.__s,f.__d=!1,C&&C(t),d=f.render(f.props,f.state,f.context),O=0;O<f._sb.length;O++)f.__h.push(f._sb[O]);f._sb=[]}else do{f.__d=!1,C&&C(t),d=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++k<25);f.state=f.__s,null!=f.getChildContext&&(r=m(m({},r),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(g,v)),P(e,h(R=null!=d&&d.type===w&&null==d.key?d.props.children:d)?R:[R],t,n,r,a,i,s,l,u,c),f.base
vendor: 1,361 bytes, line 8
8=t.__e,t.__h=null,f.__h.length&&s.push(f),b&&(f.__E=f.__=null)}catch(e){t.__v=null,(u||null!=i)&&(t.__e=l,t.__h=!!u,i[i.indexOf(l)]=null),o.__e(e,t,n)}else null==i&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=j(n.__e,t,n,r,a,i,s,u,c);(d=o.diffed)&&d(t)}function N(e,t,n){for(var r=0;r<n.length;r++)L(n[r],n[++r],n[++r]);o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function j(e,t,n,o,a,i,s,l,u){var c,f,p,m=n.props,v=t.props,y=t.type,b=0;if("svg"===y&&(a=!0),null!=i)for(;b<i.length;b++)if((c=i[b])&&"setAttribute"in c==!!y&&(y?c.localName===y:3===c.nodeType)){e=c,i[b]=null;break}if(null==e){if(null===y)return document.createTextNode(v);e=a?document.createElementNS("http://www.w3.org/2000/svg",y):document.createElement(y,v.is&&v),i=null,l=!1}if(null===y)m===v||l&&e.data===v||(e.data=v);else{if(i=i&&r.call(e.childNodes),f=(m=n.props||d).dangerouslySetInnerHTML,p=v.dangerouslySetInnerHTML,!l){if(null!=i)for(m={},b=0;b<e.attributes.length;b++)m[e.attributes[b].name]=e.attributes[b].value;(p||f)&&(p&&(f&&p.__html==f.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,t,n,r,o){var a;for(a in n)"children"===a||"key"===a||a in t||$(e,a,null,n[a],r);for(a in t)o&&"function"!=typeof t[a]||"children"===a||"key"===a||"value"===a||"checked"===a||n[a]===t[a
vendor: 2,707 bytes, line 8
8]||$(e,a,t[a],n[a],r)}(e,v,m,a,l),p)t.__k=[];else if(P(e,h(b=t.props.children)?b:[b],t,n,o,a&&"foreignObject"!==y,i,s,i?i[0]:n.__k&&_(n,0),l,u),null!=i)for(b=i.length;b--;)null!=i[b]&&g(i[b]);l||("value"in v&&void 0!==(b=v.value)&&(b!==e.value||"progress"===y&&!b||"option"===y&&b!==m.value)&&$(e,"value",b,m.value,!1),"checked"in v&&void 0!==(b=v.checked)&&b!==e.checked&&$(e,"checked",b,m.checked,!1))}return e}function L(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function F(e,t,n){var r,a;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||L(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null,e.__c=void 0}if(r=e.__k)for(a=0;a<r.length;a++)r[a]&&F(r[a],t,n||"function"!=typeof e.type);n||null==e.__e||g(e.__e),e.__=e.__e=e.__d=void 0}function V(e,t,n){return this.constructor(e,n)}function U(e,t,n){var a,i,s,l;o.__&&o.__(e,t),i=(a="function"==typeof n)?null:n&&n.__k||t.__k,s=[],l=[],A(t,e=(!a&&n||t).__k=v(w,null,[e]),i||d,d,void 0!==t.ownerSVGElement,!a&&n?[n]:i?null:t.firstChild?r.call(t.childNodes):null,s,!a&&n?n:i?i.__e:t.firstChild,a,l),N(s,e,l)}function Z(e,t){U(e,t,Z)}function H(e,t,n){var o,a,i,s,l=m({},e.props);for(i in e.type&&e.type.defaultProps&&(s=e.type.defaultProps),t)"key"==i?o=t[i]:"ref"==i?a=t[i]:l[i]=void 0===t[i]&&void 0!==s?s[i]:t[i];return arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),y(e.type,l,o||e.key,a||e.ref,null)}function B(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,D(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}r=f.slice,o={__e:function(e,t,n,r){for(var o,a,i;t=t.__;)if((o=t.__c)&&!o.__)try{if((a=o.constructor)&&null!=a.getDerivedStateFromError&&(o.setState(a.getDerivedStateFromError(e)),i=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),i=o.__d),i)return o.__E=o}catch(t){e=t}throw e}},a=0,E.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),D(this))},E.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),D(this))},E.prototype.render=w,i=[],l="function"==typeof Promise?Promise.prototype.then.bind(Prom
vendor: 20,127 bytes, line 8
8ise.resolve()):setTimeout,u=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,c=0},2703:(e,t,n)=>{"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},9579:(e,t,n)=>{e.exports=n(2703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6192:(e,t)=>{var n,r,o=function(){var e=function(e,t){var n=e,r=i[t],o=null,a=0,l=null,g=[],v={},b=function(e,t){o=function(e){for(var t=new Array(e),n=0;n<e;n+=1){t[n]=new Array(e);for(var r=0;r<e;r+=1)t[n][r]=null}return t}(a=4*n+17),w(0,0),w(a-7,0),w(0,a-7),_(),E(),D(e,t),n>=7&&S(e),null==l&&(l=P(n,r,g)),x(l,t)},w=function(e,t){for(var n=-1;n<=7;n+=1)if(!(e+n<=-1||a<=e+n))for(var r=-1;r<=7;r+=1)t+r<=-1||a<=t+r||(o[e+n][t+r]=0<=n&&n<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==n||6==n)||2<=n&&n<=4&&2<=r&&r<=4)},E=function(){for(var e=8;e<a-8;e+=1)null==o[e][6]&&(o[e][6]=e%2==0);for(var t=8;t<a-8;t+=1)null==o[6][t]&&(o[6][t]=t%2==0)},_=function(){for(var e=s.getPatternPosition(n),t=0;t<e.length;t+=1)for(var r=0;r<e.length;r+=1){var a=e[t],i=e[r];if(null==o[a][i])for(var l=-2;l<=2;l+=1)for(var u=-2;u<=2;u+=1)o[a+l][i+u]=-2==l||2==l||-2==u||2==u||0==l&&0==u}},S=function(e){for(var t=s.getBCHTypeNumber(n),r=0;r<18;r+=1){var i=!e&&1==(t>>r&1);o[Math.floor(r/3)][r%3+a-8-3]=i}for(r=0;r<18;r+=1)i=!e&&1==(t>>r&1),o[r%3+a-8-3][Math.floor(r/3)]=i},D=function(e,t){for(var n=r<<3|t,i=s.getBCHTypeInfo(n),l=0;l<15;l+=1){var u=!e&&1==(i>>l&1);l<6?o[l][8]=u:l<8?o[l+1][8]=u:o[a-15+l][8]=u}for(l=0;l<15;l+=1)u=!e&&1==(i>>l&1),l<8?o[8][a-l-1]=u:l<9?o[8][15-l-1+1]=u:o[8][15-l-1]=u;o[a-8][8]=!e},x=function(e,t){for(var n=-1,r=a-1,i=7,l=0,u=s.getMaskFunction(t),c=a-1;c>0;c-=2)for(6==c&&(c-=1);;){for(var d=0;d<2;d+=1)if(null==o[r][c-d]){var f=!1;l<e.length&&(f=1==(e[l]>>>i&1)),u(r,c-d)&&(f=!f),o[r][c-d]=f,-1==(i-=1)&&(l+=1,i=7)}if((r+=n)<0||a<=r){r-=n,n=-n;break}}},P=function(e,t,n){for(var r=c.getRSBlocks(e,t),o=d(),a=0;a<n.length;a+=1){var i=n[a];o.put(i.getMode(),4),o.put(i.getLength(),s.getLengthInBits(i.getMode(),e)),i.write(o)}var l=0;for(a=0;a<r.length;a+=1)l+=r[a].dataCount;if(o.getLengthInBits()>8*l)throw"code length overflow. ("+o.getLengthInBits()+">"+8*l+")";for(o.getLengthInBits()+4<=8*l&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*l||(o.put(236,8),o.getLengthInBits()>=8*l));)o.put(17,8);return function(e,t){for(var n=0,r=0,o=0,a=new Array(t.length),i=new Array(t.length),l=0;l<t.length;l+=1){var c=t[l].dataCount,d=t[l].totalCount-c;r=Math.max(r,c),o=Math.max(o,d),a[l]=new Array(c);for(var f=0;f<a[l].length;f+=1)a[l][f]=255&e.getBuffer()[f+n];n+=c;var p=s.getErrorCorrectPolynomial(d),h=u(a[l],p.getLength()-1).mod(p);for(i[l]=new Array(p.getLength()-1),f=0;f<i[l].length;f+=1){var m=f+h.getLength()-i[l].length;i[l][f]=m>=0?h.getAt(m):0}}var g=0;for(f=0;f<t.length;f+=1)g+=t[f].totalCount;var v=new Array(g),y=0;for(f=0;f<r;f+=1)for(l=0;l<t.length;l+=1)f<a[l].length&&(v[y]=a[l][f],y+=1);for(f=0;f<o;f+=1)for(l=0;l<t.length;l+=1)f<i[l].length&&(v[y]=i[l][f],y+=1);return v}(o,r)};v.addData=function(e,t){var n=null;switch(t=t||"Byte"){case"Numeric":n=f(e);break;case"Alphanumeric":n=p(e);break;case"Byte":n=h(e);break;case"Kanji":n=m(e);break;default:throw"mode:"+t}g.push(n),l=null},v.isDark=function(e,t){if(e<0||a<=e||t<0||a<=t)throw e+","+t;return o[e][t]},v.getModuleCount=function(){return a},v.make=function(){if(n<1){for(var e=1;e<40;e++){for(var t=c.getRSBlocks(e,r),o=d(),a=0;a<g.length;a++){var i=g[a];o.put(i.getMode(),4),o.put(i.getLength(),s.getLengthInBits(i.getMode(),e)),i.write(o)}var l=0;for(a=0;a<t.length;a++)l+=t[a].dataCount;if(o.getLengthInBits()<=8*l)break}n=e}b(!1,function(){for(var e=0,t=0,n=0;n<8;n+=1){b(!0,n);var r=s.getLostPoint(v);(0==n||e>r)&&(e=r,t=n)}return t}())},v.createTableTag=function(e,t){e=e||2;var n="";n+='<table style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: "+(t=void 0===t?4*e:t)+"px;",n+='">',n+="<tbody>";for(var r=0;r<v.getModuleCount();r+=1){n+="<tr>";for(var o=0;o<v.getModuleCount();o+=1)n+='<td style="',n+=" border-width: 0px; border-style: none;",n+=" border-collapse: collapse;",n+=" padding: 0px; margin: 0px;",n+=" width: "+e+"px;",n+=" height: "+e+"px;",n+=" background-color: ",n+=v.isDark(r,o)?"#000000":"#ffffff",n+=";",n+='"/>';n+="</tr>"}return(n+="</tbody>")+"</table>"},v.createSvgTag=function(e,t,n,r){var o={};"object"==typeof arguments[0]&&(e=(o=arguments[0]).cellSize,t=o.margin,n=o.alt,r=o.title),e=e||2,t=void 0===t?4*e:t,(n="string"==typeof n?{text:n}:n||{}).text=n.text||null,n.id=n.text?n.id||"qrcode-description":null,(r="string"==typeof r?{text:r}:r||{}).text=r.text||null,r.id=r.text?r.id||"qrcode-title":null;var a,i,s,l,u=v.getModuleCount()*e+2*t,c="";for(l="l"+e+",0 0,"+e+" -"+e+",0 0,-"+e+"z ",c+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',c+=o.scalable?"":' width="'+u+'px" height="'+u+'px"',c+=' viewBox="0 0 '+u+" "+u+'" ',c+=' preserveAspectRatio="xMinYMin meet"',c+=r.text||n.text?' role="img" aria-labelledby="'+C([r.id,n.id].join(" ").trim())+'"':"",c+=">",c+=r.text?'<title id="'+C(r.id)+'">'+C(r.text)+"</title>":"",c+=n.text?'<description id="'+C(n.id)+'">'+C(n.text)+"</description>":"",c+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',c+='<path d="',i=0;i<v.getModuleCount();i+=1)for(s=i*e+t,a=0;a<v.getModuleCount();a+=1)v.isDark(i,a)&&(c+="M"+(a*e+t)+","+s+l);return(c+='" stroke="transparent" fill="black"/>')+"</svg>"},v.createDataURL=function(e,t){e=e||2,t=void 0===t?4*e:t;var n=v.getModuleCount()*e+2*t,r=t,o=n-t;return y(n,n,(function(t,n){if(r<=t&&t<o&&r<=n&&n<o){var a=Math.floor((t-r)/e),i=Math.floor((n-r)/e);return v.isDark(i,a)?0:1}return 1}))},v.createImgTag=function(e,t,n){e=e||2,t=void 0===t?4*e:t;var r=v.getModuleCount()*e+2*t,o="";return o+="<img",o+=' src="',o+=v.createDataURL(e,t),o+='"',o+=' width="',o+=r,o+='"',o+=' height="',o+=r,o+='"',n&&(o+=' alt="',o+=C(n),o+='"'),o+"/>"};var C=function(e){for(var t="",n=0;n<e.length;n+=1){var r=e.charAt(n);switch(r){case"<":t+="&lt;";break;case">":t+="&gt;";break;case"&":t+="&amp;";break;case'"':t+="&quot;";break;default:t+=r}}return t};return v.createASCII=function(e,t){if((e=e||1)<2)return function(e){e=void 0===e?2:e;var t,n,r,o,a,i=1*v.getModuleCount()+2*e,s=e,l=i-e,u={"██":"█","█ ":"▀"," █":"▄","  ":" "},c={"██":"▀","█ ":"▀"," █":" ","  ":" "},d="";for(t=0;t<i;t+=2){for(r=Math.floor((t-s)/1),o=Math.floor((t+1-s)/1),n=0;n<i;n+=1)a="█",s<=n&&n<l&&s<=t&&t<l&&v.isDark(r,Math.floor((n-s)/1))&&(a=" "),s<=n&&n<l&&s<=t+1&&t+1<l&&v.isDark(o,Math.floor((n-s)/1))?a+=" ":a+="█",d+=e<1&&t+1>=l?c[a]:u[a];d+="\n"}return i%2&&e>0?d.substring(0,d.length-i-1)+Array(i+1).join("▀"):d.substring(0,d.length-1)}(t);e-=1,t=void 0===t?2*e:t;var n,r,o,a,i=v.getModuleCount()*e+2*t,s=t,l=i-t,u=Array(e+1).join("██"),c=Array(e+1).join("  "),d="",f="";for(n=0;n<i;n+=1){for(o=Math.floor((n-s)/e),f="",r=0;r<i;r+=1)a=1,s<=r&&r<l&&s<=n&&n<l&&v.isDark(o,Math.floor((r-s)/e))&&(a=0),f+=a?u:c;for(o=0;o<e;o+=1)d+=f+"\n"}return d.substring(0,d.length-1)},v.renderTo2dContext=function(e,t){t=t||2;for(var n=v.getModuleCount(),r=0;r<n;r++)for(var o=0;o<n;o++)e.fillStyle=v.isDark(r,o)?"black":"white",e.fillRect(r*t,o*t,t,t)},v};e.stringToBytes=(e.stringToBytesFuncs={default:function(e){for(var t=[],n=0;n<e.length;n+=1){var r=e.charCodeAt(n);t.push(255&r)}return t}}).default,e.createStringToBytes=function(e,t){var n=function(){for(var n=v(e),r=function(){var e=n.read();if(-1==e)throw"eof";return e},o=0,a={};;){var i=n.read();if(-1==i)break;var s=r(),l=r()<<8|r();a[String.fromCharCode(i<<8|s)]=l,o+=1}if(o!=t)throw o+" != "+t;return a}(),r="?".charCodeAt(0);return function(e){for(var t=[],o=0;o<e.length;o+=1){var a=e.charCodeAt(o);if(a<128)t.push(a);else{var i=n[e.charAt(o)];"number"==typeof i?(255&i)==i?t.push(i):(t.push(i>>>8),t.push(255&i)):t.push(r)}}return t}};var t,n,r,o,a,i={L:1,M:0,Q:3,H:2},s=(t=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],n=1335,r=7973,a=function(e){for(var t=0;0!=e;)t+=1,e>>>=1;return t},(o={}).getBCHTypeInfo=function(e){for(var t=e<<10;a(t)-a(n)>=0;)t^=n<<a(t)-a(n);return 21522^(e<<10|t)},o.getBCHTypeNumber=function(e){for(var t=e<<12;a(t)-a(r)>=0;)t^=r<<a(t)-a(r);return e<<12|t},o.getPatternPosition=function(e){return t[e-1]},o.getMaskFunction=function(e){switch(e){case 0:return function(e,t){return(e+t)%2==0};case 1:return function(e,t){return e%2==0};case 2:return function(e,t){return t%3==0};case 3:return function(e,t){return(e+t)%3==0};case 4:return function(e,t){return(Math.floor(e/2)+Math.floor(t/3))%2==0};case 5:return function(e,t){return e*t%2+e*t%3==0};case 6:return function(e,t){return(e*t%2+e*t%3)%2==0};case 7:return function(e,t){return(e*t%3+(e+t)%2)%2==0};default:throw"bad maskPattern:"+e}},o.getErrorCorrectPolynomial=function(e){for(var t=u([1],0),n=0;n<e;n+=1)t=t.multiply(u([1,l.gexp(n)],0));return t},o.getLengthInBits=function(e,t){if(1<=t&&t<10)switch(e){case 1:return 10;case 2:return 9;case 4:case 8:return 8;default:throw"mode:"+e}else if(t<27)switch(e){case 1:return 12;case 2:return 11;case 4:return 16;case 8:return 10;default:throw"mode:"+e}else{if(!(t<41))throw"type:"+t;switch(e){case 1:return 14;case 2:return 13;case 4:return 16;case 8:return 12;default:throw"mode:"+e}}},o.getLostPoint=function(e){for(var t=e.getModuleCount(),n=0,r=0;r<t;r+=1)for(var o=0;o<t;o+=1){for(var a=0,i=e.isDark(r,o),s=-1;s<=1;s+=1)if(!(r+s<0||t<=r+s))for(var l=-1;l<=1;l+=1)o+l<0||t<=o+l||0==s&&0==l||i==e.isDark(r+s,o+l)&&(a+=1);a>5&&(n+=3+a-5)}for(r=0;r<t-1;r+=1)for(o=0;o<t-1;o+=1){var u=0;e.isDark(r,o)&&(u+=1),e.isDark(r+1,o)&&(u+=1),e.isDark(r,o+1)&&(u+=1),e.isDark(r+1,o+1)&&(u+=1),0!=u&&4!=u||(n+=3)}for(r=0;r<t;r+=1)for(o=0;o<t-6;o+=1)e.isDark(r,o)&&!e.isDark(r,o+1)&&e.isDark(r,o+2)&&e.isDark(r,o+3)&&e.isDark(r,o+4)&&!e.isDark(r,o+5)&&e.isDark(r,o+6)&&(n+=40);for(o=0;o<t;o+=1)for(r=0;r<t-6;r+=1)e.isDark(r,o)&&!e.isDark(r+1,o)&&e.isDark(r+2,o)&&e.isDark(r+3,o)&&e.isDark(r+4,o)&&!e.isDark(r+5,o)&&e.isDark(r+6,o)&&(n+=40);var c=0;for(o=0;o<t;o+=1)for(r=0;r<t;r+=1)e.isDark(r,o)&&(c+=1);return n+Math.abs(100*c/t/t-50)/5*10},o),l=function(){for(var e=new Array(256),t=new Array(256),n=0;n<8;n+=1)e[n]=1<<n;for(n=8;n<256;n+=1)e[n]=e[n-4]^e[n-5]^e[n-6]^e[n-8];for(n=0;n<255;n+=1)t[e[n]]=n;return{glog:function(e){if(e<1)throw"glog("+e+")";return t[e]},gexp:function(t){for(;t<0;)t+=255;for(;t>=256;)t-=255;return e[t]}}}();function u(e,t){if(void 0===e.length)throw e.length+"/"+t;var n=function(){for(var n=0;n<e.length&&0==e[n];)n+=1;for(var r=new Array(e.length-n+t),o=0;o<e.length-n;o+=1)r[o]=e[o+n];return r}(),r={getAt:function(e){return n[e]},getLength:function(){return n.length},multiply:function(e){for(var t=new Array(r.getLength()+e.getLength()-1),n=0;n<r.getLength();n+=1)for(var o=0;o<e.getLength();o+=1)t[n+o]^=l.gexp(l.glog(r.getAt(n))+l.glog(e.getAt(o)));return u(t,0)},mod:function(e){if(r.getLength()-e.getLength()<0)return r;for(var t=l.glog(r.getAt(0))-l.glog(e.getAt(0)),n=new Array(r.getLength()),o=0;o<r.getLength();o+=1)n[o]=r.getAt(o);for(o=0;o<e.getLength();o+=1)n[o]^=l.gexp(l.glog(e.getAt(o))+t);return u(n,0).mod(e)}};return r}var c=function(){var e=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],t=function(e,t){var n={};return n.totalCount=e,n.dataCount=t,n},n={getRSBlocks:function(n,r){var o=function(t,n){switch(n){case i.L:return e[4*(t-1)+0];case i.M:return e[4*(t-1)+1];case i.Q:return e[4*(t-1)+2];case i.H:return e[4*(t-1)+3];default:return}}(n,r);if(void 0===o)throw"bad rs block @ typeNumber:"+n+"/errorCorrectionLevel:"+r;for(var a=o.length/3,s=[],l=0;l<a;l+=1)for(var u=o[3*l+0],c=o[3*l+1],d=o[3*l+2],f=0;f<u;f+=1)s.push(t(c,d));return s}};return n}(),d=function(){var e=[],t=0,n={getBuffer:function(){return e},getAt:function(t){var n=Math.floor(t/8);return 1==(e[n]>>>7-t%8&1)},put:function(e,t){for(var r=0;r<t;r+=1)n.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return t},putBit:function(n){var r=Math.floor(t/8);e.length<=r&&e.push(0),n&&(e[r]|=128>>>t%8),t+=1}};return n},f=function(e){var t=e,n={getMode:function(){return 1},getLength:function(e){return t.length},write:function(e){for(var n=t,o=0;o+2<n.length;)e.put(r(n.substring(o,o+3)),10),o+=3;o<n.length&&(n.length-o==1?e.put(r(n.substring(o,o+1)),4):n.length-o==2&&e.put(r(n.substring(o,o+2)),7))}},r=function(e){for(var t=0,n=0;n<e.length;n+=1)t=10*t+o(e.charAt(n));return t},o=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+e};return n},p=function(e){var t=e,n={getMode:function(){return 2},getLength:function(e){return t.length},write:function(e){for(var n=t,o=0;o+1<n.length;)e.put(45*r(n.charAt(o))+r(n.charAt(o+1)),11),o+=2;o<n.length&&e.put(r(n.charAt(o)),6)}},r=function(e){if("0"<=e&&e<="9")return e.charCodeAt(0)-"0".charCodeAt(0);if("A"<=e&&e<="Z")return e.charCodeAt(0)-"A".charCodeAt(0)+10;switch(e){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+e}};return n},h=function(t){var n=e.stringToBytes(t);return{getMode:function(){return 4},getLength:function(e){return n.length},write:function(e){for(var t=0;t<n.length;t+=1)e.put(n[t],8)}}},m=function(t){var n=e.stringToBytesFuncs.SJIS;if(!n)throw"sjis not supported.";!function(e,t){var r=n("友");if(2!=r.length||38726!=(r[0]<<8|r[1]))throw"sjis not supported."}();var r=n(t),o={getMode:function(){return 8},getLength:function(e){return~~(r.length/2)},write:function(e){for(var t=r,n=0;n+1<t.length;){var o=(255&t[n])<<8|255&t[n+1];if(33088<=o&&o<=40956)o-=33088;else{if(!(57408<=o&&o<=60351))throw"illegal char at "+(n+1)+"/"+o;o-=49472}o=192*(o>>>8&255)+(255&o),e.put(o,13),n+=2}if(n<t.length)throw"illegal char at "+(n+1)}};return o},g=function(){var e=[],t={writeByte:function(t){e.push(255&t)},writeShort:function(e){t.writeByte(e),t.writeByte(e>>>8)},writeBytes:function(e,n,r){n=n||0,r=r||e.length;for(var o=0;o<r;o+=1)t.writeByte(e[o+n])},writeString:function(e){for(var n=0;n<e.length;n+=1)t.writeByte(e.charCodeAt(n))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var n=0;n<e.length;n+=1)n>0&&(t+=","),t+=e[n];return t+"]"}};return t},v=function(e){var t=e,n=0,r=0,o=0,a={read:function(){for(;o<8;){if(n>=t.length){if(0==o)return-1;throw"unexpected end of file./"+o}var e=t.charAt(n);if(n+=1,"="==e)return o=0,-1;e.match(/^\s$/)||(r=r<<6|i(e.charCodeAt(0)),o+=6)}var a=r>>>o-8&255;return o-=8,a}},i=function(e){if(65<=e&&e<=90)return e-65;if(97<=e&&e<=122)return e-97+26;if(48<=e&&e<=57)return e-48+52;if(43==e)return 62;if(47==e)return 63;throw"c:"+e};return a},y=function(e,t,n){for(var r=function(e,t){var n=e,r=t,o=new Array(e*t),a={setPixel:function(e,t,r){o[t*n+e]=r},write:function(e){e.writeString("GIF87a"),e.writeShort(n),e.writeShort(r),e.writeByte(128),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(0),e.writeByte(255),e.writeByte(255),e.writeByte(255),e.writeString(","),e.writeShort(0),e.writeShort(0),e.writeShort(n),e.writeShort(r),e.writeByte(0);var t=i(2);e.writeByte(2);for(var o=0;t.length-o>255;)e.writeByte(255),e.writeBytes(t,o,255),o+=255;e.writeByte(t.length-o),e.writeBytes(t,o,t.length-o),e.writeByte(0),e.writeString(";")}},i=function(e){for(var t=1<<e,n=1+(1<<e),r=e+1,a=s(),i=0;i<t;i+=1)a.add(String.fromCharCode(i));a.add(String.fromCharCode(t)),a.add(String.fromCharCode(n));var l,u,c,d=g(),f=(l=d,u=0,c=0,{write:function(e,t){if(e>>>t!=0)throw"length over";for(;u+t>=8;)l.writeByte(255&(e<<u|c)),t-=8-u,e>>>=8-u,c=0,u=0;c|=e<<u,u+=t},flush:function(){u>0&&l.writeByte(c)}});f.write(t,r);var p=0,h=String.fromCharCode(o[p]);for(p+=1;p<o.length;){var m=String.fromCharCode(o[p]);p+=1,a.contains(h+m)?h+=m:(f.write(a.indexOf(h),r),a.size()<4095&&(a.size()==1<<r&&(r+=1),a.add(h+m)),h=m)}return f.write(a.indexOf(h),r),f.write(n,r),f.flush(),d.toByteArray()},s=function(){var e={},t=0,n={add:function(r){if(n.contains(r))throw"dup key:"+r;e[r]=t,t+=1},size:function(){return t},indexOf:function(t){return e[t]},contains:function(t){return void 0!==e[t]}};return n};return a}(e,t),o=0;o<t;o+=1)for(var a=0;a<e;
8a+=1)r.setPixel(a,o,n(a,o));var i=g();r.write(i);for(var s=function(){var e=0,t=0,n=0,r="",o={},a=function(e){r+=String.fromCharCode(i(63&e))},i=function(e){if(e<0);else{if(e<26)return 65+e;if(e<52)return e-26+97;if(e<62)return e-52+48;if(62==e)return 43;if(63==e)return 47}throw"n:"+e};return o.writeByte=function(r){for(e=e<<8|255&r,t+=8,n+=1;t>=6;)a(e>>>t-6),t-=6},o.flush=function(){if(t>0&&(a(e<<6-t),e=0,t=0),n%3!=0)for(var o=3-n%3,i=0;i<o;i+=1)r+="="},o.toString=function(){return r},o}(),l=i.toByteArray(),u=0;u<l.length;u+=1)s.writeByte(l[u]);return s.flush(),"data:image/gif;base64,"+s};return e}();o.stringToBytesFuncs["UTF-8"]=function(e){return function(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t.push(r):r<2048?t.push(192|r>>6,128|63&r):r<55296||r>=57344?t.push(224|r>>12,128|r>>6&63,128|63&r):(n++,r=65536+((1023&r)<<10|1023&e.charCodeAt(n)),t.push(240|r>>18,128|r>>12&63,128|r>>6&63,128|63&r))}return t}(e)},void 0===(r="function"==typeof(n=function(){return o})?n.apply(t,[]):n)||(e.exports=r)},5798:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},129:(e,t,n)=>{"use strict";var r=n(8261),o=n(5235),a=n(5798);e.exports={formats:a,parse:o,stringify:r}},5235:(e,t,n)=>{"use strict";var r=n(2769),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},u=function(e,t,n,r){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),u=s?a.slice(0,s.index):a,c=[];if(u){if(!n.plainObjects&&o.call(Object.prototype,u)&&!n.allowPrototypes)return;c.push(u)}for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;c.push(s[1])}return s&&c.push("["+a.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:l(t,n),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var u="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,c=parseInt(u,10);n.parseArrays||""!==u?!isNaN(c)&&s!==u&&String(c)===u&&c>=0&&n.parseArrays&&c<=n.arrayLimit?(i=[])[c]=o:"__proto__"!==u&&(i[u]=o):i={0:o}}o=i}return o}(c,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var c="string"==typeof e?function(e,t){var n,u={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=c.split(t.delimiter,d),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,g,v=f[n],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(m=t.decoder(v,i.decoder,h,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(v.slice(0,b),i.decoder,h,"key"),g=r.maybeMap(l(v.slice(b+1),t),(function(e){return t.decoder(e,i.decoder,h,"value")}
8))),g&&t.interpretNumericEntities&&"iso-8859-1"===h&&(g=s(g)),v.indexOf("[]=")>-1&&(g=a(g)?[g]:g),o.call(u,m)?u[m]=r.combine(u[m],g):u[m]=g}return u}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(c),p=0;p<f.length;++p){var h=f[p],m=u(h,c[h],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},8261:(e,t,n)=>{"use strict";var r=n(7478),o=n(2769),a=n(5798),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,u=Array.prototype.push,c=function(e,t){u.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=a.default,p={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,a,i,s,u,d,f,m,g,v,y,b,w,E,_){for(var S,D=t,x=_,P=0,C=!1;void 0!==(x=x.get(h))&&!C;){var k=x.get(t);if(P+=1,void 0!==k){if(k===P)throw new RangeError("Cyclic object value");C=!0}void 0===x.get(h)&&(P=0)}if("function"==typeof f?D=f(n,D):D instanceof Date?D=v(D):"comma"===a&&l(D)&&(D=o.maybeMap(D,(function(e){return e instanceof Date?v(e):e}))),null===D){if(s)return d&&!w?d(n,p.encoder,E,"key",y):n;D=""}if("string"==typeof(S=D)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||o.isBuffer(D))return d?[b(w?n:d(n,p.encoder,E,"key",y))+"="+b(d(D,p.encoder,E,"value",y))]:[b(n)+"="+b(String(D))];var O,R=[];if(void 0===D)return R;if("comma"===a&&l(D))w&&d&&(D=o.maybeMap(D,d)),O=[{value:D.length>0?D.join(",")||null:void 0}];else if(l(f))O=f;else{var T=Object.keys(D);O=m?T.sort(m):T}for(var $=i&&l(D)&&1===D.length?n+"[]":n,I=0;I<O.length;++I){var M=O[I],A="object"==typeof M&&void 0!==M.value?M.value:D[M];if(!u||null!==A){var N=l(D)?"function"==typeof a?a($,M):$:$+(g?"."+M:"["+M+"]");_.set(t,P);var j=r();j.set(h,_),c(R,e(A,N,a,i,s,u,"comma"===a&&w&&l(D)?null:d,f,m,g,v,y,b,w,E,j))}}return R};e.exports=function(e,t){var n,o=e,u=function(e){if(!e)return p;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=a.formatters[n],o=p.filter;return("function"==typeof e.filter||l(e.filter))&&(o=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:void 0===e.allowDots?p.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:o,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof u.filter?o=(0,u.filter)("",o):l(u.filter)&&(n=u.filter);var d,f=[];if("object"!=typeof o||null===o)return"";d=t&&t.arrayFormat in s?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var h=s[d];if(t&&"commaRoundTrip"in t&&"boolean"!=typeof t.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var g="comma"===h&&t&&t.commaRoundTrip;n||(n=Object.keys(o)),u.sort&&n.sort(u.sort);for(var v=r(),y=0;y<n.length;++y){var b=n[y];u.skipNulls&&null===o[b]||c(f,m(o[b],b,h,g,u.strictNullHandling,u.skipNulls,u.encode?u.encoder:null,u.filter,u.sort,u.allowDots,u.serializeDate,u.format,u.formatter,u.encodeValuesOnly,u.charset,v))}var w=f.join(u.delimiter),E=!0===u.addQueryPrefix?"?":"";return u.charsetSentinel&&("iso-8859-1"===u.charset?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),w.length>0?E+w:""}},2769:(e,t,n)=>{"use strict";var r=n(5798),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var u=s[l],c=i[u];"object"==typeof c&&null!==c&&-1===n.indexOf(c)&&(t.push({obj:i,prop:u}),n.push(c))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");
vendor: 1,446 bytes, line 8
8if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,a){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"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",u=0;u<s.length;++u){var c=s.charCodeAt(u);45===c||46===c||95===c||126===c||c>=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||a===r.RFC1738&&(40===c||41===c)?l+=s.charAt(u):c<128?l+=i[c]:c<2048?l+=i[192|c>>6]+i[128|63&c]:c<55296||c>=57344?l+=i[224|c>>12]+i[128|c>>6&63]+i[128|63&c]:(u+=1,c=65536+((1023&c)<<10|1023&s.charCodeAt(u)),l+=i[240|c>>18]+i[128|c>>12&63]+i[128|c>>6&63]+i[128|63&c])}return l},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(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return a(t)&&!a(n)&&(i=s(t,r)),a(t)&&a(n)?(n.forEach((function(n,a){if(o.c
8all(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,r):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return o.call(t,a)?t[a]=e(t[a],i,r):t[a]=i,t}),i)}}},9921:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return E(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return _(e)||E(e)===c},t.isConcurrentMode=_,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},t.typeOf=E},9864:(e,t,n)=>{"use strict";e.exports=n(9921)},7550:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9748);const o=function(e){var t=e.width,n=e.height,o=e.colorStart,a=void 0===o?"#f0f0f0":o,i=e.colorEnd,s=void 0===i?"#e0e0e0":i,l=e.shape,u=l,c=function(e){var t=e.width,n=e.height;return function(e){return{rect:{width:t,height:n},circle:{cx:Number(t)/2,cy:Number(n)/2,r:(Number(n)+Number(t))/4}}[e]}}({width:t,height:n})(l),d=function(e){var t=e.width,n=e.height;return function(e){return{rect:{width:t,height:n},circle:{width:t,height:n}}[e]}}({width:t,height:n})(l);return(0,r.createElement)("svg",Object.assign({},d),(0,r.createElement)(u,Object.assign({},c,{role:"img","data-testid":"shapeElement",fill:"url(#linear-gradient)"})),(0,r.createElement)("defs",null,(0,r.createElement)("linearGradient",{id:"linear-gradient",x1:"0%",y1:"0%",x2:"100%",y2:"0%"},(0,r.createElement)("stop",{offset:"0%",stopColor:a},(0,r.createElement)("animate",{attributeName:"offset",values:"-2; -2; 1",dur:"2s",keyTimes:"0; 0.70; 1",repeatCount:"indefinite"})),(0,r.createElement)("stop",{offset:"50%",stopColor:s},(0,r.createElement)("animate",{attributeName:"offset",values:"0; 0; 2",dur:"2s",keyTimes:"0; 0.70; 1",repeatCount:"indefinite"})),(0,r.createElement)("stop",{offset:"100%",stopColor:a},(0,r.createElement)("animate",{attributeName:"offset",values:"0; 0; 3",dur:"2s",keyTimes:"0; 0.90; 1",repeatCount:"indefinite"})))))}},5726:(e,t,n)=>{"use strict";function r(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEac
8h((([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new r(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const a=/[\-\:]([a-z])/g,i=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(a,i);o[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(a,i);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(a,i);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)})),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:s,SAME:l,possibleStandardNames:u}=n(8229),c=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(u).reduce(((e,t)=>{const n=u[t];return n===l?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},8229:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInl
8ine:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode
8-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},7811:(e,t,n)=>{"use strict";n.d(t,{_l:()=>m}),n(3729);var r=n(9748),o=n(6192),a=n.n(o),i=function(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((r=r.apply(e,t||[])).next())}))};function s(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,((e,t,n,r)=>t+t+n+n+r+r));const t=/([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:0,g:0,b:0}}function l({r:e,g:t,b:n}){return"#"+(1<<24|e<<16|t<<8|n).toString(16).slice(1)}function u(e,t){const n=s(e);for(let e in n)n[e]+=t,n[e]>255&&(n[e]=255),n[e]<0&&(n[e]=0);return l(n)}function c(e,t){return Math.floor(Math.random()*(t-e+1))+e}function d(e,t){return t&&"object"==typeof t&&"eyes"in t&&"body"in t?t:{eyes:null!=t?t:e,body:null!=t?t:e}}function f(e,t,n,r,o,a,i){const s=t/1.6;switch(e){case"dots":return s;case"rounded":return t/2;case"circle":return{top_left:!r.col.before&&!r.row.before&&r.col.after&&r.row.after?1.35*t:0,top_right:r.col.before&&!r.row.before&&!r.col.after&&r.row.after?1.35*t:0,bottom_left:!r.col.before&&r.row.before&&r.col.after&&!r.row.after?1.35*t:0,bottom_right:r.col.before&&r.row.before&&!r.col.after&&!r.row.after?1.35*t:0};case"fluid":return{top_right:r.col.after||r.row.before?0:s,top_left:r.col.before||r.row.before?0:s,bottom_right:r.col.after||r.row.after?0:s,bottom_left:r.col.before||r.row.after?0:s};case"reverse":return{top_right:r.col.after&&r.row.before?s:0,top_left:r.col.before&&r.row.before?s:0,bottom_right:r.col.after&&r.row.after?s:0,bottom_left:r.col.before&&r.row.after?s:0};case"morse":return r.col.before||r.col.after?{top_left:r.col.before?0:s,bottom_left:r.col.before?0:s,top_right:r.col.after?0:s,bottom_right:r.col.after?0:s}:s;case"shower":return r.row.before||r.row.after?{top_left:r.row.before?0:s,top_right:r.row.before?0:s,bottom_left:r.row.after?0:s,bottom_right:r.row.after?0:s}:s;case"gravity":const e=Math.floor(n/2);return{top_right:r.col.after||r.row.before||o>e&&a<e?0:s,top_left:r.col.before||r.row.before||o>e&&a>e?0:s,bottom_right:r.col.after||r.row.after||o<e&&a<e?0:s,bottom_left:r.col.before||r.row.after||o<e&&a>e?0:s};case"italic":return{top_right:0,top_left:r.col.before||r.row.before?0:"eyes"===i?1.2*t:s,bottom_right:r.col.after||r.row.after?0:"eyes"===i?1.2*t:s,bottom_left:0};case"inclined":return{top_right:r.col.after||r.row.before?0:"eyes"===i?1.2*t:s,top_left:0,bottom_right:0,bottom_left:r.col.before||r.row.after?0:"eyes"===i?1.2*t:s};default:return 0}}function p(e,t,n,r){switch(t){case"gradient-dark-vertical":return u(e,-3*r);case"gradient-dark-horizontal":return u(e,-3*n);case"gradient-dark-diagonal":return u(e,-2*(n+r));case"gradient-light-vertical":return u(e,3*r);case"gradient-light-horizontal":return u(e,3*n);case"gradient-light-diagonal":return u(e,2*(n+r));case"shades":return function(e){const{r:t,g:n,b:r}=s(e),o=c(0,Math.min(t,n,r));return l({r:t-o,g:n-o,b:r-o})}(e);case"colored":return function(e){const t=function(e){const t=Object.values(s(e)).reduce(((e,t)=>e+t),0);return t>510?"light":t>255?"medium":"dark"}(e),n="dark"===t?0:"medium"===t?63:127,r="dark"===t?127:"medium"===t?191:255;return l({r:c(n,r),g:c(n,r),b:c(n,r)})}(e);default:return e}}function h(e){const t=function(e){return"number"!=typeof e&&e?Object.assign({top_left:0,top_right:0,bottom_left:0,bottom_right:0},e):{top_left:null!=e?e:0,top_right:null!=e?e:0,bottom_left:null!=e?e:0,bottom_right:null!=e?e:0}}(e.radius);return`\n        M ${e.positionX+t.top_left},${e.positionY}
8\n        H ${e.positionX+e.width-t.top_right}\n        A ${t.top_right},${t.top_right} 0 0 1 ${e.positionX+e.width},${e.positionY+t.top_right}\n        V ${e.positionY+e.height-t.bottom_right}\n        A ${t.bottom_right},${t.bottom_right} 0 0 1 ${e.positionX+e.width-t.bottom_right},${e.positionY+e.height}\n        H ${e.positionX+t.bottom_left}\n        A ${t.bottom_left},${t.bottom_left} 0 0 1 ${e.positionX},${e.positionY+e.height-t.bottom_left}\n        V ${e.positionY+t.top_left}\n        A ${t.top_left},${t.top_left} 0 0 1 ${e.positionX+t.top_left},${e.positionY}\n        Z\n    `.trim().replace(/\s+/g," ")}function m(e){var t,n,o,s,l,u,c,m,g,v;const y=(0,r.useRef)(null),b=a()(null!==(t=e.modules)&&void 0!==t?t:0,null!==(n=e.level)&&void 0!==n?n:e.image?"H":"M");b.addData(null!==(o=e.value)&&void 0!==o?o:"",e.mode),b.make();const w=b.getModuleCount(),E=null!==(s=e.size)&&void 0!==s?s:10*w,_=E/w,S={margin:null!==(l=e.margin)&&void 0!==l?l:0,padding:null!==(u=e.padding)&&void 0!==u?u:0,total:2*((null!==(c=e.margin)&&void 0!==c?c:0)+(null!==(m=e.padding)&&void 0!==m?m:0))},D=d("standard",e.variant),x=d("#000",e.color),P=d("none",e.colorEffect),C=[];for(let t=0;t<w;t++)for(let n=0;n<w;n++){if(!b.isDark(t,n))continue;const o=n<7&&t<7||n<7&&t>=w-7||n>=w-7&&t<7?"eyes":"body",a=n*_+S.margin+S.padding,i=t*_+S.margin+S.padding,s=p(x[o],P[o],n,t),l={row:{before:t>0&&b.isDark(t-1,n),after:t<w-1&&b.isDark(t+1,n)},col:{before:n>0&&b.isDark(t,n-1),after:n<w-1&&b.isDark(t,n+1)}};C.push(r.default.createElement("path",{d:h({height:_,width:_,positionX:a,positionY:i,radius:f(D[o],_,w,l,t,n,o)}),key:`${t}-${n}`,fill:s,stroke:e.divider&&"body"===o?null!==(g=e.bgColor)&&void 0!==g?g:"#FFF":void 0}))}return(0,r.useEffect)((()=>{"function"==typeof e.onReady&&y.current&&e.onReady(y.current)}),[e,y]),r.default.createElement("svg",Object.assign({},e.internalProps,{xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${E+S.total} ${E+S.total}`,width:E+S.total,height:E+S.total,ref:y}),r.default.createElement("rect",{x:S.margin,y:S.margin,width:E+2*S.padding,height:E+2*S.padding,fill:null!==(v=e.bgColor)&&void 0!==v?v:"#FFF",rx:e.bgRounded?10:0}),C,r.default.createElement((()=>{var t,n,o,a,s,l,u,c,d;if(!e.image)return r.default.createElement(r.default.Fragment,null);const f=(p=e.image)&&"object"==typeof p?p:"string"==typeof p?{src:p}:null;var p;const h=Math.floor(w*_/5),m=2*h+S.margin+S.padding,[g,v]=r.default.useState();return(0,r.useEffect)((()=>{g||function(e){return i(this,void 0,void 0,(function*(){const t=yield fetch(e),n=yield t.blob();return new Promise((e=>{const t=new FileReader;t.onloadend=()=>e(t.result),t.readAsDataURL(n)}))}))}(f.src).then(v)}),[e.image]),g?r.default.createElement(r.default.Fragment,null,f.overlap?r.default.createElement(r.default.Fragment,null):r.default.createElement("rect",{width:null!==(t=f.width)&&void 0!==t?t:h,height:null!==(n=f.height)&&void 0!==n?n:h,x:null!==(o=f.positionX)&&void 0!==o?o:m,y:null!==(a=f.positionY)&&void 0!==a?a:m,fill:null!==(s=e.bgColor)&&void 0!==s?s:"#FFF"}),r.default.createElement("image",{href:g,width:null!==(l=f.width)&&void 0!==l?l:h,height:null!==(u=f.height)&&void 0!==u?u:h,x:null!==(c=f.positionX)&&void 0!==c?c:m,y:null!==(d=f.positionY)&&void 0!==d?d:m,preserveAspectRatio:"xMidYMid meet"})):r.default.createElement(r.default.Fragment,null)}),null))}},7219:(e,t,n)=>{"use strict";n.d(t,{Z:()=>N});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var a=n(9748),i="right-scroll-bar-position",s="width-before-scroll-bar";function l(e){return e}var u=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=l);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var o=t(e,r);return n.push(o),function(){n=n.filter((function(e){return e!==o}))}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var o=n;n=[],o.forEach(e),t=n}var a=function(){var n=t;
vendor: 5,823 bytes, line 8
8t=[],n.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}(null);return t.options=r({async:!0,ssr:!1},e),t}(),c=function(){},d=a.forwardRef((function(e,t){var n=a.useRef(null),i=a.useState({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:c}),s=i[0],l=i[1],d=e.forwardProps,f=e.children,p=e.className,h=e.removeScrollBar,m=e.enabled,g=e.shards,v=e.sideCar,y=e.noIsolation,b=e.inert,w=e.allowPinchZoom,E=e.as,_=void 0===E?"div":E,S=o(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),D=v,x=function(e,t){return n=t||null,r=function(t){return e.forEach((function(e){return function(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}(e,t)}))},(o=(0,a.useState)((function(){return{value:n,callback:r,facade:{get current(){return o.value},set current(e){var t=o.value;t!==e&&(o.value=e,o.callback(e,t))}}}}))[0]).callback=r,o.facade;var n,r,o}([n,t]),P=r(r({},S),s);return a.createElement(a.Fragment,null,m&&a.createElement(D,{sideCar:u,removeScrollBar:h,shards:g,noIsolation:y,inert:b,setCallbacks:l,allowPinchZoom:!!w,lockRef:n}),d?a.cloneElement(a.Children.only(f),r(r({},P),{ref:x})):a.createElement(_,r({},P,{className:p,ref:x}),f))}));d.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},d.classNames={fullWidth:s,zeroRight:i};var f=function(e){var t=e.sideCar,n=o(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return a.createElement(i,r({},n))};f.isSideCarExport=!0;var p=function(){var e=0,t=null;return{add:function(r){var o,a;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=n.nc;return t&&e.setAttribute("nonce",t),e}())&&(a=r,(o=t).styleSheet?o.styleSheet.cssText=a:o.appendChild(document.createTextNode(a)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},h=function(){var e,t=(e=p(),function(t,n){a.useEffect((function(){return e.add(t),function(){e.remove()}}),[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},m={left:0,top:0,right:0,gap:0},g=function(e){return parseInt(e||"",10)||0},v=h(),y=function(e,t,n,r){var o=e.left,a=e.top,l=e.right,u=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(u,"px ").concat(r,";\n  }\n  body {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(o,"px;\n    padding-top: ").concat(a,"px;\n    padding-right: ").concat(l,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(u,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(u,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(i," {\n    right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(s," {\n    margin-right: ").concat(u,"px ").concat(r,";\n  }\n  \n  .").concat(i," .").concat(i," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(s," .").concat(s," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(u,"px;\n  }\n")},b=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=void 0===r?"margin":r,i=a.useMemo((function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return m;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[g(n),g(r),g(o)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}}(o)}),[o]);return a.createElement(v,{styles:y(i,!t,o,n?"":"!important")})},w=!1;if("undefined"!=typeof window)try{var E=Object.defineProperty({},"passive",{get:function(){return w=!0,!0}});window.addEventListener("test",E,E),window.removeEventListener("test",E,E)}catch(e){w=!1}var _=!!w&&{passive:!1},S=function(e,t){var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},D=function(e,t){var n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),x(e,n)){var r=P(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==document.body);return!1},x=function(e,t){return"v"===e?function(e){return S(e,"overflowY")}(t):function(e){return S(e,"overflowX")}(t)},P=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},C=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},k=function(e){return[e.deltaX,e.deltaY]},O=function(e){return e&&"current"in e?e.current:e},R=function(e){return"\n  .block-interactivity-".concat(e," {pointer-events: none;}\n  .allow-interactivity-").concat(e," {pointer-events: all;}\n")},T=0,$=[];const I=(M=function(e){var t=a.useRef([]),n=a.useRef([0,0]),r=a.useRef(),o=a.useState(T++)[0],i=a.useState((function(){return h()}))[0],s=a.useRef(e);a.useEffect((function(){s.current=e}),[e]),a.useEffect((function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var t=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}
8([e.lockRef.current],(e.shards||[]).map(O),!0).filter(Boolean);return t.forEach((function(e){return e.classList.add("allow-interactivity-".concat(o))})),function(){document.body.classList.remove("block-interactivity-".concat(o)),t.forEach((function(e){return e.classList.remove("allow-interactivity-".concat(o))}))}}}),[e.inert,e.lockRef.current,e.shards]);var l=a.useCallback((function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var o,a=C(e),i=n.current,l="deltaX"in e?e.deltaX:i[0]-a[0],u="deltaY"in e?e.deltaY:i[1]-a[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=D(d,c);if(!f)return!0;if(f?o=d:(o="v"===d?"h":"v",f=D(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=o),!o)return!0;var p=r.current||o;return function(e,t,n,r,o){var a=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=a*r,s=n.target,l=t.contains(s),u=!1,c=i>0,d=0,f=0;do{var p=P(e,s),h=p[0],m=p[1]-p[2]-a*h;(h||m)&&x(e,s)&&(d+=m,f+=h),s=s.parentNode}while(!l&&s!==document.body||l&&(t.contains(s)||t===s));return(c&&(0===d||!1)||!c&&(0===f||!1))&&(u=!0),u}(p,t,e,"h"===p?l:u)}),[]),u=a.useCallback((function(e){var n=e;if($.length&&$[$.length-1]===i){var r="deltaY"in n?k(n):C(n),o=t.current.filter((function(e){return e.name===n.type&&e.target===n.target&&(t=e.delta,o=r,t[0]===o[0]&&t[1]===o[1]);var t,o}))[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var a=(s.current.shards||[]).map(O).filter(Boolean).filter((function(e){return e.contains(n.target)}));(a.length>0?l(n,a[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}}),[]),c=a.useCallback((function(e,n,r,o){var a={name:e,delta:n,target:r,should:o};t.current.push(a),setTimeout((function(){t.current=t.current.filter((function(e){return e!==a}))}),1)}),[]),d=a.useCallback((function(e){n.current=C(e),r.current=void 0}),[]),f=a.useCallback((function(t){c(t.type,k(t),t.target,l(t,e.lockRef.current))}),[]),p=a.useCallback((function(t){c(t.type,C(t),t.target,l(t,e.lockRef.current))}),[]);a.useEffect((function(){return $.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,_),document.addEventListener("touchmove",u,_),document.addEventListener("touchstart",d,_),function(){$=$.filter((function(e){return e!==i})),document.removeEventListener("wheel",u,_),document.removeEventListener("touchmove",u,_),document.removeEventListener("touchstart",d,_)}}),[]);var m=e.removeScrollBar,g=e.inert;return a.createElement(a.Fragment,null,g?a.createElement(i,{styles:R(o)}):null,m?a.createElement(b,{gapMode:"margin"}):null)},u.useMedium(M),f);var M,A=a.forwardRef((function(e,t){return a.createElement(d,r({},e,{ref:t,sideCar:I}))}));A.classNames=d.classNames;const N=A},1323:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(7462),o=n(9748),a=n(7197),i=n(5342),s=n(1413),l=n(2982),u=n(5987),c=n(8129),d=["allowCreateWhileLoading","createOptionPosition","formatCreateLabel","isValidNewOption","getNewOptionData","onCreateOption","options","onChange"],f=function(){var e=arguments.length>1?arguments[1]:void 0,t=arguments.length>2?arguments[2]:void 0,n=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").toLowerCase(),r=String(t.getOptionValue(e)).toLowerCase(),o=String(t.getOptionLabel(e)).toLowerCase();return r===n||o===n},p={formatCreateLabel:function(e){return'Create "'.concat(e,'"')},isValidNewOption:function(e,t,n,r){return!(!e||t.some((function(t){return f(e,t,r)}))||n.some((function(t){return f(e,t,r)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}};n(3469);var h=(0,o.forwardRef)((function(e,t){var n,f,h,m,g,v,y,b,w,E,_,S,D,x,P,C,k,O,R,T,$,I,M,A,N,j,L,F,V=(f=(n=(0,i.u)(e)).allowCreateWhileLoading,h=void 0!==f&&f,m=n.createOptionPosition,g=void 0===m?"last":m,v=n.formatCreateLabel,y=void 0===v?p.formatCreateLabel:v,b=n.isValidNewOption,w=void 0===b?p.isValidNewOption:b,E=n.getNewOptionData,_=void 0===E?p.getNewOptionData:E,S=n.onCreateOption,D=n.options,x=void 0===D?[]:D,P=n.onChange,k=(C=(0,u.Z)(n,d)).getOptionValue,O=void 0===k?a.g:k,R=C.getOptionLabel,T=void 0===R?a.b:R,$=C.inputValue,I=C.isLoading,M=C.isMulti,A=C.value,N=C.name,j=(0,o.useMemo)((function(){return w($,(0,c.H)(A),x,{getOptionValue:O,getOptionLabel:T})?_($,y($)):void 0}),[y,_,T,O,$,w,x,A]),L=(0,o.useMemo)((function(){return!h&&I||!j?x:"first"===g?[j].concat((0,l.Z)(x)):[].concat((0,l.Z)(x),[j])}),[h,g,I,j,x]),F=(0,o.useCallback)((function(e,t){if("select-option"!==t.action)return P(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==j)P(e,t);else if(S)S($);else{var r=_($,$),o={action:"create-option",name:N,option:r};P((0,c.D)(M,[].concat((0,l.Z)((0,c.H)(A)),[r]),r),o)}}),[_,$,M,N,j,S,P,A]),(0,s.Z)((0,s.Z)({},C),{},{options:L,onChange:F}));return o.createElement(a.S,(0,r.Z)({ref:t},V))}
vendor: 12,992 bytes, line 8
8))},7197:(e,t,n)=>{"use strict";n.d(t,{S:()=>he,b:()=>G,g:()=>J});var r=n(7462),o=n(1413),a=n(9142);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(0,a.Z)(r.key),r)}}var s=n(9611);function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var u=n(1002),c=n(7326);var d=n(2982),f=n(9748),p=n(8129),h=n(2003),m=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function g(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||m(r)&&m(o)))return!1;var r,o;return!0}for(var v=n(5987),y={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},b=function(e){return(0,h.tZ)("span",(0,r.Z)({css:y},e))},w={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,a=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,a=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,s=e.isDisabled,l=e.isSelected,u=e.isAppleDevice,c=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(c(i,n),".");if("menu"===t&&u){var d=s?" disabled":"",f="".concat(l?" selected":"").concat(d);return"".concat(a).concat(f,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},E=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,a=e.focusableOptions,i=e.isFocused,s=e.selectValue,l=e.selectProps,u=e.id,c=e.isAppleDevice,d=l.ariaLiveMessages,p=l.getOptionLabel,m=l.inputValue,g=l.isMulti,v=l.isOptionDisabled,y=l.isSearchable,E=l.menuIsOpen,_=l.options,S=l.screenReaderStatus,D=l.tabSelectsValue,x=l.isLoading,P=l["aria-label"],C=l["aria-live"],k=(0,f.useMemo)((function(){return(0,o.Z)((0,o.Z)({},w),d||{})}),[d]),O=(0,f.useMemo)((function(){var e,n="";if(t&&k.onChange){var r=t.option,a=t.options,i=t.removedValue,l=t.removedValues,u=t.value,c=i||r||(e=u,Array.isArray(e)?null:e),d=c?p(c):"",f=a||l||void 0,h=f?f.map(p):[],m=(0,o.Z)({isDisabled:c&&v(c,s),label:d,labels:h},t);n=k.onChange(m)}return n}),[t,k,v,s,p]),R=(0,f.useMemo)((function(){var e="",t=n||r,o=!!(n&&s&&s.includes(n));if(t&&k.onFocus){var i={focused:t,label:p(t),isDisabled:v(t,s),isSelected:o,options:a,context:t===n?"menu":"value",selectValue:s,isAppleDevice:c};e=k.onFocus(i)}return e}),[n,r,p,v,k,a,s,c]),T=(0,f.useMemo)((function(){var e="";if(E&&_.length&&!x&&k.onFilter){var t=S({count:a.length});e=k.onFilter({inputValue:m,resultsMessage:t})}return e}),[a,m,E,k,_,S,x]),$="initial-input-focus"===(null==t?void 0:t.action),I=(0,f.useMemo)((function(){var e="";if(k.guidance){var t=r?"value":E?"menu":"input";e=k.guidance({"aria-label":P,context:t,isDisabled:n&&v(n,s),isMulti:g,isSearchable:y,tabSelectsValue:D,isInitialFocus:$})}return e}),[P,n,r,g,v,y,E,k,s,D,$]),M=(0,h.tZ)(f.Fragment,null,(0,h.tZ)("span",{id:"aria-selection"},O),(0,h.tZ)("span",{id:"aria-focused"},R),(0,h.tZ)("span",{id:"aria-results"},T),(0,h.tZ)("span",{id:"aria-guidance"},I));return(0,h.tZ)(f.Fragment,null,(0,h.tZ)(b,{id:u},$&&M),(0,h.tZ)(b,{"aria-live":C,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!$&&M))},_=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],S=new RegExp("["+_.map((function(e){return e.letters})).join("")+"]","g"),D={},x=0;x<_.length;x++)for(var P=_[x],C=0;C<P.letters.length;C++)D[P.letters[C]]=P.base;var k=function(e){return e.replace(S,(function(e){return D[e]}))},O=function(e,t){void 0===t&&(t=g);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}(k),R=function(e){return e.replace(/^\s+|\s+$/g,"")},T=function(e){return"".concat(e.label," ").concat(e.value)},$=["innerRef"];function I(e){var t=e.innerRef,n=(0,v.Z)(e,$),o=(0,p.r)(n,"onExited","in","enter","exit","appear");return(0,h.tZ)("input",(0,r.Z)({ref:t},o,{css:(0,h.iv)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var M=["boxSizing","height","overflow","paddingRight","position"],A={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function N(e){e.preventDefault()}function j(e){e.stopPropagation()}function L(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function F(){return"ontouchstart"in window||navigator.maxTouchPoints}var V=!("undefined"==typeof window||!window.document||!window.document.createElement),U=0,Z={capture:!1,passive:!1},H=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},B={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function z(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,i=(0,f.useRef)(!1),s=(0,f.useRef)(!1),l=(0,f.useRef)(0),u=(0,f.useRef)(null),c=(0,f.useCallback)((function(e,t){if(null!==u.current){var l=u.current,c=l.scrollTop,d=l.scrollHeight,f=l.clientHeight,p=u.current,h=t>0,m=d-f-c,g=!1;m>t&&i.current&&(r&&r(e),i.current=!1),h&&s.current&&(a&&a(e),s.current=!1),h&&t>m?(n&&!i.current&&n(e),p.scrollTop=d,g=!0,i.current=!0):!h&&-t>c&&(o&&!s.current&&o(e),p.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),d=(0,f.useCallback)((function(e){c(e,e.deltaY)}),[c]),h=(0,f.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,f.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;c(e,t)}),[c]),g=(0,f.useCallback)((function(e){if(e){var t=!!p.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,d]),v=(0,f.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,d]);return(0,f.useEffect)((function(){if(t){var e=u.current;return g(e),function(){v(e)}}}),[t,g,v]),function(e){u.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,f.useRef)({}),a=(0,f.useRef)(null),i=(0,f.useCallback)((function(e){if(V){var t=document.body,n=t&&t.style;if(r&&M.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&U<1){var a=parseInt(o.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+a||0;Object.keys(A).forEach((function(e){var t=A[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&F()&&(t.addEventListener("touchmove",N,Z),e&&(e.addEventListener("touchstart",L,Z),e.addEventListener("touchmove",j,Z))),U+=1}}),[r]),s=(0,f.useCallback)((function(e){if(V){var t=document.body,n=t&&t.style;U=Math.max(U-1,0),r&&U<1&&M.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&F()&&(t.removeEventListener("touchmove",N,Z),e&&(e.removeEventListener("touchstart",L,Z),e.removeEventListener("touchmove",j,Z)))}}),[r]);return(0,f.useEffect)((function(){if(t){var e=a.current;return i(e),function(){s(e)}}}),[t,i,s]),function(e){a.current=e}}({isEnabled:n});return(0,h.tZ)(f.Fragment,null,n&&(0,h.tZ)("div",{onClick:H,css:B}),t((function(e){o(e),a(e)})))}var W={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;
8opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},K=function(e){var t=e.name,n=e.onFocus;return(0,h.tZ)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:W,value:"",onChange:function(){}})};function q(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Y(){return q(/^Mac/i)}var G=function(e){return e.label},J=function(e){return e.value},Q={clearIndicator:p.a,container:p.b,control:p.d,dropdownIndicator:p.e,group:p.g,groupHeading:p.f,indicatorsContainer:p.i,indicatorSeparator:p.h,input:p.j,loadingIndicator:p.l,loadingMessage:p.k,menu:p.m,menuList:p.n,menuPortal:p.o,multiValue:p.p,multiValueLabel:p.q,multiValueRemove:p.t,noOptionsMessage:p.u,option:p.v,placeholder:p.w,singleValue:p.x,valueContainer:p.y},X={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},ee={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,p.z)(),captureMenuScroll:!(0,p.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,o.Z)({ignoreCase:!0,ignoreAccents:!0,stringify:T,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,a=n.ignoreAccents,i=n.stringify,s=n.trim,l=n.matchFrom,u=s?R(t):t,c=s?R(i(e)):i(e);return r&&(u=u.toLowerCase(),c=c.toLowerCase()),a&&(u=O(u),c=k(c)),"start"===l?c.substr(0,u.length)===u:c.indexOf(u)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:G,getOptionValue:J,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,p.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function te(e,t,n,r){return{type:"option",data:t,isDisabled:ue(e,t,n),isSelected:ce(e,t,n),label:se(e,t),value:le(e,t),index:r}}function ne(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return te(e,n,t,r)})).filter((function(t){return ae(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=te(e,n,t,r);return ae(e,a)?a:void 0})).filter(p.K)}function re(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,d.Z)(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function oe(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,(0,d.Z)(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function ae(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,i=t.label,s=t.value;return(!fe(e)||!a)&&de(e,{label:i,value:s,data:o},r)}var ie=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},se=function(e,t){return e.getOptionLabel(t)},le=function(e,t){return e.getOptionValue(t)};function ue(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function ce(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=le(e,t);return n.some((function(t){return le(e,t)===r}))}function de(e,t,n){return!e.filterOption||e.filterOption(t,n)}var fe=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},pe=1,he=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,s.Z)(e,t)}(v,e);var t,n,a,h,m,g=(h=v,m=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=l(h);if(m){var n=l(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===(0,u.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,c.Z)(e)}(this,e)});function v(e){var t;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),(t=g.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:""},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.isAppleDevice=Y()||q(/^iPhone/i)||q(/^iPad/i)||Y()&&navigator.maxTouchPoints>1,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e}
vendor: 42,528 bytes, line 8
8,t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,a=r.name;n.name=a,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,a=o.closeMenuOnSelect,i=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),a&&(t.setState({inputIsHiddenAfterUpdate:!i}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,a=n.name,i=t.state.selectValue,s=o&&t.isOptionSelected(e,i),l=t.isOptionDisabled(e,i);if(s){var u=t.getOptionValue(e);t.setValue((0,p.B)(i.filter((function(e){return t.getOptionValue(e)!==u}))),"deselect-option",e)}else{if(l)return void t.ariaOnChange((0,p.C)(e),{action:"select-option",option:e,name:a});o?t.setValue((0,p.B)([].concat((0,d.Z)(i),[e])),"select-option",e):t.setValue((0,p.C)(e),"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),a=r.filter((function(e){return t.getOptionValue(e)!==o})),i=(0,p.D)(n,a,a[0]||null);t.onChange(i,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange((0,p.D)(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),a=(0,p.D)(e,o,o[0]||null);t.onChange(a,{action:"pop-value",removedValue:r})},t.getFocusedOptionId=function(e){return ie(t.state.focusableOptionsWithIds,e)},t.getFocusableOptionsWithIds=function(){return oe(ne(t.props,t.state.selectValue),t.getElementId("option"))},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return p.E.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return se(t.props,e)},t.getOptionValue=function(e){return le(t.props,e)},t.getStyles=function(e,n){var r=t.props.unstyled,o=Q[e](n,r);o.boxSizing="border-box";var a=t.props.styles[e];return a?a(o,n):o},t.getClassNames=function(e,n){var r,o;return null===(r=(o=t.props.classNames)[e])||void 0===r?void 0:r.call(o,n)},t.getElementId=function(e){return"".concat(t.state.instancePrefix,"-").concat(e)},t.getComponents=function(){return(0,p.F)(t.props)},t.buildCategorizedOptions=function(){return ne(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return re(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:(0,o.Z)({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,p.G)(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),a=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||a>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){if(!t.blockOptionHover&&t.state.focusedOption!==e){var n=t.getFocusableOptions().indexOf(e);t.setState({focusedOption:e,focusedOptionId:n>-1?t.getFocusedOptionId(e):null})}},t.shouldHideSelectedOptions=function(){return fe(t.props)},t.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),t.focus()},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,a=n.escapeClearsValue,i=n.inputValue,s=n.isClearable,l=n.isDisabled,u=n.menuIsOpen,c=n.onKeyDown,d=n.tabSelectsValue,f=n.openMenuOnFocus,p=t.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(l||"function"==typeof c&&(c(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||i)return;t.focusValue("previous");break;case"ArrowRight":if(!r||i)return;t.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!u||!d||!h||f&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(u){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":u?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:i}),t.onMenuClose()):s&&a&&t.clearValue();break;case" ":if(i)return;if(!u){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":u?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":u?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!u)return;t.focusOption("pageup");break;case"PageDown":if(!u)return;t.focusOption("pagedown");break;case"Home":if(!u)return;t.focusOption("first");break;case"End":if(!u)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.state.instancePrefix="react-select-"+(t.props.instanceId||++pe),t.state.selectValue=(0,p.H)(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.getFocusableOptionsWithIds(),r=t.buildFocusableOptions(),a=r.indexOf(t.state.selectValue[0]);t.state.focusableOptionsWithIds=n,t.state.focusedOption=r[a],t.state.focusedOptionId=ie(n,r[a])}return t}return t=v,n=[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,p.I)(this.menuListRef,this.focusedOptionRef)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,p.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(r[0]);s>-1&&(i=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i],focusedOptionId:this.getFocusedOptionId(a[i])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o<a&&(i=o+1)}this.setState({inputIsHidden:-1!==i,focusedValue:n[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(X):(0,o.Z)((0,o.Z)({},X),this.props.theme):X}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,a=this.selectOption,i=this.setValue,s=this.props,l=s.isMulti,u=s.isRtl,c=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:u,options:c,selectOption:a,selectProps:s,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return ue(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return ce(this.props,e,t)}},{key:"filterOption",value:function(e,t){return de(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,i=e.inputValue,s=e.tabIndex,l=e.form,u=e.menuIsOpen,c=e.required,d=this.getComponents().Input,h=this.state,m=h.inputIsHidden,g=h.ariaSelection,v=this.commonProps,y=a||this.getElementId("input"),b=(0,o.Z)((0,o.Z)((0,o.Z)({"aria-autocomplete":"list","aria-expanded":u,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.isAppleDevice?void 0:this.state.focusedOptionId||""},u&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==g?void 0:g.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?f.createElement(d,(0,r.Z)({},v,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:t,isHidden:m,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:i},b)):f.createElement(I,(0,r.Z)({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:p.J,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},b))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,a=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,u=this.commonProps,c=this.props,d=c.controlShouldRenderValue,p=c.isDisabled,h=c.isMulti,m=c.inputValue,g=c.placeholder,v=this.state,y=v.selectValue,b=v.focusedValue,w=v.isFocused;if(!this.hasValue()||!d)return m?null:f.createElement(l,(0,r.Z)({},u,{key:"placeholder",isDisabled:p,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return y.map((function(t,s){var l=t===b,c="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return f.createElement(n,(0,r.Z)({},u,{components:{Container:o,Label:a,Remove:i},isFocused:l,isDisabled:p,key:c,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(m)return null;var E=y[0];return f.createElement(s,(0,r.Z)({},u,{data:E,isDisabled:p}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return f.createElement(e,(0,r.Z)({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;return e&&a?f.createElement(e,(0,r.Z)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return f.createElement(n,(0,r.Z)({},o,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return f.createElement(e,(0,r.Z)({},t,{innerProps:a,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,a=t.Menu,i=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,u=t.NoOptionsMessage,c=t.Option,d=this.commonProps,h=this.state.focusedOption,m=this.props,g=m.captureMenuScroll,v=m.inputValue,y=m.isLoading,b=m.loadingMessage,w=m.minMenuHeight,E=m.maxMenuHeight,_=m.menuIsOpen,S=m.menuPlacement,D=m.menuPosition,x=m.menuPortalTarget,P=m.menuShouldBlockScroll,C=m.menuShouldScrollIntoView,k=m.noOptionsMessage,O=m.onMenuScrollToTop,R=m.onMenuScrollToBottom;if(!_)return null;var T,$=function(t,n){var o=t.type,a=t.data,i=t.isDisabled,s=t.isSelected,l=t.label,u=t.value,p=h===a,m=i?void 0:function(){return e.onOptionHover(a)},g=i?void 0:function(){return e.selectOption(a)},v="".concat(e.getElementId("option"),"-").concat(n),y={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1,role:"option","aria-selected":e.isAppleDevice?void 0:s};return f.createElement(c,(0,r.Z)({},d,{innerProps:y,data:a,isDisabled:i,isSelected:s,key:v,label:l,type:o,value:u,isFocused:p,innerRef:p?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())T=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,i=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),u="".concat(l,"-heading");return f.createElement(n,(0,r.Z)({},d,{key:l,data:a,options:i,Heading:o,headingProps:{id:u,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return $(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return $(t,"".concat(t.index))}));else if(y){var I=b({inputValue:v});if(null===I)return null;T=f.createElement(l,d,I)}else{var M=k({inputValue:v});if(null===M)return null;T=f.createElement(u,d,M)}var A={minMenuHeight:w,maxMenuHeight:E,menuPlacement:S,menuPosition:D,menuShouldScrollIntoView:C},N=f.createElement(p.M,(0,r.Z)({},d,A),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return f.createElement(a,(0,r.Z)({},d,A,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:y,placement:s}),f.createElement(z,{captureEnabled:g,onTopArrive:O,onBottomArrive:R,lockEnabled:P},(function(t){return f.createElement(i,(0,r.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:y,maxHeight:l,focusedOption:h}),T)})))}));return x||"fixed"===D?f.createElement(s,(0,r.Z)({},d,{appendTo:x,controlElement:this.controlRef,menuPlacement:S,menuPosition:D}),N):N}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,i=t.required,s=this.state.selectValue;if(i&&!this.hasValue()&&!r)return f.createElement(K,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(o){if(n){var l=s.map((function(t){return e.getOptionValue(t)})).join(n);return f.createElement("input",{name:a,type:"hidden",value:l})}var u=s.length>0?s.map((function(t,n){return f.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):f.createElement("input",{name:a,type:"hidden",value:""});return f.createElement("div",null,u)}var c=s[0]?this.getOptionValue(s[0]):"";return f.createElement("input",{name:a,type:"hidden",value:c})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,a=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return f.createElement(E,(0,r.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:a,isFocused:i,selectValue:s,focusableOptions:l,isAppleDevice:this.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,l=i.id,u=i.isDisabled,c=i.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return f.createElement(o,(0,r.Z)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:u,isFocused:d}),this.renderLiveRegion(),f.createElement(t,(0,r.Z)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:u,isFocused:d,menuIsOpen:c}),f.createElement(a,(0,r.Z)({},p,{isDisabled:u}),this.renderPlaceholderOrValue(),this.renderInput()),f.createElement(n,(0,r.Z)({},p,{isDisabled:u}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],a=[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,l=t.prevWasFocused,u=t.instancePrefix,c=e.options,d=e.value,f=e.menuIsOpen,h=e.inputValue,m=e.isMulti,g=(0,p.H)(d),v={};if(n&&(d!==n.value||c!==n.options||f!==n.menuIsOpen||h!==n.inputValue)){var y=f?function(e,t){return re(ne(e,t))}(e,g):[],b=f?oe(ne(e,g),"".concat(u,"-option")):[],w=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,g):null,E=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,y);v={selectValue:g,focusedOption:E,focusedOptionId:ie(b,E),focusableOptionsWithIds:b,focusedValue:w,clearFocusValueOnUpdate:!1}}var _=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},S=i,D=s&&l;return s&&!D&&(S={value:(0,p.D)(m,g,g[0]||null),options:g,action:"initial-input-focus"},D=!l),"initial-input-focus"===(null==i?void 0:i.action)&&(S=null),(0,o.Z)((0,o.Z)((0,o.Z)({},v),_),{},{prevProps:e,ariaSelection:S,prevWasFocused:D})}}],n&&i(t.prototype,n),a&&i(t,a),Object.defineProperty(t,"prototype",{writable:!1}),v}(f.Component);he.defaultProps=ee},8129:(e,t,n)=>{"use strict";n.d(t,{A:()=>P,B:()=>M,C:()=>I,D:()=>$,E:()=>g,F:()=>Oe,G:()=>w,H:()=>v,I:()=>D,J:()=>h,K:()=>T,M:()=>B,a:()=>se,b:()=>G,d:()=>fe,e:()=>ie,f:()=>me,g:()=>he,h:()=>le,i:()=>Q,j:()=>ve,k:()=>q,l:()=>ce,m:()=>Z,n:()=>z,o:()=>Y,p:()=>Ee,q:()=>_e,r:()=>A,s:()=>R,t:()=>Se,u:()=>K,v:()=>xe,w:()=>Pe,x:()=>Ce,y:()=>J,z:()=>x});var r=n(1413),o=n(7462),a=n(2003),i=n(885),s=n(5987),l=n(1002),u=n(3),c=n(9748),d=n(6200),f=n(3469),p=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],h=function(){};function m(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function g(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=[].concat(r);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&a.push("".concat(m(e,i)));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var v=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,l.Z)(e)&&null!==e?[e]:[];var t},y=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,s.Z)(e,p);return(0,r.Z)({},t)},b=function(e,t,n){var r=e.cx,o=e.getStyles,a=e.getClassNames,i=e.className;return{css:o(t,e),className:r(null!=n?n:{},a(t,e),i)}};function w(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function E(e){return w(e)?window.pageYOffset:e.scrollTop}function _(e,t){w(e)?window.scrollTo(0,t):e.scrollTop=t}function S(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:h,o=E(e),a=t-o,i=0;!function t(){var s,l=a*((s=(s=i+=10)/n-1)*s*s+1)+o;_(e,l),i<n?window.requestAnimationFrame(t):r(e)}()}function D(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?_(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&_(e,Math.max(t.offsetTop-o,0))}function x(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function P(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var C=!1,k={get passive(){return C=!0}},O="undefined"!=typeof window?window:{};O.addEventListener&&O.removeEventListener&&(O.addEventListener("p",h,k),O.removeEventListener("p",h,!1));var R=C;function T(e){return null!=e}function $(e,t,n){return e?t:n}function I(e){return e}function M(e){return e}var A=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return Object.entries(e).filter((function(e){var t=(0,i.Z)(e,1)[0];return!n.includes(t)})).reduce((function(e,t){var n=(0,i.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})},N=["children","innerProps"],j=["children","innerProps"];var L,F,V,U=function(e){return"auto"===e?"bottom":e},Z=function(e,t){var n,o=e.placement,a=e.theme,i=a.borderRadius,s=a.spacing,l=a.colors;return(0,r.Z)((n={label:"menu"},(0,u.Z)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,u.Z)(n,"position","absolute"),(0,u.Z)(n,"width","100%"),(0,u.Z)(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},H=(0,c.createContext)(null),B=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,a=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,u=e.theme,d=((0,c.useContext)(H)||{}).setPortalPlacement,p=(0,c.useRef)(null),h=(0,c.useState)(o),m=(0,i.Z)(h,2),g=m[0],v=m[1],y=(0,c.useState)(null),b=(0,i.Z)(y,2),D=b[0],x=b[1],P=u.spacing.controlHeight;return(0,f.Z)((function(){var e=p.current;if(e){var t="fixed"===s,r=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),u={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return u;var c,d=l.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,m=f.top,g=n.offsetParent.getBoundingClientRect().top,v=i||w(c=l)?window.innerHeight:c.clientHeight,y=E(l),b=parseInt(getComputedStyle(n).marginBottom,10),D=parseInt(getComputedStyle(n).marginTop,10),x=g-D,P=v-m,C=x+y,k=d-y-m,O=p-v+y+b,R=y+m-D,T=160;switch(o){case"auto":case"bottom":if(P>=h)return{placement:"bottom",maxHeight:t};if(k>=h&&!i)return a&&S(l,O,T),{placement:"bottom",maxHeight:t};if(!i&&k>=r||i&&P>=r)return a&&S(l,O,T),{placement:"bottom",maxHeight:i?P-b:k-b};if("auto"===o||i){var $=t,I=i?x:C;return I>=r&&($=Math.min(I-b-s,t)),{placement:"top",maxHeight:$}}if("bottom"===o)return a&&_(l,O),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(C>=h&&!i)return a&&S(l,R,T),{placement:"top",maxHeight:t};if(!i&&C>=r||i&&x>=r){var M=t;return(!i&&C>=r||i&&x>=r)&&(M=i?x-D:C-D),a&&S(l,R,T),{placement:"top",maxHeight:M}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return u}({maxHeight:o,menuEl:e,minHeight:n,placement:a,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:P});v(r.maxHeight),x(r.placement),null==d||d(r.placement)}}),[o,a,s,l,n,d,P]),t({ref:p,placerProps:(0,r.Z)((0,r.Z)({},e),{},{placement:D||U(a),maxHeight:g})})},z=function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,r.Z)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},W=function(e,t){var n=e.theme,o=n.spacing.baseUnit,a=n.colors;return(0,r.Z)({textAlign:"center"},t?{}:{color:a.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},K=W,q=W,Y=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},G=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},J=function(e,t){var n=e.theme.spacing,o=e.isMulti,a=e.hasValue,i=e.selectProps.controlShouldRenderValue;return(0,r.Z)({alignItems:"center",display:o&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},Q=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},X=["size"],ee=["innerProps","isRtl","size"],te={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},ne=function(e){var t=e.size,n=(0,s.Z)(e,X);return(0,a.tZ)("svg",(0,o.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:te},n))},re=function(e){return(0,a.tZ)(ne,(0,o.Z)({size:20},e),(0,a.tZ)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},oe=function(e){return(0,a.tZ)(ne,(0,o.Z)({size:20},e),(0,a.tZ)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},ae=function(e,t){var n=e.isFocused,o=e.theme,a=o.spacing.baseUnit,i=o.colors;return(0,r.Z)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a,":hover":{color:n?i.neutral80:i.neutral40}})},ie=ae,se=ae,le=function(e,t){var n=e.isDisabled,o=e.theme,a=o.spacing.baseUnit,i=o.colors;return(0,r.Z)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*a,marginTop:2*a})},ue=(0,a.F4)(L||(F=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],V||(V=F.slice(0)),L=Object.freeze(Object.defineProperties(F,{raw:{value:Object.freeze(V)}})))),ce=function(e,t){var n=e.isFocused,o=e.size,a=e.theme,i=a.colors,s=a.spacing.baseUnit;return(0,r.Z)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},de=function(e){var t=e.delay,n=e.offset;return(0,a.tZ)("span",{css:(0,a.iv)({animation:"".concat(ue," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},fe=function(e,t){var n=e.isDisabled,o=e.isFocused,a=e.theme,i=a.colors,s=a.borderRadius,l=a.spacing;return(0,r.Z)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},pe=["data"],he=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},me=function(e,t){var n=e.theme,o=n.colors,a=n.spacing;return(0,r.Z)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*a.baseUnit,paddingRight:3*a.baseUnit,textTransform:"uppercase"})},ge=["innerRef","isDisabled","isHidden","inputClassName"],ve=function(e,t){var n=e.isDisabled,o=e.value,a=e.theme,i=a.spacing,s=a.colors;return(0,r.Z)((0,r.Z)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},be),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},ye={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},be={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.Z)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ye)},we=function(e){return(0,r.Z)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},ye)},Ee=function(e,t){var n=e.theme,o=n.spacing,a=n.borderRadius,i=n.colors;return(0,r.Z)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:a/2,margin:o.baseUnit/2})},_e=function(e,t){var n=e.theme,o=n.borderRadius,a=n.colors,i=e.cropWithEllipsis;return(0,r.Z)({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Se=function(e,t){var n=e.theme,o=n.spacing,a=n.borderRadius,i=n.colors,s=e.isFocused;return(0,r.Z)({alignItems:"center",display:"flex"},t?{}:{borderRadius:a/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},De=function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",n,t)},xe=function(e,t){var n=e.isDisabled,o=e.isFocused,a=e.isSelected,i=e.theme,s=i.spacing,l=i.colors;return(0,r.Z)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:a?l.primary:o?l.primary25:"transparent",color:n?l.neutral20:a?l.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:a?l.primary:l.primary50}})},Pe=function(e,t){var n=e.theme,o=n.spacing,a=n.colors;return(0,r.Z)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:a.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},Ce=function(e,t){var n=e.isDisabled,o=e.theme,a=o.spacing,i=o.colors;return(0,r.Z)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},ke={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,a.tZ)(re,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return(0,a.tZ)("div",(0,o.Z)({ref:i},b(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":l}),s,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,a.tZ)(oe,null))},DownChevron:oe,CrossIcon:re,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,u=e.innerProps,c=e.label,d=e.theme,f=e.selectProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"group",{group:!0}),u),(0,a.tZ)(s,(0,o.Z)({},l,{selectProps:f,theme:d,getStyles:r,getClassNames:i,cx:n}),c),(0,a.tZ)("div",null,t))},GroupHeading:function(e){var t=y(e);t.data;var n=(0,s.Z)(t,pe);return(0,a.tZ)("div",(0,o.Z)({},b(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,a.tZ)("span",(0,o.Z)({},t,b(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=y(e),i=r.innerRef,l=r.isDisabled,u=r.isHidden,c=r.inputClassName,d=(0,s.Z)(r,ge);return(0,a.tZ)("div",(0,o.Z)({},b(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,a.tZ)("input",(0,o.Z)({className:t({input:!0},c),ref:i,style:we(u),disabled:l},d)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,l=void 0===i?4:i,u=(0,s.Z)(e,ee);return(0,a.tZ)("div",(0,o.Z)({},b((0,r.Z)((0,r.Z)({},u),{},{innerProps:t,isRtl:n,size:l}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,a.tZ)(de,{delay:0,offset:n}),(0,a.tZ)(de,{delay:160,offset:!0}),(0,a.tZ)(de,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return(0,a.tZ)("div",(0,o.Z)({},b(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,s=e.controlElement,l=e.innerProps,u=e.menuPlacement,p=e.menuPosition,h=(0,c.useRef)(null),m=(0,c.useRef)(null),g=(0,c.useState)(U(u)),v=(0,i.Z)(g,2),y=v[0],w=v[1],E=(0,c.useMemo)((function(){return{setPortalPlacement:w}}),[]),_=(0,c.useState)(null),S=(0,i.Z)(_,2),D=S[0],x=S[1],P=(0,c.useCallback)((function(){if(s){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(s),t="fixed"===p?0:window.pageYOffset,n=e[y]+t;n===(null==D?void 0:D.offset)&&e.left===(null==D?void 0:D.rect.left)&&e.width===(null==D?void 0:D.rect.width)||x({offset:n,rect:e})}}),[s,p,y,null==D?void 0:D.offset,null==D?void 0:D.rect.left,null==D?void 0:D.rect.width]);(0,f.Z)((function(){P()}),[P]);var C=(0,c.useCallback)((function(){"function"==typeof m.current&&(m.current(),m.current=null),s&&h.current&&(m.current=(0,d.Me)(s,h.current,P,{elementResize:"ResizeObserver"in window}))}),[s,P]);(0,f.Z)((function(){C()}),[C]);var k=(0,c.useCallback)((function(e){h.current=e,C()}),[C]);if(!t&&"fixed"!==p||!D)return null;var O=(0,a.tZ)("div",(0,o.Z)({ref:k},b((0,r.Z)((0,r.Z)({},e),{},{offset:D.offset,position:p,rect:D.rect}),"menuPortal",{"menu-portal":!0}),l),n);return(0,a.tZ)(H.Provider,{value:E},t?(0,c.createPortal)(O,t):O)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,l=(0,s.Z)(e,j);return(0,a.tZ)("div",(0,o.Z)({},b((0,r.Z)((0,r.Z)({},l),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,i=e.innerProps,l=(0,s.Z)(e,N);return(0,a.tZ)("div",(0,o.Z)({},b((0,r.Z)((0,r.Z)({},l),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,i=e.innerProps,s=e.isDisabled,l=e.removeProps,u=e.selectProps,c=n.Container,d=n.Label,f=n.Remove;return(0,a.tZ)(c,{data:o,innerProps:(0,r.Z)((0,r.Z)({},b(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:u},(0,a.tZ)(d,{data:o,innerProps:(0,r.Z)({},b(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:u},t),(0,a.tZ)(f,{data:o,innerProps:(0,r.Z)((0,r.Z)({},b(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},l),selectProps:u}))},MultiValueContainer:De,MultiValueLabel:De,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({role:"button"},n),t||(0,a.tZ)(re,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:s,"aria-disabled":n},l),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return(0,a.tZ)("div",(0,o.Z)({},b(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,a.tZ)("div",(0,o.Z)({},b(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return(0,a.tZ)("div",(0,o.Z)({},b(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Oe=function(e){return(0,r.Z)((0,r.Z)({},ke),e.components)}},3157:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>s});var r=n(5342),o=n(7462),a=n(9748),i=n(7197),s=(n(6751),n(3469),(0,a.forwardRef)((function(e,t){var n=(0,r.u)(e);return a.createElement(i.S,(0,o.Z)({ref:t},n))})))},5342:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(1413),o=n(885),a=n(5987),i=n(9748),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function l(e){var t=e.defaultInputValue,n=void 0===t?"":t,l=e.defaultMenuIsOpen,u=void 0!==l&&l,c=e.defaultValue,d=void 0===c?null:c,f=e.inputValue,p=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,v=e.onMenuOpen,y=e.value,b=(0,a.Z)(e,s),w=(0,i.useState)(void 0!==f?f:n),E=(0,o.Z)(w,2),_=E[0],S=E[1],D=(0,i.useState)(void 0!==p?p:u),x=(0,o.Z)(D,2),P=x[0],C=x[1],k=(0,i.useState)(void 0!==y?y:d),O=(0,o.Z)(k,2),R=O[0],T=O[1],$=(0,i.useCallback)((function(e,t){"function"==typeof h&&h(e,t),T(e)}
8),[h]),I=(0,i.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),S(void 0!==n?n:e)}),[m]),M=(0,i.useCallback)((function(){"function"==typeof v&&v(),C(!0)}),[v]),A=(0,i.useCallback)((function(){"function"==typeof g&&g(),C(!1)}),[g]),N=void 0!==f?f:_,j=void 0!==p?p:P,L=void 0!==y?y:R;return(0,r.Z)((0,r.Z)({},b),{},{inputValue:N,menuIsOpen:j,onChange:$,onInputChange:I,onMenuClose:A,onMenuOpen:M,value:L})}},9670:(e,t,n)=>{"use strict";n.d(t,{Z:()=>w});var r=n(7462),o=n(3366),a=n(4578);function i(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(9748);var l=n(220),u=function(e){return e.scrollTop},c="unmounted",d="exited",f="entering",p="entered",h="exiting",m=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,a=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?a?(o=d,r.appearStatus=f):o=p:o=t.unmountOnExit||t.mountOnEnter?c:d,r.state={status:o},r.nextCallback=null,r}(0,a.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==f&&n!==p&&(t=f):n!==f&&n!==p||(t=h)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===f){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:s.default.findDOMNode(this);n&&u(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[s.default.findDOMNode(this),r],a=o[0],i=o[1],l=this.getTimeouts(),u=r?l.appear:l.enter;e||n?(this.props.onEnter(a,i),this.safeSetState({status:f},(function(){t.props.onEntering(a,i),t.onTransitionEnd(u,(function(){t.safeSetState({status:p},(function(){t.props.onEntered(a,i)}))}))}))):this.safeSetState({status:p},(function(){t.props.onEntered(a)}))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:s.default.findDOMNode(this);t?(this.props.onExit(r),this.safeSetState({status:h},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:s.default.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=o[0],i=o[1];this.props.addEndListener(a,i)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,o.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s.default.createElement(l.Z.Provider,{value:null},"function"==typeof n?n(e,r):s.default.cloneElement(s.default.Children.only(n),r))},t}(s.default.Component);function g(){}m.contextType=l.Z,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
vendor: 4,111 bytes, line 8
8:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=c,m.EXITED=d,m.ENTERING=f,m.ENTERED=p,m.EXITING=h;const v=m;var y=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=i(n.className,r):n.setAttribute("class",i(n.className&&n.className.baseVal||"",r)));var n,r}))},b=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1];t.removeClasses(o,"exit"),t.addClass(o,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.addClass(o,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],a=r[1]?"appear":"enter";t.removeClasses(o,a),t.addClass(o,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}(0,a.Z)(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&u(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,a=n.done;this.appliedClasses[t]={},r&&y(e,r),o&&y(e,o),a&&y(e,a)},n.render=function(){var e=this.props,t=(e.classNames,(0,o.Z)(e,["classNames"]));return s.default.createElement(v,(0,r.Z)({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(s.default.Component);b.defaultProps={classNames:""},b.propTypes={};const w=b},4537:(e,t,n)=>{"use strict";n.d(t,{Z:()=>h});var r=n(3366),o=n(7462),a=n(7326),i=n(4578),s=n(9748),l=n(220);function u(e,t){var n=Object.create(null);return e&&s.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,s.isValidElement)(e)?t(e):e}(e)})),n}function c(e,t,n){return null!=n[t]?n[t]:e.props[t]}function d(e,t,n){var r=u(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),a=[];for(var i in e)i in t?a.length&&(o[i]=a,a=[]):a.push(i);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<a.length;r++)s[a[r]]=n(a[r]);return s}(t,r);return Object.keys(o).forEach((function(a){var i=o[a];if((0,s.isValidElement)(i)){var l=a in t,u=a in r,d=t[a],f=(0,s.isValidElement)(d)&&!d.props.in;!u||l&&!f?u||!l||f?u&&l&&(0,s.isValidElement)(d)&&(o[a]=(0,s.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:c(i,"exit",e),enter:c(i,"enter",e)})):o[a]=(0,s.cloneElement)(i,{in:!1}):o[a]=(0,s.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:c(i,"exit",e),enter
8:c(i,"enter",e)})}})),o}var f=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},p=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind((0,a.Z)(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}(0,i.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,a=t.handleExited;return{children:t.firstRender?(n=e,r=a,u(n.children,(function(e){return(0,s.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:c(e,"appear",n),enter:c(e,"enter",n),exit:c(e,"exit",n)})}))):d(e,o,a),firstRender:!1}},n.handleExited=function(e,t){var n=u(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=(0,o.Z)({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,o=(0,r.Z)(e,["component","childFactory"]),a=this.state.contextValue,i=f(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?s.default.createElement(l.Z.Provider,{value:a},i):s.default.createElement(l.Z.Provider,{value:a},s.default.createElement(t,o,i))},t}(s.default.Component);p.propTypes={},p.defaultProps={component:"div",childFactory:function(e){return e}};const h=p},220:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(9748).default.createContext(null)},1150:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(9748);function o(e){return e?e.scrollTop:window.scrollY||window.pageYOffset||document.body.scrollTop||document.documentElement&&document.documentElement.scrollTop||0}function a(e){return e?e.scrollLeft:window.scrollX||window.pageXOffset||document.body.scrollLeft||document.documentElement&&document.documentElement.scrollLeft||0}function i(e){var t=(0,r.useState)(),n=t[0],i=t[1],s=(0,r.useState)(),l=s[0],u=s[1],c=(0,r.useState)(null),d=c[0],f=c[1],p=l||n,h=null!==d,m="LEFT"===d||"RIGHT"===d,g="UP"===d||"DOWN"===d,v="UP"===d,y="DOWN"===d,b="LEFT"===d,w="RIGHT"===d,E=(0,r.useCallback)((function(e){i(e)}),[]);return(0,r.useEffect)((function(){u(e)}),[e]),(0,r.useEffect)((function(){if("object"==typeof window){var e,t=o(p),n=a(p),r=function(){window.clearTimeout(e),e=window.setTimeout((function(){f(null)}),66);var r=o(p);r>t?f("DOWN"):r<t&&f("UP"),t=r;var i=a(p);i>n?f("RIGHT"):i<n&&f("LEFT"),n=i};return function(e,t){void 0===t&&(t=document),t.addEventListener("scroll",e)}(r,p),function(){return function(e,t){return void 0===t&&(t=document),t.removeEventListener("scroll",e)}(r,p)}}}),[p]),{isScrolling:h,isScrollingX:m,isScrollingY:g,isScrollingUp:v,isScrollingDown:y,isScrollingLeft:b,isScrollingRight:w,scrollDirection:d,scrollTargetRef:E}}},3697:(e,t,n)=>{"use strict";var r=n(8052),o=Object,a=TypeError;e.exports=r((function(){if(null!=this&&this!==o(this))throw new a("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)},2847:(e,t,n)=>{"use strict";var r=n(4289),o=n(5559),a=n(3697),i=n(1721),s=n(2753),l=o(i());r(l,{getPolyfill:i,implementation:a,shim:s}),e.exports=l},1721:(e,t,n)=>{"use strict";var r=n(3697),o=n(4289).supportsDescriptors,a=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=a(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return r}},2753:(e,t,n)=>{"use strict";var r=n(4289).supportsDescriptors,o=n(1721),a=Object.getOwnPropertyDescriptor,i=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,u=/a/;e.exports=function(){if(!r||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=l(u),n=a(t,"flags");return n&&n.get===e||i(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},7771:(e,t,n)=>{"use strict";var r=n(210),o=n(5511),a=n(3596)(),i=n(7296),s=n(4453),l=r("%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>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,u=!0;if("length"in e&&i){var c=i(e,"length");c&&!c.configurable&&(r=!1),c&&!c.writable&&(u=!1)}return(r||u||!n)&&(a?o(e,"length",t,!0,!0):o(e,"length",t)),e}}
8,8052:(e,t,n)=>{"use strict";var r=n(5511),o=n(3596)(),a=n(5972).functionsHaveConfigurableNames(),i=TypeError;e.exports=function(e,t){if("function"!=typeof e)throw new i("`fn` is not a function");return arguments.length>2&&!!arguments[2]&&!a||(o?r(e,"name",t,!0,!0):r(e,"name",t)),e}},7478:(e,t,n)=>{"use strict";var r=n(210),o=n(1924),a=n(631),i=r("%TypeError%"),s=r("%WeakMap%",!0),l=r("%Map%",!0),u=o("WeakMap.prototype.get",!0),c=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new i("Side channel does not contain "+a(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return u(e,r)}else if(l){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),c(e,r,o)):l?(t||(t=new l),p(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},1476:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(5174)),o=n(6678);function a(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}a.default=a,e.exports=a},6678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(i,l):e.replace(a,l)).replace(r,s))}},5174:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(8139));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),a="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;a?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},540:function(e,t){!function(e){"use strict";function t(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t.length>1){t[0]=t[0].slice(0,-1);for(var r=t.length-1,o=1;o<r;++o)t[o]=t[o].slice(1,-1);return t[r]=t[r].slice(1),t.join("")}return t[0]}function n(e){return"(?:"+e+")"}function r(e){return void 0===e?"undefined":null===e?"null":Object.prototype.toString.call(e).split(" ").pop().split("]").shift().toLowerCase()}function o(e){return e.toUpperCase()}function a(e){var r="[A-Za-z]",o="[0-9]",a=t(o,"[A-Fa-f]"),i=n(n("%[EFef]"+a+"%"+a+a+"%"+a+a)+"|"+n("%[89A-Fa-f]"+a+"%"+a+a)+"|"+n("%"+a+a)),s="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",l=t("[\\:\\/\\?\\#\\[\\]\\@]",s),u=e?"[\\uE000-\\uF8FF]":"[]",c=t(r,o,"[\\-\\.\\_\\~]",e?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]"),d=n(r+t(r,o,"[\\+\\-\\.]")+"*"),f=n(n(i+"|"+t(c,s,"[\\:]"))+"*"),p=(n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("[1-9]"+o)+"|"+o),n(n("25[0-5]")+"|"+n("2[0-4]"+o)+"|"+n("1"+o+o)+"|"+n("0?[1-9]"+o)+"|0?0?"+o)),h=n(p+"\\."+p+"\\."+p+"\\."+p),m=n(a+"{1,4}"),g=n(n(m+"\\:"+m)+"|"+h),v=n(n(m+"\\:")+"{6}"+g),y=n("\\:\\:"+n(m+"\\:")+"{5}"+g),b=n(n(m)+"?\\:\\:"+n(m+"\\:")+"{4}"+g),w=n(n(n(m+"\\:")+"{0,1}"+m)+"?\\:\\:"+n(m+"\\:")+"{3}"+g),E=n(n(n(m+"\\:")+"{0,2}"+m)+"?\\:\\:"+n(m+"\\:")+"{2}"+g),_=n(n(n(m+"\\:")+"{0,3}"+m)+"?\\:\\:"+m+"\\:"+g),S=n(n(n(m+"\\:")+"{0,4}"+m)+"?\\:\\:"+g),D=n(n(n(m+"\\:")+"{0,5}"+m)+"?\\:\\:"+m),x=n(n(n(m+"\\:")+"{0,6}"+m)+"?\\:\\:"),P=n([v,y,b,w,E,_,S,D,x].join("|")),C=n(n(c+"|"+i)+"+"),k=(n(P+"\\%25"
8+C),n(P+n("\\%25|\\%(?!"+a+"{2})")+C)),O=n("[vV]"+a+"+\\."+t(c,s,"[\\:]")+"+"),R=n("\\["+n(k+"|"+P+"|"+O)+"\\]"),T=n(n(i+"|"+t(c,s))+"*"),$=n(R+"|"+h+"(?!"+T+")|"+T),I=n(o+"*"),M=n(n(f+"@")+"?"+$+n("\\:"+I)+"?"),A=n(i+"|"+t(c,s,"[\\:\\@]")),N=n(A+"*"),j=n(A+"+"),L=n(n(i+"|"+t(c,s,"[\\@]"))+"+"),F=n(n("\\/"+N)+"*"),V=n("\\/"+n(j+F)+"?"),U=n(L+F),Z=n(j+F),H="(?!"+A+")",B=(n(F+"|"+V+"|"+U+"|"+Z+"|"+H),n(n(A+"|"+t("[\\/\\?]",u))+"*")),z=n(n(A+"|[\\/\\?]")+"*"),W=n(n("\\/\\/"+M+F)+"|"+V+"|"+Z+"|"+H),K=n(d+"\\:"+W+n("\\?"+B)+"?"+n("\\#"+z)+"?"),q=n(n("\\/\\/"+M+F)+"|"+V+"|"+U+"|"+H),Y=n(q+n("\\?"+B)+"?"+n("\\#"+z)+"?");return n(K+"|"+Y),n(d+"\\:"+W+n("\\?"+B)+"?"),n(n("\\/\\/("+n("("+f+")@")+"?("+$+")"+n("\\:("+I+")")+"?)")+"?("+F+"|"+V+"|"+Z+"|"+H+")"),n("\\?("+B+")"),n("\\#("+z+")"),n(n("\\/\\/("+n("("+f+")@")+"?("+$+")"+n("\\:("+I+")")+"?)")+"?("+F+"|"+V+"|"+U+"|"+H+")"),n("\\?("+B+")"),n("\\#("+z+")"),n(n("\\/\\/("+n("("+f+")@")+"?("+$+")"+n("\\:("+I+")")+"?)")+"?("+F+"|"+V+"|"+Z+"|"+H+")"),n("\\?("+B+")"),n("\\#("+z+")"),n("("+f+")@"),n("\\:("+I+")"),{NOT_SCHEME:new RegExp(t("[^]",r,o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",c,s),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",c,s),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",c,s),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",c,s),"g"),NOT_QUERY:new RegExp(t("[^\\%]",c,s,"[\\:\\@\\/\\?]",u),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",c,s,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",c,s),"g"),UNRESERVED:new RegExp(c,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",c,l),"g"),PCT_ENCODED:new RegExp(i,"g"),IPV4ADDRESS:new RegExp("^("+h+")$"),IPV6ADDRESS:new RegExp("^\\[?("+P+")"+n(n("\\%25|\\%(?!"+a+"{2})")+"("+C+")")+"?\\]?$")}}var i=a(!1),s=a(!0),l=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,a=void 0;try{for(var i,s=e[Symbol.iterator]();!(r=(i=s.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw a}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},u=2147483647,c=36,d=/^xn--/,f=/[^\0-\x7E]/,p=/[\x2E\u3002\uFF0E\uFF61]/g,h={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},m=Math.floor,g=String.fromCharCode;function v(e){throw new RangeError(h[e])}function y(e,t){var n=e.split("@"),r="";return n.length>1&&(r=n[0]+"@",e=n[1]),r+function(e,t){for(var n=[],r=e.length;r--;)n[r]=t(e[r]);return n}((e=e.replace(p,".")).split("."),t).join(".")}function b(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var a=e.charCodeAt(n++);56320==(64512&a)?t.push(((1023&o)<<10)+(1023&a)+65536):(t.push(o),n--)}else t.push(o)}return t}var w=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},E=function(e,t,n){var r=0;for(e=n?m(e/700):e>>1,e+=m(e/t);e>455;r+=c)e=m(e/35);return m(r+36*e/(e+38))},_=function(e){var t,n=[],r=e.length,o=0,a=128,i=72,s=e.lastIndexOf("-");s<0&&(s=0);for(var l=0;l<s;++l)e.charCodeAt(l)>=128&&v("not-basic"),n.push(e.charCodeAt(l));for(var d=s>0?s+1:0;d<r;){for(var f=o,p=1,h=c;;h+=c){d>=r&&v("invalid-input");var g=(t=e.charCodeAt(d++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:c;(g>=c||g>m((u-o)/p))&&v("overflow"),o+=g*p;var y=h<=i?1:h>=i+26?26:h-i;if(g<y)break;var b=c-y;p>m(u/b)&&v("overflow"),p*=b}var w=n.length+1;i=E(o-f,w,0==f),m(o/w)>u-a&&v("overflow"),a+=m(o/w),o%=w,n.splice(o++,0,a)}return String.fromCodePoint.apply(String,n)},S=function(e){var t=[],n=(e=b(e)).length,r=128,o=0,a=72,i=!0,s=!1,l=void 0;try{for(var d,f=e[Symbol.iterator]();!(i=(d=f.next()).done);i=!0){var p=d.value;p<128&&t.push(g(p))}}catch(e){s=!0,l=e}finally{try{!i&&f.return&&f.return()}finally{if(s)throw l}}var h=t.length,y=h;for(h&&t.push("-");y<n;){var _=u,S=!0,D=!1,x=void 0;try{for(var P,C=e[Symbol.iterator]();!(S=(P=C.next()).done);S=!0){var k=P.value;k>=r&&k<_&&(_=k)}}catch(e){D=!0,x=e}finally{try{!S&&C.return&&C.return()}finally{if(D)throw x}}var O=y+1;_-r>m((u-o)/O)&&v("overflow"),o+=(_-r)*O,r=_;var R=!0,T=!1,$=void 0;try{for(var I,M=e[Symbol.iterator]();!(R=(I=M.next()).done);R=!0){var A=I.value;if(A<r&&++o>u&&v("overflow"),A==r){for(var N=o,j=c;;j+=c){var L=j<=a?1:j>=a+26?26:j-a;if(N<L)break;var F=N-L,V=c-L;t.push(g(w(L+F%V,0))),N=m(F/V)}t.push(g(w(N,0))),a=E(o,O,y==h),o=0,++y}}}catch(e){T=!0,$=e}finally{try{!R&&M.return&&M.return()}finally{if(T)throw $}}++o,++r}return t.join("")},D={version:"2.1.0",ucs2:{decode:b,encode:function(e){return String.fromCodePoint.apply(String,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(e))}},decode:_,encode:S,toASCII:function(e){return y(e,(function(e){return f.test(e)?"xn--"+S(e):e}))},toUnicode:function(e){return y(e,(function(e){return d.test(e)?_(e.slice(4).toLowerCase()):e}))}},x={};function P(e){var t=e.charCodeAt(0);return t<16?"%0"+t.toString(16).toUpperCase():t<128?"%"+t.toString(16).toUpperCase():t<2048?"%"+(t>>6|192).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase():"%"+(t>>12|224).toString(16).toUpperCase()+"%"+(t>>6&63|128).toString(16).toUpperCase()+"%"+(63&t|128).toString(16).toUpperCase()}function C(e){for(var t="",n=0,r=e.length;n<r;){var o=parseInt(e.substr(n+1,2),16);if(o<128)t+=String.fromCharCode(o),n+=3;else if(o>=194&&o<224){if(r-n>=6){var a=parseInt(e.substr(n+4,2),16);t+=String.fromCharCode((31&o)<<6|63&a)}else t+=e.substr(n,6);n+=6}else if(o>=224){if(r-n>=9){var i=parseInt(e.substr(n+4,2),16),s=parseInt(e.substr(n+7,2),16);
8t+=String.fromCharCode((15&o)<<12|(63&i)<<6|63&s)}else t+=e.substr(n,9);n+=9}else t+=e.substr(n,3),n+=3}return t}function k(e,t){function n(e){var n=C(e);return n.match(t.UNRESERVED)?n:e}return e.scheme&&(e.scheme=String(e.scheme).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_SCHEME,"")),void 0!==e.userinfo&&(e.userinfo=String(e.userinfo).replace(t.PCT_ENCODED,n).replace(t.NOT_USERINFO,P).replace(t.PCT_ENCODED,o)),void 0!==e.host&&(e.host=String(e.host).replace(t.PCT_ENCODED,n).toLowerCase().replace(t.NOT_HOST,P).replace(t.PCT_ENCODED,o)),void 0!==e.path&&(e.path=String(e.path).replace(t.PCT_ENCODED,n).replace(e.scheme?t.NOT_PATH:t.NOT_PATH_NOSCHEME,P).replace(t.PCT_ENCODED,o)),void 0!==e.query&&(e.query=String(e.query).replace(t.PCT_ENCODED,n).replace(t.NOT_QUERY,P).replace(t.PCT_ENCODED,o)),void 0!==e.fragment&&(e.fragment=String(e.fragment).replace(t.PCT_ENCODED,n).replace(t.NOT_FRAGMENT,P).replace(t.PCT_ENCODED,o)),e}function O(e){return e.replace(/^0*(.*)/,"$1")||"0"}function R(e,t){var n=e.match(t.IPV4ADDRESS)||[],r=l(n,2)[1];return r?r.split(".").map(O).join("."):e}function T(e,t){var n=e.match(t.IPV6ADDRESS)||[],r=l(n,3),o=r[1],a=r[2];if(o){for(var i=o.toLowerCase().split("::").reverse(),s=l(i,2),u=s[0],c=s[1],d=c?c.split(":").map(O):[],f=u.split(":").map(O),p=t.IPV4ADDRESS.test(f[f.length-1]),h=p?7:8,m=f.length-h,g=Array(h),v=0;v<h;++v)g[v]=d[v]||f[m+v]||"";p&&(g[h-1]=R(g[h-1],t));var y=g.reduce((function(e,t,n){if(!t||"0"===t){var r=e[e.length-1];r&&r.index+r.length===n?r.length++:e.push({index:n,length:1})}return e}),[]).sort((function(e,t){return t.length-e.length}))[0],b=void 0;if(y&&y.length>1){var w=g.slice(0,y.index),E=g.slice(y.index+y.length);b=w.join(":")+"::"+E.join(":")}else b=g.join(":");return a&&(b+="%"+a),b}return e}var $=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,I=void 0==="".match(/(){0}/)[1];function M(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={},r=!1!==t.iri?s:i;"suffix"===t.reference&&(e=(t.scheme?t.scheme+":":"")+"//"+e);var o=e.match($);if(o){I?(n.scheme=o[1],n.userinfo=o[3],n.host=o[4],n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=o[7],n.fragment=o[8],isNaN(n.port)&&(n.port=o[5])):(n.scheme=o[1]||void 0,n.userinfo=-1!==e.indexOf("@")?o[3]:void 0,n.host=-1!==e.indexOf("//")?o[4]:void 0,n.port=parseInt(o[5],10),n.path=o[6]||"",n.query=-1!==e.indexOf("?")?o[7]:void 0,n.fragment=-1!==e.indexOf("#")?o[8]:void 0,isNaN(n.port)&&(n.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:void 0)),n.host&&(n.host=T(R(n.host,r),r)),void 0!==n.scheme||void 0!==n.userinfo||void 0!==n.host||void 0!==n.port||n.path||void 0!==n.query?void 0===n.scheme?n.reference="relative":void 0===n.fragment?n.reference="absolute":n.reference="uri":n.reference="same-document",t.reference&&"suffix"!==t.reference&&t.reference!==n.reference&&(n.error=n.error||"URI is not a "+t.reference+" reference.");var a=x[(t.scheme||n.scheme||"").toLowerCase()];if(t.unicodeSupport||a&&a.unicodeSupport)k(n,r);else{if(n.host&&(t.domainHost||a&&a.domainHost))try{n.host=D.toASCII(n.host.replace(r.PCT_ENCODED,C).toLowerCase())}catch(e){n.error=n.error||"Host's domain name can not be converted to ASCII via punycode: "+e}k(n,i)}a&&a.parse&&a.parse(n,t)}else n.error=n.error||"URI can not be parsed.";return n}var A=/^\.\.?\//,N=/^\/\.(\/|$)/,j=/^\/\.\.(\/|$)/,L=/^\/?(?:.|\n)*?(?=\/|$)/;function F(e){for(var t=[];e.length;)if(e.match(A))e=e.replace(A,"");else if(e.match(N))e=e.replace(N,"/");else if(e.match(j))e=e.replace(j,"/"),t.pop();else if("."===e||".."===e)e="";else{var n=e.match(L);if(!n)throw new Error("Unexpected dot segment condition");var r=n[0];e=e.slice(r.length),t.push(r)}return t.join("")}function V(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.iri?s:i,r=[],o=x[(t.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize&&o.serialize(e,t),e.host)if(n.IPV6ADDRESS.test(e.host));else if(t.domainHost||o&&o.domainHost)try{e.host=t.iri?D.toUnicode(e.host):D.toASCII(e.host.replace(n.PCT_ENCODED,C).toLowerCase())}catch(n){e.error=e.error||"Host's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+n}k(e,n),"suffix"!==t.reference&&e.scheme&&(r.push(e.scheme),r.push(":"));var a=function(e,t){var n=!1!==t.iri?s:i,r=[];return void 0!==e.userinfo&&(r.push(e.userinfo),r.push("@")),void 0!==e.host&&r.push(T(R(String(e.host),n),n).replace(n.IPV6ADDRESS,
8(function(e,t,n){return"["+t+(n?"%25"+n:"")+"]"}))),"number"!=typeof e.port&&"string"!=typeof e.port||(r.push(":"),r.push(String(e.port))),r.length?r.join(""):void 0}(e,t);if(void 0!==a&&("suffix"!==t.reference&&r.push("//"),r.push(a),e.path&&"/"!==e.path.charAt(0)&&r.push("/")),void 0!==e.path){var l=e.path;t.absolutePath||o&&o.absolutePath||(l=F(l)),void 0===a&&(l=l.replace(/^\/\//,"/%2F")),r.push(l)}return void 0!==e.query&&(r.push("?"),r.push(e.query)),void 0!==e.fragment&&(r.push("#"),r.push(e.fragment)),r.join("")}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r={};return arguments[3]||(e=M(V(e,n),n),t=M(V(t,n),n)),!(n=n||{}).tolerant&&t.scheme?(r.scheme=t.scheme,r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=F(t.path||""),r.query=t.query):(void 0!==t.userinfo||void 0!==t.host||void 0!==t.port?(r.userinfo=t.userinfo,r.host=t.host,r.port=t.port,r.path=F(t.path||""),r.query=t.query):(t.path?("/"===t.path.charAt(0)?r.path=F(t.path):(void 0===e.userinfo&&void 0===e.host&&void 0===e.port||e.path?e.path?r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+t.path:r.path=t.path:r.path="/"+t.path,r.path=F(r.path)),r.query=t.query):(r.path=e.path,void 0!==t.query?r.query=t.query:r.query=e.query),r.userinfo=e.userinfo,r.host=e.host,r.port=e.port),r.scheme=e.scheme),r.fragment=t.fragment,r}function Z(e,t){return e&&e.toString().replace(t&&t.iri?s.PCT_ENCODED:i.PCT_ENCODED,C)}var H={scheme:"http",domainHost:!0,parse:function(e,t){return e.host||(e.error=e.error||"HTTP URIs must have a host."),e},serialize:function(e,t){var n="https"===String(e.scheme).toLowerCase();return e.port!==(n?443:80)&&""!==e.port||(e.port=void 0),e.path||(e.path="/"),e}},B={scheme:"https",domainHost:H.domainHost,parse:H.parse,serialize:H.serialize};function z(e){return"boolean"==typeof e.secure?e.secure:"wss"===String(e.scheme).toLowerCase()}var W={scheme:"ws",domainHost:!0,parse:function(e,t){var n=e;return n.secure=z(n),n.resourceName=(n.path||"/")+(n.query?"?"+n.query:""),n.path=void 0,n.query=void 0,n},serialize:function(e,t){if(e.port!==(z(e)?443:80)&&""!==e.port||(e.port=void 0),"boolean"==typeof e.secure&&(e.scheme=e.secure?"wss":"ws",e.secure=void 0),e.resourceName){var n=e.resourceName.split("?"),r=l(n,2),o=r[0],a=r[1];e.path=o&&"/"!==o?o:void 0,e.query=a,e.resourceName=void 0}return e.fragment=void 0,e}},K={scheme:"wss",domainHost:W.domainHost,parse:W.parse,serialize:W.serialize},q={},Y="[A-Za-z0-9\\-\\.\\_\\~\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]",G="[0-9A-Fa-f]",J=n(n("%[EFef]"+G+"%"+G+G+"%"+G+G)+"|"+n("%[89A-Fa-f]"+G+"%"+G+G)+"|"+n("%"+G+G)),Q=t("[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",'[\\"\\\\]'),X=new RegExp(Y,"g"),ee=new RegExp(J,"g"),te=new RegExp(t("[^]","[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]","[\\.]",'[\\"]',Q),"g"),ne=new RegExp(t("[^]",Y,"[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]"),"g"),re=ne;function oe(e){var t=C(e);return t.match(X)?t:e}var ae={scheme:"mailto",parse:function(e,t){var n=e,r=n.to=n.path?n.path.split(","):[];if(n.path=void 0,n.query){for(var o=!1,a={},i=n.query.split("&"),s=0,l=i.length;s<l;++s){var u=i[s].split("=");switch(u[0]){case"to":for(var c=u[1].split(","),d=0,f=c.length;d<f;++d)r.push(c[d]);break;case"subject":n.subject=Z(u[1],t);break;case"body":n.body=Z(u[1],t);break;default:o=!0,a[Z(u[0],t)]=Z(u[1],t)}}o&&(n.headers=a)}n.query=void 0;for(var p=0,h=r.length;p<h;++p){var m=r[p].split("@");if(m[0]=Z(m[0]),t.unicodeSupport)m[1]=Z(m[1],t).toLowerCase();else try{m[1]=D.toASCII(Z(m[1],t).toLowerCase())}catch(e){n.error=n.error||"Email address's domain name can not be converted to ASCII via punycode: "+e}r[p]=m.join("@")}return n},serialize:function(e,t){var n,r=e,a=null!=(n=e.to)?n instanceof Array?n:"number"!=typeof n.length||n.split||n.setInterval||n.call?[n]:Array.prototype.slice.call(n):[];if(a){for(var i=0,s=a.length;i<s;++i){var l=String(a[i]),u=l.lastIndexOf("@"),c=l.slice(0,u).replace(ee,oe).replace(ee,o).replace(te,P),d=l.slice(u+1);try{d=t.iri?D.toUnicode(d):D.toASCII(Z(d,t).toLowerCase())}catch(e){r.error=r.error||"Email address's domain name can not be converted to "+(t.iri?"Unicode":"ASCII")+" via punycode: "+e}a[i]=c+"@"+d}r.path=a.join(",")}var f=e.headers=e.headers||{};e.subject&&(f.subject=e.subject),e.body&&(f.body=e.body);var p=[];for(var h in f)f[h]!==q[h]&&p.push(h.replace(ee,oe).replace(ee,o).replace(ne,P)+"="+f[h].replace(ee,oe).replace(ee,o).replace(re,P));return p.length&&(r.query=p.join("&")),r}},ie=/^([^\:]+)\:(.*)/,se={scheme:"urn",parse:function(e,t){var n=e.path&&e.path.match(ie),r=e;if(n){var o=t.scheme||r.scheme||"urn",a=n[1].toLowerCase(),i=n[2],s=o+":"+(t.nid||a),l=x[s];r.nid=a,r.nss=i,r.path=void 0,l&&(r=l.parse(r,t))}else r.error=r.error||"URN can not be parsed.";return r},serialize:function(e,t){var n=t.scheme||e.scheme||"urn",r=e.nid,o=n+":"+(t.nid||r),a=x[o];a&&(e=a.serialize(e,t));var i=e,s=e.nss;return i.path=(r||t.nid)+":"+s,i}},le=/^[0-9A-Fa-f]{8}(?:\-[0-9A-Fa-f]{4}){3}\-[0-9A-Fa-f]{12}$/,ue={scheme:"urn:uuid",parse:function(e,t){var n=e;return n.uuid=n.nss,n.nss=void 0,t.tolerant||n.uuid&&n.uuid.match(le)||(n.error=n.error||"UUID is not val
8id."),n},serialize:function(e,t){var n=e;return n.nss=(e.uuid||"").toLowerCase(),n}};x[H.scheme]=H,x[B.scheme]=B,x[W.scheme]=W,x[K.scheme]=K,x[ae.scheme]=ae,x[se.scheme]=se,x[ue.scheme]=ue,e.SCHEMES=x,e.pctEncChar=P,e.pctDecChars=C,e.parse=M,e.removeDotSegments=F,e.serialize=V,e.resolveComponents=U,e.resolve=function(e,t,n){var r=function(e,t){var n=e;if(t)for(var r in t)n[r]=t[r];return n}({scheme:"null"},n);return V(U(M(e,r),M(t,r),r,!0),r)},e.normalize=function(e,t){return"string"==typeof e?e=V(M(e,t),t):"object"===r(e)&&(e=M(V(e,t),t)),e},e.equal=function(e,t,n){return"string"==typeof e?e=V(M(e,n),n):"object"===r(e)&&(e=V(e,n)),"string"==typeof t?t=V(M(t,n),n):"object"===r(t)&&(t=V(t,n)),e===t},e.escapeComponent=function(e,t){return e&&e.toString().replace(t&&t.iri?s.ESCAPE:i.ESCAPE,P)},e.unescapeComponent=Z,Object.defineProperty(e,"__esModule",{value:!0})}(t)},3469:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(9748).useLayoutEffect},907:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:()=>r})},7326:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:()=>r})},3:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9142);function o(e,t,n){return(t=(0,r.Z)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},7462:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{Z:()=>r})},4578:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},1413:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(3);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},5987:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(3366);function o(e,t){if(null==e)return{};var n,o,a=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},3366:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}n.d(t,{Z:()=>r})},9611:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:()=>r})},885:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(181);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,u=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){u=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(u)throw o}}return s}}(e,t)||(0,r.Z)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},2982:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(907),o=n(181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,o.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},9142:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(1002);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==(0,r.Z)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===(0,r.Z)(t)?t:String(t)}}
8,1002:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:()=>r})},181:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(907);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}},5983:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>d,RR:()=>l,cv:()=>f,dp:()=>m,dr:()=>h,oo:()=>a,uY:()=>p,x7:()=>s});var r=n(1347);function o(e,t,n){let{reference:o,floating:a}=e;const i=(0,r.Qq)(t),s=(0,r.Wh)(t),l=(0,r.I4)(s),u=(0,r.k3)(t),c="y"===i,d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,p=o[l]/2-a[l]/2;let h;switch(u){case"top":h={x:d,y:o.y-a.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-a.width,y:f};break;default:h={x:o.x,y:o.y}}switch((0,r.hp)(t)){case"start":h[s]-=p*(n&&c?-1:1);break;case"end":h[s]+=p*(n&&c?-1:1)}return h}const a=async(e,t,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),u=await(null==s.isRTL?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:a}),{x:d,y:f}=o(c,r,u),p=r,h={},m=0;for(let n=0;n<l.length;n++){const{name:i,fn:g}=l[n],{x:v,y,data:b,reset:w}=await g({x:d,y:f,initialPlacement:r,placement:p,strategy:a,middlewareData:h,rects:c,platform:s,elements:{reference:e,floating:t}});d=null!=v?v:d,f=null!=y?y:f,h={...h,[i]:{...h[i],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(c=!0===w.rects?await s.getElementRects({reference:e,floating:t,strategy:a}):w.rects),({x:d,y:f}=o(c,p,u))),n=-1)}return{x:d,y:f,placement:p,strategy:a,middlewareData:h}};async function i(e,t){var n;void 0===t&&(t={});const{x:o,y:a,platform:i,rects:s,elements:l,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=(0,r.ku)(t,e),m=(0,r.yd)(h),g=l[p?"floating"===f?"reference":"floating":f],v=(0,r.JB)(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(g)))||n?g:g.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),y="floating"===f?{...s.floating,x:o,y:a}:s.reference,b=await(null==i.getOffsetParent?void 0:i.getOffsetParent(l.floating)),w=await(null==i.isElement?void 0:i.isElement(b))&&await(null==i.getScale?void 0:i.getScale(b))||{x:1,y:1},E=(0,r.JB)(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:b,strategy:u}):y);return{top:(v.top-E.top+m.top)/w.y,bottom:(E.bottom-v.bottom+m.bottom)/w.y,left:(v.left-E.left+m.left)/w.x,right:(E.right-v.right+m.right)/w.x}}const s=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=t,{element:c,padding:d=0}=(0,r.ku)(e,t)||{};if(null==c)return{};const f=(0,r.yd)(d),p={x:n,y:o},h=(0,r.Wh)(a),m=(0,r.I4)(h),g=await s.getDimensions(c),v="y"===h,y=v?"top":"left",b=v?"bottom":"right",w=v?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[h]-p[h]-i.floating[m],_=p[h]-i.reference[h],S=await(null==s.getOffsetParent?void 0:s.getOffsetParent(c));let D=S?S[w]:0;D&&await(null==s.isElement?void 0:s.isElement(S))||(D=l.floating[w]||i.floating[m]);const x=E/2-_/2,P=D/2-g[m]/2-1,C=(0,r.VV)(f[y],P),k=(0,r.VV)(f[b],P),O=C,R=D-g[m]-k,T=D/2-g[m]/2+x,$=(0,r.uZ)(O,T,R),I=!u.arrow&&null!=(0,r.hp)(a)&&T!=$&&i.reference[m]/2-(T<O?C:k)-g[m]/2<0,M=I?T<O?T-O:T-R:0;return{[h]:p[h]+M,data:{[h]:$,centerOffset:T-$-M,...I&&{alignmentOffset:M}},reset:I}}}),l=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:a,middlewareData:s,rects:l,initialPlacement:u,platform:c,elements:d}=t,{mainAxis:f=!0,crossAxis:p=!0,fallbackPlacements:h,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:v=!0,...y}=(0,r.ku)(e,t);if(null!=(n=s.arrow)&&n.alignmentOffset)return{};const b=(0,r.k3)(a),w=(0,r.k3)(u)===u,E=await(null==c.isRTL?void 0:c.isRTL(d.floating)),_=h||(w||!v?[(0,r.pw)(u)]:(0,r.gy)(u));h||"none"===g||_.push(...(0,r.KX)(u,v,g,E));const S=[u,..._],D=await i(t,y),x=[];let P=(null==(o=s.flip)?void 0:o.overflows)||[];if(f&&x.push(D[b]),p){const e=(0,r.i8)(a,l,E);x.push(D[e[0]],D[e[1]])}if(P=[...P,{placement:a,overflows:x}],!x.every((e=>e<=0))){var C,k;const e=((null==(C=s.flip)?void 0:C.index)||0)+1,t=S[e];if(t)return{data:{index:e,overflows:P},reset:{placement:t}};let n=null==(k=P.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:k.placement;if(!n)switch(m){case"bestFit":{var O;const e=null==(O=P.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:O[0];e&&(n=e);break}case"initialPlacement":n=u}if(a!==n)return{reset:{placement:n}}}return{}}}};function u(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function c(e){return r.mA.some((t=>e[t]>=0))}const d=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...a}=(0,r.ku)(e,t);switch(o){case"referenceHidden":{const e=u(await i(t,{...a,elementContext:"reference"}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:c(e)}}}case"escaped":{const e=u(await i(t,{...a,altBoundary:!0}),n.floating);return{data:{escapedOffsets:e,escaped:c(e)}}}default:return{}}}}},f=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:o}=t,a=await async function(e,t){const{placement:n,platform:o,elements:a}=e,i=await(null==o.isRTL?void 0:o.isRTL(a.floating)),s=(0,r.k3)(n),l=(0,r.hp)(n),u="y"===(0,r.Qq)(n),c=["left","top"].includes(s)?-1:1,d=i&&u?-1:1,f=(0,r.ku)(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&"number"==typeof m&&(h="end"===l?-1*m:m),u?{x:h*d,y:p*c}:{x:p*c,y:h*d}}(t,e);return{x:n+a.x,y:o+a.y,data:a}}}},p=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:a}=t,{mainAxis:s=!0,crossAxis:l=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=(0,r.ku)(e,t),d={x:n,y:o},f=await i(t,c),p=(0,r.Qq)((0,r.k3)(a)),h=(0,r.Rn)(p);let m=d[h],g=d[p];
8if(s){const e="y"===h?"bottom":"right",t=m+f["y"===h?"top":"left"],n=m-f[e];m=(0,r.uZ)(t,m,n)}if(l){const e="y"===p?"bottom":"right",t=g+f["y"===p?"top":"left"],n=g-f[e];g=(0,r.uZ)(t,g,n)}const v=u.fn({...t,[h]:m,[p]:g});return{...v,data:{x:v.x-n,y:v.y-o}}}}},h=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:a,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:u=!0,crossAxis:c=!0}=(0,r.ku)(e,t),d={x:n,y:o},f=(0,r.Qq)(a),p=(0,r.Rn)(f);let h=d[p],m=d[f];const g=(0,r.ku)(l,t),v="number"==typeof g?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(u){const e="y"===p?"height":"width",t=i.reference[p]-i.floating[e]+v.mainAxis,n=i.reference[p]+i.reference[e]-v.mainAxis;h<t?h=t:h>n&&(h=n)}if(c){var y,b;const e="y"===p?"width":"height",t=["top","left"].includes((0,r.k3)(a)),n=i.reference[f]-i.floating[e]+(t&&(null==(y=s.offset)?void 0:y[f])||0)+(t?0:v.crossAxis),o=i.reference[f]+i.reference[e]+(t?0:(null==(b=s.offset)?void 0:b[f])||0)-(t?v.crossAxis:0);m<n?m=n:m>o&&(m=o)}return{[p]:h,[f]:m}}}},m=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:o,platform:a,elements:s}=t,{apply:l=(()=>{}),...u}=(0,r.ku)(e,t),c=await i(t,u),d=(0,r.k3)(n),f=(0,r.hp)(n),p="y"===(0,r.Qq)(n),{width:h,height:m}=o.floating;let g,v;"top"===d||"bottom"===d?(g=d,v=f===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(v=d,g="end"===f?"top":"bottom");const y=m-c[g],b=h-c[v],w=!t.middlewareData.shift;let E=y,_=b;if(p){const e=h-c.left-c.right;_=f||w?(0,r.VV)(b,e):e}else{const e=m-c.top-c.bottom;E=f||w?(0,r.VV)(y,e):e}if(w&&!f){const e=(0,r.Fp)(c.left,0),t=(0,r.Fp)(c.right,0),n=(0,r.Fp)(c.top,0),o=(0,r.Fp)(c.bottom,0);p?_=h-2*(0!==e||0!==t?e+t:(0,r.Fp)(c.left,c.right)):E=m-2*(0!==n||0!==o?n+o:(0,r.Fp)(c.top,c.bottom))}await l({...t,availableWidth:_,availableHeight:E});const S=await a.getDimensions(s.floating);return h!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}}},6200:(e,t,n)=>{"use strict";n.d(t,{Me:()=>A,oo:()=>N});var r=n(1347),o=n(5983);function a(e){return l(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){var t;return null==(t=(l(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function l(e){return e instanceof Node||e instanceof i(e).Node}function u(e){return e instanceof Element||e instanceof i(e).Element}function c(e){return e instanceof HTMLElement||e instanceof i(e).HTMLElement}function d(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function f(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function p(e){return["table","td","th"].includes(a(e))}function h(e){const t=m(),n=v(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function m(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function g(e){return["html","body","#document"].includes(a(e))}function v(e){return i(e).getComputedStyle(e)}function y(e){return u(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function b(e){if("html"===a(e))return e;const t=e.assignedSlot||e.parentNode||d(e)&&e.host||s(e);return d(t)?t.host:t}function w(e){const t=b(e);return g(t)?e.ownerDocument?e.ownerDocument.body:e.body:c(t)&&f(t)?t:w(t)}function E(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=w(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),s=i(o);return a?t.concat(s,s.visualViewport||[],f(o)?o:[],s.frameElement&&n?E(s.frameElement):[]):t.concat(o,E(o,[],n))}function _(e){const t=v(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const a=c(e),i=a?e.offsetWidth:n,s=a?e.offsetHeight:o,l=(0,r.NM)(n)!==i||(0,r.NM)(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function S(e){return u(e)?e:e.contextElement}function D(e){const t=S(e);if(!c(t))return(0,r.ze)(1);const n=t.getBoundingClientRect(),{width:o,height:a,$:i}=_(t);let s=(i?(0,r.NM)(n.width):n.width)/o,l=(i?(0,r.NM)(n.height):n.height)/a;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const x=(0,r.ze)(0);function P(e){const t=i(e);
vendor: 6,152 bytes, line 8
8return m()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:x}function C(e,t,n,o){void 0===t&&(t=!1),void 0===n&&(n=!1);const a=e.getBoundingClientRect(),s=S(e);let l=(0,r.ze)(1);t&&(o?u(o)&&(l=D(o)):l=D(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==i(e))&&t}(s,n,o)?P(s):(0,r.ze)(0);let d=(a.left+c.x)/l.x,f=(a.top+c.y)/l.y,p=a.width/l.x,h=a.height/l.y;if(s){const e=i(s),t=o&&u(o)?i(o):o;let n=e.frameElement;for(;n&&o&&t!==e;){const e=D(n),t=n.getBoundingClientRect(),r=v(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;d*=e.x,f*=e.y,p*=e.x,h*=e.y,d+=o,f+=a,n=i(n).frameElement}}return(0,r.JB)({width:p,height:h,x:d,y:f})}function k(e){return C(s(e)).left+y(e).scrollLeft}function O(e,t,n){let o;if("viewport"===t)o=function(e,t){const n=i(e),r=s(e),o=n.visualViewport;let a=r.clientWidth,l=r.clientHeight,u=0,c=0;if(o){a=o.width,l=o.height;const e=m();(!e||e&&"fixed"===t)&&(u=o.offsetLeft,c=o.offsetTop)}return{width:a,height:l,x:u,y:c}}(e,n);else if("document"===t)o=function(e){const t=s(e),n=y(e),o=e.ownerDocument.body,a=(0,r.Fp)(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=(0,r.Fp)(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let l=-n.scrollLeft+k(e);const u=-n.scrollTop;return"rtl"===v(o).direction&&(l+=(0,r.Fp)(t.clientWidth,o.clientWidth)-a),{width:a,height:i,x:l,y:u}}(s(e));else if(u(t))o=function(e,t){const n=C(e,!0,"fixed"===t),o=n.top+e.clientTop,a=n.left+e.clientLeft,i=c(e)?D(e):(0,r.ze)(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:a*i.x,y:o*i.y}}(t,n);else{const n=P(e);o={...t,x:t.x-n.x,y:t.y-n.y}}return(0,r.JB)(o)}function R(e,t){const n=b(e);return!(n===t||!u(n)||g(n))&&("fixed"===v(n).position||R(n,t))}function T(e,t,n){const o=c(t),i=s(t),l="fixed"===n,u=C(e,!0,l,t);let d={scrollLeft:0,scrollTop:0};const p=(0,r.ze)(0);if(o||!o&&!l)if(("body"!==a(t)||f(i))&&(d=y(t)),o){const e=C(t,!0,l,t);p.x=e.x+t.clientLeft,p.y=e.y+t.clientTop}else i&&(p.x=k(i));return{x:u.left+d.scrollLeft-p.x,y:u.top+d.scrollTop-p.y,width:u.width,height:u.height}}function $(e,t){return c(e)&&"fixed"!==v(e).position?t?t(e):e.offsetParent:null}function I(e,t){const n=i(e);if(!c(e))return n;let r=$(e,t);for(;r&&p(r)&&"static"===v(r).position;)r=$(r,t);return r&&("html"===a(r)||"body"===a(r)&&"static"===v(r).position&&!h(r))?n:r||function(e){let t=b(e);for(;c(t)&&!g(t);){if(h(t))return t;t=b(t)}return null}(e)||n}const M={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:o}=e;const i=c(n),l=s(n);if(n===l)return t;let u={scrollLeft:0,scrollTop:0},d=(0,r.ze)(1);const p=(0,r.ze)(0);if((i||!i&&"fixed"!==o)&&(("body"!==a(n)||f(l))&&(u=y(n)),c(n))){const e=C(n);d=D(n),p.x=e.x+n.clientLeft,p.y=e.y+n.clientTop}return{width:t.width*d.x,height:t.height*d.y,x:t.x*d.x-u.scrollLeft*d.x+p.x,y:t.y*d.y-u.scrollTop*d.y+p.y}},getDocumentElement:s,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e;const s=[..."clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=E(e,[],!1).filter((e=>u(e)&&"body"!==a(e))),o=null;const i="fixed"===v(e).position;let s=i?b(e):e;for(;u(s)&&!g(s);){const t=v(s),n=h(s);n||"fixed"!==t.position||(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||f(s)&&!n&&R(e,s))?r=r.filter((e=>e!==s)):o=t,s=b(s)}return t.set(e,r),r}(t,this._c):[].concat(n),o],l=s[0],c=s.reduce(((e,n)=>{const o=O(t,n,i);return e.top=(0,r.Fp)(o.top,e.top),e.right=(0,r.VV)(o.right,e.right),e.bottom=(0,r.VV)(o.bottom,e.bottom),e.left=(0,r.Fp)(o.left,e.left),e}),O(t,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},getOffsetParent:I,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||I,a=this.getDimensions;return{reference:T(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return _(e)},getScale:D,isElement:u,isRTL:function(e){return"rtl"===v(e).direction}};function A(e,t,n,o){void 0===o&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,d=S(e),f=a||i?[...d?E(d):[],...E(t)]:[];f.forEach((e=>{a&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const p=d&&u?function(e,t){let n,o=null;const a=s(e);function i(){clearTimeout(n),o&&o.disconnect(),o=null}return function s(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),i();const{left:c,top:d,width:f,height:p}=e.getBoundingClientRect();if(l||t(),!f||!p)return;const h={rootMargin:-(0,r.GW)(d)+"px "+-(0,r.GW)(a.clientWidth-(c+f))+"px "+-(0,r.GW)(a.clientHeight-(d+p))+"px "+-(0,r.GW)(c)+"px",threshold:(0,r.Fp)(0,(0,r.VV)(1,u))||1};let m=!0;function g(e){const t=e[0].intersectionRatio;if(t!==u){if(!m)return s();t?s(!1,t):n=setTimeout((()=>{s(!1,1e-7)}),100)}m=!1}try{o=new IntersectionObserver(g,{...h,root:a.ownerDocument})}catch(e){o=new IntersectionObserver(g,h)}o.observe(e)}(!0),i}(d,n):null;let h,m=-1,g=null;l&&(g=new ResizeObserver((e=>{let[r]=e;r&&r.target===d&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{g&&g.observe(t)}))),n()})),d&&!c&&g.observe(d),g.observe(t));let v=c?C(e):null;return c&&function t(){const r=C(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n(),v=r,h=requestAnimationFrame(t)}(),n(),()=>{f.forEach((e=>{a&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),p&&p(),g&&g.disconnect(),g=null,c&&cancelAnimationFrame(h)}}const N=(e,t,n)=>{const r=new Map,a={platform:M,...n},i={...a.platform,_c:r};return(0,o.oo)(e,t,{...a,platform:i})}},1347:(e,t,n)=>{"use strict";n.d(t,{Fp:()=>a,GW:()=>s,I4:()=>g,JB:()=>x,KX:()=>_,NM:()=>i,Qq:()=>v,Rn:()=>m,VV:()=>o,Wh:()=>y,gy:()=>w,hp:()=>h,i8:()=>b,k3:()=>p,ku:()=>f,mA:()=>r,pw:()=>S,uZ:()=>d,yd:()=>D,ze:()=>l});const r=["top","right","bottom","left"],o=Math.min,a=Math.max,i=Math.round,s=Math.floor,l=e=>({x:e,y:e}
8),u={left:"right",right:"left",bottom:"top",top:"bottom"},c={start:"end",end:"start"};function d(e,t,n){return a(e,o(t,n))}function f(e,t){return"function"==typeof e?e(t):e}function p(e){return e.split("-")[0]}function h(e){return e.split("-")[1]}function m(e){return"x"===e?"y":"x"}function g(e){return"y"===e?"height":"width"}function v(e){return["top","bottom"].includes(p(e))?"y":"x"}function y(e){return m(v(e))}function b(e,t,n){void 0===n&&(n=!1);const r=h(e),o=y(e),a=g(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=S(i)),[i,S(i)]}function w(e){const t=S(e);return[E(e),t,E(t)]}function E(e){return e.replace(/start|end/g,(e=>c[e]))}function _(e,t,n,r){const o=h(e);let a=function(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}(p(e),"start"===n,r);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(E)))),a}function S(e){return e.replace(/left|right|bottom|top/g,(e=>u[e]))}function D(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function x(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}},1602:(e,t,n)=>{"use strict";n.d(t,{AQ:()=>v,aw:()=>d,oz:()=>m,qp:()=>p});var r=n(5575),o=n(3707),a=n(5919),i=n(9210),s=n(8438),l=n(1076);function u(e){let t,n="object"==typeof e[0]?e.shift():new(0,i.IQ);if("string"==typeof e[0])t=e.shift();else{let e=n.getEras();t=e[e.length-1]}return[n,t,e.shift(),e.shift(),e.shift()]}var c=new WeakMap;class d{copy(){return this.era?new d(this.calendar,this.era,this.year,this.month,this.day):new d(this.calendar,this.year,this.month,this.day)}add(e){return(0,r.IH)(this,e)}subtract(e){return(0,r.$X)(this,e)}set(e){return(0,r.t8)(this,e)}cycle(e,t,n){return(0,r.GK)(this,e,t,n)}toDate(e){return(0,s.ZU)(this,e)}toString(){return(0,a.UW)(this)}compare(e){return(0,o.rm)(this,e)}constructor(...e){(0,l._)(this,c,{writable:!0,value:void 0});let[t,n,o,a,i]=u(e);this.calendar=t,this.era=n,this.year=o,this.month=a,this.day=i,(0,r.jH)(this)}}var f=new WeakMap;class p{copy(){return new p(this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.yG)(this,e)}subtract(e){return(0,r.U2)(this,e)}set(e){return(0,r.q_)(this,e)}cycle(e,t,n){return(0,r.xC)(this,e,t,n)}toString(){return(0,a.to)(this)}compare(e){return(0,o.Xi)(this,e)}constructor(e=0,t=0,n=0,o=0){(0,l._)(this,f,{writable:!0,value:void 0}),this.hour=e,this.minute=t,this.second=n,this.millisecond=o,(0,r.dW)(this)}}var h=new WeakMap;class m{copy(){return this.era?new m(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new m(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.IH)(this,e)}subtract(e){return(0,r.$X)(this,e)}set(e){return(0,r.t8)((0,r.q_)(this,e),e)}cycle(e,t,n){switch(e){case"era":case"year":case"month":case"day":return(0,r.GK)(this,e,t,n);default:return(0,r.xC)(this,e,t,n)}}toDate(e,t){return(0,s.ZU)(this,e,t)}toString(){return(0,a.LM)(this)}compare(e){let t=(0,o.rm)(this,e);return 0===t?(0,o.Xi)(this,(0,s.IO)(e)):t}constructor(...e){(0,l._)(this,h,{writable:!0,value:void 0});let[t,n,o,a,i]=u(e);this.calendar=t,this.era=n,this.year=o,this.month=a,this.day=i,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.jH)(this)}}var g=new WeakMap;class v{copy(){return this.era?new v(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new v(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return(0,r.cW)(this,e)}subtract(e){return(0,r.Co)(this,e)}set(e,t){return(0,r.wC)(this,e,t)}cycle(e,t,n){return(0,r.qr)(this,e,t,n)}toDate(){return(0,s.fk)(this)}toString(){return(0,a.Rf)(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-(0,s.fW)(e,this.timeZone).toDate().getTime()}constructor(...e){(0,l._)(this,g,{writable:!0,value:void 0});let[t,n,o,a,i]=u(e),s=e.shift(),c=e.shift();this.calendar=t,this.era=n,this.year=o,this.month=a,this.day=i,this.timeZone=s,this.offset=c,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,(0,r.jH)(this)}}}
8,2174:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});let r=new Map;class o{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.formatter.formatRange)return this.formatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.formatter.formatRangeToParts)return this.formatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let n=this.formatter.formatToParts(e),r=this.formatter.formatToParts(t);return[...n.map((e=>({...e,source:"startRange"}))),{type:"literal",value:" – ",source:"shared"},...r.map((e=>({...e,source:"endRange"})))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return null==l&&(l="h12"===new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle),l&&(this.resolvedHourCycle||(this.resolvedHourCycle=function(e,t){if(!t.timeStyle&&!t.hour)return;e=e.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,"");let n=i(e+=(e.includes("-u-")?"":"-u")+"-nu-latn",{...t,timeZone:void 0}),r=parseInt(n.formatToParts(new Date(2020,2,3,0)).find((e=>"hour"===e.type)).value,10),o=parseInt(n.formatToParts(new Date(2020,2,3,23)).find((e=>"hour"===e.type)).value,10);if(0===r&&23===o)return"h23";if(24===r&&23===o)return"h24";if(0===r&&11===o)return"h11";if(12===r&&11===o)return"h12";throw new Error("Unexpected hour cycle result")}(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12="h11"===this.resolvedHourCycle||"h12"===this.resolvedHourCycle),"ethiopic-amete-alem"===e.calendar&&(e.calendar="ethioaa"),e}constructor(e,t={}){this.formatter=i(e,t),this.options=t}}const a={true:{ja:"h11"},false:{}};function i(e,t={}){if("boolean"==typeof t.hour12&&(null==s&&(s="24"===new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))),s)){t={...t};let n=a[String(t.hour12)][e.split("-")[0]],r=t.hour12?"h12":"h23";t.hourCycle=null!=n?n:r,delete t.hour12}let n=e+(t?Object.entries(t).sort(((e,t)=>e[0]<t[0]?-1:1)).join():"");if(r.has(n))return r.get(n);let o=new Intl.DateTimeFormat(e,t);return r.set(n,o),o}let s=null,l=null},9210:(e,t,n)=>{"use strict";n.d(t,{Eg:()=>s,IQ:()=>d,J4:()=>l,JD:()=>u,g_:()=>i});var r=n(1602),o=n(2439);const a=1721426;function i(e,t,n,r){let o=(t=l(e,t))-1,i=-2;return n<=2?i=0:s(t)&&(i=-1),a-1+365*o+Math.floor(o/4)-Math.floor(o/100)+Math.floor(o/400)+Math.floor((367*n-362)/12+i+r)}function s(e){return e%4==0&&(e%100!=0||e%400==0)}function l(e,t){return"BC"===e?1-t:t}function u(e){let t="AD";return e<=0&&(t="BC",e=1-e),[t,e]}const c={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class d{fromJulianDay(e){let t=e,n=t-a,l=Math.floor(n/146097),c=(0,o.w)(n,146097),d=Math.floor(c/36524),f=(0,o.w)(c,36524),p=Math.floor(f/1461),h=(0,o.w)(f,1461),m=Math.floor(h/365),g=400*l+100*d+4*p+m+(4!==d&&4!==m?1:0),[v,y]=u(g),b=t-i(v,y,1,1),w=2;t<i(v,y,3,1)?w=0:s(y)&&(w=1);let E=Math.floor((12*(b+w)+373)/367),_=t-i(v,y,E,1)+1;return new(0,r.aw)(v,y,E,_)}toJulianDay(e){return i(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return c[s(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return s(e.year)?366:365}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return"BC"===e.era}balanceDate(e){e.year<=0&&(e.era="BC"===e.era?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}},8438:(e,t,n)=>{"use strict";n.d(t,{FD:()=>m,IO:()=>v,MW:()=>E,Mw:()=>y,WG:()=>g,ZI:()=>s,ZU:()=>h,fW:()=>b,fk:()=>w,xA:()=>p});var r=n(1602),o=n(5575),a=n(9210),i=n(3707);function s(e){return e=y(e,new(0,a.IQ)),l((0,a.J4)(e.era,e.year),e.month,e.day,e.hour,e.minute,e.second,e.millisecond)}function l(e,t,n,r,o,a,i){let s=new Date;return s.setUTCHours(r,o,a,i),s.setUTCFullYear(e,t-1,n),s.getTime()}function u(e,t){if("UTC"===t)return 0;if(e>0&&t===(0,i.iT)())return-6e4*new Date(e).getTimezoneOffset();let{year:n,month:r,day:o,hour:a,minute:s,second:u}=d(e,t);return l(n,r,o,a,s,u,0)-1e3*Math.floor(e/1e3)}const c=new Map;function d(e,t){let n=c.get(t);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:t,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),c.set(t,n));let r=n.formatToParts(new Date(e)),o={};for(let e of r)"literal"!==e.type&&(o[e.type]=e.value);return{year:"BC"===o.era||"B"===o.era?1-o.year:+o.year,month:+o.month,day:+o.day,hour:"24"===o.hour?0:+o.hour,minute:+o.minute,second:+o.second}}const f=864e5;function p(e,t,n="compatible"){let r=v(e);if("UTC"===t)return s(r);if(t===(0,i.iT)()&&"compatible"===n){r=y(r,new(0,a.IQ));let e=new Date,t=(0,a.J4)(r.era,r.year);return e.setFullYear(t,r.month-1,r.day),e.setHours(r.hour,r.minute,r.second,r.millisecond),e.getTime()}let o=s(r),l=u(o-f,t),c=u(o+f,t),p=function(e,t,n,r){return(n===r?[n]:[n,r]).filter((n=>function(e,t,n){let r=d(n,t);return e.year===r.year&&e.month===r.month&&e.day===r.day&&e.hour===r.hour&&e.minute===r.minute&&e.second===r.second}
8(e,t,n)))}(r,t,o-l,o-c);if(1===p.length)return p[0];if(p.length>1)switch(n){case"compatible":case"earlier":return p[0];case"later":return p[p.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(o-l,o-c);case"compatible":case"later":return Math.max(o-l,o-c);case"reject":throw new RangeError("No such absolute time found")}}function h(e,t,n="compatible"){return new Date(p(e,t,n))}function m(e,t){let n=u(e,t),o=new Date(e+n),a=o.getUTCFullYear(),i=o.getUTCMonth()+1,s=o.getUTCDate(),l=o.getUTCHours(),c=o.getUTCMinutes(),d=o.getUTCSeconds(),f=o.getUTCMilliseconds();return new(0,r.AQ)(a<1?"BC":"AD",a<1?1-a:a,i,s,t,n,l,c,d,f)}function g(e){return new(0,r.aw)(e.calendar,e.era,e.year,e.month,e.day)}function v(e,t){let n=0,o=0,a=0,i=0;if("timeZone"in e)({hour:n,minute:o,second:a,millisecond:i}=e);else if("hour"in e&&!t)return e;return t&&({hour:n,minute:o,second:a,millisecond:i}=t),new(0,r.oz)(e.calendar,e.era,e.year,e.month,e.day,n,o,a,i)}function y(e,t){if((0,i.jv)(e.calendar,t))return e;let n=t.fromJulianDay(e.calendar.toJulianDay(e)),r=e.copy();return r.calendar=t,r.era=n.era,r.year=n.year,r.month=n.month,r.day=n.day,(0,o.jH)(r),r}function b(e,t,n){return e instanceof r.AQ?e.timeZone===t?e:E(e,t):m(p(e,t,n),t)}function w(e){let t=s(e)-e.offset;return new Date(t)}function E(e,t){return y(m(s(e)-e.offset,t),e.calendar)}},4799:(e,t,n)=>{"use strict";n.d(t,{Y:()=>oe});var r=n(1602),o=n(9210);class a extends o.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),n=(0,o.J4)(t.era,t.year);return new(0,r.aw)(this,n- -543,t.month,t.day)}toJulianDay(e){return super.toJulianDay(i(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(i(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function i(e){let[t,n]=(0,o.JD)(e.year+-543);return new(0,r.aw)(t,n,e.month,e.day)}const s=1723856,l=1824665,u=5500;function c(e,t,n,r){return e+365*t+Math.floor(t/4)+30*(n-1)+r-1}function d(e,t){let n=Math.floor(4*(t-e)/1461),r=1+Math.floor((t-c(e,n,1,1))/30);return[n,r,t+1-c(e,n,r,1)]}function f(e){return Math.floor(e%4/3)}function p(e,t){return t%13!=0?30:f(e)+5}class h{fromJulianDay(e){let[t,n,o]=d(s,e),a="AM";return t<=0&&(a="AA",t+=u),new(0,r.aw)(this,a,t,n,o)}toJulianDay(e){let t=e.year;return"AA"===e.era&&(t-=u),c(s,t,e.month,e.day)}getDaysInMonth(e){return p(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+f(e.year)}getYearsInEra(e){return"AA"===e.era?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class m extends h{fromJulianDay(e){let[t,n,o]=d(s,e);return t+=u,new(0,r.aw)(this,"AA",t,n,o)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class g extends h{fromJulianDay(e){let[t,n,o]=d(l,e),a="CE";return t<=0&&(a="BCE",t=1-t),new(0,r.aw)(this,a,t,n,o)}toJulianDay(e){let t=e.year;return"BCE"===e.era&&(t=1-t),c(l,t,e.month,e.day)}getDaysInMonth(e){let t=e.year;return"BCE"===e.era&&(t=1-t),p(t,e.month)}isInverseEra(e){return"BCE"===e.era}balanceDate(e){e.year<=0&&(e.era="BCE"===e.era?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return"BCE"===e.era?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}var v=n(2439);const y=347997;function b(e){return(0,v.w)(7*e+1,19)<7}function w(e){let t=Math.floor((235*e-234)/19),n=12084+13753*t,r=29*t+Math.floor(n/25920);return(0,v.w)(3*(r+1),7)<3&&(r+=1),r}function E(e){return w(e)+function(e){let t=w(e-1),n=w(e);return w(e+1)-n==356?2:n-t==382?1:0}(e)}function _(e){return E(e+1)-E(e)}function S(e,t){if(t>=6&&!b(e)&&t++,4===t||7===t||9===t||11===t||13===t)return 29;let n=function(e){let t=_(e);switch(t>380&&(t-=30),t){case 353:return 0;case 354:return 1;case 355:return 2}}(e);return 2===t?2===n?30:29:3===t?0===n?29:30:6===t?b(e)?30:0:30}class D{fromJulianDay(e){let t=e-y,n=25920*t/765433,o=Math.floor((19*n+234)/235)+1,a=E(o),i=Math.floor(t-a);for(;i<1;)o--,a=E(o),i=Math.floor(t-a);let s=1,l=0;for(;l<i;)l+=S(o,s),s++;s--,l-=S(o,s);let u=i-l;return new(0,r.aw)(this,o,s,u)}toJulianDay(e){let t=E(e.year);for(let n=1;n<e.month;n++)t+=S(e.year,n);return t+e.day+y}getDaysInMonth(e){return S(e.year,e.month)}getMonthsInYear(e){return b(e.year)?13:12}getDaysInYear(e){return _(e.year)}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,t){t.year!==e.year&&(b(t.year)&&!b(e.year)&&t.month>6?e.month--:!b(t.year)&&b(e.year)&&t.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}class x extends o.IQ{fromJulianDay(e){let t,n,a,i=super.fromJulianDay(e),s=i.year-78,l=e-(0,o.g_)(i.era,i.year,1,1);if(l<80?(s--,t=(0,o.Eg)(i.year-1)?31:30,l+=t+155+90+10):(t=(0,o.Eg)(i.year)?31:30,l-=80),l<t)n=1,a=l+1;else{let e=l-t;e<155?(n=Math.floor(e/31)+2,a=e%31+1):(e-=155,n=Math.floor(e/30)+7,a=e%30+1)}return new(0,r.aw)(this,s,n,a)}toJulianDay(e){let t,n,r=e.year+78,[a,i]=(0,o.JD)(r);return(0,o.Eg)(i)?(t=31,n=(0,o.g_)(a,i,3,21)):(t=30,n=(0,o.g_)(a,i,3,22)),1===e.month?n+e.day-1:(n+=t+31*Math.min(e.month-2,5),e.month>=8&&(n+=30*(e.month-7)),n+=e.day-1,n)}getDaysInMonth(e){return 1===e.month&&(0,o.Eg)(e.year+78)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}const P=1948440,C=1948439,k=1300,O=1600,R=460322;function T(e,t,n,r){return r+Math.ceil(29.5*(n-1))+354*(t-1)+Math.floor((3+11*t)/30)+e-1}function $(e,t,n){let o=Math.floor((30*(n-t)+10646)/10631),a=Math.min(12,Math.ceil((n-(29+T(t,o,1,1)))/29.5)+1),i=n-T(t,o,a,1)+1;return new(0,r.aw)(e,o,a,i)}function I(e){return(14+11*e)%30<11}class M{fromJulianDay(e){return $(this,P,e)}toJulianDay(e){return T(P,e.year,e.month,e.day)}getDaysInMonth(e){let t=29+e.month%2;return 12===e.month&&I(e.year)&&t++,t}getMonthsInYear(){return 12}getDaysInYear(e){return I(e.year)?355:354}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class A extends M{fromJulianDay(e){return $(this,C,e)}toJulianDay(e){return T(C,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}let N,j;function L(e){return R+j[e-k]}function F(e,t){let n=1<<11-(t-1);return 0==(N[e-k]&n)?29:30}function V(e,t){let n=L(e);for(let r=1;r<t;r++)n+=F(e,r);return n}function U(e){return j[e+1-k]-j[e-k]}class Z extends M{fromJulianDay(e){let t=e-P,n=L(k),o=L(O);if(t<n||t>o)return super.fromJulianDay(e);{let e=k-1,n=1,o=1;for(;o>0;){e++,o=t-L(e)+1;let r=U(e);if(o===r){n=12;break}
8if(o<r){let t=F(e,n);for(n=1;o>t;)o-=t,n++,t=F(e,n);break}}return new(0,r.aw)(this,e,n,t-V(e,n)+1)}}toJulianDay(e){return e.year<k||e.year>O?super.toJulianDay(e):P+V(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<k||e.year>O?super.getDaysInMonth(e):F(e.year,e.month)}getDaysInYear(e){return e.year<k||e.year>O?super.getDaysInYear(e):U(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",N||(N=new Uint16Array(Uint8Array.from(atob("qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI="),(e=>e.charCodeAt(0))).buffer)),!j){j=new Uint32Array(O-k+1);let e=0;for(let t=k;t<=O;t++){j[t-k]=e;for(let n=1;n<=12;n++)e+=F(t,n)}}}}const H=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],B=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],z=[1867,1911,1925,1988,2018],W=["meiji","taisho","showa","heisei","reiwa"];function K(e){const t=H.findIndex((([t,n,r])=>e.year<t||e.year===t&&e.month<n||e.year===t&&e.month===n&&e.day<r));return-1===t?H.length-1:0===t?0:t-1}function q(e){let t=z[W.indexOf(e.era)];if(!t)throw new Error("Unknown era: "+e.era);return new(0,r.aw)(e.year+t,e.month,e.day)}class Y extends o.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),n=K(t);return new(0,r.aw)(this,W[n],t.year-z[n],t.month,t.day)}toJulianDay(e){return super.toJulianDay(q(e))}balanceDate(e){let t=q(e),n=K(t);W[n]!==e.era&&(e.era=W[n],e.year=t.year-z[n]),this.constrainDate(e)}constrainDate(e){let t=W.indexOf(e.era),n=B[t];if(null!=n){let[r,o,a]=n,i=r-z[t];e.year=Math.max(1,Math.min(i,e.year)),e.year===i&&(e.month=Math.min(o,e.month),e.month===o&&(e.day=Math.min(a,e.day)))}if(1===e.year&&t>=0){let[,n,r]=H[t];e.month=Math.max(n,e.month),e.month===n&&(e.day=Math.max(r,e.day))}}getEras(){return W}getYearsInEra(e){let t=W.indexOf(e.era),n=H[t],r=H[t+1];if(null==r)return 9999-n[0]+1;let o=r[0]-n[0];return(e.month<r[1]||e.month===r[1]&&e.day<r[2])&&o++,o}getDaysInMonth(e){return super.getDaysInMonth(q(e))}getMinimumMonthInYear(e){let t=G(e);return t?t[1]:1}getMinimumDayInMonth(e){let t=G(e);return t&&e.month===t[1]?t[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function G(e){if(1===e.year){let t=W.indexOf(e.era);return H[t]}}const J=[0,31,62,93,124,155,186,216,246,276,306,336];class Q{fromJulianDay(e){let t=e-1948320,n=1+Math.floor((33*t+3)/12053),o=t-(365*(n-1)+Math.floor((8*n+21)/33)),a=o<216?Math.floor(o/31):Math.floor((o-6)/30),i=o-J[a]+1;return new(0,r.aw)(this,n,a+1,i)}toJulianDay(e){let t=1948319+365*(e.year-1)+Math.floor((8*e.year+21)/33);return t+=J[e.month-1],t+=e.day,t}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||(0,v.w)(25*e.year+11,33)<8?30:29}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const X=1911;function ee(e){return"minguo"===e.era?e.year+X:1-e.year+X}function te(e){let t=e-X;return t>0?["minguo",t]:["before_minguo",1-t]}class ne extends o.IQ{fromJulianDay(e){let t=super.fromJulianDay(e),n=(0,o.J4)(t.era,t.year),[a,i]=te(n);return new(0,r.aw)(this,a,i,t.month,t.day)}toJulianDay(e){return super.toJulianDay(re(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[t,n]=te(ee(e));e.era=t,e.year=n}isInverseEra(e){return"before_minguo"===e.era}getDaysInMonth(e){return super.getDaysInMonth(re(e))}getYearsInEra(e){return"before_minguo"===e.era?9999:9999-X}constructor(...e){super(...e),this.identifier="roc"}}function re(e){let[t,n]=(0,o.JD)(ee(e));
8return new(0,r.aw)(t,n,e.month,e.day)}function oe(e){switch(e){case"buddhist":return new a;case"ethiopic":return new h;case"ethioaa":return new m;case"coptic":return new g;case"hebrew":return new D;case"indian":return new x;case"islamic-civil":return new M;case"islamic-tbla":return new A;case"islamic-umalqura":return new Z;case"japanese":return new Y;case"persian":return new Q;case"roc":return new ne;default:return new(0,o.IQ)}}},5575:(e,t,n)=>{"use strict";n.d(t,{$X:()=>f,Co:()=>D,GK:()=>w,IH:()=>i,U2:()=>b,cW:()=>S,dW:()=>m,jH:()=>c,q_:()=>h,qr:()=>x,t8:()=>p,wC:()=>P,xC:()=>E,yG:()=>y});var r=n(8438),o=n(9210);const a=36e5;function i(e,t){let n=e.copy(),r="hour"in n?v(n,t):0;s(n,t.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,e),n.month+=t.months||0,l(n),u(n),n.day+=7*(t.weeks||0),n.day+=t.days||0,n.day+=r,function(e){for(;e.day<1;)e.month--,l(e),e.day+=e.calendar.getDaysInMonth(e);for(;e.day>e.calendar.getDaysInMonth(e);)e.day-=e.calendar.getDaysInMonth(e),e.month++,l(e)}(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let o=n.calendar.getYearsInEra(n);if(n.year>o){var a,i;let e=null===(a=(i=n.calendar).isInverseEra)||void 0===a?void 0:a.call(i,n);n.year=o,n.month=e?1:n.calendar.getMonthsInYear(n),n.day=e?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let c=n.calendar.getMonthsInYear(n);return n.month>c&&(n.month=c,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function s(e,t){var n,r;(null===(n=(r=e.calendar).isInverseEra)||void 0===n?void 0:n.call(r,e))&&(t=-t),e.year+=t}function l(e){for(;e.month<1;)s(e,-1),e.month+=e.calendar.getMonthsInYear(e);let t=0;for(;e.month>(t=e.calendar.getMonthsInYear(e));)e.month-=t,s(e,1)}function u(e){e.month=Math.max(1,Math.min(e.calendar.getMonthsInYear(e),e.month)),e.day=Math.max(1,Math.min(e.calendar.getDaysInMonth(e),e.day))}function c(e){e.calendar.constrainDate&&e.calendar.constrainDate(e),e.year=Math.max(1,Math.min(e.calendar.getYearsInEra(e),e.year)),u(e)}function d(e){let t={};for(let n in e)"number"==typeof e[n]&&(t[n]=-e[n]);return t}function f(e,t){return i(e,d(t))}function p(e,t){let n=e.copy();return null!=t.era&&(n.era=t.era),null!=t.year&&(n.year=t.year),null!=t.month&&(n.month=t.month),null!=t.day&&(n.day=t.day),c(n),n}function h(e,t){let n=e.copy();return null!=t.hour&&(n.hour=t.hour),null!=t.minute&&(n.minute=t.minute),null!=t.second&&(n.second=t.second),null!=t.millisecond&&(n.millisecond=t.millisecond),m(n),n}function m(e){e.millisecond=Math.max(0,Math.min(e.millisecond,1e3)),e.second=Math.max(0,Math.min(e.second,59)),e.minute=Math.max(0,Math.min(e.minute,59)),e.hour=Math.max(0,Math.min(e.hour,23))}function g(e,t){let n=e%t;return n<0&&(n+=t),n}function v(e,t){return e.hour+=t.hours||0,e.minute+=t.minutes||0,e.second+=t.seconds||0,e.millisecond+=t.milliseconds||0,function(e){e.second+=Math.floor(e.millisecond/1e3),e.millisecond=g(e.millisecond,1e3),e.minute+=Math.floor(e.second/60),e.second=g(e.second,60),e.hour+=Math.floor(e.minute/60),e.minute=g(e.minute,60);let t=Math.floor(e.hour/24);return e.hour=g(e.hour,24),t}(e)}function y(e,t){let n=e.copy();return v(n,t),n}function b(e,t){return y(e,d(t))}function w(e,t,n,r){let o=e.copy();switch(t){case"era":{let t=e.calendar.getEras(),a=t.indexOf(e.era);if(a<0)throw new Error("Invalid era: "+e.era);a=_(a,n,0,t.length-1,null==r?void 0:r.round),o.era=t[a],c(o);break}case"year":var a,i;(null===(a=(i=o.calendar).isInverseEra)||void 0===a?void 0:a.call(i,o))&&(n=-n),o.year=_(e.year,n,-1/0,9999,null==r?void 0:r.round),o.year===-1/0&&(o.year=1),o.calendar.balanceYearMonth&&o.calendar.balanceYearMonth(o,e);break;case"month":o.month=_(e.month,n,1,e.calendar.getMonthsInYear(e),null==r?void 0:r.round);break;case"day":o.day=_(e.day,n,1,e.calendar.getDaysInMonth(e),null==r?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return e.calendar.balanceDate&&e.calendar.balanceDate(o),c(o),o}function E(e,t,n,r){let o=e.copy();switch(t){case"hour":{let t=e.hour,a=0,i=23;if(12===(null==r?void 0:r.hourCycle)){let e=t>=12;a=e?12:0,i=e?23:11}o.hour=_(t,n,a,i,null==r?void 0:r.round);break}case"minute":o.minute=_(e.minute,n,0,59,null==r?void 0:r.round);break;case"second":o.second=_(e.second,n,0,59,null==r?void 0:r.round);break;case"millisecond":o.millisecond=_(e.millisecond,n,0,999,null==r?void 0:r.round);break;default:throw new Error("Unsupported field "+t)}return o}function _(e,t,n,r,o=!1){if(o){(e+=Math.sign(t))<n&&(e=r);let o=Math.abs(t);(e=t>0?Math.ceil(e/o)*o:Math.floor(e/o)*o)>r&&(e=n)}else(e+=t)<n?e=r-(n-e-1):e>r&&(e=n+(e-r-1));return e}function S(e,t){let n;if(null!=t.years&&0!==t.years||null!=t.months&&0!==t.months||null!=t.weeks&&0!==t.weeks||null!=t.days&&0!==t.days){let o=i((0,r.IO)(e),{years:t.years,months:t.months,weeks:t.weeks,days:t.days});n=(0,r.xA)(o,e.timeZone)}else n=(0,r.ZI)(e)-e.offset;n+=t.milliseconds||0,n+=1e3*(t.seconds||0),n+=6e4*(t.minutes||0),n+=36e5*(t.hours||0);let o=(0,r.FD)(n,e.timeZone);return(0,r.Mw)(o,e.calendar)}function D(e,t){return S(e,d(t))}function x(e,t,n,i){switch(t){case"hour":{let t=0,s=23;if(12===(null==i?void 0:i.hourCycle)){let n=e.hour>=12;t=n?12:0,s=n?23:11}let l=(0,r.IO)(e),u=(0,r.Mw)(h(l,{hour:t}),new(0,o.IQ)),c=[(0,r.xA)(u,e.timeZone,"earlier"),(0,r.xA)(u,e.timeZone,"later")].filter((t=>(0,r.FD)(t,e.timeZone).day===u.day))[0],d=(0,r.Mw)(h(l,{hour:s}),new(0,o.IQ)),f=[(0,r.xA)(d,e.timeZone,"earlier"),(0,r.xA)(d,e.timeZone,"later")].filter((t=>(0,r.FD)(t,e.timeZone).day===d.day)).pop(),p=(0,r.ZI)(e)-e.offset,m=Math.floor(p/a),g=p%a;return p=_(m,n,Math.floor(c/a),Math.floor(f/a),null==i?void 0:i.round)*a+g,(0,r.Mw)((0,r.FD)(p,e.timeZone),e.calendar)}case"minute":case"second":case"millisecond":return E(e,t,n,i);case"era":case"year":case"month":case"day":{let o=w((0,r.IO)(e),t,n,i),a=(0,r.xA)(o,e.timeZone);
8return(0,r.Mw)((0,r.FD)(a,e.timeZone),e.calendar)}default:throw new Error("Unsupported field "+t)}}function P(e,t,n){let o=(0,r.IO)(e),a=h(p(o,t),t);if(0===a.compare(o))return e;let i=(0,r.xA)(a,e.timeZone,n);return(0,r.Mw)((0,r.FD)(i,e.timeZone),e.calendar)}},3707:(e,t,n)=>{"use strict";n.d(t,{rm:()=>p,Xi:()=>h,Vf:()=>b,vV:()=>D,ji:()=>c,iT:()=>v,PA:()=>_,jx:()=>E,Rn:()=>P,jv:()=>s,N9:()=>i,KC:()=>a,zk:()=>l,l7:()=>k,Mb:()=>C,zO:()=>d,Nm:()=>y,zJ:()=>S,em:()=>w,Lg:()=>f});var r=n(8438);const o={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function a(e,t){return t=(0,r.Mw)(t,e.calendar),e.era===t.era&&e.year===t.year&&e.month===t.month&&e.day===t.day}function i(e,t){return s(e.calendar,t.calendar)&&a(e,t)}function s(e,t){var n,r,o,a;return null!==(a=null!==(o=null===(n=e.isEqual)||void 0===n?void 0:n.call(e,t))&&void 0!==o?o:null===(r=t.isEqual)||void 0===r?void 0:r.call(t,e))&&void 0!==a?a:e.identifier===t.identifier}function l(e,t){return a(e,f(t))}const u={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function c(e,t,n){let r=e.calendar.toJulianDay(e),a=n?u[n]:function(e){let t=function(e){if(Intl.Locale){let t=x.get(e);return t||(t=new Intl.Locale(e).maximize().region,t&&x.set(e,t)),t}let t=e.split("-")[1];return"u"===t?void 0:t}(e);return t&&o[t]||0}(t),i=Math.ceil(r+1-a)%7;return i<0&&(i+=7),i}function d(e){return(0,r.FD)(Date.now(),e)}function f(e){return(0,r.WG)(d(e))}function p(e,t){return e.calendar.toJulianDay(e)-t.calendar.toJulianDay(t)}function h(e,t){return m(e)-m(t)}function m(e){return 36e5*e.hour+6e4*e.minute+1e3*e.second+e.millisecond}let g=null;function v(){return null==g&&(g=(new Intl.DateTimeFormat).resolvedOptions().timeZone),g}function y(e){return e.subtract({days:e.day-1})}function b(e){return e.add({days:e.calendar.getDaysInMonth(e)-e.day})}function w(e){return y(e.subtract({months:e.month-1}))}function E(e){return e.calendar.getMinimumMonthInYear?e.calendar.getMinimumMonthInYear(e):1}function _(e){return e.calendar.getMinimumDayInMonth?e.calendar.getMinimumDayInMonth(e):1}function S(e,t,n){let r=c(e,t,n);return e.subtract({days:r})}function D(e,t,n){return S(e,t,n).add({days:6})}const x=new Map;function P(e,t,n){let r=e.calendar.getDaysInMonth(e);return Math.ceil((c(y(e),t,n)+r)/7)}function C(e,t){return e&&t?e.compare(t)<=0?e:t:e||t}function k(e,t){return e&&t?e.compare(t)>=0?e:t:e||t}},5919:(e,t,n)=>{"use strict";n.d(t,{LM:()=>p,Rf:()=>h,UW:()=>f,sG:()=>l,to:()=>d,u4:()=>u});var r=n(1602),o=n(8438),a=n(9210);const i=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})$/,s=/^([+-]\d{6}|\d{4})-(\d{2})-(\d{2})(?:T(\d{2}))?(?::(\d{2}))?(?::(\d{2}))?(\.\d+)?(?:(?:([+-]\d{2})(?::?(\d{2}))?)|Z)$/;function l(e){let t=e.match(i);if(!t)throw new Error("Invalid ISO 8601 date string: "+e);let n=new(0,r.aw)(c(t[1],0,9999),c(t[2],1,12),1);return n.day=c(t[3],1,n.calendar.getDaysInMonth(n)),n}function u(e,t){let n=e.match(s);if(!n)throw new Error("Invalid ISO 8601 date time string: "+e);let a=c(n[1],-9999,9999),i=a<1?"BC":"AD",l=new(0,r.AQ)(i,a<1?1-a:a,c(n[2],1,12),1,t,0,n[4]?c(n[4],0,23):0,n[5]?c(n[5],0,59):0,n[6]?c(n[6],0,59):0,n[7]?1e3*c(n[7],0,1/0):0);var u;return l.day=c(n[3],0,l.calendar.getDaysInMonth(l)),n[8]&&(l.offset=36e5*c(n[8],-23,23)+6e4*c(null!==(u=n[9])&&void 0!==u?u:"0",0,59)),(0,o.MW)(l,t)}function c(e,t,n){let r=Number(e);if(r<t||r>n)throw new RangeError(`Value out of range: ${t} <= ${r} <= ${n}`);return r}function d(e){return`${String(e.hour).padStart(2,"0")}:${String(e.minute).padStart(2,"0")}:${String(e.second).padStart(2,"0")}${e.millisecond?String(e.millisecond/1e3).slice(1):""}`}function f(e){let t,n=(0,o.Mw)(e,new(0,a.IQ));return t="BC"===n.era?1===n.year?"0000":"-"+String(Math.abs(1-n.year)).padStart(6,"00"):String(n.year).padStart(4,"0"),`${t}-${String(n.month).padStart(2,"0")}-${String(n.day).padStart(2,"0")}`}function p(e){return`${f(e)}T${d(e)}`}function h(e){return`${p(e)}${function(e){let t=Math.sign(e)<0?"-":"+";e=Math.abs(e);let n=Math.floor(e/36e5),r=e%36e5/6e4;return`${t}
8${String(n).padStart(2,"0")}:${String(r).padStart(2,"0")}`}(e.offset)}[${e.timeZone}]`}},2439:(e,t,n)=>{"use strict";function r(e,t){return e-t*Math.floor(e/t)}n.d(t,{w:()=>r})},1044:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});const r=Symbol.for("react-aria.i18n.locale"),o=Symbol.for("react-aria.i18n.strings");let a;class i{getStringForLocale(e,t){let n=this.getStringsForLocale(t)[e];if(!n)throw new Error(`Could not find intl message ${e} in ${t} locale`);return n}getStringsForLocale(e){let t=this.strings[e];return t||(t=function(e,t,n="en-US"){if(t[e])return t[e];let r=function(e){return Intl.Locale?new Intl.Locale(e).language:e.split("-")[0]}(e);if(t[r])return t[r];for(let e in t)if(e.startsWith(r+"-"))return t[e];return t[n]}(e,this.strings,this.defaultLocale),this.strings[e]=t),t}static getGlobalDictionaryForPackage(e){if("undefined"==typeof window)return null;let t=window[r];if(void 0===a){let e=window[o];if(!e)return null;a={};for(let n in e)a[n]=new i({[t]:e[n]},t)}let n=null==a?void 0:a[e];if(!n)throw new Error(`Strings for package "${e}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return n}constructor(e,t="en-US"){this.strings=Object.fromEntries(Object.entries(e).filter((([,e])=>e))),this.defaultLocale=t}}},1839:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});const r=new Map,o=new Map;class a{format(e,t){let n=this.strings.getStringForLocale(e,this.locale);return"function"==typeof n?n(t,this):n}plural(e,t,n="cardinal"){let o=t["="+e];if(o)return"function"==typeof o?o():o;let a=this.locale+":"+n,i=r.get(a);return i||(i=new Intl.PluralRules(this.locale,{type:n}),r.set(a,i)),o=t[i.select(e)]||t.other,"function"==typeof o?o():o}number(e){let t=o.get(this.locale);return t||(t=new Intl.NumberFormat(this.locale),o.set(this.locale,t)),t.format(e)}select(e,t){let n=e[t]||e.other;return"function"==typeof n?n():n}constructor(e,t){this.locale=e,this.strings=t}}},6206:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||r&&!r.defaultPrevented)return null==t?void 0:t(r)}}n.d(t,{M:()=>r})},5936:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var r=n(9748),o=n(5360),a=n(8771),i=n(8426);function s(e){const t=e+"CollectionProvider",[n,s]=(0,o.b)(t),[l,u]=n(t,{collectionRef:{current:null},itemMap:new Map}),c=e+"CollectionSlot",d=e+"CollectionItemSlot",f="data-radix-collection-item";return[{Provider:e=>{const{scope:t,children:n}=e,o=r.default.useRef(null),a=r.default.useRef(new Map).current;return r.default.createElement(l,{scope:t,itemMap:a,collectionRef:o},n)},Slot:r.default.forwardRef(((e,t)=>{const{scope:n,children:o}=e,s=u(c,n),l=(0,a.e)(t,s.collectionRef);return r.default.createElement(i.g7,{ref:l},o)})),ItemSlot:r.default.forwardRef(((e,t)=>{const{scope:n,children:o,...s}=e,l=r.default.useRef(null),c=(0,a.e)(t,l),p=u(d,n);return r.default.useEffect((()=>(p.itemMap.set(l,{ref:l,...s}),()=>{p.itemMap.delete(l)}))),r.default.createElement(i.g7,{[f]:"",ref:c},o)}))},function(t){const n=u(e+"CollectionConsumer",t);return r.default.useCallback((()=>{const e=n.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${f}]`));return Array.from(n.itemMap.values()).sort(((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current)))}),[n.collectionRef,n.itemMap])},s]}},8771:(e,t,n)=>{"use strict";n.d(t,{F:()=>o,e:()=>a});var r=n(9748);function o(...e){return t=>e.forEach((e=>function(e,t){"function"==typeof e?e(t):null!=e&&(e.current=t)}(e,t)))}function a(...e){return(0,r.useCallback)(o(...e),e)}},5360:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(9748);function o(e,t=[]){let n=[];const o=()=>{const t=n.map((e=>(0,r.createContext)(e)));return function(n){const o=(null==n?void 0:n[e])||t;return(0,r.useMemo)((()=>({[`__scope${e}`]:{...n,[e]:o}})),[n,o])}};return o.scopeName=e,[function(t,o){const a=(0,r.createContext)(o),i=n.length;function s(t){const{scope:n,children:o,...s}=t,l=(null==n?void 0:n[e][i])||a,u=(0,r.useMemo)((()=>s),Object.values(s));return(0,r.createElement)(l.Provider,{value:u},o)}return n=[...n,o],s.displayName=t+"Provider",[s,function(n,s){const l=(null==s?void 0:s[e][i])||a,u=(0,r.useContext)(l);if(u)return u;if(void 0!==o)return o;throw new Error(`\`${n}\` must be used within \`${t}\``)}]},a(o,...t)]}function a(...e){const t=e[0];if(1===e.length)return t;const n=()=>{const n=e.map((e=>({useScope:e(),scopeName:e.scopeName})));return function(e){const o=n.reduce(((t,{useScope:n,scopeName:r})=>({...t,...n(e)[`__scope${r}`]})),{});return(0,r.useMemo)((()=>({[`__scope${t.scopeName}`]:o})),[o])}};return n.scopeName=t.scopeName,n}},8990:(e,t,n)=>{"use strict";n.d(t,{gm:()=>a});var r=n(9748);const o=(0,r.createContext)(void 0);function a(e){const t=(0,r.useContext)(o);return e||t||"ltr"}},4369:(e,t,n)=>{"use strict";n.d(t,{XB:()=>f});var r=n(7462),o=n(9748),a=n(6206),i=n(5320),s=n(8771),l=n(9698);const u="dismissableLayer.update";let c;const d=(0,o.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=(0,o.forwardRef)(((e,t)=>{var n;const{disableOutsidePointerEvents:f=!1,onEscapeKeyDown:m,onPointerDownOutside:g,onFocusOutside:v,onInteractOutside:y,onDismiss:b,...w}=e,E=(0,o.useContext)(d),[_,S]=(0,o.useState)(null),D=null!==(n=null==_?void 0:_.ownerDocument)&&void 0!==n?n:null===globalThis||void 0===globalThis?void 0:globalThis.document,[,x]=(0,o.useState)({}),P=(0,s.e)(t,(e=>S(e))),C=Array.from(E.layers),[k]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),O=C.indexOf(k),R=_?C.indexOf(_):-1,T=E.layersWithOutsidePointerEventsDisabled.size>0,$=R>=O,I=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),r=(0,o.useRef)(!1),a=(0,o.useRef)((()=>{}));return(0,o.useEffect)((()=>{const e=e=>{if(e.target&&!r.current){const o={originalEvent:e};function i(){h("dismissableLayer.pointerDownOutside",n,o,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=i,t.addEventListener("click",a.current,{once:!0})):i()}else t.removeEventListener("click",a.current);r.current=!1},o=window.setTimeout((()=>{t.addEventListener("pointerdown",e)}),0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}}),[t,n]),{onPointerDownCapture:()=>r.current=!0}}((e=>{const t=e.target,n=[...E.branches].some((e=>e.contains(t)));$&&!n&&(null==g||g(e),null==y||y(e),e.defaultPrevented||null==b||b())}),D),M=function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e),r=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{const e=e=>{e.target&&!r.current&&h("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)}),[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}((e=>{const t=e.target;[...E.branches].some((e=>e.contains(t)))||(null==v||v(e),null==y||y(e),e.defaultPrevented||null==b||b())}),D);return function(e,t=(null===globalThis||void 0===globalThis?void 0:globalThis.document)){const n=(0,l.W)(e);(0,o.useEffect)((()=>{const e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e),()=>t.removeEventListener("keydown",e)}),[n,t])}((e=>{R===E.layers.size-1&&(null==m||m(e),!e.defaultPrevented&&b&&(e.preventDefault(),b()))}),D),(0,o.useEffect)((()=>
8{if(_)return f&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(c=D.body.style.pointerEvents,D.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(_)),E.layers.add(_),p(),()=>{f&&1===E.layersWithOutsidePointerEventsDisabled.size&&(D.body.style.pointerEvents=c)}}),[_,D,f,E]),(0,o.useEffect)((()=>()=>{_&&(E.layers.delete(_),E.layersWithOutsidePointerEventsDisabled.delete(_),p())}),[_,E]),(0,o.useEffect)((()=>{const e=()=>x({});return document.addEventListener(u,e),()=>document.removeEventListener(u,e)}),[]),(0,o.createElement)(i.WV.div,(0,r.Z)({},w,{ref:P,style:{pointerEvents:T?$?"auto":"none":void 0,...e.style},onFocusCapture:(0,a.M)(e.onFocusCapture,M.onFocusCapture),onBlurCapture:(0,a.M)(e.onBlurCapture,M.onBlurCapture),onPointerDownCapture:(0,a.M)(e.onPointerDownCapture,I.onPointerDownCapture)}))}));function p(){const e=new CustomEvent(u);document.dispatchEvent(e)}function h(e,t,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,i.jH)(o,a):o.dispatchEvent(a)}}
8,7552:(e,t,n)=>{"use strict";n.d(t,{EW:()=>a});var r=n(9748);let o=0;function a(){(0,r.useEffect)((()=>{var e,t;const n=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",null!==(e=n[0])&&void 0!==e?e:i()),document.body.insertAdjacentElement("beforeend",null!==(t=n[1])&&void 0!==t?t:i()),o++,()=>{1===o&&document.querySelectorAll("[data-radix-focus-guard]").forEach((e=>e.remove())),o--}}),[])}function i(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}},5420:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var r=n(7462),o=n(9748),a=n(8771),i=n(5320),s=n(9698);const l="focusScope.autoFocusOnMount",u="focusScope.autoFocusOnUnmount",c={bubbles:!1,cancelable:!0},d=(0,o.forwardRef)(((e,t)=>{const{loop:n=!1,trapped:d=!1,onMountAutoFocus:h,onUnmountAutoFocus:v,...y}=e,[b,w]=(0,o.useState)(null),E=(0,s.W)(h),_=(0,s.W)(v),S=(0,o.useRef)(null),D=(0,a.e)(t,(e=>w(e))),x=(0,o.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,o.useEffect)((()=>{if(d){function e(e){if(x.paused||!b)return;const t=e.target;b.contains(t)?S.current=t:m(S.current,{select:!0})}function t(e){if(x.paused||!b)return;const t=e.relatedTarget;null!==t&&(b.contains(t)||m(S.current,{select:!0}))}function n(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&m(b)}document.addEventListener("focusin",e),document.addEventListener("focusout",t);const r=new MutationObserver(n);return b&&r.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),r.disconnect()}}}),[d,b,x.paused]),(0,o.useEffect)((()=>{if(b){g.add(x);const e=document.activeElement;if(!b.contains(e)){const t=new CustomEvent(l,c);b.addEventListener(l,E),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(m(r,{select:t}),document.activeElement!==n)return}(f(b).filter((e=>"A"!==e.tagName)),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(l,E),setTimeout((()=>{const t=new CustomEvent(u,c);b.addEventListener(u,_),b.dispatchEvent(t),t.defaultPrevented||m(null!=e?e:document.body,{select:!0}),b.removeEventListener(u,_),g.remove(x)}),0)}}}),[b,E,_,x]);const P=(0,o.useCallback)((e=>{if(!n&&!d)return;if(x.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[o,a]=function(e){const t=f(e);return[p(t,e),p(t.reverse(),e)]}(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&m(a,{select:!0})):(e.preventDefault(),n&&m(o,{select:!0})):r===t&&e.preventDefault()}}),[n,d,x.paused]);return(0,o.createElement)(i.WV.div,(0,r.Z)({tabIndex:-1},y,{ref:D,onKeyDown:P}))}));function f(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(const n of e)if(!h(n,{upTo:t}))return n}function h(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function m(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}const g=function(){let e=[];return{add(t){const n=e[0];t!==n&&(null==n||n.pause()),e=v(e,t),e.unshift(t)},remove(t){var n;e=v(e,t),null===(n=e[0])||void 0===n||n.resume()}}}();function v(e,t){const n=[...e],r=n.indexOf(t);return-1!==r&&n.splice(r,1),n}},9721:(e,t,n)=>{"use strict";n.d(t,{oT:()=>B,gN:()=>Z,__:()=>H,v0:()=>z,fC:()=>U});var r=n(7462),o=n(9748),a=n(6206),i=n(8771),s=n(5360),l=n(1276),u=n(5320);const c=(0,o.forwardRef)(((e,t)=>(0,o.createElement)(u.WV.label,(0,r.Z)({},e,{ref:t,onMouseDown:t=>{var n;null===(n=e.onMouseDown)||void 0===n||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault()}})))),[d,f]=(0,s.b)("Form"),p="Form",[h,m]=d(p),[g,v]=d(p),y=(0,o.forwardRef)(((e,t)=>{const{__scopeForm:n,onClearServerErrors:s=(()=>{}),...l}=e,c=(0,o.useRef)(null),d=(0,i.e)(t,c),[f,p]=(0,o.useState)({}),m=(0,o.useCallback)((e=>f[e]),[f]),v=(0,o.useCallback)(((e,t)=>p((n=>{var r;return{...n,[e]:{...null!==(r=n[e])&&void 0!==r?r:{},...t}}}))),[]),y=(0,o.useCallback)((e=>{p((t=>({...t,[e]:void 0}))),x((t=>({...t,[e]:{}})))}),[]),[b,w]=(0,o.useState)({}),E=(0,o.useCallback)((e=>{var t;return null!==(t=b[e])&&void 0!==t?t:[]}),[b]),_=(0,o.useCallback)(((e,t)=>{w((n=>{var r;return{...n,[e]:[...null!==(r=n[e])&&void 0!==r?r:[],t]}}
8))}),[]),S=(0,o.useCallback)(((e,t)=>{w((n=>{var r;return{...n,[e]:(null!==(r=n[e])&&void 0!==r?r:[]).filter((e=>e.id!==t))}}))}),[]),[D,x]=(0,o.useState)({}),P=(0,o.useCallback)((e=>{var t;return null!==(t=D[e])&&void 0!==t?t:{}}),[D]),C=(0,o.useCallback)(((e,t)=>{x((n=>{var r;return{...n,[e]:{...null!==(r=n[e])&&void 0!==r?r:{},...t}}}))}),[]),[k,O]=(0,o.useState)({}),R=(0,o.useCallback)(((e,t)=>{O((n=>{const r=new Set(n[e]).add(t);return{...n,[e]:r}}))}),[]),T=(0,o.useCallback)(((e,t)=>{O((n=>{const r=new Set(n[e]);return r.delete(t),{...n,[e]:r}}))}),[]),$=(0,o.useCallback)((e=>{var t;return Array.from(null!==(t=k[e])&&void 0!==t?t:[]).join(" ")||void 0}),[k]);return(0,o.createElement)(h,{scope:n,getFieldValidity:m,onFieldValidityChange:v,getFieldCustomMatcherEntries:E,onFieldCustomMatcherEntryAdd:_,onFieldCustomMatcherEntryRemove:S,getFieldCustomErrors:P,onFieldCustomErrorsChange:C,onFieldValiditionClear:y},(0,o.createElement)(g,{scope:n,onFieldMessageIdAdd:R,onFieldMessageIdRemove:T,getFieldDescription:$},(0,o.createElement)(u.WV.form,(0,r.Z)({},l,{ref:d,onInvalid:(0,a.M)(e.onInvalid,(e=>{const t=j(e.currentTarget);t===e.target&&t.focus(),e.preventDefault()})),onSubmit:(0,a.M)(e.onSubmit,s,{checkForDefaultPrevented:!1}),onReset:(0,a.M)(e.onReset,s)}))))})),b="FormField",[w,E]=d(b),_=(0,o.forwardRef)(((e,t)=>{const{__scopeForm:n,name:a,serverInvalid:i=!1,...s}=e,c=m(b,n).getFieldValidity(a),d=(0,l.M)();return(0,o.createElement)(w,{scope:n,id:d,name:a,serverInvalid:i},(0,o.createElement)(u.WV.div,(0,r.Z)({"data-valid":F(c,i),"data-invalid":V(c,i)},s,{ref:t})))})),S="FormLabel",D=(0,o.forwardRef)(((e,t)=>{const{__scopeForm:n,...a}=e,i=m(S,n),s=E(S,n),l=a.htmlFor||s.id,u=i.getFieldValidity(s.name);return(0,o.createElement)(c,(0,r.Z)({"data-valid":F(u,s.serverInvalid),"data-invalid":V(u,s.serverInvalid)},a,{ref:t,htmlFor:l}))})),x="FormControl",P=(0,o.forwardRef)(((e,t)=>{const{__scopeForm:n,...s}=e,l=m(x,n),c=E(x,n),d=v(x,n),f=(0,o.useRef)(null),p=(0,i.e)(t,f),h=s.name||c.name,g=s.id||c.id,y=l.getFieldCustomMatcherEntries(h),{onFieldValidityChange:b,onFieldCustomErrorsChange:w,onFieldValiditionClear:_}=l,S=(0,o.useCallback)((async e=>{if(L(e.validity)){const t=M(e.validity);return void b(h,t)}const t=e.form?new FormData(e.form):new FormData,n=[e.value,t],r=[],o=[];y.forEach((e=>{var t,a;a=n,"AsyncFunction"===(t=e).match.constructor.name||function(e,t){return e(...t)instanceof Promise}(t.match,a)?o.push(e):function(e){return"Function"===e.match.constructor.name}(e)&&r.push(e)}));const a=r.map((({id:e,match:t})=>[e,t(...n)])),i=Object.fromEntries(a),s=Object.values(i).some(Boolean),l=s;e.setCustomValidity(l?C:"");const u=M(e.validity);if(b(h,u),w(h,i),!s&&o.length>0){const t=o.map((({id:e,match:t})=>t(...n).then((t=>[e,t])))),r=await Promise.all(t),a=Object.fromEntries(r),i=Object.values(a).some(Boolean);e.setCustomValidity(i?C:"");const s=M(e.validity);b(h,s),w(h,a)}}),[y,h,w,b]);(0,o.useEffect)((()=>{const e=f.current;if(e){const t=()=>S(e);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)}}),[S]);const D=(0,o.useCallback)((()=>{const e=f.current;e&&(e.setCustomValidity(""),_(h))}),[h,_]);(0,o.useEffect)((()=>{var e;const t=null===(e=f.current)||void 0===e?void 0:e.form;if(t)return t.addEventListener("reset",D),()=>t.removeEventListener("reset",D)}),[D]),(0,o.useEffect)((()=>{const e=f.current,t=null==e?void 0:e.closest("form");if(t&&c.serverInvalid){const n=j(t);n===e&&n.focus()}}),[c.serverInvalid]);const P=l.getFieldValidity(h);return(0,o.createElement)(u.WV.input,(0,r.Z)({"data-valid":F(P,c.serverInvalid),"data-invalid":V(P,c.serverInvalid),"aria-invalid":!!c.serverInvalid||void 0,"aria-describedby":d.getFieldDescription(h),title:""},s,{ref:p,id:g,name:h,onInvalid:(0,a.M)(e.onInvalid,(e=>{const t=e.currentTarget;S(t)})),onChange:(0,a.M)(e.onChange,(e=>{D()}))}))})),C="This value is not valid",k={badInput:C,patternMismatch:"This value does not match the required pattern",rangeOverflow:"This value is too large",rangeUnderflow:"This value is too small",stepMismatch:"This value does not match the required step",tooLong:"This value is too long",tooShort:"This value is too short",typeMismatch:"This value does not match the required type",valid:void 0,valueMissing:"This value is missing"},O="FormMessage",R=(0,o.forwardRef)(((e,t)=>{const{match:n,name:a,...i}=e,s=E(O,e.__scopeForm),l=null!=a?a:s.name;return void 0===n?(0,o.createElement)(I,(0,r.Z)({},i,{ref:t,name:l}),e.children||C):"function"==typeof n?(0,o.createElement)($,(0,r.Z)({match:n},i,{ref:t,name:l})):(0,o.createElement)(T,(0,r.Z)({match:n},i,{ref:t,name:l}))})),T=(0,o.forwardRef)(((e,t)=>{const{match:n,forceMatch:a=!1,name:i,children:s,...l}=e,u=m(O,l.__scopeForm).getFieldValidity(i);return a||(null==u?void 0:u[n])?(0,o.createElement)(I,(0,r.Z)({ref:t},l,{name:i}),null!=s?s:k[n]):null})),$=(0,o.forwardRef)(((e,t)=>{const{match:n,forceMatch:a=!1,name:s,id:u,children:c,...d}=e,f=m(O,d.__scopeForm),p=(0,o.useRef)(null),h=(0,i.e)(t,p),g=(0,l.M)(),v=null!=u?u:g,y=(0,o.useMemo)((()=>({id:v,match:n}
8)),[v,n]),{onFieldCustomMatcherEntryAdd:b,onFieldCustomMatcherEntryRemove:w}=f;(0,o.useEffect)((()=>(b(s,y),()=>w(s,y.id))),[y,s,b,w]);const E=f.getFieldValidity(s),_=f.getFieldCustomErrors(s)[v];return a||E&&!L(E)&&_?(0,o.createElement)(I,(0,r.Z)({id:v,ref:h},d,{name:s}),null!=c?c:C):null})),I=(0,o.forwardRef)(((e,t)=>{const{__scopeForm:n,id:a,name:i,...s}=e,c=v(O,n),d=(0,l.M)(),f=null!=a?a:d,{onFieldMessageIdAdd:p,onFieldMessageIdRemove:h}=c;return(0,o.useEffect)((()=>(p(i,f),()=>h(i,f))),[i,f,p,h]),(0,o.createElement)(u.WV.span,(0,r.Z)({id:f},s,{ref:t}))}));function M(e){const t={};for(const n in e)t[n]=e[n];return t}function A(e){return e instanceof HTMLElement}function N(e){return"validity"in e&&(!1===e.validity.valid||"true"===e.getAttribute("aria-invalid"))}function j(e){const t=e.elements,[n]=Array.from(t).filter(A).filter(N);return n}function L(e){let t=!1;for(const n in e)if("valid"!==n&&"customError"!==n&&e[n]){t=!0;break}return t}function F(e,t){if(!0===(null==e?void 0:e.valid)&&!t)return!0}function V(e,t){if(!1===(null==e?void 0:e.valid)||t)return!0}const U=y,Z=_,H=D,B=P,z=R},1276:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var r=n(9748),o=n(9981);const a=r["useId".toString()]||(()=>{});let i=0;function s(e){const[t,n]=r.useState(a());return(0,o.b)((()=>{e||n((e=>null!=e?e:String(i++)))}),[e]),e||(t?`radix-${t}`:"")}},6419:(e,t,n)=>{"use strict";n.d(t,{Eh:()=>V,VY:()=>F,fC:()=>N,h_:()=>L,xz:()=>j});var r=n(7462),o=n(9748),a=n(6206),i=n(8771),s=n(5360),l=n(4369),u=n(7552),c=n(5420),d=n(1276),f=n(6038),p=n(2651),h=n(9115),m=n(5320),g=n(8426),v=n(7342),y=n(3541),b=n(7219);const w="Popover",[E,_]=(0,s.b)(w,[f.D7]),S=(0,f.D7)(),[D,x]=E(w),P=(0,o.forwardRef)(((e,t)=>{const{__scopePopover:n,...s}=e,l=x("PopoverTrigger",n),u=S(n),c=(0,i.e)(t,l.triggerRef),d=(0,o.createElement)(m.WV.button,(0,r.Z)({type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":A(l.open)},s,{ref:c,onClick:(0,a.M)(e.onClick,l.onOpenToggle)}));return l.hasCustomAnchor?d:(0,o.createElement)(f.ee,(0,r.Z)({asChild:!0},u),d)})),C="PopoverPortal",[k,O]=E(C,{forceMount:void 0}),R="PopoverContent",T=(0,o.forwardRef)(((e,t)=>{const n=O(R,e.__scopePopover),{forceMount:a=n.forceMount,...i}=e,s=x(R,e.__scopePopover);return(0,o.createElement)(h.z,{present:a||s.open},s.modal?(0,o.createElement)($,(0,r.Z)({},i,{ref:t})):(0,o.createElement)(I,(0,r.Z)({},i,{ref:t})))})),$=(0,o.forwardRef)(((e,t)=>{const n=x(R,e.__scopePopover),s=(0,o.useRef)(null),l=(0,i.e)(t,s),u=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{const e=s.current;if(e)return(0,y.Ry)(e)}),[]),(0,o.createElement)(b.Z,{as:g.g7,allowPinchZoom:!0},(0,o.createElement)(M,(0,r.Z)({},e,{ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,a.M)(e.onCloseAutoFocus,(e=>{var t;e.preventDefault(),u.current||null===(t=n.triggerRef.current)||void 0===t||t.focus()})),onPointerDownOutside:(0,a.M)(e.onPointerDownOutside,(e=>{const t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;u.current=r}),{checkForDefaultPrevented:!1}),onFocusOutside:(0,a.M)(e.onFocusOutside,(e=>e.preventDefault()),{checkForDefaultPrevented:!1})})))})),I=(0,o.forwardRef)(((e,t)=>{const n=x(R,e.__scopePopover),a=(0,o.useRef)(!1),i=(0,o.useRef)(!1);return(0,o.createElement)(M,(0,r.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,o;null===(r=e.onCloseAutoFocus)||void 0===r||r.call(e,t),t.defaultPrevented||(a.current||null===(o=n.triggerRef.current)||void 0===o||o.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{var r,o;null===(r=e.onInteractOutside)||void 0===r||r.call(e,t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const s=t.target;(null===(o=n.triggerRef.current)||void 0===o?void 0:o.contains(s))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}}))})),M=(0,o.forwardRef)(((e,t)=>{const{__scopePopover:n,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:s,disableOutsidePointerEvents:d,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:m,onInteractOutside:g,...v}=e,y=x(R,n),b=S(n);return(0,u.EW)(),(0,o.createElement)(c.M,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:s},(0,o.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:g,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:m,onDismiss:()=>y.onOpenChange(!1)},(0,o.createElement)(f.VY,(0,r.Z)({"data-state":A(y.open),role:"dialog",id:y.contentId},b,v,{ref:t,style:{...v.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}}))))}));function A(e){return e?"open":"closed"}const N=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:a,onOpenChange:i,modal:s=!1}=e,l=S(t),u=(0,o.useRef)(null),[c,p]=(0,o.useState)(!1),[h=!1,m]=(0,v.T)({prop:r,defaultProp:a,onChange:i});return(0,o.createElement)(f.fC,l,(0,o.createElement)(D,{scope:t,contentId:(0,d.M)(),triggerRef:u,open:h,onOpenChange:m,onOpenToggle:(0,o.useCallback)((()=>m((e=>!e))),[m]),hasCustomAnchor:c,onCustomAnchorAdd:(0,o.useCallback)((()=>p(!0)),[]),onCustomAnchorRemove:(0,o.useCallback)((()=>p(!1)),[]),modal:s},n))},j=P,L=e=>{const{__scopePopover:t,forceMount:n,children:r,container:a}=e,i=x(C,t);return(0,o.createElement)(k,{scope:t,forceMount:n},(0,o.createElement)(h.z,{present:n||i.open},(0,o.createElement)(p.h,{asChild:!0,container:a},r)))},F=T,V=(0,o.forwardRef)(((e,t)=>{const{__scopePopover:n,...a}=e,i=S(n);return(0,o.createElement)(f.Eh,(0,r.Z)({},i,a,{ref:t}))}))}
8,6038:(e,t,n)=>{"use strict";n.d(t,{ee:()=>M,Eh:()=>N,VY:()=>A,fC:()=>I,D7:()=>E});var r=n(7462),o=n(9748),a=n(5983),i=n(6200),s="undefined"!=typeof document?o.useLayoutEffect:o.useEffect;function l(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;0!=r--;)if(!l(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||l(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function u(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function c(e,t){const n=u(e);return Math.round(t*n)/n}function d(e){const t=o.useRef(e);return s((()=>{t.current=e})),t}var f=n(5320);const p=(0,o.forwardRef)(((e,t)=>{const{children:n,width:a=10,height:i=5,...s}=e;return(0,o.createElement)(f.WV.svg,(0,r.Z)({},s,{ref:t,width:a,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none"}),e.asChild?n:(0,o.createElement)("polygon",{points:"0,0 30,0 15,10"}))}));var h=n(8771),m=n(5360),g=n(9698),v=n(9981),y=n(7546);const b="Popper",[w,E]=(0,m.b)(b),[_,S]=w(b),D=(0,o.forwardRef)(((e,t)=>{const{__scopePopper:n,virtualRef:a,...i}=e,s=S("PopperAnchor",n),l=(0,o.useRef)(null),u=(0,h.e)(t,l);return(0,o.useEffect)((()=>{s.onAnchorChange((null==a?void 0:a.current)||l.current)})),a?null:(0,o.createElement)(f.WV.div,(0,r.Z)({},i,{ref:u}))})),x="PopperContent",[P,C]=w(x),k=(0,o.forwardRef)(((e,t)=>{var n,p,m,b,w,E,_,D;const{__scopePopper:C,side:k="bottom",sideOffset:O=0,align:I="center",alignOffset:M=0,arrowPadding:A=0,avoidCollisions:N=!0,collisionBoundary:j=[],collisionPadding:L=0,sticky:F="partial",hideWhenDetached:V=!1,updatePositionStrategy:U="optimized",onPlaced:Z,...H}=e,B=S(x,C),[z,W]=(0,o.useState)(null),K=(0,h.e)(t,(e=>W(e))),[q,Y]=(0,o.useState)(null),G=(0,y.t)(q),J=null!==(n=null==G?void 0:G.width)&&void 0!==n?n:0,Q=null!==(p=null==G?void 0:G.height)&&void 0!==p?p:0,X=k+("center"!==I?"-"+I:""),ee="number"==typeof L?L:{top:0,right:0,bottom:0,left:0,...L},te=Array.isArray(j)?j:[j],ne=te.length>0,re={padding:ee,boundary:te.filter(R),altBoundary:ne},{refs:oe,floatingStyles:ae,placement:ie,isPositioned:se,middlewareData:le}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:a,elements:{reference:f,floating:p}={},transform:h=!0,whileElementsMounted:m,open:g}=e,[v,y]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[b,w]=o.useState(r);l(b,r)||w(r);const[E,_]=o.useState(null),[S,D]=o.useState(null),x=o.useCallback((e=>{e!=O.current&&(O.current=e,_(e))}),[_]),P=o.useCallback((e=>{e!==R.current&&(R.current=e,D(e))}),[D]),C=f||E,k=p||S,O=o.useRef(null),R=o.useRef(null),T=o.useRef(v),$=d(m),I=d(a),M=o.useCallback((()=>{if(!O.current||!R.current)return;const e={placement:t,strategy:n,middleware:b};I.current&&(e.platform=I.current),(0,i.oo)(O.current,R.current,e).then((e=>{const t={...e,isPositioned:!0};A.current&&!l(T.current,t)&&(T.current=t,o.flushSync((()=>{y(t)})))}))}),[b,t,n,I]);s((()=>{!1===g&&T.current.isPositioned&&(T.current.isPositioned=!1,y((e=>({...e,isPositioned:!1}))))}),[g]);const A=o.useRef(!1);s((()=>(A.current=!0,()=>{A.current=!1})),[]),s((()=>{if(C&&(O.current=C),k&&(R.current=k),C&&k){if($.current)return $.current(C,k,M);M()}}),[C,k,M,$]);const N=o.useMemo((()=>({reference:O,floating:R,setReference:x,setFloating:P})),[x,P]),j=o.useMemo((()=>({reference:C,floating:k})),[C,k]),L=o.useMemo((()=>{const e={position:n,left:0,top:0};if(!j.floating)return e;const t=c(j.floating,v.x),r=c(j.floating,v.y);return h?{...e,transform:"translate("+t+"px, "+r+"px)",...u(j.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}}),[n,h,j.floating,v.x,v.y]);return o.useMemo((()=>({...v,update:M,refs:N,elements:j,floatingStyles:L})),[v,M,N,j,L])}({strategy:"fixed",placement:X,whileElementsMounted:(...e)=>(0,i.Me)(...e,{animationFrame:"always"===U}),elements:{reference:B.anchor},middleware:[(0,a.cv)({mainAxis:O+Q,alignmentAxis:M}),N&&(0,a.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===F?(0,a.dr)():void 0,...re}),N&&(0,a.RR)({...re}),(0,a.dp)({...re,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{const{width:o,height:a}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${n}px`),i.setProperty("--radix-popper-available-height",`${r}px`),i.setProperty("--radix-popper-anchor-width",`${o}px`),i.setProperty("--radix-popper-anchor-height",`${a}px`)}}),q&&(ue={element:q,padding:A},{name:"arrow",options:ue,fn(e){const{element:t,padding:n}="function"==typeof ue?ue(e):ue;return t&&(r=t,{}.hasOwnProperty.call(r,"current"))?null!=t.current?(0,a.x7)({element:t.current,padding:n}).fn(e):{}:t?(0,a.x7)({element:t,padding:n}).fn(e):{};var r}}),T({arrowWidth:J,arrowHeight:Q}),V&&(0,a.Cp)({strategy:"referenceHidden",...re})]});var ue;const[ce,de]=$(ie),fe=(0,g.W)(Z);(0,v.b)((()=>{se&&(null==fe||fe())}),[se,fe]);const pe=null===(m=le.arrow)||void 0===m?void 0:m.x,he=null===(b=le.arrow)||void 0===b?void 0:b.y,me=0!==(null===(w=le.arrow)||void 0===w?void 0:w.centerOffset),[ge,ve]=(0,o.useState)();return(0,v.b)((()=>{z&&ve(window.getComputedStyle(z).zIndex)}),[z]),(0,o.createElement)("div",{ref:oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ae,transform:se?ae.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,"--radix-popper-transform-origin":[null===(E=le.transformOrigin)||void 0===E?void 0:E.x,null===(_=le.transformOrigin)||void 0===_?void 0:_.y].join(" ")},dir:e.dir},(0,o.createElement)(P,{scope:C,placedSide:ce,onArrowChange:Y,arrowX:pe,arrowY:he,shouldHideArrow:me},(0,o.createElement)(f.WV.div,(0,r.Z)({"data-side":ce,"data-align":de},H,{ref:K,style:{...H.style,animation:se?void 0:"none",opacity:null!==(D=le.hide)&&void 0!==D&&D.referenceHidden?0:void 0}}))))}
8)),O={top:"bottom",right:"left",bottom:"top",left:"right"};function R(e){return null!==e}const T=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,a,i;const{placement:s,rects:l,middlewareData:u}=t,c=0!==(null===(n=u.arrow)||void 0===n?void 0:n.centerOffset),d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[p,h]=$(s),m={start:"0%",center:"50%",end:"100%"}[h],g=(null!==(r=null===(o=u.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,v=(null!==(a=null===(i=u.arrow)||void 0===i?void 0:i.y)&&void 0!==a?a:0)+f/2;let y="",b="";return"bottom"===p?(y=c?m:`${g}px`,b=-f+"px"):"top"===p?(y=c?m:`${g}px`,b=`${l.floating.height+f}px`):"right"===p?(y=-f+"px",b=c?m:`${v}px`):"left"===p&&(y=`${l.floating.width+f}px`,b=c?m:`${v}px`),{data:{x:y,y:b}}}});function $(e){const[t,n="center"]=e.split("-");return[t,n]}const I=e=>{const{__scopePopper:t,children:n}=e,[r,a]=(0,o.useState)(null);return(0,o.createElement)(_,{scope:t,anchor:r,onAnchorChange:a},n)},M=D,A=k,N=(0,o.forwardRef)((function(e,t){const{__scopePopper:n,...a}=e,i=C("PopperArrow",n),s=O[i.placedSide];return(0,o.createElement)("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0}},(0,o.createElement)(p,(0,r.Z)({},a,{ref:t,style:{...a.style,display:"block"}})))}))},2651:(e,t,n)=>{"use strict";n.d(t,{h:()=>i});var r=n(7462),o=n(9748),a=n(5320);const i=(0,o.forwardRef)(((e,t)=>{var n;const{container:i=(null===globalThis||void 0===globalThis||null===(n=globalThis.document)||void 0===n?void 0:n.body),...s}=e;return i?o.default.createPortal((0,o.createElement)(a.WV.div,(0,r.Z)({},s,{ref:t})),i):null}))},9115:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(9748),o=n(8771),a=n(9981);const i=e=>{const{present:t,children:n}=e,i=function(e){const[t,n]=(0,r.useState)(),o=(0,r.useRef)({}),i=(0,r.useRef)(e),l=(0,r.useRef)("none"),u=e?"mounted":"unmounted",[c,d]=function(e,t){return(0,r.useReducer)(((e,n)=>{const r=t[e][n];return null!=r?r:e}),e)}(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return(0,r.useEffect)((()=>{const e=s(o.current);l.current="mounted"===c?e:"none"}),[c]),(0,a.b)((()=>{const t=o.current,n=i.current;if(n!==e){const r=l.current,o=s(t);e?d("MOUNT"):"none"===o||"none"===(null==t?void 0:t.display)?d("UNMOUNT"):d(n&&r!==o?"ANIMATION_OUT":"UNMOUNT"),i.current=e}}),[e,d]),(0,a.b)((()=>{if(t){const e=e=>{const n=s(o.current).includes(e.animationName);e.target===t&&n&&(0,r.flushSync)((()=>d("ANIMATION_END")))},n=e=>{e.target===t&&(l.current=s(o.current))};return t.addEventListener("animationstart",n),t.addEventListener("animationcancel",e),t.addEventListener("animationend",e),()=>{t.removeEventListener("animationstart",n),t.removeEventListener("animationcancel",e),t.removeEventListener("animationend",e)}}d("ANIMATION_END")}),[t,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:(0,r.useCallback)((e=>{e&&(o.current=getComputedStyle(e)),n(e)}),[])}}(t),l="function"==typeof n?n({present:i.isPresent}):r.Children.only(n),u=(0,o.e)(i.ref,l.ref);return"function"==typeof n||i.isPresent?(0,r.cloneElement)(l,{ref:u}):null};function s(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"},5320:(e,t,n)=>{"use strict";n.d(t,{WV:()=>i,jH:()=>s});var r=n(7462),o=n(9748),a=n(8426);const i=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce(((e,t)=>{const n=(0,o.forwardRef)(((e,n)=>{const{asChild:i,...s}=e,l=i?a.g7:t;return(0,o.useEffect)((()=>{window[Symbol.for("radix-ui")]=!0}),[]),(0,o.createElement)(l,(0,r.Z)({},s,{ref:n}))}));return n.displayName=`Primitive.${t}`,{...e,[t]:n}}),{});function s(e,t){e&&(0,o.flushSync)((()=>e.dispatchEvent(t)))}},872:(e,t,n)=>{"use strict";
8n.d(t,{z$:()=>X,ck:()=>Q,fC:()=>J});var r=n(7462),o=n(9748),a=n(6206),i=n(8771),s=n(5360),l=n(5320),u=n(5936),c=n(1276),d=n(9698),f=n(7342),p=n(8990);const h="rovingFocusGroup.onEntryFocus",m={bubbles:!1,cancelable:!0},g="RovingFocusGroup",[v,y,b]=(0,u.B)(g),[w,E]=(0,s.b)(g,[b]),[_,S]=w(g),D=(0,o.forwardRef)(((e,t)=>(0,o.createElement)(v.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(v.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(x,(0,r.Z)({},e,{ref:t})))))),x=(0,o.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:s,loop:u=!1,dir:c,currentTabStopId:g,defaultCurrentTabStopId:v,onCurrentTabStopIdChange:b,onEntryFocus:w,...E}=e,S=(0,o.useRef)(null),D=(0,i.e)(t,S),x=(0,p.gm)(c),[P=null,C]=(0,f.T)({prop:g,defaultProp:v,onChange:b}),[O,R]=(0,o.useState)(!1),T=(0,d.W)(w),$=y(n),I=(0,o.useRef)(!1),[M,A]=(0,o.useState)(0);return(0,o.useEffect)((()=>{const e=S.current;if(e)return e.addEventListener(h,T),()=>e.removeEventListener(h,T)}),[T]),(0,o.createElement)(_,{scope:n,orientation:s,dir:x,loop:u,currentTabStopId:P,onItemFocus:(0,o.useCallback)((e=>C(e)),[C]),onItemShiftTab:(0,o.useCallback)((()=>R(!0)),[]),onFocusableItemAdd:(0,o.useCallback)((()=>A((e=>e+1))),[]),onFocusableItemRemove:(0,o.useCallback)((()=>A((e=>e-1))),[])},(0,o.createElement)(l.WV.div,(0,r.Z)({tabIndex:O||0===M?-1:0,"data-orientation":s},E,{ref:D,style:{outline:"none",...e.style},onMouseDown:(0,a.M)(e.onMouseDown,(()=>{I.current=!0})),onFocus:(0,a.M)(e.onFocus,(e=>{const t=!I.current;if(e.target===e.currentTarget&&t&&!O){const t=new CustomEvent(h,m);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){const e=$().filter((e=>e.focusable));k([e.find((e=>e.active)),e.find((e=>e.id===P)),...e].filter(Boolean).map((e=>e.ref.current)))}}I.current=!1})),onBlur:(0,a.M)(e.onBlur,(()=>R(!1)))})))})),P=(0,o.forwardRef)(((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:i=!0,active:s=!1,tabStopId:u,...d}=e,f=(0,c.M)(),p=u||f,h=S("RovingFocusGroupItem",n),m=h.currentTabStopId===p,g=y(n),{onFocusableItemAdd:b,onFocusableItemRemove:w}=h;return(0,o.useEffect)((()=>{if(i)return b(),()=>w()}),[i,b,w]),(0,o.createElement)(v.ItemSlot,{scope:n,id:p,focusable:i,active:s},(0,o.createElement)(l.WV.span,(0,r.Z)({tabIndex:m?0:-1,"data-orientation":h.orientation},d,{ref:t,onMouseDown:(0,a.M)(e.onMouseDown,(e=>{i?h.onItemFocus(p):e.preventDefault()})),onFocus:(0,a.M)(e.onFocus,(()=>h.onItemFocus(p))),onKeyDown:(0,a.M)(e.onKeyDown,(e=>{if("Tab"===e.key&&e.shiftKey)return void h.onItemShiftTab();if(e.target!==e.currentTarget)return;const t=function(e,t,n){const r=function(e,t){return"rtl"!==t?e:"ArrowLeft"===e?"ArrowRight":"ArrowRight"===e?"ArrowLeft":e}(e.key,n);return"vertical"===t&&["ArrowLeft","ArrowRight"].includes(r)||"horizontal"===t&&["ArrowUp","ArrowDown"].includes(r)?void 0:C[r]}(e,h.orientation,h.dir);if(void 0!==t){e.preventDefault();let o=g().filter((e=>e.focusable)).map((e=>e.ref.current));if("last"===t)o.reverse();else if("prev"===t||"next"===t){"prev"===t&&o.reverse();const a=o.indexOf(e.currentTarget);o=h.loop?(r=a+1,(n=o).map(((e,t)=>n[(r+t)%n.length]))):o.slice(a+1)}setTimeout((()=>k(o)))}var n,r}))})))})),C={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function k(e){const t=document.activeElement;for(const n of e){if(n===t)return;if(n.focus(),document.activeElement!==t)return}}const O=D,R=P;var T=n(7546),$=n(7898),I=n(9115);const M="Radio",[A,N]=(0,s.b)(M),[j,L]=A(M),F=(0,o.forwardRef)(((e,t)=>{const{__scopeRadio:n,name:s,checked:u=!1,required:c,disabled:d,value:f="on",onCheck:p,...h}=e,[m,g]=(0,o.useState)(null),v=(0,i.e)(t,(e=>g(e))),y=(0,o.useRef)(!1),b=!m||Boolean(m.closest("form"));return(0,o.createElement)(j,{scope:n,checked:u,disabled:d},(0,o.createElement)(l.WV.button,(0,r.Z)({type:"button",role:"radio","aria-checked":u,"data-state":Z(u),"data-disabled":d?"":void 0,disabled:d,value:f},h,{ref:v,onClick:(0,a.M)(e.onClick,(e=>{u||null==p||p(),b&&(y.current=e.isPropagationStopped(),y.current||e.stopPropagation())}))})),b&&(0,o.createElement)(U,{control:m,bubbles:!y.current,name:s,value:f,checked:u,required:c,disabled:d,style:{transform:"translateX(-100%)"}}))})),V=(0,o.forwardRef)(((e,t)=>{const{__scopeRadio:n,forceMount:a,...i}=e,s=L("RadioIndicator",n);return(0,o.createElement)(I.z,{present:a||s.checked},(0,o.createElement)(l.WV.span,(0,r.Z)({"data-state":Z(s.checked),"data-disabled":s.disabled?"":void 0},i,{ref:t})))})),U=e=>{const{control:t,checked:n,bubbles:a=!0,...i}=e,s=(0,o.useRef)(null),l=(0,$.D)(n),u=(0,T.t)(t);return(0,o.useEffect)((()=>{const e=s.current,t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set;if(l!==n&&r){const t=new Event("click",{bubbles:a});r.call(e,n),e.dispatchEvent(t)}}),[l,n,a]),(0,o.createElement)("input",(0,r.Z)({type:"radio","aria-hidden":!0,defaultChecked:n},i,{tabIndex:-1,ref:s,style:{...e.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function Z(e){return e?"checked":"unchecked"}const H=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],B="RadioGroup",[z,W]=(0,s.b)(B,[E,N]),K=E(),q=N(),[Y,G]=z(B),J=(0,o.forwardRef)(((e,t)=>{const{__scopeRadioGroup:n,name:a,defaultValue:i,value:s,required:u=!1,disabled:c=!1,orientation:d,dir:h,loop:m=!0,onValueChange:g,...v}=e,y=K(n),b=(0,p.gm)(h),[w,E]=(0,f.T)({prop:s,defaultProp:i,onChange:g});return(0,o.createElement)(Y,{scope:n,name:a,required:u,disabled:c,value:w,onValueChange:E},(0,o.createElement)(O,(0,r.Z)({asChild:!0},y,{orientation:d,dir:b,loop:m}),(0,o.createElement)(l.WV.div,(0,r.Z)({role:"radiogroup","aria-required":u,"aria-orientation":d,"data-disabled":c?"":void 0,dir:b},v,{ref:t}))))})),Q=(0,o.forwardRef)(((e,t)=>{const{__scopeRadioGroup:n,disabled:s,...l}=e,u=G("RadioGroupItem",n),c=u.disabled||s,d=K(n),f=q(n),p=(0,o.useRef)(null),h=(0,i.e)(t,p),m=u.value===l.value,g=(0,o.useRef)(!1);return(0,o.useEffect)((()=>{const e=e=>
8{H.includes(e.key)&&(g.current=!0)},t=()=>g.current=!1;return document.addEventListener("keydown",e),document.addEventListener("keyup",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keyup",t)}}),[]),(0,o.createElement)(R,(0,r.Z)({asChild:!0},d,{focusable:!c,active:m}),(0,o.createElement)(F,(0,r.Z)({disabled:c,required:u.required,checked:m},f,l,{name:u.name,ref:h,onCheck:()=>u.onValueChange(l.value),onKeyDown:(0,a.M)((e=>{"Enter"===e.key&&e.preventDefault()})),onFocus:(0,a.M)(l.onFocus,(()=>{var e;g.current&&(null===(e=p.current)||void 0===e||e.click())}))})))})),X=(0,o.forwardRef)(((e,t)=>{const{__scopeRadioGroup:n,...a}=e,i=q(n);return(0,o.createElement)(V,(0,r.Z)({},i,a,{ref:t}))}))},1223:(e,t,n)=>{"use strict";n.d(t,{VY:()=>Se,JO:()=>Ee,ck:()=>xe,wU:()=>Ce,eT:()=>Pe,h_:()=>_e,fC:()=>ye,$G:()=>Oe,u_:()=>ke,xz:()=>be,B4:()=>we,l_:()=>De});var r=n(7462),o=n(9748);function a(e,[t,n]){return Math.min(n,Math.max(t,e))}var i=n(6206),s=n(5936),l=n(8771),u=n(5360),c=n(8990),d=n(4369),f=n(7552),p=n(5420),h=n(1276),m=n(6038),g=n(2651),v=n(5320),y=n(8426),b=n(9698),w=n(7342),E=n(9981),_=n(7898),S=n(6219),D=n(3541),x=n(7219);const P=[" ","Enter","ArrowUp","ArrowDown"],C=[" ","Enter"],k="Select",[O,R,T]=(0,s.B)(k),[$,I]=(0,u.b)(k,[T,m.D7]),M=(0,m.D7)(),[A,N]=$(k),[j,L]=$(k),F=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,disabled:a=!1,...s}=e,u=M(n),c=N("SelectTrigger",n),d=c.disabled||a,f=(0,l.e)(t,c.onTriggerChange),p=R(n),[h,g,y]=ge((e=>{const t=p().filter((e=>!e.disabled)),n=t.find((e=>e.value===c.value)),r=ve(t,e,n);void 0!==r&&c.onValueChange(r.value)})),b=()=>{d||(c.onOpenChange(!0),y())};return(0,o.createElement)(m.ee,(0,r.Z)({asChild:!0},u),(0,o.createElement)(v.WV.button,(0,r.Z)({type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":he(c.value)?"":void 0},s,{ref:f,onClick:(0,i.M)(s.onClick,(e=>{e.currentTarget.focus()})),onPointerDown:(0,i.M)(s.onPointerDown,(e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&(b(),c.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)},e.preventDefault())})),onKeyDown:(0,i.M)(s.onKeyDown,(e=>{const t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),t&&" "===e.key||P.includes(e.key)&&(b(),e.preventDefault())}))})))})),V=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,className:a,style:i,children:s,placeholder:u="",...c}=e,d=N("SelectValue",n),{onValueNodeHasChildrenChange:f}=d,p=void 0!==s,h=(0,l.e)(t,d.onValueNodeChange);return(0,E.b)((()=>{f(p)}),[f,p]),(0,o.createElement)(v.WV.span,(0,r.Z)({},c,{ref:h,style:{pointerEvents:"none"}}),he(d.value)?(0,o.createElement)(o.Fragment,null,u):s)})),U=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,children:a,...i}=e;return(0,o.createElement)(v.WV.span,(0,r.Z)({"aria-hidden":!0},i,{ref:t}),a||"▼")})),Z="SelectContent",H=(0,o.forwardRef)(((e,t)=>{const n=N(Z,e.__scopeSelect),[a,i]=(0,o.useState)();if((0,E.b)((()=>{i(new DocumentFragment)}),[]),!n.open){const t=a;return t?(0,o.createPortal)((0,o.createElement)(z,{scope:e.__scopeSelect},(0,o.createElement)(O.Slot,{scope:e.__scopeSelect},(0,o.createElement)("div",null,e.children))),t):null}return(0,o.createElement)(K,(0,r.Z)({},e,{ref:t}))})),B=10,[z,W]=$(Z),K=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,position:a="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:u,onPointerDownOutside:c,side:h,sideOffset:m,align:g,alignOffset:v,arrowPadding:b,collisionBoundary:w,collisionPadding:E,sticky:_,hideWhenDetached:S,avoidCollisions:P,...C}=e,k=N(Z,n),[O,T]=(0,o.useState)(null),[$,I]=(0,o.useState)(null),M=(0,l.e)(t,(e=>T(e))),[A,j]=(0,o.useState)(null),[L,F]=(0,o.useState)(null),V=R(n),[U,H]=(0,o.useState)(!1),B=(0,o.useRef)(!1);(0,o.useEffect)((()=>{if(O)return(0,D.Ry)(O)}),[O]),(0,f.EW)();const W=(0,o.useCallback)((e=>{const[t,...n]=V().map((e=>e.ref.current)),[r]=n.slice(-1),o=document.activeElement;for(const n of e){if(n===o)return;if(null==n||n.scrollIntoView({block:"nearest"}),n===t&&$&&($.scrollTop=0),n===r&&$&&($.scrollTop=$.scrollHeight),null==n||n.focus(),document.activeElement!==o)return}}),[V,$]),K=(0,o.useCallback)((()=>W([A,O])),[W,A,O]);(0,o.useEffect)((()=>{U&&K()}),[U,K]);const{onOpenChange:G,triggerPointerDownPosRef:J}=k;(0,o.useEffect)((()=>
8{if(O){let e={x:0,y:0};const t=t=>{var n,r,o,a;e={x:Math.abs(Math.round(t.pageX)-(null!==(n=null===(r=J.current)||void 0===r?void 0:r.x)&&void 0!==n?n:0)),y:Math.abs(Math.round(t.pageY)-(null!==(o=null===(a=J.current)||void 0===a?void 0:a.y)&&void 0!==o?o:0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():O.contains(n.target)||G(!1),document.removeEventListener("pointermove",t),J.current=null};return null!==J.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}}),[O,G,J]),(0,o.useEffect)((()=>{const e=()=>G(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}}),[G]);const[Q,X]=ge((e=>{const t=V().filter((e=>!e.disabled)),n=t.find((e=>e.ref.current===document.activeElement)),r=ve(t,e,n);r&&setTimeout((()=>r.ref.current.focus()))})),ee=(0,o.useCallback)(((e,t,n)=>{const r=!B.current&&!n;(void 0!==k.value&&k.value===t||r)&&(j(e),r&&(B.current=!0))}),[k.value]),te=(0,o.useCallback)((()=>null==O?void 0:O.focus()),[O]),ne=(0,o.useCallback)(((e,t,n)=>{const r=!B.current&&!n;(void 0!==k.value&&k.value===t||r)&&F(e)}),[k.value]),re="popper"===a?Y:q,oe=re===Y?{side:h,sideOffset:m,align:g,alignOffset:v,arrowPadding:b,collisionBoundary:w,collisionPadding:E,sticky:_,hideWhenDetached:S,avoidCollisions:P}:{};return(0,o.createElement)(z,{scope:n,content:O,viewport:$,onViewportChange:I,itemRefCallback:ee,selectedItem:A,onItemLeave:te,itemTextRefCallback:ne,focusSelectedItem:K,selectedItemText:L,position:a,isPositioned:U,searchRef:Q},(0,o.createElement)(x.Z,{as:y.g7,allowPinchZoom:!0},(0,o.createElement)(p.M,{asChild:!0,trapped:k.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,i.M)(s,(e=>{var t;null===(t=k.trigger)||void 0===t||t.focus({preventScroll:!0}),e.preventDefault()}))},(0,o.createElement)(d.XB,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>k.onOpenChange(!1)},(0,o.createElement)(re,(0,r.Z)({role:"listbox",id:k.contentId,"data-state":k.open?"open":"closed",dir:k.dir,onContextMenu:e=>e.preventDefault()},C,oe,{onPlaced:()=>H(!0),ref:M,style:{display:"flex",flexDirection:"column",outline:"none",...C.style},onKeyDown:(0,i.M)(C.onKeyDown,(e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||X(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=V().filter((e=>!e.disabled)).map((e=>e.ref.current));if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const n=e.target,r=t.indexOf(n);t=t.slice(r+1)}setTimeout((()=>W(t))),e.preventDefault()}}))}))))))})),q=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,onPlaced:i,...s}=e,u=N(Z,n),c=W(Z,n),[d,f]=(0,o.useState)(null),[p,h]=(0,o.useState)(null),m=(0,l.e)(t,(e=>h(e))),g=R(n),y=(0,o.useRef)(!1),b=(0,o.useRef)(!0),{viewport:w,selectedItem:_,selectedItemText:S,focusSelectedItem:D}=c,x=(0,o.useCallback)((()=>{if(u.trigger&&u.valueNode&&d&&p&&w&&_&&S){const e=u.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=u.valueNode.getBoundingClientRect(),r=S.getBoundingClientRect();if("rtl"!==u.dir){const o=r.left-t.left,i=n.left-o,s=e.left-i,l=e.width+s,u=Math.max(l,t.width),c=window.innerWidth-B,f=a(i,[B,c-u]);d.style.minWidth=l+"px",d.style.left=f+"px"}else{const o=t.right-r.right,i=window.innerWidth-n.right-o,s=window.innerWidth-e.right-i,l=e.width+s,u=Math.max(l,t.width),c=window.innerWidth-B,f=a(i,[B,c-u]);d.style.minWidth=l+"px",d.style.right=f+"px"}const o=g(),s=window.innerHeight-2*B,l=w.scrollHeight,c=window.getComputedStyle(p),f=parseInt(c.borderTopWidth,10),h=parseInt(c.paddingTop,10),m=parseInt(c.borderBottomWidth,10),v=f+h+l+parseInt(c.paddingBottom,10)+m,b=Math.min(5*_.offsetHeight,v),E=window.getComputedStyle(w),D=parseInt(E.paddingTop,10),x=parseInt(E.paddingBottom,10),P=e.top+e.height/2-B,C=s-P,k=_.offsetHeight/2,O=f+h+(_.offsetTop+k),R=v-O;if(O<=P){const e=_===o[o.length-1].ref.current;d.style.bottom="0px";const t=p.clientHeight-w.offsetTop-w.offsetHeight,n=O+Math.max(C,k+(e?x:0)+t+m);d.style.height=n+"px"}else{const e=_===o[0].ref.current;d.style.top="0px";const t=Math.max(P,f+w.offsetTop+(e?D:0)+k)+R;d.style.height=t+"px",w.scrollTop=O-P+w.offsetTop}d.style.margin=`${B}px 0`,d.style.minHeight=b+"px",d.style.maxHeight=s+"px",null==i||i(),requestAnimationFrame((()=>y.current=!0))}}),[g,u.trigger,u.valueNode,d,p,w,_,S,u.dir,i]);(0,E.b)((()=>x()),[x]);const[P,C]=(0,o.useState)();(0,E.b)((()=>{p&&C(window.getComputedStyle(p).zIndex)}),[p]);const k=(0,o.useCallback)((e=>{e&&!0===b.current&&(x(),null==D||D(),b.current=!1)}),[x,D]);return(0,o.createElement)(G,{scope:n,contentWrapper:d,shouldExpandOnScrollRef:y,onScrollButtonChange:k},(0,o.createElement)("div",{ref:f,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:P}},(0,o.createElement)(v.WV.div,(0,r.Z)({},s,{ref:m,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}}))))})),Y=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,align:a="start",collisionPadding:i=B,...s}=e,l=M(n);return(0,o.createElement)(m.VY,(0,r.Z)({},l,s,{ref:t,align:a,collisionPadding:i,style:{boxSizing:"border-box",...s.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))})),[G,J]=$(Z,{}),Q="SelectViewport",X=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,...a}=e,s=W(Q,n),u=J(Q,n),c=(0,l.e)(t,s.onViewportChange),d=(0,o.useRef)(0);return(0,o.createElement)(o.Fragment,null,(0,o.createElement)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),(0,o.createElement)(O.Slot,{scope:n},(0,o.createElement)(v.WV.div,(0,r.Z)({"data-radix-select-viewport":"",role:"presentation"},a,{ref:c,style:{position:"relative",flex:1,overflow:"auto",...a.style},onScroll:(0,i.M)(a.onScroll,(e=>{const t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:r}=u;if(null!=r&&r.current&&n){const e=Math.abs(d.current-t.scrollTop);if(e>0){const r=window.innerHeight-2*B,o=parseFloat(n.style.minHeight),a=parseFloat(n.style.height),i=Math.max(o,a);if(i<r){const o=i+e,a=Math.min(r,o),s=o-a;n.style.height=a+"px","0px"===n.style.bottom&&(t.scrollTop=s>0?s:0,n.style.justifyContent="flex-end")}}}d.current=t.scrollTop}))}))))}
8)),[ee,te]=$("SelectGroup"),ne="SelectItem",[re,oe]=$(ne),ae=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,value:a,disabled:s=!1,textValue:u,...c}=e,d=N(ne,n),f=W(ne,n),p=d.value===a,[m,g]=(0,o.useState)(null!=u?u:""),[y,b]=(0,o.useState)(!1),w=(0,l.e)(t,(e=>{var t;return null===(t=f.itemRefCallback)||void 0===t?void 0:t.call(f,e,a,s)})),E=(0,h.M)(),_=()=>{s||(d.onValueChange(a),d.onOpenChange(!1))};if(""===a)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,o.createElement)(re,{scope:n,value:a,disabled:s,textId:E,isSelected:p,onItemTextChange:(0,o.useCallback)((e=>{g((t=>{var n;return t||(null!==(n=null==e?void 0:e.textContent)&&void 0!==n?n:"").trim()}))}),[])},(0,o.createElement)(O.ItemSlot,{scope:n,value:a,disabled:s,textValue:m},(0,o.createElement)(v.WV.div,(0,r.Z)({role:"option","aria-labelledby":E,"data-highlighted":y?"":void 0,"aria-selected":p&&y,"data-state":p?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1},c,{ref:w,onFocus:(0,i.M)(c.onFocus,(()=>b(!0))),onBlur:(0,i.M)(c.onBlur,(()=>b(!1))),onPointerUp:(0,i.M)(c.onPointerUp,_),onPointerMove:(0,i.M)(c.onPointerMove,(e=>{var t;s?null===(t=f.onItemLeave)||void 0===t||t.call(f):e.currentTarget.focus({preventScroll:!0})}
8)),onPointerLeave:(0,i.M)(c.onPointerLeave,(e=>{var t;e.currentTarget===document.activeElement&&(null===(t=f.onItemLeave)||void 0===t||t.call(f))})),onKeyDown:(0,i.M)(c.onKeyDown,(e=>{var t;""!==(null===(t=f.searchRef)||void 0===t?void 0:t.current)&&" "===e.key||(C.includes(e.key)&&_()," "===e.key&&e.preventDefault())}))}))))})),ie="SelectItemText",se=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,className:a,style:i,...s}=e,u=N(ie,n),c=W(ie,n),d=oe(ie,n),f=L(ie,n),[p,h]=(0,o.useState)(null),m=(0,l.e)(t,(e=>h(e)),d.onItemTextChange,(e=>{var t;return null===(t=c.itemTextRefCallback)||void 0===t?void 0:t.call(c,e,d.value,d.disabled)})),g=null==p?void 0:p.textContent,y=(0,o.useMemo)((()=>(0,o.createElement)("option",{key:d.value,value:d.value,disabled:d.disabled},g)),[d.disabled,d.value,g]),{onNativeOptionAdd:b,onNativeOptionRemove:w}=f;return(0,E.b)((()=>(b(y),()=>w(y))),[b,w,y]),(0,o.createElement)(o.Fragment,null,(0,o.createElement)(v.WV.span,(0,r.Z)({id:d.textId},s,{ref:m})),d.isSelected&&u.valueNode&&!u.valueNodeHasChildren?(0,o.createPortal)(s.children,u.valueNode):null)})),le=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,...a}=e;return oe("SelectItemIndicator",n).isSelected?(0,o.createElement)(v.WV.span,(0,r.Z)({"aria-hidden":!0},a,{ref:t})):null})),ue="SelectScrollUpButton",ce=(0,o.forwardRef)(((e,t)=>{const n=W(ue,e.__scopeSelect),a=J(ue,e.__scopeSelect),[i,s]=(0,o.useState)(!1),u=(0,l.e)(t,a.onScrollButtonChange);return(0,E.b)((()=>{if(n.viewport&&n.isPositioned){const e=n.viewport;function t(){const t=e.scrollTop>0;s(t)}return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[n.viewport,n.isPositioned]),i?(0,o.createElement)(pe,(0,r.Z)({},e,{ref:u,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}})):null})),de="SelectScrollDownButton",fe=(0,o.forwardRef)(((e,t)=>{const n=W(de,e.__scopeSelect),a=J(de,e.__scopeSelect),[i,s]=(0,o.useState)(!1),u=(0,l.e)(t,a.onScrollButtonChange);return(0,E.b)((()=>{if(n.viewport&&n.isPositioned){const e=n.viewport;function t(){const t=e.scrollHeight-e.clientHeight,n=Math.ceil(e.scrollTop)<t;s(n)}return t(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}}),[n.viewport,n.isPositioned]),i?(0,o.createElement)(pe,(0,r.Z)({},e,{ref:u,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}})):null})),pe=(0,o.forwardRef)(((e,t)=>{const{__scopeSelect:n,onAutoScroll:a,...s}=e,l=W("SelectScrollButton",n),u=(0,o.useRef)(null),c=R(n),d=(0,o.useCallback)((()=>{null!==u.current&&(window.clearInterval(u.current),u.current=null)}),[]);return(0,o.useEffect)((()=>()=>d()),[d]),(0,E.b)((()=>{var e;const t=c().find((e=>e.ref.current===document.activeElement));null==t||null===(e=t.ref.current)||void 0===e||e.scrollIntoView({block:"nearest"})}),[c]),(0,o.createElement)(v.WV.div,(0,r.Z)({"aria-hidden":!0},s,{ref:t,style:{flexShrink:0,...s.style},onPointerDown:(0,i.M)(s.onPointerDown,(()=>{null===u.current&&(u.current=window.setInterval(a,50))})),onPointerMove:(0,i.M)(s.onPointerMove,(()=>{var e;null===(e=l.onItemLeave)||void 0===e||e.call(l),null===u.current&&(u.current=window.setInterval(a,50))})),onPointerLeave:(0,i.M)(s.onPointerLeave,(()=>{d()}))}))}));function he(e){return""===e||void 0===e}const me=(0,o.forwardRef)(((e,t)=>{const{value:n,...a}=e,i=(0,o.useRef)(null),s=(0,l.e)(t,i),u=(0,_.D)(n);return(0,o.useEffect)((()=>{const e=i.current,t=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(t,"value").set;if(u!==n&&r){const t=new Event("change",{bubbles:!0});r.call(e,n),e.dispatchEvent(t)}}),[u,n]),(0,o.createElement)(S.T,{asChild:!0},(0,o.createElement)("select",(0,r.Z)({},a,{ref:s,defaultValue:n})))}));function ge(e){const t=(0,b.W)(e),n=(0,o.useRef)(""),r=(0,o.useRef)(0),a=(0,o.useCallback)((e=>{const o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(r.current),""!==t&&(r.current=window.setTimeout((()=>e("")),1e3))}(o)}),[t]),i=(0,o.useCallback)((()=>{n.current="",window.clearTimeout(r.current)}),[]);return(0,o.useEffect)((()=>()=>window.clearTimeout(r.current)),[]),[n,a,i]}function ve(e,t,n){const r=t.length>1&&Array.from(t).every((e=>e===t[0]))?t[0]:t,o=n?e.indexOf(n):-1;let a=(i=e,s=Math.max(o,0),i.map(((e,t)=>i[(s+t)%i.length])));var i,s;1===r.length&&(a=a.filter((e=>e!==n)));const l=a.find((e=>e.textValue.toLowerCase().startsWith(r.toLowerCase())));return l!==n?l:void 0}me.displayName="BubbleSelect";const ye=e=>{const{__scopeSelect:t,children:n,open:r,defaultOpen:a,onOpenChange:i,value:s,defaultValue:l,onValueChange:u,dir:d,name:f,autoComplete:p,disabled:g,required:v}=e,y=M(t),[b,E]=(0,o.useState)(null),[_,S]=(0,o.useState)(null),[D,x]=(0,o.useState)(!1),P=(0,c.gm)(d),[C=!1,k]=(0,w.T)({prop:r,defaultProp:a,onChange:i}),[R,T]=(0,w.T)({prop:s,defaultProp:l,onChange:u}),$=(0,o.useRef)(null),I=!b||Boolean(b.closest("form")),[N,L]=(0,o.useState)(new Set),F=Array.from(N).map((e=>e.props.value)).join(";");return(0,o.createElement)(m.fC,y,(0,o.createElement)(A,{required:v,scope:t,trigger:b,onTriggerChange:E,valueNode:_,onValueNodeChange:S,valueNodeHasChildren:D,onValueNodeHasChildrenChange:x,contentId:(0,h.M)(),value:R,onValueChange:T,open:C,onOpenChange:k,dir:P,triggerPointerDownPosRef:$,disabled:g},(0,o.createElement)(O.Provider,{scope:t},(0,o.createElement)(j,{scope:e.__scopeSelect,onNativeOptionAdd:(0,o.useCallback)((e=>{L((t=>new Set(t).add(e)))}),[]),onNativeOptionRemove:(0,o.useCallback)((e=>{L((t=>{const n=new Set(t);return n.delete(e),n}))}),[])},n)),I?(0,o.createElement)(me,{key:F,"aria-hidden":!0,required:v,tabIndex:-1,name:f,autoComplete:p,value:R,onChange:e=>T(e.target.value),disabled:g},void 0===R?(0,o.createElement)("option",{value:""}):null,Array.from(N)):null))},be=F,we=V,Ee=U,_e=e=>(0,o.createElement)(g.h,(0,r.Z)({asChild:!0},e)),Se=H,De=X,xe=ae,Pe=se,Ce=le,ke=ce,Oe=fe},8426:(e,t,n)=>{"use strict";n.d(t,{A4:()=>l,g7:()=>i});var r=n(7462),o=n(9748),a=n(8771);const i=(0,o.forwardRef)(((e,t)=>{const{children:n,...a}=e,i=o.Children.toArray(n),l=i.find(u);if(l){const e=l.props.children,n=i.map((t=>t===l?o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null:t));return(0,o.createElement)(s,(0,r.Z)({},a,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,n):null)}return(0,o.createElement)(s,(0,r.Z)({},a,{ref:t}),n)}));i.displayName="Slot";const s=(0,o.forwardRef)(((e,t)=>{const{children:n,...r}=e;return(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{...c(r,n.props),ref:t?(0,a.F)(t,
8n.ref):n.ref}):o.Children.count(n)>1?o.Children.only(null):null}));s.displayName="SlotClone";const l=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function u(e){return(0,o.isValidElement)(e)&&e.type===l}function c(e,t){const n={...t};for(const r in t){const o=e[r],a=t[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...e)=>{a(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...a}:"className"===r&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...e,...n}}},6908:(e,t,n)=>{"use strict";n.d(t,{Eh:()=>H,VY:()=>Z,fC:()=>F,h_:()=>U,xz:()=>V,zt:()=>L});var r=n(7462),o=n(9748),a=n(6206),i=n(8771),s=n(5360),l=n(4369),u=n(1276),c=n(6038),d=n(2651),f=n(9115),p=n(5320),h=n(8426),m=n(7342),g=n(6219);const[v,y]=(0,s.b)("Tooltip",[c.D7]),b=(0,c.D7)(),w=700,E="tooltip.open",[_,S]=v("TooltipProvider"),D="Tooltip",[x,P]=v(D),C="TooltipTrigger",k=(0,o.forwardRef)(((e,t)=>{const{__scopeTooltip:n,...s}=e,l=P(C,n),u=S(C,n),d=b(n),f=(0,o.useRef)(null),h=(0,i.e)(t,f,l.onTriggerChange),m=(0,o.useRef)(!1),g=(0,o.useRef)(!1),v=(0,o.useCallback)((()=>m.current=!1),[]);return(0,o.useEffect)((()=>()=>document.removeEventListener("pointerup",v)),[v]),(0,o.createElement)(c.ee,(0,r.Z)({asChild:!0},d),(0,o.createElement)(p.WV.button,(0,r.Z)({"aria-describedby":l.open?l.contentId:void 0,"data-state":l.stateAttribute},s,{ref:h,onPointerMove:(0,a.M)(e.onPointerMove,(e=>{"touch"!==e.pointerType&&(g.current||u.isPointerInTransitRef.current||(l.onTriggerEnter(),g.current=!0))})),onPointerLeave:(0,a.M)(e.onPointerLeave,(()=>{l.onTriggerLeave(),g.current=!1})),onPointerDown:(0,a.M)(e.onPointerDown,(()=>{m.current=!0,document.addEventListener("pointerup",v,{once:!0})})),onFocus:(0,a.M)(e.onFocus,(()=>{m.current||l.onOpen()})),onBlur:(0,a.M)(e.onBlur,l.onClose),onClick:(0,a.M)(e.onClick,l.onClose)})))})),O="TooltipPortal",[R,T]=v(O,{forceMount:void 0}),$="TooltipContent",I=(0,o.forwardRef)(((e,t)=>{const n=T($,e.__scopeTooltip),{forceMount:a=n.forceMount,side:i="top",...s}=e,l=P($,e.__scopeTooltip);return(0,o.createElement)(f.z,{present:a||l.open},l.disableHoverableContent?(0,o.createElement)(j,(0,r.Z)({side:i},s,{ref:t})):(0,o.createElement)(M,(0,r.Z)({side:i},s,{ref:t})))})),M=(0,o.forwardRef)(((e,t)=>{const n=P($,e.__scopeTooltip),a=S($,e.__scopeTooltip),s=(0,o.useRef)(null),l=(0,i.e)(t,s),[u,c]=(0,o.useState)(null),{trigger:d,onClose:f}=n,p=s.current,{onPointerInTransitChange:h}=a,m=(0,o.useCallback)((()=>{c(null),h(!1)}),[h]),g=(0,o.useCallback)(((e,t)=>{const n=e.currentTarget,r={x:e.clientX,y:e.clientY},o=function(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n})}return r}(r,function(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x);switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}(r,n.getBoundingClientRect())),a=function(e){const t=e.slice();return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),function(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n<e.length;n++){const r=e[n];for(;t.length>=2;){const e=t[t.length-1],n=t[t.length-2];if(!((e.x-n.x)*(r.y-n.y)>=(e.y-n.y)*(r.x-n.x)))break;t.pop()}t.push(r)}t.pop();const n=[];for(let t=e.length-1;t>=0;t--){const r=e[t];for(;n.length>=2;){const e=n[n.length-1],t=n[n.length-2];if(!((e.x-t.x)*(r.y-t.y)>=(e.y-t.y)*(r.x-t.x)))break;n.pop()}n.push(r)}return n.pop(),1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)}([...o,...function(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}(t.getBoundingClientRect())]);c(a),h(!0)}),[h]);return(0,o.useEffect)((()=>()=>m()),[m]),(0,o.useEffect)((()=>{if(d&&p){const e=e=>g(e,p),t=e=>g(e,d);return d.addEventListener("pointerleave",e),p.addEventListener("pointerleave",t),()=>{d.removeEventListener("pointerleave",e),p.removeEventListener("pointerleave",t)}}}),[d,p,g,m]),(0,o.useEffect)((()=>
8{if(u){const e=e=>{const t=e.target,n={x:e.clientX,y:e.clientY},r=(null==d?void 0:d.contains(t))||(null==p?void 0:p.contains(t)),o=!function(e,t){const{x:n,y:r}=e;let o=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){const i=t[e].x,s=t[e].y,l=t[a].x,u=t[a].y;s>r!=u>r&&n<(l-i)*(r-s)/(u-s)+i&&(o=!o)}return o}(n,u);r?m():o&&(m(),f())};return document.addEventListener("pointermove",e),()=>document.removeEventListener("pointermove",e)}}),[d,p,u,f,m]),(0,o.createElement)(j,(0,r.Z)({},e,{ref:l}))})),[A,N]=v(D,{isInside:!1}),j=(0,o.forwardRef)(((e,t)=>{const{__scopeTooltip:n,children:a,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:u,...d}=e,f=P($,n),p=b(n),{onClose:m}=f;return(0,o.useEffect)((()=>(document.addEventListener(E,m),()=>document.removeEventListener(E,m))),[m]),(0,o.useEffect)((()=>{if(f.trigger){const e=e=>{const t=e.target;null!=t&&t.contains(f.trigger)&&m()};return window.addEventListener("scroll",e,{capture:!0}),()=>window.removeEventListener("scroll",e,{capture:!0})}}),[f.trigger,m]),(0,o.createElement)(l.XB,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:u,onFocusOutside:e=>e.preventDefault(),onDismiss:m},(0,o.createElement)(c.VY,(0,r.Z)({"data-state":f.stateAttribute},p,d,{ref:t,style:{...d.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),(0,o.createElement)(h.A4,null,a),(0,o.createElement)(A,{scope:n,isInside:!0},(0,o.createElement)(g.f,{id:f.contentId,role:"tooltip"},i||a))))})),L=e=>{const{__scopeTooltip:t,delayDuration:n=w,skipDelayDuration:r=300,disableHoverableContent:a=!1,children:i}=e,[s,l]=(0,o.useState)(!0),u=(0,o.useRef)(!1),c=(0,o.useRef)(0);return(0,o.useEffect)((()=>{const e=c.current;return()=>window.clearTimeout(e)}),[]),(0,o.createElement)(_,{scope:t,isOpenDelayed:s,delayDuration:n,onOpen:(0,o.useCallback)((()=>{window.clearTimeout(c.current),l(!1)}),[]),onClose:(0,o.useCallback)((()=>{window.clearTimeout(c.current),c.current=window.setTimeout((()=>l(!0)),r)}),[r]),isPointerInTransitRef:u,onPointerInTransitChange:(0,o.useCallback)((e=>{u.current=e}),[]),disableHoverableContent:a},i)},F=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:a=!1,onOpenChange:i,disableHoverableContent:s,delayDuration:l}=e,d=S(D,e.__scopeTooltip),f=b(t),[p,h]=(0,o.useState)(null),g=(0,u.M)(),v=(0,o.useRef)(0),y=null!=s?s:d.disableHoverableContent,w=null!=l?l:d.delayDuration,_=(0,o.useRef)(!1),[P=!1,C]=(0,m.T)({prop:r,defaultProp:a,onChange:e=>{e?(d.onOpen(),document.dispatchEvent(new CustomEvent(E))):d.onClose(),null==i||i(e)}}),k=(0,o.useMemo)((()=>P?_.current?"delayed-open":"instant-open":"closed"),[P]),O=(0,o.useCallback)((()=>{window.clearTimeout(v.current),_.current=!1,C(!0)}),[C]),R=(0,o.useCallback)((()=>{window.clearTimeout(v.current),C(!1)}),[C]),T=(0,o.useCallback)((()=>{window.clearTimeout(v.current),v.current=window.setTimeout((()=>{_.current=!0,C(!0)}),w)}),[w,C]);return(0,o.useEffect)((()=>()=>window.clearTimeout(v.current)),[]),(0,o.createElement)(c.fC,f,(0,o.createElement)(x,{scope:t,contentId:g,open:P,stateAttribute:k,trigger:p,onTriggerChange:h,onTriggerEnter:(0,o.useCallback)((()=>{d.isOpenDelayed?T():O()}),[d.isOpenDelayed,T,O]),onTriggerLeave:(0,o.useCallback)((()=>{y?R():window.clearTimeout(v.current)}),[R,y]),onOpen:O,onClose:R,disableHoverableContent:y},n))},V=k,U=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:a}=e,i=P(O,t);return(0,o.createElement)(R,{scope:t,forceMount:n},(0,o.createElement)(f.z,{present:n||i.open},(0,o.createElement)(d.h,{asChild:!0,container:a},r)))},Z=I,H=(0,o.forwardRef)(((e,t)=>{const{__scopeTooltip:n,...a}=e,i=b(n);return N("TooltipArrow",n).isInside?null:(0,o.createElement)(c.Eh,(0,r.Z)({},i,a,{ref:t}))}))},9698:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(9748);function o(e){const t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e})),(0,r.useMemo)((()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)}),[])}},7342:(e,t,n)=>{"use strict";n.d(t,{T:()=>a});var r=n(9748),o=n(9698);function a({prop:e,defaultProp:t,onChange:n=(()=>{})}){const[a,i]=function({defaultProp:e,onChange:t}){const n=(0,r.useState)(e),[a]=n,i=(0,r.useRef)(a),s=(0,o.W)(t);return(0,r.useEffect)((()=>{i.current!==a&&(s(a),i.current=a)}),[a,i,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,l=s?e:a,u=(0,o.W)(n);return[l,(0,r.useCallback)((t=>{if(s){const n="function"==typeof t?t(e):t;n!==e&&u(n)}else i(t)}),[s,e,i,u])]}},9981:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(9748);
8const o=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?r.useLayoutEffect:()=>{}},7898:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(9748);function o(e){const t=(0,r.useRef)({value:e,previous:e});return(0,r.useMemo)((()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous)),[e])}},7546:(e,t,n)=>{"use strict";n.d(t,{t:()=>a});var r=n(9748),o=n(9981);function a(e){const[t,n]=(0,r.useState)(void 0);return(0,o.b)((()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver((t=>{if(!Array.isArray(t))return;if(!t.length)return;const r=t[0];let o,a;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,a=t.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})}));return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)}),[e]),t}},6219:(e,t,n)=>{"use strict";n.d(t,{T:()=>i,f:()=>s});var r=n(7462),o=n(9748),a=n(5320);const i=(0,o.forwardRef)(((e,t)=>(0,o.createElement)(a.WV.span,(0,r.Z)({},e,{ref:t,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}})))),s=i},6197:(e,t,n)=>{"use strict";n.d(t,{U:()=>m});var r=n(1953),o=n(3136),a=n(945),i=n(4247),s=n(9748),l=n(8837),u=n(8745);function c(e){if(!e)return;let t=!0;return n=>{let r={...n,preventDefault(){n.preventDefault()},isDefaultPrevented:()=>n.isDefaultPrevented(),stopPropagation(){t=!0},continuePropagation(){t=!1},isPropagationStopped:()=>t};e(r),t&&n.stopPropagation()}}var d=n(2970);let f=s.default.createContext(null);function p(e,t){let{focusProps:n}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const a=(0,s.useCallback)((e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0}),[r,o]),c=(0,i.d0)(a),d=(0,s.useCallback)((e=>{const t=(0,l.r3)(e.target),r=t?(0,u.vY)(t):(0,u.vY)();e.target===e.currentTarget&&r===(0,u.NI)(e.nativeEvent)&&(n&&n(e),o&&o(!0),c(e))}),[o,n,c]);return{focusProps:{onFocus:!t&&(n||o||r)?d:void 0,onBlur:t||!r&&!o?void 0:a}}}(e),{keyboardProps:o}=function(e){return{keyboardProps:e.isDisabled?{}:{onKeyDown:c(e.onKeyDown),onKeyUp:c(e.onKeyUp)}}}(e),p=(0,r.d)(n,o),h=function(e){let t=(0,s.useContext)(f)||{};(0,d.l)(t,e);let{ref:n,...r}=t;return r}(t),m=e.isDisabled?{}:h,g=(0,s.useRef)(e.autoFocus);(0,s.useEffect)((()=>{g.current&&t.current&&(0,a.e)(t.current),g.current=!1}),[t]);let v=e.excludeFromTabOrder?-1:0;return e.isDisabled&&(v=void 0),{focusableProps:(0,r.d)({...p,tabIndex:v},m)}}var h=n(1932);function m(e,t){let n,{elementType:a="button",isDisabled:i,onPress:s,onPressStart:l,onPressEnd:u,onPressUp:c,onPressChange:d,preventFocusOnPress:f,allowFocusWhenDisabled:m,onClick:g,href:v,target:y,rel:b,type:w="button"}=e;n="button"===a?{type:w,disabled:i}:{role:"button",tabIndex:i?void 0:0,href:"a"===a&&i?void 0:v,target:"a"===a?y:void 0,type:"input"===a?w:void 0,disabled:"input"===a?i:void 0,"aria-disabled":i&&"input"!==a?i:void 0,rel:"a"===a?b:void 0};let{pressProps:E,isPressed:_}=(0,h.r)({onPressStart:l,onPressEnd:u,onPressChange:d,onPress:s,onPressUp:c,isDisabled:i,preventFocusOnPress:f,ref:t}),{focusableProps:S}=p(e,t);m&&(S.tabIndex=i?-1:S.tabIndex);let D=(0,r.d)(S,E,(0,o.z)(e,{labelable:!0}));return{isPressed:_,buttonProps:(0,r.d)(n,D,{"aria-haspopup":e["aria-haspopup"],"aria-expanded":e["aria-expanded"],"aria-controls":e["aria-controls"],"aria-pressed":e["aria-pressed"],onClick:e=>{g&&(g(e),console.warn("onClick is deprecated, please use onPress"))}})}}},3449:(e,t,n)=>{"use strict";var r,o,a,i,s,l,u,c,d,f,p,h,m,g,v,y,b,w,E,_,S,D,x,P,C,k,O,R,T,$,I,M,A,N;n.d(t,{GX:()=>le,JK:()=>ce,QA:()=>ue}),r={dateRange:e=>`${e.startDate} إلى ${e.endDate}`,dateSelected:e=>`${e.date} المحدد`,finishRangeSelectionPrompt:"انقر لإنهاء عملية تحديد نطاق التاريخ",maximumDate:"آخر تاريخ متاح",minimumDate:"أول تاريخ متاح",next:"التالي",previous:"السابق",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.dateRange}`,startRangeSelectionPrompt:"انقر لبدء عملية تحديد نطاق التاريخ",todayDate:e=>`اليوم، ${e.date}`,todayDateSelected:e=>`اليوم، ${e.date} محدد`},o={dateRange:e=>`${e.startDate} до ${e.endDate}`,dateSelected:e=>`Избрано е ${e.date}`,finishRangeSelectionPrompt:"Натиснете, за да довършите избора на времеви интервал",maximumDate:"Последна налична дата",minimumDate:"Първа налична дата",next:"Напред",previous:"Назад",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натиснете, за да пристъпите към избора на времеви интервал",todayDate:e=>`Днес, ${e.date}`,todayDateSelected:e=>`Днес, ${e.date} са избрани`},a={dateRange:e=>`${e.startDate} až ${e.endDate}`,dateSelected:e=>`Vybráno ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výběr rozsahu dat",maximumDate:"Poslední dostupné datum",minimumDate:"První dostupné datum",next:"Další",previous:"Předchozí",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím zahájíte výběr rozsahu dat",todayDate:e=>`Dnes, ${e.date}`,todayDateSelected:e=>`Dnes, vybráno ${e.date}`},i={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klik for at fuldføre valg af datoområde",maximumDate:"Sidste ledige dato",minimumDate:"Første ledige dato",next:"Næste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.dateRange}`,startRangeSelectionPrompt:"Klik for at starte valg af datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},s={dateRange:e=>`${e.startDate} bis ${e.endDate}`,dateSelected:e=>`${e.date} ausgewählt`,finishRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beenden",maximumDate:"Letztes verfügbares Datum",minimumDate:"Erstes verfügbares Datum",next:"Weiter",previous:"Zurück",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.dateRange}`,startRangeSelectionPrompt:"Klicken, um die Auswahl des Datumsbereichs zu beginnen",todayDate:e=>`Heute, ${e.date}`,todayDateSelected:e=>`Heute, ${e.date} ausgewählt`},l={dateRange:e=>`${e.startDate} έως ${e.endDate}`,dateSelected:e=>`Επιλέχθηκε ${e.date}`,finishRangeSelectionPrompt:"Κάντε κλικ για να ολοκληρώσετε την επιλογή εύρους ημερομηνιών",maximumDate:"Τελευταία διαθέσιμη ημερομηνία",minimumDate:"Πρώτη διαθέσιμη ημερομηνία",next:"Επόμενο",previous:"Προηγούμενο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.dateRange}`,startRangeSelectionPrompt:"Κάντε κλικ για να ξεκινήσετε την επιλογή εύρους ημερομηνιών",todayDate:e=>`Σήμερα, ${e.date}`,todayDateSelected:e=>`Σήμερα, επιλέχτηκε ${e.date}`},u={previous:"Previous",next:"Next",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.dateRange}`,todayDate:e=>`Today, ${e.date}`,todayDateSelected:e=>`Today, ${e.date} selected`,dateSelected:e=>`${e.date} selected`,startRangeSelectionPrompt:"Click to start selecting date range",finishRangeSelectionPrompt:"Click to finish selecting date range",minimumDate:"First available date",maximumDate:"Last available date",dateRange:e=>`${e.startDate} to ${e.endDate}`},c={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} seleccionado`,finishRangeSelectionPrompt:"Haga clic para terminar de seleccionar rango de fechas",maximumDate:"Última fecha disponible",minimumDate:"Primera fecha disponible",next:"Siguiente",previous:"Anterior",selectedDateDescription:e=>
8`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo seleccionado: ${e.dateRange}`,startRangeSelectionPrompt:"Haga clic para comenzar a seleccionar un rango de fechas",todayDate:e=>`Hoy, ${e.date}`,todayDateSelected:e=>`Hoy, ${e.date} seleccionado`},d={dateRange:e=>`${e.startDate} kuni ${e.endDate}`,dateSelected:e=>`${e.date} valitud`,finishRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimise lõpetamiseks",maximumDate:"Viimane saadaolev kuupäev",minimumDate:"Esimene saadaolev kuupäev",next:"Järgmine",previous:"Eelmine",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.dateRange}`,startRangeSelectionPrompt:"Klõpsake kuupäevavahemiku valimiseks",todayDate:e=>`Täna, ${e.date}`,todayDateSelected:e=>`Täna, ${e.date} valitud`},f={dateRange:e=>`${e.startDate} – ${e.endDate}`,dateSelected:e=>`${e.date} valittu`,finishRangeSelectionPrompt:"Lopeta päivämääräalueen valinta napsauttamalla tätä.",maximumDate:"Viimeinen varattavissa oleva päivämäärä",minimumDate:"Ensimmäinen varattavissa oleva päivämäärä",next:"Seuraava",previous:"Edellinen",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.dateRange}`,startRangeSelectionPrompt:"Aloita päivämääräalueen valinta napsauttamalla tätä.",todayDate:e=>`Tänään, ${e.date}`,todayDateSelected:e=>`Tänään, ${e.date} valittu`},p={dateRange:e=>`${e.startDate} à ${e.endDate}`,dateSelected:e=>`${e.date} sélectionné`,finishRangeSelectionPrompt:"Cliquer pour finir de sélectionner la plage de dates",maximumDate:"Dernière date disponible",minimumDate:"Première date disponible",next:"Suivant",previous:"Précédent",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.dateRange}`,startRangeSelectionPrompt:"Cliquer pour commencer à sélectionner la plage de dates",todayDate:e=>`Aujourd'hui, ${e.date}`,todayDateSelected:e=>`Aujourd’hui, ${e.date} sélectionné`},h={dateRange:e=>`${e.startDate} עד ${e.endDate}`,dateSelected:e=>`${e.date} נבחר`,finishRangeSelectionPrompt:"חץ כדי לסיים את בחירת טווח התאריכים",maximumDate:"תאריך פנוי אחרון",minimumDate:"תאריך פנוי ראשון",next:"הבא",previous:"הקודם",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.dateRange}`,startRangeSelectionPrompt:"לחץ כדי להתחיל בבחירת טווח התאריכים",todayDate:e=>`היום, ${e.date}`,todayDateSelected:e=>`היום, ${e.date} נבחר`},m={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} odabran`,finishRangeSelectionPrompt:"Kliknite da dovršite raspon odabranih datuma",maximumDate:"Posljednji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sljedeći",previous:"Prethodni",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete raspon odabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, odabran ${e.date}`},g={dateRange:e=>`${e.startDate}–${e.endDate}`,dateSelected:e=>`${e.date} kiválasztva`,finishRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének befejezéséhez",maximumDate:"Utolsó elérhető dátum",minimumDate:"Az első elérhető dátum",next:"Következő",previous:"Előző",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.dateRange}`,startRangeSelectionPrompt:"Kattintson a dátumtartomány kijelölésének indításához",todayDate:e=>`Ma, ${e.date}`,todayDateSelected:e=>`Ma, ${e.date} kijelölve`},v={dateRange:e=>`Da ${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selezionata`,finishRangeSelectionPrompt:"Fai clic per completare la selezione dell’intervallo di date",maximumDate:"Ultima data disponibile",minimumDate:"Prima data disponibile",next:"Successivo",previous:"Precedente",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: ${e.dateRange}`,startRangeSelectionPrompt:"Fai clic per selezionare l’intervallo di date",todayDate:e=>`Oggi, ${e.date}`,todayDateSelected:e=>`Oggi, ${e.date} selezionata`},y={dateRange:e=>`${e.startDate} から ${e.endDate}`,dateSelected:e=>`${e.date} を選択`,finishRangeSelectionPrompt:"クリックして日付範囲の選択を終了",maximumDate:"最終利用可能日",minimumDate:"最初の利用可能日",next:"次へ",previous:"前へ",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.dateRange}`,startRangeSelectionPrompt:"クリックして日付範囲の選択を開始",todayDate:e=>`本日、${e.date}`,todayDateSelected:e=>`本日、${e.date} を選択`},b={dateRange:e=>`${e.startDate} ~ ${e.endDate}`,dateSelected:e=>`${e.date} 선택됨`,finishRangeSelectionPrompt:"날짜 범위 선택을 완료하려면 클릭하십시오.",maximumDate:"마지막으로 사용 가능한 일자",minimumDate:"처음으로 사용 가능한 일자",next:"다음",previous:"이전",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.dateRange}`,startRangeSelectionPrompt:"날짜 범위 선택을 시작하려면 클릭하십시오.",todayDate:e=>`오늘, ${e.date}`,todayDateSelected:e=>`오늘, ${e.date} 선택됨`},w={dateRange:e=>`Nuo ${e.startDate} iki ${e.endDate}`,dateSelected:e=>`Pasirinkta ${e.date}`,finishRangeSelectionPrompt:"Spustelėkite, kad baigtumėte pasirinkti datų intervalą",maximumDate:"Paskutinė galima data",minimumDate:"Pirmoji galima data",next:"Paskesnis",previous:"Ankstesnis",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: ${e.dateRange}`,startRangeSelectionPrompt:"Spustelėkite, kad pradėtumėte pasirinkti datų intervalą",todayDate:e=>`Šiandien, ${e.date}`,todayDateSelected:e=>`Šiandien, pasirinkta ${e.date}`},E={dateRange:e=>`No ${e.startDate} līdz ${e.endDate}`,dateSelected:e=>`Atlasīts: ${e.date}`,finishRangeSelectionPrompt:"Noklikšķiniet, lai pabeigtu datumu diapazona atlasi",maximumDate:"Pēdējais pieejamais datums",minimumDate:"Pirmais pieejamais datums",next:"Tālāk",previous:"Atpakaļ",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: ${e.dateRange}`,startRangeSelectionPrompt:"Noklikšķiniet, lai sāktu datumu diapazona atlasi",todayDate:e=>`Šodien, ${e.date}`,todayDateSelected:e=>`Atlasīta šodiena, ${e.date}`},_={dateRange:e=>`${e.startDate} til ${e.endDate}`,dateSelected:e=>`${e.date} valgt`,finishRangeSelectionPrompt:"Klikk for å fullføre valg av datoområde",maximumDate:"Siste tilgjengelige dato",minimumDate:"Første tilgjengelige dato",next:"Neste",previous:"Forrige",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.dateRange}`,startRangeSelectionPrompt:"Klikk for å starte valg av datoområde",todayDate:e=>`I dag, ${e.date}`,todayDateSelected:e=>`I dag, ${e.date} valgt`},S={dateRange:e=>`${e.startDate} tot ${e.endDate}`,dateSelected:e=>`${e.date} geselecteerd`,finishRangeSelectionPrompt:"Klik om de selectie van het datumbereik te voltooien",maximumDate:"Laatste beschikbare datum",minimumDate:"Eerste beschikbare datum",next:"Volgende",previous:"Vorige",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.dateRange}`,startRangeSelectionPrompt:"Klik om het datumbereik te selecteren",todayDate:e=>`Vandaag, ${e.date}`,todayDateSelected:e=>`Vandaag, ${e.date} geselecteerd`},D={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`Wybrano ${e.date}`,finishRangeSelectionPrompt:"Kliknij, aby zakończyć wybór zakresu dat",maximumDate:"Ostatnia dostępna data",minimumDate:"Pierwsza dostępna data",next:"Dalej",previous:"Wstecz",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknij, aby rozpocząć wybór zakresu dat",todayDate:e=>`Dzisiaj, ${e.date}`,todayDateSelected:e=>
8`Dzisiaj wybrano ${e.date}`},x={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para concluir a seleção do intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para iniciar a seleção do intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},P={dateRange:e=>`${e.startDate} a ${e.endDate}`,dateSelected:e=>`${e.date} selecionado`,finishRangeSelectionPrompt:"Clique para terminar de selecionar o intervalo de datas",maximumDate:"Última data disponível",minimumDate:"Primeira data disponível",next:"Próximo",previous:"Anterior",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.dateRange}`,startRangeSelectionPrompt:"Clique para começar a selecionar o intervalo de datas",todayDate:e=>`Hoje, ${e.date}`,todayDateSelected:e=>`Hoje, ${e.date} selecionado`},C={dateRange:e=>`De la ${e.startDate} până la ${e.endDate}`,dateSelected:e=>`${e.date} selectată`,finishRangeSelectionPrompt:"Apăsaţi pentru a finaliza selecţia razei pentru dată",maximumDate:"Ultima dată disponibilă",minimumDate:"Prima dată disponibilă",next:"Următorul",previous:"Înainte",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: ${e.dateRange}`,startRangeSelectionPrompt:"Apăsaţi pentru a începe selecţia razei pentru dată",todayDate:e=>`Astăzi, ${e.date}`,todayDateSelected:e=>`Azi, ${e.date} selectată`},k={dateRange:e=>`С ${e.startDate} по ${e.endDate}`,dateSelected:e=>`Выбрано ${e.date}`,finishRangeSelectionPrompt:"Щелкните, чтобы завершить выбор диапазона дат",maximumDate:"Последняя доступная дата",minimumDate:"Первая доступная дата",next:"Далее",previous:"Назад",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Щелкните, чтобы начать выбор диапазона дат",todayDate:e=>`Сегодня, ${e.date}`,todayDateSelected:e=>`Сегодня, выбрано ${e.date}`},O={dateRange:e=>`Od ${e.startDate} do ${e.endDate}`,dateSelected:e=>`Vybratý dátum ${e.date}`,finishRangeSelectionPrompt:"Kliknutím dokončíte výber rozsahu dátumov",maximumDate:"Posledný dostupný dátum",minimumDate:"Prvý dostupný dátum",next:"Nasledujúce",previous:"Predchádzajúce",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknutím spustíte výber rozsahu dátumov",todayDate:e=>`Dnes ${e.date}`,todayDateSelected:e=>`Vybratý dnešný dátum ${e.date}`},R={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izbrano`,finishRangeSelectionPrompt:"Kliknite za dokončanje izbire datumskega obsega",maximumDate:"Zadnji razpoložljivi datum",minimumDate:"Prvi razpoložljivi datum",next:"Naprej",previous:"Nazaj",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite za začetek izbire datumskega obsega",todayDate:e=>`Danes, ${e.date}`,todayDateSelected:e=>`Danes, ${e.date} izbrano`},T={dateRange:e=>`${e.startDate} do ${e.endDate}`,dateSelected:e=>`${e.date} izabran`,finishRangeSelectionPrompt:"Kliknite da dovršite opseg izabranih datuma",maximumDate:"Zadnji raspoloživi datum",minimumDate:"Prvi raspoloživi datum",next:"Sledeći",previous:"Prethodni",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani period: ${e.dateRange}`,startRangeSelectionPrompt:"Kliknite da započnete opseg izabranih datuma",todayDate:e=>`Danas, ${e.date}`,todayDateSelected:e=>`Danas, izabran ${e.date}`},$={dateRange:e=>`${e.startDate} till ${e.endDate}`,dateSelected:e=>`${e.date} har valts`,finishRangeSelectionPrompt:"Klicka för att avsluta val av datumintervall",maximumDate:"Sista t
8illgängliga datum",minimumDate:"Första tillgängliga datum",next:"Nästa",previous:"Föregående",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.dateRange}`,startRangeSelectionPrompt:"Klicka för att välja datumintervall",todayDate:e=>`Idag, ${e.date}`,todayDateSelected:e=>`Idag, ${e.date} har valts`},I={dateRange:e=>`${e.startDate} - ${e.endDate}`,dateSelected:e=>`${e.date} seçildi`,finishRangeSelectionPrompt:"Tarih aralığı seçimini tamamlamak için tıklayın",maximumDate:"Son müsait tarih",minimumDate:"İlk müsait tarih",next:"Sonraki",previous:"Önceki",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.dateRange}`,startRangeSelectionPrompt:"Tarih aralığı seçimini başlatmak için tıklayın",todayDate:e=>`Bugün, ${e.date}`,todayDateSelected:e=>`Bugün, ${e.date} seçildi`},M={dateRange:e=>`${e.startDate} — ${e.endDate}`,dateSelected:e=>`Вибрано ${e.date}`,finishRangeSelectionPrompt:"Натисніть, щоб завершити вибір діапазону дат",maximumDate:"Остання доступна дата",minimumDate:"Перша доступна дата",next:"Наступний",previous:"Попередній",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.dateRange}`,startRangeSelectionPrompt:"Натисніть, щоб почати вибір діапазону дат",todayDate:e=>`Сьогодні, ${e.date}`,todayDateSelected:e=>`Сьогодні, вибрано ${e.date}`},A={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已选择 ${e.date}`,finishRangeSelectionPrompt:"单击以完成选择日期范围",maximumDate:"最后一个可用日期",minimumDate:"第一个可用日期",next:"下一页",previous:"上一页",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.dateRange}`,startRangeSelectionPrompt:"单击以开始选择日期范围",todayDate:e=>`今天,即 ${e.date}`,todayDateSelected:e=>`已选择今天,即 ${e.date}`},N={dateRange:e=>`${e.startDate} 至 ${e.endDate}`,dateSelected:e=>`已選取 ${e.date}`,finishRangeSelectionPrompt:"按一下以完成選取日期範圍",maximumDate:"最後一個可用日期",minimumDate:"第一個可用日期",next:"下一頁",previous:"上一頁",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.dateRange}`,startRangeSelectionPrompt:"按一下以開始選取日期範圍",todayDate:e=>`今天,${e.date}`,todayDateSelected:e=>`已選取今天,${e.date}`};var j=n(3803),L=n(3136),F=n(9748);function V(e,t){const n=(0,F.useRef)(!0),r=(0,F.useRef)(null);(0,F.useEffect)((()=>(n.current=!0,()=>{n.current=!1})),[]),(0,F.useEffect)((()=>{let o=r.current;n.current?n.current=!1:o&&!t.some(((e,t)=>!Object.is(e,o[t])))||e(),r.current=t}),t)}var U=n(8073),Z=n(9955),H=n(1953),B=n(5700),z=n(1325),W=n(7604),K=n(2064),q=n(9665),Y=n(4392),G=n(3209),J=n(5156),Q=n(3707),X=n(1932),ee=n(9975);function te(e){return e&&e.__esModule?e.default:e}var ne={};ne={"ar-AE":r,"bg-BG":o,"cs-CZ":a,"da-DK":i,"de-DE":s,"el-GR":l,"en-US":u,"es-ES":c,"et-EE":d,"fi-FI":f,"fr-FR":p,"he-IL":h,"hr-HR":m,"hu-HU":g,"it-IT":v,"ja-JP":y,"ko-KR":b,"lt-LT":w,"lv-LV":E,"nb-NO":_,"nl-NL":S,"pl-PL":D,"pt-BR":x,"pt-PT":P,"ro-RO":C,"ru-RU":k,"sk-SK":O,"sl-SI":R,"sr-SP":T,"sv-SE":$,"tr-TR":I,"uk-UA":M,"zh-CN":A,"zh-TW":N};const re=new WeakMap;function oe(e){return"gregory"===(null==e?void 0:e.calendar.identifier)&&"BC"===e.era?"short":void 0}function ae(e,t,n,r){let o=(0,Y.q)(te(ne),"@react-aria/calendar"),a=oe(e)||oe(t),i=(0,G.a)({month:"long",year:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n}),s=(0,G.a)({month:"long",year:"numeric",day:"numeric",era:a,calendar:e.calendar.identifier,timeZone:n});return(0,F.useMemo)((()=>{if((0,Q.KC)(e,(0,Q.Nm)(e))){if((0,Q.KC)(t,(0,Q.Vf)(e)))return i.format(e.toDate(n));if((0,Q.KC)(t,(0,Q.Vf)(t)))return r?ie(i,o,e,t,n):i.formatRange(e.toDate(n),t.toDate(n))}return r?ie(s,o,e,t,n):s.formatRange(e.toDate(n),t.toDate(n))}),[e,t,i,s,o,n,r])}function ie(e,t,n,r,o){let a=e.formatRangeToParts(n.toDate(o),r.toDate(o)),i=-1;for(let e=0;e<a.length;e++){let t=a[e];
8if("shared"===t.source&&"literal"===t.type)i=e;else if("endRange"===t.source)break}let s="",l="";for(let e=0;e<a.length;e++)e<i?s+=a[e].value:e>i&&(l+=a[e].value);return t.format("dateRange",{startDate:s,endDate:l})}function se(e,t){let n=(0,Y.q)(te(ne),"@react-aria/calendar"),r=(0,L.z)(e),o=ae(t.visibleRange.start,t.visibleRange.end,t.timeZone,!1),a=ae(t.visibleRange.start,t.visibleRange.end,t.timeZone,!0);V((()=>{t.isFocused||(0,j.xQ)(a)}),[a]);let i=function(e){let t,n,r=(0,Y.q)(te(ne),"@react-aria/calendar");"highlightedRange"in e?({start:t,end:n}=e.highlightedRange||{}):t=n=e.value;let o=(0,G.a)({weekday:"long",month:"long",year:"numeric",day:"numeric",era:oe(t)||oe(n),timeZone:e.timeZone}),a="anchorDate"in e?e.anchorDate:null;return(0,F.useMemo)((()=>{if(!a&&t&&n){if((0,Q.KC)(t,n)){let n=o.format(t.toDate(e.timeZone));return r.format("selectedDateDescription",{date:n})}{let a=ie(o,r,t,n,e.timeZone);return r.format("selectedRangeDescription",{dateRange:a})}}return""}),[t,n,a,e.timeZone,r,o])}(t);V((()=>{i&&(0,j.xQ)(i,"polite",4e3)}),[i]);let s=(0,U.mp)([Boolean(e.errorMessage),e.isInvalid,e.validationState]);re.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:e["aria-labelledby"],errorMessageId:s,selectedDateDescription:i});let[l,u]=(0,F.useState)(!1),c=e.isDisabled||t.isNextVisibleRangeInvalid();c&&l&&(u(!1),t.setFocused(!0));let[d,f]=(0,F.useState)(!1),p=e.isDisabled||t.isPreviousVisibleRangeInvalid();p&&d&&(f(!1),t.setFocused(!0));let h=(0,Z.b)({id:e.id,"aria-label":[e["aria-label"],a].filter(Boolean).join(", "),"aria-labelledby":e["aria-labelledby"]});return{calendarProps:(0,H.d)(r,h,{role:"application","aria-describedby":e["aria-describedby"]||void 0}),nextButtonProps:{onPress:()=>t.focusNextPage(),"aria-label":n.format("next"),isDisabled:c,onFocusChange:u},prevButtonProps:{onPress:()=>t.focusPreviousPage(),"aria-label":n.format("previous"),isDisabled:p,onFocusChange:f},errorMessageProps:{id:s},title:o}}function le(e,t){return se(e,t)}function ue(e,t){let{startDate:n=t.visibleRange.start,endDate:r=t.visibleRange.end}=e,{direction:o}=(0,J.j)(),a=ae(n,r,t.timeZone,!0),{ariaLabel:i,ariaLabelledBy:s}=re.get(t),l=(0,Z.b)({"aria-label":[i,a].filter(Boolean).join(", "),"aria-labelledby":s}),u=(0,G.a)({weekday:e.weekdayStyle||"narrow",timeZone:t.timeZone}),{locale:c}=(0,J.j)(),d=(0,F.useMemo)((()=>{let e=(0,Q.zJ)((0,Q.Lg)(t.timeZone),c);return[...new Array(7).keys()].map((n=>{let r=e.add({days:n}).toDate(t.timeZone);return u.format(r)}))}),[c,t.timeZone,u]);return{gridProps:(0,H.d)(l,{role:"grid","aria-readonly":t.isReadOnly||null,"aria-disabled":t.isDisabled||null,"aria-multiselectable":"highlightedRange"in t||void 0,onKeyDown:e=>{switch(e.key){case"Enter":case" ":e.preventDefault(),t.selectFocusedDate();break;case"PageUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousSection(e.shiftKey);break;case"PageDown":e.preventDefault(),e.stopPropagation(),t.focusNextSection(e.shiftKey);break;case"End":e.preventDefault(),e.stopPropagation(),t.focusSectionEnd();break;case"Home":e.preventDefault(),e.stopPropagation(),t.focusSectionStart();break;case"ArrowLeft":e.preventDefault(),e.stopPropagation(),"rtl"===o?t.focusNextDay():t.focusPreviousDay();break;case"ArrowUp":e.preventDefault(),e.stopPropagation(),t.focusPreviousRow();break;case"ArrowRight":e.preventDefault(),e.stopPropagation(),"rtl"===o?t.focusPreviousDay():t.focusNextDay();break;case"ArrowDown":e.preventDefault(),e.stopPropagation(),t.focusNextRow();break;case"Escape":"setAnchorDate"in t&&(e.preventDefault(),t.setAnchorDate(null))}},onFocus:()=>t.setFocused(!0),onBlur:()=>t.setFocused(!1)}),headerProps:{"aria-hidden":!0},weekDays:d}}function ce(e,t,n){let{date:r,isDisabled:o}=e,{errorMessageId:a,selectedDateDescription:i}=re.get(t),s=(0,Y.q)(te(ne),"@react-aria/calendar"),l=(0,G.a)({weekday:"long",day:"numeric",month:"long",year:"numeric",era:oe(r),timeZone:t.timeZone}),u=t.isSelected(r),c=t.isCellFocused(r);o=o||t.isCellDisabled(r);let d=t.isCellUnavailable(r),f=!o&&!d,p=t.isValueInvalid&&("highlightedRange"in t?!t.anchorDate&&t.highlightedRange&&r.compare(t.highlightedRange.start)>=0&&r.compare(t.highlightedRange.end)<=0:t.value&&(0,Q.KC)(t.value,r));p&&(u=!0),r=(0,B.v)(r,Q.N9);let h=(0,F.useMemo)((()=>r.toDate(t.timeZone)),[r,t.timeZone]),m=(0,Q.zk)(r,t.timeZone),g=(0,F.useMemo)((()=>{let e="";return"highlightedRange"in t&&t.value&&!t.anchorDate&&((0,Q.KC)(r,t.value.start)||(0,Q.KC)(r,t.value.end))&&
8(e=i+", "),e+=l.format(h),m?e=s.format(u?"todayDateSelected":"todayDate",{date:e}):u&&(e=s.format("dateSelected",{date:e})),t.minValue&&(0,Q.KC)(r,t.minValue)?e+=", "+s.format("minimumDate"):t.maxValue&&(0,Q.KC)(r,t.maxValue)&&(e+=", "+s.format("maximumDate")),e}),[l,h,s,u,m,r,t,i]),v="";"anchorDate"in t&&c&&!t.isReadOnly&&f&&(v=t.anchorDate?s.format("finishRangeSelectionPrompt"):s.format("startRangeSelectionPrompt"));let y=(0,z.P)(v),b=(0,F.useRef)(!1),w=(0,F.useRef)(!1),E=(0,F.useRef)(null),{pressProps:_,isPressed:S}=(0,X.r)({shouldCancelOnPointerExit:"anchorDate"in t&&!!t.anchorDate,preventFocusOnPress:!0,isDisabled:!f||t.isReadOnly,onPressStart(e){if(t.isReadOnly)t.setFocusedDate(r);else if("highlightedRange"in t&&!t.anchorDate&&("mouse"===e.pointerType||"touch"===e.pointerType)){if(t.highlightedRange&&!p){if((0,Q.KC)(r,t.highlightedRange.start))return t.setAnchorDate(t.highlightedRange.end),t.setFocusedDate(r),t.setDragging(!0),void(w.current=!0);if((0,Q.KC)(r,t.highlightedRange.end))return t.setAnchorDate(t.highlightedRange.start),t.setFocusedDate(r),t.setDragging(!0),void(w.current=!0)}let n=()=>{t.setDragging(!0),E.current=null,t.selectDate(r),t.setFocusedDate(r),b.current=!0};"touch"===e.pointerType?E.current=setTimeout(n,200):n()}},onPressEnd(){w.current=!1,b.current=!1,clearTimeout(E.current),E.current=null},onPress(){"anchorDate"in t||t.isReadOnly||(t.selectDate(r),t.setFocusedDate(r))},onPressUp(e){if(!t.isReadOnly&&("anchorDate"in t&&E.current&&(t.selectDate(r),t.setFocusedDate(r)),"anchorDate"in t))if(w.current)t.setAnchorDate(r);else if(t.anchorDate&&!b.current)t.selectDate(r),t.setFocusedDate(r);else if("keyboard"!==e.pointerType||t.anchorDate)"virtual"===e.pointerType&&(t.selectDate(r),t.setFocusedDate(r));else{t.selectDate(r);let e=r.add({days:1});t.isInvalid(e)&&(e=r.subtract({days:1})),t.isInvalid(e)||t.setFocusedDate(e)}}}),D=null;o||(D=(0,Q.KC)(r,t.focusedDate)?0:-1),(0,F.useEffect)((()=>{c&&n.current&&((0,W.A)(n.current),"pointer"!==(0,ee.Jz)()&&document.activeElement===n.current&&(0,K.G)(n.current,{containingElement:(0,q.r)(n.current)}))}),[c,n]);let x=(0,G.a)({day:"numeric",timeZone:t.timeZone,calendar:r.calendar.identifier}),P=(0,F.useMemo)((()=>x.formatToParts(h).find((e=>"day"===e.type)).value),[x,h]);return{cellProps:{role:"gridcell","aria-disabled":!f||null,"aria-selected":u||null,"aria-invalid":p||null},buttonProps:(0,H.d)(_,{onFocus(){o||t.setFocusedDate(r)},tabIndex:D,role:"button","aria-disabled":!f||null,"aria-label":g,"aria-invalid":p||null,"aria-describedby":[p?a:null,y["aria-describedby"]].filter(Boolean).join(" ")||void 0,onPointerEnter(e){"highlightDate"in t&&("touch"!==e.pointerType||t.isDragging)&&f&&t.highlightDate(r)},onPointerDown(e){"releasePointerCapture"in e.target&&e.target.releasePointerCapture(e.pointerId)},onContextMenu(e){e.preventDefault()}}),isPressed:S,isFocused:c,isSelected:u,isDisabled:o,isUnavailable:d,isOutsideVisibleRange:r.compare(t.visibleRange.start)<0||r.compare(t.visibleRange.end)>0,isInvalid:p,formattedDate:P}}},8775:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var r={};r={"ar-AE":{calendar:"التقويم",day:"يوم",dayPeriod:"ص/م",endDate:"تاريخ الانتهاء",era:"العصر",hour:"الساعات",minute:"الدقائق",month:"الشهر",second:"الثواني",selectedDateDescription:e=>`تاريخ محدد: ${e.date}`,selectedRangeDescription:e=>`المدى الزمني المحدد: ${e.startDate} إلى ${e.endDate}`,selectedTimeDescription:e=>`الوقت المحدد: ${e.time}`,startDate:"تاريخ البدء",timeZoneName:"التوقيت",weekday:"اليوم",year:"السنة"},"bg-BG":{calendar:"Календар",day:"ден",dayPeriod:"пр.об./сл.об.",endDate:"Крайна дата",era:"ера",hour:"час",minute:"минута",month:"месец",second:"секунда",selectedDateDescription:e=>`Избрана дата: ${e.date}`,selectedRangeDescription:e=>`Избран диапазон: ${e.startDate} до ${e.endDate}`,selectedTimeDescription:e=>`Избрано време: ${e.time}`,startDate:"Начална дата",timeZoneName:"часова зона",weekday:"ден от седмицата",year:"година"},"cs-CZ":{calendar:"Kalendář",day:"den",dayPeriod:"část dne",endDate:"Konečné datum",era:"letopočet",hour:"hodina",minute:"minuta",month:"měsíc",second:"sekunda",selectedDateDescription:e=>`Vybrané datum: ${e.date}`,selectedRangeDescription:e=>`Vybrané období: ${e.startDate} až ${e.endDate}`,selectedTimeDescription:e=>`Vybraný čas: ${e.time}`,startDate:"Počáteční datum",timeZoneName:"časové pásmo",weekday:"den v týdnu",year:"rok"}
8,"da-DK":{calendar:"Kalender",day:"dag",dayPeriod:"AM/PM",endDate:"Slutdato",era:"æra",hour:"time",minute:"minut",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt interval: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tidspunkt: ${e.time}`,startDate:"Startdato",timeZoneName:"tidszone",weekday:"ugedag",year:"år"},"de-DE":{calendar:"Kalender",day:"Tag",dayPeriod:"Tageshälfte",endDate:"Enddatum",era:"Epoche",hour:"Stunde",minute:"Minute",month:"Monat",second:"Sekunde",selectedDateDescription:e=>`Ausgewähltes Datum: ${e.date}`,selectedRangeDescription:e=>`Ausgewählter Bereich: ${e.startDate} bis ${e.endDate}`,selectedTimeDescription:e=>`Ausgewählte Zeit: ${e.time}`,startDate:"Startdatum",timeZoneName:"Zeitzone",weekday:"Wochentag",year:"Jahr"},"el-GR":{calendar:"Ημερολόγιο",day:"ημέρα",dayPeriod:"π.μ./μ.μ.",endDate:"Ημερομηνία λήξης",era:"περίοδος",hour:"ώρα",minute:"λεπτό",month:"μήνας",second:"δευτερόλεπτο",selectedDateDescription:e=>`Επιλεγμένη ημερομηνία: ${e.date}`,selectedRangeDescription:e=>`Επιλεγμένο εύρος: ${e.startDate} έως ${e.endDate}`,selectedTimeDescription:e=>`Επιλεγμένη ώρα: ${e.time}`,startDate:"Ημερομηνία έναρξης",timeZoneName:"ζώνη ώρας",weekday:"καθημερινή",year:"έτος"},"en-US":{era:"era",year:"year",month:"month",day:"day",hour:"hour",minute:"minute",second:"second",dayPeriod:"AM/PM",calendar:"Calendar",startDate:"Start Date",endDate:"End Date",weekday:"day of the week",timeZoneName:"time zone",selectedDateDescription:e=>`Selected Date: ${e.date}`,selectedRangeDescription:e=>`Selected Range: ${e.startDate} to ${e.endDate}`,selectedTimeDescription:e=>`Selected Time: ${e.time}`},"es-ES":{calendar:"Calendario",day:"día",dayPeriod:"a. m./p. m.",endDate:"Fecha final",era:"era",hour:"hora",minute:"minuto",month:"mes",second:"segundo",selectedDateDescription:e=>`Fecha seleccionada: ${e.date}`,selectedRangeDescription:e=>`Rango seleccionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora seleccionada: ${e.time}`,startDate:"Fecha de inicio",timeZoneName:"zona horaria",weekday:"día de la semana",year:"año"},"et-EE":{calendar:"Kalender",day:"päev",dayPeriod:"enne/pärast lõunat",endDate:"Lõppkuupäev",era:"ajastu",hour:"tund",minute:"minut",month:"kuu",second:"sekund",selectedDateDescription:e=>`Valitud kuupäev: ${e.date}`,selectedRangeDescription:e=>`Valitud vahemik: ${e.startDate} kuni ${e.endDate}`,selectedTimeDescription:e=>`Valitud aeg: ${e.time}`,startDate:"Alguskuupäev",timeZoneName:"ajavöönd",weekday:"nädalapäev",year:"aasta"},"fi-FI":{calendar:"Kalenteri",day:"päivä",dayPeriod:"vuorokaudenaika",endDate:"Päättymispäivä",era:"aikakausi",hour:"tunti",minute:"minuutti",month:"kuukausi",second:"sekunti",selectedDateDescription:e=>`Valittu päivämäärä: ${e.date}`,selectedRangeDescription:e=>`Valittu aikaväli: ${e.startDate} – ${e.endDate}`,selectedTimeDescription:e=>`Valittu aika: ${e.time}`,startDate:"Alkamispäivä",timeZoneName:"aikavyöhyke",weekday:"viikonpäivä",year:"vuosi"},"fr-FR":{calendar:"Calendrier",day:"jour",dayPeriod:"cadran",endDate:"Date de fin",era:"ère",hour:"heure",minute:"minute",month:"mois",second:"seconde",selectedDateDescription:e=>`Date sélectionnée : ${e.date}`,selectedRangeDescription:e=>`Plage sélectionnée : ${e.startDate} au ${e.endDate}`,selectedTimeDescription:e=>`Heure choisie : ${e.time}`,startDate:"Date de début",timeZoneName:"fuseau horaire",weekday:"jour de la semaine",year:"année"},"he-IL":{calendar:"לוח שנה",day:"יום",dayPeriod:"לפנה״צ/אחה״צ",endDate:"תאריך סיום",era:"תקופה",hour:"שעה",minute:"דקה",month:"חודש",second:"שנייה",selectedDateDescription:e=>`תאריך נבחר: ${e.date}`,selectedRangeDescription:e=>`טווח נבחר: ${e.startDate} עד ${e.endDate}`,selectedTimeDescription:e=>`זמן נבחר: ${e.time}`,startDate:"תאריך התחלה",timeZoneName:"אזור זמן",weekday:"יום בשבוע",year:"שנה"}
8,"hr-HR":{calendar:"Kalendar",day:"dan",dayPeriod:"AM/PM",endDate:"Datum završetka",era:"era",hour:"sat",minute:"minuta",month:"mjesec",second:"sekunda",selectedDateDescription:e=>`Odabrani datum: ${e.date}`,selectedRangeDescription:e=>`Odabrani raspon: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Odabrano vrijeme: ${e.time}`,startDate:"Datum početka",timeZoneName:"vremenska zona",weekday:"dan u tjednu",year:"godina"},"hu-HU":{calendar:"Naptár",day:"nap",dayPeriod:"napszak",endDate:"Befejező dátum",era:"éra",hour:"óra",minute:"perc",month:"hónap",second:"másodperc",selectedDateDescription:e=>`Kijelölt dátum: ${e.date}`,selectedRangeDescription:e=>`Kijelölt tartomány: ${e.startDate}–${e.endDate}`,selectedTimeDescription:e=>`Kijelölt idő: ${e.time}`,startDate:"Kezdő dátum",timeZoneName:"időzóna",weekday:"hét napja",year:"év"},"it-IT":{calendar:"Calendario",day:"giorno",dayPeriod:"AM/PM",endDate:"Data finale",era:"era",hour:"ora",minute:"minuto",month:"mese",second:"secondo",selectedDateDescription:e=>`Data selezionata: ${e.date}`,selectedRangeDescription:e=>`Intervallo selezionato: da ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Ora selezionata: ${e.time}`,startDate:"Data iniziale",timeZoneName:"fuso orario",weekday:"giorno della settimana",year:"anno"},"ja-JP":{calendar:"カレンダー",day:"日",dayPeriod:"午前/午後",endDate:"終了日",era:"時代",hour:"時",minute:"分",month:"月",second:"秒",selectedDateDescription:e=>`選択した日付 : ${e.date}`,selectedRangeDescription:e=>`選択範囲 : ${e.startDate} から ${e.endDate}`,selectedTimeDescription:e=>`選択した時間 : ${e.time}`,startDate:"開始日",timeZoneName:"タイムゾーン",weekday:"曜日",year:"年"},"ko-KR":{calendar:"달력",day:"일",dayPeriod:"오전/오후",endDate:"종료일",era:"연호",hour:"시",minute:"분",month:"월",second:"초",selectedDateDescription:e=>`선택 일자: ${e.date}`,selectedRangeDescription:e=>`선택 범위: ${e.startDate} ~ ${e.endDate}`,selectedTimeDescription:e=>`선택 시간: ${e.time}`,startDate:"시작일",timeZoneName:"시간대",weekday:"요일",year:"년"},"lt-LT":{calendar:"Kalendorius",day:"diena",dayPeriod:"iki pietų / po pietų",endDate:"Pabaigos data",era:"era",hour:"valanda",minute:"minutė",month:"mėnuo",second:"sekundė",selectedDateDescription:e=>`Pasirinkta data: ${e.date}`,selectedRangeDescription:e=>`Pasirinktas intervalas: nuo ${e.startDate} iki ${e.endDate}`,selectedTimeDescription:e=>`Pasirinktas laikas: ${e.time}`,startDate:"Pradžios data",timeZoneName:"laiko juosta",weekday:"savaitės diena",year:"metai"},"lv-LV":{calendar:"Kalendārs",day:"diena",dayPeriod:"priekšpusdienā/pēcpusdienā",endDate:"Beigu datums",era:"ēra",hour:"stundas",minute:"minūtes",month:"mēnesis",second:"sekundes",selectedDateDescription:e=>`Atlasītais datums: ${e.date}`,selectedRangeDescription:e=>`Atlasītais diapazons: no ${e.startDate} līdz ${e.endDate}`,selectedTimeDescription:e=>`Atlasītais laiks: ${e.time}`,startDate:"Sākuma datums",timeZoneName:"laika josla",weekday:"nedēļas diena",year:"gads"},"nb-NO":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Sluttdato",era:"tidsalder",hour:"time",minute:"minutt",month:"måned",second:"sekund",selectedDateDescription:e=>`Valgt dato: ${e.date}`,selectedRangeDescription:e=>`Valgt område: ${e.startDate} til ${e.endDate}`,selectedTimeDescription:e=>`Valgt tid: ${e.time}`,startDate:"Startdato",timeZoneName:"tidssone",weekday:"ukedag",year:"år"},"nl-NL":{calendar:"Kalender",day:"dag",dayPeriod:"a.m./p.m.",endDate:"Einddatum",era:"tijdperk",hour:"uur",minute:"minuut",month:"maand",second:"seconde",selectedDateDescription:e=>`Geselecteerde datum: ${e.date}`,selectedRangeDescription:e=>`Geselecteerd bereik: ${e.startDate} tot ${e.endDate}`,selectedTimeDescription:e=>`Geselecteerde tijd: ${e.time}`,startDate:"Startdatum",timeZoneName:"tijdzone",weekday:"dag van de week",year:"jaar"},"pl-PL":{calendar:"Kalendarz",day:"dzień",dayPeriod:"rano / po południu / wieczorem",endDate:"Data końcowa",era:"era",hour:"godzina",minute:"minuta",month:"miesiąc",second:"sekunda",selectedDateDescription:e=>`Wybrana data: ${e.date}`,selectedRangeDescription:e=>`Wybrany zakres: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Wybrany czas: ${e.time}`,startDate:"Data początkowa",timeZoneName:"strefa czasowa",weekday:"dzień tygodnia",year:"rok"},"pt-BR":{calendar:"Calendário",day:"dia",dayPeriod:"AM/PM",endD
8ate:"Data final",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data inicial",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"},"pt-PT":{calendar:"Calendário",day:"dia",dayPeriod:"am/pm",endDate:"Data de Término",era:"era",hour:"hora",minute:"minuto",month:"mês",second:"segundo",selectedDateDescription:e=>`Data selecionada: ${e.date}`,selectedRangeDescription:e=>`Intervalo selecionado: ${e.startDate} a ${e.endDate}`,selectedTimeDescription:e=>`Hora selecionada: ${e.time}`,startDate:"Data de Início",timeZoneName:"fuso horário",weekday:"dia da semana",year:"ano"},"ro-RO":{calendar:"Calendar",day:"zi",dayPeriod:"a.m/p.m.",endDate:"Dată final",era:"eră",hour:"oră",minute:"minut",month:"lună",second:"secundă",selectedDateDescription:e=>`Dată selectată: ${e.date}`,selectedRangeDescription:e=>`Interval selectat: de la ${e.startDate} până la ${e.endDate}`,selectedTimeDescription:e=>`Ora selectată: ${e.time}`,startDate:"Dată început",timeZoneName:"fus orar",weekday:"ziua din săptămână",year:"an"},"ru-RU":{calendar:"Календарь",day:"день",dayPeriod:"AM/PM",endDate:"Дата окончания",era:"эра",hour:"час",minute:"минута",month:"месяц",second:"секунда",selectedDateDescription:e=>`Выбранная дата: ${e.date}`,selectedRangeDescription:e=>`Выбранный диапазон: с ${e.startDate} по ${e.endDate}`,selectedTimeDescription:e=>
8`Выбранное время: ${e.time}`,startDate:"Дата начала",timeZoneName:"часовой пояс",weekday:"день недели",year:"год"},"sk-SK":{calendar:"Kalendár",day:"deň",dayPeriod:"AM/PM",endDate:"Dátum ukončenia",era:"letopočet",hour:"hodina",minute:"minúta",month:"mesiac",second:"sekunda",selectedDateDescription:e=>`Vybratý dátum: ${e.date}`,selectedRangeDescription:e=>`Vybratý rozsah: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Vybratý čas: ${e.time}`,startDate:"Dátum začatia",timeZoneName:"časové pásmo",weekday:"deň týždňa",year:"rok"},"sl-SI":{calendar:"Koledar",day:"dan",dayPeriod:"dop/pop",endDate:"Datum konca",era:"doba",hour:"ura",minute:"minuta",month:"mesec",second:"sekunda",selectedDateDescription:e=>`Izbrani datum: ${e.date}`,selectedRangeDescription:e=>`Izbrano območje: ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izbrani čas: ${e.time}`,startDate:"Datum začetka",timeZoneName:"časovni pas",weekday:"dan v tednu",year:"leto"},"sr-SP":{calendar:"Kalendar",day:"дан",dayPeriod:"пре подне/по подне",endDate:"Datum završetka",era:"ера",hour:"сат",minute:"минут",month:"месец",second:"секунд",selectedDateDescription:e=>`Izabrani datum: ${e.date}`,selectedRangeDescription:e=>`Izabrani opseg: od ${e.startDate} do ${e.endDate}`,selectedTimeDescription:e=>`Izabrano vreme: ${e.time}`,startDate:"Datum početka",timeZoneName:"временска зона",weekday:"дан у недељи",year:"година"},"sv-SE":{calendar:"Kalender",day:"dag",dayPeriod:"fm/em",endDate:"Slutdatum",era:"era",hour:"timme",minute:"minut",month:"månad",second:"sekund",selectedDateDescription:e=>`Valt datum: ${e.date}`,selectedRangeDescription:e=>`Valt intervall: ${e.startDate} till ${e.endDate}`,selectedTimeDescription:e=>`Vald tid: ${e.time}`,startDate:"Startdatum",timeZoneName:"tidszon",weekday:"veckodag",year:"år"},"tr-TR":{calendar:"Takvim",day:"gün",dayPeriod:"ÖÖ/ÖS",endDate:"Bitiş Tarihi",era:"çağ",hour:"saat",minute:"dakika",month:"ay",second:"saniye",selectedDateDescription:e=>`Seçilen Tarih: ${e.date}`,selectedRangeDescription:e=>`Seçilen Aralık: ${e.startDate} - ${e.endDate}`,selectedTimeDescription:e=>`Seçilen Zaman: ${e.time}`,startDate:"Başlangıç Tarihi",timeZoneName:"saat dilimi",weekday:"haftanın günü",year:"yıl"},"uk-UA":{calendar:"Календар",day:"день",dayPeriod:"дп/пп",endDate:"Дата завершення",era:"ера",hour:"година",minute:"хвилина",month:"місяць",second:"секунда",selectedDateDescription:e=>`Вибрана дата: ${e.date}`,selectedRangeDescription:e=>`Вибраний діапазон: ${e.startDate} — ${e.endDate}`,selectedTimeDescription:e=>`Вибраний час: ${e.time}`,startDate:"Дата початку",timeZoneName:"часовий пояс",weekday:"день тижня",year:"рік"},"zh-CN":{calendar:"日历",day:"日",dayPeriod:"上午/下午",endDate:"结束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`选定的日期:${e.date}`,selectedRangeDescription:e=>`选定的范围:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`选定的时间:${e.time}`,startDate:"开始日期",timeZoneName:"时区",weekday:"工作日",year:"年"},"zh-TW":{calendar:"日曆",day:"日",dayPeriod:"上午/下午",endDate:"結束日期",era:"纪元",hour:"小时",minute:"分钟",month:"月",second:"秒",selectedDateDescription:e=>`選定的日期:${e.date}`,selectedRangeDescription:e=>`選定的範圍:${e.startDate} 至 ${e.endDate}`,selectedTimeDescription:e=>`選定的時間:${e.time}`,startDate:"開始日期",timeZoneName:"时区",weekday:"工作日",year:"年"}}},1817:(e,t,n)=>{"use strict";n.d(t,{Lh:()=>v,KX:()=>y,IZ:()=>w});var r=n(8775),o=n(78),a=n(1882),i=n(1325),s=n(1953),l=n(1718),u=n(9748);var c=n(3136),d=n(630),f=n(4971),p=n(9975),h=n(9786);function m(e){let t=e.validity;return{badInput:t.badInput,customError:t.customError,patternMismatch:t.patternMismatch,rangeOverflow:t.rangeOverflow,rangeUnderflow:t.rangeUnderflow,stepMismatch:t.stepMismatch,tooLong:t.tooLong,tooShort:t.tooShort,typeMismatch:t.typeMismatch,valueMissing:t.valueMissing,valid:t.valid}}var g=n(4392);const v=new WeakMap,y="__role_"+Date.now(),b="__focusManager_"+Date.now();function w(e,t,n){var w;
8let{isInvalid:E,validationErrors:_,validationDetails:S}=t.displayValidation,{labelProps:D,fieldProps:x,descriptionProps:P,errorMessageProps:C}=(0,d.U)({...e,labelElementType:"span",isInvalid:E,errorMessage:e.errorMessage||_}),k=(0,u.useRef)(null),{focusWithinProps:O}=(0,f.L)({...e,onFocusWithin(n){var r;k.current=t.value,null===(r=e.onFocus)||void 0===r||r.call(e,n)},onBlurWithin:n=>{var r;t.confirmPlaceholder(),t.value!==k.current&&t.commitValidation(),null===(r=e.onBlur)||void 0===r||r.call(e,n)},onFocusWithinChange:e.onFocusChange}),R=(0,g.q)((T=r.Z)&&T.__esModule?T.default:T,"@react-aria/datepicker");var T;let $="hour"===t.maxGranularity?"selectedTimeDescription":"selectedDateDescription",I="hour"===t.maxGranularity?"time":"date",M=t.value?R.format($,{[I]:t.formatValue({month:"long"})}):"",A=(0,i.P)(M),N="presentation"===e[y]?x["aria-describedby"]:[A["aria-describedby"],x["aria-describedby"]].filter(Boolean).join(" ")||void 0,j=e[b],L=(0,u.useMemo)((()=>j||(0,a.E7)(n)),[j,n]),F=(0,o.H)(t,n,"presentation"===e[y]);v.set(t,{ariaLabel:e["aria-label"],ariaLabelledBy:[D.id,e["aria-labelledby"]].filter(Boolean).join(" ")||void 0,ariaDescribedBy:N,focusManager:L});let V,U=(0,u.useRef)(e.autoFocus);V="presentation"===e[y]?{role:"presentation"}:(0,s.d)(x,{role:"group","aria-disabled":e.isDisabled||void 0,"aria-describedby":N}),(0,u.useEffect)((()=>{U.current&&L.focusFirst(),U.current=!1}),[L]),function(e,t,n){let r=(0,l.i)((()=>{n&&n(t)}));(0,u.useEffect)((()=>{var t;let n=null==e||null===(t=e.current)||void 0===t?void 0:t.form;return null==n||n.addEventListener("reset",r),()=>{null==n||n.removeEventListener("reset",r)}}),[e,r])}(e.inputRef,t.defaultValue,t.setValue),function(e,t,n){let{validationBehavior:r,focus:o}=e;(0,h.b)((()=>{if("native"===r&&(null==n?void 0:n.current)&&!n.current.disabled){let r=t.realtimeValidation.isInvalid?t.realtimeValidation.validationErrors.join(" ")||"Invalid value.":"";n.current.setCustomValidity(r),n.current.hasAttribute("title")||(n.current.title=""),t.realtimeValidation.isInvalid||t.updateValidation({isInvalid:!(e=n.current).validity.valid,validationDetails:m(e),validationErrors:e.validationMessage?[e.validationMessage]:[]})}var e}));let a=(0,u.useRef)(!1),i=(0,l.i)((()=>{a.current||t.resetValidation()})),s=(0,l.i)((e=>{var r;t.displayValidation.isInvalid||t.commitValidation();let a=null==n||null===(r=n.current)||void 0===r?void 0:r.form;var i;!e.defaultPrevented&&n&&a&&function(e){for(let t=0;t<e.elements.length;t++){let n=e.elements[t];if(!n.validity.valid)return n}return null}(a)===n.current&&(o?o():null===(i=n.current)||void 0===i||i.focus(),(0,p._w)("keyboard")),e.preventDefault()})),c=(0,l.i)((()=>{t.commitValidation()}));(0,u.useEffect)((()=>{let e=null==n?void 0:n.current;if(!e)return;let t=e.form,r=null==t?void 0:t.reset;return t&&(t.reset=()=>{a.current=!window.event||"message"===window.event.type&&window.event.target instanceof MessagePort,null==r||r.call(t),a.current=!1}),e.addEventListener("invalid",s),e.addEventListener("change",c),null==t||t.addEventListener("reset",i),()=>{e.removeEventListener("invalid",s),e.removeEventListener("change",c),null==t||t.removeEventListener("reset",i),t&&(t.reset=r)}}),[n,s,c,i,r])}({...e,focus(){L.focusFirst()}},t,e.inputRef);let Z={type:"hidden",name:e.name,form:e.form,value:(null===(w=t.value)||void 0===w?void 0:w.toString())||"",disabled:e.isDisabled};"native"===e.validationBehavior&&(Z.type="text",Z.hidden=!0,Z.required=e.isRequired,Z.onChange=()=>{});let H=(0,c.z)(e);return{labelProps:{...D,onClick:()=>{L.focusFirst()}},fieldProps:(0,s.d)(H,V,F,O,{onKeyDown(t){e.onKeyDown&&e.onKeyDown(t)},onKeyUp(t){e.onKeyUp&&e.onKeyUp(t)},style:{unicodeBidi:"isolate"}}),inputProps:Z,descriptionProps:P,errorMessageProps:C,isInvalid:E,validationErrors:_,validationDetails:S}}},1685:(e,t,n)=>{"use strict";n.d(t,{k:()=>v});var r=n(8775),o=n(1817),a=n(78),i=n(1882),s=n(8073),l=n(1325),u=n(3136),c=n(1953),d=n(8750),f=n(630),p=n(4971),h=n(4392),m=n(5156),g=n(9748);function v(e,t,n){let v=(0,s.Me)(),y=(0,s.Me)(),b=(0,s.Me)(),w=(0,h.q)((E=r.Z)&&E.__esModule?E.default:E,"@react-aria/datepicker");var E;
8let{isInvalid:_,validationErrors:S,validationDetails:D}=t.displayValidation,{labelProps:x,fieldProps:P,descriptionProps:C,errorMessageProps:k}=(0,f.U)({...e,labelElementType:"span",isInvalid:_,errorMessage:e.errorMessage||S}),O=(0,a.H)(t,n),R=P["aria-labelledby"]||P.id,{locale:T}=(0,m.j)(),$=t.formatValue(T,{month:"long"}),I=$?w.format("selectedDateDescription",{date:$}):"",M=(0,l.P)(I),A=[M["aria-describedby"],P["aria-describedby"]].filter(Boolean).join(" ")||void 0,N=(0,u.z)(e),j=(0,g.useMemo)((()=>(0,i.E7)(n)),[n]),L=(0,g.useRef)(!1),{focusWithinProps:F}=(0,p.L)({...e,isDisabled:t.isOpen,onBlurWithin:t=>{let n=document.getElementById(y);var r,o;(null==n?void 0:n.contains(t.relatedTarget))||(L.current=!1,null===(r=e.onBlur)||void 0===r||r.call(e,t),null===(o=e.onFocusChange)||void 0===o||o.call(e,!1))},onFocusWithin:t=>{var n,r;L.current||(L.current=!0,null===(n=e.onFocus)||void 0===n||n.call(e,t),null===(r=e.onFocusChange)||void 0===r||r.call(e,!0))}});return{groupProps:(0,c.d)(N,O,P,M,F,{role:"group","aria-disabled":e.isDisabled||null,"aria-labelledby":R,"aria-describedby":A,onKeyDown(n){t.isOpen||e.onKeyDown&&e.onKeyDown(n)},onKeyUp(n){t.isOpen||e.onKeyUp&&e.onKeyUp(n)}}),labelProps:{...x,onClick:()=>{j.focusFirst()}},fieldProps:{...P,id:b,[o.KX]:"presentation","aria-describedby":A,value:t.value,defaultValue:t.defaultValue,onChange:t.setValue,placeholderValue:e.placeholderValue,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,granularity:e.granularity,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isRequired:e.isRequired,validationBehavior:e.validationBehavior,[d.tL]:t,autoFocus:e.autoFocus,name:e.name,form:e.form},descriptionProps:C,errorMessageProps:k,buttonProps:{...M,id:v,"aria-haspopup":"dialog","aria-label":w.format("calendar"),"aria-labelledby":`${v} ${R}`,"aria-describedby":A,"aria-expanded":t.isOpen,isDisabled:e.isDisabled||e.isReadOnly,onPress:()=>t.setOpen(!0)},dialogProps:{id:y,"aria-labelledby":`${v} ${R}`},calendarProps:{autoFocus:!0,value:t.dateValue,onChange:t.setDateValue,minValue:e.minValue,maxValue:e.maxValue,isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,isDateUnavailable:e.isDateUnavailable,defaultFocusedValue:t.dateValue?void 0:e.placeholderValue,isInvalid:t.isInvalid,errorMessage:"function"==typeof e.errorMessage?e.errorMessage(t.displayValidation):e.errorMessage||t.displayValidation.validationErrors.join(" "),firstDayOfWeek:e.firstDayOfWeek,pageBehavior:e.pageBehavior},isInvalid:_,validationErrors:S,validationDetails:D}}},78:(e,t,n)=>{"use strict";n.d(t,{H:()=>l});var r=n(1882),o=n(1953),a=n(5156),i=n(9748),s=n(1932);function l(e,t,n){let{direction:l}=(0,a.j)(),c=(0,i.useMemo)((()=>(0,r.E7)(t)),[t]),d=()=>{var e;if(!t.current)return;let n=null===(e=window.event)||void 0===e?void 0:e.target,o=(0,r.QL)(t.current,{tabbable:!0});if(n&&(o.currentNode=n,n=o.previousNode()),!n){let e;do{e=o.lastChild(),e&&(n=e)}while(e)}for(;null==n?void 0:n.hasAttribute("data-placeholder");){let e=o.previousNode();if(!e||!e.hasAttribute("data-placeholder"))break;n=e}n&&n.focus()},{pressProps:f}=(0,s.r)({preventFocusOnPress:!0,allowTextSelectionOnPress:!0,onPressStart(e){"mouse"===e.pointerType&&d()},onPress(e){"touch"!==e.pointerType&&"pen"!==e.pointerType||d()}});return(0,o.d)(f,{onKeyDown:r=>{if(r.currentTarget.contains(r.target)&&(r.altKey&&("ArrowDown"===r.key||"ArrowUp"===r.key)&&"setOpen"in e&&(r.preventDefault(),r.stopPropagation(),e.setOpen(!0)),!n))switch(r.key){case"ArrowLeft":if(r.preventDefault(),r.stopPropagation(),"rtl"===l){if(t.current){let e=r.target,n=u(t.current,e.getBoundingClientRect().left,-1);n&&n.focus()}}else c.focusPrevious();break;case"ArrowRight":if(r.preventDefault(),r.stopPropagation(),"rtl"===l){if(t.current){let e=r.target,n=u(t.current,e.getBoundingClientRect().left,1);n&&n.focus()}}else c.focusNext()}}})}function u(e,t,n){let o=(0,r.QL)(e,{tabbable:!0}),a=o.nextNode(),i=null,s=1/0;for(;a;){let e=a.getBoundingClientRect().left-t,r=Math.abs(e);Math.sign(e)===n&&r<s&&(i=a,s=r),a=o.nextNode()}return i}},928:(e,t,n)=>{"use strict";n.d(t,{O:()=>Z});var r=n(1817),o=n(8775),a=n(5156),i=n(4392),s=n(9748);class l{of(e){return this.dictionary.getStringForLocale(e,this.locale)}constructor(e,t){this.locale=e,this.dictionary=t}}var u=n(8438),c=n(1602),d=n(8806),f=n(2064),p=n(9665),h=n(1718);function m(e,t,n,r){let o=(0,h.i)(n),a=null==n;(0,s.useEffect)((()=>
8{if(a||!e.current)return;let n=e.current;return n.addEventListener(t,o,r),()=>{n.removeEventListener(t,o,r)}}),[e,t,r,a,o])}var g=n(9786),v=n(8073),y=n(9955),b=n(1953);let w=new Map,E=!1;try{E="exceptZero"===new Intl.NumberFormat("de-DE",{signDisplay:"exceptZero"}).resolvedOptions().signDisplay}catch{}let _=!1;try{_="unit"===new Intl.NumberFormat("de-DE",{style:"unit",unit:"degree"}).resolvedOptions().style}catch{}const S={degree:{narrow:{default:"°","ja-JP":" 度","zh-TW":"度","sl-SI":" °"}}};class D{format(e){let t="";if(t=E||null==this.options.signDisplay?this.numberFormatter.format(e):function(e,t,n){if("auto"===t)return e.format(n);if("never"===t)return e.format(Math.abs(n));{let r=!1;if("always"===t?r=n>0||Object.is(n,0):"exceptZero"===t&&(Object.is(n,-0)||Object.is(n,0)?n=Math.abs(n):r=n>0),r){let t=e.format(-n),r=e.format(n),o=t.replace(r,"").replace(/\u200e|\u061C/,"");return 1!==[...o].length&&console.warn("@react-aria/i18n polyfill for NumberFormat signDisplay: Unsupported case"),t.replace(r,"!!!").replace(o,"+").replace("!!!",r)}return e.format(n)}}(this.numberFormatter,this.options.signDisplay,e),"unit"===this.options.style&&!_){var n;let{unit:e,unitDisplay:r="short",locale:o}=this.resolvedOptions();if(!e)return t;let a=null===(n=S[e])||void 0===n?void 0:n[r];t+=a[o]||a.default}return t}formatToParts(e){return this.numberFormatter.formatToParts(e)}formatRange(e,t){if("function"==typeof this.numberFormatter.formatRange)return this.numberFormatter.formatRange(e,t);if(t<e)throw new RangeError("End date must be >= start date");return`${this.format(e)} – ${this.format(t)}`}formatRangeToParts(e,t){if("function"==typeof this.numberFormatter.formatRangeToParts)return this.numberFormatter.formatRangeToParts(e,t);if(t<e)throw new RangeError("End date must be >= start date");let n=this.numberFormatter.formatToParts(e),r=this.numberFormatter.formatToParts(t);return[...n.map((e=>({...e,source:"startRange"}))),{type:"literal",value:" – ",source:"shared"},...r.map((e=>({...e,source:"endRange"})))]}resolvedOptions(){let e=this.numberFormatter.resolvedOptions();return E||null==this.options.signDisplay||(e={...e,signDisplay:this.options.signDisplay}),_||"unit"!==this.options.style||(e={...e,style:"unit",unit:this.options.unit,unitDisplay:this.options.unitDisplay}),e}constructor(e,t={}){this.numberFormatter=function(e,t={}){let{numberingSystem:n}=t;if(n&&e.includes("-nu-")&&(e.includes("-u-")||(e+="-u-"),e+=`-nu-${n}`),"unit"===t.style&&!_){var r;let{unit:e,unitDisplay:n="short"}=t;if(!e)throw new Error('unit option must be provided with style: "unit"');if(!(null===(r=S[e])||void 0===r?void 0:r[n]))throw new Error(`Unsupported unit ${e} with unitDisplay = ${n}`);t={...t,style:"decimal"}}let o=e+(t?Object.entries(t).sort(((e,t)=>e[0]<t[0]?-1:1)).join():"");if(w.has(o))return w.get(o);let a=new Intl.NumberFormat(e,t);return w.set(o,a),a}(e,t),this.options=t}}const x=new RegExp("^.*\\(.*\\).*$"),P=["latn","arab","hanidec","deva","beng","fullwide"];class C{parse(e){return O(this.locale,this.options,e).parse(e)}isValidPartialNumber(e,t,n){return O(this.locale,this.options,e).isValidPartialNumber(e,t,n)}getNumberingSystem(e){return O(this.locale,this.options,e).options.numberingSystem}constructor(e,t={}){this.locale=e,this.options=t}}const k=new Map;function O(e,t,n){let r=R(e,t);if(!e.includes("-nu-")&&!r.isValidPartialNumber(n))for(let o of P)if(o!==r.options.numberingSystem){let r=R(e+(e.includes("-u-")?"-nu-":"-u-nu-")+o,t);if(r.isValidPartialNumber(n))return r}return r}function R(e,t){let n=e+(t?Object.entries(t).sort(((e,t)=>e[0]<t[0]?-1:1)).join():""),r=k.get(n);return r||(r=new T(e,t),k.set(n,r)),r}class T{parse(e){let t=this.sanitize(e);if(this.symbols.group&&(t=M(t,this.symbols.group,"")),this.symbols.decimal&&(t=t.replace(this.symbols.decimal,".")),this.symbols.minusSign&&(t=t.replace(this.symbols.minusSign,"-")),t=t.replace(this.symbols.numeral,this.symbols.index),"percent"===this.options.style){let e=t.indexOf("-");t=t.replace("-",""),t=t.replace("+","");let n=t.indexOf(".");-1===n&&(n=t.length),t=t.replace(".",""),t=n-2==0?`0.${t}`:n-2==-1?`0.0${t}`:n-2==-2?"0.00":`${t.slice(0,n-2)}.${t.slice(n-2)}`,e>-1&&(t=`-${t}`)}let n=t?+t:NaN;if(isNaN(n))return NaN;if("percent"===this.options.style){var r,o;let e={...this.options,style:"decimal",minimumFractionDigits:Math.min((null!==(r=this.options.minimumFractionDigits)&&void 0!==r?r:0)+2,20),maximumFractionDigits:Math.min((null!==(o=this.options.maximumFractionDigits)&&void 0!==o?o:0)+2,20)};return new C(this.locale,e).parse(new D(this.locale,e).format(n))}return"accounting"===this.options.currencySign&&x.test(e)&&(n*=-1),n}sanitize(e){return e=e.replace(this.symbols.literals,""),this.symbols.minusSign&&(e=e.replace("-",this.symbols.minusSign)),"arab"===this.options.numberingSystem&&(this.symbols.decimal&&(e=(e=e.replace(",",this.symbols.decimal)).replace(String.fromCharCode(1548),this.symbols.decimal)),this.symbols.group&&(e=M(e,".",this.symbols.group))),"’"===this.symbols.group&&e.includes("'")&&(e=M(e,"'",this.symbols.group)),"fr-FR"===this.options.locale&&this.symbols.group&&(e=M(e," ",this.symbols.group),e=M(e,/\u00A0/g,this.symbols.group)),e}isValidPartialNumber(e,t=-1/0,n=1/0){return e=this.sanitize(e),this.symbols.minusSign&&e.startsWith(this.symbols.minusSign)&&t<0?e=e.slice(this.symbols.minusSign.length):this.symbols.plusSign&&e.startsWith(this.symbols.plusSign)&&n>0&&(e=e.slice(this.symbols.plusSign.length)),!(this.symbols.group&&e.startsWith(this.symbols.group)||this.symbols.decimal&&e.indexOf(this.symbols.decimal)>-1&&0===this.options.maximumFractionDigits||(this.symbols.group&&(e=M(e,this.symbols.group,"")),e=e.replace(this.symbols.numeral,""),this.symbols.decimal&&(e=e.replace(this.symbols.decimal,"")),0!==e.length))}constructor(e,t={}){var n,r;this.locale=e,1!==t.roundingIncrement&&null!=t.roundingIncrement&&(null==t.maximumFractionDigits&&null==t.minimumFractionDigits?(t.maximumFractionDigits=0,t.minimumFractionDigits=0):null==t.maximumFractionDigits?t.maximumFractionDigits=t.minimumFractionDigits:null==t.minimumFractionDigits&&(t.minimumFractionDigits=t.maximumFractionDigits)),this.formatter=new Intl.NumberFormat(e,t),this.options=this.formatter.resolvedOptions(),this.symbols=function(e,t,n,r){var o,a,i,s;let l=new Intl.NumberFormat(e,{...n,minimumSignificantDigits:1,maximumSignificantDigits:21,roun
8dingIncrement:1,roundingPriority:"auto",roundingMode:"halfExpand"}),u=l.formatToParts(-10000.111),c=l.formatToParts(10000.111),d=I.map((e=>l.formatToParts(e)));var f;let p=null!==(f=null===(o=u.find((e=>"minusSign"===e.type)))||void 0===o?void 0:o.value)&&void 0!==f?f:"-",h=null===(a=c.find((e=>"plusSign"===e.type)))||void 0===a?void 0:a.value;h||"exceptZero"!==(null==r?void 0:r.signDisplay)&&"always"!==(null==r?void 0:r.signDisplay)||(h="+");let m=null===(i=new Intl.NumberFormat(e,{...n,minimumFractionDigits:2,maximumFractionDigits:2}).formatToParts(.001).find((e=>"decimal"===e.type)))||void 0===i?void 0:i.value,g=null===(s=u.find((e=>"group"===e.type)))||void 0===s?void 0:s.value,v=u.filter((e=>!$.has(e.type))).map((e=>A(e.value))),y=d.flatMap((e=>e.filter((e=>!$.has(e.type))).map((e=>A(e.value))))),b=[...new Set([...v,...y])].sort(((e,t)=>t.length-e.length)),w=0===b.length?new RegExp("[\\p{White_Space}]","gu"):new RegExp(`${b.join("|")}|[\\p{White_Space}]`,"gu"),E=[...new Intl.NumberFormat(n.locale,{useGrouping:!1}).format(9876543210)].reverse(),_=new Map(E.map(((e,t)=>[e,t])));return{minusSign:p,plusSign:h,decimal:m,group:g,literals:w,numeral:new RegExp(`[${E.join("")}]`,"g"),index:e=>String(_.get(e))}}(e,this.formatter,this.options,t),"percent"===this.options.style&&((null!==(n=this.options.minimumFractionDigits)&&void 0!==n?n:0)>18||(null!==(r=this.options.maximumFractionDigits)&&void 0!==r?r:0)>18)&&console.warn("NumberParser cannot handle percentages with greater than 18 decimal places, please reduce the number in your options.")}}const $=new Set(["decimal","fraction","integer","minusSign","plusSign","group"]),I=[0,4,2,1,11,20,3,7,100,21,.1,1.1];function M(e,t,n){return e.replaceAll?e.replaceAll(t,n):e.split(t).join(n)}function A(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}var N=n(3209);let j=new Map;function L(e){let t=function(e){let{locale:t}=(0,a.j)(),n=t+(e?Object.entries(e).sort(((e,t)=>e[0]<t[0]?-1:1)).join():"");if(j.has(n))return j.get(n);let r=new Intl.Collator(t,e);return j.set(n,r),r}({usage:"search",...e}),n=(0,s.useCallback)(((e,n)=>0===n.length||(e=e.normalize("NFC"),n=n.normalize("NFC"),0===t.compare(e.slice(0,n.length),n))),[t]),r=(0,s.useCallback)(((e,n)=>0===n.length||(e=e.normalize("NFC"),n=n.normalize("NFC"),0===t.compare(e.slice(-n.length),n))),[t]),o=(0,s.useCallback)(((e,n)=>{if(0===n.length)return!0;e=e.normalize("NFC");let r=0,o=(n=n.normalize("NFC")).length;for(;r+o<=e.length;r++){let a=e.slice(r,r+o);if(0===t.compare(n,a))return!0}return!1}),[t]);return(0,s.useMemo)((()=>({startsWith:n,endsWith:r,contains:o})),[n,r,o])}var F={};F={"ar-AE":{Empty:"فارغ"},"bg-BG":{Empty:"Изпразни"},"cs-CZ":{Empty:"Prázdné"},"da-DK":{Empty:"Tom"},"de-DE":{Empty:"Leer"},"el-GR":{Empty:"Άδειο"},"en-US":{Empty:"Empty"},"es-ES":{Empty:"Vacío"},"et-EE":{Empty:"Tühjenda"},"fi-FI":{Empty:"Tyhjä"},"fr-FR":{Empty:"Vide"},"he-IL":{Empty:"ריק"},"hr-HR":{Empty:"Prazno"},"hu-HU":{Empty:"Üres"},"it-IT":{Empty:"Vuoto"},"ja-JP":{Empty:"空"},"ko-KR":{Empty:"비어 있음"},"lt-LT":{Empty:"Tuščias"},"lv-LV":{Empty:"Tukšs"},"nb-NO":{Empty:"Tom"},"nl-NL":{Empty:"Leeg"},"pl-PL":{Empty:"Pusty"},"pt-BR":{Empty:"Vazio"},"pt-PT":{Empty:"Vazio"},"ro-RO":{Empty:"Gol"},"ru-RU":{Empty:"Не заполнено"},"sk-SK":{Empty:"Prázdne"},"sl-SI":{Empty:"Prazen"},"sr-SP":{Empty:"Prazno"},"sv-SE":{Empty:"Tomt"},"tr-TR":{Empty:"Boş"},"uk-UA":{Empty:"Пусто"},"zh-CN":{Empty:"空"},"zh-TW":{Empty:"空白"}};var V=n(3803),U=n(6116);function Z(e,t,n){let w=(0,s.useRef)(""),{locale:E,direction:_}=(0,a.j)(),S=function(){let{locale:e}=(0,a.j)(),t=(0,i.K)((n=o.Z)&&n.__esModule?n.default:n,"@react-aria/datepicker");var n;return(0,s.useMemo)((()=>{try{return new Intl.DisplayNames(e,{type:"dateTimeField"})}catch{return new l(e,t)}}),[e,t])}(),{ariaLabel:D,ariaLabelledBy:x,ariaDescribedBy:P,focusManager:k}=r.Lh.get(t),O=e.isPlaceholder?"":e.text,R=(0,s.useMemo)((()=>t.dateFormatter.resolvedOptions()),[t.dateFormatter]),T=(0,N.a)({month:"long",timeZone:R.timeZone}),$=(0,N.a)({hour:"numeric",hour12:R.hour12,timeZone:R.timeZone});if("month"!==e.type||e.isPlaceholder)"hour"!==e.type||e.isPlaceholder||(O=$.format(t.dateValue));else{let e=T.format(t.dateValue);O=e!==O?`${O} – ${e}`:e}let{spinButtonProps:I}=function(e){const t=(0,s.useRef)(void 0);let{value:n,textValue:r,minValue:o,maxValue:a,isDisabled:l,isReadOnly:u,isRequired:c,onIncrement:d,onIncrementPage:f,onDecrement:p,onDecrementPage:m,onDecrementToMin:g,onIncrementToMax:v}=e;const y=(0,i.q)((b=F)&&b.__esModule?b.default:b,"@react-aria/spinbutton");var b;const w=()=>clearTimeout(t.current);(0,s.useEffect)((()=>()=>w()),[]);let E=(0,s.useRef)(!1),_=()=>{E.current=!0},S=()=>{E.current=!1},D=""===r?y.format("Empty"):(r||`${n}`).replace("-","−");(0,s.useEffect)((()=>{E.current&&((0,V.gb)("assertive"),(0,V.xQ)(D,"assertive"))}),[D]);const x=(0,h.i)((e=>{w(),null==d||d(),t.current=window.setTimeout((()=>{(void 0===a||isNaN(a)||void 0===n||isNaN(n)||n<a)&&x(60)}),e)})),P=(0,h.i)((e=>{w(),null==p||p(),t.current=window.setTimeout((()=>{(void 0===o||isNaN(o)||void 0===n||isNaN(n)||n>o)&&P(60)}),e)}));let C=e=>{e.preventDefault()},{addGlobalListener:k,removeAllGlobalListeners:O}=(0,U.x)();return{spinButtonProps:{role:"spinbutton","aria-valuenow":void 0===n||isNaN(n)?void 0:n,"aria-valuetext":D,"aria-valuemin":o,"aria-valuemax":a,"aria-disabled":l||void 0,"aria-readonly":u||void 0,"aria-required":c||void 0,onKeyDown:e=>{if(!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey||u||e.nativeEvent.isComposing))switch(e.key){case"PageUp":if(f){e.preventDefault(),null==f||f();break}case"ArrowUp":case"Up":d&&(e.preventDefault(),null==d||d());break;case"PageDown":if(m){e.preventDefault(),null==m||m();break}case"ArrowDown":case"Down":p&&(e.preventDefault(),null==p||p());break;case"Home":g&&(e.preventDefault(),null==g||g());break;case"End":v&&(e.preventDefault(),null==v||v())}},onFocus:_,onBlur:S},incrementButtonProps:{onPressStart:()=>{x(400),k(window,"contextmenu",C)},onPressEnd:()=>{w(),O()},onFocus:_,onBlur:S},decrementButtonProps:{onPressStart:()=>{P(400),k(window,"contextmenu",C)},onPressEnd:()=>{w(),O()},onFocus:_,onBlur:S}}}({value:e.value,textValue:O,minValue:e.minValue,maxValue:e.maxValue,isDisabled:t.isDisabled,isReadOnly:t.isReadOnly||!e.isEditable,isRequired:t.isRequired,onIncrement:()=>{w.current="",t.increment(e.type)},onDecrement:()=>
8{w.current="",t.decrement(e.type)},onIncrementPage:()=>{w.current="",t.incrementPage(e.type)},onDecrementPage:()=>{w.current="",t.decrementPage(e.type)},onIncrementToMax:()=>{w.current="",void 0!==e.maxValue&&t.setSegment(e.type,e.maxValue)},onDecrementToMin:()=>{w.current="",void 0!==e.minValue&&t.setSegment(e.type,e.minValue)}}),M=(0,s.useMemo)((()=>new C(E,{maximumFractionDigits:0})),[E]),A=()=>{if(e.text===e.placeholder&&k.focusPrevious(),!M.isValidPartialNumber(e.text)||t.isReadOnly||e.isPlaceholder)"dayPeriod"===e.type&&t.clearSegment(e.type);else{let n=e.text.slice(0,-1),r=M.parse(n);n=0===r?"":n,0===n.length||0===r?t.clearSegment(e.type):t.setSegment(e.type,r),w.current=n}},{startsWith:j}=L({sensitivity:"base"}),Z=(0,N.a)({hour:"numeric",hour12:!0}),H=(0,s.useMemo)((()=>{let e=new Date;return e.setHours(0),Z.formatToParts(e).find((e=>"dayPeriod"===e.type)).value}),[Z]),B=(0,s.useMemo)((()=>{let e=new Date;return e.setHours(12),Z.formatToParts(e).find((e=>"dayPeriod"===e.type)).value}),[Z]),z=(0,N.a)({year:"numeric",era:"narrow",timeZone:"UTC"}),W=(0,s.useMemo)((()=>{if("era"!==e.type)return[];let n=(0,u.Mw)(new(0,c.aw)(1,1,1),t.calendar),r=t.calendar.getEras().map((e=>{let t=n.set({year:1,month:1,day:1,era:e}).toDate("UTC");return{era:e,formatted:z.formatToParts(t).find((e=>"era"===e.type)).value}})),o=function(e){e.sort();let t=e[0],n=e[e.length-1];for(let e=0;e<t.length;e++)if(t[e]!==n[e])return e;return 0}(r.map((e=>e.formatted)));if(o)for(let e of r)e.formatted=e.formatted.slice(o);return r}),[z,t.calendar,e.type]),K=n=>{if(t.isDisabled||t.isReadOnly)return;let r=w.current+n;switch(e.type){case"dayPeriod":if(j(H,n))t.setSegment("dayPeriod",0);else{if(!j(B,n))break;t.setSegment("dayPeriod",12)}k.focusNext();break;case"era":{let e=W.find((e=>j(e.formatted,n)));e&&(t.setSegment("era",e.era),k.focusNext());break}case"day":case"hour":case"minute":case"second":case"month":case"year":{if(!M.isValidPartialNumber(r))return;let o=M.parse(r),a=o,i=0===e.minValue;if("hour"===e.type&&t.dateFormatter.resolvedOptions().hour12){switch(t.dateFormatter.resolvedOptions().hourCycle){case"h11":o>11&&(a=M.parse(n));break;case"h12":i=!1,o>12&&(a=M.parse(n))}void 0!==e.value&&e.value>=12&&o>1&&(o+=12)}else void 0!==e.maxValue&&o>e.maxValue&&(a=M.parse(n));if(isNaN(o))return;let s=0!==a||i;s&&t.setSegment(e.type,a),void 0!==e.maxValue&&(Number(o+"0")>e.maxValue||r.length>=String(e.maxValue).length)?(w.current="",s&&k.focusNext()):w.current=r;break}}};m((0,s.useRef)("undefined"!=typeof document?document:null),"selectionchange",(()=>{var e;let t=window.getSelection();(null==t?void 0:t.anchorNode)&&(null===(e=n.current)||void 0===e?void 0:e.contains(null==t?void 0:t.anchorNode))&&t.collapse(n.current)}));let q=(0,s.useRef)("");m(n,"beforeinput",(r=>{if(n.current)switch(r.preventDefault(),r.inputType){case"deleteContentBackward":case"deleteContentForward":M.isValidPartialNumber(e.text)&&!t.isReadOnly&&A();break;case"insertCompositionText":q.current=n.current.textContent,n.current.textContent=n.current.textContent;break;default:null!=r.data&&K(r.data)}})),m(n,"input",(e=>{let{inputType:t,data:r}=e;"insertCompositionText"===t&&(n.current&&(n.current.textContent=q.current),null!=r&&(j(H,r)||j(B,r))&&K(r))})),(0,g.b)((()=>{let e=n.current;return()=>{document.activeElement===e&&(k.focusPrevious()||k.focusNext())}}),[n,k]);let Y=(0,d.gn)()||"timeZoneName"===e.type?{role:"textbox","aria-valuemax":null,"aria-valuemin":null,"aria-valuetext":null,"aria-valuenow":null}:{},G=(0,s.useMemo)((()=>t.segments.find((e=>e.isEditable))),[t.segments]);e===G||t.isInvalid||(P=void 0);let J=(0,v.Me)(),Q=!t.isDisabled&&!t.isReadOnly&&e.isEditable,X="literal"
8===e.type?"":S.of(e.type),ee=(0,y.b)({"aria-label":`${X}${D?`, ${D}`:""}${x?", ":""}`,"aria-labelledby":x});if("literal"===e.type)return{segmentProps:{"aria-hidden":!0}};let te={caretColor:"transparent"};if("rtl"===_){te.unicodeBidi="embed";let t=R[e.type];"numeric"!==t&&"2-digit"!==t||(te.direction="ltr")}return{segmentProps:(0,b.d)(I,ee,{id:J,...Y,"aria-invalid":t.isInvalid?"true":void 0,"aria-describedby":P,"aria-readonly":t.isReadOnly||!e.isEditable?"true":void 0,"data-placeholder":e.isPlaceholder||void 0,contentEditable:Q,suppressContentEditableWarning:Q,spellCheck:Q?"false":void 0,autoCorrect:Q?"off":void 0,[parseInt(s.default.version,10)>=17?"enterKeyHint":"enterkeyhint"]:Q?"next":void 0,inputMode:t.isDisabled||"dayPeriod"===e.type||"era"===e.type||!Q?void 0:"numeric",tabIndex:t.isDisabled?void 0:0,onKeyDown:e=>{if("a"===e.key&&((0,d.V5)()?e.metaKey:e.ctrlKey)&&e.preventDefault(),!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey))switch(e.key){case"Backspace":case"Delete":e.preventDefault(),e.stopPropagation(),A()}},onFocus:()=>{w.current="",n.current&&(0,f.G)(n.current,{containingElement:(0,p.r)(n.current)});let e=window.getSelection();null==e||e.collapse(n.current)},style:te,onPointerDown(e){e.stopPropagation()},onMouseDown(e){e.stopPropagation()}})}}},619:(e,t,n)=>{"use strict";n.d(t,{R:()=>l});var r=n(8073),o=n(3136),a=n(945),i=n(9748),s=n(7740);function l(e,t){let{role:n="dialog"}=e,l=(0,r.mp)();l=e["aria-label"]?void 0:l;let u=(0,i.useRef)(!1);return(0,i.useEffect)((()=>{if(t.current&&!t.current.contains(document.activeElement)){(0,a.e)(t.current);let e=setTimeout((()=>{document.activeElement===t.current&&(u.current=!0,t.current&&(t.current.blur(),(0,a.e)(t.current)),u.current=!1)}),500);return()=>{clearTimeout(e)}}}),[t]),(0,s.Bq)(),{dialogProps:{...(0,o.z)(e,{labelable:!0}),role:n,tabIndex:-1,"aria-labelledby":e["aria-labelledby"]||l,onBlur:e=>{u.current&&e.stopPropagation()}},titleProps:{id:l}}}},1882:(e,t,n)=>{"use strict";n.d(t,{MT:()=>g,E7:()=>R,QL:()=>O,cW:()=>_});var r=n(9786),o=n(8745),a=n(8837),i=n(8806),s=n(3125),l=n(8518);class u{get currentNode(){return this._currentNode}set currentNode(e){if(!(0,o.bE)(this.root,e))throw new Error("Cannot set currentNode to a node that is not contained by the root node.");const t=[];let n=e,r=e;for(this._currentNode=e;n&&n!==this.root;)if(n.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const e=n,o=this._doc.createTreeWalker(e,this.whatToShow,{acceptNode:this._acceptNode});t.push(o),o.currentNode=r,this._currentSetFor.add(o),n=r=e.host}else n=n.parentNode;const a=this._doc.createTreeWalker(this.root,this.whatToShow,{acceptNode:this._acceptNode});t.push(a),a.currentNode=r,this._currentSetFor.add(a),this._walkerStack=t}get doc(){return this._doc}firstChild(){let e=this.currentNode,t=this.nextNode();return(0,o.bE)(e,t)?(t&&(this.currentNode=t),t):(this.currentNode=e,null)}lastChild(){let e=this._walkerStack[0].lastChild();return e&&(this.currentNode=e),e}nextNode(){const e=this._walkerStack[0].nextNode();if(e){if(e.shadowRoot){var t;let n;if("function"==typeof this.filter?n=this.filter(e):(null===(t=this.filter)||void 0===t?void 0:t.acceptNode)&&(n=this.filter.acceptNode(e)),n===NodeFilter.FILTER_ACCEPT)return this.currentNode=e,e;let r=this.nextNode();return r&&(this.currentNode=r),r}return e&&(this.currentNode=e),e}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.nextNode();return e&&(this.currentNode=e),e}return null}previousNode(){const e=this._walkerStack[0];if(e.currentNode===e.root){if(this._currentSetFor.has(e)){if(this._currentSetFor.delete(e),this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}return null}const t=e.previousNode();if(t){if(t.shadowRoot){var n;let e;if("function"==typeof this.filter?e=this.filter(t):(null===(n=this.filter)||void 0===n?void 0:n.acceptNode)&&(e=this.filter.acceptNode(t)),e===NodeFilter.FILTER_ACCEPT)return t&&(this.currentNode=t),t;let r=this.lastChild();return r&&(this.currentNode=r),r}return t&&(this.currentNode=t),t}if(this._walkerStack.length>1){this._walkerStack.shift();let e=this.previousNode();return e&&(this.currentNode=e),e}return null}nextSibling(){return null}previousSibling(){return null}parentNode(){return null}constructor(e,t,n,r){this._walkerStack=[],this._currentSetFor=new Set,this._acceptNode=e=>{if(e.nodeType===Node.ELEMENT_NODE){const n=e.shadowRoot;if(n){const e=this._doc.createTreeWalker(n,this.whatToShow,{acceptNode:this._acceptNode});return this._walkerStack.unshift(e),NodeFilter.FILTER_ACCEPT}var t;if("function"==typeof this.filter)return this.filter(e);if(null===(t=this.filter)||void 0===t?void 0:t.acceptNode)return this.filter.acceptNode(e);if(null===this.filter)return NodeFilter.FILTER_ACCEPT}return NodeFilter.FILTER_SKIP},this._doc=e,this.root=t,this.filter=null!=r?r:null,this.whatToShow=null!=n?n:NodeFilter.SHOW_ALL,this._currentNode=t,this._walkerStack.unshift(e.createTreeWalker(t,n,this._acceptNode));const o=t.shadowRoot;if(o){const e=this._doc.createTreeWalker(o,this.whatToShow,{acceptNode:this._acceptNode});this._walkerStack.unshift(e)}}}var c=n(9975),d=n(945),f=n(9748);const p=f.default.createContext(null),h="react-aria-focus-scope-restore";let m=null;function g(e){let{children:t,contain:n,restoreFocus:s,autoFocus:l}=e,u=(0,f.useRef)(null),d=(0,f.useRef)(null),g=(0,f.useRef)([]),{parentNode:_}=(0,f.useContext)(p)||{},R=(0,f.useMemo)((()=>new I({scopeRef:g})),[g]);(0,r.b)((()=>{let e=_||M.root;if(M.getTreeNode(e.scopeRef)&&m&&!S(m,e.scopeRef)){let t=M.getTreeNode(m);t&&(e=t)}e.addChild(R),M.addNode(R)}),[R,_]),(0,r.b)((()=>{let e=M.getTreeNode(g);e&&(e.contain=!!n)}),[n]),(0,r.b)((()=>{var e;let t=null===(e=u.current)||void 0===e?void 0:e.nextSibling,n=[],r=e=>e.stopPropagation();for(;t&&t!==d.current;)n.push(t),t.addEventListener(h,r),t=t.nextSibling;return g.current=n,()=>{for(let e of n)e.removeEventListener(h,r)}}),[t]),function(e,t,n){(0,r.b)((()=>
8{if(t||n)return;let r=e.current;const i=(0,a.r3)(r?r[0]:void 0);let s=t=>{let n=(0,o.NI)(t);w(n,e.current)?m=e:b(n)||(m=null)};return i.addEventListener("focusin",s,!1),null==r||r.forEach((e=>e.addEventListener("focusin",s,!1))),()=>{i.removeEventListener("focusin",s,!1),null==r||r.forEach((e=>e.removeEventListener("focusin",s,!1)))}}),[e,t,n])}(g,s,n),function(e,t){let n=(0,f.useRef)(void 0),s=(0,f.useRef)(void 0);(0,r.b)((()=>{let r=e.current;if(!t)return void(s.current&&(cancelAnimationFrame(s.current),s.current=void 0));const l=(0,a.r3)(r?r[0]:void 0);let u=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y(e)||t.isComposing)return;let n=(0,o.vY)(l),r=e.current;if(!r||!w(n,r))return;let a=O(v(r),{tabbable:!0},r);if(!n)return;a.currentNode=n;let i=t.shiftKey?a.previousNode():a.nextNode();i||(a.currentNode=t.shiftKey?r[r.length-1].nextElementSibling:r[0].previousElementSibling,i=t.shiftKey?a.previousNode():a.nextNode()),t.preventDefault(),i&&D(i,!0)},d=t=>{m&&!S(m,e)||!w((0,o.NI)(t),e.current)?y(e)&&!E((0,o.NI)(t),e)?n.current?n.current.focus():m&&m.current&&P(m.current):y(e)&&(n.current=(0,o.NI)(t)):(m=e,n.current=(0,o.NI)(t))},f=t=>{s.current&&cancelAnimationFrame(s.current),s.current=requestAnimationFrame((()=>{let r=(0,c.Jz)(),a=("virtual"===r||null===r)&&(0,i.Dt)()&&(0,i.i7)(),s=(0,o.vY)(l);if(!a&&s&&y(e)&&!E(s,e)){m=e;let r=(0,o.NI)(t);var u;r&&r.isConnected?(n.current=r,null===(u=n.current)||void 0===u||u.focus()):m.current&&P(m.current)}}))};return l.addEventListener("keydown",u,!1),l.addEventListener("focusin",d,!1),null==r||r.forEach((e=>e.addEventListener("focusin",d,!1))),null==r||r.forEach((e=>e.addEventListener("focusout",f,!1))),()=>{l.removeEventListener("keydown",u,!1),l.removeEventListener("focusin",d,!1),null==r||r.forEach((e=>e.removeEventListener("focusin",d,!1))),null==r||r.forEach((e=>e.removeEventListener("focusout",f,!1)))}}),[e,t]),(0,r.b)((()=>()=>{s.current&&cancelAnimationFrame(s.current)}),[s])}(g,n),function(e,t,n){const i=(0,f.useRef)("undefined"!=typeof document?(0,o.vY)((0,a.r3)(e.current?e.current[0]:void 0)):null);(0,r.b)((()=>{let r=e.current;const i=(0,a.r3)(r?r[0]:void 0);if(!t||n)return;let s=()=>{m&&!S(m,e)||!w((0,o.vY)(i),e.current)||(m=e)};return i.addEventListener("focusin",s,!1),null==r||r.forEach((e=>e.addEventListener("focusin",s,!1))),()=>{i.removeEventListener("focusin",s,!1),null==r||r.forEach((e=>e.removeEventListener("focusin",s,!1)))}}),[e,n]),(0,r.b)((()=>{const r=(0,a.r3)(e.current?e.current[0]:void 0);if(!t)return;let o=t=>{if("Tab"!==t.key||t.altKey||t.ctrlKey||t.metaKey||!y(e)||t.isComposing)return;let n=r.activeElement;if(!E(n,e)||!C(e))return;let o=M.getTreeNode(e);if(!o)return;let a=o.nodeToRestore,i=O(r.body,{tabbable:!0});i.currentNode=n;let s=t.shiftKey?i.previousNode():i.nextNode();if(a&&a.isConnected&&a!==r.body||(a=void 0,o.nodeToRestore=void 0),(!s||!E(s,e))&&a){i.currentNode=a;do{s=t.shiftKey?i.previousNode():i.nextNode()}while(E(s,e));t.preventDefault(),t.stopPropagation(),s?D(s,!0):b(a)?D(a,!0):n.blur()}};return n||r.addEventListener("keydown",o,!0),()=>{n||r.removeEventListener("keydown",o,!0)}}),[e,t,n]),(0,r.b)((()=>{const n=(0,a.r3)(e.current?e.current[0]:void 0);if(!t)return;let r=M.getTreeNode(e);var s;return r?(r.nodeToRestore=null!==(s=i.current)&&void 0!==s?s:void 0,()=>{let r=M.getTreeNode(e);if(!r)return;let a=r.nodeToRestore,i=(0,o.vY)(n);if(t&&a&&(i&&E(i,e)||i===n.body&&C(e))){let t=M.clone();requestAnimationFrame((()=>{if(n.activeElement===n.body){let n=t.getTreeNode(e);for(;n;){if(n.nodeToRestore&&n.nodeToRestore.isConnected)return void k(n.nodeToRestore);n=n.parent}for(n=t.getTreeNode(e);n;){if(n.scopeRef&&n.scopeRef.current&&M.getTreeNode(n.scopeRef))return void k(x(n.scopeRef.current,!0));n=n.parent}}}))}}):void 0}),[e,t])}(g,s,n),function(e,t){const n=f.default.useRef(t);(0,f.useEffect)((()=>{if(n.current){m=e;const t=(0,a.r3)(e.current?e.current[0]:void 0);!w((0,o.vY)(t),m.current)&&e.current&&P(e.current)}n.current=!1}),[e])}(g,l),(0,f.useEffect)((()=>{const e=(0,o.vY)((0,a.r3)(g.current?g.current[0]:void 0));let t=null;if(w(e,g.current)){for(let n of M.traverse())n.scopeRef&&w(e,n.scopeRef.current)&&(t=n);t===M.getTreeNode(g)&&(m=t.scopeRef)}}),[g]),(0,r.b)((()=>()=>{var e,t,n;let r=null!==(n=null===(t=M.getTreeNode(g))||void 0===t||null===(e=t.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null;g!==m&&!S(g,m)||r&&!M.getTreeNode(r)||(m=r),M.removeTreeNode(g)}),[g]);let T=(0,f.useMemo)((()=>function(e){return{focusNext(t={}){let n=e.current,{from:r,tabbable:i,wrap:s,accept:l}=t;var u;
8let c=r||(0,o.vY)((0,a.r3)(null!==(u=n[0])&&void 0!==u?u:void 0)),d=n[0].previousElementSibling,f=O(v(n),{tabbable:i,accept:l},n);f.currentNode=w(c,n)?c:d;let p=f.nextNode();return!p&&s&&(f.currentNode=d,p=f.nextNode()),p&&D(p,!0),p},focusPrevious(t={}){let n=e.current,{from:r,tabbable:i,wrap:s,accept:l}=t;var u;let c=r||(0,o.vY)((0,a.r3)(null!==(u=n[0])&&void 0!==u?u:void 0)),d=n[n.length-1].nextElementSibling,f=O(v(n),{tabbable:i,accept:l},n);f.currentNode=w(c,n)?c:d;let p=f.previousNode();return!p&&s&&(f.currentNode=d,p=f.previousNode()),p&&D(p,!0),p},focusFirst(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=O(v(n),{tabbable:r,accept:o},n);a.currentNode=n[0].previousElementSibling;let i=a.nextNode();return i&&D(i,!0),i},focusLast(t={}){let n=e.current,{tabbable:r,accept:o}=t,a=O(v(n),{tabbable:r,accept:o},n);a.currentNode=n[n.length-1].nextElementSibling;let i=a.previousNode();return i&&D(i,!0),i}}}(g)),[]),$=(0,f.useMemo)((()=>({focusManager:T,parentNode:R})),[R,T]);return f.default.createElement(p.Provider,{value:$},f.default.createElement("span",{"data-focus-scope-start":!0,hidden:!0,ref:u}),t,f.default.createElement("span",{"data-focus-scope-end":!0,hidden:!0,ref:d}))}function v(e){return e[0].parentElement}function y(e){let t=M.getTreeNode(m);for(;t&&t.scopeRef!==e;){if(t.contain)return!1;t=t.parent}return!0}function b(e){return E(e)}function w(e,t){return!!e&&!!t&&t.some((t=>t.contains(e)))}function E(e,t=null){if(e instanceof Element&&e.closest("[data-react-aria-top-layer]"))return!0;for(let{scopeRef:n}of M.traverse(M.getTreeNode(t)))if(n&&w(e,n.current))return!0;return!1}function _(e){return E(e,m)}function S(e,t){var n;let r=null===(n=M.getTreeNode(t))||void 0===n?void 0:n.parent;for(;r;){if(r.scopeRef===e)return!0;r=r.parent}return!1}function D(e,t=!1){if(null==e||t){if(null!=e)try{e.focus()}catch{}}else try{(0,d.e)(e)}catch{}}function x(e,t=!0){let n=e[0].previousElementSibling,r=v(e),o=O(r,{tabbable:t},e);o.currentNode=n;let a=o.nextNode();return t&&!a&&(r=v(e),o=O(r,{tabbable:!1},e),o.currentNode=n,a=o.nextNode()),a}function P(e,t=!0){D(x(e,t))}function C(e){let t=M.getTreeNode(m);for(;t&&t.scopeRef!==e;){if(t.nodeToRestore)return!1;t=t.parent}return(null==t?void 0:t.scopeRef)===e}function k(e){e.dispatchEvent(new CustomEvent(h,{bubbles:!0,cancelable:!0}))&&D(e)}function O(e,t,n){let r=(null==t?void 0:t.tabbable)?s.W:s.E,o=(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE?e:null,i=(0,a.r3)(o),c=function(e,t,n,r){return(0,l.Wr)()?new u(e,t,n,r):e.createTreeWalker(t,n,r)}(i,e||i,NodeFilter.SHOW_ELEMENT,{acceptNode(e){var o;if(null==t||null===(o=t.from)||void 0===o?void 0:o.contains(e))return NodeFilter.FILTER_REJECT;if((null==t?void 0:t.tabbable)&&"INPUT"===e.tagName&&"radio"===e.getAttribute("type")){if(!function(e){if(e.checked)return!0;let t=[];if(e.form){var n,r;let o=null===(r=e.form)||void 0===r||null===(n=r.elements)||void 0===n?void 0:n.namedItem(e.name);t=[...null!=o?o:[]]}else t=[...(0,a.r3)(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)].filter((e=>!e.form));return!!t&&!t.some((e=>e.checked))}(e))return NodeFilter.FILTER_REJECT;if("INPUT"===c.currentNode.tagName&&"radio"===c.currentNode.type&&c.currentNode.name===e.name)return NodeFilter.FILTER_REJECT}return!r(e)||n&&!w(e,n)||(null==t?void 0:t.accept)&&!t.accept(e)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}});return(null==t?void 0:t.from)&&(c.currentNode=t.from),c}function R(e,t={}){return{focusNext(n={}){let r=e.current;if(!r)return null;let{from:i,tabbable:s=t.tabbable,wrap:l=t.wrap,accept:u=t.accept}=n,c=i||(0,o.vY)((0,a.r3)(r)),d=O(r,{tabbable:s,accept:u});r.contains(c)&&(d.currentNode=c);let f=d.nextNode();return!f&&l&&(d.currentNode=r,f=d.nextNode()),f&&D(f,!0),f},focusPrevious(n=t){let r=e.current;if(!r)return null;let{from:i,tabbable:s=t.tabbable,wrap:l=t.wrap,accept:u=t.accept}=n,c=i||(0,o.vY)((0,a.r3)(r)),d=O(r,{tabbable:s,accept:u});if(!r.contains(c)){let e=T(d);return e&&D(e,!0),null!=e?e:null}d.currentNode=c;let f=d.previousNode();if(!f&&l){d.currentNode=r;let e=T(d);if(!e)return null;f=e}return f&&D(f,!0),null!=f?f:null},focusFirst(n=t){let r=e.current;if(!r)return null;let{tabbable:o=t.tabbable,accept:a=t.accept}=n,i=O(r,{tabbable:o,accept:a}).nextNode();return i&&D(i,!0),i},focusLast(n=t){let r=e.current;if(!r)return null;let{tabbable:o=t.tabbable,accept:a=t.accept}=n,i=T(O(r,{tabbable:o,accept:a}));return i&&D(i,!0),null!=i?i:null}}}function T(e){let t,n;do{n=e.lastChild(),n&&(t=n)}while(n);return t}class ${get size(){return this.fastMap.size}getTreeNode(e){return this.fastMap.get(e)}addTreeNode(e,t,n){let r=this.fastMap.get(null!=t?t:null);if(!r)return;let o=new I({scopeRef:e});r.addChild(o),o.parent=r,this.fastMap.set(e,o),n&&(o.nodeToRestore=n)}addNode(e){this.fastMap.set(e.scopeRef,e)}removeTreeNode(e){if(null===e)return;let t=this.fastMap.get(e);if(!t)return;let n=t.parent;for(let e of this.traverse())e!==t&&t.nodeToRestore&&e.nodeToRestore&&t.scopeRef&&t.scopeRef.current&&w(e.n
8odeToRestore,t.scopeRef.current)&&(e.nodeToRestore=t.nodeToRestore);let r=t.children;n&&(n.removeChild(t),r.size>0&&r.forEach((e=>n&&n.addChild(e)))),this.fastMap.delete(t.scopeRef)}*traverse(e=this.root){if(null!=e.scopeRef&&(yield e),e.children.size>0)for(let t of e.children)yield*this.traverse(t)}clone(){var e;let t=new $;var n;for(let r of this.traverse())t.addTreeNode(r.scopeRef,null!==(n=null===(e=r.parent)||void 0===e?void 0:e.scopeRef)&&void 0!==n?n:null,r.nodeToRestore);return t}constructor(){this.fastMap=new Map,this.root=new I({scopeRef:null}),this.fastMap.set(null,this.root)}}class I{addChild(e){this.children.add(e),e.parent=this}removeChild(e){this.children.delete(e),e.parent=void 0}constructor(e){this.children=new Set,this.contain=!1,this.scopeRef=e.scopeRef}}let M=new $},5156:(e,t,n)=>{"use strict";n.d(t,{j:()=>h});const r=new Set(["Arab","Syrc","Samr","Mand","Thaa","Mend","Nkoo","Adlm","Rohg","Hebr"]),o=new Set(["ae","ar","arc","bcc","bqi","ckb","dv","fa","glk","he","ku","mzn","nqo","pnb","ps","sd","ug","ur","yi"]);function a(e){if(Intl.Locale){let t=new Intl.Locale(e).maximize(),n="function"==typeof t.getTextInfo?t.getTextInfo():t.textInfo;if(n)return"rtl"===n.direction;if(t.script)return r.has(t.script)}let t=e.split("-")[0];return o.has(t)}var i=n(9748),s=n(7385);const l=Symbol.for("react-aria.i18n.locale");function u(){let e="undefined"!=typeof window&&window[l]||"undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return{locale:e,direction:a(e)?"rtl":"ltr"}}let c=u(),d=new Set;function f(){c=u();for(let e of d)e(c)}const p=i.default.createContext(null);function h(){let e=function(){let e=(0,s.Av)(),[t,n]=(0,i.useState)(c);return(0,i.useEffect)((()=>(0===d.size&&window.addEventListener("languagechange",f),d.add(n),()=>{d.delete(n),0===d.size&&window.removeEventListener("languagechange",f)})),[]),e?{locale:"en-US",direction:"ltr"}:t}();return(0,i.useContext)(p)||e}},3209:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var r=n(5156),o=n(2174),a=n(5700),i=n(9748);function s(e){e=(0,a.v)(null!=e?e:{},l);let{locale:t}=(0,r.j)();return(0,i.useMemo)((()=>new(0,o.C)(t,e)),[t,e])}function l(e,t){if(e===t)return!0;let n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(let r of n)if(t[r]!==e[r])return!1;return!0}},4392:(e,t,n)=>{"use strict";n.d(t,{K:()=>l,q:()=>u});var r=n(5156),o=n(1044),a=n(1839),i=n(9748);const s=new WeakMap;function l(e,t){return t&&o.J.getGlobalDictionaryForPackage(t)||function(e){let t=s.get(e);return t||(t=new(0,o.J)(e),s.set(e,t)),t}(e)}function u(e,t){let{locale:n}=(0,r.j)(),o=l(e,t);return(0,i.useMemo)((()=>new(0,a.E)(n,o)),[n,o])}},4942:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});const r=n(9748).default.createContext({register:()=>{}});r.displayName="PressResponderContext"},945:(e,t,n)=>{"use strict";n.d(t,{e:()=>l});var r=n(9975),o=n(8837),a=n(8745),i=n(5007),s=n(7604);function l(e){const t=(0,o.r3)(e),n=(0,a.vY)(t);if("virtual"===(0,r.Jz)()){let r=n;(0,i.Q)((()=>{(0,a.vY)(t)===r&&e.isConnected&&(0,s.A)(e)}))}else(0,s.A)(e)}},9975:(e,t,n)=>{"use strict";n.d(t,{Jz:()=>w,_w:()=>E});var r=n(4247),o=n(8806),a=n(6301),i=n(8837);n(9748);let s=null,l=new Set,u=new Map,c=!1,d=!1;function f(e,t){for(let n of l)n(e,t)}function p(e){c=!0,function(e){return!(e.metaKey||!(0,o.V5)()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(s="keyboard",f("keyboard",e))}function h(e){s="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(c=!0,f("pointer",e))}function m(e){(0,a.Z)(e)&&(c=!0,s="virtual")}function g(e){e.target!==window&&e.target!==document&&!r.uR&&e.isTrusted&&(c||d||(s="virtual",f("virtual",e)),c=!1,d=!1)}function v(){r.uR||(c=!1,d=!0)}function y(e){if("undefined"==typeof window||"undefined"==typeof document||u.get((0,i.kR)(e)))return;const t=(0,i.kR)(e),n=(0,i.r3)(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){c=!0,r.apply(this,arguments)},n.addEventListener("keydown",p,!0),n.addEventListener("keyup",p,!0),n.addEventListener("click",m,!0),t.addEventListener("focus",g,!0),t.addEventListener("blur",v,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",h,!0),n.addEventListener("pointermove",h,!0),n.addEventListener("pointerup",h,!0)),t.addEventListener("beforeunload",(()=>{b(e)}),{once:!0}),u.set(t,{focus:r})}const b=(e,t)=>{const n=(0,i.kR)(e),r=(0,i.r3)(e);t&&r.removeEventListener("DOMContentLoaded",t),u.has(n)&&(n.HTMLElement.prototype.focu
8s=u.get(n).focus,r.removeEventListener("keydown",p,!0),r.removeEventListener("keyup",p,!0),r.removeEventListener("click",m,!0),n.removeEventListener("focus",g,!0),n.removeEventListener("blur",v,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",h,!0),r.removeEventListener("pointermove",h,!0),r.removeEventListener("pointerup",h,!0)),u.delete(n))};function w(){return s}function E(e){s=e,f(e,null)}"undefined"!=typeof document&&function(e){const t=(0,i.r3)(e);let n;"loading"!==t.readyState?y(e):(n=()=>{y(e)},t.addEventListener("DOMContentLoaded",n))}(),new Set(["checkbox","radio","range","color","file","image","button","submit","reset"])},4971:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var r=n(4247),o=n(9748),a=n(6116),i=n(8837),s=n(8745);function l(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:l,onFocusWithinChange:u}=e,c=(0,o.useRef)({isFocusWithin:!1}),{addGlobalListener:d,removeAllGlobalListeners:f}=(0,a.x)(),p=(0,o.useCallback)((e=>{e.currentTarget.contains(e.target)&&c.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(c.current.isFocusWithin=!1,f(),n&&n(e),u&&u(!1))}),[n,u,c,f]),h=(0,r.d0)(p),m=(0,o.useCallback)((e=>{if(!e.currentTarget.contains(e.target))return;const t=(0,i.r3)(e.target),n=(0,s.vY)(t);if(!c.current.isFocusWithin&&n===(0,s.NI)(e.nativeEvent)){l&&l(e),u&&u(!0),c.current.isFocusWithin=!0,h(e);let n=e.currentTarget;d(t,"focus",(e=>{if(c.current.isFocusWithin&&!(0,s.bE)(n,e.target)){let o=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});(0,r.nh)(o,n);let a=(0,r.yA)(o);p(a)}}),{capture:!0})}}),[l,u,h,d,p]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:m,onBlur:p}}}},1932:(e,t,n)=>{"use strict";n.d(t,{r:()=>R});var r=n(4247),o=n(8806),a=n(8837),i=n(5007);let s="default",l="",u=new WeakMap;function c(e){if((0,o.gn)()){if("disabled"!==s)return;s="restoring",setTimeout((()=>{(0,i.Q)((()=>{if("restoring"===s){const t=(0,a.r3)(e);"none"===t.documentElement.style.webkitUserSelect&&(t.documentElement.style.webkitUserSelect=l||""),l="",s="default"}}))}),300)}else if((e instanceof HTMLElement||e instanceof SVGElement)&&e&&u.has(e)){let t=u.get(e),n="userSelect"in e.style?"userSelect":"webkitUserSelect";"none"===e.style[n]&&(e.style[n]=t),""===e.getAttribute("style")&&e.removeAttribute("style"),u.delete(e)}}var d=n(4942);function f(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var p=n(1076);function h(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,f(e,t,"set"),n),n}var m=n(1953),g=n(2970),v=n(6116),y=n(1718),b=n(8745),w=n(1086),E=n(7604),_=n(9748);function S(e,t,n=!0){var r,a;let{metaKey:i,ctrlKey:s,altKey:l,shiftKey:u}=t;(0,o.vU)()&&(null===(a=window.event)||void 0===a||null===(r=a.type)||void 0===r?void 0:r.startsWith("key"))&&"_blank"===e.target&&((0,o.V5)()?i=!0:s=!0);let c=(0,o.Pf)()&&(0,o.V5)()&&!(0,o.zc)()?new KeyboardEvent("keydown",{keyIdentifier:"Enter",metaKey:i,ctrlKey:s,altKey:l,shiftKey:u}):new MouseEvent("click",{metaKey:i,ctrlKey:s,altKey:l,shiftKey:u,bubbles:!0,cancelable:!0});S.isOpening=n,(0,E.A)(e),e.dispatchEvent(c),S.isOpening=!1}S.isOpening=!1;var D=n(6301),x=new WeakMap;class P{continuePropagation(){h(this,x,!1)}get shouldStopPropagation(){return function(e,t){return t.get?t.get.call(e):t.value}(this,f(this,x,"get"))}constructor(e,t,n,r){var o;(0,p._)(this,x,{writable:!0,value:void 0}),h(this,x,!0);let a=null!==(o=null==r?void 0:r.target)&&void 0!==o?o:n.currentTarget;const i=null==a?void 0:a.getBoundingClientRect();let s,l,u=0,c=null;null!=n.clientX&&null!=n.clientY&&(l=n.clientX,c=n.clientY),i&&(null!=l&&null!=c?(s=l-i.left,u=c-i.top):(s=i.width/2,u=i.height/2)),this.type=e,this.pointerType=t,this.target=n.currentTarget,this.shiftKey=n.shiftKey,this.metaKey=n.metaKey,this.ctrlKey=n.ctrlKey,this.altKey=n.altKey,this.x=s,this.y=u}}const C=Symbol("linkClicked"),k="react-aria-pressable-style",O="data-react-aria-pressable";function R(e){let{onPress:t,onPressChange:n,onPressStart:i,onPressEnd:f,onPressUp:p,onClick:h,isDisabled:x,isPressed:R,preventFocusOnPress:A,shouldCancelOnPointerExit:N,allowTextSelectionOnPress:j,ref:L,...F}=function(e){let t=(0,_.useContext)(d.O);if(t){let{register:n,...r}=t;e=(0,m.d)(r,e),n()}return(0,g.l)(t,e.ref),e}(e),[V,U]=(0,_.useState)(!1),Z=(0,_.useRef)({isPressed:!1,ignoreEmulatedMouseEvents:!1,didFirePressStart:!1,isTriggeringEvent:!1,activePointerId:null,target:null,isOverTarget:!1,pointerType:null,disposables:[]}),{addGlobalListener:H,removeAllGlobalListeners:B}=(0,v.x)(),z=(0,y.i)(((e,t)=>{let r=Z.current;if(x||r.didFirePressStart)return!1;let o=!0;if(r.isTriggeringEvent=!0,i){let n=new P("pressstart",t,e);i(n),o=n.shouldStopPropagation}return n&&n(!0),r.isTriggeringEvent=!1,r.didFirePressStart=!0,U(!0),o})),W=(0,y.i)(((e,r,o=!0)=>{let a=Z.current;if(!a.didFirePressStart)return!1;a.didFirePressStart=!1,a.isTriggeringEvent=!0;let i=!0;if(f){let t=new P("pressend",r,e);f(t),i=t.shouldStopPropagation}if(n&&n(!1),U(!1),t&&o&&!x){let n=new P("press",r,e);t(n),i&&(i=n.shouldStopPropagation)}return a.isTriggeringEvent=!1,i})),K=(0,y.i)(((e,t)=>{let n=Z.current;if(x)return!1;if(p){n.isTriggeringEvent=!0;let r=new P("pressup",t,e);return p(r),n.isTriggeringEvent=!1,r.shouldStopPropagation}return!0})),q=(0,y.i)((e=>{let t=Z.current;if(t.isPressed&&t.target){t.didFirePressStart&&null!=t.pointerType&&W(I(t.target,e),t.pointerType,!1),t.isPressed=!1,t.isOverTarget=!1,t.activePointerId=null,t.pointerType=null,B(),j||c(t.target);for(let e of t.disposables)e();t.disposables=[]}})),Y=(0,y.i)((e=>{N&&q(e)})),G=(0,y.i)((e=>{null==h||h(e)})),J=(0,y.i)(((e,t)=>{if(h){let n=new MouseEvent("click",e);(0,r.nh)(n,t),h((0,r.yA)(n))}})),Q=(0,_.useMemo)((()=>{let e=Z.current,t={onKeyDown(t){if($(t.nativeEvent,t.currentTarget)&&(0,b.bE)(t.currentTarget,(0,b.NI)(t.nativeEvent))){var r;M((0,b.NI)(t.nativeEvent),t.key)&&t.preventDefault();let i=!0;if(!e.isPressed&&!t.repeat){e.target=t.currentTarget,e.isPressed=!0,e.pointerType="keyboard",i=z(t,"keyboard");let r=t.currentTarget,o=t=>{$(t,r)&&!t.repeat&&(0,b.bE)(r,(0,b.NI)(t))&&e.target&&K(I(e.target,t),"keyboard")};H((0,a.r3)(t.currentTarget),"keyup",(0,w.t)(o,n),!0)}i&&t.stopPropagation(),t.metaKey&&(0,o.V5)()&&(null===(r=e.metaKeyEvents)||void 0===r||r.set(t.key,t.nativeEvent))}else"Meta"===t.key&&(e.metaKeyEvents=new Map)},onClick(t){if((!t||(0,b.bE)(t.currentTarget,(0,b.NI)(t.nativeEvent)))&&t&&0===t.button&&!e.isTriggeringEvent&&!S.isOpening){let n=!0;if(x&&t.preventDefault(),e.ignoreEmulatedMouseEvents||e.isPressed||"virtual"!==e.pointerType&&!(0,D.Z)(t.nativeEvent)){if(e.isPressed&&"keyboard"!==e.pointerType){let r=e.pointerType||t.nativeEvent.pointerType||"virtual",o=K(I(t.currentTarget,t),r),a=W(I(t.currentTarget,t),r,!0);n=o&&a,e.isOverTarget=!1,G(t),q(t)}}else{let e=z(t,"virtual"),r=K(t,"virtual"),o=W(t,"virtual");G(t),n=e&&r&&o}e.ignoreEmulatedMouseEvents=!1,n&&t.stopPropagation()}}},n=t=>{var n;if(e.isPressed&&e.target&&$(t,e.target)){var r;M((0,b.NI)(t),t.key)&&t.preventDefault();let n=(0,b.NI)(t),o=(0,b.bE)(e.target,(0,b.NI)(t));W(I(e.target,t),"keyboard",o),o&&J(t,e.target),B(),"Enter"!==t.key&&T(e.target)&&(0,b.bE)(e.target,n)&&!t[C]&&(t[C]=!0,S(e.target,t,!1)),e.
8isPressed=!1,null===(r=e.metaKeyEvents)||void 0===r||r.delete(t.key)}else if("Meta"===t.key&&(null===(n=e.metaKeyEvents)||void 0===n?void 0:n.size)){var o;let t=e.metaKeyEvents;e.metaKeyEvents=void 0;for(let n of t.values())null===(o=e.target)||void 0===o||o.dispatchEvent(new KeyboardEvent("keyup",n))}};if("undefined"!=typeof PointerEvent){t.onPointerDown=t=>{if(0!==t.button||!(0,b.bE)(t.currentTarget,(0,b.NI)(t.nativeEvent)))return;if((0,D.c)(t.nativeEvent))return void(e.pointerType="virtual");e.pointerType=t.pointerType;let r=!0;if(!e.isPressed){e.isPressed=!0,e.isOverTarget=!0,e.activePointerId=t.pointerId,e.target=t.currentTarget,j||function(e){if((0,o.gn)()){if("default"===s){const t=(0,a.r3)(e);l=t.documentElement.style.webkitUserSelect,t.documentElement.style.webkitUserSelect="none"}s="disabled"}else if(e instanceof HTMLElement||e instanceof SVGElement){let t="userSelect"in e.style?"userSelect":"webkitUserSelect";u.set(e,e.style[t]),e.style[t]="none"}}(e.target),r=z(t,e.pointerType);let c=(0,b.NI)(t.nativeEvent);"releasePointerCapture"in c&&c.releasePointerCapture(t.pointerId),H((0,a.r3)(t.currentTarget),"pointerup",n,!1),H((0,a.r3)(t.currentTarget),"pointercancel",i,!1)}r&&t.stopPropagation()},t.onMouseDown=t=>{if((0,b.bE)(t.currentTarget,(0,b.NI)(t.nativeEvent))&&0===t.button){if(A){let n=(0,r.WZ)(t.target);n&&e.disposables.push(n)}t.stopPropagation()}},t.onPointerUp=t=>{(0,b.bE)(t.currentTarget,(0,b.NI)(t.nativeEvent))&&"virtual"!==e.pointerType&&(0!==t.button||e.isPressed||K(t,e.pointerType||t.pointerType))},t.onPointerEnter=t=>{t.pointerId===e.activePointerId&&e.target&&!e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!0,z(I(e.target,t),e.pointerType))},t.onPointerLeave=t=>{t.pointerId===e.activePointerId&&e.target&&e.isOverTarget&&null!=e.pointerType&&(e.isOverTarget=!1,W(I(e.target,t),e.pointerType,!1),Y(t))};let n=t=>{if(t.pointerId===e.activePointerId&&e.isPressed&&0===t.button&&e.target){if((0,b.bE)(e.target,(0,b.NI)(t))&&null!=e.pointerType){let n=!1,r=setTimeout((()=>{e.isPressed&&e.target instanceof HTMLElement&&(n?q(t):((0,E.A)(e.target),e.target.click()))}),80);H(t.currentTarget,"click",(()=>n=!0),!0),e.disposables.push((()=>clearTimeout(r)))}else q(t);e.isOverTarget=!1}},i=e=>{q(e)};t.onDragStart=e=>{(0,b.bE)(e.currentTarget,(0,b.NI)(e.nativeEvent))&&q(e)}}return t}),[H,x,A,B,j,q,Y,W,z,K,G,J]);return(0,_.useEffect)((()=>{if(!L)return;const e=(0,a.r3)(L.current);if(!e||!e.head||e.getElementById(k))return;const t=e.createElement("style");t.id=k,t.textContent=`\n@layer {\n  [${O}] {\n    touch-action: pan-x pan-y pinch-zoom;\n  }\n}\n    `.trim(),e.head.prepend(t)}),[L]),(0,_.useEffect)((()=>{let e=Z.current;return()=>{var t;j||c(null!==(t=e.target)&&void 0!==t?t:void 0);for(let t of e.disposables)t();e.disposables=[]}}),[j]),{isPressed:R||V,pressProps:(0,m.d)(F,Q,{[O]:!0})}}function T(e){return"A"===e.tagName&&e.hasAttribute("href")}function $(e,t){const{key:n,code:r}=e,o=t,i=o.getAttribute("role");return!("Enter"!==n&&" "!==n&&"Spacebar"!==n&&"Space"!==r||o instanceof(0,a.kR)(o).HTMLInputElement&&!N(o,n)||o instanceof(0,a.kR)(o).HTMLTextAreaElement||o.isContentEditable||("link"===i||!i&&T(o))&&"Enter"!==n)}function I(e,t){let n=t.clientX,r=t.clientY;return{currentTarget:e,shiftKey:t.shiftKey,ctrlKey:t.ctrlKey,metaKey:t.metaKey,altKey:t.altKey,clientX:n,clientY:r}}function M(e,t){return e instanceof HTMLInputElement?!N(e,t):function(e){return!(e instanceof HTMLInputElement||(e instanceof HTMLButtonElement?"submit"===e.type||"reset"===e.type:T(e)))}(e)}const A=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function N(e,t){return"checkbox"===e.type||"radio"===e.type?" "===t:A.has(e.type)}},4247:(e,t,n)=>{"use strict";n.d(t,{WZ:()=>p,d0:()=>d,nh:()=>c,uR:()=>f,yA:()=>u});var r=n(9786),o=n(1718),a=n(3125),i=n(8837),s=n(7604),l=n(9748);function u(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function c(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}function d(e){let t=(0,l.useRef)({isFocused:!1,observer:null});(0,r.b)((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let n=(0,o.i)((t=>{null==e||e(t)}));return(0,l.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,o=e=>{if(t.current.isFocused=!1,r.disabled){let t=u(e);n(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver((()=>
8{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[n])}let f=!1;function p(e){for(;e&&!(0,a.E)(e);)e=e.parentElement;let t=(0,i.kR)(e),n=t.document.activeElement;if(!n||n===e)return;f=!0;let r=!1,o=e=>{(e.target===n||r)&&e.stopImmediatePropagation()},l=t=>{(t.target===n||r)&&(t.stopImmediatePropagation(),e||r||(r=!0,(0,s.A)(n),d()))},u=t=>{(t.target===e||r)&&t.stopImmediatePropagation()},c=t=>{(t.target===e||r)&&(t.stopImmediatePropagation(),r||(r=!0,(0,s.A)(n),d()))};t.addEventListener("blur",o,!0),t.addEventListener("focusout",l,!0),t.addEventListener("focusin",c,!0),t.addEventListener("focus",u,!0);let d=()=>{cancelAnimationFrame(p),t.removeEventListener("blur",o,!0),t.removeEventListener("focusout",l,!0),t.removeEventListener("focusin",c,!0),t.removeEventListener("focus",u,!0),f=!1,r=!1},p=requestAnimationFrame(d);return d}},630:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var r=n(8073),o=n(9955);var a=n(1953);function i(e){let{description:t,errorMessage:n,isInvalid:i,validationState:s}=e,{labelProps:l,fieldProps:u}=function(e){let{id:t,label:n,"aria-labelledby":a,"aria-label":i,labelElementType:s="label"}=e;t=(0,r.Me)(t);let l=(0,r.Me)(),u={};return n&&(a=a?`${l} ${a}`:l,u={id:l,htmlFor:"label"===s?t:void 0}),{labelProps:u,fieldProps:(0,o.b)({id:t,"aria-label":i,"aria-labelledby":a})}}(e),c=(0,r.mp)([Boolean(t),Boolean(n),i,s]),d=(0,r.mp)([Boolean(t),Boolean(n),i,s]);return u=(0,a.d)(u,{"aria-describedby":[c,d,e["aria-describedby"]].filter(Boolean).join(" ")||void 0}),{labelProps:l,fieldProps:u,descriptionProps:{id:c},errorMessageProps:{id:d}}}},3803:(e,t,n)=>{"use strict";n.d(t,{gb:()=>i,xQ:()=>a});const r=7e3;let o=null;function a(e,t="assertive",n=r){o?o.announce(e,t,n):(o=new s,("boolean"==typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:"undefined"!=typeof jest)?o.announce(e,t,n):setTimeout((()=>{(null==o?void 0:o.isAttached())&&(null==o||o.announce(e,t,n))}),100))}function i(e){o&&o.clear(e)}class s{isAttached(){var e;return null===(e=this.node)||void 0===e?void 0:e.isConnected}createLog(e){let t=document.createElement("div");return t.setAttribute("role","log"),t.setAttribute("aria-live",e),t.setAttribute("aria-relevant","additions"),t}destroy(){this.node&&(document.body.removeChild(this.node),this.node=null)}announce(e,t="assertive",n=r){var o,a;if(!this.node)return;let i=document.createElement("div");"object"==typeof e?(i.setAttribute("role","img"),i.setAttribute("aria-labelledby",e["aria-labelledby"])):i.textContent=e,"assertive"===t?null===(o=this.assertiveLog)||void 0===o||o.appendChild(i):null===(a=this.politeLog)||void 0===a||a.appendChild(i),""!==e&&setTimeout((()=>{i.remove()}),n)}clear(e){this.node&&(e&&"assertive"!==e||!this.assertiveLog||(this.assertiveLog.innerHTML=""),e&&"polite"!==e||!this.politeLog||(this.politeLog.innerHTML=""))}constructor(){this.node=null,this.assertiveLog=null,this.politeLog=null,"undefined"!=typeof document&&(this.node=document.createElement("div"),this.node.dataset.liveAnnouncer="true",Object.assign(this.node.style,{border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"}),this.assertiveLog=this.createLog("assertive"),this.node.appendChild(this.assertiveLog),this.politeLog=this.createLog("polite"),this.node.appendChild(this.politeLog),document.body.prepend(this.node))}}},7740:(e,t,n)=>{"use strict";var r,o,a,i,s,l,u,c,d,f,p,h,m,g,v,y,b,w,E,_,S,D,x,P,C,k,O,R,T,$,I,M,A,N;n.d(t,{U4:()=>Ae,aV:()=>Ve,Bq:()=>Ue,Sv:()=>Le}),r={dismiss:"تجاهل"},o={dismiss:"Отхвърляне"},a={dismiss:"Odstranit"},i={dismiss:"Luk"},s={dismiss:"Schließen"},l={dismiss:"Απόρριψη"},u={dismiss:"Dismiss"},c={dismiss:"Descartar"},d={dismiss:"Lõpeta"},f={dismiss:"Hylkää"},p={dismiss:"Rejeter"},h={dismiss:"התעלם"},m={dismiss:"Odbaci"},g={dismiss:"Elutasítás"},v={dismiss:"Ignora"},y={dismiss:"閉じる"},b={dismiss:"무시"},w={dismiss:"Atmesti"},E={dismiss:"Nerādīt"},_={dismiss:"Lukk"},S={dismiss:"Negeren"},D={dismiss:"Zignoruj"},x={dismiss:"Descartar"},P={dismiss:"Dispensar"},C={dismiss:"Revocare"},k={dismiss:"Пропустить"},O={dismiss:"Zrušiť"},R={dismiss:"Opusti"},T={dismiss:"Odbaci"},$={dismiss:"Avvisa"},I={dismiss:"Kapat"},M={dismiss:"Скасувати"},A={dismiss:"取消"},N={dismiss:"關閉"};var j=n(9748),L=n(8806);function F(e,t=-1/0,n=1/0){return Math.min(Math.max(e,t),n)}var V=n(9786);var U=n(1086),Z=n(9665),H=n(9955),B=n(1953),z=n(5156),W=n(4392),K=n(1882),q=n(1718),Y=n(8837);function G(e,t){if(e.button>0)return!1;if(e.target){const t=e.target.ownerDocument;if(!t||!t.documentElement.contains(e.target))return!1;if(e.target.closest("[data-react-aria-top-layer]"))return!1}return!!t.current&&!e.composedPath().includes(t.current)}var J=n(4971),Q=n(4942);function X({children:e}){let t=(0,j.useMemo)((()=>({register:()=>{}})),[]);return j.default.createElement(Q.O.Provider,{value:t},e)}var ee=n(7385);const te={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"};function ne(e){let{children:t,elementType:n="div",isFocusable:r,style:o,...a}=e,{visuallyHiddenProps:i}=function(e={}){let{style:t,isFocusable:n}
8=e,[r,o]=(0,j.useState)(!1),{focusWithinProps:a}=(0,J.L)({isDisabled:!n,onFocusWithinChange:e=>o(e)});return{visuallyHiddenProps:{...a,style:(0,j.useMemo)((()=>r?t:t?{...te,...t}:te),[r])}}}(e);return j.default.createElement(n,(0,B.d)(a,i),t)}function re(e){return e&&e.__esModule?e.default:e}const oe={top:"top",bottom:"top",left:"left",right:"left"},ae={top:"bottom",bottom:"top",left:"right",right:"left"},ie={top:"left",left:"top"},se={top:"height",left:"width"},le={width:"totalWidth",height:"totalHeight"},ue={};let ce="undefined"!=typeof document&&window.visualViewport;function de(e){let t=0,n=0,r=0,o=0,a=0,i=0,s={},l=(null==ce?void 0:ce.scale)>1;if("BODY"===e.tagName){let l=document.documentElement;var u,c;r=l.clientWidth,o=l.clientHeight,t=null!==(u=null==ce?void 0:ce.width)&&void 0!==u?u:r,n=null!==(c=null==ce?void 0:ce.height)&&void 0!==c?c:o,s.top=l.scrollTop||e.scrollTop,s.left=l.scrollLeft||e.scrollLeft,ce&&(a=ce.offsetTop,i=ce.offsetLeft)}else({width:t,height:n,top:a,left:i}=ve(e)),s.top=e.scrollTop,s.left=e.scrollLeft,r=t,o=n;return(0,L.Pf)()&&("BODY"===e.tagName||"HTML"===e.tagName)&&l&&(s.top=0,s.left=0,a=ce.pageTop,i=ce.pageLeft),{width:t,height:n,totalWidth:r,totalHeight:o,scroll:s,top:a,left:i}}function fe(e,t,n,r,o,a,i){let s=o.scroll[e],l=r[se[e]],u=r.scroll[oe[e]]+a,c=l+r.scroll[oe[e]]-a,d=t-s+i[e]-r[oe[e]],f=t-s+n+i[e]-r[oe[e]];return d<u?u-d:f>c?Math.max(c-f,u-d):0}function pe(e){if(ue[e])return ue[e];let[t,n]=e.split(" "),r=oe[t]||"right",o=ie[r];oe[n]||(n="center");let a=se[r],i=se[o];return ue[e]={placement:t,crossPlacement:n,axis:r,crossAxis:o,size:a,crossSize:i},ue[e]}function he(e,t,n,r,o,a,i,s,l,u){let{placement:c,crossPlacement:d,axis:f,crossAxis:p,size:h,crossSize:m}=r,g={};g[p]=e[p],"center"===d?g[p]+=(e[m]-n[m])/2:d!==p&&(g[p]+=e[m]-n[m]),g[p]+=a;const v=e[p]-n[m]+l+u,y=e[p]+e[m]-l-u;if(g[p]=F(g[p],v,y),c===f){const n=s?i[h]:t[le[h]];g[ae[f]]=Math.floor(n-e[f]+o)}else g[f]=Math.floor(e[f]+e[h]+o);return g}function me(e,t,n,r,o,a){let{placement:i,axis:s,size:l}=a;return i===s?Math.max(0,n[s]-e[s]-e.scroll[s]+t[s]-r[s]-r[ae[s]]-o):Math.max(0,e[l]+e[s]+e.scroll[s]-t[s]-n[s]-n[l]-r[s]-r[ae[s]]-o)}function ge(e){let{placement:t,targetNode:n,overlayNode:r,scrollNode:o,padding:a,shouldFlip:i,boundaryElement:s,offset:l,crossOffset:u,maxHeight:c,arrowSize:d=0,arrowBoundaryOffset:f=0}=e,p=r instanceof HTMLElement?function(e){let t=e.offsetParent;if(t&&t===document.body&&"static"===window.getComputedStyle(t).position&&!be(t)&&(t=document.documentElement),null==t)for(t=e.parentElement;t&&!be(t);)t=t.parentElement;return t||document.documentElement}(r):document.documentElement,h=p===document.documentElement;const m=window.getComputedStyle(p).position;let g=!!m&&"static"!==m,v=h?ve(n):ye(n,p);if(!h){let{marginTop:e,marginLeft:t}=window.getComputedStyle(n);v.top+=parseInt(e,10)||0,v.left+=parseInt(t,10)||0}let y=ve(r),b=function(e){let t=window.getComputedStyle(e);return{top:parseInt(t.marginTop,10)||0,bottom:parseInt(t.marginBottom,10)||0,left:parseInt(t.marginLeft,10)||0,right:parseInt(t.marginRight,10)||0}}(r);y.width+=b.left+b.right,y.height+=b.top+b.bottom;let w={top:(E=o).scrollTop,left:E.scrollLeft,width:E.scrollWidth,height:E.scrollHeight};var E;let _=de(s),S=de(p),D="BODY"===s.tagName?ve(p):ye(p,s);return"HTML"===p.tagName&&"BODY"===s.tagName&&(S.scroll.top=0,S.scroll.left=0),function(e,t,n,r,o,a,i,s,l,u,c,d,f,p,h,m){let g=pe(e),{size:v,crossAxis:y,crossSize:b,placement:w,crossPlacement:E}=g,_=he(t,s,n,g,c,d,u,f,h,m),S=c,D=me(s,u,t,o,a+c,g);if(i&&r[v]>D){let e=pe(`${ae[w]} ${E}`),r=he(t,s,n,e,c,d,u,f,h,m);me(s,u,t,o,a+c,e)>D&&(g=e,_=r,S=c)}let x="bottom";"top"===g.axis?"top"===g.placement?x="top":"bottom"===g.placement&&(x="bottom"):"top"===g.crossAxis&&("top"===g.crossPlacement?x="bottom":"bottom"===g.crossPlacement&&(x="top"));let P=fe(y,_[y],n[b],s,l,a,u);_[y]+=P;let C=function(e,t,n,r,o,a,i,s){const l=r?n.height:t[le.height];let u=null!=e.top?n.top+e.top:n.top+(l-e.bottom-i),c="top"!==s?Math.max(0,t.height+t.top+t.scroll.top-u-(o.top+o.bottom+a)):Math.max(0,u+i-(t.top+t.scroll.top)-(o.top+o.bottom+a));return Math.min(t.height-2*a,c)}(_,s,u,f,o,a,n.height,x);p&&p<C&&(C=p),n.height=Math.min(n.height,C),_=he(t,s,n,g,S,d,u,f,h,m),P=fe(y,_[y],n[b],s,l,a,u),_[y]+=P;let k={},O=t[y]+.5*t[b]-n[y];const R=h/2+m,T=n[b]-h/2-m,$=F(O,t[y]-n[y]+h/2,t[y]+t[b]-n[y]-h/2);return k[y]=F($,R,T),{position:_,maxHeight:C,arrowOffsetLeft:k.left,arrowOffsetTop:k.top,placement:g.placement}}(t,v,y,w,b,a,i,_,S,D,l,u,g,c,d,f)}function ve(e){let{top:t,left:n,width:r,height:o}=e.getBoundingClientRect(),{scrollTop:a,scrollLeft:i,clientTop:s,clientLeft:l}=document.documentElement;return{top:t+a-s,left:n+i-l,width:r,height:o}}function ye(e,t){let n,r=window.getComputedStyle(e);
8if("fixed"===r.position){let{top:t,left:r,width:o,height:a}=e.getBoundingClientRect();n={top:t,left:r,width:o,height:a}}else{n=ve(e);let r=ve(t),o=window.getComputedStyle(t);r.top+=(parseInt(o.borderTopWidth,10)||0)-t.scrollTop,r.left+=(parseInt(o.borderLeftWidth,10)||0)-t.scrollLeft,n.top-=r.top,n.left-=r.left}return n.top-=parseInt(r.marginTop,10)||0,n.left-=parseInt(r.marginLeft,10)||0,n}function be(e){let t=window.getComputedStyle(e);return"none"!==t.transform||/transform|perspective/.test(t.willChange)||"none"!==t.filter||"paint"===t.contain||"backdropFilter"in t&&"none"!==t.backdropFilter||"WebkitBackdropFilter"in t&&"none"!==t.WebkitBackdropFilter}const we=new WeakMap;let Ee="undefined"!=typeof document&&window.visualViewport;function _e(e){let{direction:t}=(0,z.j)(),{arrowSize:n=0,targetRef:r,overlayRef:o,scrollRef:a=o,placement:i="bottom",containerPadding:s=12,shouldFlip:l=!0,boundaryElement:u=("undefined"!=typeof document?document.body:null),offset:c=0,crossOffset:d=0,shouldUpdatePosition:f=!0,isOpen:p=!0,onClose:h,maxHeight:m,arrowBoundaryOffset:g=0}=e,[v,y]=(0,j.useState)({position:{},arrowOffsetLeft:void 0,arrowOffsetTop:void 0,maxHeight:void 0,placement:void 0}),b=[f,i,o.current,r.current,a.current,s,l,u,c,d,p,t,m,g,n],w=(0,j.useRef)(null==Ee?void 0:Ee.scale);(0,j.useEffect)((()=>{p&&(w.current=null==Ee?void 0:Ee.scale)}),[p]);let E=(0,j.useCallback)((()=>{if(!(!1!==f&&p&&o.current&&r.current&&a.current&&u))return;if((null==Ee?void 0:Ee.scale)!==w.current)return;!m&&o.current&&(o.current.style.maxHeight="none");let e=ge({placement:Se(i,t),overlayNode:o.current,targetNode:r.current,scrollNode:a.current,padding:s,shouldFlip:l,boundaryElement:u,offset:c,crossOffset:d,maxHeight:m,arrowSize:n,arrowBoundaryOffset:g});Object.keys(e.position).forEach((t=>o.current.style[t]=e.position[t]+"px")),o.current.style.maxHeight=null!=e.maxHeight?e.maxHeight+"px":void 0,y(e)}),b);var _;(0,V.b)(E,b),_=E,(0,V.b)((()=>(window.addEventListener("resize",_,!1),()=>{window.removeEventListener("resize",_,!1)})),[_]),function(e){const{ref:t,box:n,onResize:r}=e;(0,j.useEffect)((()=>{let e=null==t?void 0:t.current;if(e){if(void 0===window.ResizeObserver)return window.addEventListener("resize",r,!1),()=>{window.removeEventListener("resize",r,!1)};{const t=new window.ResizeObserver((e=>{e.length&&r()}));return t.observe(e,{box:n}),()=>{e&&t.unobserve(e)}}}}),[r,t,n])}({ref:o,onResize:E});let S=(0,j.useRef)(!1);(0,V.b)((()=>{let e,t=()=>{S.current=!0,clearTimeout(e),e=setTimeout((()=>{S.current=!1}),500),E()},n=()=>{S.current&&t()};return null==Ee||Ee.addEventListener("resize",t),null==Ee||Ee.addEventListener("scroll",n),()=>{null==Ee||Ee.removeEventListener("resize",t),null==Ee||Ee.removeEventListener("scroll",n)}}),[E]);let D=(0,j.useCallback)((()=>{S.current||h()}),[h,S]);return function(e){let{triggerRef:t,isOpen:n,onClose:r}=e;(0,j.useEffect)((()=>{if(!n||null===r)return;let e=e=>{let n=e.target;if(!t.current||n instanceof Node&&!n.contains(t.current))return;let o=r||we.get(t.current);o&&o()};return window.addEventListener("scroll",e,!0),()=>{window.removeEventListener("scroll",e,!0)}}),[n,r,t])}({triggerRef:r,isOpen:p,onClose:h&&D}),{overlayProps:{style:{position:"absolute",zIndex:1e5,...v.position,maxHeight:v.maxHeight}},placement:v.placement,arrowProps:{"aria-hidden":"true",role:"presentation",style:{left:v.arrowOffsetLeft,top:v.arrowOffsetTop}},updatePosition:E}}function Se(e,t){return"rtl"===t?e.replace("start","right").replace("end","left"):e.replace("start","left").replace("end","right")}const De=[];function xe(e,t){let{onClose:n,shouldCloseOnBlur:r,isOpen:o,isDismissable:a=!1,isKeyboardDismissDisabled:i=!1,shouldCloseOnInteractOutside:s}=e;(0,j.useEffect)((()=>(o&&De.push(t),()=>{let e=De.indexOf(t);e>=0&&De.splice(e,1)})),[o,t]);let l=()=>{De[De.length-1]===t&&n&&n()};!function(e){let{ref:t,onInteractOutside:n,isDisabled:r,onInteractOutsideStart:o}=e,a=(0,j.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}),i=(0,q.i)((e=>{n&&G(e,t)&&(o&&o(e),a.current.isPointerDown=!0)})),s=(0,q.i)((e=>{n&&n(e)}));(0,j.useEffect)((()=>{let e=a.current;if(r)return;const n=t.current,o=(0,Y.r3)(n);if("undefined"!=typeof PointerEvent){let n=n=>{e.isPointerDown&&G(n,t)&&s(n),e.isPointerDown=!1};return o.addEventListener("pointerdown",i,!0),o.addEventListener("click",n,!0),()=>{o.removeEventListener("pointerdown",i,!0),o.removeEventListener("click",n,!0)}}}),[t,r,i,s])}({ref:t,onInteractOutside:a&&o?e=>{s&&!s(e.target)||(De[De.length-1]===t&&(e.stopPropagation(),e.preventDefault()),l())}:null,onInteractOutsideStart:e=>{s&&!s(e.target)||De[De.length-1]===t&&(e.stopPropagation(),e.preventDefault())}});let{focusWithinProps:u}=(0,J.L)({isDisabled:!r,onBlurWithin:e=>{e.relatedTarget&&!(0,K.cW)(e.relatedTarget)&&(s&&!s(e.relatedTarget)||n())}});return{overlayProps:{onKeyDown:e=>{"Escape"!==e.key||i||(e.stopPropagation(),e.preventDefault(),l())},...u},underlayProps:{onPointerDown:e=>{e.target===e.currentTarget&&e.preventDefault()}}}}
8const Pe="undefined"!=typeof document&&window.visualViewport,Ce=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let ke,Oe=0;function Re(e,t,n){let r=e.style[t];return e.style[t]=n,()=>{e.style[t]=r}}function Te(e,t,n,r){return e.addEventListener(t,n,r),()=>{e.removeEventListener(t,n,r)}}function $e(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=(0,Z.r)(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,r=e.getBoundingClientRect().top;r>n+e.clientHeight&&(t.scrollTop+=r-n)}e=t.parentElement}}function Ie(e){return e instanceof HTMLInputElement&&!Ce.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}var Me={};function Ae(e){let{onDismiss:t,...n}=e,r=(0,W.q)(re(Me),"@react-aria/overlays"),o=(0,H.b)(n,r.format("dismiss"));return j.default.createElement(ne,null,j.default.createElement("button",{...o,tabIndex:-1,onClick:()=>{t&&t()},style:{width:1,height:1}}))}Me={"ar-AE":r,"bg-BG":o,"cs-CZ":a,"da-DK":i,"de-DE":s,"el-GR":l,"en-US":u,"es-ES":c,"et-EE":d,"fi-FI":f,"fr-FR":p,"he-IL":h,"hr-HR":m,"hu-HU":g,"it-IT":v,"ja-JP":y,"ko-KR":b,"lt-LT":w,"lv-LV":E,"nb-NO":_,"nl-NL":S,"pl-PL":D,"pt-BR":x,"pt-PT":P,"ro-RO":C,"ru-RU":k,"sk-SK":O,"sl-SI":R,"sr-SP":T,"sv-SE":$,"tr-TR":I,"uk-UA":M,"zh-CN":A,"zh-TW":N};let Ne=new WeakMap,je=[];function Le(e,t){let{triggerRef:n,popoverRef:r,isNonModal:o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i,...s}=e,{overlayProps:l,underlayProps:u}=xe({isOpen:t.isOpen,onClose:t.close,shouldCloseOnBlur:!0,isDismissable:!o,isKeyboardDismissDisabled:a,shouldCloseOnInteractOutside:i},r),{overlayProps:c,arrowProps:d,placement:f}
8=_e({...s,targetRef:n,overlayRef:r,isOpen:t.isOpen,onClose:o?t.close:null});return function(e={}){let{isDisabled:t}=e;(0,V.b)((()=>{if(!t)return Oe++,1===Oe&&(ke=(0,L.gn)()?function(){let e,t,n=null,r=()=>{if(n)return;let e=window.pageXOffset,t=window.pageYOffset;n=(0,U.t)(Te(window,"scroll",(()=>{window.scrollTo(0,0)})),Re(document.documentElement,"paddingRight",window.innerWidth-document.documentElement.clientWidth+"px"),Re(document.documentElement,"overflow","hidden"),Re(document.body,"marginTop",`-${t}px`),(()=>{window.scrollTo(e,t)})),window.scrollTo(0,0)},o=(0,U.t)(Te(document,"touchstart",(n=>{e=(0,Z.r)(n.target,!0),e===document.documentElement&&e===document.body||e instanceof HTMLElement&&"auto"===window.getComputedStyle(e).overscrollBehavior&&(t=Re(e,"overscrollBehavior","contain"))}),{passive:!1,capture:!0}),Te(document,"touchmove",(t=>{e&&e!==document.documentElement&&e!==document.body?e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&t.preventDefault():t.preventDefault()}),{passive:!1,capture:!0}),Te(document,"touchend",(e=>{let n=e.target;Ie(n)&&n!==document.activeElement&&(e.preventDefault(),r(),n.style.transform="translateY(-2000px)",n.focus(),requestAnimationFrame((()=>{n.style.transform=""}))),t&&t()}),{passive:!1,capture:!0}),Te(document,"focus",(e=>{let t=e.target;Ie(t)&&(r(),t.style.transform="translateY(-2000px)",requestAnimationFrame((()=>{t.style.transform="",Pe&&(Pe.height<window.innerHeight?requestAnimationFrame((()=>{$e(t)})):Pe.addEventListener("resize",(()=>$e(t)),{once:!0}))})))}),!0));return()=>{null==t||t(),null==n||n(),o()}}():(0,U.t)(Re(document.documentElement,"paddingRight",window.innerWidth-document.documentElement.clientWidth+"px"),Re(document.documentElement,"overflow","hidden"))),()=>{Oe--,0===Oe&&ke()}}),[t])}({isDisabled:o||!t.isOpen}),(0,V.b)((()=>{if(t.isOpen&&!o&&r.current)return function(e,t=document.body){let n=new Set(e),r=new Set,o=e=>{for(let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]"))n.add(t);let t=e=>{if(n.has(e)||r.has(e.parentElement)&&"row"!==e.parentElement.getAttribute("role"))return NodeFilter.FILTER_REJECT;for(let t of n)if(e.contains(t))return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT},o=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:t}),i=t(e);if(i===NodeFilter.FILTER_ACCEPT&&a(e),i!==NodeFilter.FILTER_REJECT){let e=o.nextNode();for(;null!=e;)a(e),e=o.nextNode()}},a=e=>{var t;let n=null!==(t=Ne.get(e))&&void 0!==t?t:0;"true"===e.getAttribute("aria-hidden")&&0===n||(0===n&&e.setAttribute("aria-hidden","true"),r.add(e),Ne.set(e,n+1))};je.length&&je[je.length-1].disconnect(),o(t);let i=new MutationObserver((e=>{for(let t of e)if("childList"===t.type&&0!==t.addedNodes.length&&![...n,...r].some((e=>e.contains(t.target)))){for(let e of t.removedNodes)e instanceof Element&&(n.delete(e),r.delete(e));for(let e of t.addedNodes)!(e instanceof HTMLElement||e instanceof SVGElement)||"true"!==e.dataset.liveAnnouncer&&"true"!==e.dataset.reactAriaTopLayer?e instanceof Element&&o(e):n.add(e)}}));i.observe(t,{childList:!0,subtree:!0});let s={observe(){i.observe(t,{childList:!0,subtree:!0})},disconnect(){i.disconnect()}};return je.push(s),()=>{i.disconnect();for(let e of r){let t=Ne.get(e);1===t?(e.removeAttribute("aria-hidden"),Ne.delete(e)):Ne.set(e,t-1)}s===je[je.length-1]?(je.pop(),je.length&&je[je.length-1].observe()):je.splice(je.indexOf(s),1)}}([r.current])}),[o,t.isOpen,r]),{popoverProps:(0,B.d)(l,c),arrowProps:d,underlayProps:u,placement:f}}const Fe=j.default.createContext(null);function Ve(e){let t=(0,ee.Av)(),{portalContainer:n=(t?null:document.body),isExiting:r}=e,[o,a]=(0,j.useState)(!1),i=(0,j.useMemo)((()=>({contain:o,setContain:a})),[o,a]);if(!n)return null;let s=e.children;return e.disableFocusManagement||(s=j.default.createElement(K.MT,{restoreFocus:!0,contain:o&&!r},s)),s=j.default.createElement(Fe.Provider,{value:i},j.default.createElement(X,null,s)),j.default.createPortal(s,n)}function Ue(){let e=(0,j.useContext)(Fe),t=null==e?void 0:e.setContain;(0,V.b)((()=>{null==t||t(!0)}),[t])}},7385:(e,t,n)=>{"use strict";n.d(t,{Av:()=>f,gP:()=>l});var r=n(9748);const o={prefix:String(Math.round(1e10*Math.random())),current:0},a=r.default.createContext(o),i=r.default.createContext(!1);Boolean("undefined"!=typeof window&&window.document&&window.document.createElement);let s=new WeakMap;const l="function"==typeof r.default.useId?function(e){let t=r.default.useId(),[n]=(0,r.useState)(f());return e||`${n?"react-aria":`react-aria${o.prefix}`}-${t}`}:function(e){let t=(0,r.useContext)(a),n=function(e=!1){let t=(0,r.useContext)(a),n=(0,r.useRef)(null);if(null===n.current&&!e){var o,i;
8let e=null===(i=r.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===i||null===(o=i.ReactCurrentOwner)||void 0===o?void 0:o.current;if(e){let n=s.get(e);null==n?s.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,s.delete(e))}n.current=++t.current}return n.current}(!!e),o=`react-aria${t.prefix}`;return e||`${o}-${n}`};function u(){return!1}function c(){return!0}function d(e){return()=>{}}function f(){return"function"==typeof r.default.useSyncExternalStore?r.default.useSyncExternalStore(d,u,c):(0,r.useContext)(i)}},8745:(e,t,n)=>{"use strict";n.d(t,{NI:()=>s,bE:()=>a,vY:()=>i});var r=n(8837),o=n(8518);function a(e,t){if(!(0,o.Wr)())return!(!t||!e)&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:(0,r.Zq)(n)?n.host:n.parentNode}return!1}const i=(e=document)=>{var t;if(!(0,o.Wr)())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function s(e){return(0,o.Wr)()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}},1086:(e,t,n)=>{"use strict";function r(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}n.d(t,{t:()=>r})},8837:(e,t,n)=>{"use strict";n.d(t,{Zq:()=>a,kR:()=>o,r3:()=>r});const r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function a(e){return null!==(t=e)&&"object"==typeof t&&"nodeType"in t&&"number"==typeof t.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e;var t}},3136:(e,t,n)=>{"use strict";n.d(t,{z:()=>u});const r=new Set(["id"]),o=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),a=new Set(["href","hrefLang","target","rel","download","ping","referrerPolicy"]),i=new Set(["dir","lang","hidden","inert","translate"]),s=new Set(["onClick","onAuxClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp","onTouchCancel","onTouchEnd","onTouchMove","onTouchStart","onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut","onGotPointerCapture","onLostPointerCapture","onScroll","onWheel","onAnimationStart","onAnimationEnd","onAnimationIteration","onTransitionCancel","onTransitionEnd","onTransitionRun","onTransitionStart"]),l=/^(data-.*)$/;function u(e,t={}){let{labelable:n,isLink:u,global:c,events:d=c,propNames:f}=t,p={};for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r.has(t)||n&&o.has(t)||u&&a.has(t)||c&&i.has(t)||d&&s.has(t)||t.endsWith("Capture")&&s.has(t.slice(0,-7))||(null==f?void 0:f.has(t))||l.test(t))&&(p[t]=e[t]);return p}},7604:(e,t,n)=>{"use strict";function r(e){if(function(){if(null==o){o=!1;try{document.createElement("div").focus({get preventScroll(){return o=!0,!0}})}catch{}}return o}())e.focus({preventScroll:!0});else{let t=function(e){let t=e.parentNode,n=[],r=document.scrollingElement||document.documentElement;for(;t instanceof HTMLElement&&t!==r;)(t.offsetHeight<t.scrollHeight||t.offsetWidth<t.scrollWidth)&&n.push({element:t,scrollTop:t.scrollTop,scrollLeft:t.scrollLeft}),t=t.parentNode;return r instanceof HTMLElement&&n.push({element:r,scrollTop:r.scrollTop,scrollLeft:r.scrollLeft}),n}(e);e.focus(),function(e){for(let{element:t,scrollTop:n,scrollLeft:r}of e)t.scrollTop=n,t.scrollLeft=r}(t)}}n.d(t,{A:()=>r});let o=null},9665:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(6791);function o(e,t){let n=e;for((0,r.a)(n,t)&&(n=n.parentElement);n&&!(0,r.a)(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}},3125:(e,t,n)=>{"use strict";n.d(t,{E:()=>u,W:()=>c});var r=n(8837);const o="undefined"!=typeof Element&&"checkVisibility"in Element.prototype;function a(e,t){return o?e.checkVisibility()&&!e.closest("[data-react-aria-prevent-focus]"):"#comment"!==e.nodeName&&function(e){const t=(0,r.kR)(e);if(!(e instanceof t.HTMLElement||e instanceof t.SVGElement))return!1;let{display:n,visibility:o}
8=e.style,a="none"!==n&&"hidden"!==o&&"collapse"!==o;if(a){const{getComputedStyle:t}=e.ownerDocument.defaultView;let{display:n,visibility:r}=t(e);a="none"!==n&&"hidden"!==r&&"collapse"!==r}return a}(e)&&function(e,t){return!e.hasAttribute("hidden")&&!e.hasAttribute("data-react-aria-prevent-focus")&&("DETAILS"!==e.nodeName||!t||"SUMMARY"===t.nodeName||e.hasAttribute("open"))}(e,t)&&(!e.parentElement||a(e.parentElement,e))}const i=["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable^="false"])',"permission"],s=i.join(":not([hidden]),")+",[tabindex]:not([disabled]):not([hidden])";i.push('[tabindex]:not([tabindex="-1"]):not([disabled])');const l=i.join(':not([hidden]):not([tabindex="-1"]),');function u(e){return e.matches(s)&&a(e)&&!d(e)}function c(e){return e.matches(l)&&a(e)&&!d(e)}function d(e){let t=e;for(;null!=t;){if(t instanceof t.ownerDocument.defaultView.HTMLElement&&t.inert)return!0;t=t.parentElement}return!1}},6791:(e,t,n)=>{"use strict";function r(e,t){if(!e)return!1;let n=window.getComputedStyle(e),r=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return r&&t&&(r=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),r}n.d(t,{a:()=>r})},6301:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o,c:()=>a});var r=n(8806);function o(e){return!(""!==e.pointerType||!e.isTrusted)||((0,r.Dt)()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function a(e){return!(0,r.Dt)()&&0===e.width&&0===e.height||1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType}},1953:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(1086),o=n(8073);function a(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=a(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}const i=function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=a(e))&&(r&&(r+=" "),r+=t);return r};function s(...e){let t={...e[0]};for(let n=1;n<e.length;n++){let a=e[n];for(let e in a){let n=t[e],s=a[e];"function"==typeof n&&"function"==typeof s&&"o"===e[0]&&"n"===e[1]&&e.charCodeAt(2)>=65&&e.charCodeAt(2)<=90?t[e]=(0,r.t)(n,s):"className"!==e&&"UNSAFE_className"!==e||"string"!=typeof n||"string"!=typeof s?"id"===e&&n&&s?t.id=(0,o.ur)(n,s):t[e]=void 0!==s?s:n:t[e]=i(n,s)}}return t}},6303:(e,t,n)=>{"use strict";function r(...e){return 1===e.length&&e[0]?e[0]:t=>{let n=!1;const r=e.map((e=>{const r=o(e,t);return n||(n="function"==typeof r),r}));if(n)return()=>{r.forEach(((t,n)=>{"function"==typeof t?t():o(e[n],null)}))}}}function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}n.d(t,{l:()=>r})},8806:(e,t,n)=>{"use strict";function r(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some((t=>e.test(t.brand)))||e.test(window.navigator.userAgent)}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function a(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Dt:()=>f,Pf:()=>c,V5:()=>i,gn:()=>u,i7:()=>d,vU:()=>p,zc:()=>l});const i=a((function(){return o(/^Mac/i)})),s=a((function(){return o(/^iPhone/i)})),l=a((function(){return o(/^iPad/i)||i()&&navigator.maxTouchPoints>1})),u=a((function(){return s()||l()})),c=(a((function(){return i()||u()})),a((function(){return r(/AppleWebKit/i)&&!d()}))),d=a((function(){return r(/Chrome/i)})),f=a((function(){return r(/Android/i)})),p=a((function(){return r(/Firefox/i)}))},5007:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});let r=new Map,o=new Set;function a(){if("undefined"==typeof window)return;function e(e){return"propertyName"in e}let t=n=>{if(!e(n)||!n.target)return;let a=r.get(n.target);
8if(a&&(a.delete(n.propertyName),0===a.size&&(n.target.removeEventListener("transitioncancel",t),r.delete(n.target)),0===r.size)){for(let e of o)e();o.clear()}};document.body.addEventListener("transitionrun",(n=>{if(!e(n)||!n.target)return;let o=r.get(n.target);o||(o=new Set,r.set(n.target,o),n.target.addEventListener("transitioncancel",t,{once:!0})),o.add(n.propertyName)})),document.body.addEventListener("transitionend",t)}function i(e){requestAnimationFrame((()=>{!function(){for(const[e]of r)"isConnected"in e&&!e.isConnected&&r.delete(e)}(),0===r.size?e():o.add(e)}))}"undefined"!=typeof document&&("loading"!==document.readyState?a():document.addEventListener("DOMContentLoaded",a))},2064:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(6791);function o(e,t){let n=a(e,t,"left"),r=a(e,t,"top"),o=t.offsetWidth,i=t.offsetHeight,s=e.scrollLeft,l=e.scrollTop,{borderTopWidth:u,borderLeftWidth:c,scrollPaddingTop:d,scrollPaddingRight:f,scrollPaddingBottom:p,scrollPaddingLeft:h}=getComputedStyle(e),m=s+parseInt(c,10),g=l+parseInt(u,10),v=m+e.clientWidth,y=g+e.clientHeight,b=parseInt(d,10)||0,w=parseInt(p,10)||0,E=parseInt(f,10)||0,_=parseInt(h,10)||0;n<=s+_?s=n-parseInt(c,10)-_:n+o>v-E&&(s+=n+o-v+E),r<=g+b?l=r-parseInt(u,10)-b:r+i>y-w&&(l+=r+i-y+w),e.scrollLeft=s,e.scrollTop=l}function a(e,t,n){const r="left"===n?"offsetLeft":"offsetTop";let o=0;for(;t.offsetParent&&(o+=t[r],t.offsetParent!==e);){if(t.offsetParent.contains(e)){o-=e[r];break}t=t.offsetParent}return o}function i(e,t){if(e&&document.contains(e)){let l=document.scrollingElement||document.documentElement;if("hidden"===window.getComputedStyle(l).overflow){let t=function(e,t){const n=[];for(;e&&e!==document.documentElement;)(0,r.a)(e,t)&&n.push(e),e=e.parentElement;return n}(e);for(let n of t)o(n,e)}else{var n;let{left:r,top:o}=e.getBoundingClientRect();null==e||null===(n=e.scrollIntoView)||void 0===n||n.call(e,{block:"nearest"});let{left:l,top:u}=e.getBoundingClientRect();var a,i,s;(Math.abs(r-l)>1||Math.abs(o-u)>1)&&(null==t||null===(i=t.containingElement)||void 0===i||null===(a=i.scrollIntoView)||void 0===a||a.call(i,{block:"center",inline:"center"}),null===(s=e.scrollIntoView)||void 0===s||s.call(e,{block:"nearest"}))}}}},5700:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var r=n(9748);function o(e,t){let n=(0,r.useRef)(null);return e&&n.current&&t(e,n.current)&&(e=n.current),n.current=e,e}},1325:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var r=n(9786),o=n(9748);let a=0;const i=new Map;function s(e){let[t,n]=(0,o.useState)();return(0,r.b)((()=>{if(!e)return;let t=i.get(e);if(t)n(t.element.id);else{let r="react-aria-description-"+a++;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},i.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),i.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}},1718:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r,o=n(9786),a=n(9748);const i=null!==(r=a.default.useInsertionEffect)&&void 0!==r?r:o.b;function s(e){const t=(0,a.useRef)(null);return i((()=>{t.current=e}),[e]),(0,a.useCallback)(((...e)=>{const n=t.current;return null==n?void 0:n(...e)}),[])}},6116:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(9748);function o(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)(((t,n,r,o)=>{let a=(null==o?void 0:o.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:a,options:o}),t.addEventListener(n,a,o)}),[]),n=(0,r.useCallback)(((t,n,r,o)=>{var a;let i=(null===(a=e.current.get(r))||void 0===a?void 0:a.fn)||r;t.removeEventListener(n,i,o),e.current.delete(r)}),[]),o=(0,r.useCallback)((()=>{e.current.forEach(((e,t)=>{n(e.eventTarget,e.type,t,e.options)}))}),[n]);return(0,r.useEffect)((()=>o),[o]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:o}}},8073:(e,t,n)=>{"use strict";n.d(t,{ur:()=>d,Me:()=>c,mp:()=>f});var r=n(9786),o=n(1718),a=n(9748);var i=n(7385);let s,l=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),u=new Map;function c(e){let[t,n]=(0,a.useState)(e),o=(0,a.useRef)(null),c=(0,i.gP)(t),d=(0,a.useRef)(null);if(s&&s.register(d,c),l){const e=u.get(c);e&&!e.includes(o)?e.push(o):u.set(c,[o])}return(0,r.b)((()=>{let e=c;return()=>{s&&s.unregister(d),u.delete(e)}}),[c]),(0,a.useEffect)((()=>{let e=o.current;return e&&n(e),()=>{e&&(o.current=null)}})),c}function d(e,t){if(e===t)return e;let n=u.get(e);
8if(n)return n.forEach((e=>e.current=t)),t;let r=u.get(t);return r?(r.forEach((t=>t.current=e)),e):t}function f(e=[]){let t=c(),[n,i]=function(e){let[t,n]=(0,a.useState)(e),i=(0,a.useRef)(null),s=(0,o.i)((()=>{if(!i.current)return;let e=i.current.next();e.done?i.current=null:t===e.value?s():n(e.value)}));(0,r.b)((()=>{i.current&&s()}));let l=(0,o.i)((e=>{i.current=e(t),s()}));return[t,l]}(t),s=(0,a.useCallback)((()=>{i((function*(){yield t,yield document.getElementById(t)?t:void 0}))}),[t,i]);return(0,r.b)(s,[t,s,...e]),n}"undefined"!=typeof FinalizationRegistry&&(s=new FinalizationRegistry((e=>{u.delete(e)})))},9955:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(8073);function o(e,t){let{id:n,"aria-label":o,"aria-labelledby":a}=e;if(n=(0,r.Me)(n),a&&o){let e=new Set([n,...a.trim().split(/\s+/)]);a=[...e].join(" ")}else a&&(a=a.trim().split(/\s+/).join(" "));return o||a||!t||(o=t),{id:n,"aria-label":o,"aria-labelledby":a}}},9786:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var r=n(9748);const o="undefined"!=typeof document?r.default.useLayoutEffect:()=>{}},2970:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var r=n(9786);function o(e,t){(0,r.b)((()=>{if(e&&e.ref&&t)return e.ref.current=t.current,()=>{e.ref&&(e.ref.current=null)}}))}},9706:(e,t,n)=>{"use strict";n.d(t,{F:()=>m});var r=n(3707),o=n(8438),a=n(2174),i=n(9210),s=n(9373),l=n(9748);function u(e,t,n){return null!=t&&e.compare(t)<0||null!=n&&e.compare(n)>0}function c(e,t,n,r,o){let a={};for(let e in t)a[e]=Math.floor(t[e]/2),a[e]>0&&t[e]%2==0&&a[e]--;return p(e,d(e,t,n).subtract(a),t,n,r,o)}function d(e,t,n,o,a){let i=e;return t.years?i=(0,r.em)(e):t.months?i=(0,r.Nm)(e):t.weeks&&(i=(0,r.zJ)(e,n)),p(e,i,t,n,o,a)}function f(e,t,n,r,o){let a={...t};return t.days?a.days--:t.weeks?a.weeks--:t.months?a.months--:t.years&&a.years--,p(e,d(e,t,n).subtract(a),t,n,r,o)}function p(e,t,n,a,i,s){return i&&e.compare(i)>=0&&(t=(0,r.l7)(t,d((0,o.WG)(i),n,a))),s&&e.compare(s)<=0&&(t=(0,r.Mb)(t,f((0,o.WG)(s),n,a))),t}function h(e,t,n){return t&&(e=(0,r.l7)(e,(0,o.WG)(t))),n&&(e=(0,r.Mb)(e,(0,o.WG)(n))),e}function m(e){let t=(0,l.useMemo)((()=>new(0,a.C)(e.locale)),[e.locale]),n=(0,l.useMemo)((()=>t.resolvedOptions()),[t]),{locale:m,createCalendar:v,visibleDuration:y={months:1},minValue:b,maxValue:w,selectionAlignment:E,isDateUnavailable:_,pageBehavior:S="visible"}=e,D=(0,l.useMemo)((()=>v(n.calendar)),[v,n.calendar]),[x,P]=(0,s.z)(e.value,e.defaultValue,e.onChange),C=(0,l.useMemo)((()=>x?(0,o.Mw)((0,o.WG)(x),D):null),[x,D]),k=(0,l.useMemo)((()=>x&&"timeZone"in x?x.timeZone:n.timeZone),[x,n.timeZone]),O=(0,l.useMemo)((()=>e.focusedValue?h((0,o.Mw)((0,o.WG)(e.focusedValue),D),b,w):void 0),[e.focusedValue,D,b,w]),R=(0,l.useMemo)((()=>h(e.defaultFocusedValue?(0,o.Mw)((0,o.WG)(e.defaultFocusedValue),D):C||(0,o.Mw)((0,r.Lg)(k),D),b,w)),[e.defaultFocusedValue,C,k,D,b,w]),[T,$]=(0,s.z)(O,R,e.onFocusChange),[I,M]=(0,l.useState)((()=>{switch(E){case"start":return d(T,y,m,b,w);case"end":return f(T,y,m,b,w);default:return c(T,y,m,b,w)}})),[A,N]=(0,l.useState)(e.autoFocus||!1),j=(0,l.useMemo)((()=>{let e={...y};return e.days?e.days--:e.days=-1,I.add(e)}),[I,y]),[L,F]=(0,l.useState)(D.identifier);if(D.identifier!==L){let e=(0,o.Mw)(T,D);M(c(e,y,m,b,w)),$(e),F(D.identifier)}function V(e){e=h(e,b,w),$(e)}function U(t){if(!e.isDisabled&&!e.isReadOnly){if(!(t=function(e,t,n){if(!n)return e;for(;e.compare(t)>=0&&n(e);)e=e.subtract({days:1});return e.compare(t)>=0?e:void 0}(t=h(t,b,w),I,_)))return;t=(0,o.Mw)(t,(null==x?void 0:x.calendar)||new(0,i.IQ)),P(x&&"hour"in x?x.set(t):t)}}u(T,b,w)?$(h(T,b,w)):T.compare(I)<0?M(f(T,y,m,b,w)):T.compare(j)>0&&M(d(T,y,m,b,w));let Z=(0,l.useMemo)((()=>!!C&&(!(!_||!_(C))||u(C,b,w))),[C,_,b,w]),H=e.isInvalid||"invalid"===e.validationState||Z,B=H?"invalid":null,z=(0,l.useMemo)((()=>"visible"===S?y:g(y)),[S,y]);return{isDisabled:e.isDisabled,isReadOnly:e.isReadOnly,value:C,setValue:U,visibleRange:{start:I,end:j},minValue:b,maxValue:w,focusedDate:T,timeZone:k,validationState:B,isValueInvalid:H,setFocusedDate(e){V(e),N(!0)},focusNextDay(){V(T.add({days:1}))},focusPreviousDay(){V(T.subtract({days:1}))},focusNextRow(){y.days?this.focusNextPage():(y.weeks||y.months||y.years)&&V(T.add({weeks:1}))},focusPreviousRow(){y.days?this.focusPreviousPage():(y.weeks||y.months||y.years)&&V(T.subtract({weeks:1}))},focusNextPage(){let e=I.add(z);$(h(T.add(z),b,w)),M(d(p(T,e,z,m,b,w),z,m))},focusPreviousPage(){let e=I.subtract(z);$(h(T.subtract(z),b,w)),M(d(p(T,e,z,m,b,w),z,m))},focusSectionStart(){y.days?V(I):y.weeks?V((0,r.zJ)(T,m)):(y.months||y.years)&&V((0,r.Nm)(T))},focusSectionEnd(){y.days?V(j):y.weeks?V((0,r.vV)(T,m)):(y.months||y.years)&&V((0,r.Vf)(T))},focusNextSection(e){e||y.days?y.days?this.focusNextPage():y.weeks?V(T.add({months:1}
8)):(y.months||y.years)&&V(T.add({years:1})):V(T.add(g(y)))},focusPreviousSection(e){e||y.days?y.days?this.focusPreviousPage():y.weeks?V(T.subtract({months:1})):(y.months||y.years)&&V(T.subtract({years:1})):V(T.subtract(g(y)))},selectFocusedDate(){U(T)},selectDate(e){U(e)},isFocused:A,setFocused:N,isInvalid:e=>u(e,b,w),isSelected(e){return null!=C&&(0,r.KC)(e,C)&&!this.isCellDisabled(e)&&!this.isCellUnavailable(e)},isCellFocused:e=>A&&T&&(0,r.KC)(e,T),isCellDisabled(t){return e.isDisabled||t.compare(I)<0||t.compare(j)>0||this.isInvalid(t,b,w)},isCellUnavailable:t=>e.isDateUnavailable&&e.isDateUnavailable(t),isPreviousVisibleRangeInvalid(){let e=I.subtract({days:1});return(0,r.KC)(e,I)||this.isInvalid(e,b,w)},isNextVisibleRangeInvalid(){let e=j.add({days:1});return(0,r.KC)(e,j)||this.isInvalid(e,b,w)},getDatesInWeek(e,t=I){let n=t.add({weeks:e}),o=[];n=(0,r.zJ)(n,m);let a=(0,r.ji)(n,m);for(let e=0;e<a;e++)o.push(null);for(;o.length<7;){o.push(n);let e=n.add({days:1});if((0,r.KC)(n,e))break;n=e}for(;o.length<7;)o.push(null);return o}}}function g(e){let t={...e};for(let n in e)t[n]=1;return t}},7455:(e,t,n)=>{"use strict";n.d(t,{R:()=>g});var r=n(337);const o=new(0,n(1044).J)({ach:{year:"mwaka",month:"dwe",day:"nino"},af:{year:"jjjj",month:"mm",day:"dd"},am:{year:"ዓዓዓዓ",month:"ሚሜ",day:"ቀቀ"},an:{year:"aaaa",month:"mm",day:"dd"},ar:{year:"سنة",month:"شهر",day:"يوم"},ast:{year:"aaaa",month:"mm",day:"dd"},az:{year:"iiii",month:"aa",day:"gg"},be:{year:"гггг",month:"мм",day:"дд"},bg:{year:"гггг",month:"мм",day:"дд"},bn:{year:"yyyy",month:"মিমি",day:"dd"},br:{year:"bbbb",month:"mm",day:"dd"},bs:{year:"gggg",month:"mm",day:"dd"},ca:{year:"aaaa",month:"mm",day:"dd"},cak:{year:"jjjj",month:"ii",day:"q'q'"},ckb:{year:"ساڵ",month:"مانگ",day:"ڕۆژ"},cs:{year:"rrrr",month:"mm",day:"dd"},cy:{year:"bbbb",month:"mm",day:"dd"},da:{year:"åååå",month:"mm",day:"dd"},de:{year:"jjjj",month:"mm",day:"tt"},dsb:{year:"llll",month:"mm",day:"źź"},el:{year:"εεεε",month:"μμ",day:"ηη"},en:{year:"yyyy",month:"mm",day:"dd"},eo:{year:"jjjj",month:"mm",day:"tt"},es:{year:"aaaa",month:"mm",day:"dd"},et:{year:"aaaa",month:"kk",day:"pp"},eu:{year:"uuuu",month:"hh",day:"ee"},fa:{year:"سال",month:"ماه",day:"روز"},ff:{year:"hhhh",month:"ll",day:"ññ"},fi:{year:"vvvv",month:"kk",day:"pp"},fr:{year:"aaaa",month:"mm",day:"jj"},fy:{year:"jjjj",month:"mm",day:"dd"},ga:{year:"bbbb",month:"mm",day:"ll"},gd:{year:"bbbb",month:"mm",day:"ll"},gl:{year:"aaaa",month:"mm",day:"dd"},he:{year:"שנה",month:"חודש",day:"יום"},hr:{year:"gggg",month:"mm",day:"dd"},hsb:{year:"llll",month:"mm",day:"dd"},hu:{year:"éééé",month:"hh",day:"nn"},ia:{year:"aaaa",month:"mm",day:"dd"},id:{year:"tttt",month:"bb",day:"hh"},it:{year:"aaaa",month:"mm",day:"gg"},ja:{year:"年",month:"月",day:"日"},ka:{year:"წწწწ",month:"თთ",day:"რრ"},kk:{year:"жжжж",month:"аа",day:"кк"},kn:{year:"ವವವವ",month:"ಮಿಮೀ",day:"ದಿದಿ"},ko:{year:"연도",month:"월",day:"일"},lb:{year:"jjjj",month:"mm",day:"dd"},lo:{year:"ປປປປ",month:"ດດ",day:"ວວ"},lt:{year:"mmmm",month:"mm",day:"dd"},lv:{year:"gggg",month:"mm",day:"dd"},meh:{year:"aaaa",month:"mm",day:"dd"},ml:{year:"വർഷം",month:"മാസം",day:"തീയതി"},ms:{year:"tttt",month:"mm",day:"hh"},nb:{year:"åååå",month:"mm",day:"dd"},nl:{year:"jjjj",month:"mm",day:"dd"},nn:{year:"åååå",month:"mm",day:"dd"},no:{year:"åååå",month:"mm",day:"dd"},oc:{year:"aaaa",month:"mm",day:"jj"},pl:{year:"rrrr",month:"mm",day:"dd"},pt:{year:"aaaa",month:"mm",day:"dd"},rm:{year:"oooo",month:"mm",day:"dd"},ro:{year:"aaaa",month:"ll",day:"zz"},ru:{year:"гггг",month:"мм",day:"дд"},sc:{year:"aaaa",month:"mm",day:"dd"},scn:{year:"aaaa",month:"mm",day:"jj"},sk:{year:"rrrr",month:"mm",day:"dd"},sl:{year:"llll",month:"mm",day:"dd"},sr:{year:"гггг",month:"мм",day:"дд"},sv:{year:"åååå",month:"mm",day:"dd"},szl:{year:"rrrr",month:"mm",day:"dd"},tg:{year:"сссс",month:"мм",day:"рр"},th:{year:"ปปปป",month:"ดด",day:"วว"},tr:{year:"yyyy",month:"aa",day:"gg"},uk:{year:"рррр",month:"мм",day:"дд"},"zh-CN":{year:"年",month:"月",day:"日"},"zh-TW":{year:"年",month:"月",day:"日"}},"en");function a(e,t,n){return"era"===e||"dayPeriod"===e?t:"year"===e||"month"===e||"day"===e?o.getStringForLocale(e,n):"––"}
8var i=n(2174),s=n(3707),l=n(8438),u=n(9210),c=n(8750),d=n(9373),f=n(9748);const p={year:!0,month:!0,day:!0,hour:!0,minute:!0,second:!0,dayPeriod:!0,era:!0},h={year:5,month:2,day:7,hour:2,minute:15,second:15},m={dayperiod:"dayPeriod",relatedYear:"year",yearName:"literal",unknown:"literal"};function g(e){let{locale:t,createCalendar:n,hideTimeZone:o,isDisabled:g=!1,isReadOnly:y=!1,isRequired:b=!1,minValue:w,maxValue:E,isDateUnavailable:_}=e,S=e.value||e.defaultValue||e.placeholderValue||null,[D,x]=(0,r.iZ)(S,e.granularity),P=x||"UTC";if(S&&!(D in S))throw new Error("Invalid granularity "+D+" for value "+S.toString());let C=(0,f.useMemo)((()=>new(0,i.C)(t)),[t]),k=(0,f.useMemo)((()=>n(C.resolvedOptions().calendar)),[n,C]);var O;let[R,T]=(0,d.z)(e.value,null!==(O=e.defaultValue)&&void 0!==O?O:null,e.onChange),[$]=(0,f.useState)(R),I=(0,f.useMemo)((()=>{var e;return null!==(e=(0,r.Ai)(R,k))&&void 0!==e?e:null}),[R,k]),[M,A]=(0,f.useState)((()=>(0,r.OJ)(e.placeholderValue,D,k,x))),N=I||M,j="gregory"===k.identifier&&"BC"===N.era,L=(0,f.useMemo)((()=>{var t;return{granularity:D,maxGranularity:null!==(t=e.maxGranularity)&&void 0!==t?t:"year",timeZone:x,hideTimeZone:o,hourCycle:e.hourCycle,showEra:j,shouldForceLeadingZeros:e.shouldForceLeadingZeros}}),[e.maxGranularity,D,e.hourCycle,e.shouldForceLeadingZeros,x,o,j]),F=(0,f.useMemo)((()=>(0,r.oE)({},L)),[L]),V=(0,f.useMemo)((()=>new(0,i.C)(t,F)),[t,F]),U=(0,f.useMemo)((()=>V.resolvedOptions()),[V]),Z=(0,f.useMemo)((()=>V.formatToParts(new Date).filter((e=>p[e.type])).reduce(((e,t)=>(e[m[t.type]||t.type]=!0,e)),{})),[V]),[H,B]=(0,f.useState)((()=>e.value||e.defaultValue?{...Z}:{})),z=(0,f.useRef)(null),W=(0,f.useRef)(k);(0,f.useEffect)((()=>{(0,s.jv)(k,W.current)||(W.current=k,A((t=>Object.keys(H).length>0?(0,l.Mw)(t,k):(0,r.OJ)(e.placeholderValue,D,k,x))))}),[k,D,H,x,e.placeholderValue]),R&&Object.keys(H).length<Object.keys(Z).length&&(H={...Z},B(H)),null==R&&Object.keys(H).length===Object.keys(Z).length&&(H={},B(H),A((0,r.OJ)(e.placeholderValue,D,k,x)));let K=I&&Object.keys(H).length>=Object.keys(Z).length?I:M,q=t=>{if(e.isDisabled||e.isReadOnly)return;let n=Object.keys(H),o=Object.keys(Z);null==t?(T(null),A((0,r.OJ)(e.placeholderValue,D,k,x)),B({})):0===n.length&&null==z.current||n.length>=o.length||n.length===o.length-1&&Z.dayPeriod&&!H.dayPeriod&&"dayPeriod"!==z.current?(0===n.length&&(H={...Z},B(H)),t=(0,l.Mw)(t,(null==S?void 0:S.calendar)||new(0,u.IQ)),T(t)):A(t),z.current=null},Y=(0,f.useMemo)((()=>K.toDate(P)),[K,P]),G=(0,f.useMemo)((()=>function(e,t,n,r,o,i,s,l){let u=["hour","minute","second"],c=n.formatToParts(e),d=[];for(let e of c){let n=m[e.type]||e.type,c=p[n];"era"===n&&1===i.getEras().length&&(c=!1);let f=p[n]&&!t[n],h=p[n]?a(n,e.value,s):null,g={type:n,text:f?h:e.value,...v(o,n,r),isPlaceholder:f,placeholder:h,isEditable:c};"hour"===n?(d.push({type:"literal",text:"⁦",...v(o,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1}),d.push(g),n===l&&d.push({type:"literal",text:"⁩",...v(o,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1})):u.includes(n)&&n===l?(d.push(g),d.push({type:"literal",text:"⁩",...v(o,"literal",r),isPlaceholder:!1,placeholder:"",isEditable:!1})):d.push(g)}return d}(Y,H,V,U,K,k,t,D)),[Y,H,V,U,K,k,t,D]);Z.era&&H.year&&!H.era?(H.era=!0,B({...H})):!Z.era&&H.era&&(delete H.era,B({...H}));let J=e=>{H[e]=!0,"year"===e&&Z.era&&(H.era=!0),B({...H})},Q=(e,t)=>{if(H[e])q(function(e,t,n,r){switch(t){case"era":case"year":case"month":case"day":return e.cycle(t,n,{round:"year"===t})}if("hour"in e)switch(t){case"dayPeriod":{let t=e.hour,n=t>=12;return e.set({hour:n?t-12:t+12})}case"hour":case"minute":case"second":return e.cycle(t,n,{round:"hour"!==t,hourCycle:r.hour12?12:24})}throw new Error("Unknown segment: "+t)}(K,e,t,U));else{J(e);let t=Object.keys(H),n=Object.keys(Z);(t.length>=n.length||t.length===n.length-1&&Z.dayPeriod&&!H.dayPeriod)&&q(K)}},X=(0,f.useMemo)((()=>(0,r.p2)(R,w,E,_,L)),[R,w,E,_,L]),ee=(0,c.Q3)({...e,value:R,builtinValidation:X}),te=ee.displayValidation.isInvalid,ne=e.validationState||(te?"invalid":null);var re,oe;return{...ee,value:I,defaultValue:null!==(re=e.defaultValue)&&void 0!==re?re:$,dateValue:Y,calendar:k,setValue:q,segments:G,dateFormatter:V,validationState:ne,isInvalid:te,granularity:D,maxGranularity:null!==(oe=e.maxGranularity)&&void 0!==oe?oe:"year",isDisabled:g,isReadOnly:y,isRequired:b,increment(e){Q(e,1)}
8,decrement(e){Q(e,-1)},incrementPage(e){Q(e,h[e]||1)},decrementPage(e){Q(e,-(h[e]||1))},setSegment(e,t){J(e),q(function(e,t,n,r){switch(t){case"day":case"month":case"year":case"era":return e.set({[t]:n})}if("hour"in e&&"number"==typeof n)switch(t){case"dayPeriod":{let t=e.hour,r=t>=12;return n>=12===r?e:e.set({hour:r?t-12:t+12})}case"hour":if(r.hour12){let t=e.hour>=12;t||12!==n||(n=0),t&&n<12&&(n+=12)}case"minute":case"second":return e.set({[t]:n})}throw new Error("Unknown segment: "+t)}(K,e,t,U))},confirmPlaceholder(){if(e.isDisabled||e.isReadOnly)return;let t=Object.keys(H),n=Object.keys(Z);t.length===n.length-1&&Z.dayPeriod&&!H.dayPeriod&&(H={...Z},B(H),q(K.copy()))},clearSegment(t){delete H[t],z.current=t,B({...H});let n=(0,r.OJ)(e.placeholderValue,D,k,x),o=K;if("dayPeriod"===t&&"hour"in K&&"hour"in n){let e=K.hour>=12,t=n.hour>=12;e&&!t?o=K.set({hour:K.hour-12}):!e&&t&&(o=K.set({hour:K.hour+12}))}else"hour"===t&&"hour"in K&&K.hour>=12&&H.dayPeriod?o=K.set({hour:n.hour+12}):t in K&&(o=K.set({[t]:n[t]}));T(null),q(o)},formatValue(e){if(!I)return"";let n=(0,r.oE)(e,L);return new(0,i.C)(t,n).format(Y)},getDateFormatter(e,t){let n={...L,...t},o=(0,r.oE)({},n);return new(0,i.C)(e,o)}}}function v(e,t,n){switch(t){case"era":{let t=e.calendar.getEras();return{value:t.indexOf(e.era),minValue:0,maxValue:t.length-1}}case"year":return{value:e.year,minValue:1,maxValue:e.calendar.getYearsInEra(e)};case"month":return{value:e.month,minValue:(0,s.jx)(e),maxValue:e.calendar.getMonthsInYear(e)};case"day":return{value:e.day,minValue:(0,s.PA)(e),maxValue:e.calendar.getDaysInMonth(e)}}if("hour"in e)switch(t){case"dayPeriod":return{value:e.hour>=12?12:0,minValue:0,maxValue:12};case"hour":if(n.hour12){let t=e.hour>=12;return{value:e.hour,minValue:t?12:0,maxValue:t?23:11}}return{value:e.hour,minValue:0,maxValue:23};case"minute":return{value:e.minute,minValue:0,maxValue:59};case"second":return{value:e.second,minValue:0,maxValue:59}}return{}}},7505:(e,t,n)=>{"use strict";n.d(t,{N:()=>u});var r=n(337),o=n(8438),a=n(2174),i=n(8750),s=n(9748),l=n(9373);function u(e){let t=function(e){let[t,n]=(0,l.z)(e.isOpen,e.defaultOpen||!1,e.onOpenChange);const r=(0,s.useCallback)((()=>{n(!0)}),[n]),o=(0,s.useCallback)((()=>{n(!1)}),[n]),a=(0,s.useCallback)((()=>{n(!t)}),[n,t]);return{isOpen:t,setOpen:n,open:r,close:o,toggle:a}}(e),[n,u]=(0,l.z)(e.value,e.defaultValue||null,e.onChange),[c]=(0,s.useState)(n),d=n||e.placeholderValue||null,[f,p]=(0,r.iZ)(d,e.granularity),h=null!=n?n.toDate(null!=p?p:"UTC"):null,m="hour"===f||"minute"===f||"second"===f;var g;let v=null===(g=e.shouldCloseOnSelect)||void 0===g||g,[y,b]=(0,s.useState)(null),[w,E]=(0,s.useState)(null);if(n&&(y=n,"hour"in n&&(w=n)),d&&!(f in d))throw new Error("Invalid granularity "+f+" for value "+d.toString());let _="gregory"===(null==n?void 0:n.calendar.identifier)&&"BC"===n.era,S=(0,s.useMemo)((()=>({granularity:f,timeZone:p,hideTimeZone:e.hideTimeZone,hourCycle:e.hourCycle,shouldForceLeadingZeros:e.shouldForceLeadingZeros,showEra:_})),[f,e.hourCycle,e.shouldForceLeadingZeros,p,e.hideTimeZone,_]),{minValue:D,maxValue:x,isDateUnavailable:P}=e,C=(0,s.useMemo)((()=>(0,r.p2)(n,D,x,P,S)),[n,D,x,P,S]),k=(0,i.Q3)({...e,value:n,builtinValidation:C}),O=k.displayValidation.isInvalid,R=e.validationState||(O?"invalid":null),T=(e,t)=>{u("timeZone"in t?t.set((0,o.WG)(e)):(0,o.IO)(e,t)),b(null),E(null),k.commitValidation()};var $;return{...k,value:n,defaultValue:null!==($=e.defaultValue)&&void 0!==$?$:c,setValue:u,dateValue:y,timeValue:w,setDateValue:n=>{let o="function"==typeof v?v():v;m?w||o?T(n,w||(0,r.zu)(e.defaultValue||e.placeholderValue)):b(n):(u(n),k.commitValidation()),o&&t.setOpen(!1)},setTimeValue:e=>{y&&e?T(y,e):E(e)},granularity:f,hasTime:m,...t,setOpen(o){!o&&!n&&y&&m&&T(y,w||(0,r.zu)(e.defaultValue||e.placeholderValue)),t.setOpen(o)},validationState:R,isInvalid:O,formatValue(e,t){if(!h)return"";let n=(0,r.oE)(t,S);return new(0,a.C)(e,n).format(h)},getDateFormatter(e,t){let n={...S,...t},o=(0,r.oE)({},n);return new(0,a.C)(e,o)}}}},337:(e,t,n)=>{"use strict";var r;n.d(t,{Ai:()=>y,OJ:()=>b,oE:()=>g,zu:()=>v,p2:()=>p,iZ:()=>w}),r={"ar-AE":{rangeOverflow:e=>`يجب أن تكون القيمة ${e.maxValue} أو قبل ذلك.`,rangeReversed:"تاريخ البدء يجب أن يكون قبل تاريخ الانتهاء.",rangeUnderflow:e=>`يجب أن تكون القيمة ${e.minValue} أو بعد ذلك.`,unavailableDate:"البيانات المحددة غير متاحة."},"bg-BG":{rangeOverflow:e=>`Стойността трябва да е ${e.maxValue} или по-ранна.`,rangeReversed:"Началната дата трябва да е преди крайната.",rangeUnderflow:e=>`Стойността трябва да е ${e.minValue} или по-късно.`,unavailableDate:"Избраната дата не е налична."},"cs-CZ":{rangeOverflow:e=>`Hodnota musí být ${e.maxValue} nebo dřívější.`,rangeReversed:"Datum zahájení musí předcházet datu ukončení.",rangeUnderflow:e=>`Hodnota musí být ${e.minValue} nebo pozdější.`,unavailableDate:"Vybrané datum není k dispozici."},"da-DK":{rangeOverflow:e=>`Værdien skal være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen skal være før slutdatoen.",rangeUnderflow:e=>`Værdien skal være ${e.minValue} eller nyere.`,unavailableDate:"Den valgte dato er ikke tilgængelig."},"de-DE":{rangeOverflow:e=>`Der Wert muss ${e.maxValue} oder früher sein.`,rangeReversed:"Das Startdatum muss vor dem Enddatum liegen.",rangeUnderflow:e=>`Der Wert muss ${e.minValue} oder später sein.`,unavailableDate:"Das ausgewählte Datum ist nicht verfügbar."},"el-GR":{rangeOverflow:e=>`Η τιμή πρέπει να είναι ${e.maxValue} ή παλαιότερη.`,rangeReversed:"Η ημερομηνία έναρξης πρέπει να είναι πριν από την ημερομηνία λήξης.",rangeUnderflow:e=>`Η τιμή πρέπει να είναι ${e.minValue} ή μεταγενέστερη.`,unavailableDate:"Η επιλεγμένη ημερομηνία δεν είναι διαθέσιμη."},"en-US":{rangeUnderflow:e=>`Value must be ${e.minValue} or later.`,rangeOverflow:e=>`Value must be ${e.maxValue} or earlier.`,rangeReversed:"Start date must be before end date.",unavailableDate:"Selected date unavailable."},"es-ES":{rangeOverflow:e=>`El valor debe ser ${e.maxValue} o anterior.`,rangeReversed:"La fecha de inicio debe ser anterior a la fecha de finalización.",rangeUnderflow:e=>`El valor debe ser ${e.minValue}
8 o posterior.`,unavailableDate:"Fecha seleccionada no disponible."},"et-EE":{rangeOverflow:e=>`Väärtus peab olema ${e.maxValue} või varasem.`,rangeReversed:"Alguskuupäev peab olema enne lõppkuupäeva.",rangeUnderflow:e=>`Väärtus peab olema ${e.minValue} või hilisem.`,unavailableDate:"Valitud kuupäev pole saadaval."},"fi-FI":{rangeOverflow:e=>`Arvon on oltava ${e.maxValue} tai sitä aikaisempi.`,rangeReversed:"Aloituspäivän on oltava ennen lopetuspäivää.",rangeUnderflow:e=>`Arvon on oltava ${e.minValue} tai sitä myöhäisempi.`,unavailableDate:"Valittu päivämäärä ei ole käytettävissä."},"fr-FR":{rangeOverflow:e=>`La valeur doit être ${e.maxValue} ou antérieure.`,rangeReversed:"La date de début doit être antérieure à la date de fin.",rangeUnderflow:e=>`La valeur doit être ${e.minValue} ou ultérieure.`,unavailableDate:"La date sélectionnée n’est pas disponible."},"he-IL":{rangeOverflow:e=>`הערך חייב להיות ${e.maxValue} או מוקדם יותר.`,rangeReversed:"תאריך ההתחלה חייב להיות לפני תאריך הסיום.",rangeUnderflow:e=>`הערך חייב להיות ${e.minValue} או מאוחר יותר.`,unavailableDate:"התאריך הנבחר אינו זמין."},"hr-HR":{rangeOverflow:e=>`Vrijednost mora biti ${e.maxValue} ili ranije.`,rangeReversed:"Datum početka mora biti prije datuma završetka.",rangeUnderflow:e=>`Vrijednost mora biti ${e.minValue} ili kasnije.`,unavailableDate:"Odabrani datum nije dostupan."},"hu-HU":{rangeOverflow:e=>`Az értéknek ${e.maxValue} vagy korábbinak kell lennie.`,rangeReversed:"A kezdő dátumnak a befejező dátumnál korábbinak kell lennie.",rangeUnderflow:e=>`Az értéknek ${e.minValue} vagy későbbinek kell lennie.`,unavailableDate:"A kiválasztott dátum nem érhető el."},"it-IT":{rangeOverflow:e=>`Il valore deve essere ${e.maxValue} o precedente.`,rangeReversed:"La data di inizio deve essere antecedente alla data di fine.",rangeUnderflow:e=>`Il valore deve essere ${e.minValue} o successivo.`,unavailableDate:"Data selezionata non disponibile."},"ja-JP":{rangeOverflow:e=>`値は ${e.maxValue} 以下にする必要があります。`,rangeReversed:"開始日は終了日より前にする必要があります。",rangeUnderflow:e=>`値は ${e.minValue} 以上にする必要があります。`,unavailableDate:"選択した日付は使用できません。"},"ko-KR":{rangeOverflow:e=>`값은 ${e.maxValue} 이전이어야 합니다.`,rangeReversed:"시작일은 종료일 이전이어야 합니다.",rangeUnderflow:e=>`값은 ${e.minValue} 이상이어야 합니다.`,unavailableDate:"선택한 날짜를 사용할 수 없습니다."},"lt-LT":{rangeOverflow:e=>`Reikšmė turi būti ${e.maxValue} arba ankstesnė.`,rangeReversed:"Pradžios data turi būti ankstesnė nei pabaigos data.",rangeUnderflow:e=>`Reikšmė turi būti ${e.minValue} arba naujesnė.`,unavailableDate:"Pasirinkta data nepasiekiama."},"lv-LV":{rangeOverflow:e=>`Vērtībai ir jābūt ${e.maxValue} vai agrākai.`,rangeReversed:"Sākuma datumam ir jābūt pirms beigu datuma.",rangeUnderflow:e=>`Vērtībai ir jābūt ${e.minValue} vai vēlākai.`,unavailableDate:"Atlasītais datums nav pieejams."},"nb-NO":{rangeOverflow:e=>`Verdien må være ${e.maxValue} eller tidligere.`,rangeReversed:"Startdatoen må være før sluttdatoen.",rangeUnderflow:e=>`Verdien må være ${e.minValue} eller senere.`,unavailableDate:"Valgt dato utilgjengelig."},"nl-NL":{rangeOverflow:e=>`Waarde moet ${e.maxValue} of eerder zijn.`,rangeReversed:"De startdatum moet voor de einddatum liggen.",rangeUnderflow:e=>`Waarde moet ${e.minValue} of later zijn.`,unavailableDate:"Geselecteerde datum niet beschikbaar."},"pl-PL":{rangeOverflow:e=>`Wartość musi mieć wartość ${e.maxValue} lub wcześniejszą.`,rangeReversed:"Data rozpoczęcia musi być wcześniejsza niż data zakończenia.",rangeUnderflow:e=>`Wartość musi mieć wartość ${e.minValue} lub późniejszą.`,unavailableDate:"Wybrana data jest niedostępna."},"pt-BR":{rangeOverflow:e=>`O valor deve ser ${e.maxValue} ou anterior.`,rangeReversed:"A data inicial deve ser anterior à data final.",rangeUnderflow:e=>`O valor deve ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."},"pt-PT":{rangeOverflow:e=>`O valor tem de ser ${e.maxValue} ou anterior.`,rangeReversed:"A data de início deve ser anterior à data de fim.",rangeUnderflow:e=>`O valor tem de ser ${e.minValue} ou posterior.`,unavailableDate:"Data selecionada indisponível."},"ro-RO":{rangeOverflow:e=>`Valoarea trebuie să fie ${e.maxValue} sau anterioară.`,rangeReversed:"Data de început trebuie să fie anterioară datei de sfârșit.",rangeUnderflow:e=>`Valoarea trebuie să fie ${e.minValue} sau ulterioară.`,unavailableDate:"Data selectată nu este disponibilă."},"ru-RU":{rangeOverflow:e=>`Значение должно быть не позже ${e.maxValue}.`,rangeReversed:"Дата начала должна предшествовать дате окончания.",rangeUnderflow:e=>`Значение должно быть не раньше ${e.minValue}.`,unavailableDate:"Выбранная дата недоступна."},"sk-SK":{rangeOverflow:e=>`Hodnota musí byť ${e.maxValue} alebo skoršia.`,rangeReversed:"Dátum začiatku musí byť skorší ako dátum konca.",rangeUnderflow:e=>`Hodnota musí byť ${e.minValue} alebo neskoršia.`,unavailableDate:"Vybratý dátum je nedostupný."},"sl-SI":{rangeOverflow:e=>`Vrednost mora biti ${e.maxValue} ali starejša.`,rangeReversed:"Začetni datum mora biti pred končnim datumom.",rangeUnderflow:e=>`Vrednost mora biti ${e.minValue} ali novejša.`,unavailableDate:"Izbrani datum ni na voljo."},"sr-SP":{rangeOverflow:e=>`Vrednost mora da bude ${e.maxValue} ili starija.`,rangeReversed:"Datum početka mora biti pre datuma završetka.",rangeUnderflow:e=>`Vrednost mora da bude ${e.minValue} ili novija.`,unavailableDate:"Izabrani datum nije dostupan."},"sv-SE":{rangeOverflow:e=>`Värdet måste vara ${e.maxValue} eller tidigare.`,rangeReversed:"Startdatumet måste vara före slutdatumet.",rangeUnderflow:e=>`Värdet måste vara ${e.minValue} eller senare.`,unavailableDate:"Det valda datumet är inte tillgängligt."},"tr-TR":{rangeOverflow:e=>`Değer, ${e.maxValue} veya öncesi olmalıdır.`,rangeReversed:"Başlangıç tarihi bitiş tarihinden önce olmalıdır.",rangeUnderflow:e=>`Değer, ${e.minValue} veya sonrası olmalıdır.`,unavailableDate:"Seçilen tarih kullanılamıyor."},"uk-UA":{rangeOverflow:e=>`Значення має бути не пізніше ${e.maxValue}.`,rangeReversed:"Дата початку має передувати даті завершення.",rangeUnderflow:e=>`Значення має бути не раніше ${e.minValue}.`,unavailableDate:"Вибрана дата недоступна."},"zh-CN":{rangeOverflow:e=>`值必须是 ${e.maxValue} 或更早日期。`,rangeReversed:"开始日期必须早于结束日期。",rangeUnderflow:e=>`值必须是 ${e.minValue} 或更晚日期。`,unavailableDate:"所选日期不可用。"},"zh-TW":{rangeOverflow:e=>`值必須是 ${e.maxValue} 或更早。`,rangeReversed:"開始日期必須在結束日期之前。",rangeUnderflow:e=>`值必須是 ${e.minValue} 或更晚。`,unavailableDate:"所選日期無法使用。"}};
8var o=n(2174),a=n(1602),i=n(8438),s=n(3707),l=n(1044),u=n(1839),c=n(9748);const d=new(0,l.J)((f=r)&&f.__esModule?f.default:f);var f;function p(e,t,n,r,a){let i=null!=e&&null!=n&&e.compare(n)>0,s=null!=e&&null!=t&&e.compare(t)<0,c=null!=e&&(null==r?void 0:r(e))||!1,f=i||s||c,p=[];if(f){let e=function(){let e="undefined"!=typeof navigator&&(navigator.language||navigator.userLanguage)||"en-US";try{Intl.DateTimeFormat.supportedLocalesOf([e])}catch{e="en-US"}return e}(),r=l.J.getGlobalDictionaryForPackage("@react-stately/datepicker")||d,f=new(0,u.E)(e,r),h=new(0,o.C)(e,g({},a)),m=h.resolvedOptions().timeZone;s&&null!=t&&p.push(f.format("rangeUnderflow",{minValue:h.format(t.toDate(m))})),i&&null!=n&&p.push(f.format("rangeOverflow",{maxValue:h.format(n.toDate(m))})),c&&p.push(f.format("unavailableDate"))}return{isInvalid:f,validationErrors:p,validationDetails:{badInput:c,customError:!1,patternMismatch:!1,rangeOverflow:i,rangeUnderflow:s,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!f}}}const h={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"2-digit",second:"2-digit"},m={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};function g(e,t){let n=t.shouldForceLeadingZeros?m:h;e={...n,...e};let r=t.granularity||"minute",o=Object.keys(e);var a;let i=o.indexOf(null!==(a=t.maxGranularity)&&void 0!==a?a:"year");i<0&&(i=0);let s=o.indexOf(r);if(s<0&&(s=2),i>s)throw new Error("maxGranularity must be greater than granularity");let l=o.slice(i,s+1).reduce(((t,n)=>(t[n]=e[n],t)),{});return null!=t.hourCycle&&(l.hour12=12===t.hourCycle),l.timeZone=t.timeZone||"UTC",("hour"===r||"minute"===r||"second"===r)&&t.timeZone&&!t.hideTimeZone&&(l.timeZoneName="short"),t.showEra&&0===i&&(l.era="short"),l}function v(e){return e&&"hour"in e?e:new(0,a.qp)}function y(e,t){return null===e?null:e?(0,i.Mw)(e,t):void 0}function b(e,t,n,r){if(e)return y(e,n);let o=(0,i.Mw)((0,s.zO)(null!=r?r:(0,s.iT)()).set({hour:0,minute:0,second:0,millisecond:0}),n);return"year"===t||"month"===t||"day"===t?(0,i.WG)(o):r?o:(0,i.IO)(o)}function w(e,t){let n=e&&"timeZone"in e?e.timeZone:void 0,r=e&&"minute"in e?"minute":"day";if(e&&t&&!(t in e))throw new Error("Invalid granularity "+t+" for value "+e.toString());let[o,a]=(0,c.useState)([r,n]);return!e||o[0]===r&&o[1]===n||a([r,n]),t||(t=e?r:o[0]),[t,e?n:o[1]]}},8518:(e,t,n)=>{"use strict";n.d(t,{Wr:()=>o});let r=!1;function o(){return r}},8750:(e,t,n)=>{"use strict";n.d(t,{Q3:()=>u,tL:()=>l});var r=n(9748);const o={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1,valid:!0},a={...o,customError:!0,valid:!1},i={isInvalid:!1,validationDetails:o,validationErrors:[]},s=(0,r.createContext)({}),l="__formValidationState"+Date.now();function u(e){if(e[l]){let{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}=e[l];return{realtimeValidation:t,displayValidation:n,updateValidation:r,resetValidation:o,commitValidation:a}}return function(e){let{isInvalid:t,validationState:n,name:o,value:l,builtinValidation:u,validate:p,validationBehavior:h="aria"}=e;n&&(t||(t="invalid"===n));let m=void 0!==t?{isInvalid:t,validationErrors:[],validationDetails:a}:null,g=(0,r.useMemo)((()=>{if(!p||null==l)return null;let e=function(e,t){if("function"==typeof e){let n=e(t);if(n&&"boolean"!=typeof n)return c(n)}return[]}(p,l);return d(e)}),[p,l]);(null==u?void 0:u.validationDetails.valid)&&(u=void 0);let v=(0,r.useContext)(s),y=(0,r.useMemo)((()=>o?Array.isArray(o)?o.flatMap((e=>c(v[e]))):c(v[o]):[]),[v,o]),[b,w]=(0,r.useState)(v),[E,_]=(0,r.useState)(!1);v!==b&&(w(v),_(!1));let S=(0,r.useMemo)((()=>d(E?[]:y)),[E,y]),D=(0,r.useRef)(i),[x,P]=(0,r.useState)(i),C=(0,r.useRef)(i),[k,O]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{if(!k)return;O(!1);let e=g||u||D.current;f(e,C.current)||(C.current=e,P(e))})),{realtimeValidation:m||S||g||u||i,displayValidation:"native"===h?m||S||x:m||S||g||u||x,updateValidation(e){"aria"!==h||f(x,e)?D.
8current=e:P(e)},resetValidation(){let e=i;f(e,C.current)||(C.current=e,P(e)),"native"===h&&O(!1),_(!0)},commitValidation(){"native"===h&&O(!0),_(!0)}}}(e)}function c(e){return e?Array.isArray(e)?e:[e]:[]}function d(e){return e.length?{isInvalid:!0,validationErrors:e,validationDetails:a}:null}function f(e,t){return e===t||!!e&&!!t&&e.isInvalid===t.isInvalid&&e.validationErrors.length===t.validationErrors.length&&e.validationErrors.every(((e,n)=>e===t.validationErrors[n]))&&Object.entries(e.validationDetails).every((([e,n])=>t.validationDetails[e]===n))}},9373:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var r=n(9748);function o(e,t,n){let[o,a]=(0,r.useState)(e||t),i=(0,r.useRef)(void 0!==e),s=void 0!==e;(0,r.useEffect)((()=>{i.current,i.current=s}),[s]);let l=s?e:o,u=(0,r.useCallback)(((e,...t)=>{let r=(e,...t)=>{n&&(Object.is(l,e)||n(e,...t)),s||(l=e)};"function"==typeof e?a(((n,...o)=>{let a=e(s?l:n,...o);return r(a,...t),s?n:a})):(s||a(e),r(e,...t))}),[s,l,n]);return[l,u]}},1076:(e,t,n)=>{"use strict";function r(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}n.d(t,{_:()=>r})},3351:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>d});const r="object"==typeof self?self:globalThis,o=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),o=a=>{if(e.has(a))return e.get(a);const[i,s]=t[a];switch(i){case 0:case-1:return n(s,a);case 1:{const e=n([],a);for(const t of s)e.push(o(t));return e}case 2:{const e=n({},a);for(const[t,n]of s)e[o(t)]=o(n);return e}case 3:return n(new Date(s),a);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),a)}case 5:{const e=n(new Map,a);for(const[t,n]of s)e.set(o(t),o(n));return e}case 6:{const e=n(new Set,a);for(const t of s)e.add(o(t));return e}case 7:{const{name:e,message:t}=s;return n(new r[e](t),a)}case 8:return n(BigInt(s),a);case"BigInt":return n(Object(BigInt(s)),a)}return n(new r[i](s),a)};return o}
8)(new Map,e)(0),a="",{toString:i}={},{keys:s}=Object,l=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=i.call(e).slice(8,-1);switch(n){case"Array":return[1,a];case"Object":return[2,a];case"Date":return[3,a];case"RegExp":return[4,a];case"Map":return[5,a];case"Set":return[6,a]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},u=([e,t])=>0===e&&("function"===t||"symbol"===t),c=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},a=r=>{if(n.has(r))return n.get(r);let[i,c]=l(r);switch(i){case 0:{let t=r;switch(c){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+c);t=null;break;case"undefined":return o([-1],r)}return o([i,t],r)}case 1:{if(c)return o([c,[...r]],r);const e=[],t=o([i,e],r);for(const t of r)e.push(a(t));return t}case 2:{if(c)switch(c){case"BigInt":return o([c,r.toString()],r);case"Boolean":case"Number":case"String":return o([c,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());const n=[],d=o([i,n],r);for(const t of s(r))!e&&u(l(r[t]))||n.push([a(t),a(r[t])]);return d}case 3:return o([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([i,{source:e,flags:t}],r)}case 5:{const t=[],n=o([i,t],r);for(const[n,o]of r)(e||!u(l(n))&&!u(l(o)))&&t.push([a(n),a(o)]);return n}case 6:{const t=[],n=o([i,t],r);for(const n of r)!e&&u(l(n))||t.push(a(n));return n}}const{message:d}=r;return o([i,{name:c,message:d}],r)};return a})(!(t||n),!!t,new Map,r)(e),r},d="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?o(c(e,t)):structuredClone(e):(e,t)=>o(c(e,t))},7311:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o,du:()=>r.domToReact,e_:()=>r.attributesToProps});var r=n(3426);const o=r.default||r},1955:(e,t,n)=>{"use strict";function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{Z:()=>o});var o=function e(t,n){function o(e,o,a){if("undefined"!=typeof document){"number"==typeof(a=r({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var i="";for(var s in a)a[s]&&(i+="; "+s,!0!==a[s]&&(i+="="+a[s].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+i}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var a=n[o].split("="),i=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(r[s]=t.read(i,s),e===s)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},8311:(e,t,n)=>{"use strict";n.d(t,{HY:()=>r.HY,tZ:()=>a,BX:()=>a}),n(9748);var r=n(6400),o=0;function a(e,t,n,a,i,s){var l,u,c={};for(u in t)"ref"==u?l=t[u]:c[u]=t[u];var d={type:e,props:c,key:n,ref:l,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--o,__source:i,__self:s};if("function"==typeof e&&(l=e.defaultProps))for(u in l)void 0===c[u]&&(c[u]=l[u]);return r.YM.vnode&&r.YM.vnode(d),d}},4775:e=>{"use strict";e.exports=JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#","description":"Meta-schema for $data reference (JSON AnySchema extension proposal)","type":"object","required":["$data"],"properties":{"$data":{"type":"string","anyOf":[{"format":"relative-json-pointer"},{"format":"json-pointer"}]}},"additionalProperties":false}')},98:e=>{"use strict";e.exports=JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#","$id":"http://json-schema.org/draft-07/schema#","title":"Core schema meta-schema","definitions":{"schemaArray":{"type":"array","minItems":1,"items":{"$ref":"#"}},"nonNegativeInteger":{"type":"integer","minimum":0},"nonNegativeIntegerDefault0":{"allOf":[{"$ref":"#/definitions/nonNegativeInteger"},{"default":0}]},"simpleTypes":{"enum":["array","boolean","integer","null","number","object","string"]},"stringArray":{"type":"array","items":{"type":"string"},"uniqueItems":true,"default":[]}},"type":["object","boolean"],"properties":{"$id":{"type":"string","format":"uri-reference"},"$schema":{"type":"string","format":"uri"},"$ref":{"type":"string","format":"uri-reference"},"$comment":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"default":true,"readOnly":{"type":"boolean","default":false},"examples":{"type":"array","items":true},"multipleOf":{"type":"number","exclusiveMinimum":0},"maximum":{"type":"number"},"exclusiveMaximum":{"type":"number"},"minimum":{"type":"number"},"exclusiveMinimum":{"type":"number"},"maxLength":{"$ref":"#/definitions/nonNegativeInteger"},"minLength":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"pattern":{"type":"string","format":"regex"},"additionalItems":{"$ref":"#"},"items":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/schemaArray"}],"default":true}
vendor: 1,401 bytes, line 8
8,"maxItems":{"$ref":"#/definitions/nonNegativeInteger"},"minItems":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"uniqueItems":{"type":"boolean","default":false},"contains":{"$ref":"#"},"maxProperties":{"$ref":"#/definitions/nonNegativeInteger"},"minProperties":{"$ref":"#/definitions/nonNegativeIntegerDefault0"},"required":{"$ref":"#/definitions/stringArray"},"additionalProperties":{"$ref":"#"},"definitions":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"properties":{"type":"object","additionalProperties":{"$ref":"#"},"default":{}},"patternProperties":{"type":"object","additionalProperties":{"$ref":"#"},"propertyNames":{"format":"regex"},"default":{}},"dependencies":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#"},{"$ref":"#/definitions/stringArray"}]}},"propertyNames":{"$ref":"#"},"const":true,"enum":{"type":"array","items":true,"minItems":1,"uniqueItems":true},"type":{"anyOf":[{"$ref":"#/definitions/simpleTypes"},{"type":"array","items":{"$ref":"#/definitions/simpleTypes"},"minItems":1,"uniqueItems":true}]},"format":{"type":"string"},"contentMediaType":{"type":"string"},"contentEncoding":{"type":"string"},"if":{"$ref":"#"},"then":{"$ref":"#"},"else":{"$ref":"#"},"allOf":{"$ref":"#/definitions/schemaArray"},"anyOf":{"$ref":"#/definitions/schemaArray"},"oneOf":{"$ref":"#/definitions/schemaArray"},"not":{"$ref":"#"}},"default":true}')}}]);

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.