1(self.webpackChunkhost=self.webpackChunkhost||[]).push([[3735,4797,8792],{711:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return l}});let o=n(50002),i=n(49538);function l(e,t){return(0,i.normalizePathTrailingSlash)((0,o.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1272:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"denormalizePagePath",{enumerable:!0,get:function(){return l}});let o=n(74962),i=n(37916);function l(e){let t=(0,i.normalizePathSep)(e);return t.startsWith("/index/")&&!(0,o.isDynamicRoute)(t)?t.slice(6):"/index"!==t?t:"/"}},2381:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var o=n(59065),i=n(3517),l=n(46475),s=n(37725),u=n(72370),c=o.forwardRef((e,t)=>{var n;let{container:c,...d}=e,[f,h]=o.useState(!1);(0,s.N)(()=>h(!0),[]);let p=c||f&&(null==(n=null==globalThis?void 0:globalThis.document)?void 0:n.body);return p?i.createPortal(u.j.jsx(l.s.div,{...d,ref:t}),p):null});c.displayName="Portal"},2438:function(e,t,n){"use strict";function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var i={__proto__:null},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var u=l?Object.getOwnPropertyDescriptor(e,s):null;u&&(u.get||u.set)?Object.defineProperty(i,s,u):i[s]=e[s]}return i.default=e,n&&n.set(e,i),i}n.r(t),n.d(t,{_:function(){return i},_interop_require_wildcard:function(){return i}})},2484:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DOMAttributeNames:function(){return o},default:function(){return s},isEqualNode:function(){return l}});let o={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function i(e){let{type:t,props:n}=e,i=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let l=o[e]||e.toLowerCase();"script"===t&&("async"===l||"defer"===l||"noModule"===l)?i[l]=!!n[e]:i.setAttribute(l,n[e])}let{children:l,dangerouslySetInnerHTML:s}=n;return s?i.innerHTML=s.__html||"":l&&(i.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):""),i}function l(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){let o=t.cloneNode(!0);return o.setAttribute("nonce",""),o.nonce=n,n===e.nonce&&e.isEqualNode(o)}}return e.isEqualNode(t)}function s(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let n=t[e.type]||[];n.push(e),t[e.type]=n});let o=t.title?t.title[0]:null,i="";if(o){let{children:e}=o.props;i="string"==typeof e?e:Array.isArray(e)?e.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(e=>{n(e,t[e]||[])})}}}n=(e,t)=>{let n=document.getElementsByTagName("head")[0],o=n.querySelector("meta[name=next-head-count]"),s=Number(o.content),u=[];for(let t=0,n=o.previousElementSibling;t<s;t++,n=(null==n?void 0:n.previousElementSibling)||null){var c;(null==n?void 0:null==(c=n.tagName)?void 0:c.toLowerCase())===e&&u.push(n)}let d=t.map(i).filter(e=>{for(let t=0,n=u.length;t<n;t++)if(l(u[t],e))return u.splice(t,1),!1;return!0});u.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}
1),d.forEach(e=>n.insertBefore(e,o)),o.content=(s-u.length+d.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2759:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return o.actionAsyncStorage}});let o=n(56458);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3010:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return h}});let o=n(17587),i=n(69939),l=n(92201),s=n(22101),u=n(49538),c=n(21450),d=n(74962),f=n(11906);function h(e,t,n){let h;let p="string"==typeof t?t:(0,i.formatWithValidation)(t),m=p.match(/^[a-zA-Z]{1,}:\/\//),g=m?p.slice(m[0].length):p;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+p+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,s.normalizeRepeatedSlashes)(g);p=(m?m[0]:"")+t}if(!(0,c.isLocalURL)(p))return n?[p]:p;try{h=new URL(p.startsWith("#")?e.asPath:e.pathname,"http://n")}catch(e){h=new URL("/","http://n")}try{let e=new URL(p,h);e.pathname=(0,u.normalizePathTrailingSlash)(e.pathname);let t="";if((0,d.isDynamicRoute)(e.pathname)&&e.searchParams&&n){let n=(0,o.searchParamsToUrlQuery)(e.searchParams),{result:s,params:u}=(0,f.interpolateAs)(e.pathname,e.pathname,n);s&&(t=(0,i.formatWithValidation)({pathname:s,hash:e.hash,query:(0,l.omit)(n,u)}))}let s=e.origin===h.origin?e.href.slice(e.origin.length):e.href;return n?[s,t||s]:s}catch(e){return n?[p]:p}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4201:function(e,t,n){"use strict";n.d(t,{as:function(){return T},xI:function(){return P}});var o=n(59065),i=e=>"checkbox"===e.type,l=e=>e instanceof Date,s=e=>null==e;let u=e=>"object"==typeof e;var c=e=>!s(e)&&!Array.isArray(e)&&u(e)&&!l(e),d=e=>c(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,f=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,h=(e,t)=>e.has(f(t)),p=e=>{let t=e.constructor&&e.constructor.prototype;return c(t)&&t.hasOwnProperty("isPrototypeOf")},m="u">typeof window&&"u">typeof window.HTMLElement&&"u">typeof document,g=e=>/^\w*$/.test(e),v=e=>void 0===e,y=e=>Array.isArray(e)?e.filter(Boolean):[],b=e=>y(e.replace(/["|']|\]/g,"").split(/\.|\[/)),w=(e,t,n)=>{if(!t||!c(e))return n;let o=(g(t)?[t]:b(t)).reduce((e,t)=>s(e)?e:e[t],e);return v(o)||o===e?v(e[t])?n:e[t]:o},x=e=>"boolean"==typeof e,E=(e,t,n)=>{let o=-1,i=g(t)?[t]:b(t),l=i.length,s=l-1;for(;++o<l;){let t=i[o],l=n;if(o!==s){let n=e[t];l=c(n)||Array.isArray(n)?n:isNaN(+i[o+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=l,e=e[t]}};let C={all:"all"},k=o.createContext(null);k.displayName="HookFormContext";let M=()=>o.useContext(k);var _=(e,t,n,o=!0)=>{let i={defaultValues:t._defaultValues};for(let l in e)Object.defineProperty(i,l,{get:()=>(t._proxyFormState[l]!==C.all&&(t._proxyFormState[l]=!o||C.all),n&&(n[l]=!0),e[l])});return i};let S="u">typeof window?o.useLayoutEffect:o.useEffect;var j=e=>"string"==typeof e,O=(e,t,n,o,i)=>j(e)?w(n,e,i):Array.isArray(e)?e.map(e=>w(n,e)):n,L=e=>s(e)||!u(e);function A(e,t,n=new WeakSet){if(L(e)||L(t))return Object.is(e,t);if(l(e)&&l(t))return e.getTime()===t.getTime();let o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;for(let s of(n.add(e),n.add(t),o)){let o=e[s];if(!i.includes(s))return!1;if("ref"!==s){let e=t[s];if(l(o)&&l(e)||c(o)&&c(e)||Array.isArray(o)&&Array.isArray(e)?!A(o,e,n):!Object.is(o,e))return!1}}return!0}function T(e){let t=M(),{name:n,disabled:i,control:l=t.control,shouldUnregister:s,defaultValue:u,exact:f=!0}=e,g=h(l._names.array,n),y=o.useMemo(()=>w(l._formValues,n,w(l._defaultValues,n,u)),[l,n,u]),b=function(e){let t=M(),{control:n=t.control,name:i,defaultValue:l,disabled:s,exact:u,compute:c}=e||{},d=o.useRef(l),f=o.useRef(c),h=o.useRef(void 0),p=o.useRef(n),m=o.useRef(i);f.current=c;let[g,v]=o.useState(()=>{let e=n._getWatch(i,d.current);return f.current?f.current(e):e}),y=o.useCallback(e=>{let t=O(i,n._names,e||n._formValues,!1,d.current);return f.current?f.current(t):t},[n._formValues,n._names,i]),b=o.useCallback(e=>{if(!s){let t=O(i,n._names,e||n._formValues,!1,d.current);if(f.current){let e=f.current(t);A(e,h.current)||(v(e),h.current=e)}else v(t)}},[n._formValues,n._names,s,i]);S(()=>(p.current===n&&A(m.current,i)||(p.current=n,m.current=i,b()),n._subscribe({name:i,formState:{values:!0},exact:u,callback:e=>{b(e.values)}})),[n,u,i,b]),o.useEffect(()=>n._removeUnmounted());let w=p.current!==n,x=m.current,E=o.useMemo(()=>
1{if(s)return null;let e=!w&&!A(x,i);return w||e?y():null},[s,w,i,x,y]);return null!==E?E:g}({control:l,name:n,defaultValue:y,exact:f}),C=function(e){let t=M(),{control:n=t.control,disabled:i,name:l,exact:s}=e||{},[u,c]=o.useState(n._formState),d=o.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return S(()=>n._subscribe({name:l,formState:d.current,exact:s,callback:e=>{i||c({...n._formState,...e})}}),[l,i,s]),o.useEffect(()=>{d.current.isValid&&n._setValid(!0)},[n]),o.useMemo(()=>_(u,n,d.current,!1),[u,n])}({control:l,name:n,exact:f}),k=o.useRef(e),j=o.useRef(void 0),L=o.useRef(l.register(n,{...e.rules,value:b,...x(e.disabled)?{disabled:e.disabled}:{}}));k.current=e;let T=o.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!w(C.errors,n)},isDirty:{enumerable:!0,get:()=>!!w(C.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!w(C.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!w(C.validatingFields,n)},error:{enumerable:!0,get:()=>w(C.errors,n)}}),[C,n]),P=o.useCallback(e=>L.current.onChange({target:{value:d(e),name:n},type:"change"}),[n]),N=o.useCallback(()=>L.current.onBlur({target:{value:w(l._formValues,n),name:n},type:"blur"}),[n,l._formValues]),F=o.useCallback(e=>{let t=w(l._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[l._fields,n]),R=o.useMemo(()=>({name:n,value:b,...x(i)||C.disabled?{disabled:C.disabled||i}:{},onChange:P,onBlur:N,ref:F}),[n,i,C.disabled,P,N,F,b]);return o.useEffect(()=>{let e=l._options.shouldUnregister||s,t=j.current;t&&t!==n&&!g&&l.unregister(t),l.register(n,{...k.current.rules,...x(k.current.disabled)?{disabled:k.current.disabled}:{}});let o=(e,t)=>{let n=w(l._fields,e);n&&n._f&&(n._f.mount=t)};if(o(n,!0),e){let e=function e(t){let n;let o=Array.isArray(t),i="u">typeof FileList&&t instanceof FileList;if(t instanceof Date)n=new Date(t);else if(!(!(m&&(t instanceof Blob||i))&&(o||c(t))))return t;else if(n=o?[]:Object.create(Object.getPrototypeOf(t)),o||p(t))for(let o in t)t.hasOwnProperty(o)&&(n[o]=e(t[o]));else n=t;return n}(w(l._options.defaultValues,n,k.current.defaultValue));E(l._defaultValues,n,e),v(w(l._formValues,n))&&E(l._formValues,n,e)}return g||l.register(n),j.current=n,()=>{(g?e&&!l._state.action:e)?l.unregister(n):o(n,!1)}},[n,l,g,s]),o.useEffect(()=>{l._setDisabledField({disabled:i,name:n})},[i,n,l]),o.useMemo(()=>({field:R,formState:C,fieldState:T}),[R,C,T])}let P=e=>e.render(T(e))},4415:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let o=n(77223),i=n(711),l=n(11906),s=o._(n(90856)),u=n(31236),c=n(62592),d=n(20638),f=n(41153),h=n(78007);n(9217);class p{getPageList(){return(0,h.getClientBuildManifest)().then(e=>e.sortedPages)}getMiddleware(){return window.__MIDDLEWARE_MATCHERS=[{regexp:"^(?:\\/(_next\\/data\\/[^/]{1,}))?(?:\\/((?!_next\\/)[^/.]{1,}))(|\\.json|\\/?index|\\/?index\\.json)?[\\/#\\?]?$",originalSource:"/"},{regexp:"^(?:\\/(_next\\/data\\/[^/]{1,}))?(?:\\/((?!_next\\/)[^/.]{1,}))(?:\\/((?!_next\\/|api\\/|\\.well-known\\/|.*\\.[a-zA-Z0-9]+$).*))(.json)?[\\/#\\?]?$",originalSource:"/((?!_next/|api/|\\.well-known/|.*\\.[a-zA-Z0-9]+$).*)"}],window.__MIDDLEWARE_MATCHERS}getDataHref(e){let{asPath:t,href:n,locale:o}=e,{pathname:h,query:p,search:m}=(0,d.parseRelativeUrl)(n),{pathname:g}=(0,d.parseRelativeUrl)(t),v=(0,f.removeTrailingSlash)(h);if("/"!==v[0])throw Error('Route name should start with a "/", got "'+v+'"');return(e=>{let t=(0,s.default)((0,f.removeTrailingSlash)((0,u.addLocale)(e,o)),".json");return(0,i.addBasePath)("/_next/data/"+this.buildId+t+m,!0)})(e.skipInterpolation?g:(0,c.isDynamicRoute)(v)?(0,l.interpolateAs)(h,g,p).result:v)}_isSsg(e){return this.promisedSsgManifest.then(t=>t.has(e))}loadPage(e){return this.routeLoader.loadRoute(e).then(e=>{if("component"in e)return{page:e.component,mod:e.exports,styleSheets:e.styles.map(e=>({href:e.href,text:e.content}))};throw e.error})}prefetch(e){return this.routeLoader.prefetch(e)}constructor(e,t){this.routeLoader=(0,h.createRouteLoader)(t),this.buildId=e,this.assetPrefix=t,this.promisedSsgManifest=new Promise(e=>{window.__SSG_MANIFEST?e(window.__SSG_MANIFEST):window.__SSG_MANIFEST_CB=()=>{e(window.__SSG_MANIFEST)}})}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5032:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5226:function(e,t,n){"use strict";n.d(t,{F:function(){return f}});let o={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 m\xeas",other:"cerca de {{count}} meses"},xMonths:{one:"1 m\xeas",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}};var i=n(59745);let l={date:(0,i.k)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,i.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.k)({formats:{full:"{{date}} '\xe0s' {{time}}",long:"{{date}} '\xe0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:e=>{let t=e.getDay();return"'"+(0===t||6===t?"\xfaltimo":"\xfaltima")+"' eeee '\xe0s' p"},yesterday:"'ontem \xe0s' p",today:"'hoje \xe0s' p",tomorrow:"'amanh\xe3 \xe0s' p",nextWeek:"eeee '\xe0s' p",other:"P"};var u=n(37815);let c={ordinalNumber:(e,t)=>{let n=Number(e);return(null==t?void 0:t.unit)==="week"?n+"\xaa":n+"\xba"},era:(0,u.o)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:(0,u.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,u.o)({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:(0,u.o)({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","ter\xe7a","quarta","quinta","sexta","s\xe1bado"],wide:["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:(0,u.o)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})};var d=n(93143);let f={code:"pt-BR",formatDistance:(e,t,n)=>{let i;let l=o[e];return i="string"==typeof l?l:1===t?l.one:l.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"em "+i:"h\xe1 "+i:i},formatLong:l,formatRelative:(e,t,n,o)=>{let i=s[e];return"function"==typeof i?i(t):i},localize:c,match:{ordinalNumber:(0,n(77813).K)({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,d.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i}
1,defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:(0,d.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,d.A)({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:(0,d.A)({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.A)({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(d
1a) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},5255:function(e,t,n){"use strict";n.d(t,{Yq:function(){return I}});let o={};function i(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}function l(e){let t=i(e);return t.setHours(0,0,0,0),t}function s(e){let t=i(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function u(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function c(e,t){var n,l,s,u;let c=(null==t?void 0:t.weekStartsOn)??(null==(l=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:l.weekStartsOn)??o.weekStartsOn??(null==(u=null==(s=o.locale)?void 0:s.options)?void 0:u.weekStartsOn)??0,d=i(e),f=d.getDay();return d.setDate(d.getDate()-((f<c?7:0)+f-c)),d.setHours(0,0,0,0),d}function d(e){return c(e,{weekStartsOn:1})}function f(e){let t=i(e),n=t.getFullYear(),o=u(e,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);let l=d(o),s=u(e,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);let c=d(s);return t.getTime()>=l.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}function h(e,t){var n,l,s,d;let f=i(e),h=f.getFullYear(),p=(null==t?void 0:t.firstWeekContainsDate)??(null==(l=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:l.firstWeekContainsDate)??o.firstWeekContainsDate??(null==(d=null==(s=o.locale)?void 0:s.options)?void 0:d.firstWeekContainsDate)??1,m=u(e,0);m.setFullYear(h+1,0,p),m.setHours(0,0,0,0);let g=c(m,t),v=u(e,0);v.setFullYear(h,0,p),v.setHours(0,0,0,0);let y=c(v,t);return f.getTime()>=g.getTime()?h+1:f.getTime()>=y.getTime()?h:h-1}function p(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let m={y(e,t){let n=e.getFullYear(),o=n>0?n:1-n;return p("yy"===t?o%100:o,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):p(n+1,2)},d:(e,t)=>p(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>p(e.getHours()%12||12,t.length),H:(e,t)=>p(e.getHours(),t.length),m:(e,t)=>p(e.getMinutes(),t.length),s:(e,t)=>p(e.getSeconds(),t.length),S(e,t){let n=t.length;return p(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},g={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},v={G:function(e,t,n){let o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return m.y(e,t)},Y:function(e,t,n,o){let i=h(e,o),l=i>0?i:1-i;return"YY"===t?p(l%100,2):"Yo"===t?n.ordinalNumber(l,{unit:"year"}):p(l,t.length)},R:function(e,t){return p(f(e),t.length)},u:function(e,t){return p(e.getFullYear(),t.length)},Q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return p(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return p(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){let o=e.getMonth();switch(t){case"M":case"MM":return m.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){let o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return p(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,l){let s=function(e,t){let n=i(e);return Math.round((+c(n,t)-+function(e,t){var n,i,l,s;let d=(null==t?void 0:t.firstWeekContainsDate)??(null==(i=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:i.firstWeekContainsDate)??o.firstWeekContainsDate??(null==(s=null==(l=o.locale)?void 0:l.options)?void 0:s.firstWeekContainsDate)??1,f=h(e,t),p=u(e,0);return p.setFullYear(f,0,d),p.setHours(0,0,0,0),c(p,t)}(n,t))/6048e5)+1}(e,l);return"wo"===t?n.ordinalNumber(s,{unit:"week"}):p(s,t.length)},I:function(e,t,n){let o=function(e){let t=i(e);return Math.round((+d(t)-+function(e){let t=f(e),n=u(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),d(n)}(t))/6048e5)+1}(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):p(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):m.d(e,t)},D:function(e,t,n){let o=function(e){let t=i(e);return function(e,t){let n=l(e),o=l(t);return Math.round((+n-s(n)-(+o-s(o)))/864e5)}(t,function(e){let t=i(e),n=u(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t))+1}(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):p(o,t.length)},E:function(e,t,n){let o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(l);case"ee":return p(l,2);case"eo":return n.ordinalNumber(l,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(l);case"cc":return p(l,t.length);case"co":return n.ordinalNumber(l,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let o=e.getDay(),i=0===o?7:o;switch(t){case"i":return String(i);case"ii":return p(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){let o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){let o;let i=e.getHours();switch(o=12===i?g.noon:0===i?g.midnight:i/12>
1=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){let o;let i=e.getHours();switch(o=i>=17?g.evening:i>=12?g.afternoon:i>=4?g.morning:g.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return m.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):m.H(e,t)},K:function(e,t,n){let o=e.getHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):p(o,t.length)},k:function(e,t,n){let o=e.getHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):p(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):m.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):m.s(e,t)},S:function(e,t){return m.S(e,t)},X:function(e,t,n){let o=e.getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return b(o);case"XXXX":case"XX":return w(o);default:return w(o,":")}},x:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"x":return b(o);case"xxxx":case"xx":return w(o);default:return w(o,":")}},O:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+y(o,":");default:return"GMT"+w(o,":")}},z:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+y(o,":");default:return"GMT"+w(o,":")}},t:function(e,t,n){return p(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return p(e.getTime(),t.length)}};function y(e,t=""){let n=e>0?"-":"+",o=Math.abs(e),i=Math.trunc(o/60),l=o%60;return 0===l?n+String(i):n+String(i)+t+p(l,2)}function b(e,t){return e%60==0?(e>0?"-":"+")+p(Math.abs(e)/60,2):w(e,t)}function w(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+p(Math.trunc(n/60),2)+t+p(n%60,2)}let x=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},E=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},C={p:E,P:(e,t)=>{let n;let o=e.match(/(P+)(p+)?/)||[],i=o[1],l=o[2];if(!l)return x(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",x(i,t)).replace("{{time}}",E(l,t))}},k=/^D+$/,M=/^Y+$/,_=["D","DD","YY","YYYY"],S={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var j=n(59745);let O={date:(0,j.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,j.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,j.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},L={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var A=n(37815);let T={ordinalNumber:(e,t)=>{let n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,A.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,A.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,A.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,A.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
1ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,A.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var P=n(93143);let N={code:"en-US",formatDistance:(e,t,n)=>{let o;let i=S[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:O,formatRelative:(e,t,n,o)=>L[e],localize:T,match:{ordinalNumber:(0,n(77813).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,P.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,P.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,P.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,P.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,P.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},F=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,R=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,$=/^'([^]*?)'?$/,D=/''/g,z=/[a-zA-Z]/;function I(e,t,n){var l,s,u,c;let d=o.locale??N,f=o.firstWeekContainsDate??(null==(s=null==(l=o.locale)?void 0:l.options)?void 0:s.firstWeekContainsDate)??1,h=o.weekStartsOn??(null==(c=null==(u=o.locale)?void 0:u.options)?void 0:c.weekStartsOn)??0,p=i(e);if(!((p instanceof Date||"object"==typeof p&&"[object Date]"===Object.prototype.toString.call(p)||"number"==typeof p)&&!isNaN(Number(i(p)))))throw RangeError("Invalid time value");let m=t.match(R).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,C[t])(e,d.formatLong):e}).join("").match(F).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match($);return t?t[1].replace(D,"'"):e}(e)};if(v[t])return{isToken:!0,value:e};if(t.match(z))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});d.localize.preprocessor&&(m=d.localize.preprocessor(p,m));let g={firstWeekContainsDate:f,weekStartsOn:h,locale:d};return m.map(n=>{if(!n.isToken)return n.value;let o=n.value;return(M.test(o)||k.test(o))&&function(e,t,n){let o=function(e,t,n){let o="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(o),_.includes(e))throw RangeError(o)}(o,t,String(e)),(0,v[o[0]])(p,o,d.localize,g)}).join("")}},6126:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PathnameContextProviderAdapter:function(){return m},adaptForAppRouterInstance:function(){return f},adaptForPathParams:function(){return p},adaptForSearchParams:function(){return h}});let o=n(2438),i=n(23078),l=o._(n(59065)),s=n(95124),u=n(74962),c=n(83390),d=n(20329);function f(e){return{back(){e.back()},forward(){e.forward()},refresh(){e.reload()},fastRefresh(){},push(t,n){let{scroll:o}=void 0===n?{}:n;e.push(t,void 0,{scroll:o})},replace(t,n){let{scroll:o}=void 0===n?{}:n;e.replace(t,void 0,{scroll:o})},prefetch(t){e.prefetch(t)}}}function h(e){return e.isReady&&e.query?(0,c.asPathToSearchParams)(e.asPath):new URLSearchParams}function p(e){if(!e.isReady||!e.query)return null;let t={};for(let n of Object.keys((0,d.getRouteRegex)(e.pathname).groups))t[n]=e.query[n];return t}function m(e){let{children:t,router:n,...o}=e,c=(0,l.useRef)(o.isAutoExport),d=(0,l.useMemo)(()=>{let e;let t=c.current;if(t&&(c.current=!1),(0,u.isDynamicRoute)(n.pathname)&&(n.isFallback||t&&!n.isReady))return null;try{e=new URL(n.asPath,"http://f")}catch(e){return"/"}return e.pathname},[n.asPath,n.isFallback,n.isReady,n.pathname]);return(0,i.jsx)(s.PathnameContext.Provider,{value:d,children:t})}},6516:function(e,t){"use strict";function n(e){return/Googlebot|Mediapartners-Google|AdsBot-Google|googleweblight|Storebot-Google|Google-PageRenderer|Bingbot|BingPreview|Slurp|DuckDuckBot|baiduspider|yandex|sogou|LinkedInBot|bitlybot|tumblr|vkShare|quora link preview|facebookexternalhit|facebookcatalog|Twitterbot|applebot|redditbot|Slackbot|Discordbot|WhatsApp|SkypeUriPreview|ia_archiver/i.test(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return n}})},7874:function(e,t,n){"use strict";function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function i(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){l(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}function l(e,t,n){var o;return(t="symbol"==typeof(o=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?o:o+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function c(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(e,void 0);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)?u(e,void 0):void 0}}(e))||t){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,s=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){c=!0,l=e},f:function(){try{s||null==n.return||n.return()}finally{if(c)throw l}}}}function d(e,t){var n,o=t.replacementChars,i=t.replacement,l=t.separate,s=o,u="",d=c(e);try{for(d.s();!(n=d.n()).done;){var f,h=n.value,p=!Object.prototype.hasOwnProperty.call(i,h)&&(null===(f=i[s[0]])||void 0===f?void 0:f.test(h));(l&&h===s[0]||p)&&(s=s.slice(1),u+=h)}}catch(e){d.e(e)}finally{d.f()}return u}function f(e){return e.length>0?l({},e,/./):{}}function h(e,t){for(var n=t.start,o=void 0===n?0:n,i=t.end,l=t.mask,s=t.replacement,u=t.separate,c=e.slice(o,i),d=l.slice(o,i),f="",h=0;h<d.length;h++){var p=Object.prototype.hasOwnProperty.call(s,d[h]);p&&void 0!==c[h]&&c[h]!==d[h]?f+=c[h]:p&&u&&(f+=d[h])}return f}n.d(t,{A:function(){return j}});var p=["[","]","\\","/","^","$",".","|","?","*","+","(",")","{","}"];function m(e){return p.includes(e)?"\\".concat(e):e}function g(e){for(var t=e.mask,n=e.replacement,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i="string"==typeof n?f(n):n,l="",s=0;s<t.length;s++){var u=t[s],c=Object.prototype.hasOwnProperty.call(i,u),d=o?"(?!".concat(m(u),")"):"";
20===s&&(l+="^"),l+=c?"".concat(d,"(").concat(i[u].source,")"):m(u),s===t.length-1&&(l+="$")}return l}var v=n(59065),y=n(3517);function b(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(b=function(){return!!e})()}function w(e){return(w="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})(e)}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function E(e,t){return(E=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function C(e){var t="function"==typeof Map?new Map:void 0;return(C=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch{return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(b())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var i=new(e.bind.apply(e,o));return n&&E(i,n.prototype),i}(e,arguments,x(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),E(n,e)})(e)}var k=function(e){function t(e,n){var o,i,l;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),(i=t,l=[e],i=x(i),o=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,b()?Reflect.construct(i,l||[],x(this).constructor):i.apply(this,l))).name="SyntheticChangeError",o.cause=n,o}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&E(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(C(Error));function M(e,t){var n=t.value,o=t.selectionStart,i=t.selectionEnd;void 0!==n&&(e.value=n),void 0!==o&&void 0!==i&&e.setSelectionRange(o,i)}var _=["text","email","tel","search","url"],S=["component","mask","replacement","showMask","separate","track","modify","onMask"],j=(0,v.forwardRef)(function(e,t){var n,o=e.component,l=e.mask,u=e.replacement,p=e.showMask,m=e.separate,b=e.track,x=e.modify,E=e.onMask,C=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,S),j=(n=function(){var e,t,n,o,l,s,u,p,m,b=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},w=b.mask,x=void 0===w?"":w,E=b.replacement,C=void 0===E?{}:E,S=b.showMask,j=void 0!==S&&S,O=b.separate,L=void 0!==O&&O,A=b.track,T=b.modify,P=b.onMask,N="string"==typeof C?f(C):C,F=(0,v.useRef)(null);return t=(e={init:function(e){var t=e.controlled,n=e.initialValue;n=t||n?n:j?x:"";var o={mask:x,replacement:N,separate:L};return F.current={value:n,props:o,fallbackProps:o},{value:n}},tracking:function(e){var t,n,o,l,s,u,p=e.inputType,m=e.previousValue,v=e.addedValue,y=e.changeStart,b=e.changeEnd;if(null===F.current)throw new k("The state has not been initialized.");F.current.value!==m?F.current.props=F.current.fallbackProps:F.current.fallbackProps=F.current.props;var w=null==A?void 0:A(i(i({},"insert"===p?{inputType:p,data:v}:{inputType:p,data:null}),{},{value:m,selectionStart:y,selectionEnd:b}));if(!1===w)throw new k("Custom tracking stop.");null===w?v="":!0!==w&&void 0!==w&&(v=w);var E=h(m,i({end:y}
2,F.current.props)),C=h(m,i({start:b},F.current.props)),M=RegExp("[^".concat(Object.keys(F.current.props.replacement).join(""),"]"),"g"),_=F.current.props.mask.replace(M,"");if(E&&(E=d(E,{replacementChars:_,replacement:F.current.props.replacement,separate:F.current.props.separate}),_=_.slice(E.length)),v&&(v=d(v,{replacementChars:_,replacement:F.current.props.replacement,separate:!1}),_=_.slice(v.length)),"insert"===p&&""===v)throw new k("The character does not match the key value of the `replacement` object.");if(F.current.props.separate){var S=F.current.props.mask.slice(y,b).replace(M,""),O=S.length-v.length;O<0?C=C.slice(-O):O>0&&(C=S.slice(-O)+C)}C&&(C=d(C,{replacementChars:_,replacement:F.current.props.replacement,separate:F.current.props.separate}));var P=E+v+C,R=null!==(u=null==T?void 0:T(P))&&void 0!==u?u:{},$=R.mask,D=void 0===$?x:$,z=R.replacement,I=void 0===z?N:z,H=R.showMask,B=R.separate,W=void 0===B?L:B;"string"==typeof I&&(I=f(I));var U=(s=function(e,t){for(var n=t.mask,o=t.replacement,i=[],l=0;l<n.length;l++){var s,u=null!==(s=e[l])&&void 0!==s?s:n[l],c=Object.prototype.hasOwnProperty.call(o,u)?"replacement":void 0!==e[l]&&e[l]!==n[l]?"input":"mask";i.push({type:c,value:u,index:l})}return i}(l=function(e,t){var n,o=t.mask,i=t.replacement,l=t.separate,s=t.showMask,u=0,d="",f=c(o);try{for(f.s();!(n=f.n()).done;){var h=n.value;if(!s&&void 0===e[u])break;Object.prototype.hasOwnProperty.call(i,h)&&void 0!==e[u]?d+=e[u++]:d+=h}}catch(e){f.e(e)}finally{f.f()}if(l&&!s){for(var p=o.length-1;p>=0&&d[p]===o[p];p--);d=d.slice(0,p+1)}return d}(P,{mask:n=(t={mask:D,replacement:I,separate:W,showMask:void 0===H?j:H}).mask,replacement:o=t.replacement,separate:t.separate,showMask:t.showMask}),{mask:n,replacement:o}),{value:l,input:P,parts:s,pattern:g({mask:n,replacement:o}),isValid:RegExp(g({mask:n,replacement:o},!0)).test(l)}),q=function(e){var t,n,o,i=e.inputType,l=e.value,s=e.addedValue,u=e.beforeChangeValue,c=e.parts,d=e.replacement,f=e.separate,h=c.filter(function(e){var t=e.type;return"input"===t||f&&"replacement"===t}),p=null===(t=h[u.length+s.length-1])||void 0===t?void 0:t.index,m=null===(n=h[u.length-1])||void 0===n?void 0:n.index,g=null===(o=h[u.length+s.length])||void 0===o?void 0:o.index;if("insert"===i){if(void 0!==p)return p+1;if(void 0!==g)return g;if(void 0!==m)return m+1}if("deleteForward"===i){if(void 0!==g)return g;if(void 0!==m)return m+1}if("deleteBackward"===i){if(void 0!==m)return m+1;if(void 0!==g)return g}var v=l.split("").findIndex(function(e){return Object.prototype.hasOwnProperty.call(d,e)});return -1!==v?v:l.length}({inputType:p,value:U.value,addedValue:v,beforeChangeValue:E,parts:U.parts,replacement:I,separate:W});return F.current.value=U.value,F.current.props={mask:D,replacement:I,separate:W},{value:U.value,selectionStart:q,selectionEnd:q,__detail:U}},eventType:"input-mask",eventHandler:P}).init,n=e.tracking,o=e.eventType,l=e.eventHandler,s=(0,v.useRef)({timeoutId:-1,fallbackTimeoutId:-1,cachedTimeoutId:-1,start:0,end:0}),u=(0,v.useRef)(!0),p=(0,v.useRef)(null),(m=(0,v.useRef)({init:t,tracking:n,eventType:o,eventHandler:l})).current.init=t,m.current.tracking=n,m.current.eventType=o,m.current.eventHandler=l,(0,v.useMemo)(function(){var e,t,n,o,i;return e=m.current.init,n=(t={onFocus:function(){s.current.timeoutId=window.setTimeout(function e(){var t,n,o,i;u.current?(s.current.start=null!==(t=null===(n=p.current)||void 0===n?void 0:n.selectionStart)&&void 0!==t?t:0,s.current.end=null!==(o=null===(i=p.current)||void 0===i?void 0:i.selectionEnd)&&void 0!==o?o:0,s.current.timeoutId=window.setTimeout(e)):s.current.fallbackTimeoutId=window.setTimeout(e)})},onBlur:function(){window.clearTimeout(s.current.timeoutId),window.clearTimeout(s.current.fallbackTimeoutId),s.current.timeoutId=-1,s.current.fallbackTimeoutId=-1,s.current.cachedTimeoutId=-1},onInput:function(e){var t=p.current;if(null!==t)try{if(s.current.cachedTimeoutId===s.current.timeoutId)throw new k("The input selection has not been updated.");s.current.cachedTimeoutId=s.current.timeoutId;var n=t.value,o=t.selectionStart,i=t.selectionEnd;if(null===o||null===i)throw new k("The selection attributes have not been initialized.");var l,c,d,f,h,g,v=null!==(l=null===(c=t._valueTracker)||void 0===c||null===(d=c.getValue)||void 0===d?void 0:d.call(c))&&void 0!==l?l:"";if(void 0===e.inputType&&(s.current.start=0,s.current.end=v.length),o>
2s.current.start?g="insert":o<=s.current.start&&o<s.current.end?g="deleteBackward":o===s.current.end&&n.length<v.length&&(g="deleteForward"),void 0===g||("deleteBackward"===g||"deleteForward"===g)&&n.length>v.length)throw new k("Input type detection error.");var b="",w="",x=s.current.start,E=s.current.end;if("insert"===g)b=n.slice(s.current.start,o);else{var C=v.length-n.length;x=o,E=o+C,w=v.slice(x,E)}var _=m.current.tracking({inputType:g,previousValue:v,value:n,addedValue:b,deletedValue:w,changeStart:x,changeEnd:E,selectionStart:o,selectionEnd:i});M(t,{value:_.value,selectionStart:_.selectionStart,selectionEnd:_.selectionEnd});var S=m.current.eventType,j=m.current.eventHandler;if("string"==typeof S&&j){var O=t.value,L=t.selectionStart,A=t.selectionEnd;u.current=!1,requestAnimationFrame(function(){M(t,{value:O,selectionStart:L??O.length,selectionEnd:A??O.length});var e=new CustomEvent(S,{bubbles:!0,cancelable:!1,composed:!0,detail:_.__detail});t.dispatchEvent(e),y.unstable_batchedUpdates?(0,y.unstable_batchedUpdates)(j,e):j(e),u.current=!0})}null===(f=t._valueTracker)||void 0===f||null===(h=f.setValue)||void 0===h||h.call(f,v),s.current.start=_.selectionStart,s.current.end=_.selectionEnd}catch(n){var T,P,N,F,R,$,D,z,I,H,B,W=n.name,U=n.cause;if(M(t,{value:null!==(T=null!==(P=null==U||null===(N=U.__attributes)||void 0===N?void 0:N.value)&&void 0!==P?P:null===(F=t._valueTracker)||void 0===F||null===(R=F.getValue)||void 0===R?void 0:R.call(F))&&void 0!==T?T:"",selectionStart:null!==($=null==U||null===(D=U.__attributes)||void 0===D?void 0:D.selectionStart)&&void 0!==$?$:s.current.start,selectionEnd:null!==(z=null==U||null===(I=U.__attributes)||void 0===I?void 0:I.selectionEnd)&&void 0!==z?z:s.current.end}),(null==U||null===(H=U.__attributes)||void 0===H?void 0:H.selectionStart)!==void 0&&(s.current.start=U.__attributes.selectionStart),(null==U||null===(B=U.__attributes)||void 0===B?void 0:B.selectionEnd)!==void 0&&(s.current.end=U.__attributes.selectionEnd),e.preventDefault(),e.stopPropagation(),"SyntheticChangeError"!==W)throw n}}}).onFocus,o=t.onBlur,i=t.onInput,new Proxy(p,{set:function(t,l,s){if("current"!==l)return!1;var u=null!==s&&_.includes(s.type);if(s!==p.current&&(null!==p.current&&(p.current.removeEventListener("focus",n),p.current.removeEventListener("blur",o),p.current.removeEventListener("input",i)),null!==s&&u)){var c,d=null!==(c=s._wrapperState)&&void 0!==c?c:{},f=d.controlled,h=d.initialValue,m=e({controlled:void 0!==f&&f,initialValue:s.value||(void 0===h?"":h)});M(s,{value:m.value}),document.activeElement===s&&n(),s.addEventListener("focus",n),s.addEventListener("blur",o),s.addEventListener("input",i)}return t[l]=s,!0}})},[])}({mask:l,replacement:u,showMask:p,separate:m,track:b,modify:x,onMask:E}),(0,v.useCallback)(function(e){n.current=e,"function"==typeof t?t(e):"object"===w(t)&&null!==t&&(t.current=e)},[n,t]));return o?v.createElement(o,s({ref:j},C)):v.createElement("input",s({ref:j},C))})},9217:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{APP_BUILD_MANIFEST:function(){return w},APP_CLIENT_INTERNALS:function(){return X},APP_PATHS_MANIFEST:function(){return v},APP_PATH_ROUTES_MANIFEST:function(){return y},AUTOMATIC_FONT_OPTIMIZATION_MANIFEST:function(){return N},BARREL_OPTIMIZATION_PREFIX:function(){return W},BLOCKED_PAGES:function(){return D},BUILD_ID_FILE:function(){return $},BUILD_MANIFEST:function(){return b},CLIENT_PUBLIC_FILES_PATH:function(){return z},CLIENT_REFERENCE_MANIFEST:function(){return U},CLIENT_STATIC_FILES_PATH:function(){return I},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return K},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Q},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return er},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return en},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return J},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return et},COMPILER_INDEXES:function(){return l},COMPILER_NAMES:function(){return i},CONFIG_FILES:function(){return R},DEFAULT_RUNTIME_WEBPACK:function(){return ea},DEFAULT_SANS_SERIF_FONT:function(){return ed},DEFAULT_SERIF_FONT:function(){return ec},DEV_CLIENT_PAGES_MANIFEST:function(){return L},DEV_MIDDLEWARE_MANIFEST:function(){return T},EDGE_RUNTIME_WEBPACK:function(){return eo},EDGE_UNSUPPORTED_NODE_APIS:function(){return eg},EXPORT_DETAIL:function(){return M},EXPORT_MARKER:function(){return k},FUNCTIONS_CONFIG_MANIFEST:function(){return x},GOOGLE_FONT_PROVIDER:function(){return es},IMAGES_MANIFEST:function(){return j},INTERCEPTION_ROUTE_REWRITE_MANIFEST:function(){return Z},MIDDLEWARE_BUILD_MANIFEST:function(){return G},MIDDLEWARE_MANIFEST:function(){return A},MIDDLEWARE_REACT_LOADABLE_MANIFEST:function(){return Y},MODERN_BROWSERSLIST_TARGET:function(){return o.default},NEXT_BUILTIN_DOCUMENT:function(){return B},NEXT_FONT_MANIFEST:function(){return C},OPTIMIZED_FONT_PROVIDERS:function(){return eu},PAGES_MANIFEST:function(){return g},PHASE_DEVELOPMENT_SERVER:function(){return h},PHASE_EXPORT:function(){return c},PHASE_INFO:function(){return m},PHASE_PRODUCTION_BUILD:function(){return d},PHASE_PRODUCTION_SERVER:function(){return f},PHASE_TEST:function(){return p},PRERENDER_MANIFEST:function(){return _},REACT_LOADABLE_MANIFEST:function(){return P},ROUTES_MANIFEST:function(){return S},RSC_MODULE_TYPES:function(){return em},SERVER_DIRECTORY:function(){return F},SERVER_FILES_MANIFEST:function(){return O},SERVER_PROPS_ID:function(){return el},SERVER_REFERENCE_MANIFEST:function(){return q},STATIC_PROPS_ID:function(){return ei},STATIC_STATUS_PAGES:function(){return ef},STRING_LITERAL_DROP_BUNDLE:function(){return H},SUBRESOURCE_INTEGRITY_MANIFEST:function(){return E},SYSTEM_ENTRYPOINTS:function(){return ev},TRACE_OUTPUT_VERSION:function(){return eh},TURBO_TRACE_DEFAULT_MEMORY_LIMIT:function(){return ep},UNDERSCORE_NOT_FOUND_ROUTE:function(){return s},UNDERSCORE_NOT_FOUND_ROUTE_ENTRY:function(){return u}});let o=n(77223)._(n(36077)),i={client:"client",server:"server",edgeServer:"edge-server"},l={[i.client]:0,[i.server]:1,[i.edgeServer]:2},s="/_not-found",u=""+s+"/page",c="phase-export",d="phase-production-build",f="phase-production-server",h="p
2hase-development-server",p="phase-test",m="phase-info",g="pages-manifest.json",v="app-paths-manifest.json",y="app-path-routes-manifest.json",b="build-manifest.json",w="app-build-manifest.json",x="functions-config-manifest.json",E="subresource-integrity-manifest",C="next-font-manifest",k="export-marker.json",M="export-detail.json",_="prerender-manifest.json",S="routes-manifest.json",j="images-manifest.json",O="required-server-files.json",L="_devPagesManifest.json",A="middleware-manifest.json",T="_devMiddlewareManifest.json",P="react-loadable-manifest.json",N="font-manifest.json",F="server",R=["next.config.js","next.config.mjs"],$="BUILD_ID",D=["/_document","/_app","/_error"],z="public",I="static",H="__NEXT_DROP_CLIENT_FILE__",B="__NEXT_BUILTIN_DOCUMENT__",W="__barrel_optimize__",U="client-reference-manifest",q="server-reference-manifest",G="middleware-build-manifest",Y="middleware-react-loadable-manifest",Z="interception-route-rewrite-manifest",K="main",Q=""+K+"-app",X="app-pages-internals",J="react-refresh",ee="amp",et="webpack",er="polyfills",en=Symbol(er),ea="webpack-runtime",eo="edge-runtime-webpack",ei="__N_SSG",el="__N_SSP",es="https://fonts.googleapis.com/",eu=[{url:es,preconnect:"https://fonts.gstatic.com"},{url:"https://use.typekit.net",preconnect:"https://use.typekit.net"}],ec={name:"Times New Roman",xAvgCharWidth:821,azAvgWidth:854.3953488372093,unitsPerEm:2048},ed={name:"Arial",xAvgCharWidth:904,azAvgWidth:934.5116279069767,unitsPerEm:2048},ef=["/500"],eh=1,ep=6e3,em={client:"client",server:"server"},eg=["clearImmediate","setImmediate","BroadcastChannel","ByteLengthQueuingStrategy","CompressionStream","CountQueuingStrategy","DecompressionStream","DomException","MessageChannel","MessageEvent","MessagePort","ReadableByteStreamController","ReadableStreamBYOBRequest","ReadableStreamDefaultController","TransformStreamDefaultController","WritableStreamDefaultController"],ev=new Set([K,J,ee,Q]);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9991:function(e,t,n){"use strict";function o(e,t){var n=t&&t.cache?t.cache:c,o=t&&t.serializer?t.serializer:s;return(t&&t.strategy?t.strategy:function(e,t){var n,o,s=1===e.length?i:l;return n=t.cache.create(),o=t.serializer,s.bind(this,e,n,o)})(e,{cache:n,serializer:o})}function i(e,t,n,o){var i=null==o||"number"==typeof o||"boolean"==typeof o?o:n(o),l=t.get(i);return void 0===l&&(l=e.call(this,o),t.set(i,l)),l}function l(e,t,n){var o=Array.prototype.slice.call(arguments,3),i=n(o),l=t.get(i);return void 0===l&&(l=e.apply(this,o),t.set(i,l)),l}n.r(t),n.d(t,{memoize:function(){return o},strategies:function(){return d}});var s=function(){return JSON.stringify(arguments)},u=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e}(),c={create:function(){return new u}},d={variadic:function(e,t){var n,o;return n=t.cache.create(),o=t.serializer,l.bind(this,e,n,o)},monadic:function(e,t){var n,o;return n=t.cache.create(),o=t.serializer,i.bind(this,e,n,o)}}},10005:function(e,t,n){"use strict";n.d(t,{C:function(){return s}});var o=n(59065),i=n(32964),l=n(37725),s=e=>{var t,n;let s,c;let{present:d,children:f}=e,h=function(e){var t,n;let[i,s]=o.useState(),c=o.useRef(null),d=o.useRef(e),f=o.useRef("none"),[h,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},o.useReducer((e,t)=>n[e][t]??e,t));return o.useEffect(()=>{let e=u(c.current);f.current="mounted"===h?e:"none"},[h]),(0,l.N)(()=>{let t=c.current,n=d.current;if(n!==e){let o=f.current,i=u(t);e?p("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):p(n&&o!==i?"ANIMATION_OUT":"UNMOUNT"),d.current=e}},[e,p]),(0,l.N)(()=>{if(i){let e;let t=i.ownerDocument.defaultView??window,n=n=>{let o=u(c.current).includes(CSS.escape(n.animationName));if(n.target===i&&o&&(p("ANIMATION_END"),!d.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},o=e=>{e.target===i&&(f.current=u(c.current))};return i.addEventListener("animationstart",o),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",o),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(h),ref:o.useCallback(e=>{c.current=e?getComputedStyle(e):null,s(e)},[])}}(d),p="function"==typeof f?f({present:h.isPresent}):o.Children.only(f),m=(0,i.s)(h.ref,(s=null==(t=Object.getOwnPropertyDescriptor(p.props,"ref"))?void 0:t.get)&&"isReactWarning"in s&&s.isReactWarning?p.ref:(s=null==(n=Object.getOwnPropertyDescriptor(p,"ref"))?void 0:n.get)&&"isReactWarning"in s&&s.isReactWarning?p.props.ref:p.props.ref||p.ref);return"function"==typeof f||h.isPresent?o.cloneElement(p,{ref:m}):null};function u(e){return(null==e?void 0:e.animationName)||"none"}s.displayName="Presence"}
2,10656:function(e,t,n){"use strict";n.d(t,{b:function(){return d}});var o=n(59065),i=n(12335),l=n(72370),s="horizontal",u=["horizontal","vertical"],c=o.forwardRef((e,t)=>{let{decorative:n,orientation:o=s,...c}=e,d=u.includes(o)?o:s,f=n?{role:"none"}:{"aria-orientation":"vertical"===d?d:void 0,role:"separator"};return l.j.jsx(i.s.div,{"data-orientation":d,...f,...c,ref:t})});c.displayName="Separator";var d=c},10686:function(e,t,n){"use strict";let o=n(59065).createContext(void 0);t.IntlContext=o},11150:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HEADER_LOCALE_NAME="X-NEXT-INTL-LOCALE",t.LOCALE_SEGMENT_NAME="locale"},11502:function(e,t,n){"use strict";n.d(t,{T:function(){return s}});var o=n(59065),i=n(32964),l=n(72370);function s(e){let t=function(e){let t=o.forwardRef((e,t)=>{let{children:n,...l}=e;if(o.isValidElement(n)){var s,u;let e,c;let d=(e=null==(s=Object.getOwnPropertyDescriptor(n.props,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=null==(u=Object.getOwnPropertyDescriptor(n,"ref"))?void 0:u.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,f=function(e,t){let n={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?n[o]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(n[o]=i):"style"===o?n[o]={...i,...l}:"className"===o&&(n[o]=[i,l].filter(Boolean).join(" "))}return{...e,...n}}(l,n.props);return n.type!==o.Fragment&&(f.ref=t?(0,i.t)(t,d):d),o.cloneElement(n,f)}return o.Children.count(n)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=o.forwardRef((e,n)=>{let{children:i,...s}=e,u=o.Children.toArray(i),d=u.find(c);if(d){let e=d.props.children,i=u.map(t=>t===d?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return l.j.jsx(t,{...s,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,i):null})}return l.j.jsx(t,{...s,ref:n,children:i})});return n.displayName=`${e}.Slot`,n}var u=Symbol("radix.slottable");function c(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===u}},11563:function(e,t,n){"use strict";n.d(t,{QP:function(){return X}});let o=e=>{let t=u(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),i(n,t)||s(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&o[e]?[...i,...o[e]]:i}}},i=(e,t)=>{var n;if(0===e.length)return t.classGroupId;let o=e[0],l=t.nextPart.get(o),s=l?i(e.slice(1),l):void 0;if(s)return s;if(0===t.validators.length)return;let u=e.join("-");return null==(n=t.validators.find(({validator:e})=>e(u)))?void 0:n.classGroupId},l=/^\[(.+)\]$/,s=e=>{if(l.test(e)){let t=l.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},u=e=>{let{theme:t,prefix:n}=e,o={nextPart:new Map,validators:[]};return h(Object.entries(e.classGroups),n).forEach(([e,n])=>{c(n,o,e,t)}),o},c=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:d(t,e)).classGroupId=n;return}if("function"==typeof e){if(f(e)){c(e(o),t,n,o);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{c(i,d(t,e),n,o)})})},d=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},f=e=>e.isThemeGetter,h=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,p=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map,i=(i,l)=>{n.set(i,l),++t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},m=e=>{let{separator:t,experimentalParseClassName:n}=e,o=1===t.length,i=t[0],l=t.length,s=e=>{let n=[],s=0,u=0,c;for(let d=0;d<e.length;d++){let f=e[d];if(0===s){if(f===i&&(o||e.slice(d,d+l)===t)){n.push(e.slice(u,d)),u=d+l;continue}if("/"===f){c=d;continue}}"["===f?s++:"]"===f&&s--}let d=0===n.length?e:e.substring(u),f=d.startsWith("!"),h=f?d.substring(1):d;return{modifiers:n,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:c&&c>u?c-u:void 0}};return n?e=>n({className:e,parseClassName:s}):s},g=e=>{if(e.length<=1)return e;let t=[],n=[];
vendor: 4,969 bytes, line 2
2return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},v=e=>({cache:p(e.cacheSize),parseClassName:m(e),...o(e)}),y=/\s+/,b=(e,t)=>{let{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:i}=t,l=[],s=e.trim().split(y),u="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(t),p=!!h,m=o(p?f.substring(0,h):f);if(!m){if(!p||!(m=o(f))){u=t+(u.length>0?" "+u:u);continue}p=!1}let v=g(c).join(":"),y=d?v+"!":v,b=y+m;if(l.includes(b))continue;l.push(b);let w=i(m,p);for(let e=0;e<w.length;++e){let t=w[e];l.push(y+t)}u=t+(u.length>0?" "+u:u)}return u};function w(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=x(t))&&(o&&(o+=" "),o+=n);return o}let x=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=x(e[o]))&&(n&&(n+=" "),n+=t);return n},E=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},C=/^\[(?:([a-z-]+):)?(.+)\]$/i,k=/^\d+\/\d+$/,M=new Set(["px","full","screen"]),_=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,S=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,j=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,O=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,A=e=>P(e)||M.has(e)||k.test(e),T=e=>G(e,"length",Y),P=e=>!!e&&!Number.isNaN(Number(e)),N=e=>G(e,"number",P),F=e=>!!e&&Number.isInteger(Number(e)),R=e=>e.endsWith("%")&&P(e.slice(0,-1)),$=e=>C.test(e),D=e=>_.test(e),z=new Set(["length","size","percentage"]),I=e=>G(e,z,Z),H=e=>G(e,"position",Z),B=new Set(["image","url"]),W=e=>G(e,B,Q),U=e=>G(e,"",K),q=()=>!0,G=(e,t,n)=>{let o=C.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):n(o[2]))},Y=e=>S.test(e)&&!j.test(e),Z=()=>!1,K=e=>O.test(e),Q=e=>L.test(e),X=function(e,...t){let n,o,i,l=function(u){return o=(n=v(t.reduce((e,t)=>t(e),e()))).cache.get,i=n.cache.set,l=s,s(u)};function s(e){let t=o(e);if(t)return t;let l=b(e,n);return i(e,l),l}return function(){return l(w.apply(null,arguments))}}(()=>{let e=E("colors"),t=E("spacing"),n=E("blur"),o=E("brightness"),i=E("borderColor"),l=E("borderRadius"),s=E("borderSpacing"),u=E("borderWidth"),c=E("contrast"),d=E("grayscale"),f=E("hueRotate"),h=E("invert"),p=E("gap"),m=E("gradientColorStops"),g=E("gradientColorStopPositions"),v=E("inset"),y=E("margin"),b=E("opacity"),w=E("padding"),x=E("saturate"),C=E("scale"),k=E("sepia"),M=E("skew"),_=E("space"),S=E("translate"),j=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",$,t],z=()=>[$,t],B=()=>["",A,T],G=()=>["auto",P,$],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Z=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",$],J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ee=()=>[P,$];return{cacheSize:500,separator:":",theme:{colors:[q],spacing:[A,T],blur:["none","",D,$],brightness:ee(),borderColor:[e],borderRadius:["none","","full",D,$],borderSpacing:z(),borderWidth:B(),contrast:ee(),grayscale:X(),hueRotate:ee(),invert:X(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[R,T],inset:L(),margin:L(),opacity:ee(),padding:z(),saturate:ee(),scale:ee(),sepia:X(),skew:ee(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[D]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Y(),$]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}
vendor: 9,887 bytes, line 2
2],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",F,$]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",F,$]}],"grid-cols":[{"grid-cols":[q]}],"col-start-end":[{col:["auto",{span:["full",F,$]},$]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[q]}],"row-start-end":[{row:["auto",{span:[F,$]},$]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...Q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",$,t]}],"min-w":[{"min-w":[$,t,"min","max","fit"]}],"max-w":[{"max-w":[$,t,"none","full","min","max","fit","prose",{screen:[D]},D]}],h:[{h:[$,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$,t,"auto","min","max","fit"]}],"font-size":[{text:["base",D,T]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",N]}],"font-family":[{font:[q]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",$]}],"line-clamp":[{"line-clamp":["none",P,N]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",A,$]}],"list-image":[{"list-image":["none",$]}],"list-style-type":[{list:["none","disc","decimal",$]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",A,T]}],"underline-offset":[{"underline-offset":["auto",A,$]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),H]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",I]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},W]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...Z(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:Z()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...Z()]}],"outline-offset":[{"outline-offset":[A,$]}],"outline-w":[{outline:[A,T]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:B()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[A,T]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",D,U]}],"shadow-color":[{shadow:[q]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",D,$]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[x]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",$]}],duration:[{duration:ee()}],ease:[{ease:["linear","in","out","in-out",$]}],delay:[{delay:ee()}],animate:[{animate:["none","spin","ping","pulse","bounce",$]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[F,$]}],"translate-x":[{"translate-x":[S]}],"translate-y":[{"translate-y":[S]}],"skew-x":[{"skew-x":[M]}],"skew-y":[{"skew-y":[M]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
2],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[A,T,N]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}})},11593:function(e,t,n){"use strict";e.exports=n(60863)},11751:function(e,t,n){"use strict";n.d(t,{UC:function(){return eN},YJ:function(){return eR},In:function(){return eT},q7:function(){return e$},p4:function(){return eD},ZL:function(){return eP},bL:function(){return eO},wn:function(){return eI},PP:function(){return ez},wv:function(){return eH},l9:function(){return eL},WT:function(){return eA},LM:function(){return eF}});var o=n(59065),i=n(3517);function l(e,[t,n]){return Math.min(n,Math.max(t,e))}var s=n(95339),u=n(45901),c=n(32964),d=n(82450),f=n(32383),h=n(79094),p=n(29937),m=n(49239),g=n(25071),v=n(77619),y=n(2381),b=n(46475),w=n(11502),x=n(47715),E=n(85859),C=n(37725),k=n(72370),M=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});o.forwardRef((e,t)=>k.j.jsx(b.s.span,{...e,ref:t,style:{...M,...e.style}})).displayName="VisuallyHidden";var _=n(97708),S=n(57122),j=[" ","Enter","ArrowUp","ArrowDown"],O=[" ","Enter"],L="Select",[A,T,P]=(0,u.N)(L),[N]=(0,d.A)(L,[P,v.Bk]),F=(0,v.Bk)(),[R,$]=N(L),[D,z]=N(L),I=e=>{let{__scopeSelect:t,children:n,open:i,defaultOpen:l,onOpenChange:s,value:u,defaultValue:c,onValueChange:d,dir:h,name:p,autoComplete:m,disabled:y,required:b,form:w}=e,x=F(t),[C,M]=o.useState(null),[_,S]=o.useState(null),[j,O]=o.useState(!1),T=(0,f.j)(h),[P,N]=(0,E.i)({prop:i,defaultProp:l??!1,onChange:s,caller:L}),[$,z]=(0,E.i)({prop:u,defaultProp:c,onChange:d,caller:L}),I=o.useRef(null),H=!C||w||!!C.closest("form"),[B,W]=o.useState(new Set),U=Array.from(B).map(e=>e.props.value).join(";");return k.j.jsx(v.bL,{...x,children:k.j.jsxs(R,{required:b,scope:t,trigger:C,onTriggerChange:M,valueNode:_,onValueNodeChange:S,valueNodeHasChildren:j,onValueNodeHasChildrenChange:O,contentId:(0,g.B)(),value:$,onValueChange:z,open:P,onOpenChange:N,dir:T,triggerPointerDownPosRef:I,disabled:y,children:[k.j.jsx(A.Provider,{scope:t,children:k.j.jsx(D,{scope:e.__scopeSelect,onNativeOptionAdd:o.useCallback(e=>{W(t=>new Set(t).add(e))},[]),onNativeOptionRemove:o.useCallback(e=>{W(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),H?k.j.jsxs(eM,{"aria-hidden":!0,required:b,tabIndex:-1,name:p,autoComplete:m,value:$,onChange:e=>z(e.target.value),disabled:y,form:w,children:[void 0===$?k.j.jsx("option",{value:""}):null,Array.from(B)]},U):null]})})};I.displayName=L;var H="SelectTrigger",B=o.forwardRef((e,t)=>
2{let{__scopeSelect:n,disabled:i=!1,...l}=e,u=F(n),d=$(H,n),f=d.disabled||i,h=(0,c.s)(t,d.onTriggerChange),p=T(n),m=o.useRef("touch"),[g,y,w]=eS(e=>{let t=p().filter(e=>!e.disabled),n=t.find(e=>e.value===d.value),o=ej(t,e,n);void 0!==o&&d.onValueChange(o.value)}),x=e=>{f||(d.onOpenChange(!0),w()),e&&(d.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return k.j.jsx(v.Mz,{asChild:!0,...u,children:k.j.jsx(b.s.button,{type:"button",role:"combobox","aria-controls":d.contentId,"aria-expanded":d.open,"aria-required":d.required,"aria-autocomplete":"none",dir:d.dir,"data-state":d.open?"open":"closed",disabled:f,"data-disabled":f?"":void 0,"data-placeholder":e_(d.value)?"":void 0,...l,ref:h,onClick:(0,s.m)(l.onClick,e=>{e.currentTarget.focus(),"mouse"!==m.current&&x(e)}),onPointerDown:(0,s.m)(l.onPointerDown,e=>{m.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(x(e),e.preventDefault())}),onKeyDown:(0,s.m)(l.onKeyDown,e=>{let t=""!==g.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||y(e.key),!(t&&" "===e.key)&&j.includes(e.key)&&(x(),e.preventDefault())})})})});B.displayName=H;var W="SelectValue",U=o.forwardRef((e,t)=>{let{__scopeSelect:n,className:o,style:i,children:l,placeholder:s="",...u}=e,d=$(W,n),{onValueNodeHasChildrenChange:f}=d,h=void 0!==l,p=(0,c.s)(t,d.onValueNodeChange);return(0,C.N)(()=>{f(h)},[f,h]),k.j.jsx(b.s.span,{...u,ref:p,style:{pointerEvents:"none"},children:e_(d.value)?k.j.jsx(k.j.Fragment,{children:s}):l})});U.displayName=W;var q=o.forwardRef((e,t)=>{let{__scopeSelect:n,children:o,...i}=e;return k.j.jsx(b.s.span,{"aria-hidden":!0,...i,ref:t,children:o||"â¼"})});q.displayName="SelectIcon";var G=e=>k.j.jsx(y.Z,{asChild:!0,...e});G.displayName="SelectPortal";var Y="SelectContent",Z=o.forwardRef((e,t)=>{let n=$(Y,e.__scopeSelect),[l,s]=o.useState();return((0,C.N)(()=>{s(new DocumentFragment)},[]),n.open)?k.j.jsx(J,{...e,ref:t}):l?i.createPortal(k.j.jsx(K,{scope:e.__scopeSelect,children:k.j.jsx(A.Slot,{scope:e.__scopeSelect,children:k.j.jsx("div",{children:e.children})})}),l):null});Z.displayName=Y;var[K,Q]=N(Y),X=(0,w.T)("SelectContent.RemoveScroll"),J=o.forwardRef((e,t)=>{let{__scopeSelect:n,position:i="item-aligned",onCloseAutoFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,side:f,sideOffset:g,align:v,alignOffset:y,arrowPadding:b,collisionBoundary:w,collisionPadding:x,sticky:E,hideWhenDetached:C,avoidCollisions:M,...j}=e,O=$(Y,n),[L,A]=o.useState(null),[P,N]=o.useState(null),F=(0,c.s)(t,e=>A(e)),[R,D]=o.useState(null),[z,I]=o.useState(null),H=T(n),[B,W]=o.useState(!1),U=o.useRef(!1);o.useEffect(()=>{if(L)return(0,_.E)(L)},[L]),(0,p.O)();let q=o.useCallback(e=>{let[t,...n]=H().map(e=>e.ref.current),[o]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(null==n||n.scrollIntoView({block:"nearest"}),n===t&&P&&(P.scrollTop=0),n===o&&P&&(P.scrollTop=P.scrollHeight),null==n||n.focus(),document.activeElement!==i))return},[H,P]),G=o.useCallback(()=>q([R,L]),[q,R,L]);o.useEffect(()=>{B&&G()},[B,G]);let{onOpenChange:Z,triggerPointerDownPosRef:Q}=O;o.useEffect(()=>{if(L){let e={x:0,y:0},t=t=>{var n,o;e={x:Math.abs(Math.round(t.pageX)-((null==(n=Q.current)?void 0:n.x)??0)),y:Math.abs(Math.round(t.pageY)-((null==(o=Q.current)?void 0:o.y)??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():L.contains(n.target)||Z(!1),document.removeEventListener("pointermove",t),Q.current=null};return null!==Q.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[L,Z,Q]),o.useEffect(()=>{let e=()=>Z(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[Z]);let[J,er]=eS(e=>{let t=H().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),o=ej(t,e,n);o&&setTimeout(()=>o.ref.current.focus())}),en=o.useCallback((e,t,n)=>{let o=!U.current&&!n;(void 0!==O.value&&O.value===t||o)&&(D(e),o&&(U.current=!0))},[O.value]),ea=o.useCallback(()=>null==L?void 0:L.focus(),[L]),eo=o.useCallback((e,t,n)=>{let o=!U.current&&!n;(void 0!==O.value&&O.value===t||o)&&I(e)},[O.value]),ei="popper"===i?et:ee,el=ei===et?{side:f,sideOffset:g,align:v,alignOffset:y,arrowPadding:b,collisionBoundary:w,collisionPadding:x,sticky:E,hideWhenDetached:C,avoidCollisions:M}:{};return k.j.jsx(K,{scope:n,content:L,viewport:P,onViewportChange:N,itemRefCallback:en,selectedItem:R,onItemLeave:ea,itemTextRefCallback:eo,focusSelectedItem:G,selectedItemText:z,position:i,isPositioned:B,searchRef:J,children:k.j.jsx(S.A,{as:X,allowPinchZoom:!0,children:k.j.jsx(m.n,{asChild:!0,trapped:O.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:(0,s.m)(l,e=>{var t;
2null==(t=O.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:k.j.jsx(h.q,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>O.onOpenChange(!1),children:k.j.jsx(ei,{role:"listbox",id:O.contentId,"data-state":O.open?"open":"closed",dir:O.dir,onContextMenu:e=>e.preventDefault(),...j,...el,onPlaced:()=>W(!0),ref:F,style:{display:"flex",flexDirection:"column",outline:"none",...j.style},onKeyDown:(0,s.m)(j.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||er(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=H().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,o=t.indexOf(n);t=t.slice(o+1)}setTimeout(()=>q(t)),e.preventDefault()}})})})})})})});J.displayName="SelectContentImpl";var ee=o.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:i,...s}
2=e,u=$(Y,n),d=Q(Y,n),[f,h]=o.useState(null),[p,m]=o.useState(null),g=(0,c.s)(t,e=>m(e)),v=T(n),y=o.useRef(!1),w=o.useRef(!0),{viewport:x,selectedItem:E,selectedItemText:M,focusSelectedItem:_}=d,S=o.useCallback(()=>{if(u.trigger&&u.valueNode&&f&&p&&x&&E&&M){let e=u.trigger.getBoundingClientRect(),t=p.getBoundingClientRect(),n=u.valueNode.getBoundingClientRect(),o=M.getBoundingClientRect();if("rtl"!==u.dir){let i=o.left-t.left,s=n.left-i,u=e.left-s,c=e.width+u,d=Math.max(c,t.width),h=l(s,[10,Math.max(10,window.innerWidth-10-d)]);f.style.minWidth=c+"px",f.style.left=h+"px"}else{let i=t.right-o.right,s=window.innerWidth-n.right-i,u=window.innerWidth-e.right-s,c=e.width+u,d=Math.max(c,t.width),h=l(s,[10,Math.max(10,window.innerWidth-10-d)]);f.style.minWidth=c+"px",f.style.right=h+"px"}let s=v(),c=window.innerHeight-20,d=x.scrollHeight,h=window.getComputedStyle(p),m=parseInt(h.borderTopWidth,10),g=parseInt(h.paddingTop,10),b=parseInt(h.borderBottomWidth,10),w=m+g+d+parseInt(h.paddingBottom,10)+b,C=Math.min(5*E.offsetHeight,w),k=window.getComputedStyle(x),_=parseInt(k.paddingTop,10),S=parseInt(k.paddingBottom,10),j=e.top+e.height/2-10,O=E.offsetHeight/2,L=m+g+(E.offsetTop+O);if(L<=j){let e=s.length>0&&E===s[s.length-1].ref.current;f.style.bottom="0px";let t=p.clientHeight-x.offsetTop-x.offsetHeight;f.style.height=L+Math.max(c-j,O+(e?S:0)+t+b)+"px"}else{let e=s.length>0&&E===s[0].ref.current;f.style.top="0px";let t=Math.max(j,m+x.offsetTop+(e?_:0)+O)+(w-L);f.style.height=t+"px",x.scrollTop=L-j+x.offsetTop}f.style.margin="10px 0",f.style.minHeight=C+"px",f.style.maxHeight=c+"px",null==i||i(),requestAnimationFrame(()=>y.current=!0)}},[v,u.trigger,u.valueNode,f,p,x,E,M,u.dir,i]);(0,C.N)(()=>S(),[S]);let[j,O]=o.useState();(0,C.N)(()=>{p&&O(window.getComputedStyle(p).zIndex)},[p]);let L=o.useCallback(e=>{e&&!0===w.current&&(S(),null==_||_(),w.current=!1)},[S,_]);return k.j.jsx(er,{scope:n,contentWrapper:f,shouldExpandOnScrollRef:y,onScrollButtonChange:L,children:k.j.jsx("div",{ref:h,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:j},children:k.j.jsx(b.s.div,{...s,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}})})})});ee.displayName="SelectItemAlignedPosition";var et=o.forwardRef((e,t)=>{let{__scopeSelect:n,align:o="start",collisionPadding:i=10,...l}=e,s=F(n);return k.j.jsx(v.UC,{...s,...l,ref:t,align:o,collisionPadding:i,style:{boxSizing:"border-box",...l.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)"}})});et.displayName="SelectPopperPosition";var[er,en]=N(Y,{}),ea="SelectViewport",eo=o.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:i,...l}=e,u=Q(ea,n),d=en(ea,n),f=(0,c.s)(t,u.onViewportChange),h=o.useRef(0);return k.j.jsxs(k.j.Fragment,{children:[k.j.jsx("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}"},nonce:i}),k.j.jsx(A.Slot,{scope:n,children:k.j.jsx(b.s.div,{"data-radix-select-viewport":"",role:"presentation",...l,ref:f,style:{position:"relative",flex:1,overflow:"hidden auto",...l.style},onScroll:(0,s.m)(l.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:o}=d;if(null!=o&&o.current&&n){let e=Math.abs(h.current-t.scrollTop);if(e>0){let o=window.innerHeight-20,i=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(i<o){let l=i+e,s=Math.min(o,l),u=l-s;n.style.height=s+"px","0px"===n.style.bottom&&(t.scrollTop=u>0?u:0,n.style.justifyContent="flex-end")}}}h.current=t.scrollTop})})})]})});eo.displayName=ea;var ei="SelectGroup",[el,es]=N(ei),eu=o.forwardRef((e,t)=>{let{__scopeSelect:n,...o}=e,i=(0,g.B)();return k.j.jsx(el,{scope:n,id:i,children:k.j.jsx(b.s.div,{role:"group","aria-labelledby":i,...o,ref:t})})});eu.displayName=ei;var ec="SelectLabel";o.forwardRef((e,t)=>
2{let{__scopeSelect:n,...o}=e,i=es(ec,n);return k.j.jsx(b.s.div,{id:i.id,...o,ref:t})}).displayName=ec;var ed="SelectItem",[ef,eh]=N(ed),ep=o.forwardRef((e,t)=>{let{__scopeSelect:n,value:i,disabled:l=!1,textValue:u,...d}=e,f=$(ed,n),h=Q(ed,n),p=f.value===i,[m,v]=o.useState(u??""),[y,w]=o.useState(!1),x=(0,c.s)(t,e=>{var t;return null==(t=h.itemRefCallback)?void 0:t.call(h,e,i,l)}),E=(0,g.B)(),C=o.useRef("touch"),M=()=>{l||(f.onValueChange(i),f.onOpenChange(!1))};if(""===i)throw 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 k.j.jsx(ef,{scope:n,value:i,disabled:l,textId:E,isSelected:p,onItemTextChange:o.useCallback(e=>{v(t=>t||((null==e?void 0:e.textContent)??"").trim())},[]),children:k.j.jsx(A.ItemSlot,{scope:n,value:i,disabled:l,textValue:m,children:k.j.jsx(b.s.div,{role:"option","aria-labelledby":E,"data-highlighted":y?"":void 0,"aria-selected":p&&y,"data-state":p?"checked":"unchecked","aria-disabled":l||void 0,"data-disabled":l?"":void 0,tabIndex:l?void 0:-1,...d,ref:x,onFocus:(0,s.m)(d.onFocus,()=>w(!0)),onBlur:(0,s.m)(d.onBlur,()=>w(!1)),onClick:(0,s.m)(d.onClick,()=>{"mouse"!==C.current&&M()}),onPointerUp:(0,s.m)(d.onPointerUp,()=>{"mouse"===C.current&&M()}),onPointerDown:(0,s.m)(d.onPointerDown,e=>{C.current=e.pointerType}),onPointerMove:(0,s.m)(d.onPointerMove,e=>{var t;C.current=e.pointerType,l?null==(t=h.onItemLeave)||t.call(h):"mouse"===C.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:(0,s.m)(d.onPointerLeave,e=>{var t;e.currentTarget===document.activeElement&&(null==(t=h.onItemLeave)||t.call(h))}),onKeyDown:(0,s.m)(d.onKeyDown,e=>{var t;(null==(t=h.searchRef)?void 0:t.current)!==""&&" "===e.key||(O.includes(e.key)&&M()," "===e.key&&e.preventDefault())})})})})});ep.displayName=ed;var em="SelectItemText",eg=o.forwardRef((e,t)=>{let{__scopeSelect:n,className:l,style:s,...u}=e,d=$(em,n),f=Q(em,n),h=eh(em,n),p=z(em,n),[m,g]=o.useState(null),v=(0,c.s)(t,e=>g(e),h.onItemTextChange,e=>{var t;return null==(t=f.itemTextRefCallback)?void 0:t.call(f,e,h.value,h.disabled)}),y=null==m?void 0:m.textContent,w=o.useMemo(()=>k.j.jsx("option",{value:h.value,disabled:h.disabled,children:y},h.value),[h.disabled,h.value,y]),{onNativeOptionAdd:x,onNativeOptionRemove:E}=p;return(0,C.N)(()=>(x(w),()=>E(w)),[x,E,w]),k.j.jsxs(k.j.Fragment,{children:[k.j.jsx(b.s.span,{id:h.textId,...u,ref:v}),h.isSelected&&d.valueNode&&!d.valueNodeHasChildren?i.createPortal(u.children,d.valueNode):null]})});eg.displayName=em;var ev="SelectItemIndicator";o.forwardRef((e,t)=>{let{__scopeSelect:n,...o}=e;return eh(ev,n).isSelected?k.j.jsx(b.s.span,{"aria-hidden":!0,...o,ref:t}):null}).displayName=ev;var ey="SelectScrollUpButton",eb=o.forwardRef((e,t)=>{let n=Q(ey,e.__scopeSelect),i=en(ey,e.__scopeSelect),[l,s]=o.useState(!1),u=(0,c.s)(t,i.onScrollButtonChange);return(0,C.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){s(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?k.j.jsx(eE,{...e,ref:u,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});eb.displayName=ey;var ew="SelectScrollDownButton",ex=o.forwardRef((e,t)=>{let n=Q(ew,e.__scopeSelect),i=en(ew,e.__scopeSelect),[l,s]=o.useState(!1),u=(0,c.s)(t,i.onScrollButtonChange);return(0,C.N)(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;s(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),l?k.j.jsx(eE,{...e,ref:u,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ex.displayName=ew;var eE=o.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:i,...l}=e,u=Q("SelectScrollButton",n),c=o.useRef(null),d=T(n),f=o.useCallback(()=>{null!==c.current&&(window.clearInterval(c.current),c.current=null)},[]);return o.useEffect(()=>()=>f(),[f]),(0,C.N)(()=>{var e;let t=d().find(e=>e.ref.current===document.activeElement);null==(e=null==t?void 0:t.ref.current)||e.scrollIntoView({block:"nearest"})},[d]),k.j.jsx(b.s.div,{"aria-hidden":!0,...l,ref:t,style:{flexShrink:0,...l.style},onPointerDown:(0,s.m)(l.onPointerDown,()=>{null===c.current&&(c.current=window.setInterval(i,50))}),onPointerMove:(0,s.m)(l.onPointerMove,()=>{var e;null==(e=u.onItemLeave)||e.call(u),null===c.current&&(c.current=window.setInterval(i,50))}),onPointerLeave:(0,s.m)(l.onPointerLeave,()=>{f()})})}),eC=o.forwardRef((e,t)=>
2{let{__scopeSelect:n,...o}=e;return k.j.jsx(b.s.div,{"aria-hidden":!0,...o,ref:t})});eC.displayName="SelectSeparator";var ek="SelectArrow";o.forwardRef((e,t)=>{let{__scopeSelect:n,...o}=e,i=F(n),l=$(ek,n),s=Q(ek,n);return l.open&&"popper"===s.position?k.j.jsx(v.i3,{...i,...o,ref:t}):null}).displayName=ek;var eM=o.forwardRef(({__scopeSelect:e,value:t,...n},i)=>{let l=o.useRef(null),s=(0,c.s)(i,l),u=function(e){let t=o.useRef({value:e,previous:e});return o.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(t);return o.useEffect(()=>{let e=l.current;if(!e)return;let n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(u!==t&&n){let o=new Event("change",{bubbles:!0});n.call(e,t),e.dispatchEvent(o)}},[u,t]),k.j.jsx(b.s.select,{...n,style:{...M,...n.style},ref:s,defaultValue:t})});function e_(e){return""===e||void 0===e}function eS(e){let t=(0,x.c)(e),n=o.useRef(""),i=o.useRef(0),l=o.useCallback(e=>{let o=n.current+e;t(o),function e(t){n.current=t,window.clearTimeout(i.current),""!==t&&(i.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),s=o.useCallback(()=>{n.current="",window.clearTimeout(i.current)},[]);return o.useEffect(()=>()=>window.clearTimeout(i.current),[]),[n,l,s]}function ej(e,t,n){var o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=(o=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(o+n)%e.length]));1===i.length&&(l=l.filter(e=>e!==n));let s=l.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return s!==n?s:void 0}eM.displayName="SelectBubbleInput";var eO=I,eL=B,eA=U,eT=q,eP=G,eN=Z,eF=eo,eR=eu,e$=ep,eD=eg,ez=eb,eI=ex,eH=eC},11816:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var o={exports:{}}},11906:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"interpolateAs",{enumerable:!0,get:function(){return l}});let o=n(35356),i=n(20329);function l(e,t,n){let l="",s=(0,i.getRouteRegex)(e),u=s.groups,c=(t!==e?(0,o.getRouteMatcher)(s)(t):"")||n;l=e;let d=Object.keys(u);return d.every(e=>{let t=c[e]||"",{repeat:n,optional:o}=u[e],i="["+(n?"...":"")+e+"]";return o&&(i=(t?"":"/")+"["+i+"]"),n&&!Array.isArray(t)&&(t=[t]),(o||e in c)&&(l=l.replace(i,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(l=""),{params:d,result:l}}},12052:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},defaultHead:function(){return h}});let o=n(77223),i=n(2438),l=n(23078),s=i._(n(59065)),u=o._(n(64267)),c=n(67340),d=n(45140),f=n(96504);function h(e){void 0===e&&(e=!1);let t=[(0,l.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,l.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function p(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===s.default.Fragment?e.concat(s.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}n(39960);let m=["name","httpEquiv","charSet","itemProp"];function g(e,t){let{inAmpMode:n}=t;return e.reduce(p,[]).reverse().concat(h(n).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,o={};return i=>{let l=!0,s=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){s=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?l=!1:t.add(i.type);break;case"meta":for(let e=0,t=m.length;e<t;e++){let t=m[e];if(i.props.hasOwnProperty(t)){if("charSet"===t)n.has(t)?l=!1:n.add(t);else{let e=i.props[t],n=o[t]||new Set;("name"!==t||!s)&&n.has(e)?l=!1:(n.add(e),o[t]=n)}}}}return l}}()).reverse().map((e,t)=>{let o=e.key||t;if(!n&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,s.default.cloneElement(e,t)}return s.default.cloneElement(e,{key:o})})}let v=function(e){let{children:t}=e,n=(0,s.useContext)(c.AmpStateContext),o=(0,s.useContext)(d.HeadManagerContext);return(0,l.jsx)(u.default,{reduceComponentsToState:g,headManager:o,inAmpMode:(0,f.isInAmpMode)(n),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
2dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12335:function(e,t,n){"use strict";n.d(t,{s:function(){return s}});var o=n(59065);n(3517);var i=n(55445),l=n(72370),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,i.TL)(`Primitive.${t}`),s=o.forwardRef((e,o)=>{let{asChild:i,...s}=e,u=i?n:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),l.j.jsx(u,{...s,ref:o})});return s.displayName=`Primitive.${t}`,{...e,[t]:s}},{})},13926:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(50514),i=n(25198),l=n(11150);t.default=function(){let e;let t=o.useParams();try{e=i.useLocale()}catch(n){if("string"!=typeof(null==t?void 0:t[l.LOCALE_SEGMENT_NAME]))throw n;e=t[l.LOCALE_SEGMENT_NAME]}return e}},14030:function(e,t){"use strict";function n(e){return"/api"===e||!!(null==e?void 0:e.startsWith("/api/"))}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isAPIRoute",{enumerable:!0,get:function(){return n}})},14085:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});/** 3 * @license lucide-react v0.436.0 - ISC 4 * 5 * This source code is licensed under the ISC license. 6 * See the LICENSE file in the root directory of this source tree. 7 */let o=(0,n(60454).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},14552:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{compileNonPath:function(){return h},matchHas:function(){return f},prepareDestination:function(){return p}});let o=n(35887),i=n(56783),l=n(88973),s=n(22876),u=n(61507),c=n(82647);function d(e){return e.replace(/__ESC_COLON_/gi,":")}function f(e,t,n,o){void 0===n&&(n=[]),void 0===o&&(o=[]);let i={},l=n=>{let o;let l=n.key;switch(n.type){case"header":l=l.toLowerCase(),o=e.headers[l];break;case"cookie":o="cookies"in e?e.cookies[n.key]:(0,c.getCookieParser)(e.headers)()[n.key];break;case"query":o=t[l];break;case"host":{let{host:t}=(null==e?void 0:e.headers)||{};o=null==t?void 0:t.split(":",1)[0].toLowerCase()}}if(!n.value&&o)return i[function(e){let t="";for(let n=0;n<e.length;n++){let o=e.charCodeAt(n);(o>64&&o<91||o>96&&o<123)&&(t+=e[n])}return t}(l)]=o,!0;if(o){let e=RegExp("^"+n.value+"$"),t=Array.isArray(o)?o.slice(-1)[0].match(e):o.match(e);if(t)return Array.isArray(t)&&(t.groups?Object.keys(t.groups).forEach(e=>{i[e]=t.groups[e]}):"host"===n.type&&t[0]&&(i.host=t[0])),!0}return!1};return!!n.every(e=>l(e))&&!o.some(e=>l(e))&&i}function h(e,t){if(!e.includes(":"))return e;for(let n of Object.keys(t))e.includes(":"+n)&&(e=e.replace(RegExp(":"+n+"\\*","g"),":"+n+"--ESCAPED_PARAM_ASTERISKS").replace(RegExp(":"+n+"\\?","g"),":"+n+"--ESCAPED_PARAM_QUESTION").replace(RegExp(":"+n+"\\+","g"),":"+n+"--ESCAPED_PARAM_PLUS").replace(RegExp(":"+n+"(?!\\w)","g"),"--ESCAPED_PARAM_COLON"+n));return e=e.replace(/(:|\*|\?|\+|\(|\)|\{|\})/g,"\\$1").replace(/--ESCAPED_PARAM_PLUS/g,"+").replace(/--ESCAPED_PARAM_COLON/g,":").replace(/--ESCAPED_PARAM_QUESTION/g,"?").replace(/--ESCAPED_PARAM_ASTERISKS/g,"*"),(0,o.compile)("/"+e,{validate:!1})(t).slice(1)}function p(e){let t;let n=Object.assign({},e.query);delete n.__nextLocale,delete n.__nextDefaultLocale,delete n.__nextDataReq,delete n.__nextInferredLocaleFromDefault,delete n[u.NEXT_RSC_UNION_QUERY];let c=e.destination;for(let t of Object.keys({...e.params,...n}))c=c.replace(RegExp(":"+(0,i.escapeStringRegexp)(t),"g"),"__ESC_COLON_"+t);let f=(0,l.parseUrl)(c),p=f.query,m=d(""+f.pathname+(f.hash||"")),g=d(f.hostname||""),v=[],y=[];(0,o.pathToRegexp)(m,v),(0,o.pathToRegexp)(g,y);let b=[];v.forEach(e=>b.push(e.name)),y.forEach(e=>b.push(e.name));let w=(0,o.compile)(m,{validate:!1}),x=(0,o.compile)(g,{validate:!1});for(let[t,n]of Object.entries(p))Array.isArray(n)?p[t]=n.map(t=>h(d(t),e.params)):"string"==typeof n&&(p[t]=h(d(n),e.params));let E=Object.keys(e.params).filter(e=>"nextInternalLocale"!==e);if(e.appendParamsToQuery&&!E.some(e=>b.includes(e)))for(let t of E)t in p||(p[t]=e.params[t]);if((0,s.isInterceptionRouteAppPath)(m))for(let t of m.split("/")){let n=s.INTERCEPTION_ROUTE_MARKERS.find(e=>t.startsWith(e));if(n){e.params["0"]=n;break}}try{let[n,o]=(t=w(e.params)).split("#",2);f.hostname=x(e.params),f.pathname=n,f.hash=(o?"#":"")+(o||""),delete f.search}catch(e){if(e.message.match(/Expected .*? to not repeat, but got an array/))throw Error("To use a multi-match in the destination you must add `*` at the end of the param name to signify it should repeat. https://nextjs.org/docs/messages/invalid-multi-match");throw e}return f.query={...n,...f.query},{newUrl:t,destQuery:p,parsedDestination:f}}},14611:function(e,t,n){"use strict";
7Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getPathMatch",{enumerable:!0,get:function(){return i}});let o=n(35887);function i(e,t){let n=[],i=(0,o.pathToRegexp)(e,n,{delimiter:"/",sensitive:"boolean"==typeof(null==t?void 0:t.sensitive)&&t.sensitive,strict:null==t?void 0:t.strict}),l=(0,o.regexpToFunction)((null==t?void 0:t.regexModifier)?new RegExp(t.regexModifier(i.source),i.flags):i,n);return(e,o)=>{if("string"!=typeof e)return!1;let i=l(e);if(!i)return!1;if(null==t?void 0:t.removeUnnamedParams)for(let e of n)"number"==typeof e.name&&delete i.params[e.name];return{...o,...i.params}}}},15139:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var o={}},17141:function(e,t){"use strict";let n;function o(e){var t;return(null==(t=function(){if(void 0===n){var e;n=(null==(e=window.trustedTypes)?void 0:e.createPolicy("nextjs",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e}))||null}return n}())?void 0:t.createScriptURL(e))||e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"__unsafeCreateTrustedScriptURL",{enumerable:!0,get:function(){return o}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},17587:function(e,t){"use strict";function n(e){let t={};return e.forEach((e,n)=>{void 0===t[n]?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function o(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[n,i]=e;Array.isArray(i)?i.forEach(e=>t.append(n,o(e))):t.set(n,o(i))}),t}function l(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{assign:function(){return l},searchParamsToUrlQuery:function(){return n},urlQueryToSearchParams:function(){return i}})},18214:function(e,t,n){"use strict";e.exports=n(37416)},18711:function(e,t,n){"use strict";let o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let i=["CLS","FCP","FID","INP","LCP","TTFB"];location.href;let l=!1;function s(e){o&&o(e)}let u=e=>{if(o=e,!l)for(let e of(l=!0,i))try{let t;t||(t=n(64246)),t["on"+e](s)}catch(t){console.warn("Failed to track "+e+" web-vital",t)}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},20329:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getNamedMiddlewareRegex:function(){return p},getNamedRouteRegex:function(){return h},getRouteRegex:function(){return c}});let o=n(22876),i=n(56783),l=n(41153);function s(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function u(e){let t=(0,l.removeTrailingSlash)(e).slice(1).split("/"),n={},u=1;return{parameterizedRoute:t.map(e=>{let t=o.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),l=e.match(/\[((?:\[.*\])|.+)\]/);if(t&&l){let{key:e,optional:o,repeat:c}=s(l[1]);return n[e]={pos:u++,repeat:c,optional:o},"/"+(0,i.escapeStringRegexp)(t)+"([^/]+?)"}if(!l)return"/"+(0,i.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:o}=s(l[1]);return n[e]={pos:u++,repeat:t,optional:o},t?o?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:n}}function c(e){let{parameterizedRoute:t,groups:n}=u(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function d(e){let{interceptionMarker:t,getSafeRouteKey:n,segment:o,routeKeys:l,keyPrefix:u}=e,{key:c,optional:d,repeat:f}=s(o),h=c.replace(/\W/g,"");u&&(h=""+u+h);let p=!1;(0===h.length||h.length>30)&&(p=!0),isNaN(parseInt(h.slice(0,1)))||(p=!0),p&&(h=n()),u?l[h]=""+u+c:l[h]=c;let m=t?(0,i.escapeStringRegexp)(t):"";return f?d?"(?:/"+m+"(?<"+h+">.+?))?":"/"+m+"(?<"+h+">.+?)":"/"+m+"(?<"+h+">[^/]+?)"}function f(e,t){let n;let s=(0,l.removeTrailingSlash)(e).slice(1).split("/"),u=(n=0,()=>{let e="",t=++n;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),c={};return{namedParameterizedRoute:s.map(e=>{let n=o.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),l=e.match(/\[((?:\[.*\])|.+)\]/);if(n&&l){let[n]=e.split(l[0]);return d({getSafeRouteKey:u,interceptionMarker:n,segment:l[1],routeKeys:c,keyPrefix:t?"nxtI":void 0})}return l?d({getSafeRouteKey:u,segment:l[1],routeKeys:c,keyPrefix:t?"nxtP":void 0}):"/"+(0,i.escapeStringRegexp)(e)}).join(""),routeKeys:c}}function h(e,t){let n=f(e,t);return{...c(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function p(e,t){let{parameterizedRoute:n}=u(e),{catchAll:o=!0}=t;if("/"===n)return{namedRegex:"^/"+(o?".*":"")+"$"};let{namedParameterizedRoute:i}=f(e,!1);return{namedRegex:"^"+i+(o?"(?:(/.*)?)":"")+"$"}}},20638:function(e,t,n){"use strict";
7Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseRelativeUrl",{enumerable:!0,get:function(){return l}});let o=n(22101),i=n(17587);function l(e,t){let n=new URL((0,o.getLocationOrigin)()),l=t?new URL(t,n):e.startsWith(".")?new URL(window.location.href):n,{pathname:s,searchParams:u,search:c,hash:d,href:f,origin:h}=new URL(e,l);if(h!==n.origin)throw Error("invariant: invalid relative URL, router received "+e);return{pathname:s,query:(0,i.searchParamsToUrlQuery)(u),search:c,hash:d,href:f.slice(n.origin.length)}}},21450:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isLocalURL",{enumerable:!0,get:function(){return l}});let o=n(22101),i=n(69404);function l(e){if(!(0,o.isAbsoluteUrl)(e))return!0;try{let t=(0,o.getLocationOrigin)(),n=new URL(e,t);return n.origin===t&&(0,i.hasBasePath)(n.pathname)}catch(e){return!1}}},22101:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DecodeError:function(){return g},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return b},NormalizeError:function(){return v},PageNotFoundError:function(){return y},SP:function(){return p},ST:function(){return m},WEB_VITALS:function(){return n},execOnce:function(){return o},getDisplayName:function(){return c},getLocationOrigin:function(){return s},getURL:function(){return u},isAbsoluteUrl:function(){return l},isResSent:function(){return d},loadGetInitialProps:function(){return h},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return x}});let n=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,n=!1;return function(){for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return n||(n=!0,t=e(...i)),t}}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function s(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function u(){let{href:e}=window.location,t=s();return e.substring(t.length)}function c(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function d(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function h(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await h(t.Component,t.ctx)}:{};let o=await e.getInitialProps(t);if(n&&d(n))return o;if(!o)throw Error('"'+c(e)+'.getInitialProps()" should resolve to an object. But found "'+o+'" instead.');return o}let p="undefined"!=typeof performance,m=p&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class g extends Error{}class v extends Error{}class y extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class b extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function x(e){return JSON.stringify({message:e.message,stack:e.stack})}},22715:function(e,t,n){"use strict";n.r(t),n.d(t,{ErrorCode:function(){return m},FormatError:function(){return eh},IntlMessageFormat:function(){return ew},InvalidValueError:function(){return ep},InvalidValueTypeError:function(){return em},MissingValueError:function(){return eg},PART_TYPE:function(){return g},default:function(){return ex},formatToParts:function(){return ey},isFormatXMLElementFn:function(){return ev}});var o,i,l,s,u,c,d,f,h,p,m,g,v=function(e,t){return(v=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])})(e,t)};function y(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}v(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var b=function(){return(b=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function w(e,t,n){if(n||2==arguments.length)for(var o,i=0,l=t.length;i<l;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var x=n(9991);function E(e){return e.type===d.literal}function C(e){return e.type===d.number}function k(e){return e.type===d.date}function M(e){return e.type===d.time}function _(e){return e.type===d.select}function S(e){return e.type===d.plural}function j(e){return e.type===d.tag}function O(e){return!!(e&&"object"==typeof e&&e.type===f.number)}function L(e){return!!(e&&"object"==typeof e&&e.type===f.dateTime)}(o=c||(c={}))[o.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",o[o.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",o[o.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",o[o.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",o[o.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",o[o.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",o[o.INVALID_
vendor: 5,609 bytes, line 7
7NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",o[o.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",o[o.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",o[o.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",o[o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",o[o.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",o[o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",o[o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",o[o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",o[o.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",o[o.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",o[o.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",o[o.INVALID_TAG=23]="INVALID_TAG",o[o.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",o[o.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",o[o.UNCLOSED_TAG=27]="UNCLOSED_TAG",(i=d||(d={}))[i.literal=0]="literal",i[i.argument=1]="argument",i[i.number=2]="number",i[i.date=3]="date",i[i.time=4]="time",i[i.select=5]="select",i[i.plural=6]="plural",i[i.pound=7]="pound",i[i.tag=8]="tag",(l=f||(f={}))[l.number=0]="number",l[l.dateTime=1]="dateTime";var A=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,T=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,P=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,N=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,F=/^(@+)?(\+|#+)?[rs]?$/g,R=/(\*)(0+)|(#+)(0+)|(0+)/g,$=/^(0+)$/;function D(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(F,function(e,n,o){return"string"!=typeof o?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===o?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof o?o.length:0)),""}),t}function z(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function I(e){return z(e)||{}}var H={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
7:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},B=new RegExp("^".concat(A.source,"*")),W=new RegExp("".concat(A.source,"*$"));function U(e,t){return{start:e,end:t}}var q=!!String.prototype.startsWith&&"_a".startsWith("a",1),G=!!String.fromCodePoint,Y=!!Object.fromEntries,Z=!!String.prototype.codePointAt,K=!!String.prototype.trimStart,Q=!!String.prototype.trimEnd,X=Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&9007199254740991>=Math.abs(e)},J=!0;try{var ee=el("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");J=(null===(h=ee.exec("a"))||void 0===h?void 0:h[0])==="a"}catch(e){J=!1}var et=q?function(e,t,n){return e.startsWith(t,n)}:function(e,t,n){return e.slice(n,n+t.length)===t},er=G?String.fromCodePoint:function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var o="",i=t.length,l=0;i>l;){if((e=t[l++])>1114111)throw RangeError(e+" is not a valid code point");o+=e<65536?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,e%1024+56320)}return o},en=Y?Object.fromEntries:function(e){for(var t={},n=0;n<e.length;n++){var o=e[n],i=o[0],l=o[1];t[i]=l}return t},ea=Z?function(e,t){return e.codePointAt(t)}:function(e,t){var n,o=e.length;if(!(t<0)&&!(t>=o)){var i=e.charCodeAt(t);return i<55296||i>56319||t+1===o||(n=e.charCodeAt(t+1))<56320||n>57343?i:(i-55296<<10)+(n-56320)+65536}},eo=K?function(e){return e.trimStart()}:function(e){return e.replace(B,"")},ei=Q?function(e){return e.trimEnd()}:function(e){return e.replace(W,"")};function el(e,t){return new RegExp(e,t)}
7if(J){var es=el("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");p=function(e,t){var n;return es.lastIndex=t,null!==(n=es.exec(e)[1])&&void 0!==n?n:""}}else p=function(e,t){for(var n=[];;){var o,i=ea(e,t);if(void 0===i||ed(i)||(o=i)>=33&&o<=35||36===o||o>=37&&o<=39||40===o||41===o||42===o||43===o||44===o||45===o||o>=46&&o<=47||o>=58&&o<=59||o>=60&&o<=62||o>=63&&o<=64||91===o||92===o||93===o||94===o||96===o||123===o||124===o||125===o||126===o||161===o||o>=162&&o<=165||166===o||167===o||169===o||171===o||172===o||174===o||176===o||177===o||182===o||187===o||191===o||215===o||247===o||o>=8208&&o<=8213||o>=8214&&o<=8215||8216===o||8217===o||8218===o||o>=8219&&o<=8220||8221===o||8222===o||8223===o||o>=8224&&o<=8231||o>=8240&&o<=8248||8249===o||8250===o||o>=8251&&o<=8254||o>=8257&&o<=8259||8260===o||8261===o||8262===o||o>=8263&&o<=8273||8274===o||8275===o||o>=8277&&o<=8286||o>=8592&&o<=8596||o>=8597&&o<=8601||o>=8602&&o<=8603||o>=8604&&o<=8607||8608===o||o>=8609&&o<=8610||8611===o||o>=8612&&o<=8613||8614===o||o>=8615&&o<=8621||8622===o||o>=8623&&o<=8653||o>=8654&&o<=8655||o>=8656&&o<=8657||8658===o||8659===o||8660===o||o>=8661&&o<=8691||o>=8692&&o<=8959||o>=8960&&o<=8967||8968===o||8969===o||8970===o||8971===o||o>=8972&&o<=8991||o>=8992&&o<=8993||o>=8994&&o<=9e3||9001===o||9002===o||o>=9003&&o<=9083||9084===o||o>=9085&&o<=9114||o>=9115&&o<=9139||o>=9140&&o<=9179||o>=9180&&o<=9185||o>=9186&&o<=9254||o>=9255&&o<=9279||o>=9280&&o<=9290||o>=9291&&o<=9311||o>=9472&&o<=9654||9655===o||o>=9656&&o<=9664||9665===o||o>=9666&&o<=9719||o>=9720&&o<=9727||o>=9728&&o<=9838||9839===o||o>=9840&&o<=10087||10088===o||10089===o||10090===o||10091===o||10092===o||10093===o||10094===o||10095===o||10096===o||10097===o||10098===o||10099===o||10100===o||10101===o||o>=10132&&o<=10175||o>=10176&&o<=10180||10181===o||10182===o||o>=10183&&o<=10213||10214===o||10215===o||10216===o||10217===o||10218===o||10219===o||10220===o||10221===o||10222===o||10223===o||o>=10224&&o<=10239||o>=10240&&o<=10495||o>=10496&&o<=10626||10627===o||10628===o||10629===o||10630===o||10631===o||10632===o||10633===o||10634===o||10635===o||10636===o||10637===o||10638===o||10639===o||10640===o||10641===o||10642===o||10643===o||10644===o||10645===o||10646===o||10647===o||10648===o||o>=10649&&o<=10711||10712===o||10713===o||10714===o||10715===o||o>=10716&&o<=10747||10748===o||10749===o||o>=10750&&o<=11007||o>=11008&&o<=11055||o>=11056&&o<=11076||o>=11077&&o<=11078||o>=11079&&o<=11084||o>=11085&&o<=11123||o>=11124&&o<=11125||o>=11126&&o<=11157||11158===o||o>=11159&&o<=11263||o>=11776&&o<=11777||11778===o||11779===o||11780===o||11781===o||o>=11782&&o<=11784||11785===o||11786===o||11787===o||11788===o||11789===o||o>=11790&&o<=11798||11799===o||o>=11800&&o<=11801||11802===o||11803===o||11804===o||11805===o||o>=11806&&o<=11807||11808===o||11809===o||11810===o||11811===o||11812===o||11813===o||11814===o||11815===o||11816===o||11817===o||o>=11818&&o<=11822||11823===o||o>=11824&&o<=11833||o>=11834&&o<=11835||o>=11836&&o<=11839||11840===o||11841===o||11842===o||o>=11843&&o<=11855||o>=11856&&o<=11857||11858===o||o>=11859&&o<=11903||o>=12289&&o<=12291||12296===o||12297===o||12298===o||12299===o||12300===o||12301===o||12302===o||12303===o||12304===o||12305===o||o>=12306&&o<=12307||12308===o||12309===o||12310===o||12311===o||12312===o||12313===o||12314===o||12315===o||12316===o||12317===o||o>=12318&&o<=12319||12320===o||12336===o||64830===o||64831===o||o>=65093&&o<=65094)break;n.push(i),t+=i>=65536?2:1}return er.apply(void 0,n)};var eu=function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var o=[];!this.isEOF();){var i=this.char();if(123===i){var l=this.parseArgument(e,n);if(l.err)return l;o.push(l.val)}else if(125===i&&e>0)break;else if(35===i&&("plural"===t||"selectordinal"===t)){var s=this.clonePosition();this.bump(),o.push({type:d.pound,location:U(s,this.clonePosition())})}else if(60!==i||this.ignoreTag||47!==this.peek()){if(60===i&&!this.ignoreTag&&ec(this.peek()||0)){var l=this.parseTag(e,t);if(l.err)return l;o.push(l.val)}else{var l=this.parseLiteral(e,t);if(l.err)return l;o.push(l.val)}}else{if(!n)return this.error(c.UNMATCHED_CLOSING_TAG,U(this.clonePosition(),this.clonePosition()));break}}return{val:o,err:null}},e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:d.literal,value:"<".concat(o,"/>"),location:U(n,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(c.INVALID_TAG,U(n,this.clonePosition()));var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var l=i.val,s=this.clonePosition();if(!this.bumpIf("</"))return this.error(c.UNCLOSED_TAG,U(n,this.clonePosition()));if(this.isEOF()||!ec(this.char()))return this.error(c.INVALID_TAG,U(s,this.clonePosition()));var u=this.clonePosition();return o!==this.parseTagName()?this.error(c.UNMATCHED_CLOSING_TAG,U(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:d.tag,value:o,children:l,location:U(n,this.clonePosition())},err:null}:this.error(c.INVALID_TAG,U(s,this.clonePosition()))},e.prototype.parseTagName=function(){var e,t=this.offset();for(this.bump();!this.isEOF()&&(45===(e=this.char())||46===e||e>=48&&e<=57||95===e||e>=97&&e<=122||e>=65&&e<=90||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),o="";;){var i=this.tryParseQuote(t);if(i){o+=i;continue}var l=this.tryParseUnquoted(e,t);if(l){o+=l;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var u=U(n,this.clonePosition());return{val:{type:d.literal,value:o,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){var e;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(ec(e=this.peek()||0)||47===e)?null:(this.bump(),"<")},e.prototype.tryParseQuote=function(e){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
7case 123:case 60:case 62:case 125:break;case 35:if("plural"===e||"selectordinal"===e)break;return null;default:return null}this.bump();var t=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(39===n){if(39===this.peek())t.push(39),this.bump();else{this.bump();break}}else t.push(n);this.bump()}return er.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60===n||123===n||35===n&&("plural"===t||"selectordinal"===t)||125===n&&e>0?null:(this.bump(),er(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,U(n,this.clonePosition()));if(125===this.char())return this.bump(),this.error(c.EMPTY_ARGUMENT,U(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(c.MALFORMED_ARGUMENT,U(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,U(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:d.argument,value:o,location:U(n,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,U(n,this.clonePosition()));return this.parseArgumentOptions(e,t,o,n);default:return this.error(c.MALFORMED_ARGUMENT,U(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=p(this.message,t),o=t+n.length;return this.bumpTo(o),{value:n,location:U(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,o){var i,l=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(c.EXPECT_ARGUMENT_TYPE,U(l,u));case"number":case"date":case"time":this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var p=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var g=ei(m.val);if(0===g.length)return this.error(c.EXPECT_ARGUMENT_STYLE,U(this.clonePosition(),this.clonePosition()));h={style:g,styleLocation:U(p,this.clonePosition())}}var v=this.tryParseArgumentClose(o);if(v.err)return v;var y=U(o,this.clonePosition());if(h&&et(null==h?void 0:h.style,"::",0)){var w,x=eo(h.style.slice(2));if("number"===s){var m=this.parseNumberSkeletonFromString(x,h.styleLocation);if(m.err)return m;return{val:{type:d.number,value:n,location:y,style:m.val},err:null}}if(0===x.length)return this.error(c.EXPECT_DATE_TIME_SKELETON,y);var E=x;this.locale&&(E=function(e,t){for(var n="",o=0;o<e.length;o++){var i=e.charAt(o);if("j"===i){for(var l=0;o+1<e.length&&e.charAt(o+1)===i;)l++,o++;var s=1+(1&l),u=l<2?1:3+(l>>1),c=function(e){var t,n=e.hourCycle;if(void 0===n&&e.hourCycles&&e.hourCycles.length&&(n=e.hourCycles[0]),n)switch(n){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}var o=e.language;return"root"!==o&&(t=e.maximize().region),(H[t||""]||H[o||""]||H["".concat(o,"-001")]||H["001"])[0]}(t);for(("H"==c||"k"==c)&&(u=0);u-- >0;)n+="a";for(;s-- >0;)n=c+n}else"J"===i?n+="H":n+=i}return n}(x,this.locale));var g={type:f.dateTime,pattern:E,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?(w={},E.replace(T,function(e){var t=e.length;switch(e[0]){case"G":w.era=4===t?"long":5===t?"narrow":"short";break;case"y":w.year=2===t?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":w.month=["numeric","2-digit","short","long","narrow"][t-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":w.day=["numeric","2-digit"][t-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":w.weekday=4===t?"long":5===t?"narrow":"short";break;case"e":if(t<4)throw RangeError("`e..eee` (weekday) patterns are not supported");
7w.weekday=["short","long","narrow","short"][t-4];break;case"c":if(t<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");w.weekday=["short","long","narrow","short"][t-4];break;case"a":w.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":w.hourCycle="h12",w.hour=["numeric","2-digit"][t-1];break;case"H":w.hourCycle="h23",w.hour=["numeric","2-digit"][t-1];break;case"K":w.hourCycle="h11",w.hour=["numeric","2-digit"][t-1];break;case"k":w.hourCycle="h24",w.hour=["numeric","2-digit"][t-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":w.minute=["numeric","2-digit"][t-1];break;case"s":w.second=["numeric","2-digit"][t-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":w.timeZoneName=t<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),w):{}};return{val:{type:"date"===s?d.date:d.time,value:n,location:y,style:g},err:null}}return{val:{type:"number"===s?d.number:"date"===s?d.date:d.time,value:n,location:y,style:null!==(i=null==h?void 0:h.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":var C=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(c.EXPECT_SELECT_ARGUMENT_OPTIONS,U(C,b({},C)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),M=0;if("select"!==s&&"offset"===k.value){if(!this.bumpIf(":"))return this.error(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,U(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,c.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),k=this.parseIdentifierIfPossible(),M=m.val}var _=this.tryParsePluralOrSelectOptions(e,s,t,k);if(_.err)return _;var v=this.tryParseArgumentClose(o);if(v.err)return v;var S=U(o,this.clonePosition());if("select"===s)return{val:{type:d.select,value:n,options:en(_.val),location:S},err:null};return{val:{type:d.plural,value:n,options:en(_.val),offset:M,pluralType:"plural"===s?"cardinal":"ordinal",location:S},err:null};default:return this.error(c.INVALID_ARGUMENT_TYPE,U(l,u))}},e.prototype.tryParseArgumentClose=function(e){return this.isEOF()||125!==this.char()?this.error(c.EXPECT_ARGUMENT_CLOSING_BRACE,U(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(c.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,U(n,this.clonePosition()));this.bump();break;case 123:e+=1,this.bump();break;case 125:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw Error("Number skeleton cannot be empty");for(var t=e.split(P).filter(function(e){return e.length>0}),n=[],o=0;o<t.length;o++){var i=t[o].split("/");if(0===i.length)throw Error("Invalid number skeleton");for(var l=i[0],s=i.slice(1),u=0;u<s.length;u++)if(0===s[u].length)throw Error("Invalid number skeleton");n.push({stem:l,options:s})}return n}(e)}catch(e){return this.error(c.INVALID_NUMBER_SKELETON,t)}return{val:{type:f.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?function(e){for(var t={},n=0;n<e.length;n++){var o=e[n];switch(o.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=o.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=o.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;
7case"scientific":t=b(b(b({},t),{notation:"scientific"}),o.options.reduce(function(e,t){return b(b({},e),z(t)||{})},{}));continue;case"engineering":t=b(b(b({},t),{notation:"engineering"}),o.options.reduce(function(e,t){return b(b({},e),z(t)||{})},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(o.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(o.options.length>1)throw RangeError("integer-width stems only accept a single optional option");o.options[0].replace(R,function(e,n,o,i,l,s){if(n)t.minimumIntegerDigits=o.length;else if(i&&l)throw Error("We currently do not support maximum integer digits");else if(s)throw Error("We currently do not support exact integer digits");return""});continue}if($.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(N.test(o.stem)){if(o.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(N,function(e,n,o,i,l,s){return"*"===o?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:l&&s?(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""});var i=o.options[0];"w"===i?t=b(b({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=b(b({},t),D(i)));continue}if(F.test(o.stem)){t=b(b({},t),D(o.stem));continue}var l=z(o.stem);l&&(t=b(b({},t),l));var s=function(e){var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!$.test(e))throw Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}(o.stem);s&&(t=b(b({},t),s))}return t}(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,o){for(var i,l=!1,s=[],u=new Set,d=o.value,f=o.location;;){if(0===d.length){var h=this.clonePosition();if("select"!==t&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(c.EXPECT_PLURAL_ARGUMENT_SELECTOR,c.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;f=U(h,this.clonePosition()),d=this.message.slice(h.offset,this.offset())}else break}if(u.has(d))return this.error("select"===t?c.DUPLICATE_SELECT_ARGUMENT_SELECTOR:c.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);"other"===d&&(l=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?c.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:c.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,U(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(e+1,t,n);if(g.err)return g;var v=this.tryParseArgumentClose(m);if(v.err)return v;s.push([d,{value:g.val,location:U(m,this.clonePosition())}]),u.add(d),this.bumpSpace(),d=(i=this.parseIdentifierIfPossible()).value,f=i.location}return 0===s.length?this.error("select"===t?c.EXPECT_SELECT_ARGUMENT_SELECTOR:c.EXPECT_PLURAL_ARGUMENT_SELECTOR,U(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!l?this.error(c.MISSING_OTHER_CLAUSE,U(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,l=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,l=10*l+(s-48),this.bump();else break}var u=U(o,this.clonePosition());return i?X(l*=n)?{val:l,err:null}:this.error(t,u):this.error(e,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=ea(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();
710===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=e<65536?1:2)}},e.prototype.bumpIf=function(e){if(et(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&ed(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this.offset(),n=this.message.charCodeAt(t+(e>=65536?2:1));return null!=n?n:null},e}();function ec(e){return e>=97&&e<=122||e>=65&&e<=90}function ed(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}function ef(e,t){void 0===t&&(t={});var n=new eu(e,t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t)).parse();if(n.err){var o=SyntaxError(c[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return(null==t?void 0:t.captureLocation)||function e(t){t.forEach(function(t){if(delete t.location,_(t)||S(t))for(var n in t.options)delete t.options[n].location,e(t.options[n].value);else C(t)&&O(t.style)?delete t.style.location:(k(t)||M(t))&&L(t.style)?delete t.style.location:j(t)&&e(t.children)})}(n.val),n.val}(s=m||(m={})).MISSING_VALUE="MISSING_VALUE",s.INVALID_VALUE="INVALID_VALUE",s.MISSING_INTL_API="MISSING_INTL_API";var eh=function(e){function t(t,n,o){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=o,i}return y(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),ep=function(e){function t(t,n,o,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),m.INVALID_VALUE,i)||this}return y(t,e),t}(eh),em=function(e){function t(t,n,o){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),m.INVALID_VALUE,o)||this}return y(t,e),t}(eh),eg=function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),m.MISSING_VALUE,n)||this}return y(t,e),t}(eh);function ev(e){return"function"==typeof e}function ey(e,t,n,o,i,l,s){if(1===e.length&&E(e[0]))return[{type:g.literal,value:e[0].value}];for(var u=[],c=0;c<e.length;c++){var f=e[c];if(E(f)){u.push({type:g.literal,value:f.value});continue}if(f.type===d.pound){"number"==typeof l&&u.push({type:g.literal,value:n.getNumberFormat(t).format(l)});continue}var h=f.value;if(!(i&&h in i))throw new eg(h,s);var p=i[h];if(f.type===d.argument){p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),u.push({type:"string"==typeof p?g.literal:g.object,value:p});continue}if(k(f)){var v="string"==typeof f.style?o.date[f.style]:L(f.style)?f.style.parsedOptions:void 0;u.push({type:g.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(M(f)){var v="string"==typeof f.style?o.time[f.style]:L(f.style)?f.style.parsedOptions:o.time.medium;u.push({type:g.literal,value:n.getDateTimeFormat(t,v).format(p)});continue}if(C(f)){var v="string"==typeof f.style?o.number[f.style]:O(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(p*=v.scale||1),u.push({type:g.literal,value:n.getNumberFormat(t,v).format(p)});continue}if(j(f)){var y=f.children,b=f.value,w=i[b];if(!ev(w))throw new em(b,"function",s);var x=w(ey(y,t,n,o,i,l).map(function(e){return e.value}));Array.isArray(x)||(x=[x]),u.push.apply(u,x.map(function(e){return{type:"string"==typeof e?g.literal:g.object,value:e}}))}if(_(f)){var A=f.options[p]||f.options.other;if(!A)throw new ep(f.value,p,Object.keys(f.options),s);u.push.apply(u,ey(A.value,t,n,o,i));continue}if(S(f)){var A=f.options["=".concat(p)];if(!A){if(!Intl.PluralRules)throw new eh('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',m.MISSING_INTL_API,s);var T=n.getPluralRules(t,{type:f.pluralType}).select(p-(f.offset||0));A=f.options[T]||f.options.other}if(!A)throw new ep(f.value,p,Object.keys(f.options),s);u.push.apply(u,ey(A.value,t,n,o,i,p-(f.offset||0)));continue}}return u.length<2?u:u.reduce(function(e,t){var n=e[e.length-1];return n&&n.type===g.literal&&t.type===g.literal?n.value+=t.value:e.push(t),e},[])}function eb(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}(u=g||(g={}))[u.literal=0]="literal",u[u.object=1]="object";var ew=function(){function e(t,n,o,i){void 0===n&&(n=e.defaultLocale);var l,s,u=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=u.formatToParts(e);if(1===t.length)return t[0].value;var n=t.reduce(function(e,t){return e.length&&t.type===g.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e},[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return ey(u.ast,u.locales,u.formatters,u.formats,e,void 0,u.message)},this.resolvedOptions=function(){var e;return{locale:(null===(e=u.resolvedLocale)||void 0===e?void 0:e.toString())||Intl.NumberFormat.supportedLocalesOf(u.locales)[0]}},this.getAst=function(){return u.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var c=i||{},d=(c.formatters,function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}(c,["formatters"]));this.ast=e.__parse(t,b(b({},d),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=(l=e.formats,o?Object.keys(l).reduce(function(e,t){var n,i;return e[t]=(n=l[t],(i=o[t])?b(b(b({},n||{}),i||{}
7),Object.keys(n).reduce(function(e,t){return e[t]=b(b({},n[t]),i[t]||{}),e},{})):n),e},b({},l)):l),this.formatters=i&&i.formatters||(void 0===(s=this.formatterCache)&&(s={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,x.memoize)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,w([void 0],t,!1)))},{cache:eb(s.number),strategy:x.strategies.variadic}),getDateTimeFormat:(0,x.memoize)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,w([void 0],t,!1)))},{cache:eb(s.dateTime),strategy:x.strategies.variadic}),getPluralRules:(0,x.memoize)(function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,w([void 0],t,!1)))},{cache:eb(s.pluralRules),strategy:x.strategies.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){if(void 0!==Intl.Locale){var t=Intl.NumberFormat.supportedLocalesOf(e);return new Intl.Locale(t.length>0?t[0]:"string"==typeof e?e:e[0])}},e.__parse=ef,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),ex=ew},22802:function(e,t){"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return o},setConfig:function(){return i}});let o=()=>n;function i(e){n=e}},22876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{INTERCEPTION_ROUTE_MARKERS:function(){return i},extractInterceptionRouteInformation:function(){return s},isInterceptionRouteAppPath:function(){return l}});let o=n(90056),i=["(..)(..)","(.)","(..)","(...)"];function l(e){return void 0!==e.split("/").find(e=>i.find(t=>e.startsWith(t)))}function s(e){let t,n,l;for(let o of e.split("/"))if(n=i.find(e=>o.startsWith(e))){[t,l]=e.split(n,2);break}if(!t||!n||!l)throw Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(t=(0,o.normalizeAppPath)(t),n){case"(.)":l="/"===t?`/${l}`:t+"/"+l;break;case"(..)":if("/"===t)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);l=t.split("/").slice(0,-1).concat(l).join("/");break;case"(...)":l="/"+l;break;case"(..)(..)":let s=t.split("/");if(s.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);l=s.slice(0,-2).concat(l).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:t,interceptedRoute:l}}},23760:function(e,t,n){"use strict";n.d(t,{RG:function(){return C},bL:function(){return T},q7:function(){return P}});var o=n(59065),i=n(95339),l=n(45901),s=n(32964),u=n(82450),c=n(25071),d=n(46475),f=n(47715),h=n(85859),p=n(32383),m=n(72370),g="rovingFocusGroup.onEntryFocus",v={bubbles:!1,cancelable:!0},y="RovingFocusGroup",[b,w,x]=(0,l.N)(y),[E,C]=(0,u.A)(y,[x]),[k,M]=E(y),_=o.forwardRef((e,t)=>m.j.jsx(b.Provider,{scope:e.__scopeRovingFocusGroup,children:m.j.jsx(b.Slot,{scope:e.__scopeRovingFocusGroup,children:m.j.jsx(S,{...e,ref:t})})}));_.displayName=y;var S=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:l,loop:u=!1,dir:c,currentTabStopId:b,defaultCurrentTabStopId:x,onCurrentTabStopIdChange:E,onEntryFocus:C,preventScrollOnEntryFocus:M=!1,..._}=e,S=o.useRef(null),j=(0,s.s)(t,S),O=(0,p.j)(c),[L,T]=(0,h.i)({prop:b,defaultProp:x??null,onChange:E,caller:y}),[P,N]=o.useState(!1),F=(0,f.c)(C),R=w(n),$=o.useRef(!1),[D,z]=o.useState(0);return o.useEffect(()=>{let e=S.current;if(e)return e.addEventListener(g,F),()=>e.removeEventListener(g,F)},[F]),m.j.jsx(k,{scope:n,orientation:l,dir:O,loop:u,currentTabStopId:L,onItemFocus:o.useCallback(e=>T(e),[T]),onItemShiftTab:o.useCallback(()=>N(!0),[]),onFocusableItemAdd:o.useCallback(()=>z(e=>e+1),[]),onFocusableItemRemove:o.useCallback(()=>z(e=>e-1),[]),children:m.j.jsx(d.s.div,{tabIndex:P||0===D?-1:0,"data-orientation":l,..._,ref:j,style:{outline:"none",...e.style},onMouseDown:(0,i.m)(e.onMouseDown,()=>{$.current=!0}),onFocus:(0,i.m)(e.onFocus,e=>{let t=!$.current;if(e.target===e.currentTarget&&t&&!P){let t=new CustomEvent(g,v);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=R().filter(e=>
7e.focusable);A([e.find(e=>e.active),e.find(e=>e.id===L),...e].filter(Boolean).map(e=>e.ref.current),M)}}$.current=!1}),onBlur:(0,i.m)(e.onBlur,()=>N(!1))})})}),j="RovingFocusGroupItem",O=o.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:l=!0,active:s=!1,tabStopId:u,children:f,...h}=e,p=(0,c.B)(),g=u||p,v=M(j,n),y=v.currentTabStopId===g,x=w(n),{onFocusableItemAdd:E,onFocusableItemRemove:C,currentTabStopId:k}=v;return o.useEffect(()=>{if(l)return E(),()=>C()},[l,E,C]),m.j.jsx(b.ItemSlot,{scope:n,id:g,focusable:l,active:s,children:m.j.jsx(d.s.span,{tabIndex:y?0:-1,"data-orientation":v.orientation,...h,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{l?v.onItemFocus(g):e.preventDefault()}),onFocus:(0,i.m)(e.onFocus,()=>v.onItemFocus(g)),onKeyDown:(0,i.m)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){v.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var o;let i=(o=e.key,"rtl"!==n?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return L[i]}(e,v.orientation,v.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=x().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var n,o;"prev"===t&&i.reverse();let l=i.indexOf(e.currentTarget);i=v.loop?(n=i,o=l+1,n.map((e,t)=>n[(o+t)%n.length])):i.slice(l+1)}setTimeout(()=>A(i))}}),children:"function"==typeof f?f({isCurrentTabStop:y,hasTabStop:null!=k}):f})})});O.displayName=j;var L={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function A(e,t=!1){let n=document.activeElement;for(let o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}var T=_,P=O},25071:function(e,t,n){"use strict";n.d(t,{B:function(){return c}});var o,i=n(59065),l=n(37725),s=(o||(o=n.t(i,2)))[" useId ".trim().toString()]||(()=>{}),u=0;function c(e){let[t,n]=i.useState(s());return(0,l.N)(()=>{n(e=>e??String(u++))},[e]),t?`radix-${t}`:""}},25169:function(){"trimStart"in String.prototype||(String.prototype.trimStart=String.prototype.trimLeft),"trimEnd"in String.prototype||(String.prototype.trimEnd=String.prototype.trimRight),"description"in Symbol.prototype||Object.defineProperty(Symbol.prototype,"description",{configurable:!0,get:function(){var e=/\((.*)\)/.exec(this.toString());return e?e[1]:void 0}}),Array.prototype.flat||(Array.prototype.flat=function(e,t){return t=this.concat.apply([],this),e>1&&t.some(Array.isArray)?t.flat(e-1):t},Array.prototype.flatMap=function(e,t){return this.map(e,t).flat()}),Promise.prototype.finally||(Promise.prototype.finally=function(e){if("function"!=typeof e)return this.then(e,e);var t=this.constructor||Promise;return this.then(function(n){return t.resolve(e()).then(function(){return n})},function(n){return t.resolve(e()).then(function(){throw n})})}),Object.fromEntries||(Object.fromEntries=function(e){return Array.from(e).reduce(function(e,t){return e[t[0]]=t[1],e},{})}),Array.prototype.at||(Array.prototype.at=function(e){var t=Math.trunc(e)||0;if(t<0&&(t+=this.length),!(t<0||t>=this.length))return this[t]}),Object.hasOwn||(Object.hasOwn=function(e,t){if(null==e)throw TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(e),t)})},25198:function(e,t,n){"use strict";e.exports=n(62640)},25390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSocketUrl",{enumerable:!0,get:function(){return i}});let o=n(36243);function i(e){let{hostname:t,port:n}=window.location,i=function(e){let t=window.location.protocol;try{t=new URL(e).protocol}catch(e){}return"http:"===t?"ws":"wss"}(e||""),l=(0,o.normalizedAssetPrefix)(e);return(null==e?void 0:e.replace(/^\/+/,"").includes("://"))?i+"://"+l:i+"://"+t+":"+n+l}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
7dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},26478:function(e,t,n){"use strict";n.d(t,{A:function(){return s}});var o=n(68578),i=n(59065),l=function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,(function(t){return e[t]}).bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=i},function(e,t,n){var o;!/*! 8 Copyright (c) 2017 Jed Watson. 9 Licensed under the MIT License (MIT), see 10 http://jedwatson.github.io/classnames 11 */function(){var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var l=typeof o;if("string"===l||"number"===l)e.push(o);else if(Array.isArray(o)&&o.length){var s=i.apply(null,o);s&&e.push(s)}else if("object"===l)for(var u in o)n.call(o,u)&&o[u]&&e.push(u)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(o=(function(){return i}).apply(t,[]))||(e.exports=o)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),f=Object.prototype.toString,h=d.Symbol,p=h?h.prototype:void 0,m=p?p.toString:void 0;function g(e){if("string"==typeof e)return e;if(y(e))return m?m.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==f.call(e)}e.exports=function(e,t,u){var c,d,f,h,p,m;return e=null==(c=e)?"":g(c),m=(p=(h=u)?(h=function(e){if("number"==typeof e)return e;if(y(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var u=i.test(e);return u||l.test(e)?s(e.slice(2),u?2:8):o.test(e)?NaN:+e}(h))===1/0||h===-1/0?17976931348623157e292*(h<0?-1:1):h==h?h:0:0===h?h:0)%1,d=p==p?m?p-m:p:0,f=e.length,d==d&&(void 0!==f&&(d=d<=f?d:f),d=d>=0?d:0),u=d,t=g(t),e.slice(u,u+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()}catch{"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,o=/^\[object .+?Constructor\]$/,i="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,s=i||l||Function("return this")(),u=Array.prototype,c=Function.prototype,d=Object.prototype,f=s["__core-js_shared__"],h=(n=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",p=c.toString,m=d.hasOwnProperty,g=d.toString,v=RegExp("^"+p.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=u.splice,b=_(s,"Map"),w=_(Object,"create");function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function k(e,t){for(var n,o=e.length;o--;)if((n=e[o][0])===t||n!=n&&t!=t)return o;return -1}function M(e,t){var n,o=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?o["string"==typeof t?"string":"hash"]:o.map}function _(e,t){var n,i,l=null==e?void 0:e[t];return!(!j(n=l)||h&&h in n)&&("[object Function]"==(i=j(n)?g.call(n):"")||"[object GeneratorFunction]"==i||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch{}return t}(n)?v:o).test(function(e){if(null!=e){try{return p.call(e)}catch{}try{return e+""}catch{}}return""}(n))?l:void 0}function S(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],l=n.cache;if(l.has(i))return l.get(i);var s=e.apply(this,o);return n.cache=l.set(i,s),s};return n.cache=new(S.Cache||C),n}function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}x.prototype.clear=function(){this.__data__=w?w(null):{}},x.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},x.prototype.get=function(e){var t=this.__data__;if(w){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return m.call(t,e)?t[e]:void 0},x.prototype.has=function(e){var t=this.__data__;return w?void 0!==t[e]:m.call(t,e)},x.prototype.set=function(e,t){return this.__data__[e]=w&&void 0===t?"__lodash_hash_undefined__":t,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(e){var t=this.__data__,n=k(t,e);return!(n<0)&&(n==t.length-1?t.pop():y.call(t,n,1),!0)},E.prototype.get=function(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]},E.prototype.has=function(e){return k(this.__data__,e)>-1},E.prototype.set=function(e,t){var n=this.__data__,o=k(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new x,map:new(b||E),string:new x}},C.prototype.delete=function(e){return M(this,e).delete(e)},C.prototype.get=function(e){return M(this,e).get(e)},C.prototype.has=function(e){return M(this,e).has(e)},C.prototype.set=function(e,t){return M(this,e).set(e,t),this},S.Cache=C,e.exports=S}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),f=Object.prototype.toString,h=Math.max,p=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return NaN;
vendor: 7,145 bytes, line 11
11if(g(e)){var t,u="function"==typeof e.valueOf?e.valueOf():e;e=g(u)?u+"":u}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var c=i.test(e);return c||l.test(e)?s(e.slice(2),c?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var o,i,l,s,u,c,d=0,f=!1,y=!1,b=!0;if("function"!=typeof e)throw TypeError("Expected a function");function w(t){var n=o,l=i;return o=i=void 0,d=t,s=e.apply(l,n)}function x(e){var n=e-c;return void 0===c||n>=t||n<0||y&&e-d>=l}function E(){var e,n=m();if(x(n))return C(n);u=setTimeout(E,(e=t-(n-c),y?p(e,l-(n-d)):e))}function C(e){return u=void 0,b&&o?w(e):(o=i=void 0,s)}function k(){var e,n=m(),l=x(n);if(o=arguments,i=this,c=n,l){if(void 0===u)return d=e=c,u=setTimeout(E,t),f?w(e):s;if(y)return u=setTimeout(E,t),w(c)}return void 0===u&&(u=setTimeout(E,t)),s}return t=v(t)||0,g(n)&&(f=!!n.leading,l=(y="maxWait"in n)?h(v(n.maxWait)||0,t):l,b="trailing"in n?!!n.trailing:b),k.cancel=function(){void 0!==u&&clearTimeout(u),d=0,o=c=i=u=void 0},k.flush=function(){return void 0===u?s:C(m())},k}}).call(this,n(3))},function(e,t,n){(function(e,n){var o="[object Arguments]",i="[object Map]",l="[object Object]",s="[object Set]",u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,d=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g[o]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g["[object Error]"]=g["[object Function]"]=g[i]=g["[object Number]"]=g[l]=g["[object RegExp]"]=g[s]=g["[object String]"]=g["[object WeakMap]"]=!1;var v="object"==typeof e&&e&&e.Object===Object&&e,y="object"==typeof self&&self&&self.Object===Object&&self,b=v||y||Function("return this")(),w=t&&!t.nodeType&&t,x=w&&"object"==typeof n&&n&&!n.nodeType&&n,E=x&&x.exports===w&&v.process,C=function(){try{return E&&E.binding("util")}catch{}}(),k=C&&C.isTypedArray;function M(e,t,n,o){var i=-1,l=e?e.length:0;for(o&&l&&(n=e[++i]);++i<l;)n=t(n,e[i],i,e);return n}function _(e,t,n,o,i){return i(e,function(e,i,l){n=o?(o=!1,e):t(n,e,i,l)}),n}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch{}return t}function j(e){var t=-1,n=Array(e.size);return e.forEach(function(e,o){n[++t]=[o,e]}),n}function O(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var L,A,T,P=Array.prototype,N=Function.prototype,F=Object.prototype,R=b["__core-js_shared__"],$=(L=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",D=N.toString,z=F.hasOwnProperty,I=F.toString,H=RegExp("^"+D.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=b.Symbol,W=b.Uint8Array,U=F.propertyIsEnumerable,q=P.splice,G=(A=Object.keys,T=Object,function(e){return A(T(e))}),Y=eE(b,"DataView"),Z=eE(b,"Map"),K=eE(b,"Promise"),Q=eE(b,"Set"),X=eE(b,"WeakMap"),J=eE(Object,"create"),ee=eO(Y),et=eO(Z),er=eO(K),en=eO(Q),ea=eO(X),eo=B?B.prototype:void 0,ei=eo?eo.valueOf:void 0,el=eo?eo.toString:void 0;function es(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function eu(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function ec(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function ed(e){var t=-1,n=e?e.length:0;for(this.__data__=new ec;++t<n;)this.add(e[t])}function ef(e){this.__data__=new eu(e)}function eh(e,t){for(var n=e.length;n--;)if(eA(e[n][0],t))return n;return -1}es.prototype.clear=function(){this.__data__=J?J(null):{}},es.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},es.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return z.call(t,e)?t[e]:void 0},es.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:z.call(t,e)},es.prototype.set=function(e,t){return this.__data__[e]=J&&void 0===t?"__lodash_hash_undefined__":t,this},eu.prototype.clear=function(){this.__data__=[]},eu.prototype.delete=function(e){var t=this.__data__,n=eh(t,e);return!(n<0)&&(n==t.length-1?t.pop():q.call(t,n,1),!0)},eu.prototype.get=function(e){var t=this.__data__,n=eh(t,e);return n<0?void 0:t[n][1]},eu.prototype.has=function(e){return eh(this.__data__,e)>-1},eu.prototype.set=function(e,t){var n=this.__data__,o=eh(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},ec.prototype.clear=function(){this.__data__={hash:new es,map:new(Z||eu),string:new es}},ec.prototype.delete=function(e){return ex(this,e).delete(e)},ec.prototype.get=function(e){return ex(this,e).get(e)},ec.prototype.has=function(e){return ex(this,e).has(e)},ec.prototype.set=function(e,t){return ex(this,e).set(e,t),this},ed.prototype.add=ed.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ed.prototype.has=function(e){return this.__data__.has(e)},ef.prototype.clear=function(){this.__data__=new eu},ef.prototype.delete=function(e){return this.__data__.delete(e)},ef.prototype.get=function(e){return this.__data__.get(e)},ef.prototype.has=function(e){return this.__data__.has(e)},ef.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eu){var o=n.__data__;if(!Z||o.length<199)return o.push([e,t]),this;n=this.__data__=new ec(o)}return n.set(e,t),this};var ep,em=(ep=function(e,t){return e&&eg(e,t,eH)},function(e,t){if(null==e)return e;if(!eN(e))return ep(e,t);for(var n=e.length,o=-1,i=Object(e);++o<n&&!1!==t(i[o],o,i););return e}),eg=function(e,t,n){for(var o=-1,i=Object(e),l=n(e),s=l.length;s--;){var u=l[++o];if(!1===t(i[u],u,i))break}return e};function ev(e,t){for(var n,o=0,i=(t=eM(t,e)?[t]:eP(n=t)?n:eS(n)).length;null!=e&&o<i;)e=e[ej(t[o++])];return o&&o==i?e:void 0}function ey(e,t){return null!=e&&t in Object(e)}function eb(e,t,n,u,c){return e===t||(null!=e&&null!=t&&(e$(e)||eD(t))?function(e,t,n,u,c,d){var f=eP(e),h=eP(t),p="[object Array]",m="[object Array]";f||(p=(p=eC(e))==o?l:p),h||(m=(m=eC(t))==o?l:m);var g=p==l&&!S(e),v=m==l&&!S(t),y=p==m;if(y&&!g)return d||(d=new ef),f||eI(e)?ew(e,t,n,u,c,d):function(e,t,n,o,l,u,c){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new W(e),new W(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eA(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var d=j;case s:var f=2&u;if(d||(d=O),e.size!=t.size&&!f)break;var h=c.get(e);if(h)return h==t;u|=1,c.set(e,t);var p=ew(d(e),d(t),o,l,u,c);return c.delete(e),p;case"[object Symbol]":if(ei)return ei.call(e)==ei.call(t)}return!1}(e,t,p,n,u,c,d);if(!(2&c)){var b=g&&z.call(e,"__wrapped__"),w=v&&z.call(t,"__wrapped__");
11if(b||w){var x=b?e.value():e,E=w?t.value():t;return d||(d=new ef),n(x,E,u,c,d)}}return!!y&&(d||(d=new ef),function(e,t,n,o,i,l){var s=2&i,u=eH(e),c=u.length;if(c!=eH(t).length&&!s)return!1;for(var d=c;d--;){var f=u[d];if(!(s?f in t:z.call(t,f)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var p=!0;l.set(e,t),l.set(t,e);for(var m=s;++d<c;){var g=e[f=u[d]],v=t[f];if(o)var y=s?o(v,g,f,t,e,l):o(g,v,f,e,t,l);if(!(void 0===y?g===v||n(g,v,o,i,l):y)){p=!1;break}m||(m="constructor"==f)}if(p&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(p=!1)}return l.delete(e),l.delete(t),p}(e,t,n,u,c,d))}(e,t,eb,n,u,c):e!=e&&t!=t)}function ew(e,t,n,o,i,l){var s=2&i,u=e.length,c=t.length;if(u!=c&&!(s&&c>u))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var f=-1,h=!0,p=1&i?new ed:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var m=e[f],g=t[f];if(o)var v=s?o(g,m,f,t,e,l):o(m,g,f,e,t,l);if(void 0!==v){if(v)continue;h=!1;break}if(p){if(!function(e,t){for(var n=-1,o=e?e.length:0;++n<o;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!p.has(t)&&(m===e||n(m,e,o,i,l)))return p.add(t)})){h=!1;break}}else if(m!==g&&!n(m,g,o,i,l)){h=!1;break}}return l.delete(e),l.delete(t),h}function ex(e,t){var n,o=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?o["string"==typeof t?"string":"hash"]:o.map}function eE(e,t){var n=null==e?void 0:e[t];return!(!e$(n)||$&&$ in n)&&(eF(n)||S(n)?H:p).test(eO(n))?n:void 0}var eC=function(e){return I.call(e)};function ek(e,t){return!!(t=t??9007199254740991)&&("number"==typeof e||m.test(e))&&e>-1&&e%1==0&&e<t}function eM(e,t){if(eP(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ez(e))||c.test(e)||!u.test(e)||null!=t&&e in Object(t)}function e_(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(Y&&"[object DataView]"!=eC(new Y(new ArrayBuffer(1)))||Z&&eC(new Z)!=i||K&&"[object Promise]"!=eC(K.resolve())||Q&&eC(new Q)!=s||X&&"[object WeakMap]"!=eC(new X))&&(eC=function(e){var t=I.call(e),n=t==l?e.constructor:void 0,o=n?eO(n):void 0;if(o)switch(o){case ee:return"[object DataView]";case et:return i;case er:return"[object Promise]";case en:return s;case ea:return"[object WeakMap]"}return t});var eS=eL(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ez(e))return el?el.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var t,n=[];return d.test(e)&&n.push(""),e.replace(f,function(e,t,o,i){n.push(o?i.replace(h,"$1"):t||e)}),n});function ej(e){if("string"==typeof e||ez(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function eO(e){if(null!=e){try{return D.call(e)}catch{}try{return e+""}catch{}}return""}function eL(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],l=n.cache;if(l.has(i))return l.get(i);var s=e.apply(this,o);return n.cache=l.set(i,s),s};return n.cache=new(eL.Cache||ec),n}function eA(e,t){return e===t||e!=e&&t!=t}function eT(e){return eD(e)&&eN(e)&&z.call(e,"callee")&&(!U.call(e,"callee")||I.call(e)==o)}eL.Cache=ec;var eP=Array.isArray;function eN(e){return null!=e&&eR(e.length)&&!eF(e)}function eF(e){var t=e$(e)?I.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function eR(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function e$(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eD(e){return!!e&&"object"==typeof e}function ez(e){return"symbol"==typeof e||eD(e)&&"[object Symbol]"==I.call(e)}var eI=k?function(e){return k(e)}:function(e){return eD(e)&&eR(e.length)&&!!g[I.call(e)]};function eH(e){return eN(e)?function(e,t){var n=eP(e)||eT(e)?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],o=n.length,i=!!o;for(var l in e)!z.call(e,l)||i&&("length"==l||ek(l,o))||n.push(l);return n}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||F,e!==n)return G(e);var t,n,o=[];for(var i in Object(e))z.call(e,i)&&"constructor"!=i&&o.push(i);return o}(e)}function eB(e){return e}n.exports=function(e,t,n){var o,i,l,s,u,c=eP(e)?M:_,d=arguments.length<3;return c(e,"function"==typeof t?t:null==t?eB:"object"==typeof t?eP(t)?(l=t[0],s=t[1],eM(l)&&(o=s)==o&&!e$(o)?e_(ej(l),s):function(e){var t,n=void 0===(t=null==e?void 0:ev(e,l))?void 0:t;return void 0===n&&n===s?null!=e&&function(e,t,n){var o;t=eM(t,e)?[t]:eP(o=t)?o:eS(o);for(var i,l=-1,s=t.length;++l<s;){var u=ej(t[l]);if(!(i=null!=e&&n(e,u)))break;e=e[u]}return i||!!(s=e?e.length:0)&&eR(s)&&ek(u,s)&&(eP(e)||eT(e))}(e,l,ey):eb(s,n,void 0,3)}):1==(u=function(e){for(var t=eH(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,i==i&&!e$(i)]}return t}(t)).length&&u[0][2]?e_(u[0][0],u[0][1]):function(e){return e===t||function(e,t,n,o){var i=n.length,l=i;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],c=e[u],d=s[1];if(s[2]){if(void 0===c&&!(u in e))return!1}else{var f,h=new ef;if(!(void 0===f?eb(d,c,void 0,3,h):f))return!1}}return!0}(e,0,u)}:eM(t)?(i=ej(t),function(e){return null==e?void 0:e[i]}):function(e){return ev(e,t)},n,d,em)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},function(e,t,n){function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||i(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e){if(Array.isArray(e))return e}
11function u(){throw TypeError("Invalid attempt to destructure non-iterable instance")}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"===d(Symbol.iterator)?function(e){return d(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":d(e)})(e)}function h(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var g=n(0),v=n.n(g),y=n(5),b=n.n(y),w=n(4),x=n.n(w),E=n(6),C=n.n(E),
vendor: 8,928 bytes, line 11
11k=n(2),M=n.n(k),_=n(1),S=n.n(_);function j(e,t){return s(e)||function(e,t){var n=[],o=!0,i=!1,l=void 0;try{for(var s,u=e[Symbol.iterator]();!(o=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);o=!0);}catch(e){i=!0,l=e}finally{try{o||null==u.return||u.return()}finally{if(i)throw l}}return n}(e,t)||u()}n(8);var O=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["C\xf4te dâIvoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Cura\xe7ao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["R\xe9union",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["S\xe3o Tom\xe9 and Pr\xedncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["S
11omalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],L=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barth\xe9lemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function A(e,t,n,i,s){var u,c,d=[];return c=!0===t,[(u=[]).concat.apply(u,l(e.map(function(e){var l,u,f={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:(l=e[3],(u=e[4])&&!s?n+"".padEnd(l.length,".")+" "+u:n+"".padEnd(l.length,".")+" "+i),priority:e[5]||0},h=[];return e[6]&&e[6].map(function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
11))),i.forEach(function(t){o(e,t,n[t])})}return e}({},f);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,h.push(n)}),h.length>0?(f.mainCode=!0,c||"Array"===t.constructor.name&&t.includes(e[2])?(f.hasAreaCodes=!0,[f].concat(h)):(d=d.concat(h),[f])):[f]}))),d]}function T(e,t,n,o){if(null!==n){var i=Object.keys(n),l=Object.values(n);i.forEach(function(n,i){if(o)return e.push([n,l[i]]);var s=e.findIndex(function(e){return e[0]===n});if(-1===s){var u=[n];u[t]=l[i],e.push(u)}else e[s][t]=l[i]})}}function P(e,t){return 0===t.length?e:e.map(function(e){var n=t.findIndex(function(t){return t[0]===e[2]});if(-1===n)return e;var o=t[n];return o[1]&&(e[4]=o[1]),o[3]&&(e[5]=o[3]),o[2]&&(e[6]=o[2]),e})}var N=function e(t,n,o,i,s,u,d,f,h,p,m,g,v,y){c(this,e),this.filterRegions=function(e,t){return"string"==typeof e?t.filter(function(t){return t.regions.some(function(t){return t===e})}):t.filter(function(t){return e.map(function(e){return t.regions.some(function(t){return t===e})}).some(function(e){return e})})},this.sortTerritories=function(e,t){var n=[].concat(l(e),l(t));return n.sort(function(e,t){return e.name<t.name?-1:e.name>t.name?1:0}),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map(function(e){var n=t.find(function(t){return t.iso2===e});if(n)return n}).filter(function(e){return e}):t.filter(function(t){return e.some(function(e){return e===t.iso2})})},this.localizeCountries=function(e,t,n){for(var o=0;o<e.length;o++)void 0!==t[e[o].iso2]?e[o].localName=t[e[o].iso2]:void 0!==t[e[o].name]&&(e[o].localName=t[e[o].name]);return n||e.sort(function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0}),e},this.getCustomAreas=function(e,t){for(var n=[],o=0;o<t.length;o++){var i=JSON.parse(JSON.stringify(e));i.dialCode+=t[o],n.push(i)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter(function(e){return!t.includes(e.iso2)})};var b,w=(T(b=[],1,f,!0),T(b,3,h),T(b,2,p),b),x=P(JSON.parse(JSON.stringify(O)),w),E=P(JSON.parse(JSON.stringify(L)),w),C=j(A(x,t,g,v,y),2),k=C[0],M=C[1];if(n){var _=j(A(E,t,g,v,y),2),S=_[0];_[1],k=this.sortTerritories(S,k)}o&&(k=this.filterRegions(o,k)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(i,k,d.includes("onlyCountries")),u),m,d.includes("onlyCountries")),this.preferredCountries=0===s.length?[]:this.localizeCountries(this.getFilteredCountryList(s,k,d.includes("preferredCountries")),m,d.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(i,M),u)},F=function(e){var t;function n(e){c(this,n),(d=(t=p(n).call(this,e))&&("object"===f(t)||"function"==typeof t)?t:h(this)).getProbableCandidate=x()(function(e){return e&&0!==e.length?d.state.onlyCountries.filter(function(t){return M()(t.name.toLowerCase(),e.toLowerCase())},h(h(d)))[0]:null}),d.guessSelectedCountry=x()(function(e,t,n,o){if(!1===d.props.enableAreaCodes&&(o.some(function(t){if(M()(e,t.dialCode))return n.some(function(e){if(t.iso2===e.iso2&&e.mainCode)return i=e,!0}),!0}),i))return i;var i,l=n.find(function(e){return e.iso2==t});if(""===e.trim())return l;var s=n.reduce(function(t,n){return M()(e,n.dialCode)&&(n.dialCode.length>t.dialCode.length||n.dialCode.length===t.dialCode.length&&n.priority<t.priority)?n:t},{dialCode:"",priority:10001},h(h(d)));return s.name?s:l}),d.updateCountry=function(e){var t,n=d.state.onlyCountries;(t=e.indexOf(0)>="0"&&"9">=e.indexOf(0)?n.find(function(t){return t.dialCode==+e}):n.find(function(t){return t.iso2==e}))&&t.dialCode&&d.setState({selectedCountry:t,formattedNumber:d.props.disableCountryCode?"":d.formatNumber(t.dialCode,t)})},d.scrollTo=function(e,t){if(e){var n=d.dropdownRef;if(n&&document.body){var o=n.offsetHeight,i=n.getBoundingClientRect().top+document.body.scrollTop,l=e.getBoundingClientRect(),s=e.offsetHeight,u=l.top+document.body.scrollTop,c=u-i+n.scrollTop,f=o/2-s/2;(d.props.enableSearch?u<i+32:u<i)?(t&&(c-=f),n.scrollTop=c):u+s>i+o&&(t&&(c+=f),n.scrollTop=c-(o-s))}}},d.scrollToTop=function(){var e=d.dropdownRef;e&&document.body&&(e.scrollTop=0)},d.formatNumber=function(e,t){if(!t)return e;var n,o=t.format,l=d.props,c=l.disableCountryCode,f=l.enableAreaCodeStretch,h=l.enableLongNumbers,p=l.autoFormat;if(c?((n=o.split(" ")).shift(),n=n.join(" ")):f&&t.isAreaCode?((n=o.split(" "))[1]=n[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),n=n.join(" ")):n=o,!e||0===e.length)return c?"":d.props.prefix;if(e&&e.length<2||!n||!p)return c?e:d.props.prefix+e;var m,g=C()(n,function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,o=s(n=e.remainingText)||i(n)||u(),l=o[0],c=o.slice(1);return{formattedText:e.formattedText+l,remainingText:c}},{formattedText:"",remainingText:e.split("")});return(m=h?g.formattedText+g.remainingText.join(""):g.formattedText).includes("(")&&!m.includes(")")&&(m+=")"),m},d.cursorToEnd=function(){var e=d.numberInputRef;if(document.activeElement===e){e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)}}
vendor: 13,037 bytes, line 11
11,d.getElement=function(e){return d["flag_no_".concat(e)]},d.getCountryData=function(){return d.state.selectedCountry?{name:d.state.selectedCountry.name||"",dialCode:d.state.selectedCountry.dialCode||"",countryCode:d.state.selectedCountry.iso2||"",format:d.state.selectedCountry.format||""}:{}},d.handleFlagDropdownClick=function(e){if(e.preventDefault(),d.state.showDropdown||!d.props.disabled){var t=d.state,n=t.preferredCountries,o=t.onlyCountries,i=t.selectedCountry,l=d.concatPreferredCountries(n,o).findIndex(function(e){return e.dialCode===i.dialCode&&e.iso2===i.iso2});d.setState({showDropdown:!d.state.showDropdown,highlightCountryIndex:l},function(){d.state.showDropdown&&d.scrollTo(d.getElement(d.state.highlightCountryIndex))})}},d.handleInput=function(e){var t=e.target.value,n=d.props,o=n.prefix,i=n.onChange,l=d.props.disableCountryCode?"":o,s=d.state.selectedCountry,u=d.state.freezeSelection;if(!d.props.countryCodeEditable){var c=o+(s.hasAreaCodes?d.state.onlyCountries.find(function(e){return e.iso2===s.iso2&&e.mainCode}).dialCode:s.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return i&&i("",d.getCountryData(),e,""),d.setState({formattedNumber:""});if(!(t.replace(/\D/g,"").length>15&&(!1===d.props.enableLongNumbers||"number"==typeof d.props.enableLongNumbers&&t.replace(/\D/g,"").length>d.props.enableLongNumbers))&&t!==d.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var f=d.props.country,h=d.state,p=h.onlyCountries,m=h.selectedCountry,g=h.hiddenAreaCodes;if(i&&e.persist(),t.length>0){var v=t.replace(/\D/g,"");(!d.state.freezeSelection||m&&m.dialCode.length>v.length)&&(s=d.props.disableCountryGuess?m:d.guessSelectedCountry(v.substring(0,6),f,p,g)||m,u=!1),l=d.formatNumber(v,s),s=s.dialCode?s:m}var y=e.target.selectionStart,b=e.target.selectionStart,w=d.state.formattedNumber,x=l.length-w.length;d.setState({formattedNumber:l,freezeSelection:u,selectedCountry:s},function(){x>0&&(b-=x),")"==l.charAt(l.length-1)?d.numberInputRef.setSelectionRange(l.length-1,l.length-1):b>0&&w.length>=l.length?d.numberInputRef.setSelectionRange(b,b):y<w.length&&d.numberInputRef.setSelectionRange(y,y),i&&i(l.replace(/[^0-9]+/g,""),d.getCountryData(),e,l)})}},d.handleInputClick=function(e){d.setState({showDropdown:!1}),d.props.onClick&&d.props.onClick(e,d.getCountryData())},d.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},d.handleFlagItemClick=function(e,t){var n=d.state.selectedCountry,o=d.state.onlyCountries.find(function(t){return t==e});if(o){var i=d.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),l=i.length>1?i.replace(n.dialCode,o.dialCode):o.dialCode,s=d.formatNumber(l.replace(/\D/g,""),o);d.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:s,searchValue:""},function(){d.cursorToEnd(),d.props.onChange&&d.props.onChange(s.replace(/[^0-9]+/g,""),d.getCountryData(),t,s)})}},d.handleInputFocus=function(e){d.numberInputRef&&d.numberInputRef.value===d.props.prefix&&d.state.selectedCountry&&!d.props.disableCountryCode&&d.setState({formattedNumber:d.props.prefix+d.state.selectedCountry.dialCode},function(){d.props.jumpCursorToEnd&&setTimeout(d.cursorToEnd,0)}),d.setState({placeholder:""}),d.props.onFocus&&d.props.onFocus(e,d.getCountryData()),d.props.jumpCursorToEnd&&setTimeout(d.cursorToEnd,0)},d.handleInputBlur=function(e){e.target.value||d.setState({placeholder:d.props.placeholder}),d.props.onBlur&&d.props.onBlur(e,d.getCountryData())},d.handleInputCopy=function(e){if(d.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},d.getHighlightCountryIndex=function(e){var t=d.state.highlightCountryIndex+e;return t<0||t>=d.state.onlyCountries.length+d.state.preferredCountries.length?t-e:d.props.enableSearch&&t>d.getSearchFilteredCountries().length?0:t},d.searchCountry=function(){var e=d.getProbableCandidate(d.state.queryString)||d.state.onlyCountries[0],t=d.state.onlyCountries.findIndex(function(t){return t==e})+d.state.preferredCountries.length;d.scrollTo(d.getElement(t),!0),d.setState({queryString:"",highlightCountryIndex:t})},d.handleKeydown=function(e){var t=d.props.keys,n=e.target.className;if(n.includes("selected-flag")&&e.which===t.ENTER&&!d.state.showDropdown)return d.handleFlagDropdownClick(e);if(n.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(d.state.showDropdown&&!d.props.disabled&&(!n.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){d.setState({highlightCountryIndex:d.getHighlightCountryIndex(e)},function(){d.scrollTo(d.getElement(d.state.highlightCountryIndex),!0)})};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:d.props.enableSearch?d.handleFlagItemClick(d.getSearchFilteredCountries()[d.state.highlightCountryIndex]||d.getSearchFilteredCountries()[0],e):d.handleFlagItemClick([].concat(l(d.state.preferredCountries),l(d.state.onlyCountries))[d.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:d.setState({showDropdown:!1},d.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&d.setState({queryString:d.state.queryString+String.fromCharCode(e.which)},d.state.debouncedQueryStingSearcher)}}},d.handleInputKeyDown=function(e){var t=d.props,n=t.keys,o=t.onEnterKeyPress,i=t.onKeyDown;e.which===n.ENTER&&o&&o(e),i&&i(e)},d.handleClickOutside=function(e){d.dropdownRef&&!d.dropdownContainerRef.contains(e.target)&&d.state.showDropdown&&d.setState({showDropdown:!1})},d.handleSearchChange=function(e){var t=e.currentTarget.value,n=d.state,o=n.preferredCountries,i=n.selectedCountry,l=0;if(""===t&&i){var s=d.state.onlyCountries;l=d.concatPreferredCountries(o,s).findIndex(function(e){return e==i}),setTimeout(function(){return d.scrollTo(d.getElement(l))},100)}d.setState({searchValue:t,highlightCountryIndex:l})},d.concatPreferredCountries=function(e,t){return e.length>0?l(new Set(e.concat(t))):t},d.getDropdownCountryName=function(e){return e.localName||e.name},d.getSearchFilteredCountries=function(){var e=d.state,t=e.preferredCountries,n=e.onlyCountries,o=e.searchValue,i=d.props.enableSearch,s=d.concatPreferredCountries(t,n),u=o.trim().toLowerCase().replace("+","");if(i&&u){if(/^\d+$/.test(u))return s.filter(function(e){var t=e.dialCode;return["".concat(t)].some(function(e){return e.toLowerCase().includes(u)})});var c=s.filter(function(e){var t=e.iso2;return["".concat(t)].some(function(e){return e.toLowerCase().includes(u)})}),f=s.filter(function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some(function(e){return e.toLowerCase().includes(u)})});return d.scrollToTop(),l(new Set([].concat(c,f)))}return s},d.getCountryDropdownList=function(){var e=d.state,t=e.preferredCountries,n=e.highlightCountryIndex,i=e.showDropdown,l=e.searchValue,s=d.props,u=s.disableDropdown,c=s.prefix,f=d.props,h=f.enableSearch,p=f.searchNotFound,m=f.disableSearchIcon,g=f.searchClass,y=f.searchStyle,b=f.searchPlaceholder,w=f.autocompleteSearch,x=d.getSearchFilteredCountries().map(function(e,t){var o=n===t,i=S()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:o}),l="flag ".concat(e.iso2);return v.a.createElement("li",Object.assign({ref:function(e){return d["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:i,"data-dial-code":"1",tabIndex:u?"-1":"0","data-country-code":e.iso2,onClick:function(t){return d.handleFlagItemClick(e,t)},role:"option"},o?{"aria-selected":!0}:{}),v.a.createElement("div",{className:l}),v.a.createElement("span",{className:"country-name"},d.getDropdownCountryName(e)),v.a.createElement("span",{className:"dial-code"},e.format?d.formatNumber(e.dialCode,e):c+e.dialCode))}),E=v.a.createElement("li",{key:"dashes",className:"divider"});t.length>0&&(!h||h&&!l.trim())&&x.splice(t.length,0,E);var C=S()(o({"country-list":!0,hide:!i},d.props.dropdownClass,!0));return v.a.createElement("ul",{ref:function(e){return!h&&e&&e.focus(),d.dropdownRef=e},className:C,style:d.props.dropdownStyle,role:"listbox",tabIndex:"0"},h&&v.a.createElement("li",{className:S()(o({search:!0},g,g))},!m&&v.a.createElement("span",{className:S()(o({"search-emoji":!0},"".concat(g,"-emoji"),g)),role:"img","aria-label":"Magnifying glass"},"\uD83D\uDD0E"),v.a.createElement("input",{className:S()(o({"search-box":!0},"".concat(g,"-box"),g)),style:y,type:"search",placeholder:b,autoFocus:!0,autoComplete:w?"on":"off",value:l,onChange:d.handleSearchChange})),x.length>0?x:v.a.createElement("li",{className:"no-entries-message"},v.a.createElement("span",null,p)))};var t,d,m,g=new N(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),y=g.onlyCountries,w=g.preferredCountries,E=g.hiddenAreaCodes,k=e.value?e.value.replace(/\D/g,""):"";m=e.disableInitialCountryGuess?0:k.length>1?d.guessSelectedCountry(k.substring(0,6),e.country,y,E)||0:e.country&&y.find(function(t){return t.iso2==e.country})||0;var _,j=k.length<2&&m&&!M()(k,m.dialCode)?m.dialCode:"";_=""===k&&0===m?"":d.formatNumber((e.disableCountryCode?"":j)+k,m.name?m:void 0);var O=y.findIndex(function(e){return e==m});return d.state={showDropdown:e.showDropdown,formattedNumber:_,onlyCountries:y,preferredCountries:w,hiddenAreaCodes:E,selectedCountry:m,highlightCountryIndex:O,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:b()(d.searchCountry,250),searchValue:""},d}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(n,e),t=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,o=t.selectedCountry,i=t.hiddenAreaCodes,l=this.props,s=l.country,u=l.prefix;if(""===e)return this.setState({selectedCountry:o,formattedNumber:""});var c,d,f=e.replace(/\D/g,"");if(o&&M()(e,u+o.dialCode))d=this.formatNumber(f,o),this.setState({formattedNumber:d});else{var h=(c=this.props.disableCountryGuess?o:this.guessSelectedCountry(f.substring(0,6),s,n,i)||o)&&M()(f,u+c.dialCode)?c.dialCode:"";d=this.formatNumber((this.props.disableCountryCode?"":h)+f,c||void 0),this.setState({selectedCountry:c,formattedNumber:d})}}},{key:"render",value:function(){var e,t,n,i=this,l=this.state,s=l.onlyCountries,u=l.selectedCountry,c=l.showDropdown,d=l.formattedNumber,f=l.hiddenAreaCodes,h=this.props,p=h.disableDropdown,m=h.renderStringAsFlag,g=h.isValid,y=h.defaultErrorMessage,b=h.specialLabel;if("boolean"==typeof g)t=g;else{var w=g(d.replace(/\D/g,""),u,s,f);"boolean"==typeof w?!1===(t=w)&&(n=y):(t=!1,n=w)}var x=S()((o(e={},this.props.containerClass,!0),o(e,"react-tel-input",!0),e)),E=S()({arrow:!0,up:c}),C=S()(o({"form-control":!0,"invalid-number":!t,open:c},this.props.inputClass,!0)),k=S()({"selected-flag":!0,open:c}),M=S()(o({"flag-dropdown":!0,"invalid-number":!t,open:c},this.props.buttonClass,!0)),_="flag ".concat(u&&u.iso2);return v.a.createElement("div",{className:"".concat(x," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},b&&v.a.createElement("div",{className:"special-label"},b),n&&v.a.createElement("div",{className:"invalid-number-message"},n),v.a.createElement("input",Object.assign({className:C,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:d,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(e){i.numberInputRef=e,"function"==typeof i.props.inputProps.ref?i.props.inputProps.ref(e):"object"==typeof i.props.inputProps.ref&&(i.props.inputProps.ref.current=e)}})),v.a.createElement("div",{className:M,style:this.props.buttonStyle,ref:function(e){return i.dropdownContainerRef
11=e}},m?v.a.createElement("div",{className:k},m):v.a.createElement("div",{onClick:p?void 0:this.handleFlagDropdownClick,className:k,title:u?"".concat(u.localName||u.name,": + ").concat(u.dialCode):"",tabIndex:p?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!c||void 0},v.a.createElement("div",{className:_},!p&&v.a.createElement("div",{className:E}))),c&&this.getCountryDropdownList()))}}],function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(n.prototype,t),n}(v.a.Component);F.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t.default=F}]);let s=(0,o.g)(l)},26622:function(e,t,n){"use strict";n.d(t,{H4:function(){return S},_V:function(){return _},bL:function(){return M}});var o,i=n(59065),l=n(72370),s=n(47715),u=n(37725),c=n(12335),d=n(68180),f=n(53580);d.B.exports=function(){if(o)return f.w;o=1;var e="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},t=i.useState,n=i.useEffect,l=i.useLayoutEffect,s=i.useDebugValue;function u(t){var n=t.getSnapshot;t=t.value;try{var o=n();return!e(t,o)}catch{return!0}}var c=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?function(e,t){return t()}:function(e,o){var i=o(),c=t({inst:{value:i,getSnapshot:o}}),d=c[0].inst,f=c[1];return l(function(){d.value=i,d.getSnapshot=o,u(d)&&f({inst:d})},[e,i,o]),n(function(){return u(d)&&f({inst:d}),e(function(){u(d)&&f({inst:d})})},[e]),s(i),i};return f.w.useSyncExternalStore=void 0!==i.useSyncExternalStore?i.useSyncExternalStore:c,f.w}();var h=d.B.exports;function p(){return()=>{}}var m="Avatar",[g]=function(e,t=[]){let n=[],o=()=>{let t=n.map(e=>i.createContext(e));return function(n){let o=(null==n?void 0:n[e])||t;return i.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){let s=i.createContext(o);s.displayName=t+"Context";let u=n.length;n=[...n,o];let c=t=>{var n;let{scope:o,children:c,...d}=t,f=(null==(n=null==o?void 0:o[e])?void 0:n[u])||s,h=i.useMemo(()=>d,Object.values(d));return l.j.jsx(f.Provider,{value:h,children:c})};return c.displayName=t+"Provider",[c,function(n,l){var c;let d=(null==(c=null==l?void 0:l[e])?void 0:c[u])||s,f=i.useContext(d);if(f)return f;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:o})=>{let i=n(e)[`__scope${o}`];return{...t,...i}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(o,...t)]}(m),[v,y]=g(m),b=i.forwardRef((e,t)=>{let{__scopeAvatar:n,...o}=e,[s,u]=i.useState("idle");return l.j.jsx(v,{scope:n,imageLoadingStatus:s,onImageLoadingStatusChange:u,children:l.j.jsx(c.s.span,{...o,ref:t})})});b.displayName=m;var w="AvatarImage",x=i.forwardRef((e,t)=>{let{__scopeAvatar:n,src:o,onLoadingStatusChange:d=()=>{},...f}=e,m=y(w,n),g=function(e,{referrerPolicy:t,crossOrigin:n}){let o=h.useSyncExternalStore(p,()=>!0,()=>
11!1),l=i.useRef(null),s=o?(l.current||(l.current=new window.Image),l.current):null,[c,d]=i.useState(()=>k(s,e));return(0,u.N)(()=>{d(k(s,e))},[s,e]),(0,u.N)(()=>{let e=e=>()=>{d(e)};if(!s)return;let o=e("loaded"),i=e("error");return s.addEventListener("load",o),s.addEventListener("error",i),t&&(s.referrerPolicy=t),"string"==typeof n&&(s.crossOrigin=n),()=>{s.removeEventListener("load",o),s.removeEventListener("error",i)}},[s,n,t]),c}(o,f),v=(0,s.c)(e=>{d(e),m.onImageLoadingStatusChange(e)});return(0,u.N)(()=>{"idle"!==g&&v(g)},[g,v]),"loaded"===g?l.j.jsx(c.s.img,{...f,ref:t,src:o}):null});x.displayName=w;var E="AvatarFallback",C=i.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:o,...s}=e,u=y(E,n),[d,f]=i.useState(void 0===o);return i.useEffect(()=>{if(void 0!==o){let e=window.setTimeout(()=>f(!0),o);return()=>window.clearTimeout(e)}},[o]),d&&"loaded"!==u.imageLoadingStatus?l.j.jsx(c.s.span,{...s,ref:t}):null});function k(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}C.displayName=E;var M=b,_=x,S=C},29937:function(e,t,n){"use strict";n.d(t,{O:function(){return l}});var o=n(59065),i=0;function l(){o.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??s()),document.body.insertAdjacentElement("beforeend",e[1]??s()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function s(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},31236:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return i}});let o=n(49538),i=function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),l=1;l<t;l++)i[l-1]=arguments[l];return(0,o.normalizePathTrailingSlash)(n(57840).addLocale(e,...i))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31491:function(e,t,n){"use strict";n.d(t,{B8:function(){return L},UC:function(){return T},bL:function(){return O},l9:function(){return A}});var o=n(59065),i=n(95339),l=n(82450),s=n(23760),u=n(10005),c=n(46475),d=n(32383),f=n(85859),h=n(25071),p=n(72370),m="Tabs",[g]=(0,l.A)(m,[s.RG]),v=(0,s.RG)(),[y,b]=g(m),w=o.forwardRef((e,t)=>{let{__scopeTabs:n,value:o,onValueChange:i,defaultValue:l,orientation:s="horizontal",dir:u,activationMode:g="automatic",...v}=e,b=(0,d.j)(u),[w,x]=(0,f.i)({prop:o,onChange:i,defaultProp:l??"",caller:m});return p.j.jsx(y,{scope:n,baseId:(0,h.B)(),value:w,onValueChange:x,orientation:s,dir:b,activationMode:g,children:p.j.jsx(c.s.div,{dir:b,"data-orientation":s,...v,ref:t})})});w.displayName=m;var x="TabsList",E=o.forwardRef((e,t)=>{let{__scopeTabs:n,loop:o=!0,...i}=e,l=b(x,n),u=v(n);return p.j.jsx(s.bL,{asChild:!0,...u,orientation:l.orientation,dir:l.dir,loop:o,children:p.j.jsx(c.s.div,{role:"tablist","aria-orientation":l.orientation,...i,ref:t})})});E.displayName=x;var C="TabsTrigger",k=o.forwardRef((e,t)=>{let{__scopeTabs:n,value:o,disabled:l=!1,...u}=e,d=b(C,n),f=v(n),h=S(d.baseId,o),m=j(d.baseId,o),g=o===d.value;return p.j.jsx(s.q7,{asChild:!0,...f,focusable:!l,active:g,children:p.j.jsx(c.s.button,{type:"button",role:"tab","aria-selected":g,"aria-controls":m,"data-state":g?"active":"inactive","data-disabled":l?"":void 0,disabled:l,id:h,...u,ref:t,onMouseDown:(0,i.m)(e.onMouseDown,e=>{l||0!==e.button||!1!==e.ctrlKey?e.preventDefault():d.onValueChange(o)}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{[" ","Enter"].includes(e.key)&&d.onValueChange(o)}),onFocus:(0,i.m)(e.onFocus,()=>{let e="manual"!==d.activationMode;g||l||!e||d.onValueChange(o)})})})});k.displayName=C;var M="TabsContent",_=o.forwardRef((e,t)=>{let{__scopeTabs:n,value:i,forceMount:l,children:s,...d}=e,f=b(M,n),h=S(f.baseId,i),m=j(f.baseId,i),g=i===f.value,v=o.useRef(g);return o.useEffect(()=>{let e=requestAnimationFrame(()=>v.current=!1);return()=>cancelAnimationFrame(e)},[]),p.j.jsx(u.C,{present:l||g,children:({present:n})=>p.j.jsx(c.s.div,{"data-state":g?"active":"inactive","data-orientation":f.orientation,role:"tabpanel","aria-labelledby":h,hidden:!n,id:m,tabIndex:0,...d,ref:t,style:{...e.style,animationDuration:v.current?"0s":void 0},children:n&&s})})});function S(e,t){return`${e}-trigger-${t}`}function j(e,t){return`${e}-content-${t}`}_.displayName=M;var O=w,L=E,A=k,T=_},32217:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});/** 12 * @license lucide-react v0.436.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */let o=(0,n(60454).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},32383:function(e,t,n){"use strict";n.d(t,{j:function(){return l}});var o=n(59065),i=o.createContext(void 0);function l(e){let t=o.useContext(i);return e||t||"ltr"}},32575:function(e,t,n){"use strict";n.r(t),n.d(t,{Avatar:function(){return Q},AvatarFallback:function(){return J},AvatarImage:function(){return X},Button:function(){return p},Checkbox:function(){return e6},ControlledDatePicker:function(){return eQ},ControlledInputMask:function(){return eX},ControlledSelect:function(){return eK},DatePicker:function(){return e_},Divider:function(){return g},Drawer:function(){return eI},DrawerClose:function(){return eW},DrawerContent:function(){return eU},DrawerDescription:function(){return eZ},DrawerFooter:function(){return eG},DrawerHeader:function(){return eq},DrawerOverlay:function(){return eV},DrawerPortal:function(){return eB},DrawerTitle:function(){return eY},DrawerTrigger:function(){return eH},Dropdown:function(){return y},DropdownContent:function(){return x},DropdownItem:function(){return E},DropdownPortal:function(){return w},DropdownTrigger:function(){return b},Input:function(){return M},InputMask:function(){return eO},InputMobile:function(){return j},Modal:function(){return T},ModalBody:function(){return I},ModalCloseButton:function(){return F},ModalContent:function(){return R},ModalDescription:function(){return D},ModalFooter:function(){return H},ModalHeader:function(){return z},ModalOverlay:function(){return N},ModalPortal:function(){return B},ModalTitle:function(){return $},ModalTrigger:function(){return P},NextArrow:function(){return eJ},PartnerImg:function(){return U},Portal:function(){return Z},PreviousArrow:function(){return e1},Select:function(){return en},SelectContent:function(){return eu},SelectGroup:function(){return ea},SelectItem:function(){return ec},SelectScrollDownButton:function(){return es},SelectScrollUpButton:function(){return el},SelectSeparator:function(){return ed},SelectTrigger:function(){return ei},SelectValue:function(){return eo},Sheet:function(){return eT},SheetCloseButton:function(){return eA},SheetContent:function(){return eN},SheetDescription:function(){return eD},SheetFooter:function(){return eR},SheetHeader:function(){return eF},SheetTitle:function(){return e$},SheetTrigger:function(){return eP},Skeleton:function(){return q},Tabs:function(){return e2},TabsContent:function(){return e4},TabsList:function(){return e3},TabsTrigger:function(){return e5},Tag:function(){return Y},Toaster:function(){return eg},buttonStyles:function(){return f},cn:function(){return d}});var o=n(72370),i=n(55445),l=n(45978),s=n(59065),u=n(64164),c=n(11563);function d(...e){return(0,c.QP)((0,u.$)(e))}let f=(0,l.F)(["flex","items-center","justify-center","gap-2x","rounded-sm","disabled:bg-grey-400","disabled:text-grey-600","transition-colors","duration-300","relative","overflow-hidden","disabled:cursor-not-allowed","focus-visible:outline-none"],{variants:{variant:{primary:["bg-primary-light","text-white","hover:bg-primary-pure","active:bg-primary-dark"],secondary:["border","text-grey-900","hover:bg-grey-100","active:bg-grey-200","disabled:border-grey-500","disabled:text-grey-700"],ghost:["text-grey-900","hover:bg-grey-100","active:bg-grey-200","disabled:text-grey-700"],"secondary-ghost":["text-grey-900","hover:bg-grey-100","active:bg-grey-200","disabled:text-grey-700","border","border-grey-400"],destructive:["bg-red-500","text-white","hover:bg-red-700","active:bg-red-800"],text:["text-primary-light"," hover:underline","hover:text-primary-pure","disabled:text-grey-700"]},size:{small:["h-7","py-1x","px-2x","label-sm"],medium:["h-10","py-2x","px-4x","label-md"],large:["h-14","py-4x","px-6x","label-md"]}},defaultVariants:{variant:"primary",size:"medium"}}),h=(0,l.F)(["absolute","w-full","h-full","flex","justify-center","items-center"],{variants:{variant:{primary:["bg-primary-light","text-white"],secondary:["bg-grey-100"],ghost:["bg-grey-100"],"secondary-ghost":["bg-grey-100"],destructive:["bg-red-500"],text:["bg-white"]}},defaultVariants:{variant:"primary"}}),p=(0,s.forwardRef)(({children:e,leadingIcon:t,trailingIcon:n,variant:l,size:s,className:u,asChild:c=!1,isLoading:p=!1,...m},g)=>{let v=c?i.bL:"button";return o.j.jsxs(v,{type:"button",className:d(f({variant:l,size:s,className:u})),ref:g,disabled:p||m.disabled,...m,children:[t,o.j.jsx(i.xV,{children:e}),n,p&&o.j.jsx("div",{className:d(h({variant:l})),children:o.j.jsx("div",{className:d({"size-3x":"small"===s},{"size-4x":"small"!==s},"animate-spin rounded-full border-2 border-solid border-current border-e-transparent align-[-0.125em]")})})]})});p.defaultProps={leadingIcon:void 0,trailingIcon:void 0,className:void 0,asChild:!1,isLoading:!1};var m=n(10656);function g({className:e,hasTextInBetween:t=!1,text:n=null,...i}){return t&&n?o.j.jsxs("div",{className:d("flex items-center",e),children:[o.j.jsx(m.b,{className:d("flex-1 h-[1px] bg-grey-300"),...i}),o.j.jsx("span",{className:"mx-2 text-grey-600",children:n}),o.j.jsx(m.b,{className:d("flex-1 h-[1px] bg-grey-300"),...i})]}):o.j.jsx(m.b,{className:d("h-[1px] bg-grey-300",e),...i})}var v=n(65306);function y(e){return o.j.jsx(v.bL,{...e})}let b=(0,s.forwardRef)((e,t)=>o.j.jsx(v.l9,{ref:t,...e}));function w(e){return o.j.jsx(v.ZL,{...e})}let x=(0,s.forwardRef)(({className:e,...t},n)=>o.j.jsx(v.UC,{className:d("bg-white border-hairline shadow-level1 rounded-sm z-50 overflow-hidden",e),ref:n,...t})),E=(0,s.forwardRef)(({className:e,style:t,...n},i)=>o.j.jsx(v.q7,{className:d("flex items-center p-3x gap-2x hover:bg-grey-200 focus-visible:outline-none dropdown-item-focus",e),style:t,ref:i,...n}));var C=n(83405);function k({name:e="",label:t="",error:n="",helpText:i="",children:l,noGap:s=!1}){let u=!!n,c=!!i;return o.j.jsxs("div",{className:"flex flex-col gap-1 w-full",children:[t&&o.j.jsx(C.b,{htmlFor:e,className:"text-xxs font-bold text-grey-900 text-left",children:t}),l,(u||i)&&(s?o.j.jsxs("div",{className:"flex flex-col gap-0",children:[u&&o.j.jsx("span",{className:"text-xxxs text-error-500 text-left",children:n}),c&&o.j.jsx("span",{className:"text-xxxs text-grey-900 text-left",children:i})]}):o.j.jsxs(o.j.Fragment,{children:[u&&o.j.jsx("span",{className:"text-xxxs text-error-500 text-left",children:n}),c&&o.j.jsx("span",{className:"text-xxxs text-grey-900 text-left",children:i})]}))]})}let M=(0,s.forwardRef)(({className:e,leadingIcon:t,trailingIcon:n,disabled:i,error:l="",helpText:s,name:u,label:c,wrapperStyle:f,...h},p)=>{let m=!!l;return o.j.jsx(k,{name:u,label:c,error:l,helpText:s,children:o.j.jsxs("div",{className:d(["flex","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-300","data-[placeholder]:text-grey-500","text-gray-900","overflow-hidden","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent",{"bg-grey-300 border-grey-500 text-grey-600 cursor-not-allowed":i},{"border-error-500":m},e]),style:f,children:[t&&o.j.jsx("span",{className:d(["size-6","mr-2x",{"text-error-500":m}]),children:t}),o.j.jsx("input",{className:d(["w-full","h-full","paragraph-xs","outline-none","bg-transparent","placeholder:text-grey-500","disabled:placeholder:text-grey-100","disabled:bg-grey-300","disabled:cursor-not-allowed"]),style:{color:"inherit"},name:u,id:u,ref:p,disabled:i,...h}),n&&o.j.jsx("span",{className:d(["size-6","ml-2x",{"text-error-500":m}]),children:n})]})})});M.defaultProps={leadingIcon:void 0,trailingIcon:void 0,error:"",label:"",helpText:void 0,type:void 0,wrapperStyle:void 0};var _=n(4201),S=n(26478);function j({name:e,label:t,error:n,control:i,initialValue:l}
16){let u=!!n,[c,f]=(0,s.useState)(l),[h,p]=(0,s.useState)(!1),[m,g]=(0,s.useState)(void 0),v=/^(93|27|355|49|376|244|1264|672|1268|966|213|54|374|297|61|43|994|1242|973|880|1246|32|501|229|1441|375|591|387|267|673|359|226|257|975|55|238|855|237|1|974|7|235|56|86|357|65|57|269|242|243|850|82|225|506|385|53|599|45|253|1767|20|503|971|593|291|421|386|34|1|372|251|679|63|358|33|241|220|233|995|350|1473|30|299|590|1671|502|44|592|594|224|240|245|509|31|504|852|36|967|47|44|61|672|358|1345|61|682|298|500|672|500|1670|692|1|64|677|1649|1340|1284|91|62|98|964|353|354|972|39|1876|81|44|962|965|856|266|371|961|231|218|423|370|352|853|389|261|60|265|960|223|356|212|596|230|222|262|52|691|258|373|377|976|382|1664|95|264|674|977|505|227|234|683|47|687|64|968|599|507|675|92|595|51|689|48|1787|351|254|996|686|44|236|1809|262|40|250|7|212|508|685|1684|378|290|1758|590|1869|590|239|1784|248|221|232|381|1721|963|252|94|268|249|211|46|41|597|992|66|886|255|262|246|970|670|228|690|676|1868|216|993|90|688|380|256|598|998|678|379|58|84|681|260|263)/;return o.j.jsx(_.xI,{control:i,name:e,render:({field:{ref:i,value:s,...y}})=>{if(s&&(c||f(s),!m)){let e=v.exec(s);e&&g(e[0])}return o.j.jsx(k,{name:e,label:t,error:n,children:o.j.jsx("div",{className:d(["focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent"]),children:o.j.jsx(S.A,{...y,value:s,country:"br",onlyCountries:["af","za","al","de","ad","ao","ai","aq","ag","sa","dz","ar","am","aw","au","at","az","bs","bh","bd","bb","be","bz","bj","bm","by","bo","ba","bw","bn","bg","bf","bi","bt","br","cv","kh","cm","ca","qa","kz","td","cl","cn","cy","sg","co","km","cg","cd","kp","kr","ci","cr","hr","cu","cw","dk","dj","dm","eg","sv","ae","ec","er","sk","si","es","us","ee","et","fj","ph","fi","fr","ga","gm","gh","ge","gi","gd","gr","gl","gp","gu","gt","gg","gy","gf","gn","gq","gw","ht","nl","hn","hk","hu","ye","bv","im","cx","nf","ax","ky","cc","ck","fo","gs","hm","fk","mp","mh","um","pn","sb","tc","vi","vg","in","id","ir","iq","ie","is","il","it","jm","jp","je","jo","kw","la","ls","lv","lb","lr","ly","li","lt","lu","mo","mk","mg","my","mw","mv","ml","mt","ma","mq","mu","mr","yt","mx","fm","mz","md","mc","mn","me","ms","mm","na","nr","np","ni","ne","ng","nu","no","nc","nz","om","bq","pa","pg","pk","py","pe","pf","pl","pr","pt","ke","kg","ki","gb","cf","do","re","ro","rw","ru","eh","pm","ws","as","sm","sh","lc","bl","kn","mf","st","vc","sc","sn","sl","rs","sx","sy","so","lk","sz","sd","ss","se","ch","sr","tj","th","tw","tz","tf","io","ps","tl","tg","tk","to","tt","tn","tm","tr","tv","ua","ug","uy","uz","vu","va","ve","vn","wf","zm","zw"],containerClass:d(["focus-within:border-primary-pure","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent"]),autoFormat:!0,placeholder:"(XX) X XXXX-XXXX",searchClass:d(["hover:bg-transparent focus:bg-transparent"]),buttonClass:d([{"border-error-500":u}]),buttonStyle:{backgroundColor:"transparent",borderRadius:"8px 0 0 8px",border:"none"},inputProps:{ref:i,name:e,id:"phone-input",className:d(["flex","h-10","pl-12","w-[inherit]","bg-white","rounded-sm","border","border-grey-300","data-[placeholder]:text-grey-500","text-gray-900","overflow-hidden","focus-within:border-primary-pure","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent",{"border-error-500":u}])},onChange:(e,t)=>
16{t.dialCode===m?(h&&l?c!==l&&y.onChange(l):y.onChange(e),p(!1)):(p(!0),y.onChange(e))}})})})}})}var O=n(3517);function L(e){return o.j.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:o.j.jsx("path",{d:"M16 8L8 16M8 8L16 16",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}let A=(0,s.createContext)(void 0);function T({open:e,onOpenChange:t,children:n}){let[i,l]=(0,s.useState)(!1),u=void 0!==e,c=u?e:i,d=(0,s.useCallback)(e=>{u||l(e),null==t||t(e)},[u,t]),f=(0,s.useMemo)(()=>({isOpen:c,onOpenChange:d}),[c,d]);return o.j.jsx(A.Provider,{value:f,children:n})}let P=(0,s.forwardRef)(({children:e,...t},n)=>{let i=(0,s.useContext)(A);if(!i)throw Error("ModalTrigger must be used within a Modal");let{onOpenChange:l}=i;return o.j.jsx("button",{...t,ref:n,type:"button",onClick:e=>{var n;null==(n=t.onClick)||n.call(t,e),l(!0)},children:e})}),N=(0,s.forwardRef)(({className:e,...t},n)=>{let i=(0,s.useContext)(A);if(!i)throw Error("ModalOverlay must be used within a Modal");let{isOpen:l,onOpenChange:u}=i;return l?o.j.jsx("div",{className:d("bg-grey-900/intense fixed inset-0 m-0 z-50",e),ref:n,...t,role:"button",tabIndex:0,onClick:()=>u(!1),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&u(!1)}}):null});function F({asChild:e=!1,children:t=null,className:n,...i}){let l=(0,s.useContext)(A);if(!l)throw Error("ModalCloseButton must be used within a Modal");let{onOpenChange:u}=l,c={onClick:e=>{var t;u(!1),null==(t=i.onClick)||t.call(i,e)},className:d("space-y-4x",n)};return e&&s.isValidElement(t)?s.cloneElement(t,{...c,className:d(c.className,t.props.className)}):o.j.jsx("button",{type:"button",...c,...i,children:t})}let R=(0,s.forwardRef)(({className:e,children:t=null,showCloseButton:n=!0,noPadding:i=!1,...l},u)=>{R.defaultProps={showCloseButton:!0,noPadding:!1};let c=(0,s.useContext)(A);if(!c)throw Error("ModalContent must be used within a Modal");let{isOpen:f}=c,h=(0,s.useRef)(null);return(0,s.useEffect)(()=>{var e;if(f){let t=document.activeElement;null==(e=h.current)||e.focus();let n=e=>{h.current&&!h.current.contains(e.target)&&(e.stopPropagation(),h.current.focus())};return document.addEventListener("focusin",n),()=>{document.removeEventListener("focusin",n),null==t||t.focus()}}},[f]),(0,s.useEffect)(()=>{let e=e=>{"Escape"===e.key&&f&&c.onOpenChange(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[f,c]),(0,s.useEffect)(()=>{if(f&&h.current){let e=h.current.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex="-1"])'),t=e[0],n=e[e.length-1],o=o=>{if("Tab"!==o.key)return;if(0===e.length){o.preventDefault();return}let i=o.shiftKey;i&&document.activeElement===t?(o.preventDefault(),n.focus()):i||document.activeElement!==n||(o.preventDefault(),t.focus())},i=h.current;return null==i||i.addEventListener("keydown",o),()=>{null==i||i.removeEventListener("keydown",o)}}},[f]),f?o.j.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"modal-title","aria-describedby":"modal-description",className:d("fixed top-1/2 left-1/2 translate-x-[-50%] translate-y-[-50%] bg-white rounded-sm w-[327px] lg:w-[640px] md:w-[560px] overflow-y-auto z-50 transition-all",i?"":"p-4x",e),ref:e=>{if(h.current=e,u){if("function"==typeof u){u(e);return}u.current=e}},...l,children:[n&&o.j.jsxs(F,{className:"absolute top-2x right-2x",children:[o.j.jsx(L,{strokeWidth:1.5,width:24,height:24,className:"stroke-grey-900"}),o.j.jsx("span",{className:"sr-only",children:"Close"})]}),t]}):null});function $({children:e=null,className:t,...n}){return o.j.jsx("h2",{id:"modal-title",className:d("label-md text-grey-900",t),...n,children:e})}function D({children:e=null,className:t,...n}){return o.j.jsx("p",{id:"modal-description",className:d("text-grey-600",t),...n,children:e})}function z({title:e,description:t="",children:n=null,className:i,...l}){return o.j.jsxs("div",{className:d(i,"flex flex-col gap-4"),...l,children:[o.j.jsxs("div",{className:"flex justify-between items-center w-full",children:[o.j.jsx($,{children:e}),t&&o.j.jsx(D,{className:"sr-only",children:t})]}),n,o.j.jsx(g,{})]})}function I({children:e=null,className:t,...n}){return o.j.jsx("main",{className:d("space-y-4x",t),...n,children:e})}function H({children:e=null,className:t,...n}){return o.j.jsx("footer",{className:d("space-y-4x",t),...n,children:e})}function B({children:e}){let t=(0,s.useContext)(A);if(!t)throw Error("ModalPortal must be used within a Modal");let{isOpen:n}=t;return n?O.createPortal(o.j.jsx("div",{children:e}),document.body):null}let W="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAAFpCAYAAACxubJwAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABtgSURBVHgB7d1LjGNZfcfxc69drnfX+9XTnRmaZDSCzkuJJmJDMkkIQgoiUdgQsWDJNkhZZIVYRFGURbaQFWQzEkKziRIFRDRBKEKJWCA0iJFATM/0q7oeXe+37ZvzO7dvT3eX77Vd5Sr/y/5+JKteLndNeep3j//nf86JXJuSJIlWV1cXomrlRi2pvhTH7mZcKo8mSW3IAQBcFJUO666+W6/X75VK5ftHR7vvvfTSS4+jKEraepxW7uRDOf7VrzbGx8erc6Vk8KO15OR3/bf+tv/ul5PE+ZCOpv19xhwAwAd05MM5USB/4EP2ThK5n9VqtXcGBqJf7uyUll95ZXLXf63a9HFa+LfcO++sjM3Pl3/HR/VfRS76kv/UmA/ksgMAtC5y36zV6t9aX09+fPv2/G7zuxdYWVnxo+L480nd/bVP+085AMC5+TrH95Kk/s3Fxbk3i+6XG9D37q3fGChFfx/FyScTlyz5kfOgAwCcm69AHPlB74M4iv/98Lj+jzduzNxrdL9TAX337t3hOB6dq5Td3/kH+aMojn6dcgYAdJZq0L5O7UM6+o/t3YN/ODjYWL59+/bxc/d59gMfxJWVlY3Xosh9wX/wZf8A1JoB4OJoonDXJdHXj05O3tzaWn332ZCOs3fUPufLGnOxiz/tP/iS/9Qk4QwAF0oZO+mi5EtDlYFPT04uvPLVryZPc/npOw8ePBgul0t/krjaV/yHiw4AcFkW/VzfVwYGKn/w2c8+eLqm5GlAVyrDfxFHtS86whkAusFnb/WLN25UPpd9IgT08vLOfL1W/4yvSH/SAQC6I0n+sBSVPnP//vasPnwygj754ziOXqOVDgC6J4qiwXqS/MbAwMnv6+NYE4GlOPmUn0W85QAA3RUlr7h68pm3307K8fr6+oIvbXzcF6inHQCgq3wlY8a/+a2PfnRtPk6qpd9ziZtwAAALBvxtcXQw/kQ5iet/6QN60gEAbIjcZM25P/dzg/HHfGF62AEArBiLnPtYOUnq15PE0b0BAEYkSVTxo+jrcT1J1G9XcQAAE6LI+cFzMlv2M4YcVQUAtsS+9DwUOwCASQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUQQ0ABhFQAOAUWWHvnV8fOyOjtLbycmJq9Vq/m3NoXtKpdiVy2U3MDDgBgcH3MjIcPgY/Ylnvs/U63UfwlW3s7PrDg4OfTgfhY8V0PparVZ36J4oinwgl/xtwFUqZTc0NOSDuuKuXRv3Hw+Er6N/ENB9RAGsUN7d3XPr6xshnOv1xMGOJEmeXDCr/rly/kK6F0bQeu7GxkZDWJdKJYK6T0Qrj9b5C+0Te3v7bnl5xW1ubjtcPVNTE25ubsaNjo64OGb6qB8wgu4Dqi0/erTmHj/eCPVmXE0bG1vhIjszM+kWFxcI6T5AQPcBjZr1x318fOJwtan0sb6+Gd5fWJgP5Q70Li7BPS4bdSmcVd/E1ZbVqLe2dsNzi97GCLpH6Q9ZHRkrK2t+sumgaTg/2z2A7klbHYsvpvqaSlVra4/d+PgY3R09jIDuUQpnjZzVsVEkC+bBwUE3NDQY3qJ7qtWq298/9G9PwkhZHzeiINfzq3bJyclr9Er3KJ7VHqVFKKo9N6NAvnZtzE88TbuRkSGH7tMIWsGrEkazjhtN/I6OspilV/Gs9iCNng8Pj5qOnicmxt3i4nzor4UdWkU4PT3lL5gj4VXN8vJq7n3VJ532Sg/47+PPudcwSdiDNALb3z8ovI/qlgsLcyEEYJMWpczMTLmlpYXC+2nxUV4pBFcbAd2DFNCaGCwyOzvjQ7ri4pjJJas0P1CpDPrR9ERhz7NeLRHQvYmA7kGaQDo8bLwgRX/0uk1PT4ZRNGzTBVT7cWjTpLye53SjK/ZQ6UUEdA/S/hoK6TyqVerlM61ZV8f4+GjY6a6RarUW9upA7yGge1DaA904oPVSmVa6q0fPWV6ZQ881i5B6E9O+6BiFhOqh29s7oZdXu+WpNprWUith5K6OkYmJa3QctInFKP2JvxJ0xNbWtr/tuJ2dnScvuZPnRnVa+aaA0X20unFyciK0+WlnNgCNEdA4F61229jYDMGr0bMWyORRYKeHAtTC9+i+CnLVVwGcRkDjTBS2uq2uroXVbgrnVuugWSkkG2nXatUwogbwPAIaZ6KRsEJWG/YoaM8ySaX6tEoiGlGrjUwr6KizAh+iiwNnot7b1dX1UOI4TweBwl2Titp3Qo8F4EMENNqmRRHq0tC5hp3y8OGKH5Ef0i4GPIMSB9qmIN3cbL5ZvEoWWTudDgwoWo6sModq2Won08o5AAQ0zkCliGabMU1NXXPj4+Oh/9lPC4Z6dXa6Sx7tvqceaQIaSBHQaItqxmqPyzvfUMuRFcpzc7PP7R8xMlINI+o7d+7mljHUK61Rtr7OZCFADRptSo9kyp8YLJXK7tq18XAU07Ob++jUFp38ofDOC9+sR5p9JYAUAY22KDyLJvIUxCpTvEihrL0ktHqw6PQPjdCLNnoC+gklDnRU0UZNrX6/Fq9cBNXNdZSU3mYlGpVhtD+IbuwPAmv4PxJtUY25aJN/teDphA+VMxrZ3t5uuhVqJ4NSI36Nyu/efRB+Lq1afHafEIW1zvVTQGs149RU8eb4wGUioNEW1ZVVolDJolGpQ5N82mcjG5kq0HU/TSyqS0Mj17wRssojeuxOBaTCWQGsfu29vb2GKx7TEbsL3SW6vy4+U1OTDrCAgEZbFJ7ZKLdRJ4dCTiPVlZXVEIrq3Mj23tjf3y8sX2gCUSHdqQ4OdYU8frwZLhjNThzRxGetth/+bf3MHKQLCwhotEUBplGuTpvOa7WT7e1dH9AH4b5JUg8j62a15eHh
16oRCOnaAyii4IWkbe6nFQ2cVFoa7DdHWdoN0P3USxDW3T6R5qpWtGIalN+4vKGs9Sh4eO4uoELUXf2dkPo+h2aCStgNZeI6w6R7cR0A7t0nJs9Tl3ch/n69cXwub9nag/64Kgib+trebL0V+UdaG8//5dH+6HDugmAhpnonLEyy/fOPdRTJpE1GPNz892rLyxubn5dFKwEf28eQewZnZ398NIWq8AgG4hoHEm2TmDS0vzPmAHC1vv8qgjZGxsLDyG3u9EvVedIltbuz5Y8+vjqi/Pzs6ETpM8Gklvbu6EOjoLZ9AtTBLizBSoakmL41KYjNOos5URp8JcGyKppKF+6U50TKSliXrYo1qtdXnLxTW5OTEx5qanJ8OF5f337xfsDXIUDhRQx4pKOsBlI6BxLhr5KuwqlXLo2NjZ2fPhWHvSc1wPE20KQNWW0w6QUgg8LQdX6BWNYtuR9TxrpWDeiFf/vi4G166NhdH/1NSAD/THoXOjUaDr59ZFZ2Cg8tzGT8BlIaDRESpVqHSgfmcFnvZ2VidEFpYKb3V/aGJRIXne2vWL9G9pYrDoVBb9DOlJ4umIXf/+4uKcu39/Ofzcjejzu7u7IdTpjcZlI6DRMRola6Sp28zMlLss6dmIG01PeLl5c+lUe6CWd6vOrHDP6+vWKFonvty69WuMonGpmCTElaYFMFqm3eyEl9nZ6dAt0mjUPjc3HUb/eS1+2UrIR49WHXCZCGhcaao7a4JSJY5GspWPOuEl20PkRfq8ShgjI/knuejxNza2Q1BzbiIuCwGNK0uhubW1E1rr8jdg+rDunFee0MhZpY+JiYncvarTUfShn1RcC90dhDQuAwGNK0kBqdJGtkNeIxotq61OrYDN+qy1xHxsbMTfhgvvl56rSG80LgcBjStJPc+aFNSoNo86RVS60Ai6FZrcnJ6eKlxuri6Rra3ttvf4AM6CgMaVpO1M0wUpxaUNTQ62SsGsUoj2BSmiUbQmJfNa84BOIaBxpWhBiUoaKytrhT3PCmcthmm3LU6jboW6yh1Fy9e1T8f6+mMOuMWFIqBxpai08PDho1DiyJuo0ypBLSoZHh4+02IYjaTn5mb84wzmfr8uDqqB6wZcFBaq4MJlo171LCtU01NLyn50Ww5Lv1ulx9BSbp2QUiTb3+M8Zxtq9J1u3l9rOAmp/46Dg6MwktYFoVP7WAPPIqBxYRTMaoVT0CnMTk6O/cg38cEcPQm1wdBlobfNdsNTIKq9TUvIi05IUVCqZe68ganSSBbS2lekUSlDFxx1kagPWyNuoNMIaFwYjTyXl1dC10OjvZkVygrTGzeuNw1Ufb/a2zSCLqIl5tqlrhP7fGgUrpsmA/O6NnQYrv4bCWhcBGrQuBDqsHjvvQ9CK1zexvnqwNBCk5///BeFW4SKQvDRo5Xcr6turJBfWloIo/NO0YTh/PxMbuud/ht0IXrw4FEIa6CTCGh0VFZvfv/9ey0F1odHTN0L5YRGE38KeU3G5QW9aJ8NbWbUadmhAqprF1HbnzZVYgELOomARkepLqtJPC0gKQrUF+n+6fc931usbgnVeIsWpGjkrG1MdQhAp6lUohq56tFDQ/kjc9XFddQWvdHoJAIaHZOG6W4Y8bZyivezdH9NAGrS7dmNj7QNqEbPeRODKj1o9Dw1NdGRA2cb0fmFqkWrzlxU29YIWjVyVhmiUwhodETWZaEJQZUq8hQFnIJNm+OngVwLJRKFfd5OdaKFJTo66yJGz89SO6D29FDXSVFvtH5+hTSbKaETCGh0RNplsR/KEUU0Gi1qsNBBrdm2nlpSnR5HlR92WafFRY2eM3p8nTquDf6L+qt3dvbDsV/tlHeAPAQ0OkJdFrrlhWnWZXHr1suFo11NMm5vb7s7dz4IKwaLqEVPbXWXeRSV9unQBkx5C2z08+ug2aKOE6BVBDTOrVmXRXpY63DoslCY6pBZTbzlUb356OikcEFKumfGVCg5XLb5+bmwjDyPfg+qxeuEceA8CGici0oRqjsXb/tZCa1qG
16jkrrFXLVddF0eb4zWq4mhRUOHfjjED992gUnRfS+tnVaqhl4KpLU4/GWRHQOBOFjkaKOmEk7f9tPNpN92QeDaGc1YlV6lDATkyMtb3iTzVsdW1o32aNwjt5Mng7P4Pa7tQbnXeBUKlDryrUhaLWQ+AsCGiciQJIq/80kZcXQApPbYKf9hA/X4pQ58X4+HhhqaPR42miTuGux73oicEiukhoS1K9bSR7FaDyjyY6WcCCsyCgcSZqfdPosOgl/IfnAY6c+ppGnipzTE9PuHZoRK6JQQtUsmm2wlDhrP7uvGO5gCIENNqm0NGG+RodFllcnCs8iFW1XJU+5udnXStU8033abaxtacuFnp10Ozn1+9Jk4ZFBwwAjRDQaEu2xaZGhUUWFmb9CHms6X7Pqkfrvgq7onqyHkedIGqts6SVn1/lIC0Db/Y7A15EQKMt2n1O5/HljQYVUhoxqwzRLHSz+6uurFFo0QKQ9Airia7WnRvJfv7Z2ZncVwqibpe9vb2w2hJoFQGNlmlSUOGsEXQj6cZClbA9p8oRrbbA6fvUG523Sk8TgvqaJuUsyn7+dAFL45BWx4t+b5pU5RxDtIqARksUMOp3LjpJWxvwa0KwnZO0M1l3hvqlFfIKOt0Uzha6NprRz6xRftFeHZoo1CsQdrxDqzhRBS05OEhb6oq6EQYH064Ghe1ZZEu2t7YqYSIyK5WMjAx1ZUFKu1Qf1yhZAdyo9TBdwJJuAKULDtAMAY1C6bmCVXfnzt3CLgSVHxSmKkWcR7b50VWki4hq0VEUu0ePVhveRxc4dcDoQqaQvgoXHnQPJQ4U0ohPp4UU9Tun5YnJ0HLW71Ti0Eha9egi9+49DCNtloGjCAGNXGnNdDfUTYuCRKNBjXoZDWarJ4dCPbq4q+MwTLiyuT+KENBoSHtrpEu5NwtDRKsBFdAaOVqexLtM6SrJ8dDZkSc9QWbnyS6ALGBBY/xFoSGVNrT5viYHG9FIUbeZmWnzHRaXTb8XrXZs1guuUbQmFXUhpNSBRvirQkNra4/D6DmvpS4NoXRfjKKX8v1KO95l/dtFvx+VOZqVkNC/CGicon7n5hvwj7hXX73lUEwnsOh3lfcKQ79jnWGoFkbgRQQ0TmlWF9UkmBajnLXfuZ8omLWMvajvWTV+baYEvIjXpjhF4Zy3f7GWYmsPZ02E0YHQOq00zFvAol5zdcyolbFoPxL0H/5vwCnq4MirierTmkDUcU5oXdGRYKnkyQ34EAGNU9Kug8adB+l2o9VwzBU6I+2IcfSR4xRq0DhFtWV1IeDyxHGJVkWcwv8ROEVbhZbLTABeFrUrWt1KFd1FQOMU7SOhroNmp6Hg/LJ+aW2pCryIgMYpCo2pqWshNCh1XByVNEZHR8O+HbQsohEmCXFKuhBlNISz3t/Z2Qv7M6NztBRc+5hoB0AdckD9GY0Q0GhIgaFa9OxsHEZ3Wl2Yt+wb7UlPnhl9uic04Yw8BDRyZSGt29zcjDs8POY8vXPSqxItWqGlDq0goNESBcroKMc0AZeJ11YAYBQBDQBGEdAAYBQBDQBGEdAAYBQBDQBGEdDAFZAeoMBCoX5DQPcgrVTLW52mjfi14T6uFp24kreSUz3qes7RewjoHqT9M/KOTkoD+iQcV8VJ0leHzizMO4ZMp4ZHEX/KvYhntQdpOXFRQOumk6Tz/uBhR/aKZ39/PxxF1oiea5aO9yYCugeVSmVXqQwW3ufx4w13cnLiYJueo42NrXCgbN4rnnRvD/6UexHPag/SS96RkaHC+2gL0UeP1vzI7MDBJpWiFM737j0svJ/2kx4aGnToPWyW1IP0kld7DOsYpaLDXXUytw6B1Z7Ek5MTuWURXC6VMnZ2dtzm5rbb2topvK/27dYIOj3oF72Gv8gepD9WbQivE1GKAlovmTWC1stn1ThVFuGYq+6qVmv++TgOW7seHR2FC2iRmZnpcH4kAd2bCOgepaCdmJjwo+StcBpK3j7OCmfdDg+Pwvcw2dRdmrhVSCdJ3RU12eh5UllD5Q0uqr2LgO5R6oPWS9/p6Um3tvY4BHBRW50C/PhYIc7EoXUaLeu5nZmZoizV45gk7HH6I9aEIbP8vSM7CVyn3KC38Vfb4/RS+ObNl9zs7LSvMXNy9FWn51DBfPPmdYfex+ujPqCQXlpa8DP+Y25lZTWsSsPVo0Nm9YpIB84yKdgfCOg+oZq02u6cmwsvj9XCxXJv+/S8adSscFZLncJZJQ4Cuj8Q0H1EI+nx8dEw+z80NBS6Ow4PD592ctRq1dwNeXA59BylS/UHQnfG4OBguKAqnBXUBHN/IaD7TNbdodvxcdXt7e2GnlstKVb/ba1GQHdTtq+GLqLp8zTIKsE+RkD3sUpFe3ZMOgA20cUBAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEYR0ABgFAENAEbFiUsO/du6AwBYUU+S5DCOomgzca7qAAAmJImrKpvjyEXLkXPHDgBgQhQlyuTl2A+jf+Lf2XUAACuUyT+Jk1ryXz6vCWgAsCJxvvRc/35ccaUf+o9WHHVoADAhcdHW8XHyv/Hk0uQDF7kf+8+tOQBAV/kJwsd+XvBnv/zl3B11cZyUXOl//OfvOABAV0WRe1BLaj98442oGhaqnNQP/9uPou85AEBXJc69e3i49596PwT04uLiSjmK3vLvfs8BALrCh/P3kqT+1kc+8pFlffx0qffe4d53ozh6y9c/qEUDwCVLQrNG9NbJyeF3s889DegbN25sRlH9B77U8a+ENABcHmWunw/8l2r14Ac/+tGPtrLPR8/fKamsrKy8FkWlL7gk+rL/6piP9bIDAFwEtTfvuij5+tFR7c2trdV3b9++/XRld/TivX1I
16D6+urr6UJPE/RS563X9q3t8IaQDorLpP3GVfd/4/X73426Ojo/s3b948ePYOUd53Pnz48JU4HvznyCV/6j8ccwCATtr1defv1+snf7O0tHSn0R2iou/25Q4fzPHnfbnjC/7DP3MAgHNTt0a9XntzfX3lO76kkbvVRmFA+3JH9ODBg+FarbxULrtPlEvlz/lPf94BANpR9aPl/SiJvhNH8b9Vk+intdre8vXr1w/85GCS901RK4/89ttvl1999dVJ5wZeK8fxbyaRey2O3S0/sr7hY3zRP/o1X68ecQAAF8LYRZv+3RWfv/dcEr+bRMm7cVz+aZIc33/nnXdW3njjjab7H7UU0M/69re/XXr99dfnh4bGPl5y8WyS1GddKR6NkmTIAQD82DU69HOAu1E9Xq+5+lp9//gX3/jWN+5+7Wtfa+v0qv8HyQcHGBTyOfsAAAAASUVORK5CYII=";function U({src:e,alt:t,url:n}){return o.j.jsx("div",{className:"flex justify-center items-center min-w-[72px] h-[72px] lg:min-w-[88px] lg:h-[88px] border-hairline rounded-sm p-1x",children:o.j.jsx("a",{href:n,target:"_blank",rel:"noreferrer",children:o.j.jsx("img",{className:"rounded-sm w-16 h-16 lg:w-20 lg:h-20 object-contain",src:e??W,alt:t,width:80,height:80,onError:e=>{e.target.src=W}})})})}function q({className:e,...t}){return o.j.jsx("div",{className:d("animate-pulse rounded-sm bg-grey-300",e),...t})}let G=(0,l.F)(["flex","items-center","justify-center","p-1x","rounded-pill","caption-sm-heavy","uppercase","w-max","h-5","px-2x","py-[2px]"],{variants:{variant:{primary:"bg-primary-light/10 text-primary-light",secondary:"bg-secondary-light/10 text-secondary-pure",success:"bg-success-100 text-success-700",neutral:"bg-grey-200 text-grey-700",danger:"bg-error-100 text-error-500",warning:"bg-warning-100 text-warning-800"}},defaultVariants:{variant:"primary"}});function Y({children:e,variant:t,className:n,...i}){return o.j.jsx("div",{className:d(G({variant:t,className:n})),...i,children:e})}function Z({children:e}){let[t,n]=(0,s.useState)(!1);return(0,s.useEffect)(()=>(n(!0),()=>n(!1)),[]),t?(0,O.createPortal)(e,document.getElementById("ui-portal")):null}var K=n(26622);let Q=s.forwardRef(({className:e,...t},n)=>o.j.jsx(K.bL,{ref:n,className:d("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));Q.displayName=K.bL.displayName;let X=s.forwardRef(({className:e,...t},n)=>o.j.jsx(K._V,{ref:n,className:d("aspect-square h-full w-full",e),...t}));X.displayName=K._V.displayName;let J=s.forwardRef(({className:e,...t},n)=>o.j.jsx(K.H4,{ref:n,className:d("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));J.displayName=K.H4.displayName;var ee=n(11751),et=n(32217),er=n(99160);let en=ee.bL,ea=ee.YJ,eo=ee.WT,ei=s.forwardRef(({className:e,placeholder:t="",isError:n=!1,name:i,...l},s)=>{let{disabled:u}=l;return o.j.jsx(ee.l9,{ref:s,id:i,"aria-label":t,role:"combobox","aria-haspopup":"listbox",tabIndex:0,className:"data-[placeholder]:text-grey-500 text-gray-900 text-left",...l,children:o.j.jsxs("div",{className:d(["flex","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-300","overflow-hidden","focus-within:border-purple-300","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent","paragraph-sm","bg-white",{"bg-grey-300 border-grey-500 text-grey-600 cursor-not-allowed":u},{"border-error-500":n}]),children:[o.j.jsx("div",{className:"w-full h-full",children:o.j.jsx(ee.WT,{placeholder:t})}),o.j.jsx(ee.In,{asChild:!0,children:o.j.jsx("span",{className:d(["size-6","ml-2x",{"text-error-500":n}]),children:o.j.jsx(et.A,{strokeWidth:1.5})})})]})})});ei.displayName=ee.l9.displayName;let el=s.forwardRef(({className:e,...t},n)=>o.j.jsx(ee.PP,{ref:n,className:d("flex cursor-default items-center justify-center py-1",e),...t,children:o.j.jsx(er.A,{})}));el.displayName=ee.PP.displayName;let es=s.forwardRef(({className:e,...t},n)=>o.j.jsx(ee.wn,{ref:n,className:d("flex cursor-default items-center justify-center py-1",e),...t,children:o.j.jsx(et.A,{})}));es.displayName=ee.wn.displayName;let eu=s.forwardRef(({className:e,children:t,position:n="popper",...i},l)=>o.j.jsx(ee.ZL,{children:o.j.jsxs(ee.UC,{ref:l,className:d("relative z-50 max-h-96 min-w-[8rem] overflow-hidden border bg-white text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
16de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...i,children:[o.j.jsx(el,{}),o.j.jsx(ee.LM,{className:d("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),o.j.jsx(es,{})]})}));eu.displayName=ee.UC.displayName;let ec=s.forwardRef(({className:e,children:t,...n},i)=>o.j.jsx(ee.q7,{ref:i,className:d("w-full paragraph-md outline-none py-1.5 pl-2 text-grey-900 cursor-pointer focus:bg-primitive-blue-300 focus:text-white focus:cursor-default",e),...n,children:o.j.jsx(ee.p4,{children:t})}));ec.displayName=ee.q7.displayName;let ed=s.forwardRef(({className:e,...t},n)=>o.j.jsx(ee.wv,{ref:n,className:d("-mx-1 my-1 h-px bg-muted",e),...t}));ed.displayName=ee.wv.displayName,ei.defaultProps={isError:!1,placeholder:""};var ef=n(71935),eh=n(43127),ep=n(85904),em=n(38555);function eg(e){return o.j.jsx(ef.l,{duration:3e3,position:"top-right",toastOptions:{unstyled:!0,classNames:{toast:"flex gap-1x rounded-sm p-2x",content:"flex gap-1x",title:"label-sm text-grey-900",description:"paragraph-sm text-grey-800",icon:"size-6x m-0",warning:"bg-yellow-100",success:"bg-green-100",error:"bg-red-100",info:"bg-purple-100"}},icons:{success:o.j.jsx(em.A,{strokeWidth:1.5,className:"stroke-success-500"}),info:o.j.jsx(eh.A,{strokeWidth:1.5,className:"stroke-purple-500"}),warning:o.j.jsx(ep.A,{strokeWidth:1.5,className:"stroke-yellow-500"}),error:o.j.jsx(eh.A,{strokeWidth:1.5,className:"stroke-red-500"})},...e})}var ev=n(59689),ey=n(5226);function eb({className:e,classNames:t,showOutsideDays:n=!0,...i}){return(0,s.useEffect)(()=>{document.querySelectorAll('td[data-today="true"] button').forEach(e=>{e.classList.add("rounded-sm"),e.classList.add("border"),e.classList.add("border-primary-pure")})},[]),o.j.jsx(ev.h,{locale:ey.F,showOutsideDays:n,className:d("p-3",e),classNames:{root:"bg-white",months:"flex flex-col space-y-4",month:"space-y-4",nav:"w-full h-6 relative",month_caption:"absolute top-3 left-1/2 -translate-x-1/2",caption_label:"text-sm font-medium",button_previous:"absolute left-0",button_next:"absolute right-0",month_grid:"w-full border-collapse space-y-1",head_row:"flex",head_cell:"text-muted-foreground rounded-md w-9 font-normal text-[0.8rem]",row:"flex w-full mt-2",day:"relative text-grey-500 focus-within:relative focus-within:z-20 aria-selected:opacity-100 hover:bg-primitive-blue-600 hover:text-white hover:rounded-sm",selected:"bg-primitive-blue-300 text-white rounded-sm",outside:"text-grey-400",day_button:"w-full h-full p-2x text-center caption-sm-heavy today",...t},...i})}eb.displayName="Calendar";var ew=n(84895);let ex=ew.bL,eE=ew.l9,eC=(0,s.forwardRef)(({className:e,align:t="center",sideOffset:n=4,...i},l)=>o.j.jsx(ew.ZL,{children:o.j.jsx(ew.UC,{ref:l,align:t,sideOffset:n,className:d("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 overflow-hidden",e),...i})}));eC.displayName=ew.UC.displayName;var ek=n(5255),eM=n(14085);function e_({name:e,label:t,helpText:n,error:i,placeholder:l="",disabled:u=!1,value:c,onChange:f}
16){let[h,p]=(0,s.useState)(c),[m,g]=(0,s.useState)(!1),v=!!i;return o.j.jsxs(ex,{open:m,onOpenChange:g,modal:!1,children:[o.j.jsx(eE,{children:o.j.jsx(k,{name:e,label:t,helpText:n,error:i,children:o.j.jsxs("div",{className:d(["flex","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-500","text-gray-900","overflow-hidden","focus-within:border-purple-300","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent","paragraph-sm","bg-white",{"bg-grey-300 border-[#040404] text-grey-600":u},{"border-error-500":v}]),children:[o.j.jsx("div",{className:d("w-full h-full paragraph-sm bg-white text-left",{"bg-grey-300":u}),children:h?(0,ek.Yq)(h,"dd/MM/yyyy"):o.j.jsx("span",{className:d("text-grey-500",{"text-grey-100":u}),children:l})}),o.j.jsx("span",{className:d(["size-6","ml-2x",{"text-error-500":v}]),children:o.j.jsx(eM.A,{strokeWidth:1.5})})]})})}),o.j.jsx(eC,{className:"w-[280px] p-0",children:o.j.jsx(eb,{mode:"single",selected:h,onSelect:function(e){p(e),f&&f(e),g(!1)}})})]})}let eS={cpf:"___.___.___-__",cnpj:"__.___.___/____-__",mobileNumber:"(__) _____-____",birthdate:"__/__/____",zipcode:"_____-___"};var ej=n(7874);let eO=(0,s.forwardRef)(({className:e,leadingIcon:t,trailingIcon:n,disabled:i,error:l="",helpText:s="",name:u,label:c,mask:f,onChange:h,placeholder:p,value:m,noGap:g=!1,...v},y)=>{let b=!!l,w=eS[f]??f;return o.j.jsx(k,{name:u,label:c,error:l,helpText:s,noGap:g,children:o.j.jsxs("div",{className:d(["flex","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-300","data-[placeholder]:text-grey-500","text-gray-900","overflow-hidden","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent",{"bg-grey-300 border-[#040404] text-grey-600":i},{"border-error-500":b},e]),children:[t&&o.j.jsx("span",{className:d(["size-6","mr-2x",{"text-error-500":b}]),children:t}),o.j.jsx(ej.A,{className:d(["w-full","h-full","paragraph-sm","outline-none",{"bg-white":!i&&!v.readOnly},{"bg-grey-300":i||v.readOnly},"placeholder:text-grey-500","disabled:placeholder:text-grey-100","disabled:bg-grey-300"]),id:u,name:u,value:m,ref:y,mask:w,replacement:{_:/\d/},placeholder:p||w,onChange:e=>{h&&h(e)},...v}),n&&o.j.jsx("span",{className:d(["size-6","ml-2x",{"text-error-500":b}]),children:n})]})})});function eL({onClick:e}){return o.j.jsx("div",{role:"button",tabIndex:0,className:"fixed inset-0 z-50 bg-grey-900 opacity-50",onClick:e,onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&e()},"aria-label":"Close overlay"})}function eA({onClick:e=()=>{},children:t=null,className:n=""}){return o.j.jsx("button",{type:"button",onClick:e,className:n||"absolute right-4 top-4 roun
16ded-sm opacity-70 transition-opacity hover:opacity-100 focus:outline-none",children:t||o.j.jsxs(o.j.Fragment,{children:[o.j.jsx(L,{strokeWidth:1.5,width:24,height:24,className:"stroke-grey-900"}),o.j.jsx("span",{className:"sr-only",children:"Close"})]})})}function eT({isOpen:e,onClose:t,children:n,closeButton:i=!0,side:l="right"}){return(0,s.useEffect)(()=>{let n=e=>{"Escape"===e.key&&t()};return e&&window.addEventListener("keydown",n),()=>{window.removeEventListener("keydown",n)}},[e,t]),o.j.jsxs(o.j.Fragment,{children:[e&&o.j.jsx(eL,{onClick:t}),e&&o.j.jsxs("div",{className:d(`fixed z-50 gap-4 bg-white p-6 shadow-lg ${l}`),children:[n,i&&o.j.jsx(eA,{onClick:t})]})]})}function eP({onClick:e=()=>{},children:t,asChild:n=!1}){return n?s.Children.only(t):o.j.jsx("button",{type:"button",onClick:e,className:"trigger-button",children:t})}eO.defaultProps={leadingIcon:void 0,trailingIcon:void 0,error:"",label:"",helpText:"",type:void 0,noGap:!1};let eN=(0,s.forwardRef)(function({closeButton:e=!0,className:t="",children:n},i){return o.j.jsxs("div",{ref:i,className:d("content-class",t),children:[n,e&&o.j.jsx(eA,{onClick:()=>{}})]})});function eF({className:e="",children:t}){return o.j.jsx("div",{className:d("flex flex-col space-y-2 text-center sm:text-left",e),children:t})}function eR({className:e="",children:t}){return o.j.jsx("div",{className:d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",e),children:t})}let e$=(0,s.forwardRef)(function({className:e="",children:t},n){return o.j.jsx("h2",{ref:n,className:d(e),children:t})}),eD=(0,s.forwardRef)(function({className:e="",children:t},n){return o.j.jsx("p",{ref:n,className:d(e),children:t})});var ez=n(39715);function eI({shouldScaleBackground:e=!0,...t}){return o.j.jsx(ez._s.Root,{shouldScaleBackground:e,...t})}eI.displayName="Drawer";let eH=ez._s.Trigger,eB=ez._s.Portal,eW=ez._s.Close,eV=s.forwardRef(({className:e,...t},n)=>o.j.jsx(ez._s.Overlay,{ref:n,className:d("fixed inset-0 z-50 bg-black/80",e),...t}));eV.displayName=ez._s.Overlay.displayName;let eU=s.forwardRef(({className:e,children:t,...n},i)=>o.j.jsxs(eB,{children:[o.j.jsx(eV,{}),o.j.jsxs(ez._s.Content,{ref:i,className:d("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",e),...n,children:[o.j.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));function eq({className:e="",...t}){return o.j.jsx("div",{className:d("grid gap-1.5 p-4 text-center sm:text-left",e),...t})}function eG({className:e="",...t}){return o.j.jsx("div",{className:d("mt-auto flex flex-col gap-2 p-4",e),...t})}eU.displayName="DrawerContent",eq.displayName="DrawerHeader",eG.displayName="DrawerFooter";let eY=s.forwardRef(({className:e,...t},n)=>o.j.jsx(ez._s.Title,{ref:n,className:d("text-lg font-semibold leading-none tracking-tight",e),...t}));eY.displayName=ez._s.Title.displayName;let eZ=s.forwardRef(({className:e,...t},n)=>o.j.jsx(ez._s.Description,{ref:n,className:d("text-sm text-muted-foreground",e),...t}));function eK({label:e="",helpText:t="",options:n,error:i="",placeholder:l="",name:s,disabled:u=!1,control:c,...d}){let{field:{name:f,value:h,onChange:p,ref:m}}=(0,_.as)({name:s,control:c});return o.j.jsx(k,{name:f,label:e,helpText:t,error:i,children:o.j.jsxs(en,{name:f,value:h,onValueChange:p,children:[o.j.jsx(ei,{name:f,ref:m,placeholder:l,isError:!!i,disabled:u,...d}),o.j.jsx(eu,{children:null==n?void 0:n.map(({value:e,text:t})=>o.j.jsx(ec,{value:e,children:t},e))})]})})}function eQ({name:e,control:t,label:n,helpText:i,placeholder:l=""}){let{field:{value:s,onChange:u},fieldState:{error:c}}=(0,_.as)({name:e,control:t});return o.j.jsx(e_,{label:n,name:e,error:null==c?void 0:c.message,helpText:i,placeholder:l,value:s,onChange:u})}function eX({name:e,control:t,noGap:n=!1,...i}){let{field:{name:l,value:s,onChange:u},fieldState:{error:c}}=(0,_.as)({name:e,control:t});return o.j.jsx(eO,{name:l,error:null==c?void 0:c.message,onChange:u,value:s,noGap:n,...i})}function eJ(e){return o.j.jsx("svg",{width:"6",height:"11",viewBox:"0 0 6 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:o.j.jsx("path",{d:"M1 1.5L4.90663 5.28215C4.93623 5.31074 4.95971 5.34469 4.97573 5.38207C4.99175 5.41945 5 5.45953 5 5.5C5 5.54047 4.99175 5.58055 4.97573 5.61793C4.95971 5.65531 4.93623 5.68926 4.90663 5.71785L1 9.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function e1(e){return o.j.jsx("svg",{width:"6",height:"11",viewBox:"0 0 6 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:o.j.jsx("path",{d:"M5 1.5L1.09337 5.28215C1.06377 5.31074 1.04029 5.34469 1.02427 5.38207C1.00825 5.41945 1 5.45953 1 5.5C1 5.54047 1.00825 5.58055 1.02427 5.
1661793C1.04029 5.65531 1.06377 5.68926 1.09337 5.71785L5 9.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}eZ.displayName=ez._s.Description.displayName;var e0=n(31491);let e2=e0.bL,e3=(0,s.forwardRef)(({className:e,...t},n)=>o.j.jsx("div",{children:o.j.jsx(e0.B8,{ref:n,className:d("flex w-full md:inline-flex md:w-auto items-center justify-center bg-muted text-muted-foreground",e),...t})}));e3.displayName=e0.B8.displayName;let e5=(0,s.forwardRef)(({className:e,...t},n)=>o.j.jsx(e0.l9,{ref:n,className:d(["inline-flex","flex-1","md:flex-none","items-center","justify-center","whitespace-nowrap","p-4","data-[state=active]:font-bold","transition-all","focus-visible:outline-none","disabled:pointer-events-none","disabled:opacity-50","relative",'after:content-[""]',"after:absolute","after:bottom-[-2px]","after:left-0","after:w-full","after:h-[2px]","after:bg-primary-pure","after:scale-x-0","data-[state=active]:after:scale-x-100","after:transition-transform","after:duration-300",e]),...t}));e5.displayName=e0.l9.displayName;let e4=(0,s.forwardRef)(({className:e,...t},n)=>o.j.jsx(e0.UC,{ref:n,className:d("mt-2","ring-offset-background","focus-visible:outline-none","focus-visible:ring-2","focus-visible:ring-ring","focus-visible:ring-offset-2",e),...t}));e4.displayName=e0.UC.displayName;let e6=(0,s.forwardRef)(({className:e,error:t="",helpText:n="",name:i,label:l="",disabled:s,...u},c)=>{let f=!!t;return o.j.jsxs("div",{className:"flex flex-col gap-1",children:[o.j.jsxs("div",{className:"flex items-center gap-2",children:[o.j.jsx("input",{type:"checkbox",className:d(["w-4","h-4","rounded","border-grey-300","text-primitive-blue-300","focus:ring-2","focus:ring-primitive-blue-300","focus:ring-offset-0","focus:border-primary-light","disabled:bg-grey-300","disabled:border-grey-500","disabled:cursor-not-allowed",{"border-error-500 focus:ring-error-500 focus:border-error-500":f},e]),name:i,id:i,ref:c,disabled:s,...u}),l&&o.j.jsx("label",{htmlFor:i,className:"text-xxs font-medium text-grey-900 cursor-pointer",children:l})]}),t&&o.j.jsx("span",{className:"text-xxxs text-error-500 text-left",children:t}),n&&o.j.jsx("span",{className:"text-xxxs text-grey-600 text-left",children:n})]})});e6.displayName="Checkbox",e6.defaultProps={error:"",label:"",helpText:""}},32964:function(e,t,n){"use strict";n.d(t,{s:function(){return s},t:function(){return l}});var o=n(59065);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function l(...e){return t=>{let n=!1,o=e.map(e=>{let o=i(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():i(e[t],null)}}}}function s(...e){return o.useCallback(l(...e),e)}},35356:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getRouteMatcher",{enumerable:!0,get:function(){return i}});let o=n(22101);function i(e){let{re:t,groups:n}=e;return e=>{let i=t.exec(e);if(!i)return!1;let l=e=>{try{return decodeURIComponent(e)}catch(e){throw new o.DecodeError("failed to decode param")}},s={};return Object.keys(n).forEach(e=>{let t=n[e],o=i[t.pos];void 0!==o&&(s[e]=~o.indexOf("/")?o.split("/").map(e=>l(e)):t.repeat?[l(o)]:l(o))}),s}}},35424:function(e,t,n){"use strict";let o,i,l,s,u,c,d,f,h,p,m,g,v,y,b,w,x,E,C,k;n.r(t),n.d(t,{API:function(){return hT},AppError:function(){return hv},AuthContext:function(){return yZ},AuthProvider:function(){return yK},BeerIcon:function(){return Hw},BrokenIcon:function(){return Hq},COURTESY_OTP_LENGTH:function(){return Vb},COURTESY_OTP_REGEX:function(){return Vw},COURTESY_REDEMPTION_ERROR_CODES:function(){return ER},COURTESY_TOKEN_REGEX:function(){return Vv},CancelOrder:function(){return HV},Carousel:function(){return I5},CarouselContent:function(){return I4},CarouselItem:function(){return I6},CarouselNext:function(){return I8},CarouselPrevious:function(){return I7},CarouselStructuredData:function(){return yd},CategoryStructuredData:function(){return yh},CategoryStructuredDataGraph:function(){return yp},CheckoutContext:function(){return jO},CheckoutProvider:function(){return jL},CompletingRegister:function(){return Hm},CountrySelect:function(){return IE},CourtesyApi:function(){return EF},CourtesyServiceHttpStatus:function(){return EV},DEFAULT_NEW_EVENTS:function(){return z},DisconnectIcon:function(){return HD},EXPIRATION_IN_SECONDS:function(){return EG},EmailIcon:function(){return WP},ErrorIcon:function(){return HB},FB_PIXEL_ID:function(){return yk},FacebookPixel:function(){return Hv},Footer:function(){return IP},GA_TRACKING_ID:function(){return v5},GTM_ID:function(){return v4},GatewayProvider:function(){return Va},GlobalContext:function(){return yJ},GlobalProvider:function(){return y1},GoogleAnalytics:function(){return v2},GreaterThan:function(){return Hz},Header:function(){return IO},Help:function(){return HI},HistoryIcon:function(){return WN},HomeIcon:function(){return Hx},Instagram:function(){return IL},LinkedIn:function(){return IA},LoadingContext:function(){return kd},LoadingProvider:function(){return kf},LocaleDictionary:function(){return yu},LocationContext:function(){return Eq},LocationProvider:function(){return EY},LoginModal:function(){return Ik},NON_INDEXABLE_EVENT_STATUSES:function(){return dt},NextLink:function(){return W$}
16,NominalTransferInstruction:function(){return HN},NotFoundNewIcon:function(){return HM},OrderDetailsModal:function(){return Hl},OrderSummary:function(){return Ha},OrganizationStructuredData:function(){return ym},PaperPlane:function(){return HT},PartyIcon:function(){return HE},PaymentGatewayContext:function(){return Vn},PaymentRefused:function(){return Hg},ProfilePasswordIcon:function(){return HO},ProfileUserIcon:function(){return HS},ProfileUserPinAddress:function(){return Hj},Providers:function(){return Vg},PurchaseLimitModal:function(){return Hb},QRCodeIcon:function(){return WR},QuantityBadge:function(){return He},RECAPTCHA_ACTIONS:function(){return dd},RECAPTCHA_CONFIG:function(){return df},RecaptchaV2:function(){return Ls},RecoverConfirmation:function(){return AV},RefundMoney:function(){return HU},Return:function(){return HA},RoundCalendar:function(){return HF},RoundCheck:function(){return HR},RoundEmail:function(){return H$},RoundSuccess:function(){return WF},RoundTicket:function(){return WT},SYSTEM_COLORS:function(){return Vu},SearchInput:function(){return IS},SearchStructuredData:function(){return yf},SessionButton:function(){return Hn},SessionsCalendar:function(){return WA},SomethingUnplannedHappenedIcon:function(){return H_},Spinner:function(){return I9},StaticPageContent:function(){return Hd},SuccessIcon:function(){return HH},ThemeContext:function(){return Oj},ThemeProvider:function(){return Vh},Ticket:function(){return ON},TicketAppIcon:function(){return HC},TicketContext:function(){return E3},TicketExhibit:function(){return HL},TicketIcon:function(){return Hk},TicketProvider:function(){return E5},TransferSuccess:function(){return HP},TwoFactorModal:function(){return Hc},UnavailableTicket:function(){return HW},ViewPassword:function(){return Az},Warning:function(){return Hy},WhitelabelProvider:function(){return K},acceptBulkTicketTransfers:function(){return by},alphanumeric:function(){return h7},areSameEmail:function(){return h0},authSocialProvider:function(){return hF},authSocialProviderCallback:function(){return hR},authToken:function(){return hN},buildS3NewEventsUrl:function(){return W},cancelBulkTicketTransfers:function(){return bv},checkTicketAvailability:function(){return be},clearAuthCookies:function(){return hO},confirmCourtesyRedemption:function(){return Ez},courtesyRedemptionSchema:function(){return Vy},courtesyTwoFactorSchema:function(){return Vx},createBulkTicketTransfer:function(){return bp},createSlug:function(){return yw},createTicketTransfer:function(){return bf},createUser:function(){return hI},dataLayerEvent:function(){return v7},detectOS:function(){return yU},documentMask:function(){return h4},documentValidation:function(){return h5},downloadTicket:function(){return bL},encodeTicketDownloadToken:function(){return yT},errorHandler:function(){return mb},extractCleanDomain:function(){return I},extractGmtOffset:function(){return vo},extractOffsetMinutes:function(){return vl},fetchNewEventsForSSR:function(){return Y},fetchWhitelabelConfig:function(){return U},filterEventsByState:function(){return hQ},filterSitemapUrls:function(){return yI},formatBrazilianPhone:function(){return yE},formatCPF:function(){return yx},formatCapitalizedDate:function(){return vn},formatDate:function(){return vr},formatEventDescription:function(){return v8},formatLongSessionDate:function(){return va},formatMoney:function(){return vd},formatSessionDate:function(){return vs},formatSessionTimeRange:function(){return vi},formattedDays:function(){return vu},gaTags:function(){return v0},genderOptions:function(){return dc},generateCSSVariables:function(){return Vd},generateNewOrder:function(){return y8},generateTicketKey:function(){return yA},getActiveSlug:function(){return y4},getAuthCookies:function(){return h_},getCategoryIcon:function(){return hX},getCountryDialCode:function(){return yF},getCourtesyByToken:function(){return E$},getCourtesyRedemptionErrorCode:function(){return EH},getEvent:function(){return y5},getEventStatus:function(){return yc},getEventTickets:function(){return y7},getEvents:function(){return y2},getIPLocation:function(){return ba},getImageFromUrl:function(){return vf},getMessagesByCurrentLocale:function(){return hG},getMessagesStaticProps:function(){return hY},getMyCourtesies:function(){return bS},getMyOrders:function(){return EP},getMyTickets:function(){return b_},getPendingCourtesyCodes:function(){return bj},getPlatformByOs:function(){return yq},getQueueIt:function(){return br}
16,getSentBatchItems:function(){return bg},getSentTicketTransfers:function(){return bm},getSessionTicketsCart:function(){return y6},getStateAbbreviation:function(){return v9},getStewardEvents:function(){return y9},getTemporarySeatObjects:function(){return bo},getTransferableTickets:function(){return bO},getTranslationKey:function(){return da},getUserMe:function(){return hz},getUserPurchases:function(){return bt},getWhitelabelConfigForHost:function(){return G},getZipCode:function(){return bA},handleCheckoutError:function(){return mw},hasCompleteRegistration:function(){return yP},init:function(){return yL},isAuthError:function(){return EW},isInZigApp:function(){return h3},isIpAddress:function(){return D},isMobile:function(){return yG},isRateLimited:function(){return EB},isValidEmail:function(){return h1},isValidUrl:function(){return h2},loggerService:function(){return ET},manageSDKScript:function(){return yW},normalizeDomainForConfig:function(){return H},numeric:function(){return h6},pageView:function(){return yM},paymentTypeDictionary:function(){return dh},purchaseLimitValidation:function(){return yR},recoverPassword:function(){return hB},redeemCourtesy:function(){return ED},refreshToken:function(){return h$},rejectBulkTicketTransfers:function(){return bb},removeSDKScripts:function(){return yB},renderStrongText:function(){return yV},requestPasswordTwoFactor:function(){return bk},requestProfileTwoFactor:function(){return bE},requestRefund:function(){return bn},requestTransferTwoFactor:function(){return bw},resendCourtesyOtp:function(){return EI},resetPassword:function(){return hW},sanitizeInternalPath:function(){return yY},saveAuthToken:function(){return hS},saveAuthUser:function(){return hj},saveUserLocale:function(){return yg},sendGAEvent:function(){return v3},sendGTagEvent:function(){return v6},setHoldTokenExpiration:function(){return bl},shouldIndexPage:function(){return yD},shouldNoIndexByEnvironment:function(){return yz},shouldSkipWhitelabelInit:function(){return B},sortByStartDate:function(){return hK},sponsorCategory:function(){return dr},stateNames:function(){return di},statusCode:function(){return dl},strings:function(){return ds},temporaryReserveSeats:function(){return bi},track:function(){return y_},trackCustom:function(){return yj},trackSingle:function(){return yS},trackSingleCustom:function(){return yO},transformStateName:function(){return hZ},updateTicketTransfer:function(){return bh},updateUser:function(){return hH},updateUserLanguage:function(){return hV},updateUserPassword:function(){return hU},useAdjustFooterMargin:function(){return cJ},useAuth:function(){return yQ},useBulkTransferForm:function(){return jc},useBulkTransferSelection:function(){return jf},useCheckTicketAvailability:function(){return jF},useCheckout:function(){return jA},useCheckoutTwoFactor:function(){return jG},useCountdown:function(){return jC},useCourtesyRedemption:function(){return jK},useCourtesyTwoFactor:function(){return jQ},useCourtesyTwoFactorResend:function(){return jX},useCourtesyValidation:function(){return jZ},useDeadlineCountdown:function(){return j1},useDeviceType:function(){return _Y},useDisclosure:function(){return yX},useDiscount:function(){return jS},useEvent:function(){return jT},useEventTickets:function(){return EU},useFormWithZod:function(){return ji},useGlobalData:function(){return y0},useIsInZigApp:function(){return jP},useIsZigWhitelabel:function(){return jB},useLoading:function(){return kh},useLocation:function(){return EZ},useManualTicketQuantity:function(){return j$},useMyCourtesies:function(){return jU},useMyEvents:function(){return jN},useMyOrders:function(){return jY},useMyTickets:function(){return jV},useNextRouter:function(){return jW},useNominalTransfer:function(){return jh},useNominalTransferForm:function(){return jm},usePagination:function(){return kl},usePasswordVisibility:function(){return js},usePendingCourtesies:function(){return jq},usePreferences:function(){return kc},useQueueIt:function(){return jD},useRecaptchaEnterprise:function(){return jI},useRedirectToZigApp:function(){return jH},useRequestRefund:function(){return jz},useResetPasswordForm:function(){return jM},useScroll:function(){return EK},useSearch:function(){return ki},useSendToCheckout:function(){return jj},useTheme:function(){return OO},useTickets:function(){return E4},useTwoFactor:function(){return _1},useUpdateAccountForm:function(){return _2}
16,useUpdatePassword:function(){return _3},useUpdatePasswordForm:function(){return jl},useWhitelabel:function(){return Q},useZendesk:function(){return jb},userCookiesKeys:function(){return du},validatePasswordTwoFactor:function(){return bM},validateProfileTwoFactor:function(){return bC},validateTransferTwoFactor:function(){return bx}});var M=n(59065),_=n(56171),S=n(45835),j=n(3517),O=n(40813),L=n(11774),A=n(85409),T=n(51442).Buffer,P="u">typeof globalThis?globalThis:"u">typeof window?window:"u">typeof n.g?n.g:"u">typeof self?self:{};function N(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var F={exports:{}},R={};F.exports=function(){if(tE)return R;tE=1;var e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(t,l,s){var u,c={},d=null,f=null;for(u in void 0!==s&&(d=""+s),void 0!==l.key&&(d=""+l.key),void 0!==l.ref&&(f=l.ref),l)n.call(l,u)&&!i.hasOwnProperty(u)&&(c[u]=l[u]);if(t&&t.defaultProps)for(u in l=t.defaultProps)void 0===c[u]&&(c[u]=l[u]);return{$$typeof:e,type:t,key:d,ref:f,props:c,_owner:o.current}}return R.Fragment=t,R.jsx=l,R.jsxs=l,R}();var $=F.exports;function D(e){return!!e&&(/^(\d{1,3}\.){3}\d{1,3}$/.test(e)?e.split(".").every(e=>{let t=parseInt(e,10);return t>=0&&t<=255}):!!/^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$|^::1$|^::$/.test(e))}let z={generated_at:"",events:[],categories:[],middle_highlights:[],middle_highlights_by_state:{},top_highlights:[],states:[]};function I(e){try{return e.replace(/^https?:\/\//,"").replace(/^www\./,"").split(":")[0].split("/")[0].split("?")[0].trim()}catch{return e}}function H(e){return"localhost"===e||"127.0.0.1"===e||"m-marketplace.dev.zig.tickets"===e?"marketplace.dev.zig.tickets":e}function B(e,t,n,o){let i=t||I(e);return!e||""===e.trim()||!i||""===i||"4500"===o||n&&n.includes(":4500")||D(e)}function W(e){return e?.resources?.newEvents||"https://zigtickets-stg-static-zig-tickets.s3.us-east-1.amazonaws.com/domains/marketplace.whitelabel.zig.tickets/new-events.json"}async function U(e){try{if(!e||""===e.trim()||"http"===e||"https"===e)return null;let t=I(e);if(!t||""===t.trim()||"http"===t||"https"===t)return null;let n=`https://zigtickets-static-zig-tickets.s3.us-east-1.amazonaws.com/domains/${t}/config.json`,o=await fetch(n,{method:"GET",headers:{"Content-Type":"application/json"},cache:"no-store"});return o.ok?await o.json():null}catch(t){return console.error(`Error fetching whitelabel config for ${e}:`,t),null}}let q=new Map;async function G(e){let t=I(e);if(B(e,t,e))return null;let n=H(t),o=q.get(n);if(o&&o.expiresAt>Date.now())return o.config;let i=await U(n);return q.set(n,{config:i,expiresAt:Date.now()+3e5}),i}async function Y(e){try{let t=I(e);if(B(e,t,e))return z;let n=H(t),o=await U(n);if(!o)return z;let i=W(o),l=await fetch(i,{cache:"no-store"});return l.ok?await l.json():z}catch(e){return console.error("[SSR] Error fetching new events:",e),z}}let Z=(0,M.createContext)(void 0);function K({children:e,initialConfig:t=null}){let[n,o]=(0,M.useState)(t),[i,l]=(0,M.useState)(null),[s,u]=(0,M.useState)(!t),[c,d]=(0,M.useState)(null);(0,M.useEffect)(()=>{(async()=>{try{d(null);let e=t;if(!e){u(!0);let t=window.location.hostname,n=window.location.href,i=I(n);if(B(t,i,n,window.location.port)){l(z),u(!1);return}let s=H(t);if(!(e=await U(s)))throw Error(`Whitelabel config not found for domain: ${s}`);o(e)}let n=W(e),i=await fetch(n);if(!i.ok)throw Error(`Failed to fetch new events: ${i.statusText}`);let s=await i.json();l(s)}catch(e){console.error("[WhitelabelContext] Initialization error:",e),d(e instanceof Error?e:Error("Failed to initialize whitelabel")),l(z)}finally{u(!1)}})()},[]);let f=(0,M.useMemo)(()=>i||z,[i]),h=(0,M.useMemo)(()=>({config:n,newEvents:f,siteName:n?.siteName??"Zig",isLoading:s,error:c}),[n,f,s,c]);return $.jsx(Z.Provider,{value:h,children:e})}function Q(){let e=(0,M.useContext)(Z);if(void 0===e)throw Error("useWhitelabel must be used within a WhitelabelProvider");return e}var X={exports:{}},J={};
16X.exports=function(){if(tC)return J;tC=1;var e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,o=M.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function l(t,l,s){var u,c={},d=null,f=null;for(u in void 0!==s&&(d=""+s),void 0!==l.key&&(d=""+l.key),void 0!==l.ref&&(f=l.ref),l)n.call(l,u)&&!i.hasOwnProperty(u)&&(c[u]=l[u]);if(t&&t.defaultProps)for(u in l=t.defaultProps)void 0===c[u]&&(c[u]=l[u]);return{$$typeof:e,type:t,key:d,ref:f,props:c,_owner:o.current}}return J.Fragment=t,J.jsx=l,J.jsxs=l,J}();var ee=X.exports;function et(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function er(...e){return t=>{let n=!1,o=e.map(e=>{let o=et(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t<o.length;t++){let n=o[t];"function"==typeof n?n():et(e[t],null)}}}}function en(...e){return M.useCallback(er(...e),e)}var ea=Symbol.for("react.lazy"),eo=(tx||(tx=n.t(M,2)))[" use ".trim().toString()];function ei(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===ea&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function el(e){let t=function(e){let t=M.forwardRef((e,t)=>{let{children:n,...o}=e;if(ei(n)&&"function"==typeof eo&&(n=eo(n._payload)),M.isValidElement(n)){var i,l,s;let e,u;let c=(e=null==(l=Object.getOwnPropertyDescriptor((i=n).props,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning?i.ref:(e=null==(s=Object.getOwnPropertyDescriptor(i,"ref"))?void 0:s.get)&&"isReactWarning"in e&&e.isReactWarning?i.props.ref:i.props.ref||i.ref,d=function(e,t){let n={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?n[o]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(n[o]=i):"style"===o?n[o]={...i,...l}:"className"===o&&(n[o]=[i,l].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==M.Fragment&&(d.ref=t?er(t,c):c),M.cloneElement(n,d)}return M.Children.count(n)>1?M.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=M.forwardRef((e,n)=>{let{children:o,...i}=e;ei(o)&&"function"==typeof eo&&(o=eo(o._payload));let l=M.Children.toArray(o),s=l.find(ed);if(s){let e=s.props.children,o=l.map(t=>t===s?M.Children.count(e)>1?M.Children.only(null):M.isValidElement(e)?e.props.children:null:t);return ee.jsx(t,{...i,ref:n,children:M.isValidElement(e)?M.cloneElement(e,void 0,o):null})}return ee.jsx(t,{...i,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}var es=el("Slot"),eu=Symbol("radix.slottable"),ec=function(e){let t=({children:e})=>ee.jsx(ee.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=eu,t}("Slottable");function ed(e){return M.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===eu}function ef(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(o=e(t[n]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o)}return i}(e))&&(o&&(o+=" "),o+=t);return o}let eh=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,ep=(e,t)=>n=>{var o;if(t?.variants==null)return ef(e,n?.class,n?.className);let{variants:i,defaultVariants:l}=t,s=Object.keys(i).map(e=>{let t=n?.[e],o=l?.[e];if(null===t)return null;let s=eh(t)||eh(o);return i[e][s]}),u=n&&Object.entries(n).reduce((e,t)=>{let[n,o]=t;return void 0===o||(e[n]=o),e},{});return ef(e,s,null==t||null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:o,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...l,...u}[t]):({...l,...u})[t]===n})?[...e,n,o]:e},[]),n?.class,n?.className)},em=e=>{let t=eb(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:e=>{let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),eg(n,t)||ey(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&o[e]?[...i,...o[e]]:i}}},eg=(e,t)=>{var n;if(0===e.length)return t.classGroupId;let o=e[0],i=t.nextPart.get(o),l=i?eg(e.slice(1),i):void 0;if(l)return l;if(0===t.validators.length)return;let s=e.join("-");return null==(n=t.validators.find(({validator:e})=>e(s)))?void 0:n.classGroupId},ev=/^\[(.+)\]$/,ey=e=>{if(ev.test(e)){let t=ev.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},eb=e=>{let{theme:t,prefix:n}=e,o={nextPart:new Map,validators:[]};
16return eC(Object.entries(e.classGroups),n).forEach(([e,n])=>{ew(n,o,e,t)}),o},ew=(e,t,n,o)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:ex(t,e)).classGroupId=n;return}if("function"==typeof e){if(eE(e)){ew(e(o),t,n,o);return}t.validators.push({validator:e,classGroupId:n});return}Object.entries(e).forEach(([e,i])=>{ew(i,ex(t,e),n,o)})})},ex=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},eE=e=>e.isThemeGetter,eC=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,ek=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map,i=(i,l)=>{n.set(i,l),++t>e&&(t=0,o=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=o.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}},eM=e=>{let{separator:t,experimentalParseClassName:n}=e,o=1===t.length,i=t[0],l=t.length,s=e=>{let n=[],s=0,u=0,c;for(let d=0;d<e.length;d++){let f=e[d];if(0===s){if(f===i&&(o||e.slice(d,d+l)===t)){n.push(e.slice(u,d)),u=d+l;continue}if("/"===f){c=d;continue}}"["===f?s++:"]"===f&&s--}let d=0===n.length?e:e.substring(u),f=d.startsWith("!"),h=f?d.substring(1):d;return{modifiers:n,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:c&&c>u?c-u:void 0}};return n?e=>n({className:e,parseClassName:s}):s},e_=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},eS=e=>({cache:ek(e.cacheSize),parseClassName:eM(e),...em(e)}),ej=/\s+/,eO=(e,t)=>{let{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:i}=t,l=[],s=e.trim().split(ej),u="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(t),p=!!h,m=o(p?f.substring(0,h):f);if(!m){if(!p||!(m=o(f))){u=t+(u.length>0?" "+u:u);continue}p=!1}let g=e_(c).join(":"),v=d?g+"!":g,y=v+m;if(l.includes(y))continue;l.push(y);let b=i(m,p);for(let e=0;e<b.length;++e){let t=b[e];l.push(v+t)}u=t+(u.length>0?" "+u:u)}return u};function eL(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=eA(t))&&(o&&(o+=" "),o+=n);return o}let eA=e=>{if("string"==typeof e)return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=eA(e[o]))&&(n&&(n+=" "),n+=t);return n},eT=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},eP=/^\[(?:([a-z-]+):)?(.+)\]$/i,eN=/^\d+\/\d+$/,eF=new Set(["px","full","screen"]),eR=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,e$=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,eD=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ez=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eI=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,eH=e=>eW(e)||eF.has(e)||eN.test(e),eB=e=>e2(e,"length",e3),eW=e=>!!e&&!Number.isNaN(Number(e)),eV=e=>e2(e,"number",eW),eU=e=>!!e&&Number.isInteger(Number(e)),eq=e=>e.endsWith("%")&&eW(e.slice(0,-1)),eG=e=>eP.test(e),eY=e=>eR.test(e),eZ=new Set(["length","size","percentage"]),eK=e=>e2(e,eZ,e5),eQ=e=>e2(e,"position",e5),eX=new Set(["image","url"]),eJ=e=>e2(e,eX,e6),e1=e=>e2(e,"",e4),e0=()=>!0,e2=(e,t,n)=>{let o=eP.exec(e);return!!o&&(o[1]?"string"==typeof t?o[1]===t:t.has(o[1]):n(o[2]))},e3=e=>e$.test(e)&&!eD.test(e),e5=()=>!1,e4=e=>ez.test(e),e6=e=>eI.test(e),e7=function(e,...t){let n,o,i,l=function(u){return o=(n=eS(t.reduce((e,t)=>t(e),e()))).cache.get,i=n.cache.set,l=s,s(u)};function s(e){let t=o(e);if(t)return t;let l=eO(e,n);return i(e,l),l}return function(){return l(eL.apply(null,arguments))}}(()=>{let e=eT("colors"),t=eT("spacing"),n=eT("blur"),o=eT("brightness"),i=eT("borderColor"),l=eT("borderRadius"),s=eT("borderSpacing"),u=eT("borderWidth"),c=eT("contrast"),d=eT("grayscale"),f=eT("hueRotate"),h=eT("invert"),p=eT("gap"),m=eT("gradientColorStops"),g=eT("gradientColorStopPositions"),v=eT("inset"),y=eT("margin"),b=eT("opacity"),w=eT("padding"),x=eT("saturate"),E=eT("scale"),C=eT("sepia"),k=eT("skew"),M=eT("space"),_=eT("translate"),S=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto",eG,t],L=()=>[eG,t],A=()=>["",eH,eB],T=()=>["auto",eW,eG],P=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],N=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>["start","end","center","between","around","evenly","stretch"],$=()=>["","0",eG],D=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[eW,eG];return{cacheSize:500,separator:":",theme:{colors:[e0],spacing:[eH,eB],blur:["none","",eY,eG],brightness:z(),borderColor:[e],borderRadius:["n
16one","","full",eY,eG],borderSpacing:L(),borderWidth:A(),contrast:z(),grayscale:$(),hueRotate:z(),invert:$(),gap:L(),gradientColorStops:[e],gradientColorStopPositions:[eq,eB],inset:O(),margin:O(),opacity:z(),padding:L(),saturate:z(),scale:z(),sepia:$(),skew:z(),space:L(),translate:L()},classGroups:{aspect:[{aspect:["auto","square","video",eG]}],container:["container"],columns:[{columns:[eY]}],"break-after":[{"break-after":D()}],"break-before":[{"break-before":D()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...P(),eG]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",eU,eG]}],basis:[{basis:O()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",eG]}],grow:[{grow:$()}],shrink:[{shrink:$()}],order:[{order:["first","last","none",eU,eG]}],"grid-cols":[{"grid-cols":[e0]}],"col-start-end":[{col:["auto",{span:["full",eU,eG]},eG]}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":[e0]}],"row-start-end":[{row:["auto",{span:[eU,eG]},eG]}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",eG]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",eG]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...R()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...R(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...R(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",eG,t]}],"min-w":[{"min-w":[eG,t,"min","max","fit"]}],"max-w":[{"max-w":[eG,t,"none","full","min","max","fit","prose",{screen:[eY]},eY]}],h:[{h:[eG,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[eG,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[eG,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[eG,t,"auto","min","max","fit"]}],"font-size":[{text:["base",eY,eB]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",eV]}],"font-family":[{font:[e0]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",eG]}],"line-clamp":[{"line-clamp":["none",eW,eV]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",eH,eG]}],"list-image":[{"list-image":["none",eG]}],"list-style-type":[{list:["none","disc","decimal",eG]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...N(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",eH,eB]}],"underline-offset":[{"underline-offset":["auto",eH,eG]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eG]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",eG]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...P(),eQ]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",eK]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},eJ]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[g]}
vendor: 5,180 bytes, line 16
16],"gradient-via-pos":[{via:[g]}],"gradient-to-pos":[{to:[g]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[u]}],"border-w-x":[{"border-x":[u]}],"border-w-y":[{"border-y":[u]}],"border-w-s":[{"border-s":[u]}],"border-w-e":[{"border-e":[u]}],"border-w-t":[{"border-t":[u]}],"border-w-r":[{"border-r":[u]}],"border-w-b":[{"border-b":[u]}],"border-w-l":[{"border-l":[u]}],"border-opacity":[{"border-opacity":[b]}],"border-style":[{border:[...N(),"hidden"]}],"divide-x":[{"divide-x":[u]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[u]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[b]}],"divide-style":[{divide:N()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...N()]}],"outline-offset":[{"outline-offset":[eH,eG]}],"outline-w":[{outline:[eH,eB]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:A()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[eH,eB]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",eY,e1]}],"shadow-color":[{shadow:[e0]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[o]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",eY,eG]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[h]}],saturate:[{saturate:[x]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",eG]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",eG]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",eG]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[eU,eG]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",eG]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",eG]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
16],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eG]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[eH,eB,eV]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function e8(...e){return e7(ef(e))}let e9=ep(["flex","items-center","justify-center","gap-2x","rounded-sm","disabled:bg-grey-400","disabled:text-grey-600","transition-colors","duration-300","relative","overflow-hidden","disabled:cursor-not-allowed","focus-visible:outline-none"],{variants:{variant:{primary:["bg-primary-light","text-white","hover:bg-primary-pure","active:bg-primary-dark"],secondary:["border","text-grey-900","hover:bg-grey-100","active:bg-grey-200","disabled:border-grey-500","disabled:text-grey-700"],ghost:["text-grey-900","hover:bg-grey-100","active:bg-grey-200","disabled:text-grey-700"],"secondary-ghost":["text-grey-900","hover:bg-grey-100","active:bg-grey-200","disabled:text-grey-700","border","border-grey-400"],destructive:["bg-red-500","text-white","hover:bg-red-700","active:bg-red-800"],text:["text-primary-light"," hover:underline","hover:text-primary-pure","disabled:text-grey-700"]},size:{small:["h-7","py-1x","px-2x","label-sm"],medium:["h-10","py-2x","px-4x","label-md"],large:["h-14","py-4x","px-6x","label-md"]}},defaultVariants:{variant:"primary",size:"medium"}}),te=ep(["absolute","w-full","h-full","flex","justify-center","items-center"],{variants:{variant:{primary:["bg-primary-light","text-white"],secondary:["bg-grey-100"],ghost:["bg-grey-100"],"secondary-ghost":["bg-grey-100"],destructive:["bg-red-500"],text:["bg-white"]}},defaultVariants:{variant:"primary"}}),tt=(0,M.forwardRef)(({children:e,leadingIcon:t,trailingIcon:n,variant:o,size:i,className:l,asChild:s=!1,isLoading:u=!1,...c},d)=>{let f=s?es:"button";return ee.jsxs(f,{type:"button",className:e8(e9({variant:o,size:i,className:l})),ref:d,disabled:u||c.disabled,...c,children:[t,ee.jsx(ec,{children:e}),n,u&&ee.jsx("div",{className:e8(te({variant:o})),children:ee.jsx("div",{className:e8({"size-3x":"small"===i},{"size-4x":"small"!==i},"animate-spin rounded-full border-2 border-solid border-current border-e-transparent align-[-0.125em]")})})]})});tt.defaultProps={leadingIcon:void 0,trailingIcon:void 0,className:void 0,asChild:!1,isLoading:!1};var tr=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
16{let n=el(`Primitive.${t}`),o=M.forwardRef((e,o)=>{let{asChild:i,...l}=e,s=i?n:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),ee.jsx(s,{...l,ref:o})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{}),tn="horizontal",ta=["horizontal","vertical"],to=M.forwardRef((e,t)=>{let{decorative:n,orientation:o=tn,...i}=e,l=ta.includes(o)?o:tn,s=n?{role:"none"}:{"aria-orientation":"vertical"===l?l:void 0,role:"separator"};return ee.jsx(tr.div,{"data-orientation":l,...s,...i,ref:t})});function ti({className:e,hasTextInBetween:t=!1,text:n=null,...o}){return t&&n?ee.jsxs("div",{className:e8("flex items-center",e),children:[ee.jsx(to,{className:e8("flex-1 h-[1px] bg-grey-300"),...o}),ee.jsx("span",{className:"mx-2 text-grey-600",children:n}),ee.jsx(to,{className:e8("flex-1 h-[1px] bg-grey-300"),...o})]}):ee.jsx(to,{className:e8("h-[1px] bg-grey-300",e),...o})}function tl(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e?.(o),!1===n||!o.defaultPrevented)return t?.(o)}}function ts(e,t=[]){let n=[],o=()=>{let t=n.map(e=>M.createContext(e));return function(n){let o=n?.[e]||t;return M.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){let i=M.createContext(o),l=n.length;n=[...n,o];let s=t=>{var n;let{scope:o,children:s,...u}=t,c=(null==(n=o?.[e])?void 0:n[l])||i,d=M.useMemo(()=>u,Object.values(u));return ee.jsx(c.Provider,{value:d,children:s})};return s.displayName=t+"Provider",[s,function(n,s){var u;let c=(null==(u=s?.[e])?void 0:u[l])||i,d=M.useContext(c);if(d)return d;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:o})=>{let i=n(e)[`__scope${o}`];return{...t,...i}},{});return M.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(o,...t)]}to.displayName="Separator";var tu=null!=globalThis&&globalThis.document?M.useLayoutEffect:()=>{},tc=(tx||(tx=n.t(M,2)))[" useInsertionEffect ".trim().toString()]||tu;function td({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){let[i,l,s]=function({defaultProp:e,onChange:t}){let[n,o]=M.useState(e),i=M.useRef(n),l=M.useRef(t);return tc(()=>{l.current=t},[t]),M.useEffect(()=>{var e;i.current!==n&&(null==(e=l.current)||e.call(l,n),i.current=n)},[n,i]),[n,o,l]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:i;{let t=M.useRef(void 0!==e);M.useEffect(()=>{let e=t.current;e!==u&&console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${u?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=u},[u,o])}return[c,M.useCallback(t=>{var n;if(u){let o="function"==typeof t?t(e):t;o!==e&&(null==(n=s.current)||n.call(s,o))}else l(t)},[u,e,l,s])]}function tf(e){let t=function(e){let t=M.forwardRef((e,t)=>{let{children:n,...o}=e;if(M.isValidElement(n)){var i,l;let e,s;let u=(e=null==(i=Object.getOwnPropertyDescriptor(n.props,"ref"))?void 0:i.get)&&"isReactWarning"in e&&e.isReactWarning?n.ref:(e=null==(l=Object.getOwnPropertyDescriptor(n,"ref"))?void 0:l.get)&&"isReactWarning"in e&&e.isReactWarning?n.props.ref:n.props.ref||n.ref,c=function(e,t){let n={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?n[o]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(n[o]=i):"style"===o?n[o]={...i,...l}:"className"===o&&(n[o]=[i,l].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==M.Fragment&&(c.ref=t?er(t,u):u),M.cloneElement(n,c)}return M.Children.count(n)>1?M.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=M.forwardRef((e,n)=>{let{children:o,...i}=e,l=M.Children.toArray(o),s=l.find(tp);if(s){let e=s.props.children,o=l.map(t=>t===s?M.Children.count(e)>1?M.Children.only(null):M.isValidElement(e)?e.props.children:null:t);return ee.jsx(t,{...i,ref:n,children:M.isValidElement(e)?M.cloneElement(e,void 0,o):null})}return ee.jsx(t,{...i,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}var th=Symbol("radix.slottable");function tp(e){return M.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===th}var tm=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
16{let n=tf(`Primitive.${t}`),o=M.forwardRef((e,o)=>{let{asChild:i,...l}=e,s=i?n:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),ee.jsx(s,{...l,ref:o})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function tg(e,t){e&&j.flushSync(()=>e.dispatchEvent(t))}function tv(e){let t=e+"CollectionProvider",[n,o]=ts(t),[i,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=e=>{let{scope:t,children:n}=e,o=M.useRef(null),l=M.useRef(new Map).current;return ee.jsx(i,{scope:t,itemMap:l,collectionRef:o,children:n})};s.displayName=t;let u=e+"CollectionSlot",c=tf(u),d=M.forwardRef((e,t)=>{let{scope:n,children:o}=e,i=en(t,l(u,n).collectionRef);return ee.jsx(c,{ref:i,children:o})});d.displayName=u;let f=e+"CollectionItemSlot",h="data-radix-collection-item",p=tf(f),m=M.forwardRef((e,t)=>{let{scope:n,children:o,...i}=e,s=M.useRef(null),u=en(t,s),c=l(f,n);return M.useEffect(()=>(c.itemMap.set(s,{ref:s,...i}),()=>void c.itemMap.delete(s))),ee.jsx(p,{[h]:"",ref:u,children:o})});return m.displayName=f,[{Provider:s,Slot:d,ItemSlot:m},function(t){let n=l(e+"CollectionConsumer",t);return M.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${h}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},o]}var ty=M.createContext(void 0);function tb(e){let t=M.useContext(ty);return e||t||"ltr"}function tw(e){let t=M.useRef(e);return M.useEffect(()=>{t.current=e}),M.useMemo(()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}var tx,tE,tC,tk,tM="dismissableLayer.update",t_=M.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),tS=M.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:s,onDismiss:u,...c}=e,d=M.useContext(t_),[f,h]=M.useState(null),p=f?.ownerDocument??globalThis?.document,[,m]=M.useState({}),g=en(t,e=>h(e)),v=Array.from(d.layers),[y]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),b=v.indexOf(y),w=f?v.indexOf(f):-1,x=d.layersWithOutsidePointerEventsDisabled.size>0,E=w>=b,C=function(e,t=globalThis?.document){let n=tw(e),o=M.useRef(!1),i=M.useRef(()=>{});return M.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let o=function(){tO("dismissableLayer.pointerDownOutside",n,l,{discrete:!0})},l={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",i.current),i.current=o,t.addEventListener("click",i.current,{once:!0})):o()}else t.removeEventListener("click",i.current);o.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",e),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...d.branches].some(e=>e.contains(t));!E||n||(i?.(e),s?.(e),e.defaultPrevented||null==u||u())},p),k=function(e,t=globalThis?.document){let n=tw(e),o=M.useRef(!1);return M.useEffect(()=>{let e=e=>{e.target&&!o.current&&tO("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...d.branches].some(e=>e.contains(t))||(l?.(e),s?.(e),e.defaultPrevented||null==u||u())},p);return function(e,t=globalThis?.document){let n=tw(e);M.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{w===d.layers.size-1&&(o?.(e),!e.defaultPrevented&&u&&(e.preventDefault(),u()))},p),M.useEffect(()=>{if(f)return n&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(tk=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(f)),d.layers.add(f),tj(),()=>{n&&1===d.layersWithOutsidePointerEventsDisabled.size&&(p.body.style.pointerEvents=tk)}},[f,p,n,d]),M.useEffect(()=>()=>{f&&(d.layers.delete(f),d.layersWithOutsidePointerEventsDisabled.delete(f),tj())},[f,d]),M.useEffect(()=>{let e=()=>m({});return document.addEventListener(tM,e),()=>document.removeEventListener(tM,e)},[]),ee.jsx(tm.div,{...c,ref:g,style:{pointerEvents:x?E?"auto":"none":void 0,...e.style},onFocusCapture:tl(e.onFocusCapture,k.onFocusCapture),onBlurCapture:tl(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:tl(e.onPointerDownCapture,C.onPointerDownCapture)})});function tj(){let e=new CustomEvent(tM);document.dispatchEvent(e)}function tO(e,t,n,{discrete:o}){let i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?tg(i,l):i.dispatchEvent(l)}tS.displayName="DismissableLayer",M.forwardRef((e,t)=>
16{let n=M.useContext(t_),o=M.useRef(null),i=en(t,o);return M.useEffect(()=>{let e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),ee.jsx(tm.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var tL=0;function tA(){M.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??tT()),document.body.insertAdjacentElement("beforeend",e[1]??tT()),tL++,()=>{1===tL&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),tL--}},[])}function tT(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var tP="focusScope.autoFocusOnMount",tN="focusScope.autoFocusOnUnmount",tF={bubbles:!1,cancelable:!0},tR=M.forwardRef((e,t)=>{let{loop:n=!1,trapped:o=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...s}=e,[u,c]=M.useState(null),d=tw(i),f=tw(l),h=M.useRef(null),p=en(t,e=>c(e)),m=M.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;M.useEffect(()=>{if(o){let e=function(e){if(m.paused||!u)return;let t=e.target;u.contains(t)?h.current=t:tz(h.current,{select:!0})},t=function(e){if(m.paused||!u)return;let t=e.relatedTarget;null!==t&&(u.contains(t)||tz(h.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&tz(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[o,u,m.paused]),M.useEffect(()=>{if(u){tI.add(m);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(tP,tF);u.addEventListener(tP,d),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let o of e)if(tz(o,{select:t}),document.activeElement!==n)return}(t$(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&tz(u))}return()=>{u.removeEventListener(tP,d),setTimeout(()=>{let t=new CustomEvent(tN,tF);u.addEventListener(tN,f),u.dispatchEvent(t),t.defaultPrevented||tz(e??document.body,{select:!0}),u.removeEventListener(tN,f),tI.remove(m)},0)}}},[u,d,f,m]);let g=M.useCallback(e=>{if(!n&&!o||m.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[o,l]=function(e){let t=t$(e);return[tD(t,e),tD(t.reverse(),e)]}(t);o&&l?e.shiftKey||i!==l?e.shiftKey&&i===o&&(e.preventDefault(),n&&tz(l,{select:!0})):(e.preventDefault(),n&&tz(o,{select:!0})):i===t&&e.preventDefault()}},[n,o,m.paused]);return ee.jsx(tm.div,{tabIndex:-1,...s,ref:p,onKeyDown:g})});function t$(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let 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 tD(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function tz(e,{select:t=!1}={}){if(e&&e.focus){var n;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}tR.displayName="FocusScope";var tI=(k=[],{add(e){let t=k[0];e!==t&&t?.pause(),(k=tH(k,e)).unshift(e)},remove(e){var t;null==(t=(k=tH(k,e))[0])||t.resume()}});function tH(e,t){let n=[...e],o=n.indexOf(t);return -1!==o&&n.splice(o,1),n}let tB=["top","right","bottom","left"],tW=Math.min,tV=Math.max,tU=Math.round,tq=Math.floor,tG=e=>({x:e,y:e}),tY={left:"right",right:"left",bottom:"top",top:"bottom"},tZ={start:"end",end:"start"};function tK(e,t){return"function"==typeof e?e(t):e}function tQ(e){return e.split("-")[0]}function tX(e){return e.split("-")[1]}function tJ(e){return"x"===e?"y":"x"}function t1(e){return"y"===e?"height":"width"}let t0=new Set(["top","bottom"]);function t2(e){return t0.has(tQ(e))?"y":"x"}function t3(e){return e.replace(/start|end/g,e=>tZ[e])}let t5=["left","right"],t4=["right","left"],t6=["top","bottom"],t7=["bottom","top"];function t8(e){return e.replace(/left|right|bottom|top/g,e=>tY[e])}function t9(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function re(e){let{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function rt(e,t,n){let o,{reference:i,floating:l}=e,s=t2(t),u=tJ(t2(t)),c=t1(u),d=tQ(t),f="y"===s,h=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,m=i[c]/2-l[c]/2;switch(d){case"top":o={x:h,y:i.y-l.height};break;case"bottom":o={x:h,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-l.width,y:p};break;default:o={x:i.x,y:i.y}}switch(tX(t)){case"start":o[u]-=m*(n&&f?-1:1);break;case"end":o[u]+=m*(n&&f?-1:1)}return o}let rr=async(e,t,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:l=[],platform:s}=n,u=l.filter(Boolean),c=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}
vendor: 4,440 bytes, line 16
16),{x:f,y:h}=rt(d,o,c),p=o,m={},g=0;for(let n=0;n<u.length;n++){let{name:l,fn:v}=u[n],{x:y,y:b,data:w,reset:x}=await v({x:f,y:h,initialPlacement:o,placement:p,strategy:i,middlewareData:m,rects:d,platform:s,elements:{reference:e,floating:t}});f=y??f,h=b??h,m={...m,[l]:{...m[l],...w}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(d=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:h}=rt(d,p,c)),n=-1)}return{x:f,y:h,placement:p,strategy:i,middlewareData:m}};async function rn(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:s,elements:u,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:m=0}=tK(t,e),g=t9(m),v=u[p?"floating"===h?"reference":"floating":h],y=re(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(v)))||n?v:v.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:d,rootBoundary:f,strategy:c})),b="floating"===h?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,w=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),x=await (null==l.isElement?void 0:l.isElement(w))&&await (null==l.getScale?void 0:l.getScale(w))||{x:1,y:1},E=re(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:w,strategy:c}):b);return{top:(y.top-E.top+g.top)/x.y,bottom:(E.bottom-y.bottom+g.bottom)/x.y,left:(y.left-E.left+g.left)/x.x,right:(E.right-y.right+g.right)/x.x}}function ra(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ro(e){return tB.some(t=>e[t]>=0)}let ri=new Set(["left","top"]);async function rl(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),s=tQ(n),u=tX(n),c="y"===t2(n),d=ri.has(s)?-1:1,f=l&&c?-1:1,h=tK(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof g&&(m="end"===u?-1*g:g),c?{x:m*f,y:p*d}:{x:p*d,y:m*f}}function rs(){return"u">typeof window}function ru(e){return rf(e)?(e.nodeName||"").toLowerCase():"#document"}function rc(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function rd(e){var t;return null==(t=(rf(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function rf(e){return!!rs()&&(e instanceof Node||e instanceof rc(e).Node)}function rh(e){return!!rs()&&(e instanceof Element||e instanceof rc(e).Element)}function rp(e){return!!rs()&&(e instanceof HTMLElement||e instanceof rc(e).HTMLElement)}function rm(e){return!(!rs()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof rc(e).ShadowRoot)}let rg=new Set(["inline","contents"]);function rv(e){let{overflow:t,overflowX:n,overflowY:o,display:i}=rj(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!rg.has(i)}let ry=new Set(["table","td","th"]),rb=[":popover-open",":modal"];function rw(e){return rb.some(t=>{try{return e.matches(t)}catch{return!1}})}let rx=["transform","translate","scale","rotate","perspective"],rE=["transform","translate","scale","rotate","perspective","filter"],rC=["paint","layout","strict","content"];function rk(e){let t=rM(),n=rh(e)?rj(e):e;return rx.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||rE.some(e=>(n.willChange||"").includes(e))||rC.some(e=>(n.contain||"").includes(e))}function rM(){return!(typeof CSS>"u")&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let r_=new Set(["html","body","#document"]);function rS(e){return r_.has(ru(e))}function rj(e){return rc(e).getComputedStyle(e)}function rO(e){return rh(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function rL(e){if("html"===ru(e))return e;let t=e.assignedSlot||e.parentNode||rm(e)&&e.host||rd(e);return rm(t)?t.host:t}function rA(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=rL(t);return rS(n)?t.ownerDocument?t.ownerDocument.body:t.body:rp(n)&&rv(n)?n:e(n)}(e),l=i===(null==(o=e.ownerDocument)?void 0:o.body),s=rc(i);if(l){let e=rT(s);
16return t.concat(s,s.visualViewport||[],rv(i)?i:[],e&&n?rA(e):[])}return t.concat(i,rA(i,[],n))}function rT(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function rP(e){let t=rj(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=rp(e),l=i?e.offsetWidth:n,s=i?e.offsetHeight:o,u=tU(n)!==l||tU(o)!==s;return u&&(n=l,o=s),{width:n,height:o,$:u}}function rN(e){return rh(e)?e:e.contextElement}function rF(e){let t=rN(e);if(!rp(t))return tG(1);let n=t.getBoundingClientRect(),{width:o,height:i,$:l}=rP(t),s=(l?tU(n.width):n.width)/o,u=(l?tU(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let rR=tG(0);function r$(e){let t=rc(e);return rM()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:rR}function rD(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=rN(e),u=tG(1);t&&(o?rh(o)&&(u=rF(o)):u=rF(e));let c=(void 0===(i=n)&&(i=!1),o&&(!i||o===rc(s))&&i)?r$(s):tG(0),d=(l.left+c.x)/u.x,f=(l.top+c.y)/u.y,h=l.width/u.x,p=l.height/u.y;if(s){let e=rc(s),t=o&&rh(o)?rc(o):o,n=e,i=rT(n);for(;i&&o&&t!==n;){let e=rF(i),t=i.getBoundingClientRect(),o=rj(i),l=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;d*=e.x,f*=e.y,h*=e.x,p*=e.y,d+=l,f+=s,i=rT(n=rc(i))}}return re({width:h,height:p,x:d,y:f})}function rz(e,t){let n=rO(e).scrollLeft;return t?t.left+n:rD(rd(e)).left+n}function rI(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-rz(e,n),y:n.top+t.scrollTop}}let rH=new Set(["absolute","fixed"]);function rB(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=rc(e),o=rd(e),i=n.visualViewport,l=o.clientWidth,s=o.clientHeight,u=0,c=0;if(i){l=i.width,s=i.height;let e=rM();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,c=i.offsetTop)}let d=rz(o);if(d<=0){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(o.clientWidth-t.clientWidth-i);s<=25&&(l-=s)}else d<=25&&(l+=d);return{width:l,height:s,x:u,y:c}}(e,n);else if("document"===t)o=function(e){let t=rd(e),n=rO(e),o=e.ownerDocument.body,i=tV(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=tV(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+rz(e),u=-n.scrollTop;return"rtl"===rj(o).direction&&(s+=tV(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:s,y:u}}(rd(e));else if(rh(t))o=function(e,t){let n=rD(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,l=rp(e)?rF(e):tG(1),s=e.clientWidth*l.x;return{width:s,height:e.clientHeight*l.y,x:i*l.x,y:o*l.y}}(t,n);else{let n=r$(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return re(o)}function rW(e){return"static"===rj(e).position}function rV(e,t){if(!rp(e)||"fixed"===rj(e).position)return null;if(t)return t(e);let n=e.offsetParent;return rd(e)===n&&(n=n.ownerDocument.body),n}function rU(e,t){var n;let o=rc(e);if(rw(e))return o;if(!rp(e)){let t=rL(e);for(;t&&!rS(t);){if(rh(t)&&!rW(t))return t;t=rL(t)}return o}let i=rV(e,t);for(;i&&(n=i,ry.has(ru(n)))&&rW(i);)i=rV(i,t);return i&&rS(i)&&rW(i)&&!rk(i)?o:i||function(e){let t=rL(e);for(;rp(t)&&!rS(t);){if(rk(t))return t;if(rw(t))break;t=rL(t)}return null}(e)||o}let rq=async function(e){let t=this.getOffsetParent||rU,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=rp(t),i=rd(t),l="fixed"===n,s=rD(e,!0,l,t),u={scrollLeft:0,scrollTop:0},c=tG(0);if(o||!o&&!l){if(("body"!==ru(t)||rv(i))&&(u=rO(t)),o){let e=rD(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=rz(i))}l&&!o&&i&&(c.x=rz(i));let d=!i||o||l?tG(0):rI(i,u);return{x:s.left+u.scrollLeft-c.x-d.x,y:s.top+u.scrollTop-c.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},rG={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,l="fixed"===i,s=rd(o),u=!!t&&rw(t.floating);if(o===s||u&&l)return n;let c={scrollLeft:0,scrollTop:0},d=tG(1),f=tG(0),h=rp(o);if((h||!h&&!l)&&(("body"!==ru(o)||rv(s))&&(c=rO(o)),rp(o))){let e=rD(o);d=rF(o),f.x=e.x+o.clientLeft,f.y=e.y+o.clientTop}let p=!s||h||l?tG(0):rI(s,c);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+f.x+p.x,y:n.y*d.y-c.scrollTop*d.y+f.y+p.y}},getDocumentElement:rd,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,l=[..."clippingAncestors"===n?rw(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let o=rA(e,[],!1).filter(e=>rh(e)&&"body"!==ru(e)),i=null,l="fixed"===rj(e).position,s=l?rL(e):e;for(;rh(s)&&!rS(s);){let t=rj(s),n=rk(s);n||"fixed"!==t.position||(i=null),(l?!n&&!i:!n&&"static"===t.position&&i&&rH.has(i.position)||rv(s)&&!n&&function e(t,n){let o=rL(t);return!(o===n||!rh(o)||rS(o))&&("fixed"===rj(o).position||e(o,n))}(e,s))?o=o.filter(e=>e!==s):i=t,s=rL(s)}return t.set(e,o),o}(t,this._c):[].concat(n),o],s=l[0],u=l.reduce((e,n)=>{let o=rB(t,n,i);return e.top=tV(o.top,e.top),e.right=tW(o.right,e.right),e.bottom=tW(o.bottom,e.bottom),e.left=tV(o.left,e.left),e},rB(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:rU,getElementRects:rq,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=rP(e);return{width:t,height:n}},getScale:rF,isElement:rh,isRTL:function(e){return"rtl"===rj(e).direction}};function rY(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let rZ=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:l,platform:s,elements:u,middlewareData:c}=t,{element:d,padding:f=0}=tK(e,t)||{};if(null==d)return{};let h=t9(f),p={x:n,y:o},m=tJ(t2(i)),g=t1(m),v=await s.getDimensions(d),y="y"===m,b=y?"clientHeight":"clientWidth",w=l.reference[g]+l.reference[m]-p[m]-l.floating[g],x=p[m]-l.reference[m],E=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),
16C=E?E[b]:0;C&&await (null==s.isElement?void 0:s.isElement(E))||(C=u.floating[b]||l.floating[g]);let k=C/2-v[g]/2-1,M=tW(h[y?"top":"left"],k),_=tW(h[y?"bottom":"right"],k),S=C-v[g]-_,j=C/2-v[g]/2+(w/2-x/2),O=tV(M,tW(j,S)),L=!c.arrow&&null!=tX(i)&&j!==O&&l.reference[g]/2-(j<M?M:_)-v[g]/2<0,A=L?j<M?j-M:j-S:0;return{[m]:p[m]+A,data:{[m]:O,centerOffset:j-O-A,...L&&{alignmentOffset:A}},reset:L}}}),rK=(e,t,n)=>{let o=new Map,i={platform:rG,...n},l={...i.platform,_c:o};return rr(e,t,{...i,platform:l})};var rQ="u">typeof document?M.useLayoutEffect:function(){};function rX(e,t){let n,o,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(o=n;0!=o--;)if(!rX(e[o],t[o]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!({}).hasOwnProperty.call(t,i[o]))return!1;for(o=n;0!=o--;){let n=i[o];if(!("_owner"===n&&e.$$typeof)&&!rX(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function rJ(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function r1(e,t){let n=rJ(e);return Math.round(t*n)/n}function r0(e){let t=M.useRef(e);return rQ(()=>{t.current=e}),t}let r2=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?rZ({element:n.current,padding:o}).fn(t):{}:n?rZ({element:n,padding:o}).fn(t):{}}}),r3=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,o;let{x:i,y:l,placement:s,middlewareData:u}=e,c=await rl(e,n);return s===(null==(t=u.offset)?void 0:t.placement)&&null!=(o=u.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:l+c.y,data:{...c,placement:s}}}}),options:[e,t]}},r5=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:o,placement:i}=e,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=tK(n,e),d={x:t,y:o},f=await rn(e,c),h=t2(tQ(i)),p=tJ(h),m=d[p],g=d[h];
16if(l){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=m+f[e],o=m-f[t];m=tV(n,tW(m,o))}if(s){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=g+f[e],o=g-f[t];g=tV(n,tW(g,o))}let v=u.fn({...e,[p]:m,[h]:g});return{...v,data:{x:v.x-t,y:v.y-o,enabled:{[p]:l,[h]:s}}}}}),options:[e,t]}},r4=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:o,placement:i,rects:l,middlewareData:s}=e,{offset:u=0,mainAxis:c=!0,crossAxis:d=!0}=tK(n,e),f={x:t,y:o},h=t2(i),p=tJ(h),m=f[p],g=f[h],v=tK(u,e),y="number"==typeof v?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){let e="y"===p?"height":"width",t=l.reference[p]-l.floating[e]+y.mainAxis,n=l.reference[p]+l.reference[e]-y.mainAxis;m<t?m=t:m>n&&(m=n)}if(d){var b,w;let e="y"===p?"width":"height",t=ri.has(tQ(i)),n=l.reference[h]-l.floating[e]+(t&&(null==(b=s.offset)?void 0:b[h])||0)+(t?0:y.crossAxis),o=l.reference[h]+l.reference[e]+(t?0:(null==(w=s.offset)?void 0:w[h])||0)-(t?y.crossAxis:0);g<n?g=n:g>o&&(g=o)}return{[p]:m,[h]:g}}}),options:[e,t]}},r6=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,o,i,l,s;let{placement:u,middlewareData:c,rects:d,initialPlacement:f,platform:h,elements:p}=e,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:v,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,...x}=tK(n,e);if(null!=(t=c.arrow)&&t.alignmentOffset)return{};let E=tQ(u),C=t2(f),k=tQ(f)===f,M=await (null==h.isRTL?void 0:h.isRTL(p.floating)),_=v||(k||!w?[t8(f)]:function(e){let t=t8(e);return[t3(e),t,t3(t)]}(f)),S="none"!==b;!v&&S&&_.push(...function(e,t,n,o){let i=tX(e),l=function(e,t,n){switch(e){case"top":case"bottom":return n?t?t4:t5:t?t5:t4;case"left":case"right":return t?t6:t7;default:return[]}}(tQ(e),"start"===n,o);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(t3)))),l}(f,w,b,M));let j=[f,..._],O=await rn(e,x),L=[],A=(null==(o=c.flip)?void 0:o.overflows)||[];if(m&&L.push(O[E]),g){let e=function(e,t,n){void 0===n&&(n=!1);let o=tX(e),i=tJ(t2(e)),l=t1(i),s="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(s=t8(s)),[s,t8(s)]}(u,d,M);L.push(O[e[0]],O[e[1]])}if(A=[...A,{placement:u,overflows:L}],!L.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=j[e];if(t&&(!("alignment"===g&&C!==t2(t))||A.every(e=>t2(e.placement)!==C||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(l=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(y){case"bestFit":{let e=null==(s=A.filter(e=>{if(S){let t=t2(e.placement);return t===C||"y"===t}return!0}).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:s[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},r7=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,o;let i,l;let{placement:s,rects:u,platform:c,elements:d}=e,{apply:f=()=>{},...h}=tK(n,e),p=await rn(e,h),m=tQ(s),g=tX(s),v="y"===t2(s),{width:y,height:b}=u.floating;"top"===m||"bottom"===m?(i=m,l=g===(await (null==c.isRTL?void 0:c.isRTL(d.floating))?"start":"end")?"left":"right"):(l=m,i="end"===g?"top":"bottom");let w=b-p.top-p.bottom,x=y-p.left-p.right,E=tW(b-p[i],w),C=tW(y-p[l],x),k=!e.middlewareData.shift,M=E,_=C;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(_=x),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(M=w),k&&!g){let e=tV(p.left,0),t=tV(p.right,0),n=tV(p.top,0),o=tV(p.bottom,0);v?_=y-2*(0!==e||0!==t?e+t:tV(p.left,p.right)):M=b-2*(0!==n||0!==o?n+o:tV(p.top,p.bottom))}await f({...e,availableWidth:_,availableHeight:M});let S=await c.getDimensions(d.floating);return y!==S.width||b!==S.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},r8=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:o="referenceHidden",...i}=tK(n,e);switch(o){case"referenceHidden":{let n=ra(await rn(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:ro(n)}}}case"escaped":{let n=ra(await rn(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:ro(n)}}}default:return{}}}}),options:[e,t]}},r9=(e,t)=>
16({...r2(e),options:[e,t]});var ne=M.forwardRef((e,t)=>{let{children:n,width:o=10,height:i=5,...l}=e;return ee.jsx(tm.svg,{...l,ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:ee.jsx("polygon",{points:"0,0 30,0 15,10"})})});ne.displayName="Arrow";var nt="Popper",[nr,nn]=ts(nt),[na,no]=nr(nt),ni=e=>{let{__scopePopper:t,children:n}=e,[o,i]=M.useState(null);return ee.jsx(na,{scope:t,anchor:o,onAnchorChange:i,children:n})};ni.displayName=nt;var nl="PopperAnchor",ns=M.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...i}=e,l=no(nl,n),s=M.useRef(null),u=en(t,s),c=M.useRef(null);return M.useEffect(()=>{let e=c.current;c.current=o?.current||s.current,e!==c.current&&l.onAnchorChange(c.current)}),o?null:ee.jsx(tm.div,{...i,ref:u})});ns.displayName=nl;var nu="PopperContent",[nc,nd]=nr(nu),nf=M.forwardRef((e,t)=>{var n,o,i,l,s,u;let{__scopePopper:c,side:d="bottom",sideOffset:f=0,align:h="center",alignOffset:p=0,arrowPadding:m=0,avoidCollisions:g=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b="partial",hideWhenDetached:w=!1,updatePositionStrategy:x="optimized",onPlaced:E,...C}=e,k=no(nu,c),[_,S]=M.useState(null),O=en(t,e=>S(e)),[L,A]=M.useState(null),T=function(e){let[t,n]=M.useState(void 0);return tu(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let o,i;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(L),P=T?.width??0,N=T?.height??0,F="number"==typeof y?y:{top:0,right:0,bottom:0,left:0,...y},R=Array.isArray(v)?v:[v],$=R.length>0,D={padding:F,boundary:R.filter(ng),altBoundary:$},{refs:z,floatingStyles:I,placement:H,isPositioned:B,middlewareData:W}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:i,elements:{reference:l,floating:s}={},transform:u=!0,whileElementsMounted:c,open:d}=e,[f,h]=M.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,m]=M.useState(o);rX(p,o)||m(o);let[g,v]=M.useState(null),[y,b]=M.useState(null),w=M.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),x=M.useCallback(e=>{e!==_.current&&(_.current=e,b(e))},[]),E=l||g,C=s||y,k=M.useRef(null),_=M.useRef(null),S=M.useRef(f),O=null!=c,L=r0(c),A=r0(i),T=r0(d),P=M.useCallback(()=>{if(!k.current||!_.current)return;let e={placement:t,strategy:n,middleware:p};A.current&&(e.platform=A.current),rK(k.current,_.current,e).then(e=>{let t={...e,isPositioned:!1!==T.current};N.current&&!rX(S.current,t)&&(S.current=t,j.flushSync(()=>{h(t)}))})},[p,t,n,A,T]);rQ(()=>{!1===d&&S.current.isPositioned&&(S.current.isPositioned=!1,h(e=>({...e,isPositioned:!1})))},[d]);let N=M.useRef(!1);rQ(()=>(N.current=!0,()=>{N.current=!1}),[]),rQ(()=>{if(E&&(k.current=E),C&&(_.current=C),E&&C){if(L.current)return L.current(E,C,P);P()}},[E,C,P,L,O]);let F=M.useMemo(()=>({reference:k,floating:_,setReference:w,setFloating:x}),[w,x]),R=M.useMemo(()=>({reference:E,floating:C}),[E,C]),$=M.useMemo(()=>{let e={position:n,left:0,top:0};if(!R.floating)return e;let t=r1(R.floating,f.x),o=r1(R.floating,f.y);return u?{...e,transform:"translate("+t+"px, "+o+"px)",...rJ(R.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:o}},[n,u,R.floating,f.x,f.y]);return M.useMemo(()=>({...f,update:P,refs:F,elements:R,floatingStyles:$}),[f,P,F,R,$])}({strategy:"fixed",placement:d+("center"!==h?"-"+h:""),whileElementsMounted:(...e)=>(function(e,t,n,o){void 0===o&&(o={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,d=rN(e),f=i||l?[...d?rA(d):[],...rA(t)]:[];f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let h=d&&u?function(e,t){let n=null,o,i=rd(e);function l(){var e;clearTimeout(o),null==(e=n)||e.disconnect(),n=null}return function s(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),l();let d=e.getBoundingClientRect(),{left:f,top:h,width:p,height:m}=d;if(u||t(),!p||!m)return;let g=tq(h),v={rootMargin:-g+"px "+-tq(i.clientWidth-(f+p))+"px "+-tq(i.clientHeight-(h+m))+"px "+-tq(f)+"px",threshold:tV(0,tW(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return s();n?s(!1,n):o=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||rY(d,e.getBoundingClientRect())||s(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}(!0),l}(d,n):null,p=-1,m=null;s&&(m=new ResizeObserver(e=>{let[o]=e;o&&o.target===d&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),d&&!c&&m.observe(d),m.observe(t));let g,v=c?rD(e):null;return c&&function t(){let o=rD(e);v&&!rY(v,o)&&n(),v=o,g=requestAnimationFrame(t)}(),n(),()=>{var e;
16f.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),h?.(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(g)}})(...e,{animationFrame:"always"===x}),elements:{reference:k.anchor},middleware:[r3({mainAxis:f+N,alignmentAxis:p}),g&&r5({mainAxis:!0,crossAxis:!1,limiter:"partial"===b?r4():void 0,...D}),g&&r6({...D}),r7({...D,apply:({elements:e,rects:t,availableWidth:n,availableHeight:o})=>{let{width:i,height:l}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${o}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${l}px`)}}),L&&r9({element:L,padding:m}),nv({arrowWidth:P,arrowHeight:N}),w&&r8({strategy:"referenceHidden",...D})]}),[U,q]=ny(H),G=tw(E);tu(()=>{B&&G?.()},[B,G]);let Y=null==(n=W.arrow)?void 0:n.x,Z=null==(o=W.arrow)?void 0:o.y,K=(null==(i=W.arrow)?void 0:i.centerOffset)!==0,[Q,X]=M.useState();return tu(()=>{_&&X(window.getComputedStyle(_).zIndex)},[_]),ee.jsx("div",{ref:z.setFloating,"data-radix-popper-content-wrapper":"",style:{...I,transform:B?I.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Q,"--radix-popper-transform-origin":[null==(l=W.transformOrigin)?void 0:l.x,null==(s=W.transformOrigin)?void 0:s.y].join(" "),...(null==(u=W.hide)?void 0:u.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:ee.jsx(nc,{scope:c,placedSide:U,onArrowChange:A,arrowX:Y,arrowY:Z,shouldHideArrow:K,children:ee.jsx(tm.div,{"data-side":U,"data-align":q,...C,ref:O,style:{...C.style,animation:B?void 0:"none"}})})})});nf.displayName=nu;var nh="PopperArrow",np={top:"bottom",right:"left",bottom:"top",left:"right"},nm=M.forwardRef(function(e,t){let{__scopePopper:n,...o}=e,i=nd(nh,n),l=np[i.placedSide];return ee.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]: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},children:ee.jsx(ne,{...o,ref:t,style:{...o.style,display:"block"}})})});function ng(e){return null!==e}nm.displayName=nh;var nv=e=>({name:"transformOrigin",options:e,fn(t){var n,o,i;let{placement:l,rects:s,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,p]=ny(l),m={start:"0%",center:"50%",end:"100%"}[p],g=((null==(o=u.arrow)?void 0:o.x)??0)+d/2,v=((null==(i=u.arrow)?void 0:i.y)??0)+f/2,y="",b="";return"bottom"===h?(y=c?m:`${g}px`,b=`${-f}px`):"top"===h?(y=c?m:`${g}px`,b=`${s.floating.height+f}px`):"right"===h?(y=`${-f}px`,b=c?m:`${v}px`):"left"===h&&(y=`${s.floating.width+f}px`,b=c?m:`${v}px`),{data:{x:y,y:b}}}});function ny(e){let[t,n="center"]=e.split("-");return[t,n]}var nb=M.forwardRef((e,t)=>{var n;let{container:o,...i}=e,[l,s]=M.useState(!1);tu(()=>s(!0),[]);let u=o||l&&(null==(n=globalThis?.document)?void 0:n.body);return u?j.createPortal(ee.jsx(tm.div,{...i,ref:t}),u):null});nb.displayName="Portal";var nw=e=>{var t,n;let o,i;let{present:l,children:s}=e,u=function(e){var t,n;let[o,i]=M.useState(),l=M.useRef(null),s=M.useRef(e),u=M.useRef("none"),[c,d]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},M.useReducer((e,t)=>n[e][t]??e,t));return M.useEffect(()=>{let e=nx(l.current);u.current="mounted"===c?e:"none"},[c]),tu(()=>{let t=l.current,n=s.current;if(n!==e){let o=u.current,i=nx(t);e?d("MOUNT"):"none"===i||t?.display==="none"?d("UNMOUNT"):d(n&&o!==i?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,d]),tu(()=>{if(o){let e;let t=o.ownerDocument.defaultView??window,n=n=>{let i=nx(l.current).includes(CSS.escape(n.animationName));if(n.target===o&&i&&(d("ANIMATION_END"),!s.current)){let n=o.style.animationFillMode;o.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===o.style.animationFillMode&&(o.style.animationFillMode=n)})}},i=e=>{e.target===o&&(u.current=nx(l.current))};return o.addEventListener("animationstart",i),o.addEventListener("animationcancel",n),o.addEventListener("animationend",n),()=>{t.clearTimeout(e),o.removeEventListener("animationstart",i),o.removeEventListener("animationcancel",n),o.removeEventListener("animationend",n)}}d("ANIMATION_END")},[o,d]),{isPresent:["mounted","unmountSuspended"].includes(c),ref:M.useCallback(e=>{l.current=e?getComputedStyle(e):null,i(e)},[])}}(l),c="function"==typeof s?s({present:u.isPresent}):M.Children.only(s),d=en(u.ref,(o=null==(t=Object.getOwnPropertyDescriptor(c.props,"ref"))?void 0:t.get)&&"isReactWarning"in o&&o.isReactWarning?c.ref:(o=null==(n=Object.getOwnPropertyDescriptor(c,"ref"))?void 0:n.get)&&"isReactWarning"in o&&o.isReactWarning?c.props.ref:c.props.ref||c.ref);return"function"==typeof s||u.isPresent?M.cloneElement(c,{ref:d}):null};function nx(e){return e?.animationName||"none"}nw.displayName="Presence";var nE=(tx||(tx=n.t(M,2)))[" useId ".trim().toString()]||(()=>{}),nC=0;function nk(e){let[t,n]=M.useState(nE());return tu(()=>{n(e=>e??String(nC++))},[e]),t?`radix-${t}`:""}var nM="rovingFocusGroup.onEntryFocus",n_={bubbles:!1,cancelable:!0},nS="RovingFocusGroup",[nj,nO,nL]=tv(nS),[nA,nT]=ts(nS,[nL]),[nP,nN]=nA(nS),nF=M.forwardRef((e,t)=>
16ee.jsx(nj.Provider,{scope:e.__scopeRovingFocusGroup,children:ee.jsx(nj.Slot,{scope:e.__scopeRovingFocusGroup,children:ee.jsx(nR,{...e,ref:t})})}));nF.displayName=nS;var nR=M.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:o,loop:i=!1,dir:l,currentTabStopId:s,defaultCurrentTabStopId:u,onCurrentTabStopIdChange:c,onEntryFocus:d,preventScrollOnEntryFocus:f=!1,...h}=e,p=M.useRef(null),m=en(t,p),g=tb(l),[v,y]=td({prop:s,defaultProp:u??null,onChange:c,caller:nS}),[b,w]=M.useState(!1),x=tw(d),E=nO(n),C=M.useRef(!1),[k,_]=M.useState(0);return M.useEffect(()=>{let e=p.current;if(e)return e.addEventListener(nM,x),()=>e.removeEventListener(nM,x)},[x]),ee.jsx(nP,{scope:n,orientation:o,dir:g,loop:i,currentTabStopId:v,onItemFocus:M.useCallback(e=>y(e),[y]),onItemShiftTab:M.useCallback(()=>w(!0),[]),onFocusableItemAdd:M.useCallback(()=>_(e=>e+1),[]),onFocusableItemRemove:M.useCallback(()=>_(e=>e-1),[]),children:ee.jsx(tm.div,{tabIndex:b||0===k?-1:0,"data-orientation":o,...h,ref:m,style:{outline:"none",...e.style},onMouseDown:tl(e.onMouseDown,()=>{C.current=!0}),onFocus:tl(e.onFocus,e=>{let t=!C.current;if(e.target===e.currentTarget&&t&&!b){let t=new CustomEvent(nM,n_);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=E().filter(e=>e.focusable);nI([e.find(e=>e.active),e.find(e=>e.id===v),...e].filter(Boolean).map(e=>e.ref.current),f)}}C.current=!1}),onBlur:tl(e.onBlur,()=>w(!1))})})}),n$="RovingFocusGroupItem",nD=M.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:o=!0,active:i=!1,tabStopId:l,children:s,...u}=e,c=nk(),d=l||c,f=nN(n$,n),h=f.currentTabStopId===d,p=nO(n),{onFocusableItemAdd:m,onFocusableItemRemove:g,currentTabStopId:v}=f;return M.useEffect(()=>{if(o)return m(),()=>g()},[o,m,g]),ee.jsx(nj.ItemSlot,{scope:n,id:d,focusable:o,active:i,children:ee.jsx(tm.span,{tabIndex:h?0:-1,"data-orientation":f.orientation,...u,ref:t,onMouseDown:tl(e.onMouseDown,e=>{o?f.onItemFocus(d):e.preventDefault()}),onFocus:tl(e.onFocus,()=>f.onItemFocus(d)),onKeyDown:tl(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){f.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var o;let i=(o=e.key,"rtl"!==n?o:"ArrowLeft"===o?"ArrowRight":"ArrowRight"===o?"ArrowLeft":o);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return nz[i]}(e,f.orientation,f.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let i=p().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)i.reverse();else if("prev"===t||"next"===t){var n,o;"prev"===t&&i.reverse();let l=i.indexOf(e.currentTarget);i=f.loop?(n=i,o=l+1,n.map((e,t)=>n[(o+t)%n.length])):i.slice(l+1)}setTimeout(()=>nI(i))}}),children:"function"==typeof s?s({isCurrentTabStop:h,hasTabStop:null!=v}):s})})});nD.displayName=n$;var nz={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function nI(e,t=!1){let n=document.activeElement;for(let o of e)if(o===n||(o.focus({preventScroll:t}),document.activeElement!==n))return}var nH=new WeakMap,nB=new WeakMap,nW={},nV=0,nU=function(e){return e&&(e.host||nU(e.parentNode))},nq=function(e,t,n,o){var i=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=nU(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});nW[n]||(nW[n]=new WeakMap);var l=nW[n],s=[],u=new Set,c=new Set(i),d=function(e){!e||u.has(e)||(u.add(e),d(e.parentNode))};i.forEach(d);var f=function(e){!e||c.has(e)||Array.prototype.forEach.call(e.children,function(e){if(u.has(e))f(e);else try{var t=e.getAttribute(o),i=null!==t&&"false"!==t,c=(nH.get(e)||0)+1,d=(l.get(e)||0)+1;nH.set(e,c),l.set(e,d),s.push(e),1===c&&i&&nB.set(e,!0),1===d&&e.setAttribute(n,"true"),i||e.setAttribute(o,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return f(t),u.clear(),nV++,function(){s.forEach(function(e){var t=nH.get(e)-1,i=l.get(e)-1;nH.set(e,t),l.set(e,i),t||(nB.has(e)||e.removeAttribute(o),nB.delete(e)),i||e.removeAttribute(n)}),--nV||(nH=new WeakMap,nH=new WeakMap,nB=new WeakMap,nW={})}},nG=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body;return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),nq(o,i,n,"aria-hidden")):function(){return null}},nY=function(){return(nY=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function nZ(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}var nK="right-scroll-bar-position",nQ="width-before-scroll-bar",nX=(void 0===uE&&(uE={}),(void 0===uC&&(uC=function(e){return e}),uk=[],uM=!1,u_={read:function(){if(uM)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return uk.length?uk[uk.length-1]:null},useMedium:function(e){var t=uC(e,uM);return uk.push(t),function(){uk=uk.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(uM=!0;uk.length;){var t=uk;uk=[],t.forEach(e)}uk={push:function(t){return e(t)},filter:function(){return uk}}},assignMedium:function(e){uM=!0;var t=[];if(uk.length){var n=uk;
16uk=[],n.forEach(e),t=uk}var o=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(o)};i(),uk={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),uk}}}}).options=nY({async:!0,ssr:!1},uE),u_);function nJ(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var n1="u">typeof window?M.useLayoutEffect:M.useEffect,n0=new WeakMap,n2=function(){},n3=M.forwardRef(function(e,t){var n,o,i,l,s=M.useRef(null),u=M.useState({onScrollCapture:n2,onWheelCapture:n2,onTouchMoveCapture:n2}),c=u[0],d=u[1],f=e.forwardProps,h=e.children,p=e.className,m=e.removeScrollBar,g=e.enabled,v=e.shards,y=e.sideCar,b=e.noRelative,w=e.noIsolation,x=e.inert,E=e.allowPinchZoom,C=e.as,k=e.gapMode,_=nZ(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),S=(n=[s,t],o=function(e){return n.forEach(function(t){return nJ(t,e)})},(i=(0,M.useState)(function(){return{value:null,callback:o,facade:{get current(){return i.value},set current(r){var e=i.value;e!==r&&(i.value=r,i.callback(r,e))}}}})[0]).callback=o,l=i.facade,n1(function(){var e=n0.get(l);if(e){var t=new Set(e),o=new Set(n),i=l.current;t.forEach(function(e){o.has(e)||nJ(e,null)}),o.forEach(function(e){t.has(e)||nJ(e,i)})}n0.set(l,n)},[n]),l),j=nY(nY({},_),c);return M.createElement(M.Fragment,null,g&&M.createElement(y,{sideCar:nX,removeScrollBar:m,shards:v,noRelative:b,noIsolation:w,inert:x,setCallbacks:d,allowPinchZoom:!!E,lockRef:s,gapMode:k}),f?M.cloneElement(M.Children.only(h),nY(nY({},j),{ref:S})):M.createElement(void 0===C?"div":C,nY({},j,{className:p,ref:S}),h))});n3.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},n3.classNames={fullWidth:nQ,zeroRight:nK};var n5=function(){var e=0,t=null;return{add:function(o){var i,l;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}())&&((i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},n4=function(){var e=n5();return function(t,n){M.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},n6=function(){var e=n4();return function(t){return e(t.styles,t.dynamic),null}},n7={left:0,top:0,right:0,gap:0},n8=function(e){return parseInt(e||"",10)||0},n9=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[n8(n),n8(o),n8(i)]},ae=function(e){if(void 0===e&&(e="margin"),typeof window>"u")return n7;var t=n9(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},at=n6(),ar="data-scroll-locked",an=function(e,t,n,o){var i=e.left,l=e.top,s=e.right,u=e.gap;return void 0===n&&(n="margin"),` 17 .`.concat("with-scroll-bars-hidden",` { 18 overflow: hidden `).concat(o,`; 19 padding-right: `).concat(u,"px ").concat(o,`; 20 } 21 body[`).concat(ar,`] { 22 overflow: hidden `).concat(o,`; 23 overscroll-behavior: contain; 24 `).concat([t&&"position: relative ".concat(o,";"),"margin"===n&&` 25 padding-left: `.concat(i,`px; 26 padding-top: `).concat(l,`px; 27 padding-right: `).concat(s,`px; 28 margin-left:0; 29 margin-top:0; 30 margin-right: `).concat(u,"px ").concat(o,`; 31 `),"padding"===n&&"padding-right: ".concat(u,"px ").concat(o,";")].filter(Boolean).join(""),` 32 } 33 34 .`).concat(nK,` { 35 right: `).concat(u,"px ").concat(o,`; 36 } 37 38 .`).concat(nQ,` { 39 margin-right: `).concat(u,"px ").concat(o,`; 40 } 41 42 .`).concat(nK," .").concat(nK,` { 43 right: 0 `).concat(o,`; 44 } 45 46 .`).concat(nQ," .").concat(nQ,` { 47 margin-right: 0 `).concat(o,`; 48 } 49 50 body[`).concat(ar,`] { 51 `).concat("--removed-body-scroll-bar-size",": ").concat(u,`px; 52 } 53`)},aa=function(){var e=parseInt(document.body.getAttribute(ar)||"0",10);return isFinite(e)?e:0},ao=function(){M.useEffect(function(){return document.body.setAttribute(ar,(aa()+1).toString()),function(){var e=aa()-1;e<=0?document.body.removeAttribute(ar):document.body.setAttribute(ar,e.toString())}},[])},ai=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;ao();var l=M.useMemo(function(){return ae(i)},[i]);return M.createElement(at,{styles:an(l,!t,i,n?"":"!important")})},al=!1;if("u">typeof window)try{var as=Object.defineProperty({},"passive",{get:function(){return al=!0,!0}});window.addEventListener("test",as,as),window.removeEventListener("test",as,as)}catch{al=!1}var au=!!al&&{passive:!1},ac=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},ad=function(e,t){var n=t.ownerDocument,o=t;do{if("u">typeof ShadowRoot&&o instanceof ShadowRoot&&(o=o.host),af(e,o)){var i=ah(e,o);if(i[1]>i[2])return!0}o=o.parentNode}while(o&&o!==n.body);return!1},af=function(e,t){return"v"===e?ac(t,"overflowY"):ac(t,"overflowX")},ah=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},ap=function(e,t,n,o,i){var l,s=(l=window.getComputedStyle(t).direction,"h"===e&&"rtl"===l?-1:1),u=n.target,c=t.contains(u),d=!1,f=s*o>0,h=0,p=0;
53do{if(!u)break;var m=ah(e,u),g=m[0],v=m[1]-m[2]-s*g;(g||v)&&af(e,u)&&(h+=v,p+=g);var y=u.parentNode;u=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return(f&&1>Math.abs(h)||!f&&1>Math.abs(p))&&(d=!0),d},am=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ag=function(e){return[e.deltaX,e.deltaY]},av=function(e){return e&&"current"in e?e.current:e},ay=0,ab=[],aw=function(e){var t=e.sideCar,n=nZ(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw Error("Sidecar medium not found");return M.createElement(o,nY({},n))};aw.isSideCarExport=!0;let ax=(uS=function(e){var t=M.useRef([]),n=M.useRef([0,0]),o=M.useRef(),i=M.useState(ay++)[0],l=M.useState(n6)[0],s=M.useRef(e);M.useEffect(function(){s.current=e},[e]),M.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){for(var o,i=0,l=t.length;i<l;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(av)).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=M.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,l=am(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-l[0],d="deltaY"in e?e.deltaY:u[1]-l[1],f=e.target,h=Math.abs(c)>Math.abs(d)?"h":"v";if("touches"in e&&"h"===h&&"range"===f.type)return!1;var p=window.getSelection(),m=p&&p.anchorNode;if(m&&(m===f||m.contains(f)))return!1;var g=ad(h,f);if(!g)return!0;if(g?i=h:(i="v"===h?"h":"v",g=ad(h,f)),!g)return!1;if(!o.current&&"changedTouches"in e&&(c||d)&&(o.current=i),!i)return!0;var v=o.current||i;return ap(v,t,e,"h"===v?c:d)},[]),c=M.useCallback(function(e){if(!(!ab.length||ab[ab.length-1]!==l)){var n="deltaY"in e?ag(e):am(e),o=t.current.filter(function(t){var o;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(o=t.delta)[0]===n[0]&&o[1]===n[1]})[0];if(o&&o.should){e.cancelable&&e.preventDefault();return}if(!o){var i=(s.current.shards||[]).map(av).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?u(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=M.useCallback(function(e,n,o,i){var l={name:e,delta:n,target:o,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(o)};t.current.push(l),setTimeout(function(){t.current=t.current.filter(function(e){return e!==l})},1)},[]),f=M.useCallback(function(e){n.current=am(e),o.current=void 0},[]),h=M.useCallback(function(t){d(t.type,ag(t),t.target,u(t,e.lockRef.current))},[]),p=M.useCallback(function(t){d(t.type,am(t),t.target,u(t,e.lockRef.current))},[]);M.useEffect(function(){return ab.push(l),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",c,au),document.addEventListener("touchmove",c,au),document.addEventListener("touchstart",f,au),function(){ab=ab.filter(function(e){return e!==l}),document.removeEventListener("wheel",c,au),document.removeEventListener("touchmove",c,au),document.removeEventListener("touchstart",f,au)}},[]);var m=e.removeScrollBar,g=e.inert;return M.createElement(M.Fragment,null,g?M.createElement(l,{styles:` 54 .block-interactivity-`.concat(i,` {pointer-events: none;} 55 .allow-interactivity-`).concat(i,` {pointer-events: all;} 56`)}):null,m?M.createElement(ai,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},nX.useMedium(uS),aw);var aE=M.forwardRef(function(e,t){return M.createElement(n3,nY({},e,{ref:t,sideCar:ax}))});aE.classNames=n3.classNames;var aC=["Enter"," "],ak=["ArrowUp","PageDown","End"],aM=["ArrowDown","PageUp","Home",...ak],a_={ltr:[...aC,"ArrowRight"],rtl:[...aC,"ArrowLeft"]},aS={ltr:["ArrowLeft"],rtl:["ArrowRight"]},aj="Menu",[aO,aL,aA]=tv(aj),[aT,aP]=ts(aj,[aA,nn,nT]),aN=nn(),aF=nT(),[aR,a$]=aT(aj),[aD,az]=aT(aj),aI=e=>{let{__scopeMenu:t,open:n=!1,children:o,dir:i,onOpenChange:l,modal:s=!0}=e,u=aN(t),[c,d]=M.useState(null),f=M.useRef(!1),h=tw(l),p=tb(i);return M.useEffect(()=>{let e=()=>{f.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>f.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),ee.jsx(ni,{...u,children:ee.jsx(aR,{scope:t,open:n,onOpenChange:h,content:c,onContentChange:d,children:ee.jsx(aD,{scope:t,onClose:M.useCallback(()=>h(!1),[h]),isUsingKeyboardRef:f,dir:p,modal:s,children:o})})})};aI.displayName=aj;var aH=M.forwardRef((e,t)=>
56{let{__scopeMenu:n,...o}=e,i=aN(n);return ee.jsx(ns,{...i,...o,ref:t})});aH.displayName="MenuAnchor";var aB="MenuPortal",[aW,aV]=aT(aB,{forceMount:void 0}),aU=e=>{let{__scopeMenu:t,forceMount:n,children:o,container:i}=e,l=a$(aB,t);return ee.jsx(aW,{scope:t,forceMount:n,children:ee.jsx(nw,{present:n||l.open,children:ee.jsx(nb,{asChild:!0,container:i,children:o})})})};aU.displayName=aB;var aq="MenuContent",[aG,aY]=aT(aq),aZ=M.forwardRef((e,t)=>{let n=aV(aq,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,l=a$(aq,e.__scopeMenu),s=az(aq,e.__scopeMenu);return ee.jsx(aO.Provider,{scope:e.__scopeMenu,children:ee.jsx(nw,{present:o||l.open,children:ee.jsx(aO.Slot,{scope:e.__scopeMenu,children:s.modal?ee.jsx(aK,{...i,ref:t}):ee.jsx(aQ,{...i,ref:t})})})})}),aK=M.forwardRef((e,t)=>{let n=a$(aq,e.__scopeMenu),o=M.useRef(null),i=en(t,o);return M.useEffect(()=>{let e=o.current;if(e)return nG(e)},[]),ee.jsx(aJ,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:tl(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),aQ=M.forwardRef((e,t)=>{let n=a$(aq,e.__scopeMenu);return ee.jsx(aJ,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),aX=tf("MenuContent.ScrollLock"),aJ=M.forwardRef((e,t)=>{let{__scopeMenu:n,loop:o=!1,trapFocus:i,onOpenAutoFocus:l,onCloseAutoFocus:s,disableOutsidePointerEvents:u,onEntryFocus:c,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:p,onDismiss:m,disableOutsideScroll:g,...v}=e,y=a$(aq,n),b=az(aq,n),w=aN(n),x=aF(n),E=aL(n),[C,k]=M.useState(null),_=M.useRef(null),S=en(t,_,y.onContentChange),j=M.useRef(0),O=M.useRef(""),L=M.useRef(0),A=M.useRef(null),T=M.useRef("right"),P=M.useRef(0),N=g?aE:M.Fragment,F=e=>{var t,n;let o=O.current+e,i=E().filter(e=>!e.disabled),l=document.activeElement,s=null==(t=i.find(e=>e.ref.current===l))?void 0:t.textValue,u=function(e,t,n){var o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=(o=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(o+n)%e.length]));1===i.length&&(l=l.filter(e=>e!==n));let s=l.find(e=>e.toLowerCase().startsWith(i.toLowerCase()));return s!==n?s:void 0}(i.map(e=>e.textValue),o,s),c=null==(n=i.find(e=>e.textValue===u))?void 0:n.ref.current;(function e(t){O.current=t,window.clearTimeout(j.current),""!==t&&(j.current=window.setTimeout(()=>e(""),1e3))})(o),c&&setTimeout(()=>c.focus())};M.useEffect(()=>()=>window.clearTimeout(j.current),[]),tA();let R=M.useCallback(e=>{var t,n,o;return T.current===(null==(t=A.current)?void 0:t.side)&&!!(o=null==(n=A.current)?void 0:n.area)&&function(e,t){let{x:n,y:o}=e,i=!1;for(let e=0,l=t.length-1;e<t.length;l=e++){let s=t[e],u=t[l],c=s.x,d=s.y,f=u.x,h=u.y;d>o!=h>o&&n<(f-c)*(o-d)/(h-d)+c&&(i=!i)}return i}({x:e.clientX,y:e.clientY},o)},[]);return ee.jsx(aG,{scope:n,searchRef:O,onItemEnter:M.useCallback(e=>{R(e)&&e.preventDefault()},[R]),onItemLeave:M.useCallback(e=>{var t;R(e)||(null==(t=_.current)||t.focus(),k(null))},[R]),onTriggerLeave:M.useCallback(e=>{R(e)&&e.preventDefault()},[R]),pointerGraceTimerRef:L,onPointerGraceIntentChange:M.useCallback(e=>{A.current=e},[]),children:ee.jsx(N,{...g?{as:aX,allowPinchZoom:!0}:void 0,children:ee.jsx(tR,{asChild:!0,trapped:i,onMountAutoFocus:tl(l,e=>{var t;e.preventDefault(),null==(t=_.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:s,children:ee.jsx(tS,{asChild:!0,disableOutsidePointerEvents:u,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:p,onDismiss:m,children:ee.jsx(nF,{asChild:!0,...x,dir:b.dir,orientation:"vertical",loop:o,currentTabStopId:C,onCurrentTabStopIdChange:k,onEntryFocus:tl(c,e=>{b.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:ee.jsx(nf,{role:"menu","aria-orientation":"vertical","data-state":om(y.open),"data-radix-menu-content":"",dir:b.dir,...w,...v,ref:S,style:{outline:"none",...v.style},onKeyDown:tl(v.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,o=1===e.ke
vendor: 4,633 bytes, line 56
56y.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&o&&F(e.key));let i=_.current;if(e.target!==i||!aM.includes(e.key))return;e.preventDefault();let l=E().filter(e=>!e.disabled).map(e=>e.ref.current);ak.includes(e.key)&&l.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(l)}),onBlur:tl(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(j.current),O.current="")}),onPointerMove:tl(e.onPointerMove,oy(e=>{let t=e.target,n=P.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>P.current?"right":"left";T.current=t,P.current=e.clientX}}))})})})})})})});aZ.displayName=aq;var a1=M.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e;return ee.jsx(tm.div,{role:"group",...o,ref:t})});a1.displayName="MenuGroup";var a0=M.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e;return ee.jsx(tm.div,{...o,ref:t})});a0.displayName="MenuLabel";var a2="MenuItem",a3="menu.itemSelect",a5=M.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:o,...i}=e,l=M.useRef(null),s=az(a2,e.__scopeMenu),u=aY(a2,e.__scopeMenu),c=en(t,l),d=M.useRef(!1);return ee.jsx(a4,{...i,ref:c,disabled:n,onClick:tl(e.onClick,()=>{let e=l.current;if(!n&&e){let t=new CustomEvent(a3,{bubbles:!0,cancelable:!0});e.addEventListener(a3,e=>o?.(e),{once:!0}),tg(e,t),t.defaultPrevented?d.current=!1:s.onClose()}}),onPointerDown:t=>{var n;null==(n=e.onPointerDown)||n.call(e,t),d.current=!0},onPointerUp:tl(e.onPointerUp,e=>{var t;d.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:tl(e.onKeyDown,e=>{let t=""!==u.searchRef.current;n||t&&" "===e.key||aC.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});a5.displayName=a2;var a4=M.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:o=!1,textValue:i,...l}=e,s=aY(a2,n),u=aF(n),c=M.useRef(null),d=en(t,c),[f,h]=M.useState(!1),[p,m]=M.useState("");return M.useEffect(()=>{let e=c.current;e&&m((e.textContent??"").trim())},[l.children]),ee.jsx(aO.ItemSlot,{scope:n,disabled:o,textValue:i??p,children:ee.jsx(nD,{asChild:!0,...u,focusable:!o,children:ee.jsx(tm.div,{role:"menuitem","data-highlighted":f?"":void 0,"aria-disabled":o||void 0,"data-disabled":o?"":void 0,...l,ref:d,onPointerMove:tl(e.onPointerMove,oy(e=>{o?s.onItemLeave(e):(s.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:tl(e.onPointerLeave,oy(e=>s.onItemLeave(e))),onFocus:tl(e.onFocus,()=>h(!0)),onBlur:tl(e.onBlur,()=>h(!1))})})})}),a6=M.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:o,...i}=e;return ee.jsx(oa,{scope:e.__scopeMenu,checked:n,children:ee.jsx(a5,{role:"menuitemcheckbox","aria-checked":og(n)?"mixed":n,...i,ref:t,"data-state":ov(n),onSelect:tl(i.onSelect,()=>o?.(!!og(n)||!n),{checkForDefaultPrevented:!1})})})});a6.displayName="MenuCheckboxItem";var a7="MenuRadioGroup",[a8,a9]=aT(a7,{value:void 0,onValueChange:()=>{}}),oe=M.forwardRef((e,t)=>{let{value:n,onValueChange:o,...i}=e,l=tw(o);return ee.jsx(a8,{scope:e.__scopeMenu,value:n,onValueChange:l,children:ee.jsx(a1,{...i,ref:t})})});oe.displayName=a7;var ot="MenuRadioItem",or=M.forwardRef((e,t)=>{let{value:n,...o}=e,i=a9(ot,e.__scopeMenu),l=n===i.value;return ee.jsx(oa,{scope:e.__scopeMenu,checked:l,children:ee.jsx(a5,{role:"menuitemradio","aria-checked":l,...o,ref:t,"data-state":ov(l),onSelect:tl(o.onSelect,()=>{var e;return null==(e=i.onValueChange)?void 0:e.call(i,n)},{checkForDefaultPrevented:!1})})})});or.displayName=ot;var on="MenuItemIndicator",[oa,oo]=aT(on,{checked:!1}),oi=M.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:o,...i}=e,l=oo(on,n);return ee.jsx(nw,{present:o||og(l.checked)||!0===l.checked,children:ee.jsx(tm.span,{...i,ref:t,"data-state":ov(l.checked)})})});oi.displayName=on;var ol=M.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e;return ee.jsx(tm.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});ol.displayName="MenuSeparator";var os=M.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e,i=aN(n);return ee.jsx(nm,{...i,...o,ref:t})});os.displayName="MenuArrow";var[ou,oc]=aT("MenuSub"),od="MenuSubTrigger",of=M.forwardRef((e,t)=>{let n=a$(od,e.__scopeMenu),o=az(od,e.__scopeMenu),i=oc(od,e.__scopeMenu),l=aY(od,e.__scopeMenu),s=M.useRef(null),{pointerGraceTimerRef:u,onPointerGraceIntentChange:c}=l,d={__scopeMenu:e.__scopeMenu},f=M.useCallback(()=>{s.current&&window.clearTimeout(s.current),s.current=null},[]);return M.useEffect(()=>f,[f]),M.useEffect(()=>{let e=u.current;return()=>{window.clearTimeout(e),c(null)}},[u,c]),ee.jsx(aH,{asChild:!0,...d,children:ee.jsx(a4,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":i.contentId,"data-state":om(n.open
56),...e,ref:er(t,i.onTriggerChange),onClick:t=>{var o;null==(o=e.onClick)||o.call(e,t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:tl(e.onPointerMove,oy(t=>{l.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||s.current||(l.onPointerGraceIntentChange(null),s.current=window.setTimeout(()=>{n.onOpenChange(!0),f()},100))})),onPointerLeave:tl(e.onPointerLeave,oy(e=>{var t,o;f();let i=null==(t=n.content)?void 0:t.getBoundingClientRect();if(i){let t=null==(o=n.content)?void 0:o.dataset.side,s="right"===t,c=i[s?"left":"right"],d=i[s?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(s?-5:5),y:e.clientY},{x:c,y:i.top},{x:d,y:i.top},{x:d,y:i.bottom},{x:c,y:i.bottom}],side:t}),window.clearTimeout(u.current),u.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:tl(e.onKeyDown,t=>{var i;let s=""!==l.searchRef.current;e.disabled||s&&" "===t.key||a_[o.dir].includes(t.key)&&(n.onOpenChange(!0),null==(i=n.content)||i.focus(),t.preventDefault())})})})});of.displayName=od;var oh="MenuSubContent",op=M.forwardRef((e,t)=>{let n=aV(aq,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,l=a$(aq,e.__scopeMenu),s=az(aq,e.__scopeMenu),u=oc(oh,e.__scopeMenu),c=M.useRef(null),d=en(t,c);return ee.jsx(aO.Provider,{scope:e.__scopeMenu,children:ee.jsx(nw,{present:o||l.open,children:ee.jsx(aO.Slot,{scope:e.__scopeMenu,children:ee.jsx(aJ,{id:u.contentId,"aria-labelledby":u.triggerId,...i,ref:d,align:"start",side:"rtl"===s.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;s.isUsingKeyboardRef.current&&(null==(t=c.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:tl(e.onFocusOutside,e=>{e.target!==u.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:tl(e.onEscapeKeyDown,e=>{s.onClose(),e.preventDefault()}),onKeyDown:tl(e.onKeyDown,e=>{var t;let n=e.currentTarget.contains(e.target),o=aS[s.dir].includes(e.key);n&&o&&(l.onOpenChange(!1),null==(t=u.trigger)||t.focus(),e.preventDefault())})})})})})});function om(e){return e?"open":"closed"}function og(e){return"indeterminate"===e}function ov(e){return og(e)?"indeterminate":e?"checked":"unchecked"}function oy(e){return t=>"mouse"===t.pointerType?e(t):void 0}op.displayName=oh;var ob="DropdownMenu",[ow]=ts(ob,[aP]),ox=aP(),[oE,oC]=ow(ob),ok=e=>{let{__scopeDropdownMenu:t,children:n,dir:o,open:i,defaultOpen:l,onOpenChange:s,modal:u=!0}=e,c=ox(t),d=M.useRef(null),[f,h]=td({prop:i,defaultProp:l??!1,onChange:s,caller:ob});return ee.jsx(oE,{scope:t,triggerId:nk(),triggerRef:d,contentId:nk(),open:f,onOpenChange:h,onOpenToggle:M.useCallback(()=>h(e=>!e),[h]),modal:u,children:ee.jsx(aI,{...c,open:f,onOpenChange:h,dir:o,modal:u,children:n})})};ok.displayName=ob;var oM="DropdownMenuTrigger",o_=M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:o=!1,...i}=e,l=oC(oM,n),s=ox(n);return ee.jsx(aH,{asChild:!0,...s,children:ee.jsx(tm.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...i,ref:er(t,l.triggerRef),onPointerDown:tl(e.onPointerDown,e=>{!o&&0===e.button&&!1===e.ctrlKey&&(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:tl(e.onKeyDown,e=>{o||(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});o_.displayName=oM;var oS=e=>{let{__scopeDropdownMenu:t,...n}=e,o=ox(t);return ee.jsx(aU,{...o,...n})};oS.displayName="DropdownMenuPortal";var oj="DropdownMenuContent",oO=M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=oC(oj,n),l=ox(n),s=M.useRef(!1);return ee.jsx(aZ,{id:i.contentId,"aria-labelledby":i.triggerId,...l,...o,ref:t,onCloseAutoFocus:tl(e.onCloseAutoFocus,e=>{var t;s.current||null==(t=i.triggerRef.current)||t.focus(),s.current=!1,e.preventDefault()}),onInteractOutside:tl(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;(!i.modal||o)&&(s.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});oO.displayName=oj,M.forwardRef((e,t)=>
56{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(a1,{...i,...o,ref:t})}).displayName="DropdownMenuGroup",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(a0,{...i,...o,ref:t})}).displayName="DropdownMenuLabel";var oL=M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(a5,{...i,...o,ref:t})});function oA(e){return ee.jsx(ok,{...e})}oL.displayName="DropdownMenuItem",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(a6,{...i,...o,ref:t})}).displayName="DropdownMenuCheckboxItem",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(oe,{...i,...o,ref:t})}).displayName="DropdownMenuRadioGroup",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(or,{...i,...o,ref:t})}).displayName="DropdownMenuRadioItem",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(oi,{...i,...o,ref:t})}).displayName="DropdownMenuItemIndicator",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(ol,{...i,...o,ref:t})}).displayName="DropdownMenuSeparator",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(os,{...i,...o,ref:t})}).displayName="DropdownMenuArrow",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(of,{...i,...o,ref:t})}).displayName="DropdownMenuSubTrigger",M.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=ox(n);return ee.jsx(op,{...i,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";let oT=(0,M.forwardRef)((e,t)=>ee.jsx(o_,{ref:t,...e}));function oP(e){return ee.jsx(oS,{...e})}let oN=(0,M.forwardRef)(({className:e,...t},n)=>ee.jsx(oO,{className:e8("bg-white border-hairline shadow-level1 rounded-sm z-50 overflow-hidden",e),ref:n,...t})),oF=(0,M.forwardRef)(({className:e,style:t,...n},o)=>ee.jsx(oL,{className:e8("flex items-center p-3x gap-2x hover:bg-grey-200 focus-visible:outline-none dropdown-item-focus",e),style:t,ref:o,...n}));var oR=M.forwardRef((e,t)=>ee.jsx(tr.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null==(n=e.onMouseDown)||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));function o$({name:e="",label:t="",error:n="",helpText:o="",children:i,noGap:l=!1}){let s=!!n,u=!!o;return ee.jsxs("div",{className:"flex flex-col gap-1 w-full",children:[t&&ee.jsx(oR,{htmlFor:e,className:"text-xxs font-bold text-grey-900 text-left",children:t}),i,(s||o)&&(l?ee.jsxs("div",{className:"flex flex-col gap-0",children:[s&&ee.jsx("span",{className:"text-xxxs text-error-500 text-left",children:n}),u&&ee.jsx("span",{className:"text-xxxs text-grey-900 text-left",children:o})]}):ee.jsxs(ee.Fragment,{children:[s&&ee.jsx("span",{className:"text-xxxs text-error-500 text-left",children:n}),u&&ee.jsx("span",{className:"text-xxxs text-grey-900 text-left",children:o})]}))]})}oR.displayName="Label";let oD=(0,M.forwardRef)(({className:e,leadingIcon:t,trailingIcon:n,disabled:o,error:i="",helpText:l,name:s,label:u,wrapperStyle:c,...d},f)=>{let h=!!i;return ee.jsx(o$,{name:s,label:u,error:i,helpText:l,children:ee.jsxs("div",{className:e8(["flex","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-300","data-[placeholder]:text-grey-500","text-gray-900","overflow-hidden","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent",{"bg-grey-300 border-grey-500 text-grey-600 cursor-not-allowed":o},{"border-error-500":h},e]),style:c,children:[t&&ee.jsx("span",{className:e8(["size-6","mr-2x",{"text-error-500":h}]),children:t}),ee.jsx("input",{className:e8(["w-full","h-full","paragraph-xs","outline-none","bg-transparent","placeholder:text-grey-500","disabled:placeholder:text-grey-100","disabled:bg-grey-300","disabled:cursor-not-allowed"]),style:{color:"inherit"},name:s,id:s,ref:f,disabled:o,...d}),n&&ee.jsx("span",{className:e8(["size-6","ml-2x",{"text-error-500":h}]),children:n})]})})});oD.defaultProps={leadingIcon:void 0,trailingIcon:void 0,error:"",label:"",helpText:void 0,type:void 0,wrapperStyle:void 0};var oz=e=>"checkbox"===e.type,oI=e=>e instanceof Date,oH=e=>null==e;let oB=e=>"object"==typeof e;var oW=e=>!oH(e)&&!Array.isArray(e)&&oB(e)&&!oI(e),oV=e=>oW(e)&&e.target?oz(e.target)?e.target.checked:e.target.value:e,oU=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,oq=(e,t)=>e.has(oU(t)),oG=e=>{let t=e.constructor&&e.constructor.prototype;return oW(t)&&t.hasOwnProperty("isPrototypeOf")},oY="u">typeof window&&"u">typeof window.HTMLElement&&"u">typeof document,oZ=e=>
56/^\w*$/.test(e),oK=e=>void 0===e,oQ=e=>Array.isArray(e)?e.filter(Boolean):[],oX=e=>oQ(e.replace(/["|']|\]/g,"").split(/\.|\[/)),oJ=(e,t,n)=>{if(!t||!oW(e))return n;let o=(oZ(t)?[t]:oX(t)).reduce((e,t)=>oH(e)?e:e[t],e);return oK(o)||o===e?oK(e[t])?n:e[t]:o},o1=e=>"boolean"==typeof e,o0=(e,t,n)=>{let o=-1,i=oZ(t)?[t]:oX(t),l=i.length,s=l-1;for(;++o<l;){let t=i[o],l=n;if(o!==s){let n=e[t];l=oW(n)||Array.isArray(n)?n:isNaN(+i[o+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=l,e=e[t]}};let o2={all:"all"},o3=M.createContext(null);o3.displayName="HookFormContext";let o5=()=>M.useContext(o3);var o4=(e,t,n,o=!0)=>{let i={defaultValues:t._defaultValues};for(let l in e)Object.defineProperty(i,l,{get:()=>(t._proxyFormState[l]!==o2.all&&(t._proxyFormState[l]=!o||o2.all),n&&(n[l]=!0),e[l])});return i};let o6="u">typeof window?M.useLayoutEffect:M.useEffect;var o7=e=>"string"==typeof e,o8=(e,t,n,o,i)=>o7(e)?oJ(n,e,i):Array.isArray(e)?e.map(e=>oJ(n,e)):n,o9=e=>oH(e)||!oB(e);function ie(e,t,n=new WeakSet){if(o9(e)||o9(t))return Object.is(e,t);if(oI(e)&&oI(t))return e.getTime()===t.getTime();let o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;for(let l of(n.add(e),n.add(t),o)){let o=e[l];if(!i.includes(l))return!1;if("ref"!==l){let e=t[l];if(oI(o)&&oI(e)||oW(o)&&oW(e)||Array.isArray(o)&&Array.isArray(e)?!ie(o,e,n):!Object.is(o,e))return!1}}return!0}function it(e){let t=o5(),{name:n,disabled:o,control:i=t.control,shouldUnregister:l,defaultValue:s,exact:u=!0}=e,c=oq(i._names.array,n),d=M.useMemo(()=>oJ(i._formValues,n,oJ(i._defaultValues,n,s)),[i,n,s]),f=function(e){let t=o5(),{control:n=t.control,name:o,defaultValue:i,disabled:l,exact:s,compute:u}=e||{},c=M.useRef(i),d=M.useRef(u),f=M.useRef(void 0),h=M.useRef(n),p=M.useRef(o);d.current=u;
56let[m,g]=M.useState(()=>{let e=n._getWatch(o,c.current);return d.current?d.current(e):e}),v=M.useCallback(e=>{let t=o8(o,n._names,e||n._formValues,!1,c.current);return d.current?d.current(t):t},[n._formValues,n._names,o]),y=M.useCallback(e=>{if(!l){let t=o8(o,n._names,e||n._formValues,!1,c.current);if(d.current){let e=d.current(t);ie(e,f.current)||(g(e),f.current=e)}else g(t)}},[n._formValues,n._names,l,o]);o6(()=>(h.current===n&&ie(p.current,o)||(h.current=n,p.current=o,y()),n._subscribe({name:o,formState:{values:!0},exact:s,callback:e=>{y(e.values)}})),[n,s,o,y]),M.useEffect(()=>n._removeUnmounted());let b=h.current!==n,w=p.current,x=M.useMemo(()=>{if(l)return null;let e=!b&&!ie(w,o);return b||e?v():null},[l,b,o,w,v]);return null!==x?x:m}({control:i,name:n,defaultValue:d,exact:u}),h=function(e){let t=o5(),{control:n=t.control,disabled:o,name:i,exact:l}=e||{},[s,u]=M.useState(n._formState),c=M.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return o6(()=>n._subscribe({name:i,formState:c.current,exact:l,callback:e=>{o||u({...n._formState,...e})}}),[i,o,l]),M.useEffect(()=>{c.current.isValid&&n._setValid(!0)},[n]),M.useMemo(()=>o4(s,n,c.current,!1),[s,n])}({control:i,name:n,exact:u}),p=M.useRef(e),m=M.useRef(void 0),g=M.useRef(i.register(n,{...e.rules,value:f,...o1(e.disabled)?{disabled:e.disabled}:{}}));p.current=e;let v=M.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!oJ(h.errors,n)},isDirty:{enumerable:!0,get:()=>!!oJ(h.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!oJ(h.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!oJ(h.validatingFields,n)},error:{enumerable:!0,get:()=>oJ(h.errors,n)}}),[h,n]),y=M.useCallback(e=>g.current.onChange({target:{value:oV(e),name:n},type:"change"}),[n]),b=M.useCallback(()=>g.current.onBlur({target:{value:oJ(i._formValues,n),name:n},type:"blur"}),[n,i._formValues]),w=M.useCallback(e=>{let t=oJ(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[i._fields,n]),x=M.useMemo(()=>({name:n,value:f,...o1(o)||h.disabled?{disabled:h.disabled||o}:{},onChange:y,onBlur:b,ref:w}),[n,o,h.disabled,y,b,w,f]);return M.useEffect(()=>{let e=i._options.shouldUnregister||l,t=m.current;t&&t!==n&&!c&&i.unregister(t),i.register(n,{...p.current.rules,...o1(p.current.disabled)?{disabled:p.current.disabled}:{}});let o=(e,t)=>{let n=oJ(i._fields,e);n&&n._f&&(n._f.mount=t)};if(o(n,!0),e){let e=function e(t){let n;let o=Array.isArray(t),i="u">typeof FileList&&t instanceof FileList;if(t instanceof Date)n=new Date(t);else if(!(!(oY&&(t instanceof Blob||i))&&(o||oW(t))))return t;else if(n=o?[]:Object.create(Object.getPrototypeOf(t)),o||oG(t))for(let o in t)t.hasOwnProperty(o)&&(n[o]=e(t[o]));else n=t;return n}(oJ(i._options.defaultValues,n,p.current.defaultValue));o0(i._defaultValues,n,e),oK(oJ(i._formValues,n))&&o0(i._formValues,n,e)}return c||i.register(n),m.current=n,()=>{(c?e&&!i._state.action:e)?i.unregister(n):o(n,!1)}},[n,i,c,l]),M.useEffect(()=>{i._setDisabledField({disabled:o,name:n})},[o,n,i]),M.useMemo(()=>({field:x,formState:h,fieldState:v}),[x,h,v])}let ir=e=>e.render(it(e)),ia=(uj=function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,(function(t){return e[t]}).bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=9)}([function(e,t){e.exports=M},function(e,t,n){var o;!/*! 57 Copyright (c) 2017 Jed Watson. 58 Licensed under the MIT License (MIT), see 59 http://jedwatson.github.io/classnames 60 */function(){var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var l=typeof o;if("string"===l||"number"===l)e.push(o);else if(Array.isArray(o)&&o.length){var s=i.apply(null,o);s&&e.push(s)}else if("object"===l)for(var u in o)n.call(o,u)&&o[u]&&e.push(u)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(o=(function(){return i}
60).apply(t,[]))||(e.exports=o)}()},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),f=Object.prototype.toString,h=d.Symbol,p=h?h.prototype:void 0,m=p?p.toString:void 0;function g(e){if("string"==typeof e)return e;if(y(e))return m?m.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){return"symbol"==typeof e||!!e&&"object"==typeof e&&"[object Symbol]"==f.call(e)}e.exports=function(e,t,u){var c,d,f,h,p,m;return e=null==(c=e)?"":g(c),m=(p=(h=u)?(h=function(e){if("number"==typeof e)return e;if(y(e))return NaN;if(v(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=v(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var u=i.test(e);return u||l.test(e)?s(e.slice(2),u?2:8):o.test(e)?NaN:+e}(h))===1/0||h===-1/0?17976931348623157e292*(h<0?-1:1):h==h?h:0:0===h?h:0)%1,d=p==p?m?p-m:p:0,f=e.length,d==d&&(void 0!==f&&(d=d<=f?d:f),d=d>=0?d:0),u=d,t=g(t),e.slice(u,u+t.length)==t}}).call(this,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()}catch{"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){(function(t){var n,o=/^\[object .+?Constructor\]$/,i="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,s=i||l||Function("return this")(),u=Array.prototype,c=Function.prototype,d=Object.prototype,f=s["__core-js_shared__"],h=(n=/[^.]+$/.exec(f&&f.keys&&f.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",p=c.toString,m=d.hasOwnProperty,g=d.toString,v=RegExp("^"+p.call(m).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=u.splice,b=_(s,"Map"),w=_(Object,"create");function x(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function E(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function C(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function k(e,t){for(var n,o=e.length;o--;)if((n=e[o][0])===t||n!=n&&t!=t)return o;return -1}function M(e,t){var n,o=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?o["string"==typeof t?"string":"hash"]:o.map}function _(e,t){var n,i,l=e?.[t];return!(!j(n=l)||h&&h in n)&&("[object Function]"==(i=j(n)?g.call(n):"")||"[object GeneratorFunction]"==i||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch{}return t}(n)?v:o).test(function(e){if(null!=e){try{return p.call(e)}catch{}try{return e+""}catch{}}return""}(n))?l:void 0}function S(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],l=n.cache;if(l.has(i))return l.get(i);var s=e.apply(this,o);return n.cache=l.set(i,s),s};return n.cache=new(S.Cache||C),n}function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}x.prototype.clear=function(){this.__data__=w?w(null):{}},x.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},x.prototype.get=function(e){var t=this.__data__;if(w){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return m.call(t,e)?t[e]:void 0},x.prototype.has=function(e){var t=this.__data__;return w?void 0!==t[e]:m.call(t,e)},x.prototype.set=function(e,t){return this.__data__[e]=w&&void 0===t?"__lodash_hash_undefined__":t,this},E.prototype.clear=function(){this.__data__=[]},E.prototype.delete=function(e){var t=this.__data__,n=k(t,e);return!(n<0)&&(n==t.length-1?t.pop():y.call(t,n,1),!0)},E.prototype.get=function(e){var t=this.__data__,n=k(t,e);return n<0?void 0:t[n][1]},E.prototype.has=function(e){return k(this.__data__,e)>-1},E.prototype.set=function(e,t){var n=this.__data__,o=k(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new x,map:new(b||E),string:new x}},C.prototype.delete=function(e){return M(this,e).delete(e)},C.prototype.get=function(e){return M(this,e).get(e)},C.prototype.has=function(e){return M(this,e).has(e)},C.prototype.set=function(e,t){return M(this,e).set(e,t),this},S.Cache=C,e.exports=S}).call(this,n(3))},function(e,t,n){(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,l=/^0o[0-7]+$/i,s=parseInt,u="object"==typeof t&&t&&t.Object===Object&&t,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),f=Object.prototype.toString,h=Math.max,p=Math.min,m=function(){return d.Date.now()};function g(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return NaN;
vendor: 7,145 bytes, line 60
60if(g(e)){var t,u="function"==typeof e.valueOf?e.valueOf():e;e=g(u)?u+"":u}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var c=i.test(e);return c||l.test(e)?s(e.slice(2),c?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var o,i,l,s,u,c,d=0,f=!1,y=!1,b=!0;if("function"!=typeof e)throw TypeError("Expected a function");function w(t){var n=o,l=i;return o=i=void 0,d=t,s=e.apply(l,n)}function x(e){var n=e-c;return void 0===c||n>=t||n<0||y&&e-d>=l}function E(){var e,n=m();if(x(n))return C(n);u=setTimeout(E,(e=t-(n-c),y?p(e,l-(n-d)):e))}function C(e){return u=void 0,b&&o?w(e):(o=i=void 0,s)}function k(){var e,n=m(),l=x(n);if(o=arguments,i=this,c=n,l){if(void 0===u)return d=e=c,u=setTimeout(E,t),f?w(e):s;if(y)return u=setTimeout(E,t),w(c)}return void 0===u&&(u=setTimeout(E,t)),s}return t=v(t)||0,g(n)&&(f=!!n.leading,l=(y="maxWait"in n)?h(v(n.maxWait)||0,t):l,b="trailing"in n?!!n.trailing:b),k.cancel=function(){void 0!==u&&clearTimeout(u),d=0,o=c=i=u=void 0},k.flush=function(){return void 0===u?s:C(m())},k}}).call(this,n(3))},function(e,t,n){(function(e,n){var o="[object Arguments]",i="[object Map]",l="[object Object]",s="[object Set]",u=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,c=/^\w*$/,d=/^\./,f=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,h=/\\(\\)?/g,p=/^\[object .+?Constructor\]$/,m=/^(?:0|[1-9]\d*)$/,g={};g["[object Float32Array]"]=g["[object Float64Array]"]=g["[object Int8Array]"]=g["[object Int16Array]"]=g["[object Int32Array]"]=g["[object Uint8Array]"]=g["[object Uint8ClampedArray]"]=g["[object Uint16Array]"]=g["[object Uint32Array]"]=!0,g[o]=g["[object Array]"]=g["[object ArrayBuffer]"]=g["[object Boolean]"]=g["[object DataView]"]=g["[object Date]"]=g["[object Error]"]=g["[object Function]"]=g[i]=g["[object Number]"]=g[l]=g["[object RegExp]"]=g[s]=g["[object String]"]=g["[object WeakMap]"]=!1;var v="object"==typeof e&&e&&e.Object===Object&&e,y="object"==typeof self&&self&&self.Object===Object&&self,b=v||y||Function("return this")(),w=t&&!t.nodeType&&t,x=w&&"object"==typeof n&&n&&!n.nodeType&&n,E=x&&x.exports===w&&v.process,C=function(){try{return E&&E.binding("util")}catch{}}(),k=C&&C.isTypedArray;function M(e,t,n,o){var i=-1,l=e?e.length:0;for(o&&l&&(n=e[++i]);++i<l;)n=t(n,e[i],i,e);return n}function _(e,t,n,o,i){return i(e,function(e,i,l){n=o?(o=!1,e):t(n,e,i,l)}),n}function S(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch{}return t}function j(e){var t=-1,n=Array(e.size);return e.forEach(function(e,o){n[++t]=[o,e]}),n}function O(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}var L,A,T,P=Array.prototype,N=Function.prototype,F=Object.prototype,R=b["__core-js_shared__"],$=(L=/[^.]+$/.exec(R&&R.keys&&R.keys.IE_PROTO||""))?"Symbol(src)_1."+L:"",D=N.toString,z=F.hasOwnProperty,I=F.toString,H=RegExp("^"+D.call(z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),B=b.Symbol,W=b.Uint8Array,U=F.propertyIsEnumerable,q=P.splice,G=(A=Object.keys,T=Object,function(e){return A(T(e))}),Y=eE(b,"DataView"),Z=eE(b,"Map"),K=eE(b,"Promise"),Q=eE(b,"Set"),X=eE(b,"WeakMap"),J=eE(Object,"create"),ee=eO(Y),et=eO(Z),er=eO(K),en=eO(Q),ea=eO(X),eo=B?B.prototype:void 0,ei=eo?eo.valueOf:void 0,el=eo?eo.toString:void 0;function es(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function eu(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function ec(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}function ed(e){var t=-1,n=e?e.length:0;for(this.__data__=new ec;++t<n;)this.add(e[t])}function ef(e){this.__data__=new eu(e)}function eh(e,t){for(var n=e.length;n--;)if(eA(e[n][0],t))return n;return -1}es.prototype.clear=function(){this.__data__=J?J(null):{}},es.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},es.prototype.get=function(e){var t=this.__data__;if(J){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return z.call(t,e)?t[e]:void 0},es.prototype.has=function(e){var t=this.__data__;return J?void 0!==t[e]:z.call(t,e)},es.prototype.set=function(e,t){return this.__data__[e]=J&&void 0===t?"__lodash_hash_undefined__":t,this},eu.prototype.clear=function(){this.__data__=[]},eu.prototype.delete=function(e){var t=this.__data__,n=eh(t,e);return!(n<0)&&(n==t.length-1?t.pop():q.call(t,n,1),!0)},eu.prototype.get=function(e){var t=this.__data__,n=eh(t,e);return n<0?void 0:t[n][1]},eu.prototype.has=function(e){return eh(this.__data__,e)>-1},eu.prototype.set=function(e,t){var n=this.__data__,o=eh(n,e);return o<0?n.push([e,t]):n[o][1]=t,this},ec.prototype.clear=function(){this.__data__={hash:new es,map:new(Z||eu),string:new es}},ec.prototype.delete=function(e){return ex(this,e).delete(e)},ec.prototype.get=function(e){return ex(this,e).get(e)},ec.prototype.has=function(e){return ex(this,e).has(e)},ec.prototype.set=function(e,t){return ex(this,e).set(e,t),this},ed.prototype.add=ed.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},ed.prototype.has=function(e){return this.__data__.has(e)},ef.prototype.clear=function(){this.__data__=new eu},ef.prototype.delete=function(e){return this.__data__.delete(e)},ef.prototype.get=function(e){return this.__data__.get(e)},ef.prototype.has=function(e){return this.__data__.has(e)},ef.prototype.set=function(e,t){var n=this.__data__;if(n instanceof eu){var o=n.__data__;if(!Z||o.length<199)return o.push([e,t]),this;n=this.__data__=new ec(o)}return n.set(e,t),this};var ep,em=(ep=function(e,t){return e&&eg(e,t,eH)},function(e,t){if(null==e)return e;if(!eN(e))return ep(e,t);for(var n=e.length,o=-1,i=Object(e);++o<n&&!1!==t(i[o],o,i););return e}),eg=function(e,t,n){for(var o=-1,i=Object(e),l=n(e),s=l.length;s--;){var u=l[++o];if(!1===t(i[u],u,i))break}return e};function ev(e,t){for(var n,o=0,i=(t=eM(t,e)?[t]:eP(n=t)?n:eS(n)).length;null!=e&&o<i;)e=e[ej(t[o++])];return o&&o==i?e:void 0}function ey(e,t){return null!=e&&t in Object(e)}function eb(e,t,n,u,c){return e===t||(null!=e&&null!=t&&(e$(e)||eD(t))?function(e,t,n,u,c,d){var f=eP(e),h=eP(t),p="[object Array]",m="[object Array]";f||(p=(p=eC(e))==o?l:p),h||(m=(m=eC(t))==o?l:m);var g=p==l&&!S(e),v=m==l&&!S(t),y=p==m;if(y&&!g)return d||(d=new ef),f||eI(e)?ew(e,t,n,u,c,d):function(e,t,n,o,l,u,c){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!o(new W(e),new W(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eA(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case i:var d=j;case s:var f=2&u;if(d||(d=O),e.size!=t.size&&!f)break;var h=c.get(e);if(h)return h==t;u|=1,c.set(e,t);var p=ew(d(e),d(t),o,l,u,c);return c.delete(e),p;case"[object Symbol]":if(ei)return ei.call(e)==ei.call(t)}return!1}(e,t,p,n,u,c,d);if(!(2&c)){var b=g&&z.call(e,"__wrapped__"),w=v&&z.call(t,"__wrapped__");
60if(b||w){var x=b?e.value():e,E=w?t.value():t;return d||(d=new ef),n(x,E,u,c,d)}}return!!y&&(d||(d=new ef),function(e,t,n,o,i,l){var s=2&i,u=eH(e),c=u.length;if(c!=eH(t).length&&!s)return!1;for(var d=c;d--;){var f=u[d];if(!(s?f in t:z.call(t,f)))return!1}var h=l.get(e);if(h&&l.get(t))return h==t;var p=!0;l.set(e,t),l.set(t,e);for(var m=s;++d<c;){var g=e[f=u[d]],v=t[f];if(o)var y=s?o(v,g,f,t,e,l):o(g,v,f,e,t,l);if(!(void 0===y?g===v||n(g,v,o,i,l):y)){p=!1;break}m||(m="constructor"==f)}if(p&&!m){var b=e.constructor,w=t.constructor;b==w||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w||(p=!1)}return l.delete(e),l.delete(t),p}(e,t,n,u,c,d))}(e,t,eb,n,u,c):e!=e&&t!=t)}function ew(e,t,n,o,i,l){var s=2&i,u=e.length,c=t.length;if(u!=c&&!(s&&c>u))return!1;var d=l.get(e);if(d&&l.get(t))return d==t;var f=-1,h=!0,p=1&i?new ed:void 0;for(l.set(e,t),l.set(t,e);++f<u;){var m=e[f],g=t[f];if(o)var v=s?o(g,m,f,t,e,l):o(m,g,f,e,t,l);if(void 0!==v){if(v)continue;h=!1;break}if(p){if(!function(e,t){for(var n=-1,o=e?e.length:0;++n<o;)if(t(e[n],n,e))return!0;return!1}(t,function(e,t){if(!p.has(t)&&(m===e||n(m,e,o,i,l)))return p.add(t)})){h=!1;break}}else if(m!==g&&!n(m,g,o,i,l)){h=!1;break}}return l.delete(e),l.delete(t),h}function ex(e,t){var n,o=e.__data__;return("string"==(n=typeof t)||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==t:null===t)?o["string"==typeof t?"string":"hash"]:o.map}function eE(e,t){var n=e?.[t];return!(!e$(n)||$&&$ in n)&&(eF(n)||S(n)?H:p).test(eO(n))?n:void 0}var eC=function(e){return I.call(e)};function ek(e,t){return!!(t=t??9007199254740991)&&("number"==typeof e||m.test(e))&&e>-1&&e%1==0&&e<t}function eM(e,t){if(eP(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ez(e))||c.test(e)||!u.test(e)||null!=t&&e in Object(t)}function e_(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}(Y&&"[object DataView]"!=eC(new Y(new ArrayBuffer(1)))||Z&&eC(new Z)!=i||K&&"[object Promise]"!=eC(K.resolve())||Q&&eC(new Q)!=s||X&&"[object WeakMap]"!=eC(new X))&&(eC=function(e){var t=I.call(e),n=t==l?e.constructor:void 0,o=n?eO(n):void 0;if(o)switch(o){case ee:return"[object DataView]";case et:return i;case er:return"[object Promise]";case en:return s;case ea:return"[object WeakMap]"}return t});var eS=eL(function(e){e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(ez(e))return el?el.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var t,n=[];return d.test(e)&&n.push(""),e.replace(f,function(e,t,o,i){n.push(o?i.replace(h,"$1"):t||e)}),n});function ej(e){if("string"==typeof e||ez(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function eO(e){if(null!=e){try{return D.call(e)}catch{}try{return e+""}catch{}}return""}function eL(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var o=arguments,i=t?t.apply(this,o):o[0],l=n.cache;if(l.has(i))return l.get(i);var s=e.apply(this,o);return n.cache=l.set(i,s),s};return n.cache=new(eL.Cache||ec),n}function eA(e,t){return e===t||e!=e&&t!=t}function eT(e){return eD(e)&&eN(e)&&z.call(e,"callee")&&(!U.call(e,"callee")||I.call(e)==o)}eL.Cache=ec;var eP=Array.isArray;function eN(e){return null!=e&&eR(e.length)&&!eF(e)}function eF(e){var t=e$(e)?I.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function eR(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function e$(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function eD(e){return!!e&&"object"==typeof e}function ez(e){return"symbol"==typeof e||eD(e)&&"[object Symbol]"==I.call(e)}var eI=k?function(e){return k(e)}:function(e){return eD(e)&&eR(e.length)&&!!g[I.call(e)]};function eH(e){return eN(e)?function(e,t){var n=eP(e)||eT(e)?function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}(e.length,String):[],o=n.length,i=!!o;for(var l in e)!z.call(e,l)||i&&("length"==l||ek(l,o))||n.push(l);return n}(e):function(e){if(n="function"==typeof(t=e&&e.constructor)&&t.prototype||F,e!==n)return G(e);var t,n,o=[];for(var i in Object(e))z.call(e,i)&&"constructor"!=i&&o.push(i);return o}(e)}function eB(e){return e}n.exports=function(e,t,n){var o,i,l,s,u,c=eP(e)?M:_,d=arguments.length<3;return c(e,"function"==typeof t?t:null==t?eB:"object"==typeof t?eP(t)?(l=t[0],s=t[1],eM(l)&&(o=s)==o&&!e$(o)?e_(ej(l),s):function(e){var t,n=void 0===(t=null==e?void 0:ev(e,l))?void 0:t;return void 0===n&&n===s?null!=e&&function(e,t,n){var o;t=eM(t,e)?[t]:eP(o=t)?o:eS(o);for(var i,l=-1,s=t.length;++l<s;){var u=ej(t[l]);if(!(i=null!=e&&n(e,u)))break;e=e[u]}return i||!!(s=e?e.length:0)&&eR(s)&&ek(u,s)&&(eP(e)||eT(e))}(e,l,ey):eb(s,n,void 0,3)}):1==(u=function(e){for(var t=eH(e),n=t.length;n--;){var o=t[n],i=e[o];t[n]=[o,i,i==i&&!e$(i)]}return t}(t)).length&&u[0][2]?e_(u[0][0],u[0][1]):function(e){return e===t||function(e,t,n,o){var i=n.length,l=i;if(null==e)return!l;for(e=Object(e);i--;){var s=n[i];if(s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<l;){var u=(s=n[i])[0],c=e[u],d=s[1];if(s[2]){if(void 0===c&&!(u in e))return!1}else{var f,h=new ef;if(!(void 0===f?eb(d,c,void 0,3,h):f))return!1}}return!0}(e,0,u)}:eM(t)?(i=ej(t),function(e){return e?.[i]}):function(e){return ev(e,t)},n,d,em)}}).call(this,n(3),n(7)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){String.prototype.padEnd||(String.prototype.padEnd=function(e,t){return e>>=0,t=String(void 0!==t?t:" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),String(this)+t.slice(0,e))})},function(e,t,n){function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}function l(e){return function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||i(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance")}()}function s(e){if(Array.isArray(e))return e}
60function u(){throw TypeError("Invalid attempt to destructure non-iterable instance")}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e){return(f="function"==typeof Symbol&&"symbol"===d(Symbol.iterator)?function(e){return d(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":d(e)})(e)}function h(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}n.r(t);var g=n(0),v=n.n(g),y=n(5),b=n.n(y),w=n(4),x=n.n(w),E=n(6),C=n.n(E),
vendor: 8,928 bytes, line 60
60k=n(2),M=n.n(k),_=n(1),S=n.n(_);function j(e,t){return s(e)||function(e,t){var n=[],o=!0,i=!1,l=void 0;try{for(var s,u=e[Symbol.iterator]();!(o=(s=u.next()).done)&&(n.push(s.value),!t||n.length!==t);o=!0);}catch(e){i=!0,l=e}finally{try{o||null==u.return||u.return()}finally{if(i)throw l}}return n}(e,t)||u()}n(8);var O=[["Afghanistan",["asia"],"af","93"],["Albania",["europe"],"al","355"],["Algeria",["africa","north-africa"],"dz","213"],["Andorra",["europe"],"ad","376"],["Angola",["africa"],"ao","244"],["Antigua and Barbuda",["america","carribean"],"ag","1268"],["Argentina",["america","south-america"],"ar","54","(..) ........",0,["11","221","223","261","264","2652","280","2905","291","2920","2966","299","341","342","343","351","376","379","381","3833","385","387","388"]],["Armenia",["asia","ex-ussr"],"am","374",".. ......"],["Aruba",["america","carribean"],"aw","297"],["Australia",["oceania"],"au","61","(..) .... ....",0,["2","3","4","7","8","02","03","04","07","08"]],["Austria",["europe","eu-union"],"at","43"],["Azerbaijan",["asia","ex-ussr"],"az","994","(..) ... .. .."],["Bahamas",["america","carribean"],"bs","1242"],["Bahrain",["middle-east"],"bh","973"],["Bangladesh",["asia"],"bd","880"],["Barbados",["america","carribean"],"bb","1246"],["Belarus",["europe","ex-ussr"],"by","375","(..) ... .. .."],["Belgium",["europe","eu-union"],"be","32","... .. .. .."],["Belize",["america","central-america"],"bz","501"],["Benin",["africa"],"bj","229"],["Bhutan",["asia"],"bt","975"],["Bolivia",["america","south-america"],"bo","591"],["Bosnia and Herzegovina",["europe","ex-yugos"],"ba","387"],["Botswana",["africa"],"bw","267"],["Brazil",["america","south-america"],"br","55","(..) ........."],["British Indian Ocean Territory",["asia"],"io","246"],["Brunei",["asia"],"bn","673"],["Bulgaria",["europe","eu-union"],"bg","359"],["Burkina Faso",["africa"],"bf","226"],["Burundi",["africa"],"bi","257"],["Cambodia",["asia"],"kh","855"],["Cameroon",["africa"],"cm","237"],["Canada",["america","north-america"],"ca","1","(...) ...-....",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde",["africa"],"cv","238"],["Caribbean Netherlands",["america","carribean"],"bq","599","",1],["Central African Republic",["africa"],"cf","236"],["Chad",["africa"],"td","235"],["Chile",["america","south-america"],"cl","56"],["China",["asia"],"cn","86","..-........."],["Colombia",["america","south-america"],"co","57","... ... ...."],["Comoros",["africa"],"km","269"],["Congo",["africa"],"cd","243"],["Congo",["africa"],"cg","242"],["Costa Rica",["america","central-america"],"cr","506","....-...."],["C\xf4te dâIvoire",["africa"],"ci","225",".. .. .. .."],["Croatia",["europe","eu-union","ex-yugos"],"hr","385"],["Cuba",["america","carribean"],"cu","53"],["Cura\xe7ao",["america","carribean"],"cw","599","",0],["Cyprus",["europe","eu-union"],"cy","357",".. ......"],["Czech Republic",["europe","eu-union"],"cz","420","... ... ..."],["Denmark",["europe","eu-union","baltic"],"dk","45",".. .. .. .."],["Djibouti",["africa"],"dj","253"],["Dominica",["america","carribean"],"dm","1767"],["Dominican Republic",["america","carribean"],"do","1","",2,["809","829","849"]],["Ecuador",["america","south-america"],"ec","593"],["Egypt",["africa","north-africa"],"eg","20"],["El Salvador",["america","central-america"],"sv","503","....-...."],["Equatorial Guinea",["africa"],"gq","240"],["Eritrea",["africa"],"er","291"],["Estonia",["europe","eu-union","ex-ussr","baltic"],"ee","372",".... ......"],["Ethiopia",["africa"],"et","251"],["Fiji",["oceania"],"fj","679"],["Finland",["europe","eu-union","baltic"],"fi","358",".. ... .. .."],["France",["europe","eu-union"],"fr","33",". .. .. .. .."],["French Guiana",["america","south-america"],"gf","594"],["French Polynesia",["oceania"],"pf","689"],["Gabon",["africa"],"ga","241"],["Gambia",["africa"],"gm","220"],["Georgia",["asia","ex-ussr"],"ge","995"],["Germany",["europe","eu-union","baltic"],"de","49",".... ........"],["Ghana",["africa"],"gh","233"],["Greece",["europe","eu-union"],"gr","30"],["Grenada",["america","carribean"],"gd","1473"],["Guadeloupe",["america","carribean"],"gp","590","",0],["Guam",["oceania"],"gu","1671"],["Guatemala",["america","central-america"],"gt","502","....-...."],["Guinea",["africa"],"gn","224"],["Guinea-Bissau",["africa"],"gw","245"],["Guyana",["america","south-america"],"gy","592"],["Haiti",["america","carribean"],"ht","509","....-...."],["Honduras",["america","central-america"],"hn","504"],["Hong Kong",["asia"],"hk","852",".... ...."],["Hungary",["europe","eu-union"],"hu","36"],["Iceland",["europe"],"is","354","... ...."],["India",["asia"],"in","91",".....-....."],["Indonesia",["asia"],"id","62"],["Iran",["middle-east"],"ir","98","... ... ...."],["Iraq",["middle-east"],"iq","964"],["Ireland",["europe","eu-union"],"ie","353",".. ......."],["Israel",["middle-east"],"il","972","... ... ...."],["Italy",["europe","eu-union"],"it","39","... .......",0],["Jamaica",["america","carribean"],"jm","1876"],["Japan",["asia"],"jp","81",".. .... ...."],["Jordan",["middle-east"],"jo","962"],["Kazakhstan",["asia","ex-ussr"],"kz","7","... ...-..-..",1,["310","311","312","313","315","318","321","324","325","326","327","336","7172","73622"]],["Kenya",["africa"],"ke","254"],["Kiribati",["oceania"],"ki","686"],["Kosovo",["europe","ex-yugos"],"xk","383"],["Kuwait",["middle-east"],"kw","965"],["Kyrgyzstan",["asia","ex-ussr"],"kg","996","... ... ..."],["Laos",["asia"],"la","856"],["Latvia",["europe","eu-union","ex-ussr","baltic"],"lv","371",".. ... ..."],["Lebanon",["middle-east"],"lb","961"],["Lesotho",["africa"],"ls","266"],["Liberia",["africa"],"lr","231"],["Libya",["africa","north-africa"],"ly","218"],["Liechtenstein",["europe"],"li","423"],["Lithuania",["europe","eu-union","ex-ussr","baltic"],"lt","370"],["Luxembourg",["europe","eu-union"],"lu","352"],["Macau",["asia"],"mo","853"],["Macedonia",["europe","ex-yugos"],"mk","389"],["Madagascar",["africa"],"mg","261"],["Malawi",["africa"],"mw","265"],["Malaysia",["asia"],"my","60","..-....-...."],["Maldives",["asia"],"mv","960"],["Mali",["africa"],"ml","223"],["Malta",["europe","eu-union"],"mt","356"],["Marshall Islands",["oceania"],"mh","692"],["Martinique",["america","carribean"],"mq","596"],["Mauritania",["africa"],"mr","222"],["Mauritius",["africa"],"mu","230"],["Mexico",["america","central-america"],"mx","52","... ... ....",0,["55","81","33","656","664","998","774","229"]],["Micronesia",["oceania"],"fm","691"],["Moldova",["europe"],"md","373","(..) ..-..-.."],["Monaco",["europe"],"mc","377"],["Mongolia",["asia"],"mn","976"],["Montenegro",["europe","ex-yugos"],"me","382"],["Morocco",["africa","north-africa"],"ma","212"],["Mozambique",["africa"],"mz","258"],["Myanmar",["asia"],"mm","95"],["Namibia",["africa"],"na","264"],["Nauru",["africa"],"nr","674"],["Nepal",["asia"],"np","977"],["Netherlands",["europe","eu-union"],"nl","31",".. ........"],["New Caledonia",["oceania"],"nc","687"],["New Zealand",["oceania"],"nz","64","...-...-...."],["Nicaragua",["america","central-america"],"ni","505"],["Niger",["africa"],"ne","227"],["Nigeria",["africa"],"ng","234"],["North Korea",["asia"],"kp","850"],["Norway",["europe","baltic"],"no","47","... .. ..."],["Oman",["middle-east"],"om","968"],["Pakistan",["asia"],"pk","92","...-......."],["Palau",["oceania"],"pw","680"],["Palestine",["middle-east"],"ps","970"],["Panama",["america","central-america"],"pa","507"],["Papua New Guinea",["oceania"],"pg","675"],["Paraguay",["america","south-america"],"py","595"],["Peru",["america","south-america"],"pe","51"],["Philippines",["asia"],"ph","63",".... ......."],["Poland",["europe","eu-union","baltic"],"pl","48","...-...-..."],["Portugal",["europe","eu-union"],"pt","351"],["Puerto Rico",["america","carribean"],"pr","1","",3,["787","939"]],["Qatar",["middle-east"],"qa","974"],["R\xe9union",["africa"],"re","262"],["Romania",["europe","eu-union"],"ro","40"],["Russia",["europe","asia","ex-ussr","baltic"],"ru","7","(...) ...-..-..",0],["Rwanda",["africa"],"rw","250"],["Saint Kitts and Nevis",["america","carribean"],"kn","1869"],["Saint Lucia",["america","carribean"],"lc","1758"],["Saint Vincent and the Grenadines",["america","carribean"],"vc","1784"],["Samoa",["oceania"],"ws","685"],["San Marino",["europe"],"sm","378"],["S\xe3o Tom\xe9 and Pr\xedncipe",["africa"],"st","239"],["Saudi Arabia",["middle-east"],"sa","966"],["Senegal",["africa"],"sn","221"],["Serbia",["europe","ex-yugos"],"rs","381"],["Seychelles",["africa"],"sc","248"],["Sierra Leone",["africa"],"sl","232"],["Singapore",["asia"],"sg","65","....-...."],["Slovakia",["europe","eu-union"],"sk","421"],["Slovenia",["europe","eu-union","ex-yugos"],"si","386"],["Solomon Islands",["oceania"],"sb","677"],["S
60omalia",["africa"],"so","252"],["South Africa",["africa"],"za","27"],["South Korea",["asia"],"kr","82","... .... ...."],["South Sudan",["africa","north-africa"],"ss","211"],["Spain",["europe","eu-union"],"es","34","... ... ..."],["Sri Lanka",["asia"],"lk","94"],["Sudan",["africa"],"sd","249"],["Suriname",["america","south-america"],"sr","597"],["Swaziland",["africa"],"sz","268"],["Sweden",["europe","eu-union","baltic"],"se","46","(...) ...-..."],["Switzerland",["europe"],"ch","41",".. ... .. .."],["Syria",["middle-east"],"sy","963"],["Taiwan",["asia"],"tw","886"],["Tajikistan",["asia","ex-ussr"],"tj","992"],["Tanzania",["africa"],"tz","255"],["Thailand",["asia"],"th","66"],["Timor-Leste",["asia"],"tl","670"],["Togo",["africa"],"tg","228"],["Tonga",["oceania"],"to","676"],["Trinidad and Tobago",["america","carribean"],"tt","1868"],["Tunisia",["africa","north-africa"],"tn","216"],["Turkey",["europe"],"tr","90","... ... .. .."],["Turkmenistan",["asia","ex-ussr"],"tm","993"],["Tuvalu",["asia"],"tv","688"],["Uganda",["africa"],"ug","256"],["Ukraine",["europe","ex-ussr"],"ua","380","(..) ... .. .."],["United Arab Emirates",["middle-east"],"ae","971"],["United Kingdom",["europe","eu-union"],"gb","44",".... ......"],["United States",["america","north-america"],"us","1","(...) ...-....",0,["907","205","251","256","334","479","501","870","480","520","602","623","928","209","213","310","323","408","415","510","530","559","562","619","626","650","661","707","714","760","805","818","831","858","909","916","925","949","951","303","719","970","203","860","202","302","239","305","321","352","386","407","561","727","772","813","850","863","904","941","954","229","404","478","706","770","912","808","319","515","563","641","712","208","217","309","312","618","630","708","773","815","847","219","260","317","574","765","812","316","620","785","913","270","502","606","859","225","318","337","504","985","413","508","617","781","978","301","410","207","231","248","269","313","517","586","616","734","810","906","989","218","320","507","612","651","763","952","314","417","573","636","660","816","228","601","662","406","252","336","704","828","910","919","701","308","402","603","201","609","732","856","908","973","505","575","702","775","212","315","516","518","585","607","631","716","718","845","914","216","330","419","440","513","614","740","937","405","580","918","503","541","215","412","570","610","717","724","814","401","803","843","864","605","423","615","731","865","901","931","210","214","254","281","325","361","409","432","512","713","806","817","830","903","915","936","940","956","972","979","435","801","276","434","540","703","757","804","802","206","253","360","425","509","262","414","608","715","920","304","307"]],["Uruguay",["america","south-america"],"uy","598"],["Uzbekistan",["asia","ex-ussr"],"uz","998",".. ... .. .."],["Vanuatu",["oceania"],"vu","678"],["Vatican City",["europe"],"va","39",".. .... ....",1],["Venezuela",["america","south-america"],"ve","58"],["Vietnam",["asia"],"vn","84"],["Yemen",["middle-east"],"ye","967"],["Zambia",["africa"],"zm","260"],["Zimbabwe",["africa"],"zw","263"]],L=[["American Samoa",["oceania"],"as","1684"],["Anguilla",["america","carribean"],"ai","1264"],["Bermuda",["america","north-america"],"bm","1441"],["British Virgin Islands",["america","carribean"],"vg","1284"],["Cayman Islands",["america","carribean"],"ky","1345"],["Cook Islands",["oceania"],"ck","682"],["Falkland Islands",["america","south-america"],"fk","500"],["Faroe Islands",["europe"],"fo","298"],["Gibraltar",["europe"],"gi","350"],["Greenland",["america"],"gl","299"],["Jersey",["europe","eu-union"],"je","44",".... ......"],["Montserrat",["america","carribean"],"ms","1664"],["Niue",["asia"],"nu","683"],["Norfolk Island",["oceania"],"nf","672"],["Northern Mariana Islands",["oceania"],"mp","1670"],["Saint Barth\xe9lemy",["america","carribean"],"bl","590","",1],["Saint Helena",["africa"],"sh","290"],["Saint Martin",["america","carribean"],"mf","590","",2],["Saint Pierre and Miquelon",["america","north-america"],"pm","508"],["Sint Maarten",["america","carribean"],"sx","1721"],["Tokelau",["oceania"],"tk","690"],["Turks and Caicos Islands",["america","carribean"],"tc","1649"],["U.S. Virgin Islands",["america","carribean"],"vi","1340"],["Wallis and Futuna",["oceania"],"wf","681"]];function A(e,t,n,i,s){var u,c,d=[];return c=!0===t,[(u=[]).concat.apply(u,l(e.map(function(e){var l,u,f={name:e[0],regions:e[1],iso2:e[2],countryCode:e[3],dialCode:e[3],format:(l=e[3],(u=e[4])&&!s?n+"".padEnd(l.length,".")+" "+u:n+"".padEnd(l.length,".")+" "+i),priority:e[5]||0},h=[];return e[6]&&e[6].map(function(t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}
60))),i.forEach(function(t){o(e,t,n[t])})}return e}({},f);n.dialCode=e[3]+t,n.isAreaCode=!0,n.areaCodeLength=t.length,h.push(n)}),h.length>0?(f.mainCode=!0,c||"Array"===t.constructor.name&&t.includes(e[2])?(f.hasAreaCodes=!0,[f].concat(h)):(d=d.concat(h),[f])):[f]}))),d]}function T(e,t,n,o){if(null!==n){var i=Object.keys(n),l=Object.values(n);i.forEach(function(n,i){if(o)return e.push([n,l[i]]);var s=e.findIndex(function(e){return e[0]===n});if(-1===s){var u=[n];u[t]=l[i],e.push(u)}else e[s][t]=l[i]})}}function P(e,t){return 0===t.length?e:e.map(function(e){var n=t.findIndex(function(t){return t[0]===e[2]});if(-1===n)return e;var o=t[n];return o[1]&&(e[4]=o[1]),o[3]&&(e[5]=o[3]),o[2]&&(e[6]=o[2]),e})}var N=function e(t,n,o,i,s,u,d,f,h,p,m,g,v,y){c(this,e),this.filterRegions=function(e,t){return"string"==typeof e?t.filter(function(t){return t.regions.some(function(t){return t===e})}):t.filter(function(t){return e.map(function(e){return t.regions.some(function(t){return t===e})}).some(function(e){return e})})},this.sortTerritories=function(e,t){var n=[].concat(l(e),l(t));return n.sort(function(e,t){return e.name<t.name?-1:e.name>t.name?1:0}),n},this.getFilteredCountryList=function(e,t,n){return 0===e.length?t:n?e.map(function(e){var n=t.find(function(t){return t.iso2===e});if(n)return n}).filter(function(e){return e}):t.filter(function(t){return e.some(function(e){return e===t.iso2})})},this.localizeCountries=function(e,t,n){for(var o=0;o<e.length;o++)void 0!==t[e[o].iso2]?e[o].localName=t[e[o].iso2]:void 0!==t[e[o].name]&&(e[o].localName=t[e[o].name]);return n||e.sort(function(e,t){return e.localName<t.localName?-1:e.localName>t.localName?1:0}),e},this.getCustomAreas=function(e,t){for(var n=[],o=0;o<t.length;o++){var i=JSON.parse(JSON.stringify(e));i.dialCode+=t[o],n.push(i)}return n},this.excludeCountries=function(e,t){return 0===t.length?e:e.filter(function(e){return!t.includes(e.iso2)})};var b,w=(T(b=[],1,f,!0),T(b,3,h),T(b,2,p),b),x=P(JSON.parse(JSON.stringify(O)),w),E=P(JSON.parse(JSON.stringify(L)),w),C=j(A(x,t,g,v,y),2),k=C[0],M=C[1];if(n){var _=j(A(E,t,g,v,y),2),S=_[0];_[1],k=this.sortTerritories(S,k)}o&&(k=this.filterRegions(o,k)),this.onlyCountries=this.localizeCountries(this.excludeCountries(this.getFilteredCountryList(i,k,d.includes("onlyCountries")),u),m,d.includes("onlyCountries")),this.preferredCountries=0===s.length?[]:this.localizeCountries(this.getFilteredCountryList(s,k,d.includes("preferredCountries")),m,d.includes("preferredCountries")),this.hiddenAreaCodes=this.excludeCountries(this.getFilteredCountryList(i,M),u)},F=function(e){var t;function n(e){c(this,n),(d=(t=p(n).call(this,e))&&("object"===f(t)||"function"==typeof t)?t:h(this)).getProbableCandidate=x()(function(e){return e&&0!==e.length?d.state.onlyCountries.filter(function(t){return M()(t.name.toLowerCase(),e.toLowerCase())},h(h(d)))[0]:null}),d.guessSelectedCountry=x()(function(e,t,n,o){if(!1===d.props.enableAreaCodes&&(o.some(function(t){if(M()(e,t.dialCode))return n.some(function(e){if(t.iso2===e.iso2&&e.mainCode)return i=e,!0}),!0}),i))return i;var i,l=n.find(function(e){return e.iso2==t});if(""===e.trim())return l;var s=n.reduce(function(t,n){return M()(e,n.dialCode)&&(n.dialCode.length>t.dialCode.length||n.dialCode.length===t.dialCode.length&&n.priority<t.priority)?n:t},{dialCode:"",priority:10001},h(h(d)));return s.name?s:l}),d.updateCountry=function(e){var t,n=d.state.onlyCountries;(t=e.indexOf(0)>="0"&&"9">=e.indexOf(0)?n.find(function(t){return t.dialCode==+e}):n.find(function(t){return t.iso2==e}))&&t.dialCode&&d.setState({selectedCountry:t,formattedNumber:d.props.disableCountryCode?"":d.formatNumber(t.dialCode,t)})},d.scrollTo=function(e,t){if(e){var n=d.dropdownRef;if(n&&document.body){var o=n.offsetHeight,i=n.getBoundingClientRect().top+document.body.scrollTop,l=e.getBoundingClientRect(),s=e.offsetHeight,u=l.top+document.body.scrollTop,c=u-i+n.scrollTop,f=o/2-s/2;(d.props.enableSearch?u<i+32:u<i)?(t&&(c-=f),n.scrollTop=c):u+s>i+o&&(t&&(c+=f),n.scrollTop=c-(o-s))}}},d.scrollToTop=function(){var e=d.dropdownRef;e&&document.body&&(e.scrollTop=0)},d.formatNumber=function(e,t){if(!t)return e;var n,o=t.format,l=d.props,c=l.disableCountryCode,f=l.enableAreaCodeStretch,h=l.enableLongNumbers,p=l.autoFormat;if(c?((n=o.split(" ")).shift(),n=n.join(" ")):f&&t.isAreaCode?((n=o.split(" "))[1]=n[1].replace(/\.+/,"".padEnd(t.areaCodeLength,".")),n=n.join(" ")):n=o,!e||0===e.length)return c?"":d.props.prefix;if(e&&e.length<2||!n||!p)return c?e:d.props.prefix+e;var m,g=C()(n,function(e,t){if(0===e.remainingText.length)return e;if("."!==t)return{formattedText:e.formattedText+t,remainingText:e.remainingText};var n,o=s(n=e.remainingText)||i(n)||u(),l=o[0],c=o.slice(1);return{formattedText:e.formattedText+l,remainingText:c}},{formattedText:"",remainingText:e.split("")});return(m=h?g.formattedText+g.remainingText.join(""):g.formattedText).includes("(")&&!m.includes(")")&&(m+=")"),m},d.cursorToEnd=function(){var e=d.numberInputRef;if(document.activeElement===e){e.focus();var t=e.value.length;")"===e.value.charAt(t-1)&&(t-=1),e.setSelectionRange(t,t)}}
vendor: 13,037 bytes, line 60
60,d.getElement=function(e){return d["flag_no_".concat(e)]},d.getCountryData=function(){return d.state.selectedCountry?{name:d.state.selectedCountry.name||"",dialCode:d.state.selectedCountry.dialCode||"",countryCode:d.state.selectedCountry.iso2||"",format:d.state.selectedCountry.format||""}:{}},d.handleFlagDropdownClick=function(e){if(e.preventDefault(),d.state.showDropdown||!d.props.disabled){var t=d.state,n=t.preferredCountries,o=t.onlyCountries,i=t.selectedCountry,l=d.concatPreferredCountries(n,o).findIndex(function(e){return e.dialCode===i.dialCode&&e.iso2===i.iso2});d.setState({showDropdown:!d.state.showDropdown,highlightCountryIndex:l},function(){d.state.showDropdown&&d.scrollTo(d.getElement(d.state.highlightCountryIndex))})}},d.handleInput=function(e){var t=e.target.value,n=d.props,o=n.prefix,i=n.onChange,l=d.props.disableCountryCode?"":o,s=d.state.selectedCountry,u=d.state.freezeSelection;if(!d.props.countryCodeEditable){var c=o+(s.hasAreaCodes?d.state.onlyCountries.find(function(e){return e.iso2===s.iso2&&e.mainCode}).dialCode:s.dialCode);if(t.slice(0,c.length)!==c)return}if(t===o)return i&&i("",d.getCountryData(),e,""),d.setState({formattedNumber:""});if(!(t.replace(/\D/g,"").length>15&&(!1===d.props.enableLongNumbers||"number"==typeof d.props.enableLongNumbers&&t.replace(/\D/g,"").length>d.props.enableLongNumbers))&&t!==d.state.formattedNumber){e.preventDefault?e.preventDefault():e.returnValue=!1;var f=d.props.country,h=d.state,p=h.onlyCountries,m=h.selectedCountry,g=h.hiddenAreaCodes;if(i&&e.persist(),t.length>0){var v=t.replace(/\D/g,"");(!d.state.freezeSelection||m&&m.dialCode.length>v.length)&&(s=d.props.disableCountryGuess?m:d.guessSelectedCountry(v.substring(0,6),f,p,g)||m,u=!1),l=d.formatNumber(v,s),s=s.dialCode?s:m}var y=e.target.selectionStart,b=e.target.selectionStart,w=d.state.formattedNumber,x=l.length-w.length;d.setState({formattedNumber:l,freezeSelection:u,selectedCountry:s},function(){x>0&&(b-=x),")"==l.charAt(l.length-1)?d.numberInputRef.setSelectionRange(l.length-1,l.length-1):b>0&&w.length>=l.length?d.numberInputRef.setSelectionRange(b,b):y<w.length&&d.numberInputRef.setSelectionRange(y,y),i&&i(l.replace(/[^0-9]+/g,""),d.getCountryData(),e,l)})}},d.handleInputClick=function(e){d.setState({showDropdown:!1}),d.props.onClick&&d.props.onClick(e,d.getCountryData())},d.handleDoubleClick=function(e){var t=e.target.value.length;e.target.setSelectionRange(0,t)},d.handleFlagItemClick=function(e,t){var n=d.state.selectedCountry,o=d.state.onlyCountries.find(function(t){return t==e});if(o){var i=d.state.formattedNumber.replace(" ","").replace("(","").replace(")","").replace("-",""),l=i.length>1?i.replace(n.dialCode,o.dialCode):o.dialCode,s=d.formatNumber(l.replace(/\D/g,""),o);d.setState({showDropdown:!1,selectedCountry:o,freezeSelection:!0,formattedNumber:s,searchValue:""},function(){d.cursorToEnd(),d.props.onChange&&d.props.onChange(s.replace(/[^0-9]+/g,""),d.getCountryData(),t,s)})}},d.handleInputFocus=function(e){d.numberInputRef&&d.numberInputRef.value===d.props.prefix&&d.state.selectedCountry&&!d.props.disableCountryCode&&d.setState({formattedNumber:d.props.prefix+d.state.selectedCountry.dialCode},function(){d.props.jumpCursorToEnd&&setTimeout(d.cursorToEnd,0)}),d.setState({placeholder:""}),d.props.onFocus&&d.props.onFocus(e,d.getCountryData()),d.props.jumpCursorToEnd&&setTimeout(d.cursorToEnd,0)},d.handleInputBlur=function(e){e.target.value||d.setState({placeholder:d.props.placeholder}),d.props.onBlur&&d.props.onBlur(e,d.getCountryData())},d.handleInputCopy=function(e){if(d.props.copyNumbersOnly){var t=window.getSelection().toString().replace(/[^0-9]+/g,"");e.clipboardData.setData("text/plain",t),e.preventDefault()}},d.getHighlightCountryIndex=function(e){var t=d.state.highlightCountryIndex+e;return t<0||t>=d.state.onlyCountries.length+d.state.preferredCountries.length?t-e:d.props.enableSearch&&t>d.getSearchFilteredCountries().length?0:t},d.searchCountry=function(){var e=d.getProbableCandidate(d.state.queryString)||d.state.onlyCountries[0],t=d.state.onlyCountries.findIndex(function(t){return t==e})+d.state.preferredCountries.length;d.scrollTo(d.getElement(t),!0),d.setState({queryString:"",highlightCountryIndex:t})},d.handleKeydown=function(e){var t=d.props.keys,n=e.target.className;if(n.includes("selected-flag")&&e.which===t.ENTER&&!d.state.showDropdown)return d.handleFlagDropdownClick(e);if(n.includes("form-control")&&(e.which===t.ENTER||e.which===t.ESC))return e.target.blur();if(d.state.showDropdown&&!d.props.disabled&&(!n.includes("search-box")||e.which===t.UP||e.which===t.DOWN||e.which===t.ENTER||e.which===t.ESC&&""===e.target.value)){e.preventDefault?e.preventDefault():e.returnValue=!1;var o=function(e){d.setState({highlightCountryIndex:d.getHighlightCountryIndex(e)},function(){d.scrollTo(d.getElement(d.state.highlightCountryIndex),!0)})};switch(e.which){case t.DOWN:o(1);break;case t.UP:o(-1);break;case t.ENTER:d.props.enableSearch?d.handleFlagItemClick(d.getSearchFilteredCountries()[d.state.highlightCountryIndex]||d.getSearchFilteredCountries()[0],e):d.handleFlagItemClick([].concat(l(d.state.preferredCountries),l(d.state.onlyCountries))[d.state.highlightCountryIndex],e);break;case t.ESC:case t.TAB:d.setState({showDropdown:!1},d.cursorToEnd);break;default:(e.which>=t.A&&e.which<=t.Z||e.which===t.SPACE)&&d.setState({queryString:d.state.queryString+String.fromCharCode(e.which)},d.state.debouncedQueryStingSearcher)}}},d.handleInputKeyDown=function(e){var t=d.props,n=t.keys,o=t.onEnterKeyPress,i=t.onKeyDown;e.which===n.ENTER&&o&&o(e),i&&i(e)},d.handleClickOutside=function(e){d.dropdownRef&&!d.dropdownContainerRef.contains(e.target)&&d.state.showDropdown&&d.setState({showDropdown:!1})},d.handleSearchChange=function(e){var t=e.currentTarget.value,n=d.state,o=n.preferredCountries,i=n.selectedCountry,l=0;if(""===t&&i){var s=d.state.onlyCountries;l=d.concatPreferredCountries(o,s).findIndex(function(e){return e==i}),setTimeout(function(){return d.scrollTo(d.getElement(l))},100)}d.setState({searchValue:t,highlightCountryIndex:l})},d.concatPreferredCountries=function(e,t){return e.length>0?l(new Set(e.concat(t))):t},d.getDropdownCountryName=function(e){return e.localName||e.name},d.getSearchFilteredCountries=function(){var e=d.state,t=e.preferredCountries,n=e.onlyCountries,o=e.searchValue,i=d.props.enableSearch,s=d.concatPreferredCountries(t,n),u=o.trim().toLowerCase().replace("+","");if(i&&u){if(/^\d+$/.test(u))return s.filter(function(e){var t=e.dialCode;return["".concat(t)].some(function(e){return e.toLowerCase().includes(u)})});var c=s.filter(function(e){var t=e.iso2;return["".concat(t)].some(function(e){return e.toLowerCase().includes(u)})}),f=s.filter(function(e){var t=e.name,n=e.localName;return e.iso2,["".concat(t),"".concat(n||"")].some(function(e){return e.toLowerCase().includes(u)})});return d.scrollToTop(),l(new Set([].concat(c,f)))}return s},d.getCountryDropdownList=function(){var e=d.state,t=e.preferredCountries,n=e.highlightCountryIndex,i=e.showDropdown,l=e.searchValue,s=d.props,u=s.disableDropdown,c=s.prefix,f=d.props,h=f.enableSearch,p=f.searchNotFound,m=f.disableSearchIcon,g=f.searchClass,y=f.searchStyle,b=f.searchPlaceholder,w=f.autocompleteSearch,x=d.getSearchFilteredCountries().map(function(e,t){var o=n===t,i=S()({country:!0,preferred:"us"===e.iso2||"gb"===e.iso2,active:"us"===e.iso2,highlight:o}),l="flag ".concat(e.iso2);return v.a.createElement("li",Object.assign({ref:function(e){return d["flag_no_".concat(t)]=e},key:"flag_no_".concat(t),"data-flag-key":"flag_no_".concat(t),className:i,"data-dial-code":"1",tabIndex:u?"-1":"0","data-country-code":e.iso2,onClick:function(t){return d.handleFlagItemClick(e,t)},role:"option"},o?{"aria-selected":!0}:{}),v.a.createElement("div",{className:l}),v.a.createElement("span",{className:"country-name"},d.getDropdownCountryName(e)),v.a.createElement("span",{className:"dial-code"},e.format?d.formatNumber(e.dialCode,e):c+e.dialCode))}),E=v.a.createElement("li",{key:"dashes",className:"divider"});t.length>0&&(!h||h&&!l.trim())&&x.splice(t.length,0,E);var C=S()(o({"country-list":!0,hide:!i},d.props.dropdownClass,!0));return v.a.createElement("ul",{ref:function(e){return!h&&e&&e.focus(),d.dropdownRef=e},className:C,style:d.props.dropdownStyle,role:"listbox",tabIndex:"0"},h&&v.a.createElement("li",{className:S()(o({search:!0},g,g))},!m&&v.a.createElement("span",{className:S()(o({"search-emoji":!0},"".concat(g,"-emoji"),g)),role:"img","aria-label":"Magnifying glass"},"\uD83D\uDD0E"),v.a.createElement("input",{className:S()(o({"search-box":!0},"".concat(g,"-box"),g)),style:y,type:"search",placeholder:b,autoFocus:!0,autoComplete:w?"on":"off",value:l,onChange:d.handleSearchChange})),x.length>0?x:v.a.createElement("li",{className:"no-entries-message"},v.a.createElement("span",null,p)))};var t,d,m,g=new N(e.enableAreaCodes,e.enableTerritories,e.regions,e.onlyCountries,e.preferredCountries,e.excludeCountries,e.preserveOrder,e.masks,e.priority,e.areaCodes,e.localization,e.prefix,e.defaultMask,e.alwaysDefaultMask),y=g.onlyCountries,w=g.preferredCountries,E=g.hiddenAreaCodes,k=e.value?e.value.replace(/\D/g,""):"";m=e.disableInitialCountryGuess?0:k.length>1?d.guessSelectedCountry(k.substring(0,6),e.country,y,E)||0:e.country&&y.find(function(t){return t.iso2==e.country})||0;var _,j=k.length<2&&m&&!M()(k,m.dialCode)?m.dialCode:"";_=""===k&&0===m?"":d.formatNumber((e.disableCountryCode?"":j)+k,m.name?m:void 0);var O=y.findIndex(function(e){return e==m});return d.state={showDropdown:e.showDropdown,formattedNumber:_,onlyCountries:y,preferredCountries:w,hiddenAreaCodes:E,selectedCountry:m,highlightCountryIndex:O,queryString:"",freezeSelection:!1,debouncedQueryStingSearcher:b()(d.searchCountry,250),searchValue:""},d}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(n,e),t=[{key:"componentDidMount",value:function(){document.addEventListener&&this.props.enableClickOutside&&document.addEventListener("mousedown",this.handleClickOutside),this.props.onMount&&this.props.onMount(this.state.formattedNumber.replace(/[^0-9]+/g,""),this.getCountryData(),this.state.formattedNumber)}},{key:"componentWillUnmount",value:function(){document.removeEventListener&&this.props.enableClickOutside&&document.removeEventListener("mousedown",this.handleClickOutside)}},{key:"componentDidUpdate",value:function(e,t,n){e.country!==this.props.country?this.updateCountry(this.props.country):e.value!==this.props.value&&this.updateFormattedNumber(this.props.value)}},{key:"updateFormattedNumber",value:function(e){if(null===e)return this.setState({selectedCountry:0,formattedNumber:""});var t=this.state,n=t.onlyCountries,o=t.selectedCountry,i=t.hiddenAreaCodes,l=this.props,s=l.country,u=l.prefix;if(""===e)return this.setState({selectedCountry:o,formattedNumber:""});var c,d,f=e.replace(/\D/g,"");if(o&&M()(e,u+o.dialCode))d=this.formatNumber(f,o),this.setState({formattedNumber:d});else{var h=(c=this.props.disableCountryGuess?o:this.guessSelectedCountry(f.substring(0,6),s,n,i)||o)&&M()(f,u+c.dialCode)?c.dialCode:"";d=this.formatNumber((this.props.disableCountryCode?"":h)+f,c||void 0),this.setState({selectedCountry:c,formattedNumber:d})}}},{key:"render",value:function(){var e,t,n,i=this,l=this.state,s=l.onlyCountries,u=l.selectedCountry,c=l.showDropdown,d=l.formattedNumber,f=l.hiddenAreaCodes,h=this.props,p=h.disableDropdown,m=h.renderStringAsFlag,g=h.isValid,y=h.defaultErrorMessage,b=h.specialLabel;if("boolean"==typeof g)t=g;else{var w=g(d.replace(/\D/g,""),u,s,f);"boolean"==typeof w?!1===(t=w)&&(n=y):(t=!1,n=w)}var x=S()((o(e={},this.props.containerClass,!0),o(e,"react-tel-input",!0),e)),E=S()({arrow:!0,up:c}),C=S()(o({"form-control":!0,"invalid-number":!t,open:c},this.props.inputClass,!0)),k=S()({"selected-flag":!0,open:c}),M=S()(o({"flag-dropdown":!0,"invalid-number":!t,open:c},this.props.buttonClass,!0)),_="flag ".concat(u&&u.iso2);return v.a.createElement("div",{className:"".concat(x," ").concat(this.props.className),style:this.props.style||this.props.containerStyle,onKeyDown:this.handleKeydown},b&&v.a.createElement("div",{className:"special-label"},b),n&&v.a.createElement("div",{className:"invalid-number-message"},n),v.a.createElement("input",Object.assign({className:C,style:this.props.inputStyle,onChange:this.handleInput,onClick:this.handleInputClick,onDoubleClick:this.handleDoubleClick,onFocus:this.handleInputFocus,onBlur:this.handleInputBlur,onCopy:this.handleInputCopy,value:d,onKeyDown:this.handleInputKeyDown,placeholder:this.props.placeholder,disabled:this.props.disabled,type:"tel"},this.props.inputProps,{ref:function(e){i.numberInputRef=e,"function"==typeof i.props.inputProps.ref?i.props.inputProps.ref(e):"object"==typeof i.props.inputProps.ref&&(i.props.inputProps.ref.current=e)}})),v.a.createElement("div",{className:M,style:this.props.buttonStyle,ref:function(e){return i.dropdownContainerRef
60=e}},m?v.a.createElement("div",{className:k},m):v.a.createElement("div",{onClick:p?void 0:this.handleFlagDropdownClick,className:k,title:u?"".concat(u.localName||u.name,": + ").concat(u.dialCode):"",tabIndex:p?"-1":"0",role:"button","aria-haspopup":"listbox","aria-expanded":!!c||void 0},v.a.createElement("div",{className:_},!p&&v.a.createElement("div",{className:E}))),c&&this.getCountryDropdownList()))}}],function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(n.prototype,t),n}(v.a.Component);F.defaultProps={country:"",value:"",onlyCountries:[],preferredCountries:[],excludeCountries:[],placeholder:"1 (702) 123-4567",searchPlaceholder:"search",searchNotFound:"No entries to show",flagsImagePath:"./flags.png",disabled:!1,containerStyle:{},inputStyle:{},buttonStyle:{},dropdownStyle:{},searchStyle:{},containerClass:"",inputClass:"",buttonClass:"",dropdownClass:"",searchClass:"",className:"",autoFormat:!0,enableAreaCodes:!1,enableTerritories:!1,disableCountryCode:!1,disableDropdown:!1,enableLongNumbers:!1,countryCodeEditable:!0,enableSearch:!1,disableSearchIcon:!1,disableInitialCountryGuess:!1,disableCountryGuess:!1,regions:"",inputProps:{},localization:{},masks:null,priority:null,areaCodes:null,preserveOrder:[],defaultMask:"... ... ... ... ..",alwaysDefaultMask:!1,prefix:"+",copyNumbersOnly:!0,renderStringAsFlag:"",autocompleteSearch:!1,jumpCursorToEnd:!0,enableAreaCodeStretch:!1,enableClickOutside:!0,showDropdown:!1,isValid:!0,defaultErrorMessage:"",specialLabel:"Phone",onEnterKeyPress:null,keys:{UP:38,DOWN:40,RIGHT:39,LEFT:37,ENTER:13,ESC:27,PLUS:43,A:65,Z:90,SPACE:32,TAB:9}},t.default=F}]))&&uj.__esModule&&Object.prototype.hasOwnProperty.call(uj,"default")?uj.default:uj;function io({name:e,label:t,error:n,control:o,initialValue:i}){let l=!!n,[s,u]=(0,M.useState)(i),[c,d]=(0,M.useState)(!1),[f,h]=(0,M.useState)(void 0),p=/^(93|27|355|49|376|244|1264|672|1268|966|213|54|374|297|61|43|994|1242|973|880|1246|32|501|229|1441|375|591|387|267|673|359|226|257|975|55|238|855|237|1|974|7|235|56|86|357|65|57|269|242|243|850|82|225|506|385|53|599|45|253|1767|20|503|971|593|291|421|386|34|1|372|251|679|63|358|33|241|220|233|995|350|1473|30|299|590|1671|502|44|592|594|224|240|245|509|31|504|852|36|967|47|44|61|672|358|1345|61|682|298|500|672|500|1670|692|1|64|677|1649|1340|1284|91|62|98|964|353|354|972|39|1876|81|44|962|965|856|266|371|961|231|218|423|370|352|853|389|261|60|265|960|223|356|212|596|230|222|262|52|691|258|373|377|976|382|1664|95|264|674|977|505|227|234|683|47|687|64|968|599|507|675|92|595|51|689|48|1787|351|254|996|686|44|236|1809|262|40|250|7|212|508|685|1684|378|290|1758|590|1869|590|239|1784|248|221|232|381|1721|963|252|94|268|249|211|46|41|597|992|66|886|255|262|246|970|670|228|690|676|1868|216|993|90|688|380|256|598|998|678|379|58|84|681|260|263)/;return ee.jsx(ir,{control:o,name:e,render:({field:{ref:o,value:m,...g}})=>{if(m&&(s||u(m),!f)){let e=p.exec(m);e&&h(e[0])}return ee.jsx(o$,{name:e,label:t,error:n,children:ee.jsx("div",{className:e8(["focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent"]),children:ee.jsx(ia,{...g,value:m,country:"br",onlyCountries:["af","za","al","de","ad","ao","ai","aq","ag","sa","dz","ar","am","aw","au","at","az","bs","bh","bd","bb","be","bz","bj","bm","by","bo","ba","bw","bn","bg","bf","bi","bt","br","cv","kh","cm","ca","qa","kz","td","cl","cn","cy","sg","co","km","cg","cd","kp","kr","ci","cr","hr","cu","cw","dk","dj","dm","eg","sv","ae","ec","er","sk","si","es","us","ee","et","fj","ph","fi","fr","ga","gm","gh","ge","gi","gd","gr","gl","gp","gu","gt","gg","gy","gf","gn","gq","gw","ht","nl","hn","hk","hu","ye","bv","im","cx","nf","ax","ky","cc","ck","fo","gs","hm","fk","mp","mh","um","pn","sb","tc","vi","vg","in","id","ir","iq","ie","is","il","it","jm","jp","je","jo","kw","la","ls","lv","lb","lr","ly","li","lt","lu","mo","mk","mg","my","mw","mv","ml","mt","ma","mq","mu","mr","yt","mx","fm","mz","md","mc","mn","me","ms","mm","na","nr","np","ni","ne","ng","nu","no","nc","nz","om","bq","pa","pg","pk","py","pe","pf","pl","pr","pt","ke","kg","ki","gb","cf","do","re","ro","rw","ru","eh","pm","ws","as","sm","sh","lc","bl","kn","mf","st","vc","sc","sn","sl","rs","sx","sy","so","lk","sz","sd","ss","se","ch","sr","tj","th","tw","tz","tf","io","ps","tl","tg","tk","to","tt","tn","tm","tr","tv","ua","ug","uy","uz","vu","va","ve","vn","wf","zm","zw"],containerClass:e8(["focu
60s-within:border-primary-pure","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent"]),autoFormat:!0,placeholder:"(XX) X XXXX-XXXX",searchClass:e8(["hover:bg-transparent focus:bg-transparent"]),buttonClass:e8([{"border-error-500":l}]),buttonStyle:{backgroundColor:"transparent",borderRadius:"8px 0 0 8px",border:"none"},inputProps:{ref:o,name:e,id:"phone-input",className:e8(["flex","h-10","pl-12","w-[inherit]","bg-white","rounded-sm","border","border-grey-300","data-[placeholder]:text-grey-500","text-gray-900","overflow-hidden","focus-within:border-primary-pure","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent",{"border-error-500":l}])},onChange:(e,t)=>{t.dialCode===f?(c&&i?s!==i&&g.onChange(i):g.onChange(e),d(!1)):(d(!0),g.onChange(e))}})})})}})}function ii(e){return ee.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:ee.jsx("path",{d:"M16 8L8 16M8 8L16 16",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}let il=(0,M.createContext)(void 0);function is({open:e,onOpenChange:t,children:n}){let[o,i]=(0,M.useState)(!1),l=void 0!==e,s=l?e:o,u=(0,M.useCallback)(e=>{l||i(e),t?.(e)},[l,t]),c=(0,M.useMemo)(()=>({isOpen:s,onOpenChange:u}),[s,u]);return ee.jsx(il.Provider,{value:c,children:n})}(0,M.forwardRef)(({children:e,...t},n)=>{let o=(0,M.useContext)(il);if(!o)throw Error("ModalTrigger must be used within a Modal");let{onOpenChange:i}=o;return ee.jsx("button",{...t,ref:n,type:"button",onClick:e=>{var n;null==(n=t.onClick)||n.call(t,e),i(!0)},children:e})});let iu=(0,M.forwardRef)(({className:e,...t},n)=>{let o=(0,M.useContext)(il);if(!o)throw Error("ModalOverlay must be used within a Modal");let{isOpen:i,onOpenChange:l}=o;return i?ee.jsx("div",{className:e8("bg-grey-900/intense fixed inset-0 m-0 z-50",e),ref:n,...t,role:"button",tabIndex:0,onClick:()=>l(!1),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&l(!1)}}):null});function ic({asChild:e=!1,children:t=null,className:n,...o}){let i=(0,M.useContext)(il);if(!i)throw Error("ModalCloseButton must be used within a Modal");let{onOpenChange:l}=i,s={onClick:e=>{var t;l(!1),null==(t=o.onClick)||t.call(o,e)},className:e8("space-y-4x",n)};return e&&M.isValidElement(t)?M.cloneElement(t,{...s,className:e8(s.className,t.props.className)}):ee.jsx("button",{type:"button",...s,...o,children:t})}let id=(0,M.forwardRef)(({className:e,children:t=null,showCloseButton:n=!0,noPadding:o=!1,...i},l)=>{id.defaultProps={showCloseButton:!0,noPadding:!1};let s=(0,M.useContext)(il);if(!s)throw Error("ModalContent must be used within a Modal");let{isOpen:u}=s,c=(0,M.useRef)(null);return(0,M.useEffect)(()=>{var e;if(u){let t=document.activeElement;null==(e=c.current)||e.focus();let n=e=>{c.current&&!c.current.contains(e.target)&&(e.stopPropagation(),c.current.focus())};return document.addEventListener("focusin",n),()=>{document.removeEventListener("focusin",n),t?.focus()}}},[u]),(0,M.useEffect)(()=>{let e=e=>{"Escape"===e.key&&u&&s.onOpenChange(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[u,s]),(0,M.useEffect)(()=>{if(u&&c.current){let e=c.current.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), [tabindex]:not([tabindex="-1"])'),t=e[0],n=e[e.length-1],o=o=>{if("Tab"!==o.key)return;if(0===e.length){o.preventDefault();return}let i=o.shiftKey;i&&document.activeElement===t?(o.preventDefault(),n.focus()):i||document.activeElement!==n||(o.preventDefault(),t.focus())},i=c.current;return i?.addEventListener("keydown",o),()=>{i?.removeEventListener("keydown",o)}}},[u]),u?ee.jsxs("div",{role:"dialog","aria-modal":"true","aria-labelledby":"modal-title","aria-describedby":"modal-description",className:e8("fixed top-1/2 left-1/2 translate-x-[-50%] translate-y-[-50%] bg-white rounded-sm w-[327px] lg:w-[640px] md:w-[560px] overflow-y-auto z-50 transition-all",o?"":"p-4x",e),ref:e=>{if(c.current=e,l){if("function"==typeof l){l(e);return}l.current=e}},...i,children:[n&&ee.jsxs(ic,{className:"absolute top-2x right-2x",children:[ee.jsx(ii,{strokeWidth:1.5,width:24,height:24,className:"stroke-grey-900"}),ee.jsx("span",{className:"sr-only",children:"Close"})]}),t]}):null});function ih({children:e=null,className:t,...n}){return ee.jsx("h2",{id:"modal-title",className:e8("label-md text-grey-900",t),...n,children:e})}function ip({children:e=null,className:t,...n}){return ee.jsx("p",{id:"modal-description",className:e8("text-grey-600",t),...n,children:e})}function im({title:e,description:t="",children:n=null,className:o,...i}){return ee.jsxs("div",{className:e8(o,"flex flex-col gap-4"),...i,children:[ee.jsxs("div",{className:"flex justify-between items-center w-full",children:[ee.jsx(ih,{children:e}
60),t&&ee.jsx(ip,{className:"sr-only",children:t})]}),n,ee.jsx(ti,{})]})}function ig({children:e=null,className:t,...n}){return ee.jsx("main",{className:e8("space-y-4x",t),...n,children:e})}function iv({children:e}){let t=(0,M.useContext)(il);if(!t)throw Error("ModalPortal must be used within a Modal");let{isOpen:n}=t;return n?j.createPortal(ee.jsx("div",{children:e}),document.body):null}var iy={exports:{}},ib={};iy.exports=function(){if(uO)return ib;uO=1;var e="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},t=M.useState,n=M.useEffect,o=M.useLayoutEffect,i=M.useDebugValue;function l(t){var n=t.getSnapshot;t=t.value;try{var o=n();return!e(t,o)}catch{return!0}}var s=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?function(e,t){return t()}:function(e,s){var u=s(),c=t({inst:{value:u,getSnapshot:s}}),d=c[0].inst,f=c[1];return o(function(){d.value=u,d.getSnapshot=s,l(d)&&f({inst:d})},[e,u,s]),n(function(){return l(d)&&f({inst:d}),e(function(){l(d)&&f({inst:d})})},[e]),i(u),u};return ib.useSyncExternalStore=void 0!==M.useSyncExternalStore?M.useSyncExternalStore:s,ib}();var iw=iy.exports;function ix(){return()=>{}}var iE="Avatar",[iC]=function(e,t=[]){let n=[],o=()=>{let t=n.map(e=>M.createContext(e));return function(n){let o=n?.[e]||t;return M.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return o.scopeName=e,[function(t,o){let i=M.createContext(o);i.displayName=t+"Context";let l=n.length;n=[...n,o];let s=t=>{var n;let{scope:o,children:s,...u}=t,c=(null==(n=o?.[e])?void 0:n[l])||i,d=M.useMemo(()=>u,Object.values(u));return ee.jsx(c.Provider,{value:d,children:s})};return s.displayName=t+"Provider",[s,function(n,s){var u;let c=(null==(u=s?.[e])?void 0:u[l])||i,d=M.useContext(c);if(d)return d;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:n,scopeName:o})=>{let i=n(e)[`__scope${o}`];return{...t,...i}},{});return M.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}(o,...t)]}(iE),[ik,iM]=iC(iE),i_=M.forwardRef((e,t)=>{let{__scopeAvatar:n,...o}=e,[i,l]=M.useState("idle");return ee.jsx(ik,{scope:n,imageLoadingStatus:i,onImageLoadingStatusChange:l,children:ee.jsx(tr.span,{...o,ref:t})})});i_.displayName=iE;var iS="AvatarImage",ij=M.forwardRef((e,t)=>{let{__scopeAvatar:n,src:o,onLoadingStatusChange:i=()=>{},...l}=e,s=iM(iS,n),u=function(e,{referrerPolicy:t,crossOrigin:n}){let o=iw.useSyncExternalStore(ix,()=>!0,()=>!1),i=M.useRef(null),l=o?(i.current||(i.current=new window.Image),i.current):null,[s,u]=M.useState(()=>iA(l,e));return tu(()=>{u(iA(l,e))},[l,e]),tu(()=>{let e=e=>()=>{u(e)};if(!l)return;let o=e("loaded"),i=e("error");return l.addEventListener("load",o),l.addEventListener("error",i),t&&(l.referrerPolicy=t),"string"==typeof n&&(l.crossOrigin=n),()=>{l.removeEventListener("load",o),l.removeEventListener("error",i)}},[l,n,t]),s}(o,l),c=tw(e=>{i(e),s.onImageLoadingStatusChange(e)});return tu(()=>{"idle"!==u&&c(u)},[u,c]),"loaded"===u?ee.jsx(tr.img,{...l,ref:t,src:o}):null});ij.displayName=iS;var iO="AvatarFallback",iL=M.forwardRef((e,t)=>{let{__scopeAvatar:n,delayMs:o,...i}=e,l=iM(iO,n),[s,u]=M.useState(void 0===o);return M.useEffect(()=>{if(void 0!==o){let e=window.setTimeout(()=>u(!0),o);return()=>window.clearTimeout(e)}},[o]),s&&"loaded"!==l.imageLoadingStatus?ee.jsx(tr.span,{...i,ref:t}):null});function iA(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}iL.displayName=iO;let iT=M.forwardRef(({className:e,...t},n)=>ee.jsx(i_,{ref:n,className:e8("relative flex h-10 w-10 shrink-0 overflow-hidden rounded-full",e),...t}));iT.displayName=i_.displayName;let iP=M.forwardRef(({className:e,...t},n)=>ee.jsx(ij,{ref:n,className:e8("aspect-square h-full w-full",e),...t}));iP.displayName=ij.displayName;let iN=M.forwardRef(({className:e,...t},n)=>ee.jsx(iL,{ref:n,className:e8("flex h-full w-full items-center justify-center rounded-full bg-muted",e),...t}));function iF(e,[t,n]){return Math.min(n,Math.max(t,e))}iN.displayName=iL.displayName;var iR=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});M.forwardRef((e,t)=>
60ee.jsx(tm.span,{...e,ref:t,style:{...iR,...e.style}})).displayName="VisuallyHidden";var i$=[" ","Enter","ArrowUp","ArrowDown"],iD=[" ","Enter"],iz="Select",[iI,iH,iB]=tv(iz),[iW]=ts(iz,[iB,nn]),iV=nn(),[iU,iq]=iW(iz),[iG,iY]=iW(iz),iZ=e=>{let{__scopeSelect:t,children:n,open:o,defaultOpen:i,onOpenChange:l,value:s,defaultValue:u,onValueChange:c,dir:d,name:f,autoComplete:h,disabled:p,required:m,form:g}=e,v=iV(t),[y,b]=M.useState(null),[w,x]=M.useState(null),[E,C]=M.useState(!1),k=tb(d),[_,S]=td({prop:o,defaultProp:i??!1,onChange:l,caller:iz}),[j,O]=td({prop:s,defaultProp:u,onChange:c,caller:iz}),L=M.useRef(null),A=!y||g||!!y.closest("form"),[T,P]=M.useState(new Set),N=Array.from(T).map(e=>e.props.value).join(";");return ee.jsx(ni,{...v,children:ee.jsxs(iU,{required:m,scope:t,trigger:y,onTriggerChange:b,valueNode:w,onValueNodeChange:x,valueNodeHasChildren:E,onValueNodeHasChildrenChange:C,contentId:nk(),value:j,onValueChange:O,open:_,onOpenChange:S,dir:k,triggerPointerDownPosRef:L,disabled:p,children:[ee.jsx(iI.Provider,{scope:t,children:ee.jsx(iG,{scope:e.__scopeSelect,onNativeOptionAdd:M.useCallback(e=>{P(t=>new Set(t).add(e))},[]),onNativeOptionRemove:M.useCallback(e=>{P(t=>{let n=new Set(t);return n.delete(e),n})},[]),children:n})}),A?ee.jsxs(lE,{"aria-hidden":!0,required:m,tabIndex:-1,name:f,autoComplete:h,value:j,onChange:e=>O(e.target.value),disabled:p,form:g,children:[void 0===j?ee.jsx("option",{value:""}):null,Array.from(T)]},N):null]})})};iZ.displayName=iz;var iK="SelectTrigger",iQ=M.forwardRef((e,t)=>{let{__scopeSelect:n,disabled:o=!1,...i}=e,l=iV(n),s=iq(iK,n),u=s.disabled||o,c=en(t,s.onTriggerChange),d=iH(n),f=M.useRef("touch"),[h,p,m]=lk(e=>{let t=d().filter(e=>!e.disabled),n=t.find(e=>e.value===s.value),o=lM(t,e,n);void 0!==o&&s.onValueChange(o.value)}),g=e=>{u||(s.onOpenChange(!0),m()),e&&(s.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return ee.jsx(ns,{asChild:!0,...l,children:ee.jsx(tm.button,{type:"button",role:"combobox","aria-controls":s.contentId,"aria-expanded":s.open,"aria-required":s.required,"aria-autocomplete":"none",dir:s.dir,"data-state":s.open?"open":"closed",disabled:u,"data-disabled":u?"":void 0,"data-placeholder":lC(s.value)?"":void 0,...i,ref:c,onClick:tl(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==f.current&&g(e)}),onPointerDown:tl(i.onPointerDown,e=>{f.current=e.pointerType;let t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(g(e),e.preventDefault())}),onKeyDown:tl(i.onKeyDown,e=>{let t=""!==h.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||p(e.key),!(t&&" "===e.key)&&i$.includes(e.key)&&(g(),e.preventDefault())})})})});iQ.displayName=iK;var iX="SelectValue",iJ=M.forwardRef((e,t)=>{let{__scopeSelect:n,className:o,style:i,children:l,placeholder:s="",...u}=e,c=iq(iX,n),{onValueNodeHasChildrenChange:d}=c,f=void 0!==l,h=en(t,c.onValueNodeChange);return tu(()=>{d(f)},[d,f]),ee.jsx(tm.span,{...u,ref:h,style:{pointerEvents:"none"},children:lC(c.value)?ee.jsx(ee.Fragment,{children:s}):l})});iJ.displayName=iX;var i1=M.forwardRef((e,t)=>{let{__scopeSelect:n,children:o,...i}=e;return ee.jsx(tm.span,{"aria-hidden":!0,...i,ref:t,children:o||"â¼"})});i1.displayName="SelectIcon";var i0=e=>ee.jsx(nb,{asChild:!0,...e});i0.displayName="SelectPortal";var i2="SelectContent",i3=M.forwardRef((e,t)=>{let n=iq(i2,e.__scopeSelect),[o,i]=M.useState();return(tu(()=>{i(new DocumentFragment)},[]),n.open)?ee.jsx(i7,{...e,ref:t}):o?j.createPortal(ee.jsx(i5,{scope:e.__scopeSelect,children:ee.jsx(iI.Slot,{scope:e.__scopeSelect,children:ee.jsx("div",{children:e.children})})}),o):null});i3.displayName=i2;var[i5,i4]=iW(i2),i6=tf("SelectContent.RemoveScroll"),i7=M.forwardRef((e,t)=>{let{__scopeSelect:n,position:o="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:l,onPointerDownOutside:s,side:u,sideOffset:c,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:p,collisionPadding:m,sticky:g,hideWhenDetached:v,avoidCollisions:y,...b}=e,w=iq(i2,n),[x,E]=M.useState(null),[C,k]=M.useState(null),_=en(t,e=>E(e)),[S,j]=M.useState(null),[O,L]=M.useState(null),A=iH(n),[T,P]=M.use
60State(!1),N=M.useRef(!1);M.useEffect(()=>{if(x)return nG(x)},[x]),tA();let F=M.useCallback(e=>{let[t,...n]=A().map(e=>e.ref.current),[o]=n.slice(-1),i=document.activeElement;for(let n of e)if(n===i||(n?.scrollIntoView({block:"nearest"}),n===t&&C&&(C.scrollTop=0),n===o&&C&&(C.scrollTop=C.scrollHeight),n?.focus(),document.activeElement!==i))return},[A,C]),R=M.useCallback(()=>F([S,x]),[F,S,x]);M.useEffect(()=>{T&&R()},[T,R]);let{onOpenChange:$,triggerPointerDownPosRef:D}=w;M.useEffect(()=>{if(x){let e={x:0,y:0},t=t=>{var n,o;e={x:Math.abs(Math.round(t.pageX)-((null==(n=D.current)?void 0:n.x)??0)),y:Math.abs(Math.round(t.pageY)-((null==(o=D.current)?void 0:o.y)??0))}},n=n=>{e.x<=10&&e.y<=10?n.preventDefault():x.contains(n.target)||$(!1),document.removeEventListener("pointermove",t),D.current=null};return null!==D.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",n,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",n,{capture:!0})}}},[x,$,D]),M.useEffect(()=>{let e=()=>$(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[$]);let[z,I]=lk(e=>{let t=A().filter(e=>!e.disabled),n=t.find(e=>e.ref.current===document.activeElement),o=lM(t,e,n);o&&setTimeout(()=>o.ref.current.focus())}),H=M.useCallback((e,t,n)=>{let o=!N.current&&!n;(void 0!==w.value&&w.value===t||o)&&(j(e),o&&(N.current=!0))},[w.value]),B=M.useCallback(()=>x?.focus(),[x]),W=M.useCallback((e,t,n)=>{let o=!N.current&&!n;(void 0!==w.value&&w.value===t||o)&&L(e)},[w.value]),U="popper"===o?i9:i8,q=U===i9?{side:u,sideOffset:c,align:d,alignOffset:f,arrowPadding:h,collisionBoundary:p,collisionPadding:m,sticky:g,hideWhenDetached:v,avoidCollisions:y}:{};return ee.jsx(i5,{scope:n,content:x,viewport:C,onViewportChange:k,itemRefCallback:H,selectedItem:S,onItemLeave:B,itemTextRefCallback:W,focusSelectedItem:R,selectedItemText:O,position:o,isPositioned:T,searchRef:z,children:ee.jsx(aE,{as:i6,allowPinchZoom:!0,children:ee.jsx(tR,{asChild:!0,trapped:w.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:tl(i,e=>{var t;null==(t=w.trigger)||t.focus({preventScroll:!0}),e.preventDefault()}),children:ee.jsx(tS,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:s,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>w.onOpenChange(!1),children:ee.jsx(U,{role:"listbox",id:w.contentId,"data-state":w.open?"open":"closed",dir:w.dir,onContextMenu:e=>e.preventDefault(),...b,...q,onPlaced:()=>P(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:tl(b.onKeyDown,e=>{let t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||I(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=A().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){let n=e.target,o=t.indexOf(n);t=t.slice(o+1)}setTimeout(()=>F(t)),e.preventDefault()}})})})})})})});i7.displayName="SelectContentImpl";var i8=M.forwardRef((e,t)=>{let{__scopeSelect:n,onPlaced:o,...i}=e,l=iq(i2,n),s=i4(i2,n),[u,c]=M.useState(null),[d,f]=M.useState(null),h=en(t,e=>f(e)),p=iH(n),m=M.useRef(!1),g=M.useRef(!0),{viewport:v,selectedItem:y,selectedItemText:b,focusSelectedItem:w}=s,x=M.useCallback(()=>{if(l.trigger&&l.valueNode&&u&&d&&v&&y&&b){let e=l.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),n=l.valueNode.getBoundingClientRect(),i=b.getBoundingClientRect();if("rtl"!==l.dir){let o=i.left-t.left,l=n.left-o,s=e.left-l,c=e.width+s,d=Math.max(c,t.width),f=iF(l,[10,Math.max(10,window.innerWidth-10-d)]);u.style.minWidth=c+"px",u.style.left=f+"px"}else{let o=t.right-i.right,l=window.innerWidth-n.right-o,s=window.innerWidth-e.right-l,c=e.width+s,d=Math.max(c,t.width),f=iF(l,[10,Math.max(10,window.innerWidth-10-d)]);u.style.minWidth=c+"px",u.style.right=f+"px"}let s=p(),c=window.innerHeight-20,f=v.scrollHeight,h=window.getComputedStyle(d),g=parseInt(h.borderTopWidth,10),w=parseInt(h.paddingTop,10),x=parseInt(h.borderBottomWidth,10),E=g+w+f+parseInt(h.paddingBottom,10)+x,C=Math.min(5*y.offsetHeight,E),k=window.getComputedStyle(v),M=parseInt(k.paddingTop,10),_=parseInt(k.paddingBottom,10),S=e.top+e.height/2-10,j=y.offsetHeight/2,O=g+w+(y.offsetTop+j);if(O<=S){let e=s.length>0&&y===s[s.length-1].ref.current;u.style.bottom="0px";let t=d.clientHeight-v.offsetTop-v.offsetHeight;u.style.height=O+Math.max(c-S,j+(e?_:0)+t+x)+"px"}else{let e=s.length>0&&y===s[0].ref.current;u.style.top="0px";let t=Math.max(S,g+v.offsetTop+(e?M:0)+j)+(E-O);u.style.height=t+"px",v.scrollTop=O-S+v.offsetTop}u.style.margin="10px 0",u.style.minHeight=C+"px",u.style.maxHeight=c+"px",o?.(),requestAnimationFrame(()=>m.current=!0)}},[p,l.trigger,l.valueNode,u,d,v,y,b,l.dir,o]);tu(()=>x(),[x]);let[E,C]=M.useState();tu(()=>{d&&C(window.getComputedStyle(d).zIndex)},[d]);let k=M.useCallback(e=>{e&&!0===g.current&&(x(),w?.(),g.current=!1)},[x,w]);return ee.jsx(le,{scope:n,contentWrapper:u,shouldExpandOnScrollRef:m,onScrollButtonChange:k,children:ee.jsx("div",{ref:c,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:E},children:ee.jsx(tm.div,{...i,ref:h,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});i8.displayName="SelectItemAlignedPosition";var i9=M.forwardRef((e,t)=>
60{let{__scopeSelect:n,align:o="start",collisionPadding:i=10,...l}=e,s=iV(n);return ee.jsx(nf,{...s,...l,ref:t,align:o,collisionPadding:i,style:{boxSizing:"border-box",...l.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)"}})});i9.displayName="SelectPopperPosition";var[le,lt]=iW(i2,{}),lr="SelectViewport",ln=M.forwardRef((e,t)=>{let{__scopeSelect:n,nonce:o,...i}=e,l=i4(lr,n),s=lt(lr,n),u=en(t,l.onViewportChange),c=M.useRef(0);return ee.jsxs(ee.Fragment,{children:[ee.jsx("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}"},nonce:o}),ee.jsx(iI.Slot,{scope:n,children:ee.jsx(tm.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:u,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:tl(i.onScroll,e=>{let t=e.currentTarget,{contentWrapper:n,shouldExpandOnScrollRef:o}=s;if(null!=o&&o.current&&n){let e=Math.abs(c.current-t.scrollTop);if(e>0){let o=window.innerHeight-20,i=Math.max(parseFloat(n.style.minHeight),parseFloat(n.style.height));if(i<o){let l=i+e,s=Math.min(o,l),u=l-s;n.style.height=s+"px","0px"===n.style.bottom&&(t.scrollTop=u>0?u:0,n.style.justifyContent="flex-end")}}}c.current=t.scrollTop})})})]})});ln.displayName=lr;var la="SelectGroup",[lo,li]=iW(la);M.forwardRef((e,t)=>{let{__scopeSelect:n,...o}=e,i=nk();return ee.jsx(lo,{scope:n,id:i,children:ee.jsx(tm.div,{role:"group","aria-labelledby":i,...o,ref:t})})}).displayName=la;var ll="SelectLabel";M.forwardRef((e,t)=>{let{__scopeSelect:n,...o}=e,i=li(ll,n);return ee.jsx(tm.div,{id:i.id,...o,ref:t})}).displayName=ll;var ls="SelectItem",[lu,lc]=iW(ls),ld=M.forwardRef((e,t)=>{let{__scopeSelect:n,value:o,disabled:i=!1,textValue:l,...s}=e,u=iq(ls,n),c=i4(ls,n),d=u.value===o,[f,h]=M.useState(l??""),[p,m]=M.useState(!1),g=en(t,e=>{var t;return null==(t=c.itemRefCallback)?void 0:t.call(c,e,o,i)}),v=nk(),y=M.useRef("touch"),b=()=>{i||(u.onValueChange(o),u.onOpenChange(!1))};if(""===o)throw 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 ee.jsx(lu,{scope:n,value:o,disabled:i,textId:v,isSelected:d,onItemTextChange:M.useCallback(e=>{h(t=>t||(e?.textContent??"").trim())},[]),children:ee.jsx(iI.ItemSlot,{scope:n,value:o,disabled:i,textValue:f,children:ee.jsx(tm.div,{role:"option","aria-labelledby":v,"data-highlighted":p?"":void 0,"aria-selected":d&&p,"data-state":d?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...s,ref:g,onFocus:tl(s.onFocus,()=>m(!0)),onBlur:tl(s.onBlur,()=>m(!1)),onClick:tl(s.onClick,()=>{"mouse"!==y.current&&b()}),onPointerUp:tl(s.onPointerUp,()=>{"mouse"===y.current&&b()}),onPointerDown:tl(s.onPointerDown,e=>{y.current=e.pointerType}),onPointerMove:tl(s.onPointerMove,e=>{var t;y.current=e.pointerType,i?null==(t=c.onItemLeave)||t.call(c):"mouse"===y.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:tl(s.onPointerLeave,e=>{var t;e.currentTarget===document.activeElement&&(null==(t=c.onItemLeave)||t.call(c))}),onKeyDown:tl(s.onKeyDown,e=>{var t;(null==(t=c.searchRef)?void 0:t.current)!==""&&" "===e.key||(iD.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});ld.displayName=ls;var lf="SelectItemText",lh=M.forwardRef((e,t)=>{let{__scopeSelect:n,className:o,style:i,...l}=e,s=iq(lf,n),u=i4(lf,n),c=lc(lf,n),d=iY(lf,n),[f,h]=M.useState(null),p=en(t,e=>h(e),c.onItemTextChange,e=>{var t;return null==(t=u.itemTextRefCallback)?void 0:t.call(u,e,c.value,c.disabled)}),m=f?.textContent,g=M.useMemo(()=>ee.jsx("option",{value:c.value,disabled:c.disabled,children:m},c.value),[c.disabled,c.value,m]),{onNativeOptionAdd:v,onNativeOptionRemove:y}=d;return tu(()=>(v(g),()=>y(g)),[v,y,g]),ee.jsxs(ee.Fragment,{children:[ee.jsx(tm.span,{id:c.textId,...l,ref:p}),c.isSelected&&s.valueNode&&!s.valueNodeHasChildren?j.createPortal(l.children,s.valueNode):null]})});lh.displayName=lf;var lp="SelectItemIndicator";M.forwardRef((e,t)=>
60{let{__scopeSelect:n,...o}=e;return lc(lp,n).isSelected?ee.jsx(tm.span,{"aria-hidden":!0,...o,ref:t}):null}).displayName=lp;var lm="SelectScrollUpButton",lg=M.forwardRef((e,t)=>{let n=i4(lm,e.__scopeSelect),o=lt(lm,e.__scopeSelect),[i,l]=M.useState(!1),s=en(t,o.onScrollButtonChange);return tu(()=>{if(n.viewport&&n.isPositioned){let e=function(){l(t.scrollTop>0)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?ee.jsx(lb,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});lg.displayName=lm;var lv="SelectScrollDownButton",ly=M.forwardRef((e,t)=>{let n=i4(lv,e.__scopeSelect),o=lt(lv,e.__scopeSelect),[i,l]=M.useState(!1),s=en(t,o.onScrollButtonChange);return tu(()=>{if(n.viewport&&n.isPositioned){let e=function(){let e=t.scrollHeight-t.clientHeight;l(Math.ceil(t.scrollTop)<e)},t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?ee.jsx(lb,{...e,ref:s,onAutoScroll:()=>{let{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ly.displayName=lv;var lb=M.forwardRef((e,t)=>{let{__scopeSelect:n,onAutoScroll:o,...i}=e,l=i4("SelectScrollButton",n),s=M.useRef(null),u=iH(n),c=M.useCallback(()=>{null!==s.current&&(window.clearInterval(s.current),s.current=null)},[]);return M.useEffect(()=>()=>c(),[c]),tu(()=>{var e;let t=u().find(e=>e.ref.current===document.activeElement);null==(e=t?.ref.current)||e.scrollIntoView({block:"nearest"})},[u]),ee.jsx(tm.div,{"aria-hidden":!0,...i,ref:t,style:{flexShrink:0,...i.style},onPointerDown:tl(i.onPointerDown,()=>{null===s.current&&(s.current=window.setInterval(o,50))}),onPointerMove:tl(i.onPointerMove,()=>{var e;null==(e=l.onItemLeave)||e.call(l),null===s.current&&(s.current=window.setInterval(o,50))}),onPointerLeave:tl(i.onPointerLeave,()=>{c()})})}),lw=M.forwardRef((e,t)=>{let{__scopeSelect:n,...o}=e;return ee.jsx(tm.div,{"aria-hidden":!0,...o,ref:t})});lw.displayName="SelectSeparator";var lx="SelectArrow";M.forwardRef((e,t)=>{let{__scopeSelect:n,...o}=e,i=iV(n),l=iq(lx,n),s=i4(lx,n);return l.open&&"popper"===s.position?ee.jsx(nm,{...i,...o,ref:t}):null}).displayName=lx;var lE=M.forwardRef(({__scopeSelect:e,value:t,...n},o)=>{let i=M.useRef(null),l=en(o,i),s=function(e){let t=M.useRef({value:e,previous:e});return M.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(t);return M.useEffect(()=>{let e=i.current;if(!e)return;let n=Object.getOwnPropertyDescriptor(window.HTMLSelectElement.prototype,"value").set;if(s!==t&&n){let o=new Event("change",{bubbles:!0});n.call(e,t),e.dispatchEvent(o)}},[s,t]),ee.jsx(tm.select,{...n,style:{...iR,...n.style},ref:l,defaultValue:t})});function lC(e){return""===e||void 0===e}function lk(e){let t=tw(e),n=M.useRef(""),o=M.useRef(0),i=M.useCallback(e=>{let i=n.current+e;t(i),function e(t){n.current=t,window.clearTimeout(o.current),""!==t&&(o.current=window.setTimeout(()=>e(""),1e3))}(i)},[t]),l=M.useCallback(()=>{n.current="",window.clearTimeout(o.current)},[]);return M.useEffect(()=>()=>window.clearTimeout(o.current),[]),[n,i,l]}function lM(e,t,n){var o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=(o=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(o+n)%e.length]));1===i.length&&(l=l.filter(e=>e!==n));let s=l.find(e=>e.textValue.toLowerCase().startsWith(i.toLowerCase()));return s!==n?s:void 0}lE.displayName="SelectBubbleInput";/** 61 * @license lucide-react v0.436.0 - ISC 62 * 63 * This source code is licensed under the ISC license. 64 * See the LICENSE file in the root directory of this source tree. 65 */let l_=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),lS=(...e)=>e.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ");/** 66 * @license lucide-react v0.436.0 - ISC 67 * 68 * This source code is licensed under the ISC license. 69 * See the LICENSE file in the root directory of this source tree. 70 */var lj={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 71 * @license lucide-react v0.436.0 - ISC 72 * 73 * This source code is licensed under the ISC license. 74 * See the LICENSE file in the root directory of this source tree. 75 */let lO=(0,M.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:i="",children:l,iconNode:s,...u},c)=>(0,M.createElement)("svg",{ref:c,...lj,width:t,height:t,stroke:e,strokeWidth:o?24*Number(n)/Number(t):n,className:lS("lucide",i),...u},[...s.map(([e,t])=>(0,M.createElement)(e,t)),...Array.isArray(l)?l:[l]])),lL=(e,t)=>{let n=(0,M.forwardRef)(({className:n,...o},i)=>(0,M.createElement)(lO,{ref:i,iconNode:t,className:lS(`lucide-${l_(e)}`,n),...o}));return n.displayName=`${e}`,n},lA=lL("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),lT=lL("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),lP=M.forwardRef(({className:e,placeholder:t="",isError:n=!1,name:o,...i},l)=>{let{disabled:s}=i;return ee.jsx(iQ,{ref:l,id:o,"aria-label":t,role:"combobox","aria-haspopup":"listbox",tabIndex:0,className:"data-[placeholder]:text-grey-500 text-gray-900 text-left",...i,children:ee.jsxs("div",{className:e8(["flex","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-300","overflow-hidden","focus-within:border-purple-300","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent","paragraph-sm","bg-white",{"bg-grey-300 border-grey-500 text-grey-600 cursor-not-allowed":s},{"border-error-500":n}]),children:[ee.jsx("div",{className:"w-full h-full",children:ee.jsx(iJ,{placeholder:t})}),ee.jsx(i1,{asChild:!0,children:ee.jsx("span",{className:e8(["size-6","ml-2x",{"text-error-500":n}]),children:ee.jsx(lA,{strokeWidth:1.5})})})]})})});lP.displayName=iQ.displayName;let lN=M.forwardRef(({className:e,...t},n)=>ee.jsx(lg,{ref:n,className:e8("flex cursor-default items-center justify-center py-1",e),...t,children:ee.jsx(lT,{})}));lN.displayName=lg.displayName;let lF=M.forwardRef(({className:e,...t},n)=>ee.jsx(ly,{ref:n,className:e8("flex cursor-default items-center justify-center py-1",e),...t,children:ee.jsx(lA,{})}));lF.displayName=ly.displayName;let lR=M.forwardRef(({className:e,children:t,position:n="popper",...o},i)=>ee.jsx(i0,{children:ee.jsxs(i3,{ref:i,className:e8("relative z-50 max-h-96 min-w-[8rem] overflow-hidden border bg-white text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
75de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2","popper"===n&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",e),position:n,...o,children:[ee.jsx(lN,{}),ee.jsx(ln,{className:e8("p-1","popper"===n&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"),children:t}),ee.jsx(lF,{})]})}));lR.displayName=i3.displayName;let l$=M.forwardRef(({className:e,children:t,...n},o)=>ee.jsx(ld,{ref:o,className:e8("w-full paragraph-md outline-none py-1.5 pl-2 text-grey-900 cursor-pointer focus:bg-primitive-blue-300 focus:text-white focus:cursor-default",e),...n,children:ee.jsx(lh,{children:t})}));l$.displayName=ld.displayName,M.forwardRef(({className:e,...t},n)=>ee.jsx(lw,{ref:n,className:e8("-mx-1 my-1 h-px bg-muted",e),...t})).displayName=lw.displayName,lP.defaultProps={isError:!1,placeholder:""};let lD={cpf:"___.___.___-__",cnpj:"__.___.___/____-__",mobileNumber:"(__) _____-____",birthdate:"__/__/____",zipcode:"_____-___"};function lz(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function lI(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lz(Object(n),!0).forEach(function(t){lH(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lz(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lH(e,t,n){var o;return(t="symbol"==typeof(o=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?o:o+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lB(){return(lB=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function lW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function lV(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return lW(e,void 0);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)?lW(e,void 0):void 0}}(e))||t){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 76In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l,s=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){u=!0,l=e},f:function(){try{s||null==n.return||n.return()}finally{if(u)throw l}}}}function lU(e,t){var n,o=t.replacementChars,i=t.replacement,l=t.separate,s=o,u="",c=lV(e);try{for(c.s();!(n=c.n()).done;){var d,f=n.value,h=!Object.prototype.hasOwnProperty.call(i,f)&&(null===(d=i[s[0]])||void 0===d?void 0:d.test(f));(l&&f===s[0]||h)&&(s=s.slice(1),u+=f)}}catch(e){c.e(e)}finally{c.f()}return u}function lq(e){return e.length>0?lH({},e,/./):{}}function lG(e,t){for(var n=t.start,o=void 0===n?0:n,i=t.end,l=t.mask,s=t.replacement,u=t.separate,c=e.slice(o,i),d=l.slice(o,i),f="",h=0;h<d.length;h++){var p=Object.prototype.hasOwnProperty.call(s,d[h]);p&&void 0!==c[h]&&c[h]!==d[h]?f+=c[h]:p&&u&&(f+=d[h])}return f}var lY=["[","]","\\","/","^","$",".","|","?","*","+","(",")","{","}"];function lZ(e){return lY.includes(e)?"\\".concat(e):e}function lK(e){for(var t=e.mask,n=e.replacement,o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i="string"==typeof n?lq(n):n,l="",s=0;s<t.length;s++){var u=t[s],c=Object.prototype.hasOwnProperty.call(i,u),d=o?"(?!".concat(lZ(u),")"):"";
760===s&&(l+="^"),l+=c?"".concat(d,"(").concat(i[u].source,")"):lZ(u),s===t.length-1&&(l+="$")}return l}function lQ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(lQ=function(){return!!e})()}function lX(e){return(lX="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})(e)}function lJ(e){return(lJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l1(e,t){return(l1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l0(e){var t="function"==typeof Map?new Map:void 0;return(l0=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch{return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(lQ())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var i=new(e.bind.apply(e,o));return n&&l1(i,n.prototype),i}(e,arguments,lJ(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),l1(n,e)})(e)}var l2=function(e){function t(e,n){var o,i,l;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),(i=t,l=[e],i=lJ(i),o=function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,lQ()?Reflect.construct(i,l||[],lJ(this).constructor):i.apply(this,l))).name="SyntheticChangeError",o.cause=n,o}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l1(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(l0(Error));function l3(e,t){var n=t.value,o=t.selectionStart,i=t.selectionEnd;void 0!==n&&(e.value=n),void 0!==o&&void 0!==i&&e.setSelectionRange(o,i)}var l5=["text","email","tel","search","url"],l4=["component","mask","replacement","showMask","separate","track","modify","onMask"],l6=(0,M.forwardRef)(function(e,t){var n,o=e.component,i=e.mask,l=e.replacement,s=e.showMask,u=e.separate,c=e.track,d=e.modify,f=e.onMask,h=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,l4),p=(n=function(){var e,t,n,o,i,l,s,u,c,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},f=d.mask,h=void 0===f?"":f,p=d.replacement,m=void 0===p?{}:p,g=d.showMask,v=void 0!==g&&g,y=d.separate,b=void 0!==y&&y,w=d.track,x=d.modify,E=d.onMask,C="string"==typeof m?lq(m):m,k=(0,M.useRef)(null);return t=(e={init:function(e){var t=e.controlled,n=e.initialValue;n=t||n?n:v?h:"";var o={mask:h,replacement:C,separate:b};return k.current={value:n,props:o,fallbackProps:o},{value:n}},tracking:function(e){var t,n,o,i,l,s,u=e.inputType,c=e.previousValue,d=e.addedValue,f=e.changeStart,p=e.changeEnd;if(null===k.current)throw new l2("The state has not been initialized.");k.current.value!==c?k.current.props=k.current.fallbackProps:k.current.fallbackProps=k.current.props;var m=w?.(lI(lI({},"insert"===u?{inputType:u,data:d}:{inputType:u,data:null}),{},{value:c,selectionStart:f,selectionEnd:p}));if(!1===m)throw new l2("Custom tracking stop.");null===m?d="":!0!==m&&void 0!==m&&(d=m);var g=lG(c,lI({end:f},k.current.props)),y=lG(c,lI({start:p},k.current.props)),E=RegExp("[^".concat(Object.keys(k.current.props.replacement).join(""),"]"),"g"),M=k.current.props.mask.replace(E,"");if(g&&(g=lU(g,{replacementChars:M,replacement:k.current.props.replacement,separate:k.current.props.separate}),M=M.slice(g.length)),d&&(d=lU(d,{replacementChars:M,replacement:k.current.props.replacement,separate:!1}),M=M.slice(d.length)),"insert"===u&&""===d)throw new l2("The character does not match the key value of the `replacement` object.");if(k.current.props.separate){var _=k.current.props.mask.slice(f,p).replace(E,""),S=_.length-d.length;S<0?y=y.slice(-S):S>0&&(y=_.slice(-S)+y)}y&&(y=lU(y,{replacementChars:M,replacement:k.current.props.replacement,separate:k.current.props.separate}));var j=g+d+y,O=null!==(s=x?.(j))&&void 0!==s?s:{},L=O.mask,A=void 0===L?h:L,T=O.replacement,P=void 0===T?C:T,N=O.showMask,F=O.separate,R=void 0===F?b:F;"string"==typeof P&&(P=lq(P));var $=(l=function(e,t){for(var n=t.mask,o=t.replacement,i=[],l=0;l<n.length;l++){var s,u=null!==(s=e[l])&&void 0!==s?s:n[l],c=Object.prototype.hasOwnProperty.call(o,u)?"replacement":void 0!==e[l]&&e[l]!==n[l]?"input":"mask";i.push({type:c,value:u,index:l})}return i}(i=function(e,t){var n,o=t.mask,i=t.replacement,l=t.separate,s=t.showMask,u=0,c="",d=lV(o);try{for(d.s();!(n=d.n()).done;){var f=n.value;if(!s&&void 0===e[u])break;Object.prototype.hasOwnProperty.call(i,f)&&void 0!==e[u]?c+=e[u++]:c+=f}}catch(e){d.e(e)}finally{d.f()}if(l&&!s){for(var h=o.length-1;h>=0&&c[h]===o[h];h--);c=c.slice(0,h+1)}return c}(j,{mask:n=(t={mask:A,replacement:P,separate:R,showMask:void 0===N?v:N}).mask,replacement:o=t.replacement,separate:t.separate,showMask:t.showMask}),{mask:n,replacement:o}),{value:i,input:j,parts:l,pattern:lK({mask:n,replacement:o}),isValid:RegExp(lK({mask:n,replacement:o},!0)).test(i)}),D=function(e){var t,n,o,i=e.inputType,l=e.value,s=e.addedValue,u=e.beforeChangeValue,c=e.parts,d=e.replacement,f=e.separate,h=c.filter(function(e){var t=e.type;return"input"===t||f&&"replacement"===t}),p=null===(t=h[u.length+s.length-1])||void 0===t?void 0:t.index,m=null===(n=h[u.length-1])||void 0===n?void 0:n.index,g=null===(o=h[u.length+s.length])||void 0===o?void 0:o.index;if("insert"===i){if(void 0!==p)return p+1;if(void 0!==g)return g;if(void 0!==m)return m+1}
76if("deleteForward"===i){if(void 0!==g)return g;if(void 0!==m)return m+1}if("deleteBackward"===i){if(void 0!==m)return m+1;if(void 0!==g)return g}var v=l.split("").findIndex(function(e){return Object.prototype.hasOwnProperty.call(d,e)});return -1!==v?v:l.length}({inputType:u,value:$.value,addedValue:d,beforeChangeValue:g,parts:$.parts,replacement:P,separate:R});return k.current.value=$.value,k.current.props={mask:A,replacement:P,separate:R},{value:$.value,selectionStart:D,selectionEnd:D,__detail:$}},eventType:"input-mask",eventHandler:E}).init,n=e.tracking,o=e.eventType,i=e.eventHandler,l=(0,M.useRef)({timeoutId:-1,fallbackTimeoutId:-1,cachedTimeoutId:-1,start:0,end:0}),s=(0,M.useRef)(!0),u=(0,M.useRef)(null),(c=(0,M.useRef)({init:t,tracking:n,eventType:o,eventHandler:i})).current.init=t,c.current.tracking=n,c.current.eventType=o,c.current.eventHandler=i,(0,M.useMemo)(function(){var e,t,n,o,i;return e=c.current.init,n=(t={onFocus:function(){l.current.timeoutId=window.setTimeout(function e(){var t,n,o,i;s.current?(l.current.start=null!==(t=null===(n=u.current)||void 0===n?void 0:n.selectionStart)&&void 0!==t?t:0,l.current.end=null!==(o=null===(i=u.current)||void 0===i?void 0:i.selectionEnd)&&void 0!==o?o:0,l.current.timeoutId=window.setTimeout(e)):l.current.fallbackTimeoutId=window.setTimeout(e)})},onBlur:function(){window.clearTimeout(l.current.timeoutId),window.clearTimeout(l.current.fallbackTimeoutId),l.current.timeoutId=-1,l.current.fallbackTimeoutId=-1,l.current.cachedTimeoutId=-1},onInput:function(e){var t=u.current;if(null!==t)try{if(l.current.cachedTimeoutId===l.current.timeoutId)throw new l2("The input selection has not been updated.");l.current.cachedTimeoutId=l.current.timeoutId;var n=t.value,o=t.selectionStart,i=t.selectionEnd;if(null===o||null===i)throw new l2("The selection attributes have not been initialized.");var d,f,h,p,m,g,v=null!==(d=null===(f=t._valueTracker)||void 0===f||null===(h=f.getValue)||void 0===h?void 0:h.call(f))&&void 0!==d?d:"";if(void 0===e.inputType&&(l.current.start=0,l.current.end=v.length),o>l.current.start?g="insert":o<=l.current.start&&o<l.current.end?g="deleteBackward":o===l.current.end&&n.length<v.length&&(g="deleteForward"),void 0===g||("deleteBackward"===g||"deleteForward"===g)&&n.length>v.length)throw new l2("Input type detection error.");var y="",b="",w=l.current.start,x=l.current.end;if("insert"===g)y=n.slice(l.current.start,o);else{var E=v.length-n.length;w=o,x=o+E,b=v.slice(w,x)}var C=c.current.tracking({inputType:g,previousValue:v,value:n,addedValue:y,deletedValue:b,changeStart:w,changeEnd:x,selectionStart:o,selectionEnd:i});l3(t,{value:C.value,selectionStart:C.selectionStart,selectionEnd:C.selectionEnd});var k=c.current.eventType,M=c.current.eventHandler;if("string"==typeof k&&M){var _=t.value,S=t.selectionStart,O=t.selectionEnd;s.current=!1,requestAnimationFrame(function(){l3(t,{value:_,selectionStart:S??_.length,selectionEnd:O??_.length});var e=new CustomEvent(k,{bubbles:!0,cancelable:!1,composed:!0,detail:C.__detail});t.dispatchEvent(e),j.unstable_batchedUpdates?(0,j.unstable_batchedUpdates)(M,e):M(e),s.current=!0})}null===(p=t._valueTracker)||void 0===p||null===(m=p.setValue)||void 0===m||m.call(p,v),l.current.start=C.selectionStart,l.current.end=C.selectionEnd}catch(n){var L,A,T,P,N,F,R,$,D,z,I,H=n.name,B=n.cause;if(l3(t,{value:null!==(L=null!==(A=null==B||null===(T=B.__attributes)||void 0===T?void 0:T.value)&&void 0!==A?A:null===(P=t._valueTracker)||void 0===P||null===(N=P.getValue)||void 0===N?void 0:N.call(P))&&void 0!==L?L:"",selectionStart:null!==(F=null==B||null===(R=B.__attributes)||void 0===R?void 0:R.selectionStart)&&void 0!==F?F:l.current.start,selectionEnd:null!==($=null==B||null===(D=B.__attributes)||void 0===D?void 0:D.selectionEnd)&&void 0!==$?$:l.current.end}),(null==B||null===(z=B.__attributes)||void 0===z?void 0:z.selectionStart)!==void 0&&(l.current.start=B.__attributes.selectionStart),(null==B||null===(I=B.__attributes)||void 0===I?void 0:I.selectionEnd)!==void 0&&(l.current.end=B.__attributes.selectionEnd),e.preventDefault(),e.stopPropagation(),"SyntheticChangeError"!==H)throw n}}}
76).onFocus,o=t.onBlur,i=t.onInput,new Proxy(u,{set:function(t,l,s){if("current"!==l)return!1;var c=null!==s&&l5.includes(s.type);if(s!==u.current&&(null!==u.current&&(u.current.removeEventListener("focus",n),u.current.removeEventListener("blur",o),u.current.removeEventListener("input",i)),null!==s&&c)){var d,f=null!==(d=s._wrapperState)&&void 0!==d?d:{},h=f.controlled,p=f.initialValue,m=e({controlled:void 0!==h&&h,initialValue:s.value||(void 0===p?"":p)});l3(s,{value:m.value}),document.activeElement===s&&n(),s.addEventListener("focus",n),s.addEventListener("blur",o),s.addEventListener("input",i)}return t[l]=s,!0}})},[])}({mask:i,replacement:l,showMask:s,separate:u,track:c,modify:d,onMask:f}),(0,M.useCallback)(function(e){n.current=e,"function"==typeof t?t(e):"object"===lX(t)&&null!==t&&(t.current=e)},[n,t]));return o?M.createElement(o,lB({ref:p},h)):M.createElement("input",lB({ref:p},h))});let l7=(0,M.forwardRef)(({className:e,leadingIcon:t,trailingIcon:n,disabled:o,error:i="",helpText:l="",name:s,label:u,mask:c,onChange:d,placeholder:f,value:h,noGap:p=!1,...m},g)=>{let v=!!i,y=lD[c]??c;return ee.jsx(o$,{name:s,label:u,error:i,helpText:l,noGap:p,children:ee.jsxs("div",{className:e8(["flex","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-300","data-[placeholder]:text-grey-500","text-gray-900","overflow-hidden","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent",{"bg-grey-300 border-[#040404] text-grey-600":o},{"border-error-500":v},e]),children:[t&&ee.jsx("span",{className:e8(["size-6","mr-2x",{"text-error-500":v}]),children:t}),ee.jsx(l6,{className:e8(["w-full","h-full","paragraph-sm","outline-none",{"bg-white":!o&&!m.readOnly},{"bg-grey-300":o||m.readOnly},"placeholder:text-grey-500","disabled:placeholder:text-grey-100","disabled:bg-grey-300"]),id:s,name:s,value:h,ref:g,mask:y,replacement:{_:/\d/},placeholder:f||y,onChange:e=>{d&&d(e)},...m}),n&&ee.jsx("span",{className:e8(["size-6","ml-2x",{"text-error-500":v}]),children:n})]})})});l7.defaultProps={leadingIcon:void 0,trailingIcon:void 0,error:"",label:"",helpText:"",type:void 0,noGap:!1};var l8="Dialog",[l9]=ts(l8),[se,st]=l9(l8),sr=e=>{let{__scopeDialog:t,children:n,open:o,defaultOpen:i,onOpenChange:l,modal:s=!0}=e,u=M.useRef(null),c=M.useRef(null),[d,f]=td({prop:o,defaultProp:i??!1,onChange:l,caller:l8});return ee.jsx(se,{scope:t,triggerRef:u,contentRef:c,contentId:nk(),titleId:nk(),descriptionId:nk(),open:d,onOpenChange:f,onOpenToggle:M.useCallback(()=>f(e=>!e),[f]),modal:s,children:n})};sr.displayName=l8;var sn="DialogTrigger";M.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=st(sn,n),l=en(t,i.triggerRef);return ee.jsx(tm.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":sE(i.open),...o,ref:l,onClick:tl(e.onClick,i.onOpenToggle)})}).displayName=sn;var sa="DialogPortal",[so,si]=l9(sa,{forceMount:void 0}),sl=e=>{let{__scopeDialog:t,forceMount:n,children:o,container:i}=e,l=st(sa,t);return ee.jsx(so,{scope:t,forceMount:n,children:M.Children.map(o,e=>ee.jsx(nw,{present:n||l.open,children:ee.jsx(nb,{asChild:!0,container:i,children:e})}))})};sl.displayName=sa;var ss="DialogOverlay",su=M.forwardRef((e,t)=>{let n=si(ss,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,l=st(ss,e.__scopeDialog);return l.modal?ee.jsx(nw,{present:o||l.open,children:ee.jsx(sd,{...i,ref:t})}):null});su.displayName=ss;var sc=tf("DialogOverlay.RemoveScroll"),sd=M.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=st(ss,n);return ee.jsx(aE,{as:sc,allowPinchZoom:!0,shards:[i.contentRef],children:ee.jsx(tm.div,{"data-state":sE(i.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),sf="DialogContent",sh=M.forwardRef((e,t)=>{let n=si(sf,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,l=st(sf,e.__scopeDialog);return ee.jsx(nw,{present:o||l.open,children:l.modal?ee.jsx(sp,{...i,ref:t}):ee.jsx(sm,{...i,ref:t})})});sh.displayName=sf;var sp=M.forwardRef((e,t)=>{let n=st(sf,e.__scopeDialog),o=M.useRef(null),i=en(t,n.contentRef,o);return M.useEffect(()=>{let e=o.current;if(e)return nG(e)},[]),ee.jsx(sg,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:tl(e.onCloseAutoFocus,e=>{var t;
76e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:tl(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:tl(e.onFocusOutside,e=>e.preventDefault())})}),sm=M.forwardRef((e,t)=>{let n=st(sf,e.__scopeDialog),o=M.useRef(!1),i=M.useRef(!1);return ee.jsx(sg,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var l,s;null==(l=e.onCloseAutoFocus)||l.call(e,t),t.defaultPrevented||(o.current||null==(s=n.triggerRef.current)||s.focus(),t.preventDefault()),o.current=!1,i.current=!1},onInteractOutside:t=>{var l,s;null==(l=e.onInteractOutside)||l.call(e,t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let u=t.target;null!=(s=n.triggerRef.current)&&s.contains(u)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),sg=M.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...s}=e,u=st(sf,n),c=M.useRef(null),d=en(t,c);return tA(),ee.jsxs(ee.Fragment,{children:[ee.jsx(tR,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:ee.jsx(tS,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":sE(u.open),...s,ref:d,onDismiss:()=>u.onOpenChange(!1)})}),ee.jsxs(ee.Fragment,{children:[ee.jsx(s_,{titleId:u.titleId}),ee.jsx(sS,{contentRef:c,descriptionId:u.descriptionId})]})]})}),sv="DialogTitle",sy=M.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=st(sv,n);return ee.jsx(tm.h2,{id:i.titleId,...o,ref:t})});sy.displayName=sv;var sb="DialogDescription",sw=M.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=st(sb,n);return ee.jsx(tm.p,{id:i.descriptionId,...o,ref:t})});sw.displayName=sb;var sx="DialogClose";function sE(e){return e?"open":"closed"}M.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=st(sx,n);return ee.jsx(tm.button,{type:"button",...o,ref:t,onClick:tl(e.onClick,()=>i.onOpenChange(!1))})}).displayName=sx;var sC="DialogTitleWarning",[sk,sM]=function(e,t){let n=M.createContext(t),o=e=>{let{children:t,...o}=e,i=M.useMemo(()=>o,Object.values(o));return ee.jsx(n.Provider,{value:i,children:t})};return o.displayName=e+"Provider",[o,function(o){let i=M.useContext(n);if(i)return i;if(void 0!==t)return t;throw Error(`\`${o}\` must be used within \`${e}\``)}]}(sC,{contentName:sf,titleName:sv,docsSlug:"dialog"}),s_=({titleId:e})=>{let t=sM(sC),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 77 78If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 79 80For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return M.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},sS=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${sM("DialogDescriptionWarning").contentName}}.`;return M.useEffect(()=>{var o;let i=null==(o=e.current)?void 0:o.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};let sj=M.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),sO=()=>{let e=M.useContext(sj);if(!e)throw Error("useDrawerContext must be used within a Drawer.Root");return e};function sL(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function sA(){return sT(/^iPhone/)||sT(/^iPad/)||sT(/^Mac/)&&navigator.maxTouchPoints>1}function sT(e){return"u">typeof window&&null!=window.navigator?e.test(window.navigator.platform):void 0}!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not( 81[data-state=closed] 82){opacity:0}
82[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);let sP="u">typeof window?M.useLayoutEffect:M.useEffect;function sN(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}let sF="u">typeof document&&window.visualViewport;function sR(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function s$(e){for(sR(e)&&(e=e.parentElement);e&&!sR(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}let sD=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),sz=0,sI;function sH(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function sB(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=s$(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,o=e.getBoundingClientRect().top;e.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom+24&&(t.scrollTop+=o-n)}e=t.parentElement}}function sW(e){return e instanceof HTMLInputElement&&!sD.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function sV(...e){return M.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}let sU=new WeakMap;function sq(e,t,n=!1){if(!e||!(e instanceof HTMLElement))return;let o={};Object.entries(t).forEach(([t,n])=>{if(t.startsWith("--")){e.style.setProperty(t,n);return}o[t]=e.style[t],e.style[t]=n}),n||sU.set(e,o)}let sG=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function sY(e,t){if(!e)return null;let n=window.getComputedStyle(e),o=n.transform||n.webkitTransform||n.mozTransform,i=o.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[sG(t)?13:12]):(i=o.match(/^matrix\((.+)\)$/))?parseFloat(i[1].split(", ")[sG(t)?5:4]):null}function sZ(e,t){if(!e)return()=>{};let n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}let sK={DURATION:.5,EASE:[.32,.72,0,1]},sQ="vaul-dragging";function sX(e){let t=M.useRef(e);return M.useEffect(()=>{t.current=e}),M.useMemo(()=>(...e)=>null==t.current?void 0:t.current.call(t,...e),[])}function sJ({prop:e,defaultProp:t,onChange:n=()=>{}}){let[o,i]=function({defaultProp:e,onChange:t}){let n=M.useState(e),[o]=n,i=M.useRef(o),l=sX(t);return M.useEffect(()=>{i.current!==o&&(l(o),i.current=o)},[o,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,s=l?e:o,u=sX(n);return[s,M.useCallback(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else i(t)},[l,e,i,u])]}let s1=()=>()=>{},s0=null,s2=M.forwardRef(function({...e},t){let{overlayRef:n,snapPoints:o,onRelease:i,shouldFade:l,isOpen:s,modal:u,shouldAnimate:c}=sO(),d=sV(t,n),f=o&&o.length>0;if(!u)return null;let h=M.useCallback(e=>i(e),[i]);return M.createElement(su,{onMouseUp:h,ref:d,"data-vaul-overlay":"","data-vaul-snap-points":s&&f?"true":"false","data-vaul-snap-points-overlay":s&&l?"true":"false","data-vaul-animate":null!=c&&c.current?"true":"false",...e})});s2.displayName="Drawer.Overlay";let s3=M.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:n,...o},i){let{drawerRef:l,onPress:s,onRelease:u,onDrag:c,keyboardIsOpen:d,snapPointsOffset:f,activeSnapPointIndex:h,modal:p,isOpen:m,direction:g,snapPoints:v,container:y,handleOnly:b,shouldAnimate:w,autoFocus:x}=sO(),[E,C]=M.useState(!1),k=sV(i,l),_=M.useRef(null),S=M.useRef(null),j=M.useRef(!1),O=v&&v.length>0;
82!function(){let{direction:e,isOpen:t,shouldScaleBackground:n,setBackgroundColorOnScale:o,noBodyStyles:i}=sO(),l=M.useRef(null),s=(0,M.useMemo)(()=>document.body.style.backgroundColor,[]);function u(){return(window.innerWidth-26)/window.innerWidth}M.useEffect(()=>{if(t&&n){l.current&&clearTimeout(l.current);let t=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!t)return;!function(...e){}(o&&!i?sZ(document.body,{background:"black"}):s1,sZ(t,{transformOrigin:sG(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${sK.DURATION}s`,transitionTimingFunction:`cubic-bezier(${sK.EASE.join(",")})`}));let n=sZ(t,{borderRadius:"8px",overflow:"hidden",...sG(e)?{transform:`scale(${u()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${u()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{n(),l.current=window.setTimeout(()=>{s?document.body.style.background=s:document.body.style.removeProperty("background")},1e3*sK.DURATION)}}},[t,n,s])}();let L=(e,t,n=0)=>
82{if(j.current)return!0;let o=Math.abs(e.y),i=Math.abs(e.x),l=i>o,s=["bottom","right"].includes(t)?1:-1;if("left"===t||"right"===t){if(!(e.x*s<0)&&i>=0&&i<=n)return l}else if(!(e.y*s<0)&&o>=0&&o<=n)return!l;return j.current=!0,!0};function A(e){_.current=null,j.current=!1,u(e)}return M.useEffect(()=>{O&&window.requestAnimationFrame(()=>{C(!0)})},[]),M.createElement(sh,{"data-vaul-drawer-direction":g,"data-vaul-drawer":"","data-vaul-delayed-snap-points":E?"true":"false","data-vaul-snap-points":m&&O?"true":"false","data-vaul-custom-container":y?"true":"false","data-vaul-animate":null!=w&&w.current?"true":"false",...o,ref:k,style:f&&f.length>0?{"--snap-point-height":`${f[h??0]}px`,...t}:t,onPointerDown:e=>{b||(null==o.onPointerDown||o.onPointerDown.call(o,e),_.current={x:e.pageX,y:e.pageY},s(e))},onOpenAutoFocus:e=>{n?.(e),x||e.preventDefault()},onPointerDownOutside:t=>{if(e?.(t),!p||t.defaultPrevented){t.preventDefault();return}d.current&&(d.current=!1)},onFocusOutside:e=>{if(!p){e.preventDefault();return}},onPointerMove:e=>{if(S.current=e,b||(null==o.onPointerMove||o.onPointerMove.call(o,e),!_.current))return;let t=e.pageY-_.current.y,n=e.pageX-_.current.x,i="touch"===e.pointerType?10:2;L({x:n,y:t},g,i)?c(e):(Math.abs(n)>i||Math.abs(t)>i)&&(_.current=null)},onPointerUp:e=>{null==o.onPointerUp||o.onPointerUp.call(o,e),_.current=null,j.current=!1,u(e)},onPointerOut:e=>{null==o.onPointerOut||o.onPointerOut.call(o,e),A(S.current)},onContextMenu:e=>{null==o.onContextMenu||o.onContextMenu.call(o,e),S.current&&A(S.current)}})});s3.displayName="Drawer.Content",M.forwardRef(function({preventCycle:e=!1,children:t,...n},o){let{closeDrawer:i,isDragging:l,snapPoints:s,activeSnapPoint:u,setActiveSnapPoint:c,dismissible:d,handleOnly:f,isOpen:h,onPress:p,onDrag:m}=sO(),g=M.useRef(null),v=M.useRef(!1);function y(){g.current&&window.clearTimeout(g.current),v.current=!1}return M.createElement("div",{onClick:function(){if(v.current){y();return}window.setTimeout(()=>{(function(){if(l||e||v.current){y();return}if(y(),!s||0===s.length){d||i();return}if(u===s[s.length-1]&&d){i();return}let t=s.findIndex(e=>e===u);-1!==t&&c(s[t+1])})()},120)},onPointerCancel:y,onPointerDown:e=>{f&&p(e),g.current=window.setTimeout(()=>{v.current=!0},250)},onPointerMove:e=>{f&&m(e)},ref:o,"data-vaul-drawer-visible":h?"true":"false","data-vaul-handle":"","aria-hidden":"true",...n},M.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))}).displayName="Drawer.Handle";let s5=function({open:e,onOpenChange:t,children:n,onDrag:o,onRelease:i,snapPoints:l,shouldScaleBackground:s=!1,setBackgroundColorOnScale:u=!0,closeThreshold:c=.25,scrollLockTimeout:d=100,dismissible:f=!0,handleOnly:h=!1,fadeFromIndex:p=l&&l.length-1,activeSnapPoint:m,setActiveSnapPoint:g,fixed:v,modal:y=!0,onClose:b,nested:w,noBodyStyles:x=!1,direction:E="bottom",defaultOpen:C=!1,disablePreventScroll:k=!0,snapToSequentialPoint:_=!1,preventScrollRestoration:S=!1,repositionInputs:j=!0,onAnimationEnd:O,container:L,autoFocus:A=!1}){var T,P;let[N=!1,F]=sJ({defaultProp:C,prop:e,onChange:e=>{t?.(e),e||w||eh(),setTimeout(()=>{O?.(e)},1e3*sK.DURATION),e&&!y&&"u">typeof window&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),e||(document.body.style.pointerEvents="auto")}}),[R,$]=M.useState(!1),[D,z]=M.useState(!1),[I,H]=M.useState(!1),B=M.useRef(null),W=M.useRef(null),U=M.useRef(null),q=M.useRef(null),G=M.useRef(null),Y=M.useRef(!1),Z=M.useRef(null),K=M.useRef(0),Q=M.useRef(!1),X=M.useRef(!C),J=M.useRef(0),ee=M.useRef(null),et=M.useRef((null==(T=ee.current)?void 0:T.getBoundingClientRect().height)||0),er=M.useRef((null==(P=ee.current)?void 0:P.getBoundingClientRect().width)||0),en=M.useRef(0),ea=M.useCallback(e=>{l&&e===eu.length-1&&(W.current=new Date)},[]),{activeSnapPoint:eo,activeSnapPointIndex:ei,setActiveSnapPoint:el,onRelease:es,snapPointsOffset:eu,onDrag:ec,shouldFade:ed,getPercentageDragged:ef}=function({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:o,overlayRef:i,fadeFromIndex:l,onSnapPointChange:s,direction:u="bottom",container:c,snapToSequentialPoint:d}){let[f,h]=sJ({prop:e,defaultProp:n?.[0],onChange:t}),[p,m]=M.useState("u">typeof window?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);M.useEffect(()=>{function e(){m({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let g=M.useMemo(()=>f===n?.[n.length-1]||null,[n,f]),v=M.useMemo(()=>{var e;return null!=(e=n?.findIndex(e=>e===f))?e:null},[n,f]),y=n&&n.length>0&&(l||0===l)&&!Number.isNaN(l)&&n[l]===f||!n,b=M.useMemo(()=>{var e;let t=c?{width:c.getBoundingClientRect().width,height:c.getBoundingClientRect().height}:"u">typeof window?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};return null!=(e=n?.map(e=>{let n="string"==typeof e,o=0;if(n&&(o=parseInt(e,10)),sG(u)){let i=n?o:p?e*t.height:0;return p?"bottom"===u?t.height-i:-t.height+i:i}let i=n?o:p?e*t.width:0;return p?"right"===u?t.width-i:-t.width+i:i}))?e:[]},[n,p,c]),w=M.useMemo(()=>null!==v?b?.[v]:null,[b,v]),x=M.useCallback(e=>{var t;let c=null!=(t=b?.findIndex(t=>t===e))?t:null;s(c),sq(o.current,{transition:`transform ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`,transform:sG(u)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`}),b&&c!==b.length-1&&void 0!==l&&c!==l&&c<l?sq(i.current,{transition:`opacity ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`,opacity:"0"}):sq(i.current,{transition:`opacity ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`,opacity:"1"}),h(n?.[Math.max(c,0)])},[o.current,n,b,l,i,h]);return M.useEffect(()=>{if(f||e){var t;let o=null!=(t=n?.findIndex(t=>t===e||t===f))?t:-1;b&&-1!==o&&"number"==typeof b[o]&&x(b[o])}},[f,e,n,b,x]),{isLastSnapPoint:g,activeSnapPoint:f,shouldFade:y,getPercentageDragged:function(e,t){if(!n||"number"!=typeof v||!b||void 0===l)return null;let o=v===l-1;if(v>=l&&t)return 0;if(o&&!t)return 1;if(!y&&!o)return null;let i=o?v+1:v-1,s=e/Math.abs(o?b[i]-b[i-1]:b[i+1]-b[i]);return o?1-s:s},setActiveSnapPoint:h,activeSnapPointIndex:v,onRelease:function({draggedDistance:e,closeDrawer:t,velocity:o,dism
82issible:s}){if(void 0===l)return;let c="bottom"===u||"right"===u?(w??0)-e:(w??0)+e,f=v===l-1,h=0===v,p=e>0;if(f&&sq(i.current,{transition:`opacity ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`}),!d&&o>2&&!p){s?t():x(b[0]);return}if(!d&&o>2&&p&&b&&n){x(b[n.length-1]);return}let m=b?.reduce((e,t)=>"number"!=typeof e||"number"!=typeof t?e:Math.abs(t-c)<Math.abs(e-c)?t:e),y=sG(u)?window.innerHeight:window.innerWidth;if(o>.4&&Math.abs(e)<.4*y){let e=p?1:-1;if(e>0&&g&&n){x(b[n.length-1]);return}if(h&&e<0&&s&&t(),null===v)return;x(b[v+e]);return}x(m)},onDrag:function({draggedDistance:e}){if(null===w)return;let t="bottom"===u||"right"===u?w-e:w+e;("bottom"===u||"right"===u)&&t<b[b.length-1]||("top"===u||"left"===u)&&t>b[b.length-1]||sq(o.current,{transform:sG(u)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})},snapPointsOffset:b}}({snapPoints:l,activeSnapPointProp:m,setActiveSnapPointProp:g,drawerRef:ee,fadeFromIndex:p,overlayRef:B,onSnapPointChange:ea,direction:E,container:L,snapToSequentialPoint:_});!function(e={}){let{isDisabled:t}=e;sP(()=>{if(!t){var e,n,o;let t,i,l,s,u,c,d;return 1==++sz&&sA()&&(l=0,s=window.pageXOffset,u=window.pageYOffset,c=sN((e=document.documentElement,n="paddingRight",o=`${window.innerWidth-document.documentElement.clientWidth}px`,t=e.style[n],e.style[n]=o,()=>{e.style[n]=t})),window.scrollTo(0,0),d=sN(sH(document,"touchstart",e=>{(i=s$(e.target))===document.documentElement&&i===document.body||(l=e.changedTouches[0].pageY)},{passive:!1,capture:!0}),sH(document,"touchmove",e=>{if(!i||i===document.documentElement||i===document.body){e.preventDefault();return}let t=e.changedTouches[0].pageY,n=i.scrollTop,o=i.scrollHeight-i.clientHeight;0!==o&&((n<=0&&t>l||n>=o&&t<l)&&e.preventDefault(),l=t)},{passive:!1,capture:!0}),sH(document,"touchend",e=>{let t=e.target;sW(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame(()=>{t.style.transform=""}))},{passive:!1,capture:!0}),sH(document,"focus",e=>{let t=e.target;sW(t)&&(t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",sF&&(sF.height<window.innerHeight?requestAnimationFrame(()=>{sB(t)}):sF.addEventListener("resize",()=>sB(t),{once:!0}))}))},!0),sH(window,"scroll",()=>{window.scrollTo(0,0)})),sI=()=>{c(),d(),window.scrollTo(s,u)}),()=>{0==--sz&&sI?.()}}},[t])}({isDisabled:!N||D||!y||I||!R||!j||!k});let{restorePositionSetting:eh}=function({isOpen:e,modal:t,nested:n,hasBeenOpened:o,preventScrollRestoration:i,noBodyStyles:l}){let[s,u]=M.useState(()=>"u">typeof window?window.location.href:""),c=M.useRef(0),d=M.useCallback(()=>{if(sL()&&null===s0&&e&&!l){s0={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};let{scrollX:e,innerHeight:t}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-c.current}px`,left:`${-e}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{let e=t-window.innerHeight;e&&c.current>=t&&(document.body.style.top=`${-(c.current+e)}px`)}),300)}},[e]),f=M.useCallback(()=>{if(sL()&&null!==s0&&!l){let e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);Object.assign(document.body.style,s0),window.requestAnimationFrame(()=>{if(i&&s!==window.location.href){u(window.location.href);return}window.scrollTo(t,e)}),s0=null}},[s]);return M.useEffect(()=>{function e(){c.current=window.scrollY}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),M.useEffect(()=>{if(t)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||f()}},[t,f]),M.useEffect(()=>{n||!o||(e?(window.matchMedia("(display-mode: standalone)").matches||d(),t||window.setTimeout(()=>{f()},500)):f())},[e,o,s,t,n,d,f]),{restorePositionSetting:f}}({isOpen:N,modal:y,nested:w??!1,hasBeenOpened:R,preventScrollRestoration:S,noBodyStyles:x});function ep(){return(window.innerWidth-26)/window.innerWidth}function em(e,t){var n;let o=e,i=null==(n=window.getSelection())?void 0:n.toString(),l=ee.current?sY(ee.current,E):null,
82s=new Date;if("SELECT"===o.tagName||o.hasAttribute("data-vaul-no-drag")||o.closest("[data-vaul-no-drag]"))return!1;if("right"===E||"left"===E)return!0;if(W.current&&s.getTime()-W.current.getTime()<500)return!1;if(null!==l&&("bottom"===E?l>0:l<0))return!0;if(i&&i.length>0)return!1;if(G.current&&s.getTime()-G.current.getTime()<d&&0===l||t)return G.current=s,!1;for(;o;){if(o.scrollHeight>o.clientHeight){if(0!==o.scrollTop)return G.current=new Date,!1;if("dialog"===o.getAttribute("role"))break}o=o.parentNode}return!0}function eg(e){D&&ee.current&&(ee.current.classList.remove(sQ),Y.current=!1,z(!1),q.current=new Date),b?.(),e||F(!1),setTimeout(()=>{l&&el(l[0])},1e3*sK.DURATION)}function ev(){if(!ee.current)return;let e=document.querySelector("[data-vaul-drawer-wrapper]"),t=sY(ee.current,E);sq(ee.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`}),sq(B.current,{transition:`opacity ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`,opacity:"1"}),s&&t&&t>0&&N&&sq(e,{borderRadius:"8px",overflow:"hidden",...sG(E)?{transform:`scale(${ep()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${ep()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${sK.DURATION}s`,transitionTimingFunction:`cubic-bezier(${sK.EASE.join(",")})`},!0)}return M.useEffect(()=>{window.requestAnimationFrame(()=>{X.current=!0})},[]),M.useEffect(()=>{var e;function t(){if(ee.current&&j&&(sW(document.activeElement)||Q.current)){var e;let t=(null==(e=window.visualViewport)?void 0:e.height)||0,n=window.innerHeight,o=n-t,i=ee.current.getBoundingClientRect().height||0;en.current||(en.current=i);let s=ee.current.getBoundingClientRect().top;if(Math.abs(J.current-o)>60&&(Q.current=!Q.current),l&&l.length>0&&eu&&ei&&(o+=eu[ei]||0),J.current=o,i>t||Q.current){let e=ee.current.getBoundingClientRect().height,l=e;e>t&&(l=t-(i>.8*n?s:26)),v?ee.current.style.height=`${e-Math.max(o,0)}px`:ee.current.style.height=`${Math.max(l,t-s)}px`}else(function(){let e=navigator.userAgent;return"u">typeof window&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))})()||(ee.current.style.height=`${en.current}px`);l&&l.length>0&&!Q.current?ee.current.style.bottom="0px":ee.current.style.bottom=`${Math.max(o,0)}px`}}return null==(e=window.visualViewport)||e.addEventListener("resize",t),()=>{var e;return null==(e=window.visualViewport)?void 0:e.removeEventListener("resize",t)}},[ei,l,eu]),M.useEffect(()=>(N&&(sq(document.documentElement,{scrollBehavior:"auto"}),W.current=new Date),()=>{(function(e,t){if(!e||!(e instanceof HTMLElement))return;let n=sU.get(e);n&&(e.style[t]=n[t])})(document.documentElement,"scrollBehavior")}),[N]),M.useEffect(()=>{y||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[y]),M.createElement(sr,{defaultOpen:C,onOpenChange:e=>{(f||e)&&(e?$(!0):eg(!0),F(e))},open:N},M.createElement(sj.Provider,{value:{activeSnapPoint:eo,snapPoints:l,setActiveSnapPoint:el,drawerRef:ee,overlayRef:B,onOpenChange:t,onPress:function(e){var t,n;(f||l)&&(!ee.current||ee.current.contains(e.target))&&(et.current=(null==(t=ee.current)?void 0:t.getBoundingClientRect().height)||0,er.current=(null==(n=ee.current)?void 0:n.getBoundingClientRect().width)||0,z(!0),U.current=new Date,sA()&&window.addEventListener("touchend",()=>Y.current=!1,{once:!0}),e.target.setPointerCapture(e.pointerId),K.current=sG(E)?e.pageY:e.pageX)},onRelease:function(e){var t,n;if(!D||!ee.current)return;ee.current.classList.remove(sQ),Y.current=!1,z(!1),q.current=new Date;let o=sY(ee.current,E);
82if(!e||!em(e.target,!1)||!o||Number.isNaN(o)||null===U.current)return;let s=q.current.getTime()-U.current.getTime(),u=K.current-(sG(E)?e.pageY:e.pageX),d=Math.abs(u)/s;if(d>.05&&(H(!0),setTimeout(()=>{H(!1)},200)),l){es({draggedDistance:u*("bottom"===E||"right"===E?1:-1),closeDrawer:eg,velocity:d,dismissible:f}),i?.(e,!0);return}if("bottom"===E||"right"===E?u>0:u<0){ev(),i?.(e,!0);return}if(d>.4){eg(),i?.(e,!1);return}let h=Math.min(null!=(t=ee.current.getBoundingClientRect().height)?t:0,window.innerHeight),p=Math.min(null!=(n=ee.current.getBoundingClientRect().width)?n:0,window.innerWidth);if(Math.abs(o)>=("left"===E||"right"===E?p:h)*c){eg(),i?.(e,!1);return}i?.(e,!0),ev()},onDrag:function(e){if(ee.current&&D){let t="bottom"===E||"right"===E?1:-1,n=(K.current-(sG(E)?e.pageY:e.pageX))*t,i=n>0,u=l&&!f&&!i;if(u&&0===ei)return;let c=Math.abs(n),d=document.querySelector("[data-vaul-drawer-wrapper]"),h=c/("bottom"===E||"top"===E?et.current:er.current),m=ef(c,i);if(null!==m&&(h=m),u&&h>=1||!Y.current&&!em(e.target,i))return;if(ee.current.classList.add(sQ),Y.current=!0,sq(ee.current,{transition:"none"}),sq(B.current,{transition:"none"}),l&&ec({draggedDistance:n}),i&&!l){let e=Math.min(-(8*(Math.log(n+1)-2)*1),0)*t;sq(ee.current,{transform:sG(E)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`});return}let g=1-h;if((ed||p&&ei===p-1)&&(o?.(e,h),sq(B.current,{opacity:`${g}`,transition:"none"},!0)),d&&B.current&&s){let e=Math.min(ep()+h*(1-ep()),1),t=8-8*h,n=Math.max(0,14-14*h);sq(d,{borderRadius:`${t}px`,transform:sG(E)?`scale(${e}) translate3d(0, ${n}px, 0)`:`scale(${e}) translate3d(${n}px, 0, 0)`,transition:"none"},!0)}if(!l){let e=c*t;sq(ee.current,{transform:sG(E)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}},dismissible:f,shouldAnimate:X,handleOnly:h,isOpen:N,isDragging:D,shouldFade:ed,closeDrawer:eg,onNestedDrag:function(e,t){if(t<0)return;let n=(window.innerWidth-16)/window.innerWidth,o=n+t*(1-n),i=-16+16*t;sq(ee.current,{transform:sG(E)?`scale(${o}) translate3d(0, ${i}px, 0)`:`scale(${o}) translate3d(${i}px, 0, 0)`,transition:"none"})},onNestedOpenChange:function(e){let t=e?(window.innerWidth-16)/window.innerWidth:1,n=e?-16:0;Z.current&&window.clearTimeout(Z.current),sq(ee.current,{transition:`transform ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`,transform:sG(E)?`scale(${t}) translate3d(0, ${n}px, 0)`:`scale(${t}) translate3d(${n}px, 0, 0)`}),!e&&ee.current&&(Z.current=setTimeout(()=>{let e=sY(ee.current,E);sq(ee.current,{transition:"none",transform:sG(E)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))},onNestedRelease:function(e,t){let n=sG(E)?window.innerHeight:window.innerWidth,o=t?(n-16)/n:1,i=t?-16:0;t&&sq(ee.current,{transition:`transform ${sK.DURATION}s cubic-bezier(${sK.EASE.join(",")})`,transform:sG(E)?`scale(${o}) translate3d(0, ${i}px, 0)`:`scale(${o}) translate3d(${i}px, 0, 0)`})},keyboardIsOpen:Q,modal:y,snapPointsOffset:eu,activeSnapPointIndex:ei,direction:E,shouldScaleBackground:s,setBackgroundColorOnScale:u,noBodyStyles:x,container:L,autoFocus:A}},n))};function s4({shouldScaleBackground:e=!0,...t}){return ee.jsx(s5,{shouldScaleBackground:e,...t})}s4.displayName="Drawer";let s6=function(e){let t=sO(),{container:n=t.container,...o}=e;return M.createElement(sl,{container:n,...o})},s7=M.forwardRef(({className:e,...t},n)=>ee.jsx(s2,{ref:n,className:e8("fixed inset-0 z-50 bg-black/80",e),...t}));s7.displayName=s2.displayName;let s8=M.forwardRef(({className:e,children:t,...n},o)=>ee.jsxs(s6,{children:[ee.jsx(s7,{}),ee.jsxs(s3,{ref:o,className:e8("fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",e),...n,children:[ee.jsx("div",{className:"mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"}),t]})]}));function s9({label:e="",helpText:t="",options:n,error:o="",placeholder:i="",name:l,disabled:s=!1,control:u,...c}){let{field:{name:d,value:f,onChange:h,ref:p}}=it({name:l,control:u});return ee.jsx(o$,{name:d,label:e,helpText:t,error:o,children:ee.jsxs(iZ,{name:d,value:f,onValueChange:h,children:[ee.jsx(lP,{name:d,ref:p,placeholder:i,isError:!!o,disabled:s,...c}),ee.jsx(lR,{children:n?.map(({value:e,text:t})=>ee.jsx(l$,{value:e,children:t},e))})]})})}function ue({name:e,control:t,noGap:n=!1,...o}
82){let{field:{name:i,value:l,onChange:s},fieldState:{error:u}}=it({name:e,control:t});return ee.jsx(l7,{name:i,error:u?.message,onChange:s,value:l,noGap:n,...o})}s8.displayName="DrawerContent",M.forwardRef(({className:e,...t},n)=>ee.jsx(sy,{ref:n,className:e8("text-lg font-semibold leading-none tracking-tight",e),...t})).displayName=sy.displayName,M.forwardRef(({className:e,...t},n)=>ee.jsx(sw,{ref:n,className:e8("text-sm text-muted-foreground",e),...t})).displayName=sw.displayName;let ut=(0,M.forwardRef)(({className:e,error:t="",helpText:n="",name:o,label:i="",disabled:l,...s},u)=>{let c=!!t;return ee.jsxs("div",{className:"flex flex-col gap-1",children:[ee.jsxs("div",{className:"flex items-center gap-2",children:[ee.jsx("input",{type:"checkbox",className:e8(["w-4","h-4","rounded","border-grey-300","text-primitive-blue-300","focus:ring-2","focus:ring-primitive-blue-300","focus:ring-offset-0","focus:border-primary-light","disabled:bg-grey-300","disabled:border-grey-500","disabled:cursor-not-allowed",{"border-error-500 focus:ring-error-500 focus:border-error-500":c},e]),name:o,id:o,ref:u,disabled:l,...s}),i&&ee.jsx("label",{htmlFor:o,className:"text-xxs font-medium text-grey-900 cursor-pointer",children:i})]}),t&&ee.jsx("span",{className:"text-xxxs text-error-500 text-left",children:t}),n&&ee.jsx("span",{className:"text-xxxs text-grey-600 text-left",children:n})]})});ut.displayName="Checkbox",ut.defaultProps={error:"",label:"",helpText:""};/** 83 * @license lucide-react v0.436.0 - ISC 84 * 85 * This source code is licensed under the ISC license. 86 * See the LICENSE file in the root directory of this source tree. 87 */let ur=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),un=(...e)=>e.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ");/** 88 * @license lucide-react v0.436.0 - ISC 89 * 90 * This source code is licensed under the ISC license. 91 * See the LICENSE file in the root directory of this source tree. 92 */var ua={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 93 * @license lucide-react v0.436.0 - ISC 94 * 95 * This source code is licensed under the ISC license. 96 * See the LICENSE file in the root directory of this source tree. 97 */let uo=(0,M.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:i="",children:l,iconNode:s,...u},c)=>(0,M.createElement)("svg",{ref:c,...ua,width:t,height:t,stroke:e,strokeWidth:o?24*Number(n)/Number(t):n,className:un("lucide",i),...u},[...s.map(([e,t])=>(0,M.createElement)(e,t)),...Array.isArray(l)?l:[l]])),ui=(e,t)=>{let n=(0,M.forwardRef)(({className:n,...o},i)=>(0,M.createElement)(uo,{ref:i,iconNode:t,className:un(`lucide-${ur(e)}`,n),...o}));return n.displayName=`${e}`,n},ul=ui("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),us=ui("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),uu=ui("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),uc=ui("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),ud=ui("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),uf=ui("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),uh=ui("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),up=ui("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),um=ui("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]),ug=ui("MoveUpRight",[["path",{d:"M13 5H19V11",key:"1n1gyv"}],["path",{d:"M19 5L5 19",key:"72u4yj"}]]),uv=ui("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),uy=ui("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),ub=ui("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
97],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var uw={exports:{}},ux={};ux._=ux._interop_require_default=function(e){return e&&e.__esModule?e:{default:e}};var uE,uC,uk,uM,u_,uS,uj,uO,uL,uA={exports:{}},uT={};function uP(){return uL||(uL=1,function(e){function t(e){let t={};return e.forEach((e,n)=>{typeof t[n]>"u"?t[n]=e:Array.isArray(t[n])?t[n].push(e):t[n]=[t[n],e]}),t}function n(e){return"string"!=typeof e&&("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function o(e){let t=new URLSearchParams;return Object.entries(e).forEach(e=>{let[o,i]=e;Array.isArray(i)?i.forEach(e=>t.append(o,n(e))):t.set(o,n(i))}),t}function i(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return n.forEach(t=>{Array.from(t.keys()).forEach(t=>e.delete(t)),t.forEach((t,n)=>e.append(n,t))}),e}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{assign:function(){return i},searchParamsToUrlQuery:function(){return t},urlQueryToSearchParams:function(){return o}})}(uT)),uT}var uN={},uF={};function uR(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(uR=function(e){return e?n:t})(e)}function u$(){return uD||(uD=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{formatUrl:function(){return o},formatWithValidation:function(){return l},urlObjectKeys:function(){return i}});let t=uF._(uP()),n=/https?|ftp|gopher|file/;function o(e){let{auth:o,hostname:i}=e,l=e.protocol||"",s=e.pathname||"",u=e.hash||"",c=e.query||"",d=!1;o=o?encodeURIComponent(o).replace(/%3A/i,":")+"@":"",e.host?d=o+e.host:i&&(d=o+(~i.indexOf(":")?"["+i+"]":i),e.port&&(d+=":"+e.port)),c&&"object"==typeof c&&(c=String(t.urlQueryToSearchParams(c)));let f=e.search||c&&"?"+c||"";return l&&!l.endsWith(":")&&(l+=":"),e.slashes||(!l||n.test(l))&&!1!==d?(d="//"+(d||""),s&&"/"!==s[0]&&(s="/"+s)):d||(d=""),u&&"#"!==u[0]&&(u="#"+u),f&&"?"!==f[0]&&(f="?"+f),""+l+d+(s=s.replace(/[?#]/g,encodeURIComponent))+(f=f.replace("#","%23"))+u}let i=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function l(e){return o(e)}}(uN)),uN}uF._=uF._interop_require_wildcard=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=uR(t);if(n&&n.has(e))return n.get(e);var o={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var s=i?Object.getOwnPropertyDescriptor(e,l):null;s&&(s.get||s.set)?Object.defineProperty(o,l,s):o[l]=e[l]}return o.default=e,n&&n.set(e,o),o};var uD,uz,uI,uH={},uB={};function uW(){return uI||(uI=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{DecodeError:function(){return m},MiddlewareNotFoundError:function(){return b},MissingStaticPage:function(){return y},NormalizeError:function(){return g},PageNotFoundError:function(){return v},SP:function(){return h},ST:function(){return p},WEB_VITALS:function(){return t},execOnce:function(){return n},getDisplayName:function(){return u},getLocationOrigin:function(){return l},getURL:function(){return s},isAbsoluteUrl:function(){return i},isResSent:function(){return c},loadGetInitialProps:function(){return f},normalizeRepeatedSlashes:function(){return d},stringifyError:function(){return w}});let t=["CLS","FCP","FID","INP","LCP","TTFB"];function n(e){let t=!1,n;return function(){for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];return t||(t=!0,n=e(...i)),n}}let o=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,i=e=>o.test(e);function l(){let{protocol:e,hostname:t,port:n}=window.location;return e+"//"+t+(n?":"+n:"")}function s(){let{href:e}=window.location,t=l();return e.substring(t.length)}function u(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function c(e){return e.finished||e.headersSent}function d(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?"?"+t.slice(1).join("?"):"")}async function f(e,t){let n=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await f(t.Component,t.ctx)}:{};let o=await e.getInitialProps(t);if(n&&c(n))return o;if(!o)throw Error('"'+u(e)+'.getInitialProps()" should resolve to an object. But found "'+o+'" instead.');return o}let h="u">typeof performance,p=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
97class m extends Error{}class g extends Error{}class v extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message="Cannot find module for page: "+e}}class y extends Error{constructor(e,t){super(),this.message="Failed to load static file for page: "+e+" "+t}}class b extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}}(uB)),uB}var uV,uU={exports:{}},uq={};function uG(){return uV||(uV=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"removeTrailingSlash",{enumerable:!0,get:function(){return t}});function t(e){return e.replace(/\/$/,"")||"/"}}(uq)),uq}var uY,uZ={};function uK(){return uY||(uY=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t}});function t(e){let t=e.indexOf("#"),n=e.indexOf("?"),o=n>-1&&(t<0||n<t);return o||t>-1?{pathname:e.substring(0,o?n:t),query:o?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}}(uZ)),uZ}function uQ(){return uX||(uX=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return i}});let n=uG(),o=uK(),i=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:i,hash:l}=(0,o.parsePath)(e);return""+(0,n.removeTrailingSlash)(t)+i+l};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(uU,uU.exports)),uU.exports}var uX,uJ,u1={},u0={exports:{}},u2={};function u3(){return uJ||(uJ=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"pathHasPrefix",{enumerable:!0,get:function(){return n}});let t=uK();function n(e,n){if("string"!=typeof e)return!1;let{pathname:o}=(0,t.parsePath)(e);return o===n||o.startsWith(n+"/")}}(u2)),u2}function u5(){return u6||(u6=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isLocalURL",{enumerable:!0,get:function(){return o}});let t=uW(),n=(u4||(u4=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return o}});let n=u3();function o(e){return(0,n.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(u0,u0.exports)),u0.exports);function o(e){if(!(0,t.isAbsoluteUrl)(e))return!0;try{let o=(0,t.getLocationOrigin)(),i=new URL(e,o);return i.origin===o&&(0,n.hasBasePath)(i.pathname)}catch{return!1}}}
97(u1)),u1}var u4,u6,u7,u8,u9,ce={},ct={},cr={},cn={},ca={},co={},ci={};function cl(){return cu||(cu=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{INTERCEPTION_ROUTE_MARKERS:function(){return n},extractInterceptionRouteInformation:function(){return i},isInterceptionRouteAppPath:function(){return o}});let t=(cs||(cs=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{normalizeAppPath:function(){return o},normalizeRscURL:function(){return i}});let t=(u8||(u8=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ensureLeadingSlash",{enumerable:!0,get:function(){return t}});function t(e){return e.startsWith("/")?e:"/"+e}}(co)),co),n=(u9||(u9=1,function(e){function t(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{DEFAULT_SEGMENT_KEY:function(){return o},PAGE_SEGMENT_KEY:function(){return n},isGroupSegment:function(){return t}});let n="__PAGE__",o="__DEFAULT__"}(ci)),ci);function o(e){return(0,t.ensureLeadingSlash)(e.split("/").reduce((e,t,o,i)=>!t||(0,n.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&o===i.length-1?e:e+"/"+t,""))}function i(e){return e.replace(/\.rsc($|\?)/,"$1")}}(ca)),ca),n=["(..)(..)","(.)","(..)","(...)"];function o(e){return void 0!==e.split("/").find(e=>n.find(t=>e.startsWith(t)))}function i(e){let o,i,l;for(let t of e.split("/"))if(i=n.find(e=>t.startsWith(e))){[o,l]=e.split(i,2);break}if(!o||!i||!l)throw Error(`Invalid interception route: ${e}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`);switch(o=(0,t.normalizeAppPath)(o),i){case"(.)":l="/"===o?`/${l}`:o+"/"+l;break;case"(..)":if("/"===o)throw Error(`Invalid interception route: ${e}. Cannot use (..) marker at the root level, use (.) instead.`);l=o.split("/").slice(0,-1).concat(l).join("/");break;case"(...)":l="/"+l;break;case"(..)(..)":let s=o.split("/");if(s.length<=2)throw Error(`Invalid interception route: ${e}. Cannot use (..)(..) marker at the root level or one level up.`);l=s.slice(0,-2).concat(l).join("/");break;default:throw Error("Invariant: unexpected marker")}return{interceptingRoute:o,interceptedRoute:l}}}(cn)),cn}var cs,cu,cc,cd,cf,ch,cp,cm,cg,cv,cy={},cb={},cw={},cx={},cE={exports:{}},cC={},ck={};function cM(){return cv||(cv=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addPathPrefix",{enumerable:!0,get:function(){return n}});let t=uK();function n(e,n){if(!e.startsWith("/")||!n)return e;let{pathname:o,query:i,hash:l}=(0,t.parsePath)(e);return""+n+o+i+l}}(ck)),ck}var c_,cS,cj,cO={};function cL(){return cj||(cj=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RouterContext",{enumerable:!0,get:function(){return t}});let t=ux._(M).default.createContext(null)}(cO)),cO}var cA,cT,cP={},cN={exports:{}}
97,cF={exports:{}};function cR(){return cT||(cT=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}});let n="u">typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="u">typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(cF,cF.exports)),cF.exports}var c$,cD,cz,cI,cH,cB,cW,cV,cU={exports:{}},cq={exports:{}},cG={},cY={exports:{}},cZ={},cK={exports:{}},cQ={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return b}});let n=ux._(M),o=(cg||(cg=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"resolveHref",{enumerable:!0,get:function(){return f}});let n=uP(),o=u$(),i=(uz||(uz=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"omit",{enumerable:!0,get:function(){return t}});function t(e,t){let n={};return Object.keys(e).forEach(o=>{t.includes(o)||(n[o]=e[o])}),n}}(uH)),uH),l=uW(),s=uQ(),u=u5(),c=(cd||(cd=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getSortedRoutes:function(){return t.getSortedRoutes},isDynamicRoute:function(){return n.isDynamicRoute}});let t=(u7||(u7=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getSortedRoutes",{enumerable:!0,get:function(){return n}});class t{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,n,o){if(0===e.length){this.placeholder=!1;return}if(o)throw Error("Catch-all must be the last part of the URL.");let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let t=function(e,t){if(null!==e&&e!==t)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+t+"').");n.forEach(e=>{if(e===t)throw Error('You cannot have the same slug name "'+t+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+t+'" differ only by non-word symbols within a single dynamic path')}),n.push(t)},l=i.slice(1,-1),s=!1;if(l.startsWith("[")&&l.endsWith("]")&&(l=l.slice(1,-1),s=!0),l.startsWith("...")&&(l=l.substring(3),o=!0),l.startsWith("[")||l.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+l+"').");if(l.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+l+"').");if(o){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');t(this.optionalRestSlugName,l),this.optionalRestSlugName=l,i="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');t(this.restSlugName,l),this.restSlugName=l,i="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');t(this.slugName,l),this.slugName=l,i="[]"}}this.children.has(i)||this.children.set(i,new t),this.children.get(i)._insert(e.slice(1),n,o)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function n(e){let n=new t;
97return e.forEach(e=>n.insert(e)),n.smoosh()}}(ct)),ct),n=(cc||(cc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDynamicRoute",{enumerable:!0,get:function(){return o}});let t=cl(),n=/\/\[[^/]+?\](?=\/|$)/;function o(e){return(0,t.isInterceptionRouteAppPath)(e)&&(e=(0,t.extractInterceptionRouteInformation)(e).interceptedRoute),n.test(e)}}(cr)),cr)}(ce)),ce),d=(cm||(cm=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"interpolateAs",{enumerable:!0,get:function(){return o}});let t=(cf||(cf=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getRouteMatcher",{enumerable:!0,get:function(){return n}});let t=uW();function n(e){let{re:n,groups:o}=e;return e=>{let i=n.exec(e);if(!i)return!1;let l=e=>{try{return decodeURIComponent(e)}catch{throw new t.DecodeError("failed to decode param")}},s={};return Object.keys(o).forEach(e=>{let t=o[e],n=i[t.pos];void 0!==n&&(s[e]=~n.indexOf("/")?n.split("/").map(e=>l(e)):t.repeat?[l(n)]:l(n))}),s}}}(cb)),cb),n=(cp||(cp=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{getNamedMiddlewareRegex:function(){return f},getNamedRouteRegex:function(){return d},getRouteRegex:function(){return s}});let t=cl(),n=(ch||(ch=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"escapeStringRegexp",{enumerable:!0,get:function(){return o}});let t=/[|\\{}()[\]^$+*?.-]/,n=/[|\\{}()[\]^$+*?.-]/g;function o(e){return t.test(e)?e.replace(n,"\\$&"):e}}(cx)),cx),o=uG();function i(e){let t=e.startsWith("[")&&e.endsWith("]");t&&(e=e.slice(1,-1));let n=e.startsWith("...");return n&&(e=e.slice(3)),{key:e,repeat:n,optional:t}}function l(e){let l=(0,o.removeTrailingSlash)(e).slice(1).split("/"),s={},u=1;return{parameterizedRoute:l.map(e=>{let o=t.INTERCEPTION_ROUTE_MARKERS.find(t=>e.startsWith(t)),l=e.match(/\[((?:\[.*\])|.+)\]/);if(o&&l){let{key:e,optional:t,repeat:c}=i(l[1]);return s[e]={pos:u++,repeat:c,optional:t},"/"+(0,n.escapeStringRegexp)(o)+"([^/]+?)"}if(!l)return"/"+(0,n.escapeStringRegexp)(e);{let{key:e,repeat:t,optional:n}=i(l[1]);return s[e]={pos:u++,repeat:t,optional:n},t?n?"(?:/(.+?))?":"/(.+?)":"/([^/]+?)"}}).join(""),groups:s}}function s(e){let{parameterizedRoute:t,groups:n}=l(e);return{re:RegExp("^"+t+"(?:/)?$"),groups:n}}function u(e){let{interceptionMarker:t,getSafeRouteKey:o,segment:l,routeKeys:s,keyPrefix:u}=e,{key:c,optional:d,repeat:f}=i(l),h=c.replace(/\W/g,"");u&&(h=""+u+h);let p=!1;(0===h.length||h.length>30)&&(p=!0),isNaN(parseInt(h.slice(0,1)))||(p=!0),p&&(h=o()),u?s[h]=""+u+c:s[h]=c;let m=t?(0,n.escapeStringRegexp)(t):"";return f?d?"(?:/"+m+"(?<"+h+">.+?))?":"/"+m+"(?<"+h+">.+?)":"/"+m+"(?<"+h+">[^/]+?)"}function c(e,i){let l;let s=(0,o.removeTrailingSlash)(e).slice(1).split("/"),c=(l=0,()=>{let e="",t=++l;for(;t>0;)e+=String.fromCharCode(97+(t-1)%26),t=Math.floor((t-1)/26);return e}),d={};return{namedParameterizedRoute:s.map(e=>{let o=t.INTERCEPTION_ROUTE_MARKERS.some(t=>e.startsWith(t)),l=e.match(/\[((?:\[.*\])|.+)\]/);if(!o||!l)return l?u({getSafeRouteKey:c,segment:l[1],routeKeys:d,keyPrefix:i?"nxtP":void 0}):"/"+(0,n.escapeStringRegexp)(e);{let[t]=e.split(l[0]);return u({getSafeRouteKey:c,interceptionMarker:t,segment:l[1],routeKeys:d,keyPrefix:i?"nxtI":void 0})}}).join(""),routeKeys:d}}function d(e,t){let n=c(e,t);return{...s(e),namedRegex:"^"+n.namedParameterizedRoute+"(?:/)?$",routeKeys:n.routeKeys}}function f(e,t){let{parameterizedRoute:n}=l(e),{catchAll:o=!0}=t;if("/"===n)return{namedRegex:"^/"+(o?".*":"")+"$"};let{namedParameterizedRoute:i}=c(e,!1);return{namedRegex:"^"+i+(o?"(?:(/.*)?)":"")+"$"}}}(cw)),cw);function o(e,o,i){let l="",s=(0,n.getRouteRegex)(e),u=s.groups,c=(o!==e?(0,t.getRouteMatcher)(s)(o):"")||i;l=e;let d=Object.keys(u);return d.every(e=>{let t=c[e]||"",{repeat:n,optional:o}=u[e],i="["+(n?"...":"")+e+"]";return o&&(i=(t?"":"/")+"["+i+"]"),n&&!Array.isArray(t)&&(t=[t]),(o||e in c)&&(l=l.replace(i,n?t.map(e=>encodeURIComponent(e)).join("/"):encodeURIComponent(t))||"/")})||(l=""),{params:d,result:l}}}(cy)),cy);
97function f(e,t,f){let h,p="string"==typeof t?t:(0,o.formatWithValidation)(t),m=p.match(/^[a-zA-Z]{1,}:\/\//),g=m?p.slice(m[0].length):p;if((g.split("?",1)[0]||"").match(/(\/\/|\\)/)){console.error("Invalid href '"+p+"' passed to next/router in page: '"+e.pathname+"'. Repeated forward-slashes (//) or backslashes \\ are not valid in the href.");let t=(0,l.normalizeRepeatedSlashes)(g);p=(m?m[0]:"")+t}if(!(0,u.isLocalURL)(p))return f?[p]:p;try{h=new URL(p.startsWith("#")?e.asPath:e.pathname,"http://n")}catch{h=new URL("/","http://n")}try{let e=new URL(p,h);e.pathname=(0,s.normalizePathTrailingSlash)(e.pathname);let t="";if((0,c.isDynamicRoute)(e.pathname)&&e.searchParams&&f){let l=(0,n.searchParamsToUrlQuery)(e.searchParams),{result:s,params:u}=(0,d.interpolateAs)(e.pathname,e.pathname,l);s&&(t=(0,o.formatWithValidation)({pathname:s,hash:e.hash,query:(0,i.omit)(l,u)}))}let l=e.origin===h.origin?e.href.slice(e.origin.length):e.href;return f?[l,t||l]:l}catch{return f?[p]:p}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(uA,uA.exports)),uA.exports),i=u5(),l=u$(),s=uW(),u=(cS||(cS=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return o}});let n=uQ(),o=function(e){for(var t=arguments.length,o=Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return(0,n.normalizePathTrailingSlash)((c_||(c_=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"addLocale",{enumerable:!0,get:function(){return o}});let t=cM(),n=u3();function o(e,o,i,l){if(!o||o===i)return e;let s=e.toLowerCase();return!l&&((0,n.pathHasPrefix)(s,"/api")||(0,n.pathHasPrefix)(s,"/"+o.toLowerCase()))?e:(0,t.addPathPrefix)(e,"/"+o)}}(cC)),cC).addLocale(e,...o))};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(cE,cE.exports)),cE.exports),c=cL(),d=(cA||(cA=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{AppRouterContext:function(){return n},GlobalLayoutRouterContext:function(){return i},LayoutRouterContext:function(){return o},MissingSlotContext:function(){return s},TemplateContext:function(){return l}});let t=ux._(M),n=t.default.createContext(null),o=t.default.createContext(null),i=t.default.createContext(null),l=t.default.createContext(null),s=t.default.createContext(new Set)}(cP)),cP),f=(c$||(c$=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return s}});let n=cR(),o="function"==typeof IntersectionObserver,i=new Map,l=[];function s(e){let{rootRef:t,rootMargin:s,disabled:u}=e,c=u||!o,[d,f]=(0,M.useState)(!1),h=(0,M.useRef)(null),p=(0,M.useCallback)(e=>{h.current=e},[]);return(0,M.useEffect)(()=>{if(o){if(c||d)return;let e=h.current;if(e&&e.tagName)return function(e,t,n){let{id:o,observer:s,elements:u}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},o=l.find(e=>e.root===n.root&&e.margin===n.margin);if(o&&(t=i.get(o)))return t;let s=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=s.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:s},l.push(n),i.set(n,t),t}(n);return u.set(e,t),s.observe(e),function(){if(u.delete(e),s.unobserve(e),0===u.size){s.disconnect(),i.delete(o);let e=l.findIndex(e=>e.root===o.root&&e.margin===o.margin);e>-1&&l.splice(e,1)}}}(e,e=>e&&f(e),{root:t?.current,rootMargin:s})}else if(!d){let e=(0,n.requestIdleCallback)(()=>f(!0));return()=>(0,n.cancelIdleCallback)(e)}},[c,s,t,d,h.current]),[p,d,(0,M.useCallback)(()=>{f(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>
97"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(cN,cN.exports)),cN.exports),h=(cB||(cB=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return o}});let n=uQ();function o(e,t,o,i){{let l=(cz||(cz=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(e,t)=>(cD||(cD=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return t}});function t(e,t){let n;let o=e.split("/");return(t||[]).some(t=>!!o[1]&&o[1].toLowerCase()===t.toLowerCase()&&(n=t,o.splice(1,1),e=o.join("/")||"/",!0)),{pathname:e,detectedLocale:n}}}(cG)),cG).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(cq,cq.exports)),cq.exports).normalizeLocalePath,s=(cH||(cH=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}});let n=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(cI||(cI=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"detectDomainLocale",{enumerable:!0,get:function(){return t}});function t(e,t,n){if(e)for(let l of(n&&(n=n.toLowerCase()),e)){var o,i;if(t===(null==(o=l.domain)?void 0:o.split(":",1)[0].toLowerCase())||n===l.defaultLocale.toLowerCase()||null!=(i=l.locales)&&i.some(e=>e.toLowerCase()===n))return l}}}(cZ)),cZ).detectDomainLocale(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(cY,cY.exports)),cY.exports).detectDomainLocale,u=t||l(e,o).detectedLocale,c=s(i,void 0,u);if(c){let t="http"+(c.http?"":"s")+"://",o=u===c.defaultLocale?"":"/"+u;return""+t+c.domain+(0,n.normalizePathTrailingSlash)(""+o+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
97(cU,cU.exports)),cU.exports),p=(cW||(cW=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addBasePath",{enumerable:!0,get:function(){return i}});let n=cM(),o=uQ();function i(e,t){return(0,o.normalizePathTrailingSlash)((0,n.addPathPrefix)(e,""))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(cK,cK.exports)),cK.exports),m=(cV||(cV=1,function(e,t){var n,o,i,l;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION_FAST_REFRESH:function(){return h},ACTION_NAVIGATE:function(){return u},ACTION_PREFETCH:function(){return f},ACTION_REFRESH:function(){return s},ACTION_RESTORE:function(){return c},ACTION_SERVER_ACTION:function(){return p},ACTION_SERVER_PATCH:function(){return d},PrefetchCacheEntryStatus:function(){return o},PrefetchKind:function(){return n},isThenable:function(){return m}});let s="refresh",u="navigate",c="restore",d="server-patch",f="prefetch",h="fast-refresh",p="server-action";function m(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(i=n||(n={})).AUTO="auto",i.FULL="full",i.TEMPORARY="temporary",(l=o||(o={})).fresh="fresh",l.reusable="reusable",l.expired="expired",l.stale="stale",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(cQ,cQ.exports)),cQ.exports),g=new Set;function v(e,t,n,o,l,s){if(!(typeof window>"u")&&(s||(0,i.isLocalURL)(t))){if(!o.bypassPrefetchedCheck){let i=t+"%"+n+"%"+("u">typeof o.locale?o.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}(async()=>s?e.prefetch(t,l):e.prefetch(t,n,o))().catch(e=>{})}}function y(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let b=n.default.forwardRef(function(e,t){let l,g;let{href:b,as:w,children:x,prefetch:E=null,passHref:C,replace:k,shallow:M,scroll:_,locale:S,onClick:j,onMouseEnter:O,onTouchStart:L,legacyBehavior:A=!1,...T}=e;l=x,A&&("string"==typeof l||"number"==typeof l)&&(l=(0,$.jsx)("a",{children:l}));let P=n.default.useContext(c.RouterContext),N=n.default.useContext(d.AppRouterContext),F=P??N,R=!P,D=!1!==E,z=null===E?m.PrefetchKind.AUTO:m.PrefetchKind.FULL,{href:I,as:H}=n.default.useMemo(()=>{if(!P){let e=y(b);return{href:e,as:w?y(w):e}}let[e,t]=(0,o.resolveHref)(P,b,!0);return{href:e,as:w?(0,o.resolveHref)(P,w):t||e}},[P,b,w]),B=n.default.useRef(I),W=n.default.useRef(H);A&&(g=n.default.Children.only(l));let U=A?g&&"object"==typeof g&&g.ref:t,[q,G,Y]=(0,f.useIntersection)({rootMargin:"200px"}),Z=n.default.useCallback(e=>{(W.current!==H||B.current!==I)&&(Y(),W.current=H,B.current=I),q(e),U&&("function"==typeof U?U(e):"object"==typeof U&&(U.current=e))},[H,U,I,Y,q]);n.default.useEffect(()=>{!F||G&&D&&v(F,I,H,{locale:S},{kind:z},R)},[H,I,G,S,D,P?.locale,F,R,z]);let K={ref:Z,onClick(e){A||"function"!=typeof j||j(e),A&&g.props&&"function"==typeof g.props.onClick&&g.props.onClick(e),F&&(e.defaultPrevented||function(e,t,o,l,s,u,c,d,f){let{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!f&&!(0,i.isLocalURL)(o)))return;e.preventDefault();let p=()=>{let e=c??!0;"beforePopState"in t?t[s?"replace":"push"](o,l,{shallow:u,locale:d,scroll:e}):t[s?"replace":"push"](l||o,{scroll:e})};f?n.default.startTransition(p):p()}(e,F,I,H,k,M,_,S,R))},onMouseEnter(e){A||"function"!=typeof O||O(e),A&&g.props&&"function"==typeof g.props.onMouseEnter&&g.props.onMouseEnter(e),F&&(!D&&R||v(F,I,H,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:z},R))},onTouchStart:function(e){A||"function"!=typeof L||L(e),A&&g.props&&"function"==typeof g.props.onTouchStart&&g.props.onTouchStart(e),F&&(!D&&R||v(F,I,H,{locale:S,priority:!0,bypassPrefetchedCheck:!0},{kind:z},R))}};if((0,s.isAbsoluteUrl)(H))K.href=H;else if(!A||C||"a"===g.type&&!("href"in g.props)){let e="u">typeof S?S:P?.locale,t=P?.isLocaleDomain&&(0,h.getDomainLocale)(H,e,P?.locales,P?.domainLocales);K.href=t||(0,p.addBasePath)((0,u.addLocale)(H,e,P?.defaultLocale))}return A?n.default.cloneElement(g,K):(0,$.jsx)("a",{...T,...K,children:l})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&t
97ypeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(uw,uw.exports);let cX=N(uw.exports);function cJ(){let e=(0,M.useRef)(null);return(0,M.useEffect)(()=>{let t=document.getElementById("footer"),n=()=>{t&&e.current&&(t.style.marginBottom=`${e.current.offsetHeight}px`)},o=new MutationObserver((t,o)=>{t.forEach(t=>{"childList"===t.type&&e.current&&(n(),o.disconnect())})});return e.current?n():o.observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("resize",n),()=>{t&&(t.style.marginBottom="0px"),o.disconnect(),window.removeEventListener("resize",n)}},[]),{contentRef:e}}var c1={},c0={};/*! 98 * cookie 99 * Copyright(c) 2012-2014 Roman Shtylman 100 * Copyright(c) 2015 Douglas Christopher Wilson 101 * MIT Licensed 102 */c0.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var n={},o=e.length;if(o<2)return n;var i=t&&t.decode||de,l=0,s=0,u=0;do{if(-1===(s=e.indexOf("=",l)))break;if(-1===(u=e.indexOf(";",l)))u=o;else if(s>u){l=e.lastIndexOf(";",s-1)+1;continue}var c=c8(e,l,s),d=c9(e,s,c),f=e.slice(c,d);if(!c3.call(n,f)){var h=c8(e,s+1,u),p=c9(e,u,h);34===e.charCodeAt(h)&&34===e.charCodeAt(p-1)&&(h++,p--);var m=e.slice(h,p);n[f]=function(e,t){try{return t(e)}catch{return e}}(m,i)}l=u+1}while(l<o);return n},c0.serialize=function(e,t,n){var o=n&&n.encode||encodeURIComponent;if("function"!=typeof o)throw TypeError("option encode is invalid");if(!c5.test(e))throw TypeError("argument name is invalid");var i=o(t);if(!c4.test(i))throw TypeError("argument val is invalid");var l=e+"="+i;if(!n)return l;if(null!=n.maxAge){var s=Math.floor(n.maxAge);if(!isFinite(s))throw TypeError("option maxAge is invalid");l+="; Max-Age="+s}if(n.domain){if(!c6.test(n.domain))throw TypeError("option domain is invalid");l+="; Domain="+n.domain}if(n.path){if(!c7.test(n.path))throw TypeError("option path is invalid");l+="; Path="+n.path}if(n.expires){var u=n.expires;if("[object Date]"!==c2.call(u)||isNaN(u.valueOf()))throw TypeError("option expires is invali
102d");l+="; Expires="+u.toUTCString()}if(n.httpOnly&&(l+="; HttpOnly"),n.secure&&(l+="; Secure"),n.partitioned&&(l+="; Partitioned"),n.priority)switch("string"==typeof n.priority?n.priority.toLowerCase():n.priority){case"low":l+="; Priority=Low";break;case"medium":l+="; Priority=Medium";break;case"high":l+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(n.sameSite)switch("string"==typeof n.sameSite?n.sameSite.toLowerCase():n.sameSite){case!0:case"strict":l+="; SameSite=Strict";break;case"lax":l+="; SameSite=Lax";break;case"none":l+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return l};var c2=Object.prototype.toString,c3=Object.prototype.hasOwnProperty,c5=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,c4=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,c6=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,c7=/^[\u0020-\u003A\u003D-\u007E]*$/;function c8(e,t,n){do{var o=e.charCodeAt(t);if(32!==o&&9!==o)return t}while(++t<n);return n}function c9(e,t,n){for(;t>n;){var o=e.charCodeAt(--t);if(32!==o&&9!==o)return t+1}return n}
102function de(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}p1=P&&P.__assign||function(){return(p1=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},p0=P&&P.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n},Object.defineProperty(c1,"__esModule",{value:!0}),c1.hasCookie=c1.deleteCookie=c1.setCookie=c1.getCookie=c1.getCookies=void 0,p2=function(){return"u">typeof window},p3=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},p5=function(e){return!!e?.req&&"cookies"in e.req&&p3(e?.req.cookies)||!!e?.res&&"cookies"in e.res&&p3(e?.res.cookies)||!!e?.cookies&&p3(e.cookies())},p4=function(e){var t={};return e.getAll().forEach(function(e){var n=e.name,o=e.value;t[n]=o}),t},p6=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch{return e}},c1.getCookies=function(e){if(p5(e)){if(e?.req)return p4(e.req.cookies);if(e?.cookies)return p4(e.cookies())}if(e&&(t=e.req),!p2())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,c0.parse)(t.headers.cookie):{};for(var t,n={},o=document.cookie?document.cookie.split("; "):[],i=0,l=o.length;i<l;i++){var s=o[i].split("="),u=s.slice(1).join("=");n[s[0]]=u}return n},c1.getCookie=function(e,t){var n=(0,c1.getCookies)(t)[e];if(void 0!==n)return n&&n.replace(/(%[0-9A-Z]{2}
102)+/g,decodeURIComponent)},c1.setCookie=function(e,t,n){if(p5(n)){var o,i,l,s=n.req,u=n.res,c=n.cookies,d=p0(n,["req","res","cookies"]),f=p1({name:e,value:p6(t)},d);s&&s.cookies.set(f),u&&u.cookies.set(f),c&&c().set(f);return}if(n){var s=n.req,u=n.res,h=p0(n,["req","res"]);i=s,l=u,o=h}var p=(0,c0.serialize)(e,p6(t),p1({path:"/"},o));if(p2())document.cookie=p;else if(l&&i){var m=l.getHeader("Set-Cookie");if(Array.isArray(m)||(m=m?[String(m)]:[]),l.setHeader("Set-Cookie",m.concat(p)),i&&i.cookies){var g=i.cookies;""===t?delete g[e]:g[e]=p6(t)}if(i&&i.headers&&i.headers.cookie){var g=(0,c0.parse)(i.headers.cookie);""===t?delete g[e]:g[e]=p6(t),i.headers.cookie=Object.entries(g).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},c1.deleteCookie=function(e,t){return(0,c1.setCookie)(e,"",p1(p1({},t),{maxAge:-1}))},c1.hasCookie=function(e,t){return!!e&&(0,c1.getCookies)(t).hasOwnProperty(e)};let dt=["encerrado","cancelado","offline"],dr={SPONSOR:"Patrocinador",PRODUCER:"Realiza\xe7\xe3o",CO_PRODUCER:"Correaliza\xe7\xe3o",PARTNERSHIP:"Parceria",INSTITUTIONAL_PARTNERSHIP:"Parceria institucional",SUPPORT:"Apoio",PRESENTED_BY:"Apresentado por"},dn={SPONSOR:"sponsor",PRODUCER:"producer",CO_PRODUCER:"coProducer",PARTNERSHIP:"partnership",INSTITUTIONAL_PARTNERSHIP:"institutionalPartnership",SUPPORT:"support",PRESENTED_BY:"presentedBy"};function da(e){return dn[e]??e}let di={AC:"Acre",AL:"Alagoas",AP:"Amap\xe1",AM:"Amazonas",BA:"Bahia",CE:"Cear\xe1",DF:"Distrito Federal",ES:"Esp\xedrito Santo",GO:"Goi\xe1s",MA:"Maranh\xe3o",MT:"Mato Grosso",MS:"Mato Grosso do Sul",MG:"Minas Gerais",PA:"Par\xe1",PB:"Para\xedba",PR:"Paran\xe1",PE:"Pernambuco",PI:"Piau\xed",RJ:"Rio de Janeiro",RN:"Rio Grande do Norte",RS:"Rio Grande do Sul",RO:"Rond\xf4nia",RR:"Roraima",SC:"Santa Catarina",SP:"S\xe3o Paulo",SE:"Sergipe",TO:"Tocantins"},dl={BAD_REQUEST:400,UNAUTHORIZED:401,FORBIDDEN:403,GONE:410,TOO_MANY_REQUESTS:429,INTERNAL_SERVER_ERROR:500,FOUND:302},ds={status:{error:"Infelizmente, n\xe3o \xe9 poss\xedvel executar esta a\xe7\xe3o. Entre em contato com o administrador para obter ajuda."}},du={lastParams:"zig.lastParams",lastLocale:"NEXT_LOCALE",seatsToken:"seatsToken"},dc=[{text:"male",value:"MALE"},{text:"female",value:"FEMALE"},{text:"nonBinary",value:"NON_BINARY"},{text:"notInform",value:"NOT_INFORM"}],dd={LOGIN:"login_action",REGISTER:"register_action",RECOVER_PASSWORD:"recover_password_action",SOCIAL_LOGIN:"social_login_action"},df={SITE_KEY_V2:"6Ld90-ArAAAAACXHHxvo8mBBZC8UiJJtSdoEyJoM"},dh={"n\xe3o realizado":"notCompleted",pix:"PIX",picpay:"picpay",cortesia:"courtesy","cart\xe3o de cr\xe9dito":"creditCard","cart\xe3o de d\xe9bito":"debitCard",dinheiro:"cash",boleto:"boleto","click to pay":"clickToPay"};function dp(e,t){return function(){return e.apply(t,arguments)}}let{toString:dm}=Object.prototype,{getPrototypeOf:dg}=Object,{iterator:dv,toStringTag:dy}=Symbol,db=(v=Object.create(null),e=>{let t=dm.call(e);return v[t]||(v[t]=t.slice(8,-1).toLowerCase())}),dw=e=>(e=e.toLowerCase(),t=>db(t)===e),dx=e=>t=>typeof t===e,{isArray:dE}=Array,dC=dx("undefined");function dk(e){return null!==e&&!dC(e)&&null!==e.constructor&&!dC(e.constructor)&&dS(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}let dM=dw("ArrayBuffer"),d_=dx("string"),dS=dx("function"),dj=dx("number"),dO=e=>null!==e&&"object"==typeof e,dL=e=>{if("object"!==db(e))return!1;let t=dg(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(dy in e)&&!(dv in e)},dA=dw("Date"),dT=dw("File"),dP=dw("Blob"),dN=dw("FileList"),dF=dw("URLSearchParams"),[dR,d$,dD,dz]=["ReadableStream","Request","Response","Headers"].map(dw);function dI(e,t,{allOwnKeys:n=!1}={}){let o,i;if(null!==e&&!(typeof e>"u")){if("object"!=typeof e&&(e=[e]),dE(e))for(o=0,i=e.length;o<i;o++)t.call(null,e[o],o,e);else{let i;if(dk(e))return;let l=n?Object.getOwnPropertyNames(e):Object.keys(e),s=l.length;for(o=0;o<s;o++)i=l[o],t.call(null,e[i],i,e)}}}function dH(e,t){if(dk(e))return null;t=t.toLowerCase();let n=Object.keys(e),o=n.length,i;for(;o-- >0;)if(t===(i=n[o]).toLowerCase())return i;return null}let dB="u">typeof globalThis?globalThis:"u">typeof self?self:"u">typeof window?window:n.g,dW=e=>!dC(e)&&e!==dB,dV=(y="u">typeof Uint8Array&&dg(Uint8Array),e=>y&&e instanceof y),dU=dw("HTMLFormElement"),dq=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),dG=dw("RegExp"),dY=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),o={};dI(n,(n,i)=>{let l;!1!==(l=t(n,i,e))&&(o[i]=l||n)}),Object.defineProperties(e,o)},dZ=dw("AsyncFunction"),dK=(p7="function"==typeof setImmediate,p8=dS(dB.postMessage),p7?setImmediate:p8?(b=`axios@${Math.random()}`,w=[],dB.addEventListener("message",({source:e,data:t})=>{e===dB&&t===b&&w.length&&w.shift()()},!1),e=>{w.push(e),dB.postMessage(b,"*")}):e=>setTimeout(e)),dQ="u">
102typeof queueMicrotask?queueMicrotask.bind(dB):"u">typeof A&&A.nextTick||dK,dX={isArray:dE,isArrayBuffer:dM,isBuffer:dk,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||dS(e.append)&&("formdata"===(t=db(e))||"object"===t&&dS(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"u">typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&dM(e.buffer)},isString:d_,isNumber:dj,isBoolean:e=>!0===e||!1===e,isObject:dO,isPlainObject:dL,isEmptyObject:e=>{if(!dO(e)||dk(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},isReadableStream:dR,isRequest:d$,isResponse:dD,isHeaders:dz,isUndefined:dC,isDate:dA,isFile:dT,isBlob:dP,isRegExp:dG,isFunction:dS,isStream:e=>dO(e)&&dS(e.pipe),isURLSearchParams:dF,isTypedArray:dV,isFileList:dN,forEach:dI,merge:function e(){let{caseless:t,skipUndefined:n}=dW(this)&&this||{},o={},i=(i,l)=>{let s=t&&dH(o,l)||l;dL(o[s])&&dL(i)?o[s]=e(o[s],i):dL(i)?o[s]=e({},i):dE(i)?o[s]=i.slice():n&&dC(i)||(o[s]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&dI(arguments[e],i);return o},extend:(e,t,n,{allOwnKeys:o}={})=>(dI(t,(t,o)=>{n&&dS(t)?e[o]=dp(t,n):e[o]=t},{allOwnKeys:o}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,o)=>{let i,l,s;let u={};if(t=t||{},null==e)return t;do{for(l=(i=Object.getOwnPropertyNames(e)).length;l-- >0;)s=i[l],(!o||o(s,e,t))&&!u[s]&&(t[s]=e[s],u[s]=!0);e=!1!==n&&dg(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:db,kindOfTest:dw,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let o=e.indexOf(t,n);return -1!==o&&o===n},toArray:e=>{if(!e)return null;if(dE(e))return e;let t=e.length;if(!dj(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{let n;let o=(e&&e[dv]).call(e);for(;(n=o.next())&&!n.done;){let o=n.value;t.call(e,o[0],o[1])}},matchAll:(e,t)=>{let n;let o=[];for(;null!==(n=e.exec(t));)o.push(n);return o},isHTMLForm:dU,hasOwnProperty:dq,hasOwnProp:dq,reduceDescriptors:dY,freezeMethods:e=>{dY(e,(t,n)=>{if(dS(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(dS(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(dE(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:dH,global:dB,isContextDefined:dW,isSpecCompliantForm:function(e){return!!(e&&dS(e.append)&&"FormData"===e[dy]&&e[dv])},toJSONObject:e=>{let t=Array(10),n=(e,o)=>{if(dO(e)){if(t.indexOf(e)>=0)return;if(dk(e))return e;if(!("toJSON"in e)){t[o]=e;let i=dE(e)?[]:{};return dI(e,(e,t)=>{let l=n(e,o+1);dC(l)||(i[t]=l)}),t[o]=void 0,i}}return e};return n(e,0)},isAsyncFn:dZ,isThenable:e=>e&&(dO(e)||dS(e))&&dS(e.then)&&dS(e.catch),setImmediate:dK,asap:dQ,isIterable:e=>null!=e&&dS(e[dv])};function dJ(e,t,n,o,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status?i.status:null)}dX.inherits(dJ,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:dX.toJSONObject(this.config),code:this.code,status:this.status}}});let d1=dJ.prototype,d0={};function d2(e){return dX.isPlainObject(e)||dX.isArray(e)}function d3(e){return dX.endsWith(e,"[]")?e.slice(0,-2):e}function d5(e,t,n){return e?e.concat(t).map(function(e,t){return e=d3(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","E
102RR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{d0[e]={value:e}}),Object.defineProperties(dJ,d0),Object.defineProperty(d1,"isAxiosError",{value:!0}),dJ.from=(e,t,n,o,i,l)=>{let s=Object.create(d1);dX.toFlatObject(e,s,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e);let u=e&&e.message?e.message:"Error",c=null==t&&e?e.code:t;return dJ.call(s,u,c,n,o,i),e&&null==s.cause&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",l&&Object.assign(s,l),s};let d4=dX.toFlatObject(dX,{},null,function(e){return/^is[A-Z]/.test(e)});function d6(e,t,n){if(!dX.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let o=(n=dX.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!dX.isUndefined(t[e])})).metaTokens,i=n.visitor||d,l=n.dots,s=n.indexes,u=(n.Blob||"u">typeof Blob&&Blob)&&dX.isSpecCompliantForm(t);if(!dX.isFunction(i))throw TypeError("visitor must be a function");function c(e){if(null===e)return"";if(dX.isDate(e))return e.toISOString();if(dX.isBoolean(e))return e.toString();if(!u&&dX.isBlob(e))throw new dJ("Blob is not supported. Use a Buffer instead.");return dX.isArrayBuffer(e)||dX.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):T.from(e):e}function d(e,n,i){let u=e;if(e&&!i&&"object"==typeof e){if(dX.endsWith(n,"{}"))n=o?n:n.slice(0,-2),e=JSON.stringify(e);else{var d;if(dX.isArray(e)&&(d=e,dX.isArray(d)&&!d.some(d2))||(dX.isFileList(e)||dX.endsWith(n,"[]"))&&(u=dX.toArray(e)))return n=d3(n),u.forEach(function(e,o){dX.isUndefined(e)||null===e||t.append(!0===s?d5([n],o,l):null===s?n:n+"[]",c(e))}),!1}}return!!d2(e)||(t.append(d5(i,n,l),c(e)),!1)}let f=[],h=Object.assign(d4,{defaultVisitor:d,convertValue:c,isVisitable:d2});if(!dX.isObject(e))throw TypeError("data must be an object");return function e(n,o){if(!dX.isUndefined(n)){if(-1!==f.indexOf(n))throw Error("Circular reference detected in "+o.join("."));f.push(n),dX.forEach(n,function(n,l){(!(dX.isUndefined(n)||null===n)&&i.call(t,n,dX.isString(l)?l.trim():l,o,h))===!0&&e(n,o?o.concat(l):[l])}),f.pop()}}(e),t}function d7(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function d8(e,t){this._pairs=[],e&&d6(e,this,t)}let d9=d8.prototype;function fe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ft(e,t,n){let o;if(!t)return e;let i=n&&n.encode||fe;dX.isFunction(n)&&(n={serialize:n});let l=n&&n.serialize;if(o=l?l(t,n):dX.isURLSearchParams(t)?t.toString():new d8(t,n).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}d9.append=function(e,t){this._pairs.push([e,t])},d9.toString=function(e){let t=e?function(t){return e.call(this,t,d7)}:d7;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class fr{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){dX.forEach(this.handlers,function(t){null!==t&&e(t)})}}let fn={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fa="u">typeof URLSearchParams?URLSearchParams:d8,fo="u">typeof FormData?FormData:null,fi="u">typeof Blob?Blob:null,fl="u">typeof window&&"u">typeof document,fs="object"==typeof navigator&&navigator||void 0,fu=fl&&(!fs||0>["ReactNative","NativeScript","NS"].indexOf(fs.product)),fc="u">typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,fd=fl&&window.location.href||"http://localhost",ff={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:fl,hasStandardBrowserEnv:fu,hasStandardBrowserWebWorkerEnv:fc,navigator:fs,origin:fd},Symbol.toStringTag,{value:"Module"})),isBrowser:!0,classes:{URLSearchParams:fa,FormData:fo,Blob:fi},protocols:["http","https","file","blob","url","data"]};function fh(e){if(dX.isFormData(e)&&dX.isFunction(e.entries)){let t={};return dX.forEachEntry(e,(e,n)=>{(function e(t,n,o,i){let l=t[i++];if("__proto__"===l)return!0;let s=Number.isFinite(+l),u=i>=t.length;return l=!l&&dX.isArray(o)?o.length:l,u?dX.hasOwnProp(o,l)?o[l]=[o[l],n]:o[l]=n:(o[l]&&dX.isObject(o[l])||(o[l]=[]),e(t,n,o[l],i)&&dX.isArray(o[l])&&(o[l]=function(e){let t,n;let o={},i=Object.keys(e),l=i.length;for(t=0;t<l;t++)o[n=i[t]]=e[n];return o}(o[l]))),!s})(dX.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null}let fp={transitional:fn,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let o=t.getContentType()||"",i=o.indexOf("application/json")>-1,l=dX.isObject(e);
102if(l&&dX.isHTMLForm(e)&&(e=new FormData(e)),dX.isFormData(e))return i?JSON.stringify(fh(e)):e;if(dX.isArrayBuffer(e)||dX.isBuffer(e)||dX.isStream(e)||dX.isFile(e)||dX.isBlob(e)||dX.isReadableStream(e))return e;if(dX.isArrayBufferView(e))return e.buffer;if(dX.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(l){if(o.indexOf("application/x-www-form-urlencoded")>-1){var s,u;return(s=e,u=this.formSerializer,d6(s,new ff.classes.URLSearchParams,{visitor:function(e,t,n,o){return ff.isNode&&dX.isBuffer(e)?(this.append(t,e.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)},...u})).toString()}if((n=dX.isFileList(e))||o.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return d6(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return l||i?(t.setContentType("application/json",!1),function(e,t,n){if(dX.isString(e))try{return(0,JSON.parse)(e),dX.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||fp.transitional,n=t&&t.forcedJSONParsing,o="json"===this.responseType;if(dX.isResponse(e)||dX.isReadableStream(e))return e;if(e&&dX.isString(e)&&(n&&!this.responseType||o)){let n=!(t&&t.silentJSONParsing)&&o;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n)throw"SyntaxError"===e.name?dJ.from(e,dJ.ERR_BAD_RESPONSE,this,null,this.response):e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ff.classes.FormData,Blob:ff.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};dX.forEach(["delete","get","head","post","put","patch"],e=>{fp.headers[e]={}});let fm=dX.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),fg=e=>{let t,n,o;let i={};return e&&e.split(` 103`).forEach(function(e){o=e.indexOf(":"),t=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!t||i[t]&&fm[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i},fv=Symbol("internals");function fy(e){return e&&String(e).trim().toLowerCase()}function fb(e){return!1===e||null==e?e:dX.isArray(e)?e.map(fb):String(e)}let fw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function fx(e,t,n,o,i){if(dX.isFunction(o))return o.call(this,t,n);if(i&&(t=n),dX.isString(t)){if(dX.isString(o))return -1!==t.indexOf(o);if(dX.isRegExp(o))return o.test(t)}}let fE=class{constructor(e){e&&this.set(e)}set(e,t,n){let o=this;function i(e,t,n){let i=fy(t);if(!i)throw Error("header name must be a non-empty string");let l=dX.findKey(o,i);l&&void 0!==o[l]&&!0!==n&&(void 0!==n||!1===o[l])||(o[l||t]=fb(e))}let l=(e,t)=>dX.forEach(e,(e,n)=>i(e,n,t));if(dX.isPlainObject(e)||e instanceof this.constructor)l(e,t);else if(dX.isString(e)&&(e=e.trim())&&!fw(e))l(fg(e),t);else if(dX.isObject(e)&&dX.isIterable(e)){let n={},o,i;for(let t of e){if(!dX.isArray(t))throw TypeError("Object iterator must return a key-value pair");n[i=t[0]]=(o=n[i])?dX.isArray(o)?[...o,t[1]]:[o,t[1]]:t[1]}l(n,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=fy(e)){let n=dX.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
103for(;t=o.exec(e);)n[t[1]]=t[2];return n}(e);if(dX.isFunction(t))return t.call(this,e,n);if(dX.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=fy(e)){let n=dX.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||fx(this,this[n],n,t)))}return!1}delete(e,t){let n=this,o=!1;function i(e){if(e=fy(e)){let i=dX.findKey(n,e);i&&(!t||fx(n,n[i],i,t))&&(delete n[i],o=!0)}}return dX.isArray(e)?e.forEach(i):i(e),o}clear(e){let t=Object.keys(this),n=t.length,o=!1;for(;n--;){let i=t[n];(!e||fx(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){let t=this,n={};return dX.forEach(this,(o,i)=>{let l=dX.findKey(n,i);if(l){t[l]=fb(o),delete t[i];return}let s=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();s!==i&&delete t[i],t[s]=fb(o),n[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return dX.forEach(this,(n,o)=>{null!=n&&!1!==n&&(t[o]=e&&dX.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join(` 104`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[fv]=this[fv]={accessors:{}}).accessors,n=this.prototype;function o(e){let o=fy(e);t[o]||(function(e,t){let n=dX.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(e,n,i){return this[o].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[o]=!0)}return dX.isArray(e)?e.forEach(o):o(e),this}};function fC(e,t){let n=this||fp,o=t||n,i=fE.from(o.headers),l=o.data;return dX.forEach(e,function(e){l=e.call(n,l,i.normalize(),t?t.status:void 0)}),i.normalize(),l}function fk(e){return!!(e&&e.__CANCEL__)}function fM(e,t,n){dJ.call(this,e??"canceled",dJ.ERR_CANCELED,t,n),this.name="CanceledError"}function f_(e,t,n){let o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new dJ("Request failed with status code "+n.status,[dJ.ERR_BAD_REQUEST,dJ.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}fE.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),dX.reduceDescriptors(fE.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),dX.freezeMethods(fE),dX.inherits(fM,dJ,{__CANCEL__:!0});let fS=(e,t,n=3)=>{let o=0,i=function(e,t){let n=Array(e=e||10),o=Array(e),i=0,l=0,s;return t=void 0!==t?t:1e3,function(u){let c=Date.now(),d=o[l];s||(s=c),n[i]=u,o[i]=c;let f=l,h=0;for(;f!==i;)h+=n[f++],f%=e;if((i=(i+1)%e)===l&&(l=(l+1)%e),c-s<t)return;let p=d&&c-d;return p?Math.round(1e3*h/p):void 0}}(50,250);return function(e,t){let n=0,o=1e3/t,i,l,s=(t,o=Date.now())=>{n=o,i=null,l&&(clearTimeout(l),l=null),e(...t)};return[(...e)=>{let t=Date.now(),u=t-n;u>=o?s(e,t):(i=e,l||(l=setTimeout(()=>{l=null,s(i)},o-u)))},()=>i&&s(i)]}(n=>{let l=n.loaded,s=n.lengthComputable?n.total:void 0,u=l-o,c=i(u);o=l,e({loaded:l,total:s,progress:s?l/s:void 0,bytes:u,rate:c||void 0,estimated:c&&s&&l<=s?(s-l)/c:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})},n)},fj=(e,t)=>{let n=null!=e;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},fO=e=>(...t)=>dX.asap(()=>e(...t)),fL=ff.hasStandardBrowserEnv?(x=new URL(ff.origin),E=ff.navigator&&/(msie|trident)/i.test(ff.navigator.userAgent),e=>(e=new URL(e,ff.origin),x.protocol===e.protocol&&x.host===e.host&&(E||x.port===e.port))):()=>!0,fA=ff.hasStandardBrowserEnv?{write(e,t,n,o,i,l,s){if(typeof document>"u")return;let u=[`${e}=${encodeURIComponent(t)}`];dX.isNumber(n)&&u.push(`expires=${new Date(n).toUTCString()}`),dX.isString(o)&&u.push(`path=${o}`),dX.isString(i)&&u.push(`domain=${i}`),!0===l&&u.push("secure"),dX.isString(s)&&u.push(`SameSite=${s}`),document.cookie=u.join("; ")},read(e){if(typeof document>"u")return null;let t=document.cookie.match(RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function fT(e,t,n){let o=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(o||!1==n)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let fP=e=>e instanceof fE?{...e}:e;
104function fN(e,t){t=t||{};let n={};function o(e,t,n,o){return dX.isPlainObject(e)&&dX.isPlainObject(t)?dX.merge.call({caseless:o},e,t):dX.isPlainObject(t)?dX.merge({},t):dX.isArray(t)?t.slice():t}function i(e,t,n,i){return dX.isUndefined(t)?dX.isUndefined(e)?void 0:o(void 0,e,n,i):o(e,t,n,i)}function l(e,t){if(!dX.isUndefined(t))return o(void 0,t)}function s(e,t){return dX.isUndefined(t)?dX.isUndefined(e)?void 0:o(void 0,e):o(void 0,t)}function u(n,i,l){return l in t?o(n,i):l in e?o(void 0,n):void 0}let c={url:l,method:l,data:l,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u,headers:(e,t,n)=>i(fP(e),fP(t),n,!0)};return dX.forEach(Object.keys({...e,...t}),function(o){let l=c[o]||i,s=l(e[o],t[o],o);dX.isUndefined(s)&&l!==u||(n[o]=s)}),n}let fF=e=>{let t=fN({},e),{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:l,headers:s,auth:u}=t;if(t.headers=s=fE.from(s),t.url=ft(fT(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),dX.isFormData(n)){if(ff.hasStandardBrowserEnv||ff.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(dX.isFunction(n.getHeaders)){let e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&s.set(e,n)})}}if(ff.hasStandardBrowserEnv&&(o&&dX.isFunction(o)&&(o=o(t)),o||!1!==o&&fL(t.url))){let e=i&&l&&fA.read(l);e&&s.set(i,e)}return t},fR="u">typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let o=fF(e),i=o.data,l=fE.from(o.headers).normalize(),{responseType:s,onUploadProgress:u,onDownloadProgress:c}=o,d,f,h,p,m;function g(){p&&p(),m&&m(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let v=new XMLHttpRequest;function y(){if(!v)return;let o=fE.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders());f_(function(e){t(e),g()},function(e){n(e),g()},{data:s&&"text"!==s&&"json"!==s?v.response:v.responseText,status:v.status,statusText:v.statusText,headers:o,config:e,request:v}),v=null}v.open(o.method.toUpperCase(),o.url,!0),v.timeout=o.timeout,"onloadend"in v?v.onloadend=y:v.onreadystatechange=function(){v&&4===v.readyState&&(0!==v.status||v.responseURL&&0===v.responseURL.indexOf("file:"))&&setTimeout(y)},v.onabort=function(){v&&(n(new dJ("Request aborted",dJ.ECONNABORTED,e,v)),v=null)},v.onerror=function(t){let o=new dJ(t&&t.message?t.message:"Network Error",dJ.ERR_NETWORK,e,v);o.event=t||null,n(o),v=null},v.ontimeout=function(){let t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded",i=o.transitional||fn;o.timeoutErrorMessage&&(t=o.timeoutErrorMessage),n(new dJ(t,i.clarifyTimeoutError?dJ.ETIMEDOUT:dJ.ECONNABORTED,e,v)),v=null},void 0===i&&l.setContentType(null),"setRequestHeader"in v&&dX.forEach(l.toJSON(),function(e,t){v.setRequestHeader(t,e)}),dX.isUndefined(o.withCredentials)||(v.withCredentials=!!o.withCredentials),s&&"json"!==s&&(v.responseType=o.responseType),c&&([h,m]=fS(c,!0),v.addEventListener("progress",h)),u&&v.upload&&([f,p]=fS(u),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(d=t=>{v&&(n(!t||t.type?new fM(null,e,v):t),v.abort(),v=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));let b=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(o.url);if(b&&-1===ff.protocols.indexOf(b)){n(new dJ("Unsupported protocol "+b+":",dJ.ERR_BAD_REQUEST,e));return}v.send(i||null)})},f$=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController,o,i=function(e){if(!o){o=!0,s();let t=e instanceof Error?e:this.reason;n.abort(t instanceof dJ?t:new fM(t instanceof Error?t.message:t))}},l=t&&setTimeout(()=>{l=null,i(new dJ(`timeout ${t} of ms exceeded`,dJ.ETIMEDOUT))},t),s=()=>
104{e&&(l&&clearTimeout(l),l=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:u}=n;return u.unsubscribe=()=>dX.asap(s),u}},fD=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0,i;for(;o<n;)i=o+t,yield e.slice(o,i),o=i},fz=async function*(e,t){for await(let n of fI(e))yield*fD(n,t)},fI=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},fH=(e,t,n,o)=>{let i=fz(e,t),l=0,s,u=e=>{s||(s=!0,o&&o(e))};return new ReadableStream({async pull(e){try{let{done:t,value:o}=await i.next();if(t){u(),e.close();return}let s=o.byteLength;if(n){let e=l+=s;n(e)}e.enqueue(new Uint8Array(o))}catch(e){throw u(e),e}},cancel:e=>(u(e),i.return())},{highWaterMark:2})},{isFunction:fB}=dX,fW=(({Request:e,Response:t})=>({Request:e,Response:t}))(dX.global),{ReadableStream:fV,TextEncoder:fU}=dX.global,fq=(e,...t)=>{try{return!!e(...t)}catch{return!1}},fG=e=>{let t;let{fetch:n,Request:o,Response:i}=e=dX.merge.call({skipUndefined:!0},fW,e),l=n?fB(n):"function"==typeof fetch,s=fB(o),u=fB(i);if(!l)return!1;let c=l&&fB(fV),d=l&&("function"==typeof fU?(t=new fU,e=>t.encode(e)):async e=>new Uint8Array(await new o(e).arrayBuffer())),f=s&&c&&fq(()=>{let e=!1,t=new o(ff.origin,{body:new fV,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),h=u&&c&&fq(()=>dX.isReadableStream(new i("").body)),p={stream:h&&(e=>e.body)};l&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{p[e]||(p[e]=(t,n)=>{let o=t&&t[e];if(o)return o.call(t);throw new dJ(`Response type '${e}' is not supported`,dJ.ERR_NOT_SUPPORT,n)})});let m=async e=>null==e?0:dX.isBlob(e)?e.size:dX.isSpecCompliantForm(e)?(await new o(ff.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:dX.isArrayBufferView(e)||dX.isArrayBuffer(e)?e.byteLength:(dX.isURLSearchParams(e)&&(e+=""),dX.isString(e))?(await d(e)).byteLength:void 0,g=async(e,t)=>dX.toFiniteNumber(e.getContentLength())??m(t);return async e=>{let t,{url:l,method:u,data:c,signal:d,cancelToken:m,timeout:v,onDownloadProgress:y,onUploadProgress:b,responseType:w,headers:x,withCredentials:E="same-origin",fetchOptions:C}=fF(e),k=n||fetch;w=w?(w+"").toLowerCase():"text";let M=f$([d,m&&m.toAbortSignal()],v),_=null,S=M&&M.unsubscribe&&(()=>{M.unsubscribe()});try{if(b&&f&&"get"!==u&&"head"!==u&&0!==(t=await g(x,c))){let e=new o(l,{method:"POST",body:c,duplex:"half"}),n;if(dX.isFormData(c)&&(n=e.headers.get("content-type"))&&x.setContentType(n),e.body){let[n,o]=fj(t,fS(fO(b)));c=fH(e.body,65536,n,o)}}dX.isString(E)||(E=E?"include":"omit");let n=s&&"credentials"in o.prototype,d={...C,signal:M,method:u.toUpperCase(),headers:x.normalize().toJSON(),body:c,duplex:"half",credentials:n?E:void 0};_=s&&new o(l,d);let m=await (s?k(_,C):k(l,d)),v=h&&("stream"===w||"response"===w);if(h&&(y||v&&S)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=m[t]});let t=dX.toFiniteNumber(m.headers.get("content-length")),[n,o]=y&&fj(t,fS(fO(y),!0))||[];m=new i(fH(m.body,65536,n,()=>{o&&o(),S&&S()}),e)}w=w||"text";let j=await p[dX.findKey(p,w)||"text"](m,e);return!v&&S&&S(),await new Promise((t,n)=>{f_(t,n,{data:j,headers:fE.from(m.headers),status:m.status,statusText:m.statusText,config:e,request:_})})}catch(t){throw S&&S(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)?Object.assign(new dJ("Network Error",dJ.ERR_NETWORK,e,_),{cause:t.cause||t}):dJ.from(t,t&&t.code,e,_)}}},fY=new Map,fZ=e=>{let t=e&&e.env||{},{fetch:n,Request:o,Response:i}=t,l=[o,i,n],s=l.length,u,c,d=fY;for(;s--;)u=l[s],void 0===(c=d.get(u))&&d.set(u,c=s?new Map:fG(t)),d=c;return c};fZ();let fK={http:null,xhr:fR,fetch:{get:fZ}};dX.forEach(fK,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});let fQ=e=>`- ${e}`,fX=e=>dX.isFunction(e)||null===e||!1===e,fJ=function(e,t){let n,o;let{length:i}=e=dX.isArray(e)?e:[e],l={};for(let s=0;s<i;s++){let i;if(o=n=e[s],!fX(n)&&void 0===(o=fK[(i=String(n)).toLowerCase()]))throw new dJ(`Unknown adapter '${i}'`);if(o&&(dX.isFunction(o)||(o=o.get(t))))break;l[i||"#"+s]=o}if(!o){let e=Object.entries(l).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new dJ("There is no suitable adapter to dispatch the request "+(i?e.length>1?`since : 105`+e.map(fQ).join(` 106`):" "+fQ(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return o};function f1(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new fM(null,e)}function f0(e){return f1(e),e.headers=fE.from(e.headers),e.data=fC.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),fJ(e.adapter||fp.adapter,e)(e).then(function(t){return f1(e),t.data=fC.call(e,e.transformResponse,t),t.headers=fE.from(t.headers),t},function(t){return fk(t)||(f1(e),t&&t.response&&(t.response.data=fC.call(e,e.transformResponse,t.response),t.response.headers=fE.from(t.response.headers))),Promise.reject(t)})}
106let f2="1.13.2",f3={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{f3[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let f5={};f3.transitional=function(e,t,n){function o(e,t){return"[Axios v"+f2+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,l)=>{if(!1===e)throw new dJ(o(i," has been removed"+(t?" in "+t:"")),dJ.ERR_DEPRECATED);return t&&!f5[i]&&(f5[i]=!0,console.warn(o(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,l)}},f3.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};let f4={assertOptions:function(e,t,n){if("object"!=typeof e)throw new dJ("options must be an object",dJ.ERR_BAD_OPTION_VALUE);let o=Object.keys(e),i=o.length;for(;i-- >0;){let l=o[i],s=t[l];if(s){let t=e[l],n=void 0===t||s(t,l,e);if(!0!==n)throw new dJ("option "+l+" must be "+n,dJ.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new dJ("Unknown option "+l,dJ.ERR_BAD_OPTION)}},validators:f3},f6=f4.validators,f7=class{constructor(e){this.defaults=e||{},this.interceptors={request:new fr,response:new fr}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+=` 107`+n):e.stack=n}catch{}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:n,paramsSerializer:o,headers:i}=t=fN(this.defaults,t);void 0!==n&&f4.assertOptions(n,{silentJSONParsing:f6.transitional(f6.boolean),forcedJSONParsing:f6.transitional(f6.boolean),clarifyTimeoutError:f6.transitional(f6.boolean)},!1),null!=o&&(dX.isFunction(o)?t.paramsSerializer={serialize:o}:f4.assertOptions(o,{encode:f6.function,serialize:f6.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),f4.assertOptions(t,{baseUrl:f6.spelling("baseURL"),withXsrfToken:f6.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let l=i&&dX.merge(i.common,i[t.method]);i&&dX.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=fE.concat(l,i);let s=[],u=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,s.unshift(e.fulfilled,e.rejected))});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d,f=0,h;if(!u){let e=[f0.bind(this),void 0];for(e.unshift(...s),e.push(...c),h=e.length,d=Promise.resolve(t);f<h;)d=d.then(e[f++],e[f++]);return d}h=s.length;let p=t;for(;f<h;){let e=s[f++],t=s[f++];try{p=e(p)}catch(e){t.call(this,e);break}}try{d=f0.call(this,p)}catch(e){return Promise.reject(e)}for(f=0,h=c.length;f<h;)d=d.then(c[f++],c[f++]);return d}getUri(e){return ft(fT((e=fN(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};dX.forEach(["delete","get","head","options"],function(e){f7.prototype[e]=function(t,n){return this.request(fN(n||{},{method:e,url:t,data:(n||{}).data}))}}),dX.forEach(["post","put","patch"],function(e){function t(t){return function(n,o,i){return this.request(fN(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:o}))}}f7.prototype[e]=t(),f7.prototype[e+"Form"]=t(!0)});let f8=class e{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let o=new Promise(e=>{n.subscribe(e),t=e}).then(e);return o.cancel=function(){n.unsubscribe(t)},o},e(function(e,o,i){n.reason||(n.reason=new fM(e,o,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}},f9={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,Re
107setContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(f9).forEach(([e,t])=>{f9[t]=e});let he=function e(t){let n=new f7(t),o=dp(f7.prototype.request,n);return dX.extend(o,f7.prototype,n,{allOwnKeys:!0}),dX.extend(o,n,null,{allOwnKeys:!0}),o.create=function(n){return e(fN(t,n))},o}(fp);he.Axios=f7,he.CanceledError=fM,he.CancelToken=f8,he.isCancel=fk,he.VERSION=f2,he.toFormData=d6,he.AxiosError=dJ,he.Cancel=he.CanceledError,he.all=function(e){return Promise.all(e)},he.spread=function(e){return function(t){return e.apply(null,t)}},he.isAxiosError=function(e){return dX.isObject(e)&&!0===e.isAxiosError},he.mergeConfig=fN,he.AxiosHeaders=fE,he.formToJSON=e=>fh(dX.isHTMLForm(e)?new FormData(e):e),he.getAdapter=fJ,he.HttpStatusCode=f9,he.default=he;let{Axios:ht,AxiosError:hr,CanceledError:hn,isCancel:ha,CancelToken:ho,VERSION:hi,all:hl,Cancel:hs,isAxiosError:hu,spread:hc,toFormData:hd,AxiosHeaders:hf,HttpStatusCode:hh,formToJSON:hp,getAdapter:hm,mergeConfig:hg}=he;class hv{message;errors;status;type;tickets;sessions;data;constructor({message:e,errors:t,status:n,type:o,tickets:i,sessions:l,data:s}){this.message=e,this.errors=t,this.status=n,this.type=o,this.tickets=i,this.sessions=l,this.data=s}getAllErrors(){return this.errors?Object.entries(this.errors).map(([e,t])=>`${e}: ${t.join(", ")}`).join(` 108`):""}}let hy=()=>{try{return"u">typeof window&&"u">typeof window.location&&"string"==typeof window.location.href}catch{return!1}},hb="zig.jwtToken",hw="zig.user",hx=null,hE=null;function hC(e){if(!hy())return null;try{return window.localStorage.getItem(e)}catch{return null}}function hk(e,t){if(hy())try{window.localStorage.setItem(e,t)}catch{}}function hM(e){if(hy())try{window.localStorage.removeItem(e)}catch{}}function h_(){let e=c1.getCookie(hb)||hx||hC(hb),t=c1.getCookie(hw)||hE||hC(hw),n=null;if(t)try{n=JSON.parse(t)}catch{n=null}return{token:e||null,user:n}}function hS({token:e,options:t}){c1.setCookie(hb,e,t),hx=e,hk(hb,e)}function hj({user:e,options:t}){let n=JSON.stringify(e);c1.setCookie(hw,n,t),hE=n,hk(hw,n)}function hO(){c1.deleteCookie(hb),c1.deleteCookie(hw),hx=null,hE=null,hM(hb),hM(hw)}let hL=e=>{let t=he.create({baseURL:e,timeout:3e4});t.interceptors.request.use(e=>{let{token:t}=h_(),n=c1.getCookie("queueItToken")??"";t&&(e.headers.Authorization=`Bearer ${t}`),hy()&&n&&(e.headers["X-Queueit-Token"]=n),hy()&&(e.headers["X-Application-URL"]=window.location.href,e.headers["X-Origin"]=window.location.origin);let o=e.headers?.["X-SSR-Origin"];return o&&(e.headers["X-Origin"]=o),e});let n=!1,o=[];return t.interceptors.response.use(e=>e,async e=>{let i=e?.response?.data,l=e?.response?.status;if(l===dl.UNAUTHORIZED&&"/auth/refresh"!==e.config.url){let{token:i}=h_();if(!i)return hO(),Promise.reject(e);let l=e.config;if(n)return new Promise((e,n)=>{o.push({onSuccess:()=>e(t(l)),onFailure:e=>{n(e)}})});n=!0;let{refreshToken:s}=await Promise.resolve().then(()=>hD);return new Promise((e,i)=>{s().then(n=>{hS({token:n.access_token}
108),o.forEach(e=>e.onSuccess()),e(t(l))}).catch(e=>{o.forEach(t=>t.onFailure(e)),hO(),i(e)}).finally(()=>{n=!1,o=[]})})}return l===dl.FOUND&&i?.code==="QUEUEIT_REDIRECT"?(hy()&&(window.location.href=i.redirect_to),Promise.reject(e)):i?.message?Promise.reject(new hv({message:i.message,errors:i.errors,status:l||i.statusCode,type:i.type,tickets:i.tickets,sessions:i.sessions,data:i})):Promise.reject(new hv({message:ds.status.error,errors:{},status:l}))}),t},hA=hL("https://ticket-api.zig.tickets/"),hT={get:(e,t,n)=>hA.get(e,{params:t,...n}),post:(e,t,n)=>hA.post(e,t,n),delete:(e,t)=>hA.delete(e,t),put:(e,t,n)=>hA.put(e,t,n),patch:(e,t,n)=>hA.patch(e,t,n)},hP=e=>({facebook:"facebookV2",google:"googleV2"})[e];async function hN(e){let{data:t}=await hT.post("/auth/token",e);return t}async function hF(e){let{data:t}=await hT.get(`/auth/${hP(e)}`);return t}async function hR(e,t,n){let{data:o}=await hT.get(`/auth/${hP(e)}/callback`,t,n);return o}async function h$(){let{data:e}=await hT.post("/auth/refresh");return e}let hD=Object.freeze(Object.defineProperty({__proto__:null,authSocialProvider:hF,authSocialProviderCallback:hR,authToken:hN,refreshToken:h$},Symbol.toStringTag,{value:"Module"}));async function hz(){let{data:e}=await hT.get("/users/me");return e}async function hI(e){let{data:t}=await hT.post("/users",e);return t}async function hH(e){let{data:t}=await hT.put("users/update",e);return t}async function hB(e){let{data:t}=await hT.post("passwords",e);return t}async function hW(e){let{data:t}=await hT.post("passwords/renew",e);return t}async function hV(e){let{data:t}=await hT.patch("users/language",e);return t}async function hU(e){let{data:t}=await hT.put("users/password",e);return t}let hq=(e,t,n)=>{let o=e[t];return o?"function"==typeof o?o():Promise.resolve(o):new Promise((e,o)=>{("function"==typeof queueMicrotask?queueMicrotask:setTimeout)(o.bind(null,Error("Unknown variable dynamic import: "+t+(t.split("/").length!==n?". Note that variables only represent file names one level deep.":""))))})};async function hG(e){if(!e)throw Error("Locale is not defined");return(await hq(Object.assign({
108"../locales/en-US.json":()=>n.e(4835).then(n.bind(n,94835)),
108"../locales/es-ES.json":()=>n.e(6406).then(n.bind(n,96406)),
108"../locales/pt-BR.json":()=>n.e(8421)
108.then(n.bind(n,18421))}),`../locales/${e}.json`,3)).default}let hY=async({locale:e})=>{let t=await hG(e);return{props:{locale:e,messages:t}}},hZ=e=>di[e?.toUpperCase()],hK=(e,t)=>new Date(e.start_date).getTime()-new Date(t.start_date).getTime();function hQ(e,t){let n=[],o=[],i=[];return e.forEach(e=>{let l=new Date(e.start_date),s=e?.event_location?.state?di[e?.event_location?.state]:"";s===t&&""!==s?n.push(e):l>=new Date?o.push(e):i.push(e)}),n.sort(hK),o.sort(hK),i.sort(hK),[...n,...o,...i]}function hX(e){return({"shows-e-festivais":{icon:"/imgs/icon-shows-e-festivais.svg"},temporada:{icon:"/imgs/icon-temporada.svg"},"teatro-museus-e-cultura":{icon:"/imgs/icon-teatro.svg"},"workshops-e-cursos":{icon:"/imgs/icon-workshop.svg"},"parques-passeios":{icon:"/imgs/icon-parques.svg"},esportes:{icon:"/imgs/icon-esportes.svg"}})[e]}let hJ=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;function h1(e){return hJ.test(e.trim())}function h0(e,t){return e.trim().toLowerCase()===t.trim().toLowerCase()}function h2(e){return!!RegExp("^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[-a-z\\d_]*)?$","i").test(e)}function h3(){return"m.zig.tickets"===window.location.host}let h5={Cpf:{isValid(e){let t=e.replace(/[^\d]+/g,"");if(""===t||11!==t.length||"___.___.___-__"===t||"00000000000"===t||"11111111111"===t||"22222222222"===t||"33333333333"===t||"44444444444"===t||"55555555555"===t||"66666666666"===t||"77777777777"===t||"88888888888"===t||"99999999999"===t)return!1;let n=0,o;for(let e=0;e<9;e+=1)n+=Number(t.charAt(e))*(10-e);if((10==(o=11-n%11)||11===o)&&(o=0),o!==Number(t.charAt(9)))return!1;n=0;for(let e=0;e<10;e+=1)n+=Number(t.charAt(e))*(11-e);return(10==(o=11-n%11)||11===o)&&(o=0),o===Number(t.charAt(10))}},Cnpj:{isValid(e){let t,n,o,i;let l=e.replace(/[^\d]+/g,"");if(""===l||14!==l.length||"00000000000000"===l||"11111111111111"===l||"22222222222222"===l||"33333333333333"===l||"44444444444444"===l||"55555555555555"===l||"66666666666666"===l||"77777777777777"===l||"88888888888888"===l||"99999999999999"===l)return!1;t=l.length-2,n=l.substring(0,t);let s=l.substring(t);o=0,i=t-7;for(let e=t;e>=1;e-=1)o+=Number(n.charAt(t-e))*i,(i-=1)<2&&(i=9);if((o%11<2?0:11-o%11)!==Number(s.charAt(0)))return!1;t+=1,n=l.substring(0,t),o=0,i=t-7;for(let e=t;e>=1;e-=1)o+=Number(n.charAt(t-e))*i,(i-=1)<2&&(i=9);return(o%11<2?0:11-o%11)===Number(s.charAt(1))}}};function h4(e){return e?.replace(/\D/g,"").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d)/,"$1.$2").replace(/(\d{3})(\d{1,2})/,"$1-$2").replace(/(-\d{2})\d?$/,"$1")}function h6(e){return e?.replace(/\D/g,"")}function h7(e){return e?.replace(/[^a-z0-9]/gi,"")}function h8(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=function e(t){var n,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t))for(n=0;n<t.length;n++)t[n]&&(o=e(t[n]))&&(i&&(i+=" "),i+=o);else for(n in t)t[n]&&(i&&(i+=" "),i+=n)}return i}(e))&&(o&&(o+=" "),o+=t);return o}let h9={data:""},pe=e=>{if("object"==typeof window){let t=(e?e.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return t.nonce=window.__nonce__,t.parentNode||(e||document.head).appendChild(t),t.firstChild}return e||h9},pt=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,pr=/\/\*[^]*?\*\/| +/g,pn=/\n+/g,pa=(e,t)=>{let n="",o="",i="";for(let l in e){let s=e[l];"@"==l[0]?"i"==l[1]?n=l+" "+s+";":o+="f"==l[1]?pa(s,l):l+"{"+pa(s,"k"==l[1]?"":t)+"}":"object"==typeof s?o+=pa(s,t?t.replace(/([^,])+/g,e=>l.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,t=>/&/.test(t)?t.replace(/&/g,e):e?e+" "+t:t)):l):null!=s&&(l=/^--/.test(l)?l:l.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=pa.p?pa.p(l,s):l+":"+s+";")}return n+(t&&i?t+"{"+i+"}":i)+o},po={},pi=e=>{if("object"==typeof e){let t="";for(let n in e)t+=n+pi(e[n]);return t}return e},pl=(e,t,n,o,i)=>{var l;let s=pi(e),u=po[s]||(po[s]=(e=>{let t=0,n=11;for(;t<e.length;)n=101*n+e.charCodeAt(t++)>>>0;return"go"+n})(s));if(!po[u]){let t=s!==e?e:(e=>{let t,n,o=[{}];for(;t=pt.exec(e.replace(pr,""));)t[4]?o.shift():t[3]?(n=t[3].replace(pn," ").trim(),o.unshift(o[0][n]=o[0][n]||{})):o[0][t[1]]=t[2].replace(pn," ").trim();return o[0]})(e);po[u]=pa(i?{["@keyframes "+u]:t}:t,n?"":"."+u)}let c=n&&po.g?po.g:null;return n&&(po.g=po[u]),l=po[u],c?t.data=t.data.replace(c,l):-1===t.data.indexOf(l)&&(t.data=o?l+t.data:t.data+l),u},ps=(e,t,n)=>e.reduce((e,o,i)=>{let l=t[i];if(l&&l.call){let e=l(n),t=e&&e.props&&e.props.className||/^go/.test(e)&&e;l=t?"."+t:e&&"object"==typeof e?e.props?"":pa(e,""):!1===e?"":e}return e+o+(l??"")},"");function pu(e){let t=this||{},n=e.call?e(t.p):e;
108return pl(n.unshift?n.raw?ps(n,[].slice.call(arguments,1),t.p):n.reduce((e,n)=>Object.assign(e,n&&n.call?n(t.p):n),{}):n,pe(t.target),t.g,t.o,t.k)}function pc(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}(e.prototype,t),e}function pd(){return(pd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function pf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ph(e,t){if(null==e)return{};var n,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}function pp(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}pu.bind({g:1}),pu.bind({k:1});var pm=function(){return""},pg=M.createContext({enqueueSnackbar:pm,closeSnackbar:pm}),pv="@media (max-width:599.95px)",py="@media (min-width:600px)",pb=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},pw=function(e){return""+pb(e.vertical)+pb(e.horizontal)},px=function(e){return!!e||0===e},pE="unmounted",pC="exited",pk="entering",pM="entered",p_="exiting",pS=function(e){function t(t){n=e.call(this,t)||this;var n,o,i=t.appear;return n.appearStatus=null,t.in?i?(o=pC,n.appearStatus=pk):o=pM:o=t.unmountOnExit||t.mountOnEnter?pE:pC,n.state={status:o},n.nextCallback=null,n}pf(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===pE?{status:pC}: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!==pk&&n!==pM&&(t=pk):(n===pk||n===pM)&&(t=p_)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e=this.props.timeout,t=e,n=e;return null!=e&&"number"!=typeof e&&"string"!=typeof e&&(n=e.exit,t=e.enter),{exit:n,enter:t}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===pk?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===pC&&this.setState({status:pE})},n.performEnter=function(e){var t=this,n=this.props.enter,o=this.getTimeouts();if(!e&&!n){this.safeSetState({status:pM},function(){t.props.onEntered&&t.props.onEntered(t.node,e)});return}this.props.onEnter&&this.props.onEnter(this.node,e),this.safeSetState({status:pk},function(){t.props.onEntering&&t.props.onEntering(t.node,e),t.onTransitionEnd(o.enter,function(){t.safeSetState({status:pM},function(){t.props.onEntered&&t.props.onEntered(t.node,e)})})})},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts();if(!t){this.safeSetState({status:pC},function(){e.props.onExited&&e.props.onExited(e.node)});return}this.props.onExit&&this.props.onExit(this.node),this.safeSetState({status:p_},function(){e.props.onExiting&&e.props.onExiting(e.node),e.onTransitionEnd(n.exit,function(){e.safeSetState({status:pC},function(){e.props.onExited&&e.props.onExited(e.node)})})})},n.cancelNextCallback=function(){null!==this.nextCallback&&this.nextCallback.cancel&&(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(){n&&(n=!1,t.nextCallback=null,e())},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=null==e&&!this.props.addEndListener;if(!this.node||n){setTimeout(this.nextCallback,0);return}this.props.addEndListener&&this.props.addEndListener(this.node,this.nextCallback),null!=e&&setTimeout(this.nextCallback,e)},n.render=function(){var e=this.state.status;if(e===pE)return null;var t=this.props;return(0,t.children)(e,ph(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]))},pc(t,[{key:"node",get:function(){var e,t=null===(e=this.props.nodeRef)||void 0===e?void 0:e.current;if(!t)throw Error("notistack - Custom snackbar is not refForwarding");return t}}]),t}(M.Component);function pj(){}function pO(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function pL(e,t){return(0,M.useMemo)(function(){return null==e&&null==t?null:function(n){pO(e,n),pO(t,n)}},[e,t])}function pA(e){var t=e.timeout,n=e.style,o=void 0===n?{}:n,i=e.mode;return{duration:"object"==typeof t?t[i]||0:t,easing:o.transitionTimingFunction,delay:o.transitionDelay}}pS.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
108:!0,exit:!0,onEnter:pj,onEntering:pj,onEntered:pj,onExit:pj,onExiting:pj,onExited:pj};var pT={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},pP=function(e){e.scrollTop=e.scrollTop},pN=function(e){return Math.round(e)+"ms"};function pF(e,t){void 0===e&&(e=["all"]);var n=t||{},o=n.duration,i=void 0===o?300:o,l=n.easing,s=void 0===l?pT.easeInOut:l,u=n.delay,c=void 0===u?0:u;return(Array.isArray(e)?e:[e]).map(function(e){return e+" "+("string"==typeof i?i:pN(i))+" "+s+" "+("string"==typeof c?c:pN(c))}).join(",")}function pR(e){return(e&&e.ownerDocument||document).defaultView||window}function p$(e,t){if(t){var n=function(e,t){var n,o=t.getBoundingClientRect(),i=pR(t);if(t.fakeTransform)n=t.fakeTransform;else{var l=i.getComputedStyle(t);n=l.getPropertyValue("-webkit-transform")||l.getPropertyValue("transform")}var s=0,u=0;if(n&&"none"!==n&&"string"==typeof n){var c=n.split("(")[1].split(")")[0].split(",");s=parseInt(c[4],10),u=parseInt(c[5],10)}switch(e){case"left":return"translateX("+(i.innerWidth+s-o.left)+"px)";case"right":return"translateX(-"+(o.left+o.width-s)+"px)";case"up":return"translateY("+(i.innerHeight+u-o.top)+"px)";default:return"translateY(-"+(o.top+o.height-u)+"px)"}}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}}var pD=(0,M.forwardRef)(function(e,t){var n=e.children,o=e.direction,i=void 0===o?"down":o,l=e.in,s=e.style,u=e.timeout,c=void 0===u?0:u,d=e.onEnter,f=e.onEntered,h=e.onExit,p=e.onExited,m=ph(e,["children","direction","in","style","timeout","onEnter","onEntered","onExit","onExited"]),g=(0,M.useRef)(null),v=pL(n.ref,g),y=pL(v,t),b=(0,M.useCallback)(function(){g.current&&p$(i,g.current)},[i]);return(0,M.useEffect)(function(){if(!(l||"down"===i||"right"===i)){var e=function(e,t){var n;function o(){for(var o=this,i=arguments.length,l=Array(i),s=0;s<i;s++)l[s]=arguments[s];clearTimeout(n),n=setTimeout(function(){e.apply(o,l)},t)}return void 0===t&&(t=166),o.clear=function(){clearTimeout(n)},o}(function(){g.current&&p$(i,g.current)}),t=pR(g.current);return t.addEventListener("resize",e),function(){e.clear(),t.removeEventListener("resize",e)}}},[i,l]),(0,M.useEffect)(function(){l||b()},[l,b]),(0,M.createElement)(pS,Object.assign({appear:!0,nodeRef:g,onEnter:function(e,t){p$(i,e),pP(e),d&&d(e,t)},onEntered:f,onEntering:function(e){var t=s?.transitionTimingFunction||pT.easeOut,n=pA({timeout:c,mode:"enter",style:pd({},s,{transitionTimingFunction:t})});e.style.webkitTransition=pF("-webkit-transform",n),e.style.transition=pF("transform",n),e.style.webkitTransform="none",e.style.transform="none"},onExit:function(e){var t=s?.transitionTimingFunction||pT.sharp,n=pA({timeout:c,mode:"exit",style:pd({},s,{transitionTimingFunction:t})});e.style.webkitTransition=pF("-webkit-transform",n),e.style.transition=pF("transform",n),p$(i,e),h&&h(e)},onExited:function(e){e.style.webkitTransition="",e.style.transition="",p&&p(e)},in:l,timeout:c},m),function(e,t){return(0,M.cloneElement)(n,pd({ref:y,style:pd({visibility:"exited"!==e||l?void 0:"hidden"},s,{},n.props.style)},t))})});pD.displayName="Slide";var pz=function(e){return M.createElement("svg",Object.assign({viewBox:"0 0 24 24",focusable:"false",style:{fontSize:20,marginInlineEnd:8,userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:"currentColor",flexShrink:0}},e))},pI={maxSnack:3,persist:!1,hideIconVariant:!1,disableWindowBlurListener:!1,variant:"default",autoHideDuration:5e3,iconVariant:{default:void 0,success:M.createElement(function(){return M.createElement(pz,null,M.createElement("path",{d:`M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 109 10.59L10 14.17L17.59 6.58L19 8L10 17Z`}))},null),warning:M.createElement(function(){return M.createElement(pz,null,M.createElement("path",{d:"M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"}))},null),error:M.createElement(function(){return M.createElement(pz,null,M.createElement("path",{d:`M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2, 110 6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12, 111 13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`}))},null),info:M.createElement(function(){return M.createElement(pz,null,M.createElement("path",{d:`M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 112 0 22,12A10,10 0 0,0 12,2Z`}))},null)},anchorOrigin:{vertical:"bottom",horizontal:"left"},TransitionComponent:pD,transitionDuration:{enter:225,exit:195}},pH=function(e,t){var n=function(e){return"number"==typeof e||null===e};return n(e)?e:n(t)?t:pI.autoHideDuration},pB=function(e,t){var n=function(e,t){return t.some(function(t){return typeof e===t})};return n(e,["string","number"])?e:n(e,["object"])?pd({},pI.transitionDuration,{},n(t,["object"])&&t,{},e):n(t,["string","number"])?t:n(t,["object"])?pd({},pI.transitionDuration,{},t):pI.transitionDuration};function pW(e){return Object.entries(e).reduce(function(e,t){var n,o=t[0],i=t[1];return pd({},e,((n={})[o]=pu(i),n))},{})}var pV="notistack-CollapseWrapper",pU=pW({root:{height:0},entered:{height:"auto"}}),pq=(0,M.forwardRef)(function(e,t){var n=e.children,o=e.in,i=e.onExited,l=(0,M.useRef)(null),s=(0,M.useRef)(null),u=pL(t,s),c=function(){return l.current?l.current.clientHeight:0};return(0,M.createElement)(pS,{in:o,unmountOnExit:!0,onEnter:function(e){e.style.height="0px"},onEntered:function(e){e.style.height="auto"},onEntering:function(e){var t=c(),n=pA({timeout:175,mode:"enter"}),o=n.duration,i=n.easing;e.style.transitionDuration="string"==typeof o?o:o+"ms",e.style.height=t+"px",e.style.transitionTimingFunction=i||""},onExit:function(e){e.style.height=c()+"px"},onExited:i,onExiting:function(e){pP(e);var t=pA({timeout:175,mode:"exit"}),n=t.duration,o=t.easing;e.style.transitionDuration="string"==typeof n?n:n+"ms",e.style.height="0px",e.style.transitionTimingFunction=o||""},nodeRef:s,timeout:175},function(e,t){return(0,M.createElement)("div",Object.assign({ref:u,className:h8(pU.root,"entered"===e&&pU.entered),style:pd({pointerEvents:"all",overflow:"hidden",minHeight:"0px",transition:pF("height")},"entered"===e&&{overflow:"visible"},{},"exited"===e&&!o&&{visibility:"hidden"})},t),(0,M.createElement)("div",{ref:l,className:pV,style:{display:"flex",width:"100%"}},n))})});
112pq.displayName="Collapse";var pG={right:"left",left:"right",bottom:"up",top:"down"},pY=function(e){void 0===e&&(e={});var t={containerRoot:!0,containerAnchorOriginTopCenter:!0,containerAnchorOriginBottomCenter:!0,containerAnchorOriginTopRight:!0,containerAnchorOriginBottomRight:!0,containerAnchorOriginTopLeft:!0,containerAnchorOriginBottomLeft:!0};return Object.keys(e).filter(function(e){return!t[e]}).reduce(function(t,n){var o;return pd({},t,((o={})[n]=e[n],o))},{})},pZ=function(){};function pK(e,t){return e.reduce(function(e,n){return null==n?e:function(){for(var o=arguments.length,i=Array(o),l=0;l<o;l++)i[l]=arguments[l];var s=[].concat(i);t&&-1===s.indexOf(t)&&s.push(t),e.apply(this,s),n.apply(this,s)}},pZ)}var pQ="u">typeof window?M.useLayoutEffect:M.useEffect;function pX(e){var t=(0,M.useRef)(e);return pQ(function(){t.current=e}),(0,M.useCallback)(function(){return t.current.apply(void 0,arguments)},[])}var pJ=(0,M.forwardRef)(function(e,t){var n=e.children,o=e.className,i=e.autoHideDuration,l=e.disableWindowBlurListener,s=void 0!==l&&l,u=e.onClose,c=e.id,d=e.open,f=e.SnackbarProps,h=void 0===f?{}:f,p=(0,M.useRef)(),m=pX(function(){u&&u.apply(void 0,arguments)}),g=pX(function(e){u&&null!=e&&(p.current&&clearTimeout(p.current),p.current=setTimeout(function(){m(null,"timeout",c)},e))});(0,M.useEffect)(function(){return d&&g(i),function(){p.current&&clearTimeout(p.current)}},[d,i,g]);var v=function(){p.current&&clearTimeout(p.current)},y=(0,M.useCallback)(function(){null!=i&&g(.5*i)},[i,g]);return(0,M.useEffect)(function(){if(!s&&d)return window.addEventListener("focus",y),window.addEventListener("blur",v),function(){window.removeEventListener("focus",y),window.removeEventListener("blur",v)}},[s,y,d]),(0,M.createElement)("div",Object.assign({ref:t},h,{className:h8("notistack-Snackbar",o),onMouseEnter:function(e){h.onMouseEnter&&h.onMouseEnter(e),v()},onMouseLeave:function(e){h.onMouseLeave&&h.onMouseLeave(e),y()}}),n)});pJ.displayName="Snackbar";var p1,p0,p2,p3,p5,p4,p6,p7,p8,p9,me=pW({root:((p9={display:"flex",flexWrap:"wrap",flexGrow:1})[py]={flexGrow:"initial",minWidth:"288px"},p9)}),mt=(0,M.forwardRef)(function(e,t){var n=e.className,o=ph(e,["className"]);return M.createElement("div",Object.assign({ref:t,className:h8(me.root,n)},o))});mt.displayName="SnackbarContent";var mr=pW({root:{backgroundColor:"#313131",fontSize:"0.875rem",lineHeight:1.43,letterSpacing:"0.01071em",color:"#fff",alignItems:"center",padding:"6px 16px",borderRadius:"4px",boxShadow:"0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"},lessPadding:{paddingLeft:"20px"},default:{backgroundColor:"#313131"},success:{backgroundColor:"#43a047"},error:{backgroundColor:"#d32f2f"},warning:{backgroundColor:"#ff9800"},info:{backgroundColor:"#2196f3"},message:{display:"flex",alignItems:"center",padding:"8px 0"},action:{display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:"16px",marginRight:"-8px"}}),mn="notistack-snackbar",ma=(0,M.forwardRef)(function(e,t){var n=e.id,o=e.message,i=e.action,l=e.iconVariant,s=e.variant,u=e.hideIconVariant,c=e.style,d=e.className,f=l[s],h=i;return"function"==typeof h&&(h=h(n)),M.createElement(mt,{ref:t,role:"alert","aria-describedby":mn,style:c,className:h8("notistack-MuiContent","notistack-MuiContent-"+s,mr.root,mr[s],d,!u&&f&&mr.lessPadding)},M.createElement("div",{id:mn,className:mr.message},u?null:f,o),h&&M.createElement("div",{className:mr.action},h))});ma.displayName="MaterialDesignContent";var mo,mi,ml,ms,mu,mc,md=(0,M.memo)(ma),mf=pW({wrappedRoot:{width:"100%",position:"relative",transform:"translateX(0)",top:0,right:0,bottom:0,left:0,minWidth:"288px"}}),mh=function(e){var t,n=(0,M.useRef)(),o=(0,M.useState)(!0),i=o[0],l=o[1],s=pK([e.snack.onClose,e.onClose]),u=(0,M.useCallback)(function(){n.current=setTimeout(function(){l(function(e){return!e})},125)},[]);(0,M.useEffect)(function(){return function(){n.current&&clearTimeout(n.current)}},[]);var c=e.snack,d=e.classes,f=e.Component,h=(0,M.useMemo)(function(){return pY(d)},[d]),p=c.open,m=c.SnackbarProps,g=c.TransitionComponent,v=c.TransitionProps,y=c.transitionDuration,b=c.disableWindowBlurListener,w=c.content,x=ph(c,["open","SnackbarProps","TransitionComponent","TransitionProps","transitionDuration","disableWindowBlurListener","content","entered","requestClose","onEnter","onEntered","onExit","onExited"]),E=pd({direction:"center"!==(t=x.anchorOrigin).horizontal?pG[t.horizontal]:pG[t.vertical],timeout:y},v),C=w;"function"==typeof C&&(C=C(x.id,x.message));var k=["onEnter","onEntered","onExit","onExited"].reduce(function(t,n){var o;return pd({},t,((o={})[n]=pK([e.snack[n],e[n]],x.id),o))},{});return M.createElement(pq,{in:i,onExited:k.onExited},M.createElement(pJ,{open:p,id:x.id,disableWindowBlurListener:b,autoHideDuration:x.autoHideDuration,className:h8(mf.wrappedRoot,h.root,h["anchorOrigin"+pw(x.anchorOrigin)]),SnackbarProps:m,onClose:s},M.createElement(g,Object.assign({},E,{appear:!0,in:p,onExit:k.onExit,onExited:u,onEnter:k.onEnter,onEntered:pK([k.onEntered,function(){e.snack.requestClose&&s(null,"instructed",e.snack.id)}],x.id)}),C||M.createElement(void 0===f?md:f,Object.assign({},x)))))},mp="."+pV,mm=pW({root:((mo={boxSizing:"border-box",display:"flex",maxHeight:"100%",position:"fixed",zIndex:1400,height:"auto",width:"auto",transition:pF(["top","right","bottom","left","max-width"],{duration:300,easing:"ease"}),pointerEvents:"none"})[mp]={padding:"6px 0px",transition:"padding 300ms ease 0ms"},mo.maxWidth="calc(100% - 40px)",mo[pv]={width:"100%",maxWidth:"calc(100% - 32px)"},mo),rootDense:((mi={})[mp]={padding:"2px 0px"},mi),top:{top:"14px",flexDirection:"column"},bottom:{bottom:"14px",flexDirection:"column-reverse"},left:((ml={left:"20px"})[py]={alignItems:"flex-start"},ml[pv]={left:"16px"},ml),right:((ms={right:"20px"})[py]={alignItems:"flex-end"},ms[pv]={right:"16px"},ms),center:((mu={left:"50%",transform:"translateX(-50%)"})[py]={alignItems:"center"},mu)}),mg=(0,M.memo)(function(e){var t=e.classes,n=void 0===t?{}:t,o=e.anchorOrigin,i=e.dense,l=e.children,s=h8("notistack-SnackbarContainer",mm[o.vertical],mm[o.horizontal],mm.root,n.containerRoot,n["containerAnchorOrigin"+pw(o)],i&&mm.rootDense);return M.createElement("div",{className:s},l)}),mv=function(e){return!("string"==typeof e||(0,M.isValidElement)(e))},my=function(e){function t(t){var n;return(n=e.call(this,t)||this).enqueueSnackbar=function(e,t){if(void 0===t&&(t={}
112),null==e)throw Error("enqueueSnackbar called with invalid argument");var o,i=mv(e)?e:t,l=mv(e)?e.message:e,s=i.key,u=i.preventDuplicate,c=ph(i,["key","preventDuplicate"]),d=px(s),f=d?s:new Date().getTime()+Math.random(),h=(o=n.props,function(e,t){return void 0===t&&(t=!1),t?pd({},pI[e],{},o[e],{},c[e]):"autoHideDuration"===e?pH(c.autoHideDuration,o.autoHideDuration):"transitionDuration"===e?pB(c.transitionDuration,o.transitionDuration):c[e]||o[e]||pI[e]}),p=pd({id:f},c,{message:l,open:!0,entered:!1,requestClose:!1,persist:h("persist"),action:h("action"),content:h("content"),variant:h("variant"),anchorOrigin:h("anchorOrigin"),disableWindowBlurListener:h("disableWindowBlurListener"),autoHideDuration:h("autoHideDuration"),hideIconVariant:h("hideIconVariant"),TransitionComponent:h("TransitionComponent"),transitionDuration:h("transitionDuration"),TransitionProps:h("TransitionProps",!0),iconVariant:h("iconVariant",!0),style:h("style",!0),SnackbarProps:h("SnackbarProps",!0),className:h8(n.props.className,c.className)});return p.persist&&(p.autoHideDuration=void 0),n.setState(function(e){if(void 0===u&&n.props.preventDuplicate||u){var t=function(e){return d?e.id===f:e.message===l},o=e.queue.findIndex(t)>-1,i=e.snacks.findIndex(t)>-1;if(o||i)return e}return n.handleDisplaySnack(pd({},e,{queue:[].concat(e.queue,[p])}))}),f},n.handleDisplaySnack=function(e){return e.snacks.length>=n.maxSnack?n.handleDismissOldest(e):n.processQueue(e)},n.processQueue=function(e){var t=e.queue,n=e.snacks;return t.length>0?pd({},e,{snacks:[].concat(n,[t[0]]),queue:t.slice(1,t.length)}):e},n.handleDismissOldest=function(e){if(e.snacks.some(function(e){return!e.open||e.requestClose}))return e;var t=!1,o=!1;e.snacks.reduce(function(e,t){return e+(t.open&&t.persist?1:0)},0)===n.maxSnack&&(o=!0);var i=e.snacks.map(function(e){return t||e.persist&&!o?pd({},e):(t=!0,e.entered?(e.onClose&&e.onClose(null,"maxsnack",e.id),n.props.onClose&&n.props.onClose(null,"maxsnack",e.id),pd({},e,{open:!1})):pd({},e,{requestClose:!0}))});return pd({},e,{snacks:i})},n.handleEnteredSnack=function(e,t,o){if(!px(o))throw Error("handleEnteredSnack Cannot be called with undefined key");n.setState(function(e){return{snacks:e.snacks.map(function(e){return e.id===o?pd({},e,{entered:!0}):pd({},e)})}})},n.handleCloseSnack=function(e,t,o){n.props.onClose&&n.props.onClose(e,t,o);var i=void 0===o;n.setState(function(e){var t=e.snacks,n=e.queue;return{snacks:t.map(function(e){return i||e.id===o?e.entered?pd({},e,{open:!1}):pd({},e,{requestClose:!0}):pd({},e)}),queue:n.filter(function(e){return e.id!==o})}})},n.closeSnackbar=function(e){var t=n.state.snacks.find(function(t){return t.id===e});px(e)&&t&&t.onClose&&t.onClose(null,"instructed",e),n.handleCloseSnack(null,"instructed",e)},n.handleExitedSnack=function(e,t){if(!px(t))throw Error("handleExitedSnack Cannot be called with undefined key");n.setState(function(e){var o=n.processQueue(pd({},e,{snacks:e.snacks.filter(function(e){return e.id!==t})}));return 0===o.queue.length?o:n.handleDismissOldest(o)})},mc=n.enqueueSnackbar,n.closeSnackbar,n.state={snacks:[],queue:[],contextValue:{enqueueSnackbar:n.enqueueSnackbar.bind(pp(n)),closeSnackbar:n.closeSnackbar.bind(pp(n))}},n}return pf(t,e),t.prototype.render=function(){var e=this,t=this.state.contextValue,n=this.props,o=n.domRoot,i=n.children,l=n.dense,s=void 0!==l&&l,u=n.Components,c=void 0===u?{}:u,d=n.classes,f=this.state.snacks.reduce(function(e,t){var n,o=pw(t.anchorOrigin),i=e[o]||[];return pd({},e,((n={})[o]=[].concat(i,[t]),n))},{}),h=Object.keys(f).map(function(t){var n=f[t],o=n[0];return M.createElement(mg,{key:t,dense:s,anchorOrigin:o.anchorOrigin,classes:d},n.map(function(t){return M.createElement(mh,{key:t.id,snack:t,classes:d,Component:c[t.variant],onClose:e.handleCloseSnack,onEnter:e.props.onEnter,onExit:e.props.onExit,onExited:pK([e.handleExitedSnack,e.props.onExited],t.id),onEntered:pK([e.handleEnteredSnack,e.props.onEntered],t.id)})}))});return M.createElement(pg.Provider,{value:t},i,o?(0,j.createPortal)(h,o):h)},pc(t,[{key:"maxSnack",get:function(){return this.props.maxSnack||pI.maxSnack}}]),t}(M.Component);function mb(e,t){let n="",o="",{showToast:i=!0}=t??{};console.error({error:e}),e instanceof hv&&(n=e.message,o=e.getAllErrors()),i&&(n||o)&&mc(`${n}${o?` - ${o}`:""}`,{autoHideDuration:3e3,variant:"error",anchorOrigin:{horizontal:"right",vertical:"top"}})}let mw=(e,t,n,o)=>{let{type:i,tickets:l,message:s}=e;if("sold_out_lot"===i)return{showSoldOutModal:!1,soldOutLot:!0,unavailableTickets:t.filter(e=>l?.includes(e.id.toString())).map(e=>e.name).join(", ")||null,availableTickets:null,errorMessage:null};if("sold_out_tickets"===i){let e=t.filter(e=>l?.includes(e.id.toString())).map(e=>e.name).join(", "),o=Object.entries(n).reduce((e,[t,n])=>{let o=Number(t.split("-")[0]);return e[o]=(e[o]||0)+n,e},{}),i=t.some(e=>!l?.includes(e.id.toString())&&o[e.id]>0);if(!e){let n=t.filter(e=>1===e.is_passport);n.length>0&&(e=n.map(e=>e.name).join(", "))}return{showSoldOutModal:!0,soldOutLot:!1,unavailableTickets:e,availableTickets:i,errorMessage:null}}return{showSoldOutModal:!1,soldOutLot:!1,unavailableTickets:null,availableTickets:null,errorMessage:"reach_ticket_by_document"===i?`${o("Event.purchaseLimitReached")} ${l?.join(", ")}.`:e instanceof hv&&s||o("Event.purchaseError")}};function mx(e){let t=Object.prototype.toString.call(e);return e instanceof Date||"object"==typeof e&&"[object Date]"===t?new e.constructor(+e):new Date("number"==typeof e||"[object Number]"===t||"string"==typeof e||"[object String]"===t?e:NaN)}function mE(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function mC(e,t){let n=mx(e);return isNaN(t)?mE(e,NaN):(t&&n.setDate(n.getDate()+t),n)}let mk={};function mM(e,t){let n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??mk.weekStartsOn??mk.locale?.options?.weekStartsOn??0,o=mx(e),i=o.getDay();return o.setDate(o.getDate()-((i<n?7:0)+i-n)),o.setHours(0,0,0,0),o}function m_(e){return mM(e,{weekStartsOn:1}
112)}function mS(e){let t=mx(e),n=t.getFullYear(),o=mE(e,0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);let i=m_(o),l=mE(e,0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);let s=m_(l);return t.getTime()>=i.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function mj(e){let t=mx(e);return t.setHours(0,0,0,0),t}function mO(e){let t=mx(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function mL(e,t){let n=mx(e),o=mx(t),i=n.getTime()-o.getTime();return i<0?-1:i>0?1:i}function mA(e){return(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)||"number"==typeof e)&&!isNaN(Number(mx(e)))}let mT={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function mP(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let mN={date:mP({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:mP({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:mP({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},mF={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function mR(e){return(t,n)=>{let o;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;o=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;o=e.values[i]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function m$(e){return(t,n={})=>{let o;let i=n.width,l=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(l);if(!s)return null;let u=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(c,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(c,e=>e.test(u));return o=e.valueCallback?e.valueCallback(d):d,{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(u.length)}}}function mD(e){return(t,n={})=>{let o=t.match(e.matchPattern);if(!o)return null;let i=o[0],l=t.match(e.parsePattern);if(!l)return null;let s=e.valueCallback?e.valueCallback(l[0]):l[0];return{value:s=n.valueCallback?n.valueCallback(s):s,rest:t.slice(i.length)}}}let mz={code:"en-US",formatDistance:(e,t,n)=>{let o;let i=mT[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:mN,formatRelative:(e,t,n,o)=>mF[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:mR({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:mR({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:mR({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:mR({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
112ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:mR({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:mD({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:m$({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:m$({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:m$({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:m$({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:m$({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function mI(e){let t=mx(e);return Math.round((+m_(t)-+function(e){let t=mS(e),n=mE(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),m_(n)}(t))/6048e5)+1}function mH(e,t){let n=mx(e),o=n.getFullYear(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??mk.firstWeekContainsDate??mk.locale?.options?.firstWeekContainsDate??1,l=mE(e,0);l.setFullYear(o+1,0,i),l.setHours(0,0,0,0);let s=mM(l,t),u=mE(e,0);u.setFullYear(o,0,i),u.setHours(0,0,0,0);let c=mM(u,t);return n.getTime()>=s.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}function mB(e,t){let n=mx(e);return Math.round((+mM(n,t)-+function(e,t){let n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??mk.firstWeekContainsDate??mk.locale?.options?.firstWeekContainsDate??1,o=mH(e,t),i=mE(e,0);return i.setFullYear(o,0,n),i.setHours(0,0,0,0),mM(i,t)}(n,t))/6048e5)+1}function mW(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let mV={y(e,t){let n=e.getFullYear(),o=n>0?n:1-n;return mW("yy"===t?o%100:o,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):mW(n+1,2)},d:(e,t)=>mW(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>mW(e.getHours()%12||12,t.length),H:(e,t)=>mW(e.getHours(),t.length),m:(e,t)=>
112mW(e.getMinutes(),t.length),s:(e,t)=>mW(e.getSeconds(),t.length),S(e,t){let n=t.length;return mW(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},mU={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},mq={G:function(e,t,n){let o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return mV.y(e,t)},Y:function(e,t,n,o){let i=mH(e,o),l=i>0?i:1-i;return"YY"===t?mW(l%100,2):"Yo"===t?n.ordinalNumber(l,{unit:"year"}):mW(l,t.length)},R:function(e,t){return mW(mS(e),t.length)},u:function(e,t){return mW(e.getFullYear(),t.length)},Q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return mW(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return mW(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){let o=e.getMonth();switch(t){case"M":case"MM":return mV.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){let o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return mW(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){let i=mB(e,o);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):mW(i,t.length)},I:function(e,t,n){let o=mI(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):mW(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):mV.d(e,t)},D:function(e,t,n){let o=function(e){let t=mx(e);return function(e,t){let n=mj(e),o=mj(t);return Math.round((+n-mO(n)-(+o-mO(o)))/864e5)}(t,function(e){let t=mx(e),n=mE(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}(t))+1}(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):mW(o,t.length)},E:function(e,t,n){let o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(l);case"ee":return mW(l,2);case"eo":return n.ordinalNumber(l,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(l);case"cc":return mW(l,t.length);case"co":return n.ordinalNumber(l,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let o=e.getDay(),i=0===o?7:o;switch(t){case"i":return String(i);case"ii":return mW(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){let o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){let o;let i=e.getHours();switch(o=12===i?mU.noon:0===i?mU.midnight:i/12>
112=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){let o;let i=e.getHours();switch(o=i>=17?mU.evening:i>=12?mU.afternoon:i>=4?mU.morning:mU.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return mV.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):mV.H(e,t)},K:function(e,t,n){let o=e.getHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):mW(o,t.length)},k:function(e,t,n){let o=e.getHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):mW(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):mV.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):mV.s(e,t)},S:function(e,t){return mV.S(e,t)},X:function(e,t,n){let o=e.getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return mY(o);case"XXXX":case"XX":return mZ(o);default:return mZ(o,":")}},x:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"x":return mY(o);case"xxxx":case"xx":return mZ(o);default:return mZ(o,":")}},O:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+mG(o,":");default:return"GMT"+mZ(o,":")}},z:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+mG(o,":");default:return"GMT"+mZ(o,":")}},t:function(e,t,n){return mW(Math.trunc(e.getTime()/1e3),t.length)},T:function(e,t,n){return mW(e.getTime(),t.length)}};function mG(e,t=""){let n=e>0?"-":"+",o=Math.abs(e),i=Math.trunc(o/60),l=o%60;return 0===l?n+String(i):n+String(i)+t+mW(l,2)}function mY(e,t){return e%60==0?(e>0?"-":"+")+mW(Math.abs(e)/60,2):mZ(e,t)}function mZ(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+mW(Math.trunc(n/60),2)+t+mW(n%60,2)}let mK=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},mQ=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},mX={p:mQ,P:(e,t)=>{let n;let o=e.match(/(P+)(p+)?/)||[],i=o[1],l=o[2];if(!l)return mK(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",mK(i,t)).replace("{{time}}",mQ(l,t))}},mJ=/^D+$/,m1=/^Y+$/,m0=["D","DD","YY","YYYY"];function m2(e,t,n){let o=function(e,t,n){let o="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(o),m0.includes(e))throw RangeError(o)}let m3=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,m5=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,m4=/^'([^]*?)'?$/,m6=/''/g,m7=/[a-zA-Z]/;function m8(e,t,n){let o=n?.locale??mk.locale??mz,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??mk.firstWeekContainsDate??mk.locale?.options?.firstWeekContainsDate??1,l=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??mk.weekStartsOn??mk.locale?.options?.weekStartsOn??0,s=mx(e);if(!mA(s))throw RangeError("Invalid time value");let u=t.match(m5).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,mX[t])(e,o.formatLong):e}).join("").match(m3).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(m4);return t?t[1].replace(m6,"'"):e}(e)};if(mq[t])return{isToken:!0,value:e};
112if(t.match(m7))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});o.localize.preprocessor&&(u=o.localize.preprocessor(s,u));let c={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return u.map(i=>{if(!i.isToken)return i.value;let l=i.value;return(!n?.useAdditionalWeekYearTokens&&m1.test(l)||!n?.useAdditionalDayOfYearTokens&&mJ.test(l))&&m2(l,t,String(e)),(0,mq[l[0]])(s,l,o.localize,c)}).join("")}function m9(e,t){return+mx(e)<+mx(t)}class ge{subPriority=0;validate(e,t){return!0}}class gt extends ge{constructor(e,t,n,o,i){super(),this.value=e,this.validateValue=t,this.setValue=n,this.priority=o,i&&(this.subPriority=i)}validate(e,t){return this.validateValue(e,this.value,t)}set(e,t,n){return this.setValue(e,t,this.value,n)}}class gr extends ge{priority=10;subPriority=-1;set(e,t){return t.timestampIsSet?e:mE(e,function(e,t){let n=t instanceof Date?mE(t,0):new t(0);return n.setFullYear(e.getFullYear(),e.getMonth(),e.getDate()),n.setHours(e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()),n}(e,Date))}}class gn{run(e,t,n,o){let i=this.parse(e,t,n,o);return i?{setter:new gt(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}validate(e,t,n){return!0}}class ga extends gn{priority=140;parse(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}set(e,t,n){return t.era=n,e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["R","u","t","T"]}let go={month:/^(1[0-2]|0?\d)/,date:/^(3[0-1]|[0-2]?\d)/,dayOfYear:/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,week:/^(5[0-3]|[0-4]?\d)/,hour23h:/^(2[0-3]|[0-1]?\d)/,hour24h:/^(2[0-4]|[0-1]?\d)/,hour11h:/^(1[0-1]|0?\d)/,hour12h:/^(1[0-2]|0?\d)/,minute:/^[0-5]?\d/,second:/^[0-5]?\d/,singleDigit:/^\d/,twoDigits:/^\d{1,2}/,threeDigits:/^\d{1,3}/,fourDigits:/^\d{1,4}/,anyDigitsSigned:/^-?\d+/,singleDigitSigned:/^-?\d/,twoDigitsSigned:/^-?\d{1,2}/,threeDigitsSigned:/^-?\d{1,3}/,fourDigitsSigned:/^-?\d{1,4}/},gi={basicOptionalMinutes:/^([+-])(\d{2})(\d{2})?|Z/,basic:/^([+-])(\d{2})(\d{2})|Z/,basicOptionalSeconds:/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,extended:/^([+-])(\d{2}):(\d{2})|Z/,extendedOptionalSeconds:/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/};function gl(e,t){return e&&{value:t(e.value),rest:e.rest}}function gs(e,t){let n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function gu(e,t){let n=t.match(e);if(!n)return null;if("Z"===n[0])return{value:0,rest:t.slice(1)};let o="+"===n[1]?1:-1;return{value:o*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+(n[5]?parseInt(n[5],10):0)*1e3),rest:t.slice(n[0].length)}}function gc(e){return gs(go.anyDigitsSigned,e)}function gd(e,t){switch(e){case 1:return gs(go.singleDigit,t);case 2:return gs(go.twoDigits,t);case 3:return gs(go.threeDigits,t);case 4:return gs(go.fourDigits,t);default:return gs(RegExp("^\\d{1,"+e+"}"),t)}}function gf(e,t){switch(e){case 1:return gs(go.singleDigitSigned,t);case 2:return gs(go.twoDigitsSigned,t);case 3:return gs(go.threeDigitsSigned,t);case 4:return gs(go.fourDigitsSigned,t);default:return gs(RegExp("^-?\\d{1,"+e+"}"),t)}}function gh(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function gp(e,t){let n;let o=t>0,i=o?t:1-t;if(i<=50)n=e||100;else{let t=i+50;n=e+100*Math.trunc(t/100)-(e>=t%100?100:0)}return o?n:1-n}function gm(e){return e%400==0||e%4==0&&e%100!=0}class gg extends gn{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(e,t,n){let o=e=>({year:e,isTwoDigitYear:"yy"===t});switch(t){case"y":return gl(gd(4,e),o);case"yo":return gl(n.ordinalNumber(e,{unit:"year"}),o);default:return gl(gd(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n){let o=e.getFullYear();if(n.isTwoDigitYear){let t=gp(n.year,o);return e.setFullYear(t,0,1),e.setHours(0,0,0,0),e}let i="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(i,0,1),e.setHours(0,0,0,0),e}}class gv extends gn{priority=130;parse(e,t,n){let o=e=>({year:e,isTwoDigitYear:"YY"===t});switch(t){case"Y":return gl(gd(4,e),o);case"Yo":return gl(n.ordinalNumber(e,{unit:"year"}),o);default:return gl(gd(t.length,e),o)}}validate(e,t){return t.isTwoDigitYear||t.year>0}set(e,t,n,o){let i=mH(e,o);if(n.isTwoDigitYear){let t=gp(n.year,i);return e.setFullYear(t,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),mM(e,o)}let l="era"in t&&1!==t.era?1-n.year:n.year;return e.setFullYear(l,0,o.firstWeekContainsDate),e.setHours(0,0,0,0),mM(e,o)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class gy extends gn{priority=130;parse(e,t){return gf("R"===t?4:t.length,e)}set(e,t,n){let o=mE(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),m_(o)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class gb extends gn{priority=130;parse(e,t){return gf("u"===t?4:t.length,e)}set(e,t,n){return e.setFullYear(n,0,1),e.setHours(0,0,0,0),e}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class gw extends gn{priority=120;parse(e,t,n){switch(t){case"Q":case"QQ":return gd(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class gx extends gn{priority=120;parse(e,t,n){switch(t){case"q":case"qq":return gd(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=1&&t<=4}set(e,t,n){return e.setMonth((n-1)*3,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class gE extends gn{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(e,t,n){let o=e=>e-1;switch(t){case"M":return gl(gs(go.month,e),o);case"MM":return gl(gd(2,e),o);case"Mo":return gl(n.ordinalNumber(e,{unit:"month"}),o);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}}class gC extends gn{priority=110;parse(e,t,n){let o=e=>e-1;switch(t){case"L":return gl(gs(go.month,e),o);case"LL":return gl(gd(2,e),o);case"Lo":return gl(n.ordinalNumber(e,{unit:"month"}),o);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.setMonth(n,1),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}class gk extends gn{priority=100;parse(e,t,n){switch(t){case"w":return gs(go.week,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return gd(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n,o){return mM(function(e,t,n){let o=mx(e),i=mB(o,n)-t;return o.setDate(o.getDate()-7*i),o}(e,n,o),o)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}class gM extends gn{priority=100;parse(e,t,n){switch(t){case"I":return gs(go.week,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return gd(t.length,e)}}validate(e,t){return t>=1&&t<=53}set(e,t,n){return m_(function(e,t){let n=mx(e),o=mI(n)-t;return n.setDate(n.getDate()-7*o),n}(e,n))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}let g_=[31,28,31,30,31,30,31,31,30,31,30,31],gS=[31,29,31,30,31,30,31,31,30,31,30,31];class gj extends gn{priority=90;subPriority=1;parse(e,t,n){switch(t){case"d":return gs(go.date,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return gd(t.length,e)}}validate(e,t){let n=gm(e.getFullYear()),o=e.getMonth();return n?t>=1&&t<=gS[o]:t>=1&&t<=g_[o]}set(e,t,n){return e.setDate(n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class gO extends gn{priority=90;subpriority=1;parse(e,t,n){switch(t){case"D":case"DD":return gs(go.dayOfYear,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return gd(t.length,e)}}validate(e,t){return gm(e.getFullYear())?t>=1&&t<=366:t>=1&&t<=365}set(e,t,n){return e.setMonth(0,n),e.setHours(0,0,0,0),e}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function gL(e,t,n){let o=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??mk.weekStartsOn??mk.locale?.options?.weekStartsOn??0,i=mx(e),l=i.getDay(),s=7-o;return mC(i,t<0||t>6?t-(l+s)%7:((t%7+7)%7+s)%7-(l+s)%7)}class gA extends gn{priority=90;parse(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gL(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["D","i","e","c","t","T"]}class gT extends gn{priority=90;parse(e,t,n,o){let i=e=>(e+o.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"e":case"ee":return gl(gd(t.length,e),i);case"eo":return gl(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gL(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class gP extends gn{priority=90;parse(e,t,n,o){let i=e=>(e+o.weekStartsOn+6)%7+7*Math.floor((e-1)/7);switch(t){case"c":case"cc":return gl(gd(t.length,e),i);case"co":return gl(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}validate(e,t){return t>=0&&t<=6}set(e,t,n,o){return(e=gL(e,n,o)).setHours(0,0,0,0),e}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}class gN extends gn{priority=90;parse(e,t,n){let o=e=>0===e?7:e;switch(t){case"i":case"ii":return gd(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return gl(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiii":return gl(n.day(e,{width:"narrow",context:"formatting"}),o);case"iiiiii":return gl(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o);default:return gl(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),o)}}validate(e,t){return t>=1&&t<=7}set(e,t,n){return(e=function(e,t){let n;let o=mx(e),i=(0===(n=mx(o).getDay())&&(n=7),n);return mC(o,t-i)}(e,n)).setHours(0,0,0,0),e}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class gF extends gn{priority=80;parse(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(gh(n),0,0,0),e}incompatibleTokens=["b","B","H","k","t","T"]}class gR extends gn{priority=80;
112parse(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(gh(n),0,0,0),e}incompatibleTokens=["a","B","H","k","t","T"]}class g$ extends gn{priority=80;parse(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}set(e,t,n){return e.setHours(gh(n),0,0,0),e}incompatibleTokens=["a","b","t","T"]}class gD extends gn{priority=70;parse(e,t,n){switch(t){case"h":return gs(go.hour12h,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return gd(t.length,e)}}validate(e,t){return t>=1&&t<=12}set(e,t,n){let o=e.getHours()>=12;return o&&n<12?e.setHours(n+12,0,0,0):o||12!==n?e.setHours(n,0,0,0):e.setHours(0,0,0,0),e}incompatibleTokens=["H","K","k","t","T"]}class gz extends gn{priority=70;parse(e,t,n){switch(t){case"H":return gs(go.hour23h,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return gd(t.length,e)}}validate(e,t){return t>=0&&t<=23}set(e,t,n){return e.setHours(n,0,0,0),e}incompatibleTokens=["a","b","h","K","k","t","T"]}class gI extends gn{priority=70;parse(e,t,n){switch(t){case"K":return gs(go.hour11h,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return gd(t.length,e)}}validate(e,t){return t>=0&&t<=11}set(e,t,n){return e.getHours()>=12&&n<12?e.setHours(n+12,0,0,0):e.setHours(n,0,0,0),e}incompatibleTokens=["h","H","k","t","T"]}class gH extends gn{priority=70;parse(e,t,n){switch(t){case"k":return gs(go.hour24h,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return gd(t.length,e)}}validate(e,t){return t>=1&&t<=24}set(e,t,n){return e.setHours(n<=24?n%24:n,0,0,0),e}incompatibleTokens=["a","b","h","H","K","t","T"]}class gB extends gn{priority=60;parse(e,t,n){switch(t){case"m":return gs(go.minute,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return gd(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setMinutes(n,0,0),e}incompatibleTokens=["t","T"]}class gW extends gn{priority=50;parse(e,t,n){switch(t){case"s":return gs(go.second,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return gd(t.length,e)}}validate(e,t){return t>=0&&t<=59}set(e,t,n){return e.setSeconds(n,0),e}incompatibleTokens=["t","T"]}class gV extends gn{priority=30;parse(e,t){return gl(gd(t.length,e),e=>Math.trunc(e*Math.pow(10,-t.length+3)))}set(e,t,n){return e.setMilliseconds(n),e}incompatibleTokens=["t","T"]}class gU extends gn{priority=10;parse(e,t){switch(t){case"X":return gu(gi.basicOptionalMinutes,e);case"XX":return gu(gi.basic,e);case"XXXX":return gu(gi.basicOptionalSeconds,e);case"XXXXX":return gu(gi.extendedOptionalSeconds,e);default:return gu(gi.extended,e)}}set(e,t,n){return t.timestampIsSet?e:mE(e,e.getTime()-mO(e)-n)}incompatibleTokens=["t","T","x"]}class gq extends gn{priority=10;parse(e,t){switch(t){case"x":return gu(gi.basicOptionalMinutes,e);case"xx":return gu(gi.basic,e);case"xxxx":return gu(gi.basicOptionalSeconds,e);case"xxxxx":return gu(gi.extendedOptionalSeconds,e);default:return gu(gi.extended,e)}}set(e,t,n){return t.timestampIsSet?e:mE(e,e.getTime()-mO(e)-n)}incompatibleTokens=["t","T","X"]}class gG extends gn{priority=40;parse(e){return gc(e)}set(e,t,n){return[mE(e,1e3*n),{timestampIsSet:!0}]}incompatibleTokens="*"}class gY extends gn{priority=20;parse(e){return gc(e)}
112set(e,t,n){return[mE(e,n),{timestampIsSet:!0}]}incompatibleTokens="*"}let gZ={G:new ga,y:new gg,Y:new gv,R:new gy,u:new gb,Q:new gw,q:new gx,M:new gE,L:new gC,w:new gk,I:new gM,d:new gj,D:new gO,E:new gA,e:new gT,c:new gP,i:new gN,a:new gF,b:new gR,B:new g$,h:new gD,H:new gz,K:new gI,k:new gH,m:new gB,s:new gW,S:new gV,X:new gU,x:new gq,t:new gG,T:new gY},gK=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,gQ=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gX=/^'([^]*?)'?$/,gJ=/''/g,g1=/\S/,g0=/[a-zA-Z]/;function g2(e,t,n,o){let i=Object.assign({},mk),l=i.locale??mz,s=i.firstWeekContainsDate??i.locale?.options?.firstWeekContainsDate??1,u=i.weekStartsOn??i.locale?.options?.weekStartsOn??0;if(""===t)return""===e?mx(n):mE(n,NaN);let c={firstWeekContainsDate:s,weekStartsOn:u,locale:l},d=[new gr],f=t.match(gQ).map(e=>{let t=e[0];return t in mX?(0,mX[t])(e,l.formatLong):e}).join("").match(gK),h=[];for(let o of f){var p,m;p=o,m1.test(p)&&m2(o,t,e),m=o,mJ.test(m)&&m2(o,t,e);let i=o[0],s=gZ[i];if(s){let{incompatibleTokens:t}=s;if(Array.isArray(t)){let e=h.find(e=>t.includes(e.token)||e.token===i);if(e)throw RangeError(`The format string mustn't contain \`${e.fullToken}\` and \`${o}\` at the same time`)}else if("*"===s.incompatibleTokens&&h.length>0)throw RangeError(`The format string mustn't contain \`${o}\` and any other token at the same time`);h.push({token:i,fullToken:o});let u=s.run(e,o,l.match,c);if(!u)return mE(n,NaN);d.push(u.setter),e=u.rest}else{if(i.match(g0))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===o?o="'":"'"===i&&(o=o.match(gX)[1].replace(gJ,"'")),0!==e.indexOf(o))return mE(n,NaN);e=e.slice(o.length)}}if(e.length>0&&g1.test(e))return mE(n,NaN);let g=d.map(e=>e.priority).sort((e,t)=>t-e).filter((e,t,n)=>n.indexOf(e)===t).map(e=>d.filter(t=>t.priority===e).sort((e,t)=>t.subPriority-e.subPriority)).map(e=>e[0]),v=mx(n);if(isNaN(v.getTime()))return mE(n,NaN);let y={};for(let e of g){if(!e.validate(v,c))return mE(n,NaN);let t=e.set(v,y,c);Array.isArray(t)?(v=t[0],Object.assign(y,t[1])):v=t}return mE(n,v)}let g3={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},g5=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,g4=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,g6=/^([+-])(\d{2})(?::?(\d{2}))?$/;function g7(e){return e?parseInt(e):1}function g8(e){return e&&parseFloat(e.replace(",","."))||0}let g9=[31,null,31,30,31,30,31,31,30,31,30,31];function ve(e){return e%400==0||e%4==0&&e%100!=0}function vt(e,t){return function(e,t){let n=mx(e);if(isNaN(-120))return mE(e,NaN);let o=n.getDate(),i=mE(e,n.getTime());return i.setMonth(n.getMonth()+-120+1,0),o>=i.getDate()?i:(n.setFullYear(i.getFullYear(),i.getMonth(),o),n)}(e,-120)}function vr({date:e,pattern:t="dd/MM/yyyy",options:n}){let o;if(!e)return"--";if("string"==typeof e){if(!mA(o=function(e,t){let n;let o=function(e){let t;let n={},o=e.split(g3.dateTimeDelimiter);if(o.length>2)return n;if(/:/.test(o[0])?t=o[0]:(n.date=o[0],t=o[1],g3.timeZoneDelimiter.test(n.date)&&(n.date=e.split(g3.timeZoneDelimiter)[0],t=e.substr(n.date.length,e.length))),t){let e=g3.timezone.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(o.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{6})|(\\d{2}|[+-]\\d{4})$)"),o=e.match(n);if(!o)return{year:NaN,restDateString:""};let i=o[1]?parseInt(o[1]):null,l=o[2]?parseInt(o[2]):null;return{year:null===l?i:100*l,restDateString:e.slice((o[1]||o[2]).length)}}(o.date,2);n=function(e,t){if(null===t)return new Date(NaN);let n=e.match(g5);if(!n)return new Date(NaN);let o=!!n[4],i=g7(n[1]),l=g7(n[2])-1,s=g7(n[3]),u=g7(n[4]),c=g7(n[5])-1;if(o)return u>=1&&u<=53&&c>=0&&c<=6?function(e,t,n){let o=new Date(0);o.setUTCFullYear(e,0,4);let i=o.getUTCDay()||7;return o.setUTCDate(o.getUTCDate()+((t-1)*7+n+1-i)),o}(t,u,c):new Date(NaN);{let e=new Date(0);return l>=0&&l<=11&&s>=1&&s<=(g9[l]||(ve(t)?29:28))&&i>=1&&i<=(ve(t)?366:365)?(e.setUTCFullYear(t,l,Math.max(i,s)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);let i=n.getTime(),l=0,s;if(o.time&&isNaN(l=function(e){let t=e.match(g4);if(!t)return NaN;let n=g8(t[1]),o=g8(t[2]),i=g8(t[3]);return(24===n?0===o&&0===i:i>=0&&i<60&&o>=0&&o<60&&n>=0&&n<25)?36e5*n+6e4*o+1e3*i:NaN}(o.time)))return new Date(NaN);if(o.timezone){if(isNaN(s=function(e){if("Z"===e)return 0;let t=e.match(g6);if(!t)return 0;let n="+"===t[1]?-1:1,o=parseInt(t[2]),i=t[3]&&parseInt(t[3])||0;return i>=0&&i<=59?n*(36e5*o+6e4*i):NaN}(o.timezone)))return new Date(NaN)}else{let e=new Date(i+l),t=new Date(0);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return new Date(i+l+s)}(e)))return console.error(`Error: Invalid ISO 8601 string. ISO String: ${e}`),""}else if(!mA(o=e))return console.error(`Error: Invalid date object. Date: ${e.toString()}`),"";try{return m8(o,t,n)}catch(e){return console.error(`Error: Unable to format date. Date: ${o.toString()}, Pattern: ${t}, Error: ${e}`),""}}
112function vn(e,t,n){let o=new Date(e);return o.setUTCHours(12,0,0,0),m8(o,t,{locale:n}).replace(/\b([a-zà -ú])/,e=>e.toUpperCase()).replace(/(\sde\s)([a-zà -ú])/,(e,t,n)=>t+n.toUpperCase())}function va(e){if(!e)return null;let t=new Date(e),n=new Intl.DateTimeFormat("pt-BR",{day:"2-digit"}).format(t),o=new Intl.DateTimeFormat("pt-BR",{month:"long"}).format(t),i=new Intl.DateTimeFormat("pt-BR",{year:"numeric"}).format(t),l=new Intl.DateTimeFormat("pt-BR",{hour:"2-digit",minute:"2-digit"}).format(t),s=`${o.charAt(0).toUpperCase()}${o.slice(1)}`;return`${n} de ${s} de ${i} \xe0s ${l.replace(":","h")}`}function vo(e){let t=e.match(/([+-])(\d{2}):(\d{2})$/);if(!t)return"";let[,n,o,i]=t;return"00"!==i?`GMT${n}${o}:${i}`:`GMT${n}${o}`}function vi(e,t){let n=new Date(e),o=new Date(t),i=vo(e);return`${m8(n,"HH:mm")}-${m8(o,"HH:mm")} ${i}`}function vl(e){let t=e.match(/([+-])(\d{2}):(\d{2})$/);if(!t)return null;let[,n,o,i]=t,l=60*parseInt(o,10)+parseInt(i,10);return"+"===n?l:-l}function vs(e,t){if(!e)return"-";let n=g2(e.replace("T"," ").slice(0,19),"yyyy-MM-dd HH:mm:ss",new Date);return mA(n)?m8(n,"en-US"===t?"MM/dd/yyyy HH:mm":"dd/MM/yyyy HH:mm"):"-"}function vu(e,t){if(!e.start_date)return"-";if(2===e.version&&e.orders?.length){let n=new Set;if(e.orders.forEach(e=>{e.tickets?.forEach(e=>{e.session?.start_date&&n.add(e.session.start_date)})}),n.size>0)return Array.from(n).sort().map(e=>vs(e,t)).join(", ")}return vs(e.start_date,t)}let vc=new Map;function vd(e,t="BRL"){let n=Number(e);return(vc.has(t)||vc.set(t,new Intl.NumberFormat("pt-BR",{style:"currency",currency:t})),vc.get(t)).format(n)}function vf({url:e,params:t=null,fallback:n="",defaultUrl:o=""}){let i=e;try{if(i&&h2(i)||(i=n),i&&h2(i)||(i=o),!h2(i))return o;let e={bucket:"superticket-assets",key:new URL(i).pathname.substring(1)};return t&&Object.keys(t).length>0&&(e.edits=t),`https://assets.superticket.com.br/${T.from(JSON.stringify(e)).toString("base64")}`}catch(e){return console.error({err:e,url:i}),o}}var vh={},vp={},vm={},vg={},vv={};function vy(e,t,n=!1){return t?Object.keys(e).filter(e=>n?!t.includes(e):t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}):{}}function vb(e,t,n,o){let i=o&&Object.keys(o).length>0?new URL(Object.values(o)[0],e):new URL(e);return t&&n&&t.forEach(e=>{n[e]&&i.searchParams.set(e,n[e])}),i.toString()}function vw(e,t,n,o,i){var l;if(!t)return`<${e}></${e}>`;let s=!(null===(l=t.src)||void 0===l)&&l.url?Object.assign(Object.assign({},t),{src:vb(t.src.url,t.src.params,o,i)}):t,u=Object.keys(Object.assign(Object.assign({},s),n)).reduce((e,t)=>{let o=n?.[t],i=s[t],l=o??i,u=!0===l?t:`${t}="${l}"`;return l?e+` ${u}`:e},"");return`<${e}${u}></${e}>`}
112Object.defineProperty(vv,"__esModule",{value:!0}),vv.formatData=vv.createHtml=vv.formatUrl=void 0,vv.formatUrl=vb,vv.createHtml=vw,vv.formatData=function(e,t){var n,o,i,l,s;let u=vy(t,null===(n=e.scripts)||void 0===n?void 0:n.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),c=vy(t,null===(i=null===(o=e.html)||void 0===o?void 0:o.attributes.src)||void 0===i?void 0:i.params),d=vy(t,[null===(s=null===(l=e.html)||void 0===l?void 0:l.attributes.src)||void 0===s?void 0:s.slugParam]),f=vy(t,[...Object.keys(u),...Object.keys(c),...Object.keys(d)],!0);return Object.assign(Object.assign({},e),{html:e.html?vw(e.html.element,e.html.attributes,f,c,d):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:vb(e.url,e.params,u)})):null})};var vx=P&&P.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n},vE=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vg,"__esModule",{value:!0}),vg.GoogleAnalytics=void 0;let vC=vE({id:"google-analytics",description:"Install a Google Analytics tag on your website",website:"https://analytics.google.com/analytics/web/",scripts:[{url:"https://www.googletagmanager.com/gtag/js",params:["id"],strategy:"worker",location:"head",action:"append"},{code:"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag('js',new Date());gtag('config','${args.id}')",strategy:"worker",location:"head",action:"append"}]});vg.GoogleAnalytics=e=>{var t=vx(e,[]);return(0,vv.formatData)(vC.default,t)};var vk={},vM=P&&P.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n},v_=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vk,"__esModule",{value:!0}),vk.GoogleMapsEmbed=void 0;let vS=v_({id:"google-maps-embed",description:"Embed a Google Maps embed on your webpage",website:"https://developers.google.com/maps/documentation/embed/get-started",html:{element:"iframe",attributes:{loading:"lazy",src:{url:"https://www.google.com/maps/embed/v1/place",slugParam:"mode",params:["key","q","center","zoom","maptype","language","region"]},referrerpolicy:"no-referrer-when-downgrade",frameborder:"0",style:"border:0",allowfullscreen:!0,width:null,height:null}}});vk.GoogleMapsEmbed=e=>{var t=vM(e,[]);return(0,vv.formatData)(vS.default,t)};var vj={},vO=P&&P.__rest||function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n},vL=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vj,"__esModule",{value:!0}),vj.YouTubeEmbed=void 0;let vA=vL({id:"youtube-embed",description:"Embed a YouTube embed on your webpage.",website:"https://github.com/paulirish/lite-youtube-embed",html:{element:"lite-youtube",attributes:{videoid:null,playlabel:null}},stylesheets:["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],scripts:[{url:"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js",strategy:"idle",location:"head",action:"append"}]});vj.YouTubeEmbed=e=>{var t=vO(e,[]);return(0,vv.formatData)(vA.default,t)},Object.defineProperty(vm,"__esModule",{value:!0}),vm.YouTubeEmbed=vm.GoogleMapsEmbed=vm.GoogleAnalytics=void 0,Object.defineProperty(vm,"GoogleAnalytics",{enumerable:!0,get:function(){return vg.GoogleAnalytics}}),Object.defineProperty(vm,"GoogleMapsEmbed",{enumerable:!0,get:function(){return vk.GoogleMapsEmbed}}),Object.defineProperty(vm,"YouTubeEmbed",{enumerable:!0,get:function(){return vj.YouTubeEmbed}});var vT={};
112Object.defineProperty(vT,"__esModule",{value:!0}),vT.default=function({html:e,height:t=null,width:n=null,children:o,dataNtpc:i=""}){return(0,M.useEffect)(()=>{i&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${i}`}})},[i]),(0,$.jsxs)($.Fragment,{children:[o,e?(0,$.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":i,dangerouslySetInnerHTML:{__html:e}}):null]})};var vP=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vp,"__esModule",{value:!0});let vN=vP(vT);vp.default=function(e){let{apiKey:t,...n}=e,o={...n,key:t},{html:i}=(0,vm.GoogleMapsEmbed)(o);return(0,$.jsx)(vN.default,{height:o.height||null,width:o.width||null,html:i,dataNtpc:"GoogleMapsEmbed"})};var vF,vR={},v$={exports:{}},vD={};function vz(){return vF||(vF=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"HeadManagerContext",{enumerable:!0,get:function(){return t}});let t=ux._(M).default.createContext({})}(vD)),vD}var vI,vH={exports:{}};!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},handleClientScriptLoad:function(){return p},initScriptLoader:function(){return m}});let n=ux._(j),o=uF._(M),i=vz(),l=(vI||(vI=1,function(e,t){let n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DOMAttributeNames:function(){return o},default:function(){return s},isEqualNode:function(){return l}});let o={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function i(e){let{type:t,props:n}=e,i=document.createElement(t);for(let e in n){if(!n.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===n[e])continue;let l=o[e]||e.toLowerCase();"script"===t&&("async"===l||"defer"===l||"noModule"===l)?i[l]=!!n[e]:i.setAttribute(l,n[e])}let{children:l,dangerouslySetInnerHTML:s}=n;return s?i.innerHTML=s.__html||"":l&&(i.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):""),i}function l(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){let o=t.cloneNode(!0);return o.setAttribute("nonce",""),o.nonce=n,n===e.nonce&&e.isEqualNode(o)}}return e.isEqualNode(t)}function s(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let n=t[e.type]||[];n.push(e),t[e.type]=n});let o=t.title?t.title[0]:null,i="";if(o){let{children:e}=o.props;i="string"==typeof e?e:Array.isArray(e)?e.join(""):""}i!==document.title&&(document.title=i),["meta","base","link","style","script"].forEach(e=>{n(e,t[e]||[])})}}}n=(e,t)=>{let n=document.getElementsByTagName("head")[0],o=n.querySelector("meta[name=next-head-count]"),s=Number(o.content),u=[];for(let t=0,n=o.previousElementSibling;t<s;t++,n=n?.previousElementSibling||null){var c;(null==n||null==(c=n.tagName)?void 0:c.toLowerCase())===e&&u.push(n)}let d=t.map(i).filter(e=>{for(let t=0,n=u.length;t<n;t++)if(l(u[t],e))return u.splice(t,1),!1;return!0});u.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),d.forEach(e=>n.insertBefore(e,o)),o.content=(s-u.length+d.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(vH,vH.exports)),vH.exports),s=cR(),u=new Map,c=new Set,d=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],f=e=>{if(n.default.preinit){e.forEach(e=>{n.default.preinit(e,{as:"style"})});return}if("u">typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}},h=e=>{let{src:t,id:n,onLoad:o=()=>{},onReady:i=null,dangerouslySetInnerHTML:s,children:h="",strategy:p="afterInteractive",onError:m,stylesheets:g}=e,v=n||t;if(v&&c.has(v))return;if(u.has(t)){c.add(v),u.get(t).then(o,m);return}let y=()=>{i&&i(),c.add(v)},b=document.createElement("script"),w=new Promise((e,t)=>
112{b.addEventListener("load",function(t){e(),o&&o.call(this,t),y()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){m&&m(e)});for(let[n,o]of(s?(b.innerHTML=s.__html||"",y()):h?(b.textContent="string"==typeof h?h:Array.isArray(h)?h.join(""):"",y()):t&&(b.src=t,u.set(t,w)),Object.entries(e))){if(void 0===o||d.includes(n))continue;let e=l.DOMAttributeNames[n]||n.toLowerCase();b.setAttribute(e,o)}"worker"===p&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",p),g&&f(g),document.body.appendChild(b)};function p(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))}):h(e)}function m(e){e.forEach(p),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");c.add(t)})}function g(e){let{id:t,src:l="",onLoad:u=()=>{},onReady:d=null,strategy:f="afterInteractive",onError:p,stylesheets:m,...g}=e,{updateScripts:v,scripts:y,getIsSsr:b,appDir:w,nonce:x}=(0,o.useContext)(i.HeadManagerContext),E=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let e=t||l;E.current||(d&&e&&c.has(e)&&d(),E.current=!0)},[d,t,l]);let C=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{C.current||("afterInteractive"===f?h(e):"lazyOnload"===f&&("complete"===document.readyState?(0,s.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,s.requestIdleCallback)(()=>h(e))})),C.current=!0)},[e,f]),("beforeInteractive"===f||"worker"===f)&&(v?(y[f]=(y[f]||[]).concat([{id:t,src:l,onLoad:u,onReady:d,onError:p,...g}]),v(y)):b&&b()?c.add(t||l):b&&!b()&&h(e)),w){if(m&&m.forEach(e=>{n.default.preinit(e,{as:"style"})}),"beforeInteractive"===f)return l?(n.default.preload(l,g.integrity?{as:"script",integrity:g.integrity,nonce:x,crossOrigin:g.crossOrigin}:{as:"script",nonce:x,crossOrigin:g.crossOrigin}),(0,$.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([l,{...g,id:t}])+")"}})):(g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,$.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...g,id:t}])+")"}}));"afterInteractive"===f&&l&&n.default.preload(l,g.integrity?{as:"script",integrity:g.integrity,nonce:x,crossOrigin:g.crossOrigin}:{as:"script",nonce:x,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let v=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(v$,v$.exports);var vB=v$.exports;let vW=N(vB);var vV=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vR,"__esModule",{value:!0});let vU=vV(vB),vq=vV(vT),vG={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"};vR.default=function(e){let{html:t,scripts:n,stylesheets:o}=(0,vm.YouTubeEmbed)(e);return(0,$.jsx)(vq.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:n?.map(e=>$.jsx(vU.default,{src:e.url,strategy:vG[e.strategy],stylesheets:o},e.url))})};var vY={},vZ=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vY,"__esModule",{value:!0}),vY.sendGTMEvent=vY.GoogleTagManager=void 0;let vK=vZ(vB),vQ="dataLayer";vY.GoogleTagManager=function(e){let{gtmId:t,dataLayerName:n="dataLayer",auth:o,preview:i,dataLayer:l}=e;vQ=n;let s="dataLayer"!==n?`&l=${n}`:"",u=o?`>m_auth=${o}`:"",c=i?`>m_preview=${i}>m_cookies_win=x`:"";return(0,M.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(vK.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 113 (function(w,l){ 114 w[l]=w[l]||[]; 115 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 116 ${l?`w[l].push(${JSON.stringify(l)})`:""} 117 })(window,'${n}');`}}),(0,$.jsx)(vK.default,{id:"_next-gtm","data-ntpc":"GTM",src:`https://www.googletagmanager.com/gtm.js?id=${t}${s}${u}${c}`})]})},vY.sendGTMEvent=(e,t)=>
117{let n=t||vQ;window[n]=window[n]||[],window[n].push(e)};var vX={},vJ=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vX,"__esModule",{value:!0}),vX.sendGAEvent=vX.GoogleAnalytics=void 0;let v1=vJ(vB);vX.GoogleAnalytics=function(e){let{gaId:t,dataLayerName:n="dataLayer"}=e;return void 0===o&&(o=n),(0,M.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(v1.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 118 window['${n}'] = window['${n}'] || []; 119 function gtag(){window['${n}'].push(arguments);} 120 gtag('js', new Date()); 121 122 gtag('config', '${t}');`}}),(0,$.jsx)(v1.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?id=${t}`})]})},vX.sendGAEvent=function(...e){if(void 0===o){console.warn("@next/third-parties: GA has not been initialized");return}window[o]?window[o].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${o} does not exist`)},j7=P&&P.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Object.defineProperty(vh,"__esModule",{value:!0}),vh.sendGAEvent=vh.GoogleAnalytics=vh.sendGTMEvent=vh.GoogleTagManager=vh.YouTubeEmbed=vh.GoogleMapsEmbed=void 0,Object.defineProperty(vh,"GoogleMapsEmbed",{enumerable:!0,get:function(){return j7(vp).default}}),Object.defineProperty(vh,"YouTubeEmbed",{enumerable:!0,get:function(){return j7(vR).default}}),Object.defineProperty(vh,"GoogleTagManager",{enumerable:!0,get:function(){return vY.GoogleTagManager}}),Object.defineProperty(vh,"sendGTMEvent",{enumerable:!0,get:function(){return vY.sendGTMEvent}}),Object.defineProperty(vh,"GoogleAnalytics",{enumerable:!0,get:function(){return vX.GoogleAnalytics}}),Object.defineProperty(vh,"sendGAEvent",{enumerable:!0,get:function(){return vX.sendGAEvent}});let v0=new Set;function v2({id:e="ga-init",gaId:t,nonce:n,debugMode:o=!1}){if(!t){console.warn("GA ID is not defined");return}return v0.add(t),$.jsxs($.Fragment,{children:[$.jsx(vW,{id:e,dangerouslySetInnerHTML:{__html:` 123 window.dataLayer = window.dataLayer || []; 124 if (!window.gtag) { 125 function gtag(){window.dataLayer.push(arguments);} 126 window.gtag = gtag; 127 gtag('js', new Date()); 128 } 129 gtag('config', '${t}' ${o?",{ 'debug_mode': true }":""});`},nonce:n}),$.jsx(vW,{id:`gtag-init-${e}`,src:`https://www.googletagmanager.com/gtag/js?id=${t}`,nonce:n})]})}function v3(e,t={}){v0.size>0&&(window.gtag("event",e,{...t,send_to:Array.from(v0)}),v0.forEach(n=>{let o=`dataLayer-${n}`;window[o]&&window[o].push({event:e,...t})}))}let v5="G-D8P7L43EW6",v4="GTM-TW2LQWXP",v6=(e,t={})=>{v3(e,{...t,is_new_mktplace:!0})},v7=e=>{let t={...e,is_new_mktplace:!0};vh.sendGTMEvent(t)};function v8(e,t){if(!e)return"";let n=e.replace(/<(style|script)[\s\S]*?<\/\1>/gi,"").replace(/<[^>]*>?/gm,"").replace(/ /g," ").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/\s\s+/g," ").trim();return t&&n.length>t?`${n.substring(0,t-3)}...`:n}function v9(e){return({Acre:"AC",Alagoas:"AL",Amapá:"AP",Amazonas:"AM",Bahia:"BA",Ceará:"CE","Distrito Federal":"DF","Esp\xedrito Santo":"ES",Goiás:"GO",Maranhão:"MA","Mato Grosso":"MT","Mato Grosso do Sul":"MS","Minas Gerais":"MG",Pará:"PA",ParaÃba:"PB",Paraná:"PR",Pernambuco:"PE",PiauÃ:"PI","Rio de Janeiro":"RJ","Rio Grande do Norte":"RN","Rio Grande do Sul":"RS",Rondônia:"RO",Roraima:"RR","Santa Catarina":"SC","S\xe3o Paulo":"SP",Sergipe:"SE",Tocantins:"TO"})[e]||null}let ye={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 d\xeda",other:"{{count}} d\xedas"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 a\xf1o",other:"alrededor de {{count}} a\xf1os"},xYears:{one:"1 a\xf1o",other:"{{count}} a\xf1os"},overXYears:{one:"m\xe1s de 1 a\xf1o",other:"m\xe1s de {{count}} a\xf1os"},almostXYears:{one:"casi 1 a\xf1o",other:"casi {{count}} a\xf1os"}},yt={date:mP({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:mP({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:mP({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},yr={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'ma\xf1ana a la' p",nextWeek:"eeee 'a la' p",other:"P"},yn={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'ma\xf1ana a las' p",nextWeek:"eeee 'a las' p",other:"P"},ya={code:"es",formatDistance:(e,t,n)=>{let o;let i=ye[e];
vendor: 5,731 bytes, line 129
129return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o},formatLong:yt,formatRelative:(e,t,n,o)=>1!==t.getHours()?yn[e]:yr[e],localize:{ordinalNumber:(e,t)=>Number(e)+"\xba",era:mR({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","despu\xe9s de cristo"]},defaultWidth:"wide"}),quarter:mR({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:mR({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:mR({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","s\xe1"],abbreviated:["dom","lun","mar","mi\xe9","jue","vie","s\xe1b"],wide:["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:mR({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"ma\xf1ana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la ma\xf1ana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:mD({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:m$({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:m$({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:m$({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:m$({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:m$({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}},yo={lessThanXSeconds:{one:"menos de um segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"meio minuto",lessThanXMinutes:{one:"menos de um minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"cerca de 1 hora",other:"cerca de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 dia",other:"{{count}} dias"},aboutXWeeks:{one:"cerca de 1 semana",other:"cerca de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"cerca de 1 m\xeas",other:"cerca de {{count}} meses"},xMonths:{one:"1 m\xeas",other:"{{count}} meses"},aboutXYears:{one:"cerca de 1 ano",other:"cerca de {{count}} anos"},xYears:{one:"1 ano",other:"{{count}} anos"},overXYears:{one:"mais de 1 ano",other:"mais de {{count}} anos"},almostXYears:{one:"quase 1 ano",other:"quase {{count}} anos"}},yi={date:mP({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:mP({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:mP({formats:{full:"{{date}} '\xe0s' {{time}}",long:"{{date}} '\xe0s' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},yl={lastWeek:e=>{let t=e.getDay();return"'"+(0===t||6===t?"\xfaltimo":"\xfaltima")+"' eeee '\xe0s' p"},yesterday:"'ontem \xe0s' p",today:"'hoje \xe0s' p",tomorrow:"'amanh\xe3 \xe0s' p",nextWeek:"eeee '\xe0s' p",other:"P"},ys={code:"pt-BR",formatDistance:(e,t,n)=>{let o;let i=yo[e];
129return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),n?.addSuffix?n.comparison&&n.comparison>0?"em "+o:"h\xe1 "+o:o},formatLong:yi,formatRelative:(e,t,n,o)=>{let i=yl[e];return"function"==typeof i?i(t):i},localize:{ordinalNumber:(e,t)=>{let n=Number(e);return t?.unit==="week"?n+"\xaa":n+"\xba"},era:mR({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","depois de cristo"]},defaultWidth:"wide"}),quarter:mR({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1\xba trimestre","2\xba trimestre","3\xba trimestre","4\xba trimestre"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:mR({values:{narrow:["j","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez"],wide:["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},defaultWidth:"wide"}),day:mR({values:{narrow:["D","S","T","Q","Q","S","S"],short:["dom","seg","ter","qua","qui","sex","sab"],abbreviated:["domingo","segunda","ter\xe7a","quarta","quinta","sexta","s\xe1bado"],wide:["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"]},defaultWidth:"wide"}),dayPeriod:mR({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"manh\xe3",afternoon:"tarde",evening:"tarde",night:"noite"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},abbreviated:{am:"AM",pm:"PM",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"},wide:{am:"a.m.",pm:"p.m.",midnight:"meia-noite",noon:"meio-dia",morning:"da manh\xe3",afternoon:"da tarde",evening:"da tarde",night:"da noite"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:mD({matchPattern:/^(\d+)[ºªo]?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:m$({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|d\.?\s?c\.?)/i,wide:/^(antes de cristo|depois de cristo)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^antes de cristo/i,/^depois de cristo/i]},defaultParseWidth:"any"}),quarter:m$({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:m$({matchPatterns:{narrow:/^[jfmajsond]/i,abbreviated:/^(jan|fev|mar|abr|mai|jun|jul|ago|set|out|nov|dez)/i,wide:/^(janeiro|fevereiro|março|abril|maio|junho|julho|agosto|setembro|outubro|novembro|dezembro)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^fev/i,/^mar/i,/^abr/i,/^mai/i,/^jun/i,/^jul/i,/^ago/i,/^set/i,/^out/i,/^nov/i,/^dez/i]},defaultParseWidth:"any"}),day:m$({matchPatterns:{narrow:/^(dom|[23456]ª?|s[aá]b)/i,short:/^(dom|[23456]ª?|s[aá]b)/i,abbreviated:/^(dom|seg|ter|qua|qui|sex|s[aá]b)/i,wide:/^(domingo|(segunda|ter[cç]a|quarta|quinta|sexta)([- ]feira)?|s[aá]bado)/i},defaultMatchWidth:"wide",parsePatterns:{short:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],narrow:[/^d/i,/^2/i,/^3/i,/^4/i,/^5/i,/^6/i,/^s[aá]/i],any:[/^d/i,/^seg/i,/^t/i,/^qua/i,/^qui/i,/^sex/i,/^s[aá]b/i]},defaultParseWidth:"any"}),dayPeriod:m$({matchPatterns:{narrow:/^(a|p|mn|md|(da) (manhã|tarde|noite))/i,any:/^([ap]\.?\s?m\.?|meia[-\s]noite|meio[-\s]dia|(d
129a) (manhã|tarde|noite))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn|^meia[-\s]noite/i,noon:/^md|^meio[-\s]dia/i,morning:/manhã/i,afternoon:/tarde/i,evening:/tarde/i,night:/noite/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},yu={"en-US":mz,"pt-BR":ys,"es-ES":ya},yc=e=>({ativo:"EventScheduled",encerrado:"EventScheduled",adiado:"EventPostponed",cancelado:"EventCancelled",offline:"EventCancelled"})[e],yd=e=>({"@context":"https://schema.org","@type":"ItemList",name:"Highlight Events",numberOfItems:e.length,itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,image:e.thumb}))}),yf=(e,t)=>({"@context":"https://schema.org","@type":"SearchResultsPage",name:`Search: '${t}'`,breadcrumb:{"@type":"BreadcrumbList",itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@id":`https://zig.tickets/eventos/${e.slug}`,name:e.name,image:e.thumb}}))}}),yh=(e,t,n,o)=>({"@context":"https://schema.org","@type":"CollectionPage",name:t,creator:"Zig fun",url:`https://zig.tickets/categorias/${e}`,description:`Encontre ingressos, bares, restaurantes e eventos de ${t} na Zig, seja no Brasil ou no mundo.`,thumbnailUrl:n,hasPart:o.map(e=>({"@id":`https://zig.tickets/eventos/${e.slug}`,"@type":"WebPage"})),inLanguage:[{"@type":"Language",name:t,description:`Find tickets, bars, restaurants, and ${t} events on Zig, whether in Brazil or around the world.`,alternateName:"en",sameAs:`https://zig.tickets/en-US/categorias/${e}`},{"@type":"Language",name:t,description:`Encuentra entradas, bares, restaurantes y eventos de ${t} en Zig, ya sea en Brasil o en el mundo`,alternateName:"es",sameAs:`https://zig.tickets/es-ES/categorias/${e}`}],potentialAction:{"@type":"SearchAction",target:"https://zig.tickets/eventos?search={search_term}",query:"required name=search_term"}}),yp=e=>({"@context":"https://schema.org","@graph":e.map(e=>({"@id":`https://zig.tickets/eventos/${e.slug}`,"@type":"Event",name:e.name,image:e.thumb,description:e.description??void 0,startDate:vr({date:e.start_date,pattern:"yyyy-MM-dd"}),endDate:vr({date:e.end_date,pattern:"yyyy-MM-dd"}),eventStatus:yc(e.event_status),eventAttendanceMode:e.is_online?"OnlineEventAttendanceMode":"OfflineEventAttendanceMode",location:e.is_online?{"@type":"VirtualLocation",url:e.link_other}:e.event_location?.name}))}),ym=(e,t,n)=>({"@context":"https://schema.org","@type":"Organization",name:e.name,url:`https://zig.tickets/organizacoes/${n}`,logo:e.logo??void 0,image:e.banner??void 0,event:t.map(e=>({"@type":"Event",name:e.name,startDate:e.start_date,endDate:e.end_date,eventStatus:yc(e.event_status),location:e.event_location?.name||"N\xe3o informado",image:e.thumb,description:e.description??void 0,url:`https://zig.tickets/eventos/${e.slug}`}))});function yg({locale:e,options:t}){c1.setCookie(du.lastLocale,e,t)}let yv=/[^\w\s-]+/g,yy=/\s+/g,yb=/-+/g,yw=e=>e.toLowerCase().trim().replace(yv,"").replace(yy,"-").replace(yb,"-");function yx(e){return e?e.replace(/\D/g,"").replace(/^(\d{3})(\d)/,"$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/,"$1.$2.$3").replace(/^(\d{3})\.(\d{3})\.(\d{3})(\d{1,2})$/,"$1.$2.$3-$4"):""}function yE(e){if(!e)return"";let t=e.replace(/\D/g,"");if(e.trim().startsWith("+")&&!t.startsWith("55"))return e;let n=(t.startsWith("55")&&[12,13].includes(t.length)?t.slice(2):t).match(/^(\d{2})(\d{4,5})(\d{4})$/);if(!n)return e;let[,o,i,l]=n;return`+55 ${o} ${i}-${l}`}class yC{#e;#t;constructor(e,t){if("function"!=typeof e)throw Error("The global 'zE' method was not inserted properly. Make sure to include the Zendesk script in your HTML file.");this.#e=e,this.#t=t}async show(){if(this.#e)try{await new Promise(e=>{setTimeout(e,1500)}),this.#e("messenger","show"),this.#e("messenger:set","zIndex",9999),this.#e("messenger:set","locale",this.#t)}catch(e){console.error(e)}}hide(){this.#e&&this.#e("messenger","hide")}changeLocale(e){this.#e&&this.#e("messenger:set","locale",e||"pt-BR")}open(){if(this.#e)try{this.#e("messenger","show"),this.#e("messenger","open")}catch(e){console.error(e)}}close(){if(this.#e)try{this.#e("messenger","close")}catch(e){console.error(e)}}}let yk="719186675869084",yM=()=>{window.fbq("track","PageView")},y_=(e,t)=>{window.fbq("track",e,t)},yS=(e,t,n)=>{window.fbq("trackSingle",e,t,n)},yj=(e,t)=>{window.fbq("trackCustom",e,t)}
129,yO=(e,t,n)=>{window.fbq("trackSingle",e,t,n)},yL=e=>{window.fbq("init",e)},yA=(e,t)=>t?.date?.id&&t?.time?.id?`ticket_type_id-${e}-date_id-${t.date?.id}-time_id-${t.time?.id}`:`ticket_type_id-${e}-no_session`;function yT({code:e,orderId:t,issuedAt:n}){let o=n??Date.now();return T.from(`${e}$${t}$${o}`).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}let yP=e=>!!e?.document&&!!e?.email&&!!e?.telephone&&!!e?.birthdate,yN=[{code:"AF",dialCode:"93"},{code:"ZA",dialCode:"27"},{code:"AL",dialCode:"355"},{code:"DE",dialCode:"49"},{code:"AD",dialCode:"376"},{code:"AO",dialCode:"244"},{code:"AI",dialCode:"1264"},{code:"AQ",dialCode:"672"},{code:"AG",dialCode:"1268"},{code:"SA",dialCode:"966"},{code:"DZ",dialCode:"213"},{code:"AR",dialCode:"54"},{code:"AM",dialCode:"374"},{code:"AW",dialCode:"297"},{code:"AU",dialCode:"61"},{code:"AT",dialCode:"43"},{code:"AZ",dialCode:"994"},{code:"BS",dialCode:"1242"},{code:"BH",dialCode:"973"},{code:"BD",dialCode:"880"},{code:"BB",dialCode:"1246"},{code:"BE",dialCode:"32"},{code:"BZ",dialCode:"501"},{code:"BJ",dialCode:"229"},{code:"BM",dialCode:"1441"},{code:"BY",dialCode:"375"},{code:"BO",dialCode:"591"},{code:"BA",dialCode:"387"},{code:"BW",dialCode:"267"},{code:"BN",dialCode:"673"},{code:"BG",dialCode:"359"},{code:"BF",dialCode:"226"},{code:"BI",dialCode:"257"},{code:"BT",dialCode:"975"},{code:"BR",dialCode:"55"},{code:"CV",dialCode:"238"},{code:"KH",dialCode:"855"},{code:"CM",dialCode:"237"},{code:"CA",dialCode:"1"},{code:"QA",dialCode:"974"},{code:"KZ",dialCode:"7"},{code:"TD",dialCode:"235"},{code:"CL",dialCode:"56"},{code:"CN",dialCode:"86"},{code:"CY",dialCode:"357"},{code:"SG",dialCode:"65"},{code:"CO",dialCode:"57"},{code:"KM",dialCode:"269"},{code:"CG",dialCode:"242"},{code:"CD",dialCode:"243"},{code:"KP",dialCode:"850"},{code:"KR",dialCode:"82"},{code:"CI",dialCode:"225"},{code:"CR",dialCode:"506"},{code:"HR",dialCode:"385"},{code:"CU",dialCode:"53"},{code:"CW",dialCode:"599"},{code:"DK",dialCode:"45"},{code:"DJ",dialCode:"253"},{code:"DM",dialCode:"1767"},{code:"EG",dialCode:"20"},{code:"SV",dialCode:"503"},{code:"AE",dialCode:"971"},{code:"EC",dialCode:"593"},{code:"ER",dialCode:"291"},{code:"SK",dialCode:"421"},{code:"SI",dialCode:"386"},{code:"ES",dialCode:"34"},{code:"US",dialCode:"1"},{code:"EE",dialCode:"372"},{code:"ET",dialCode:"251"},{code:"FJ",dialCode:"679"},{code:"PH",dialCode:"63"},{code:"FI",dialCode:"358"},{code:"FR",dialCode:"33"},{code:"GA",dialCode:"241"},{code:"GM",dialCode:"220"},{code:"GH",dialCode:"233"},{code:"GE",dialCode:"995"},{code:"GI",dialCode:"350"},{code:"GD",dialCode:"1473"},{code:"GR",dialCode:"30"},{code:"GL",dialCode:"299"},{code:"GP",dialCode:"590"},{code:"GU",dialCode:"1671"},{code:"GT",dialCode:"502"},{code:"GG",dialCode:"44"},{code:"GY",dialCode:"592"},{code:"GF",dialCode:"594"},{code:"GN",dialCode:"224"},{code:"GQ",dialCode:"240"},{code:"GW",dialCode:"245"},{code:"HT",dialCode:"509"},{code:"NL",dialCode:"31"},{code:"HN",dialCode:"504"},{code:"HK",dialCode:"852"},{code:"HU",dialCode:"36"},{code:"YE",dialCode:"967"},{code:"BV",dialCode:"47"},{code:"IM",dialCode:"44"},{code:"CX",dialCode:"61"},{code:"NF",dialCode:"672"},{code:"AX",dialCode:"358"},{code:"KY",dialCode:"1345"},{code:"CC",dialCode:"61"},{code:"CK",dialCode:"682"},{code:"FO",dialCode:"298"},{code:"GS",dialCode:"500"},{code:"HM",dialCode:"672"},{code:"FK",dialCode:"500"},{code:"MP",dialCode:"1670"},{code:"MH",dialCode:"692"},{code:"UM",dialCode:"1"},{code:"PN",dialCode:"64"},{code:"SB",dialCode:"677"},{code:"TC",dialCode:"1649"},{code:"VI",dialCode:"1340"},{code:"VG",dialCode:"1284"},{code:"IN",dialCode:"91"},{code:"ID",dialCode:"62"},{code:"IR",dialCode:"98"},{code:"IQ",dialCode:"964"},{code:"IE",dialCode:"353"},{code:"IS",dialCode:"354"},{code:"IL",dialCode:"972"},{code:"IT",dialCode:"39"},{code:"JM",dialCode:"1876"},{code:"JP",dialCode:"81"},{code:"JE",dialCode:"44"},{code:"JO",dialCode:"962"},{code:"KW",dialCode:"965"},{code:"LA",dialCode:"856"},{code:"LS",dialCode:"266"},{code:"LV",dialCode:"371"},{code:"LB",dialCode:"961"},{code:"LR",dialCode:"231"},{code:"LY",dialCode:"218"},{code:"LI",dialCode:"423"},{code:"LT",dialCode:"370"},{code:"LU",dialCode:"352"},{code:"MO",dialCode:"853"},{code:"MK",dialCode:"389"},{code:"MG",dialCode:"261"},{code:"MY",dialCode:"60"},{code:"MW",dialCode:"265"},{code:"MV",dialCode:"960"},{code:"ML",dialCode:"223"},{code:"MT",dialCode:"356"},{code:"MA",dialCode:"212"},{code:"MQ",dialCode:"596"},{code:"MU",dialCode:"230"},{code:"MR",dialCode:"222"},{code:"YT",dialCode:"262"},{code:"MX",dialCode:"52"},{code:"FM",dialCode:"691"},{code:"MZ",dialCode:"258"},{code:"MD",dialCode:"373"},{code:"MC",dialCode:"377"},{code:"MN",dialCode:"976"},{code:"ME",dialCode:"382"},{code:"MS",dialCode:"1664"},{code:"MM",dialCode:"95"},{code:"NA",dialCode:"264"},{code:"NR",dialCode:"674"},{code:"NP",dialCode:"977"},{code:"NI",dialCode:"505"},{code:"NE",dialCode:"227"},{code:"NG",dialCode:"234"},{code:"NU",dialCode:"683"},{code:"NO",dialCode:"47"},{code:"NC",dialCode:"687"},{code:"NZ",dialCode:"64"},{code:"OM",dialCode:"968"},{code:"BQ",dialCode:"599"},{code:"PA",dialCode:"507"},{code:"PG",dialCode:"675"},{code:"PK",dialCode:"92"},{code:"PY",dialCode:"595"},{code:"PE",dialCode:"51"},{code:"PF",dialCode:"689"},{code:"PL",dialCode:"48"},{code:"PR",dialCode:"1787"},{code:"PT",dialCode:"351"},{code:"KE",dialCode:"254"},{code:"KG",dialCode:"996"},{code:"KI",dialCode:"686"},{code:"GB",dialCode:"44"},{code:"CF",dialCode:"236"},{code:"DO",dialCode:"1809"},{code:"RE",dialCode:"262"},{code:"RO",dialCode:"40"},{code:"RW",dialCode:"250"},{code:"RU",dialCode:"7"},{code:"EH",dialCode:"212"},{code:"PM",dialCode:"508"},{code:"WS",dialCode:"685"},{code:"AS",dialCode:"1684"},{code:"SM",dialCode:"378"},{code:"SH",dialCode:"290"},{code:"LC",dialCode:"1758"},{code:"BL",dialCode:"590"},{code:"KN",dialCode:"1869"},{code:"MF",dialCode:"590"},{code:"ST",dialCode:"239"},{code:"VC",dialCode:"1784"},{code:"SC",dialCode:"248"},{code:"SN",dialCode:"221"},{code:"SL",dialCode:"232"},{code:"RS",dialCode:"381"},{code:"SX",dialCode:"1721"},{code:"SY",dialCode:"963"},{code:"SO",dialCode:"252"},{code:"LK",dialCode:"94"},{code:"SZ",dialCode:"268"},{code:"SD",dialCode:"249"},{code:"SS",dialCode:"211"},{code:"SE",dialCode:"46"},{code:"CH",dialCode:"41"},{code:"SR",dialCode:"597"},{code:"TJ",dialCode:"992"},{code:"TH",dialCode:"66"},{code:"TW",dialCode:"886"},{code:"TZ",dialCode:"255"},{code:"TF",dialCode:"262"},{code:"IO",dialCode:"246"},{code:"PS",dialCode:"970"},{code:"TL",dialCode:"670"},{code:"TG",dialCode:"228"},{code:"TK",dialCode:"690"},{code:"TO",dialCode:"676"},{code:"TT",dialCode:"1868"},{code:"TN",dialCode:"216"},{code:"TM",dialCode:"993"},{code:"TR",dialCode:"90"},{code:"TV",dialCode:"688"},{code:"UA",dialCode:"380"},{code:"UG",dialCode:"256"},{code:"UY",dialCode:"598"},{code:"UZ",dialCode:"998"},{code:"VU",dialCode:"678"},{code:"VA",dialCode:"379"},{code:"VE",dialCode:"58"},{code:"VN",dialCode:"84"},{code:"WF",dialCode:"681"},{code:"ZM",dialCode:"260"},{code:"ZW",dialCode:"263"}];function yF(e){return yN.find(t=>t.code===e)?.dialCode||"55"}function yR(e,t,n){let o=new Map;
129t.byTicketType.forEach(e=>o.set(e.ticketTypeId,e.sold));let i=new Map;t.byEventSector.forEach(e=>i.set(e.eventSectorId,e.sold));let l=new Map,s=new Map,u=0;n.forEach(e=>{let t=l.get(e.id)??0;if(l.set(e.id,t+e.quantity),e.sectorId){let t=s.get(e.sectorId)??0;s.set(e.sectorId,t+e.quantity)}u+=e.quantity});let c=[],d=!0;if(Array.from(l.entries()).forEach(([t,n])=>{let i=e.ticketTypes.get(t);if(i){let e=o.get(t)??0;c.push({type:"ticket_type",id:t,remaining:Math.max(0,i-e)}),e+n>i&&(d=!1)}}),Array.from(s.entries()).forEach(([t,n])=>{let o=e.sectors.get(t);if(o){let e=i.get(t)??0;c.push({type:"event_sector",id:t,remaining:Math.max(0,o-e)}),e+n>o&&(d=!1)}}),e.event){let n=t.byEvent??0,o=Math.max(0,e.event-n);c.push({type:"event",remaining:o}),n+u>e.event&&(d=!1)}return{canProceed:d,limitation:c}}let y$=e=>{let t="https://zig.tickets".replace(/\/$/,"");return!!t&&e.startsWith(t)},yD=e=>!e||e.is_public&&!e.is_closed&&!dt.includes(e.event_status),yz=()=>!1,yI=e=>{if(!e?.includes("<url>"))return e;let t=(e.match(/<url>[\s\S]*?<\/url>/g)||[]).filter(e=>{let t=e.match(/<loc>(.*?)<\/loc>/)?.[1];return t&&y$(t)}),n=e.indexOf("<url>");return n>0?`${e.substring(0,n)}${t.join(` 130`)}</urlset>`:e},yH="sdk-y-uno-v15";function yB(){if(typeof window>"u")return;let e=document.getElementById(yH);e&&e.remove()}function yW(){var e;typeof window>"u"||(e="https://sdk-web.y.uno/v1.5/main.js",new Promise((t,n)=>{if(typeof window>"u"){n(Error("Window is not defined"));return}yB();let o=document.createElement("script");o.id=yH,o.src=e,o.async=!0,o.onload=()=>t(),o.onerror=()=>n(Error(`Failed to load SDK script: ${e}`)),document.head.appendChild(o)})).then(()=>console.log("SDK v1.5 loaded")).catch(e=>console.error("Erro ao carregar SDK v1.5:",e))}let yV=e=>({strong:t=>$.jsx("strong",{className:e,children:t})});function yU(){if(typeof window>"u")return null;let{userAgent:e,platform:t}=window.navigator;e=e.trim().toLowerCase();let n=null;return["macintosh","macintel","macppc","mac68k"].includes(t=t.trim().toLowerCase())?n="MacOS":["iphone","ipad","ipod"].includes(t)?n="iOS":["win32","win64","windows","wince"].includes(t)?n="Windows":/Android/.test(e)?n="Android":/Linux/.test(t)&&(n="Linux"),n}function yq(){let e=yU();return"MacOS"===e||"iOS"===e?"apple":"google"}let yG=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase());function yY(e){let t=Array.isArray(e)?e[0]:e;if(!(!t||"string"!=typeof t)&&!t.includes("\\")&&!(!t.startsWith("/")||t.startsWith("//"))&&!/^[a-z][a-z0-9+.-]*:/i.test(t))return t}let yZ=(0,M.createContext)(void 0);function yK({children:e}){let[t,n]=(0,M.useState)(!1),[o,i]=(0,M.useState)(!1),[l,s]=(0,M.useState)(null),[u,c]=(0,M.useState)(null),{asPath:d,locale:f,push:h}=(0,_.useRouter)(),p=(0,M.useMemo)(()=>!!l,[l]),m=(0,M.useCallback)(e=>{f!==e&&h(d,d,{locale:e,scroll:!1})},[f,d,h]),g=(0,M.useCallback)(e=>{e?(hj({user:e}),yg({locale:e.chosen_language,options:{path:"/"}}),s(e),m(e.chosen_language),yW()):(hO(),s(null))},[m]),v=(0,M.useCallback)(async()=>{let e=await hz();return g(e),e},[g]),y=(0,M.useCallback)(async({provider:e,nextTo:t,isValidDiscount:n,discountCode:o,code:l,totalValue:s,state:u,selectedTickets:c})=>{i(!0),c1.setCookie(du.lastParams,JSON.stringify({lastUserPath:t||d,isValidDiscount:n,discountCode:o,code:l,totalValue:s,state:u,selectedTickets:c}),{maxAge:500,path:"/",sameSite:"lax"}),await new Promise(t=>{setTimeout(async()=>{window.location.href=await hF(e),t()},50)})},[d]),b=(0,M.useCallback)(async e=>{try{await y(e),v6("login",{method:e.provider})}catch(e){mb(e)}finally{i(!1)}},[y]),w=(0,M.useCallback)(async({username:e,password:t,token:n,"g-recaptcha-response":o})=>{i(!0);try{let{token:i}=await hN({username:e,password:t,token:n,platform:"marketplace","g-recaptcha-response":o});return hS({token:i}),await v()}catch(e){throw mb(e,{showToast:!1}),e}},[v]),x=(0,M.useCallback)(async({username:e,password:t,token:n,"g-recaptcha-response":o})=>{try{let i=await w({username:e,password:t,token:n,"g-recaptcha-response":o});return v6("login",{method:"Account"}),i}catch(e){throw mb(e,{showToast:!1}),e}finally{i(!1)}},[w]),E=(0,M.useCallback)(async({username:e,password:t,platform:n,"g-recaptcha-response":o})=>{try{i(!0);let l=await hN({username:e,password:t,platform:n||"marketplace","g-recaptcha-response":o});if(c(l),!l.isMfaEnable){hS({token:l.token});let e=await v();g(e)}return l}catch(e){throw mb(e,{showToast:!1}),e}finally{i(!1)}},[v,g]),C=(0,M.useCallback)(()=>{hO(),v6("logout"),s(null)},[]),k=(0,M.useCallback)(async()=>{try{await v()}catch(e){mb(e,{showToast:!1})}},[v]);(0,M.useEffect)(()=>{(async()=>{i(!0);try{let{user:e}=h_();e&&s(e),yW()}catch(e){hO(),s(null),mb(e,{showToast:!1})}finally{n(!0),i(!1)}})()},[]);let S=(0,M.useMemo)(()=>({user:l,isAuthenticated:p,isLoading:o,onSignin:x,trySignin:w,onSignout:C,onSocialSignin:b,update:g,handleReloadUserInfos:k,isAuthChecked:t,getSigninToken:E,signConfirmationData:u,setUser:s}),[l,p,o,x,w,C,b,g,k,t,E,u,s]);return $.jsx(yZ.Provider,{value:S,children:e})}let yQ=()=>(0,M.useContext)(yZ);function yX(){let[e,t]=(0,M.useState)(!1);return{open:e,onClose:(0,M.useCallback)(()=>{t(!1)},[]),onOpen:(0,M.useCallback)(()=>{t(!0)},[]),onToggle:(0,M.useCallback)(()=>{t(e=>!e)},[])}}let yJ=(0,M.createContext)(null);function y1({children:e,value:t}){let{newEvents:n}=Q(),o=(0,M.useMemo)(()=>({...t,data:n||t.data||{events:[],categories:[],middle_highlights:[],top_highlights:[],states:[],home_categories:[]}}),[n,t]);return $.jsx(yJ.Provider,{value:o,children:e})}let y0=()=>(0,M.useContext)(yJ);async function y2(e){let t=e?.by_name,n={search_term:t,...e},{data:o}=await hT.get(t?"events/search":"events",n);return o}function y3(e){return e?{headers:{"X-SSR-Origin":e}}:void 0}async function y5(e,t){let{data:n}=await hT.get(`events/${e}`,void 0,y3(t));return n}async function y4(e,t){let{data:n}=await hT.get(`events/${e}/active-slug`,void 0,y3(t));return n}async function y6(e,t,n){if(!t)return;let{data:o}=await hT.get(`events/${e}/session-tickets/${t}`,{d:n?.d,s:n?.s});return o}
130async function y7(e,t,n){let{data:o}=await hT.get(`events/${e}/tickets`,{d:t?.d,s:t?.s},y3(n));return o}async function y8(e,t){let{data:n}=await hT.post(`events/${e}/orders`,t);return n}async function y9({page:e=1,per_page:t=15}){let{data:n}=await hT.get("events/my",{page:e,per_page:t});return n}async function be(e,t){let{data:n}=await hT.get(`tickets/${e}/availability`,t);return n}async function bt(e){let{data:t}=await hT.get(`events/${e}/my-purchases`);return t}async function br(e){let{data:t}=await hT.get(`events/${e}/queueIt`);return t}async function bn(e,t){let{data:n}=await hT.post(`payments/${e}/refund`,t);return n}async function ba(){let{data:e}=await he.get("https://pro.ip-api.com/json/?key=XoInsdHDTWdpFz2");return e}async function bo(e,t){let{data:n}=await hT.get(`/events/${e}/seats/temporary-seats/${t}`);return n}async function bi(e,t){await hT.post(`events/${e}/seats/temporary-reserve`,t)}async function bl(e,t){let{data:n}=await hT.post(`events/${e}/seats/hold-token-expiration`,{hold_token:t});return n}let bs=hL("https://marketplace-ticket-service.zig.tickets"),bu=(e,t,n
130)=>bs.get(e,{params:t,...n}),bc=(e,t,n)=>bs.post(e,t,n),bd=(e,t,n)=>bs.put(e,t,n);async function bf(e){let{data:t}=await bc("api/v1/ticket-transfers",e);return t}async function bh(e,t){return await bd(`api/v1/ticket-transfers/${e}/${t}`)}async function bp(e){let{data:t}=await bc("api/v1/ticket-transfers/batch",e);return t}async function bm(e){let{data:t}=await bu("api/v1/ticket-transfers/sent",{event_id:e.eventId,order_id:e.orderId,search:e.search,order:e.order});return t}async function bg(e,t,n){let{data:o}=await bu(`api/v1/ticket-transfers/sent/${e}`,{order_id:t,search:n});return o}async function bv(e){let{data:t}=await bd("api/v1/ticket-transfers/batch/cancel",{transferIds:e});return t}async function by(e){let{data:t}=await bd("api/v1/ticket-transfers/batch/accept",{transferIds:e});return t}async function bb(e){let{data:t}=await bd("api/v1/ticket-transfers/batch/reject",{transferIds:e});return t}async function bw(e={}){let{data:t}=await hT.post("two-factor/transfer/request",e);return t}async function bx(e){let{data:t}=await hT.post("two-factor/transfer/validate",e);return t}async function bE(e={}){let{data:t}=await hT.post("two-factor/profile/request",e);return t}async function bC(e){let{data:t}=await hT.post("two-factor/profile/validate",e);return t}async function bk(e={}){let{data:t}=await hT.post("two-factor/password/request",e);return t}async function bM(e){let{data:t}=await hT.post("two-factor/password/validate",e);return t}async function b_({page:e=1,perPage:t=15,searchTerm:n,platform:o,includeCourtesies:i,byStatus:l}){let{data:s}=await hT.get("tickets",{page:e,per_page:t,search_term:n,platform:o,by_status:l,...i?{include_courtesies:1}:{}});return s}async function bS({page:e=1,perPage:t=10,searchTerm:n,byStatus:o}){let{data:i}=await hT.get("tickets/courtesies",{page:e,per_page:t,search_term:n,by_status:o});return i}async function bj(){let{data:e}=await hT.get("tickets/courtesies/pending-code");return e.data??[]}async function bO(e,t){let{data:n}=await hT.get("tickets/transferable",{event_id:e,...t?{order_token:t}:{}});return n}async function bL({code:e,eventId:t,orderId:n}){let o=yT({code:e,orderId:n}),{data:i}=await hT.get(`ticket/${o}/event/${t}/download`,void 0,{responseType:"blob"});return i}async function bA(e){let t=e.replace(/\D/g,"");if(8!==t.length)return null;try{let{data:e}=await he.get(`https://viacep.com.br/ws/${t}/json/`);return e}catch{return null}}let bT={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},bP=console,bN={};Object.keys(bT).forEach(e=>{bN[e]=bP[e]});let bF="Datadog Browser SDK:",bR={debug:bN.debug.bind(bP,bF),log:bN.log.bind(bP,bF),info:bN.info.bind(bP,bF),warn:bN.warn.bind(bP,bF),error:bN.error.bind(bP,bF)},b$="https://docs.datadoghq.com",bD=`${b$}/real_user_monitoring/browser/troubleshooting`,bz="More details:";function bI(e,t){return(...n)=>{try{return e(...n)}catch(e){bR.error(t,e)}}}function bH(e){return 0!==e&&100*Math.random()<=e}function bB(e,t){return Object.keys(e).some(n=>e[n]===t)}function bW(e){return 0===Object.keys(e).length}function bV(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&("object"==typeof self?e=self:e="object"==typeof window?window:{}),e}let bU=bV(),bq="WorkerGlobalScope"in bU;function bG(e,t){let n;let o=bV();return o.Zone&&"function"==typeof o.Zone.__symbol__&&(n=e[o.Zone.__symbol__(t)]),n||(n=e[t]),n}let bY,bZ=!1;function bK(e){bZ=e}function bQ(e){return function(...t){return bX(e,this,t)}}function bX(e,t,n){try{return e.apply(t,n)}catch(e){bJ(e)}}function bJ(e){if(b1(e),bY)try{bY(e)}catch(e){b1(e)}}function b1(...e){bZ&&bR.error("[MONITOR]",...e)}function b0(e,t){return bG(bV(),"setTimeout")(bQ(e),t)}function b2(e){bG(bV(),"clearTimeout")(e)}function b3(e,t){return bG(bV(),"setInterval")(bQ(e),t)}function b5(e){bG(bV(),"clearInterval")(e)}function b4(e){var t;let n=null===(t=bU.queueMicrotask)||void 0===t?void 0:t.bind(bU);"function"==typeof n?n(bQ(e)):Promise.resolve().then(bQ(e))}class b6{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}
130notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function b7(...e){return new b6(t=>{let n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}class b8 extends b6{constructor(e){super(),this.maxBufferSize=e,this.buffer=[]}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(e)}subscribe(e){let t=!1;return b4(()=>{for(let n of this.buffer){if(t)return;e(n)}t||this.addObserver(e)}),{unsubscribe:()=>{t=!0,this.removeObserver(e)}}}unbuffer(){b4(()=>{this.maxBufferSize=this.buffer.length=0})}}function b9(){return new Date().getTime()}function we(){return performance.now()}function wt(){return{relative:we(),timeStamp:b9()}}function wr(){var e,t;return void 0===i&&(i=null!==(t=null===(e=performance.timing)||void 0===e?void 0:e.navigationStart)&&void 0!==t?t:performance.timeOrigin),i}function wn(){}function wa(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,wa)}let wo=/([\w-]+)\s*=\s*([^;]+)/g;function wi(e,t,n=""){let o=e.charCodeAt(t-1),i=o>=55296&&o<=56319?t+1:t;return e.length<=i?e:`${e.slice(0,i)}${n}`}function wl(e){return ws(e,location.href).href}function ws(e,t){let{URL:n}=function(){if(!s){let e,t;try{(e=document.createElement("iframe")).style.display="none",document.body.appendChild(e),t=e.contentWindow}catch{t=bU}s={URL:t.URL},e?.remove()}return s}();try{return void 0!==t?new n(e,t):new n(e)}catch(e){throw Error(`Failed to construct URL: ${String(e)}`)}}function wu(e,t,n=0,o){let i=new Date;i.setTime(i.getTime()+n);let l=`expires=${i.toUTCString()}`,s=o&&o.crossSite?"none":"strict",u=o&&o.domain?`;domain=${o.domain}`:"",c=o&&o.secure?";secure":"",d=o&&o.partitioned?";partitioned":"";document.cookie=`${e}=${t};${l};path=/;samesite=${s}${u}${c}${d}`}function wc(e){return function(e,t){for(wo.lastIndex=0;;){let n=wo.exec(e);if(n){if(n[1]===t)return n[2]}else break}}(document.cookie,e)}function wd(e){return u||(u=function(e){let t=new Map;for(wo.lastIndex=0;;){let n=wo.exec(e);if(n)t.set(n[1],n[2]);else break}return t}(document.cookie)),u.get(e)}function wf(e=location.hostname,t=document.referrer){if(void 0===c){let n=function(e,t){try{return e||ws(t).hostname}catch{}}(e,t);if(n){let e=`dd_site_test_${wa()}`,t=n.split("."),o=t.pop();for(;t.length&&!wc(e);)wu(e,"test",1e3,{domain:o=`${t.pop()}.${o}`});wu(e,"",0,{domain:o}),c=o}}return c}let wh="_dd_s";function wp(e){return Object.values(e)}let wm={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"},wg=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function wv(e,t){let n={isExpired:"1"};return t.trackAnonymousUser&&e?.anonymousId&&(n.anonymousId=e?.anonymousId),n}function wy(e){return void 0!==e.isExpired||!((void 0===e.created||b9()-Number(e.created)<144e5)&&(void 0===e.expire||b9()<Number(e.expire)))}function wb(e){e.expire=String(b9()+9e5)}function ww(e){return Object.entries(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function wx(e){let t={};return e&&(-1!==e.indexOf("&")||wg.test(e))&&e.split("&").forEach(e=>{let n=wg.exec(e);if(null!==n){let[,e,o]=n;"aid"===e?t.anonymousId=o:t[e]=o}}),t}function wE(e){let t=function(e){let t={};if(t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains){let e=wf();if(!e)return;t.domain=e}return t}(e);return t&&function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{let t=`dd_cookie_test_${wa()}`,n="test";wu(t,n,6e4,e);let o=wc(t)===n;return wu(t,"",0,e),o}catch(e){return bR.error(e),!1}}(t)?{type:wm.COOKIE,cookieOptions:t}:void 0}function wC(e,t,n,o){let i=ww(n);t.betaEncodeCookieOptions&&(i=ww({...n,...bW(n)?{}:{c:wM(e)}}
130)),wu(wh,i,t.trackAnonymousUser?31536e6:o,e)}function wk(e,t){return t.betaEncodeCookieOptions?function(e){let t;let n=(function(e){let t=new Map;for(wo.lastIndex=0;;){let n=wo.exec(e);if(n){let e=n[1],o=n[2];t.has(e)?t.get(e).push(o):t.set(e,[o])}else break}return t})(document.cookie).get(wh)||[],o=wM(e);for(let e of n.reverse())if((t=wx(e)).c===o)break;return null==t||delete t.c,t??{}}(e):wx(wc(wh))}function wM(e){let t;return(0|(e.domain?e.domain.split(".").length-1:0)<<1|(e.crossSite?1:0)).toString(16)}function w_(){try{let e=wa(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:wm.LOCAL_STORAGE}:void 0}catch{return}}function wS(e){localStorage.setItem(wh,ww(e))}function wj(){return wx(localStorage.getItem(wh))}let wO=[];function wL(e,t,n=0){var o;let{isLockEnabled:i,persistSession:l,expireSession:s}=t,u=e=>l({...e,lock:f}),c=()=>{let{lock:e,...n}=t.retrieveSession();return{session:n,lock:e&&!function(e){var t;let[,n]=e.split("--");return!n||(t=Number(n),b9()-t>1e3)}(e)?e:void 0}};if(d||(d=e),e!==d){wO.push(e);return}if(i&&n>=100){wT(t);return}let f,h=c();if(i&&(h.lock||(f=wa()+"--"+b9(),u(h.session),(h=c()).lock!==f))){wA(e,t,n);return}let p=e.process(h.session);if(i&&(h=c()).lock!==f){wA(e,t,n);return}if(p&&(wy(p)?s(p):(wb(p),i?u(p):l(p))),i&&!(p&&wy(p))){if((h=c()).lock!==f){wA(e,t,n);return}l(h.session),p=h.session}null===(o=e.after)||void 0===o||o.call(e,p||h.session),wT(t)}function wA(e,t,n){b0(()=>{wL(e,t,n+1)},10)}function wT(e){d=void 0;let t=wO.shift();t&&wL(t,e)}let wP={GRANTED:"granted",NOT_GRANTED:"not-granted"};function wN(e){return null===e?"null":Array.isArray(e)?"array":typeof e}let wF=["chrome-extension://","moz-extension://"];function wR(e){return wF.some(t=>e.includes(t))}let w$="datadoghq.com",wD=["ddsource","dd-api-key","dd-request-id"];function wz(e,t,n){let o=function(e,t){let n=`/api/v2/${t}`,o=e.proxy;if("string"==typeof o){let e=wl(o);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof o)return e=>o({path:n,parameters:e});let i=function(e,t){let{site:n=w$,internalAnalyticsSubdomain:o}=t;if("logs"===e&&t.usePciIntake&&n===w$)return"pci.browser-intake-datadoghq.com";if(o&&n===w$)return`${o}.${w$}`;if("dd0g-gov.com"===n)return`http-intake.logs.${n}`;let i=n.split("."),l=i.pop();return`browser-intake-${i.join("-")}.${l}`}(t,e);return e=>`https://${i}${n}?${e}`}(e,t);return{build:(i,l)=>o(function({clientToken:e,internalAnalyticsSubdomain:t,source:n="browser"},o,i,{retry:l,encoding:s},u=[]){let c=[`ddsource=${n}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.25.0")}`,"dd-evp-origin=browser",`dd-request-id=${wa()}`].concat(u);return s&&c.push(`dd-evp-encoding=${s}`),"rum"===o&&(c.push(`batch_time=${b9()}`,`_dd.api=${i}`),l&&c.push(`_dd.retry_count=${l.count}`,`_dd.retry_after=${l.lastFailureStatus}`)),t&&c.reverse(),c.join("&")}(e,t,i,l,n)),trackType:t}}function wI(e,t){return null==e||"string"==typeof e||(bR.error(`${t} must be defined as a string`),!1)}function wH(e,t){return!!(void 0===e||"number"==typeof e&&e>=0&&e<=100)||(bR.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}(j8=Oo||(Oo={})).TRACK_INTAKE_REQUESTS="track_intake_requests",j8.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",j8.FEATURE_OPERATION_VITAL="feature_operation_vital",j8.SHORT_SESSION_INVESTIGATION="short_session_investigation",j8.AVOID_FETCH_KEEPALIVE="avoid_fetch_keepalive";let wB=new Set;function wW(e){var t,n;let o=[],i=wX(e,"stack"),l=String(e);if(i&&i.startsWith(l)&&(i=i.slice(l.length)),i&&i.split(` 131`).forEach(e=>{let t=function(e){let t=wq.exec(e);if(!t)return;let n=t[2]&&0===t[2].indexOf("native"),o=t[2]&&0===t[2].indexOf("eval"),i=wG.exec(t[2]);return o&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){let t=wY.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){let t=wZ.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){let t=wK.exec(e);if(!t)return;let n=t[3]&&t[3].indexOf(" > eval")>-1,o=wQ.exec(t[3]);return n&&o&&(t[3]=o[1],t[4]=o[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}(e);t&&(!t.func&&t.line&&(t.func="?"),o.push(t))}),o.length>0&&function(){if(void 0!==f)return f;
131class e extends Error{constructor(){super(),this.name="Error"}}let[t,n]=[e,Error].map(e=>new e);return f=w1(Object.getPrototypeOf(t))&&n.stack!==t.stack}()&&e instanceof Error){let i=[],l=e;for(;(l=Object.getPrototypeOf(l))&&w1(l);){let e=(null===(t=l.constructor)||void 0===t?void 0:t.name)||"?";i.push(e)}for(let e=i.length-1;e>=0&&(null===(n=o[0])||void 0===n?void 0:n.func)===i[e];e--)o.shift()}return{message:wX(e,"message"),name:wX(e,"name"),stack:o}}let wV="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",wU="(?::(\\d+))",wq=RegExp(`^\\s*at (.*?) ?\\(${wV}${wU}?${wU}?\\)?\\s*$`,"i"),wG=RegExp(`\\((\\S*)${wU}${wU}\\)`),wY=RegExp(`^\\s*at ?${wV}${wU}?${wU}??\\s*$`,"i"),wZ=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,wK=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,wQ=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function wX(e,t){if("object"!=typeof e||!e||!(t in e))return;let n=e[t];return"string"==typeof n?n:void 0}let wJ=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function w1(e){return String(e.constructor).startsWith("class ")}function w0(e){let t;let n=Error(e);return n.name="HandlingStack",bX(()=>{let e=wW(n);e.stack=e.stack.slice(2),t=w2(e)}),t}function w2(e){let t=w3(e);return e.stack.forEach(e=>{let n="?"===e.func?"<anonymous>":e.func,o=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",i=e.line?`:${e.line}`:"",l=e.line&&e.column?`:${e.column}`:"";t+=` 132 at ${n}${o} @ ${e.url}${i}${l}`}),t}function w3(e){return`${e.name||"Error"}: ${e.message}`}function w5(e,t,n,{computeHandlingStack:o}={}){let i=e[t];if("function"!=typeof i){if(!(t in e&&"string"==typeof t&&t.startsWith("on")))return{stop:wn};i=wn}let l=!1,s=function(){let e;if(l)return i.apply(this,arguments);let t=Array.from(arguments);bX(n,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:o?w0("instrumented method"):void 0}]);let s=i.apply(this,t);return e&&bX(e,null,[s]),s};return e[t]=s,{stop:()=>{l=!0,e[t]===s&&(e[t]=i)}}}let w4=/[^\u0000-\u007F]/;function w6(e){return w4.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function w7(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);let o=w8(Object.prototype),i=w8(Array.prototype),l=w8(Object.getPrototypeOf(e)),s=w8(e);try{return JSON.stringify(e,t,n)}catch{return"<error: unable to serialize object>"}finally{o(),i(),l(),s()}}function w8(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):wn}function w9(e,t=225280){let n=w8(Object.prototype),o=w8(Array.prototype),i=[],l=new WeakMap,s=xe(e,"$",void 0,i,l),u=JSON.stringify(s),c=u?u.length:0;if(c>t){xt(t,"discarded",e);return}for(;i.length>0&&c<t;){let n=i.shift(),o=0;if(Array.isArray(n.source))for(let s=0;s<n.source.length;s++){let u=xe(n.source[s],n.path,s,i,l);if(void 0!==u?c+=JSON.stringify(u).length:c+=4,c+=o,o=1,c>t){xt(t,"truncated",e);break}n.target[s]=u}else for(let s in n.source)if(Object.prototype.hasOwnProperty.call(n.source,s)){let u=xe(n.source[s],n.path,s,i,l);if(void 0!==u&&(c+=JSON.stringify(u).length+o+s.length+3,o=1),c>t){xt(t,"truncated",e);break}n.target[s]=u}}return n(),o(),s}function xe(e,t,n,o,i){let l=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch{}return e}(e);if(!l||"object"!=typeof l)return"bigint"==typeof l?`[BigInt] ${l.toString()}`:"function"==typeof l?`[Function] ${l.name||"unknown"}`:"symbol"==typeof l?`[Symbol] ${l.description||l.toString()}`:l;let s=function e(t){try{if(t instanceof Event)return{type:t.type,isTrusted:t.isTrusted,currentTarget:t.currentTarget?e(t.currentTarget):null,target:t.target?e(t.target):null};if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;let n=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch{}return"[Unserializable]"}(l);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(e))return`[Reference seen at ${i.get(e)}]`;let u=void 0!==n?`${t}.${n}`:t,c=Array.isArray(l)?[]:{};return i.set(e,u),o.push({source:l,target:c,path:u}),c}function xt(e,t,n){bR.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}let xr="No stack, consider using an instance of Error";function xn({originalError:e,stackTrace:t,source:n,useFallbackStack:o=!0,nonErrorPrefix:i}){var l;let s=xo(e);return!t&&s&&(t=wW(e)),{source:n,type:t?t.name:void 0,message:(l=t,l?.message&&l?.name?l.message:s?"Empty message":i?`${i} ${w7(w9(e))}`:w7(w9(e))),stack:t?w2(t):o?xr:void 0}}function xa({stackTrace:e,originalError:t,handlingStack:n,componentStack:o,startClocks:i,nonErrorPrefix:l,useFallbackStack:s=!0,source:u,handling:c}){let d=xn({originalError:t,stackTrace:e,source:u,useFallbackStack:s,nonErrorPrefix:l});return{startClocks:i,handling:c,handlingStack:n,componentStack:o,originalError:t,...d,causes:xo(t)?function(e,t){let n=[],o=e.cause;for(;null!=o&&n.length<10;){let e=xn({originalError:o,source:t,useFallbackStack:!1});n.push(e),o=xo(o)?o.cause:void 0}return n.length?n:void 0}(t,u):void 0,fingerprint:xo(t)&&"dd_fingerprint"in t?String(t.dd_fingerprint):void 0,context:function(e){if(null!==e&&"object"==typeof e&&"dd_context"in e)return e.dd_context}(t)}}function xo(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}let xi={AGENT:"agent",CONSOLE:"console",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function xl(e,t){t.silentMultipleInit||bR.error(`${e} is already initialized.`)}function xs(e,t,n,o,{once:i,capture:l,passive:s}={}){let u=bQ(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(i&&h(),o(t))}),c=s?{capture:l,passive:s}:l,d=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,f=bG(d,"addEventListener");function h(){let e=bG(d,"removeEventListener");
132n.forEach(n=>e.call(t,n,u,c))}return n.forEach(e=>f.call(t,e,u,c)),{stop:h}}let xu={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function xc(e){return{startClocks:wt(),source:xi.REPORT,handling:"unhandled",...e}}function xd(e,t,n,o,i){return n?w2({name:e,message:t,stack:[{func:"?",url:n,line:o??void 0,column:i??void 0}]}):void 0}function xf(e){let{env:t,service:n,version:o,datacenter:i,sdkVersion:l,variant:s}=e,u=[xh("sdk_version",l??"6.25.0")];return t&&u.push(xh("env",t)),n&&u.push(xh("service",n)),o&&u.push(xh("version",o)),i&&u.push(xh("datacenter",i)),s&&u.push(xh("variant",s)),u}function xh(e,t){let n=t?`${e}:${t}`:e;return(n.length>200||function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch{return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(n))&&bR.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${bz} ${b$}/getting_started/tagging/#defining-tags`),xp(n)}function xp(e){return e.replace(/,/g,"_")}function xm(e,t){let n=bU.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function xg(e,t,n=function(){if("u">typeof WeakSet){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let n=e.has(t);return n||e.add(t),n}}}let e=[];return{hasAlreadyBeenSeen(t){let n=e.indexOf(t)>=0;return n||e.push(t),n}}}()){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let o=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)o[e]=xg(o[e],t[e],n);return o}let o="object"===wN(e)?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(o[e]=xg(o[e],t[e],n));return o}function xv(...e){let t;for(let n of e)null!=n&&(t=xg(t,n));return t}function xy(e,t,n,o,i,l){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?xb(e,t,n,l,{onSuccess:()=>xw(0,t,n,o,i,l),onFailure:()=>{t.queuedPayloads.enqueue(e)||l.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),function e(t,n,o,i,l){2===t.transportStatus&&b0(()=>{xb(t.queuedPayloads.first(),t,n,l,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,xw(1,t,n,o,i,l)},onFailure:()=>{t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,n,o,i,l)}})},t.currentBackoffTime)}(t,n,o,i,l)}}):t.queuedPayloads.enqueue(e)||l.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function xb(e,t,n,o,{onSuccess:i,onFailure:l}){t.bandwidthMonitor.add(e),n(e,n=>{t.bandwidthMonitor.remove(e),"opaque"!==n.type&&(0===n.status&&!navigator.onLine||408===n.status||429===n.status||n.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},o.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),l()):(t.transportStatus=0,o.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i())})}function xw(e,t,n,o,i,l){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:`Reached max ${o} events size queued for upload: ${20}MiB`,source:xi.AGENT,startClocks:wt()}),t.queueFullReported=!0);let s=t.queuedPayloads;for(t.queuedPayloads=xx();s.size()>0;)xy(s.dequeue(),t,n,o,i,l)}function xx(){let e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=20971520}}}function xE(e,t,n=16384){let o=new b6,i={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:xx(),queueFullReported:!1};return{observable:o,send:l=>{for(let s of e)xy(l,i,(e,t)=>{var o;(o=Oo.AVOID_FETCH_KEEPALIVE,wB.has(o))?xk(s,e,t):function(e,t,n,o){(function(){try{return window.Request&&"keepalive"in new Request
132("http://a")}catch{return!1}})()&&n.bytesCount<t?fetch(e.build("fetch-keepalive",n),{method:"POST",body:n.data,keepalive:!0,mode:"cors"}).then(bQ(e=>o?.({status:e.status,type:e.type}))).catch(bQ(()=>xk(e,n,o))):xk(e,n,o)}(s,n,e,t)},s.trackType,t,o)},sendOnExit:t=>{for(let o of e)!function(e,t,n){if(navigator.sendBeacon&&n.bytesCount<t)try{let t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(e){xC||(xC=!0,bJ(e))}xk(e,n)}(o,n,t)}}}let xC=!1;function xk(e,t,n){fetch(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then(bQ(e=>n?.({status:e.status,type:e.type}))).catch(bQ(()=>n?.({status:0})))}function xM(){let e=bV().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null===(t=e.getCapabilities)||void 0===t?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null===(t=e.getPrivacyLevel)||void 0===t?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,o){e.send(JSON.stringify({eventType:t,event:n,view:o?{id:o}:void 0}))}}}function x_(e){var t;void 0===e&&(e=null===(t=bV().location)||void 0===t?void 0:t.hostname);let n=xM();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}let xS={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function xj({encoder:e,request:t,flushController:n}){let o={},i=n.flushObservable.subscribe(n=>(function(n){var i;let l=wp(o).join(` 133`);o={};let s=(i=n.reason,wp(xS).includes(i)),u=s?t.sendOnExit:t.send;if(s&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&u(xO(t));let n=[t.pendingData,l].filter(Boolean).join(` 134`);n&&u({data:n,bytesCount:w6(n)})}else l&&e.write(e.isEmpty?l:` 135${l}`),e.finish(e=>{u(xO(e))})})(n));function l(t,i){let l=w7(t),s=e.estimateEncodedBytesCount(l);if(s>=262144){bR.warn(`Discarded a message whose size was bigger than the maximum allowed size 256KiB. ${bz} ${bD}/#technical-limitations`);return}void 0!==i&&void 0!==o[i]&&function(t){let i=o[t];delete o[t];let l=e.estimateEncodedBytesCount(i);n.notifyAfterRemoveMessage(l)}(i),n.notifyBeforeAddMessage(s),void 0!==i?(o[i]=l,n.notifyAfterAddMessage()):e.write(e.isEmpty?l:` 136${l}`,e=>{n.notifyAfterAddMessage(e-s)})}return{flushController:n,add:l,upsert:l,stop:i.unsubscribe}}function xO(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}let xL=bq?1:50;function xA({pageMayExitObservable:e,sessionExpireObservable:t}){let n;let o=e.subscribe(e=>c(e.reason)),i=t.subscribe(()=>c("session_expire")),l=new b6(()=>()=>{o.unsubscribe(),i.unsubscribe()}),s=0,u=0;function c(e){if(0===u)return;let t=u,n=s;u=0,s=0,d(),l.notify({reason:e,messagesCount:t,bytesCount:n})}function d(){b2(n),n=void 0}return{flushObservable:l,get messagesCount(){return u},notifyBeforeAddMessage(e){s+e>=16384&&c("bytes_limit"),u+=1,s+=e,void 0===n&&(n=b0(()=>{c("duration_limit")},3e4))},notifyAfterAddMessage(e=0){s+=e,u>=xL?c("messages_limit"):s>=16384&&c("bytes_limit")},notifyAfterRemoveMessage(e){s-=e,0==(u-=1)&&d()}}}let xT="DISCARDED",xP="SKIPPED",xN="configuration",xF="usage",xR=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],x$=["ddog-gov.com"];function xD(){return h||(h=new b8(100)),h}function xz(e,t){b1(bT.debug,e,t),xD().notify({rawEvent:{type:"log",message:e,status:"debug",...t}})}function xI(e,t){xD().notify({rawEvent:{type:"log",status:"error",...function(e){if(xo(e)){let t=wW(e);return{error:{kind:t.name,stack:w2((t.stack=t.stack.filter(e=>!e.url||xR.some(t=>e.url.startsWith(t))),t))},message:t.message}}return{error:{stack:xr},message:`Uncaught ${w7(e)}`}}(e),...t}})}function xH(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}let xB=1/0,xW=null,xV=new Set;function xU(){return!bq&&!!(bU._DATADOG_SYNTHETICS_INJECTS_RUM||wd("datadog-synthetics-injects-rum"))}async function xq(e){let t,n;let o=e.sessionStoreStrategyType;o&&(o.type===wm.COOKIE?(t=wk(o.cookieOptions,e),n={cookie:await xG(),currentDomain:`${window.location.protocol}//${window.location.hostname}`}):t=wj(),xz("Unexpected session state",{sessionStoreStrategyType:o.type,session:t,isSyntheticsTest:!!(function(){let e=window._DATADOG_SYNTHETICS_PUBLIC_ID||wd("datadog-synthetics-public-id");return"string"==typeof e?e:void 0}()&&function(){let e=window._DATADOG_SYNTHETICS_RESULT_ID||wd("datadog-synthetics-result-id");return"string"==typeof e?e:void 0}()),createdTimestamp:t?.created,expireTimestamp:t?.expire,...n}))}async function xG(){let e;return{count:(e="cookieStore"in window?await window.cookieStore.getAll(wh):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(wh))).length,domain:wf()||"undefined",...e}}function xY(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,o){let i=w6(n);t+=i,e+=n,o&&o(i)},finish(e){e(this.finishSync())},finishSync(){let n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}class xZ{constructor(){this.callbacks={}}notify(e,t){let n=this.callbacks[e];
136n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}}let xK=new WeakMap;function xQ({target:e,parameters:[t,n]}){xK.set(e,{state:"open",method:String(t).toUpperCase(),url:wl(String(n))})}function xX({target:e}){let t=xK.get(e);t&&(t.isAborted=!0)}async function xJ(e,t){let n=e.getReader(),o=[];for(;;){let e=await n.read();if(e.done)break;t.collectStreamBody&&o.push(e.value)}return n.cancel().catch(wn),t.collectStreamBody?function(e){if(1===e.length)return e[0];let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),n=0;for(let o of e)t.set(o,n),n+=o.length;return t}(o):void 0}let x1=[];function x0({responseBodyAction:e}={}){return e&&x1.push(e),m||(m=new b6(e=>{if(!bU.fetch)return;let{stop:t}=w5(bU,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:n},o){let[i,l]=e,s=l&&l.method;void 0===s&&i instanceof Request&&(s=i.method);let u=void 0!==s?String(s).toUpperCase():"GET",c=i instanceof Request?i.url:wl(String(i)),d={state:"start",init:l,input:i,method:u,startClocks:wt(),url:c,handlingStack:n};o.notify(d),e[0]=d.input,e[1]=d.init,t(e=>{x2(o,e,d).catch(bJ)})})(t,e),{computeHandlingStack:!0});return t})),m}async function x2(e,t,n){var o,i;let l;n.state="resolve";try{l=await t}catch(t){n.status=0,n.isAborted=(null===(i=null===(o=n.init)||void 0===o?void 0:o.signal)||void 0===i?void 0:i.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,n.error=t,e.notify(n);return}n.response=l,n.status=l.status,n.responseType=l.type,n.isAborted=!1;let s=x1.reduce((e,t)=>Math.max(e,t(n)),0);if(0!==s){let e=function(e){try{return e.clone()}catch{return}}(l);if(e&&e.body)try{let t=await xJ(e.body,{collectStreamBody:2===s});n.responseBody=t&&new TextDecoder().decode(t)}catch{}}e.notify(n)}let x3={};function x5(e,t,n){let o={...e};for(let[e,{required:i,type:l}]of Object.entries(t))"string"!==l||x4(o[e])||(o[e]=String(o[e])),i&&x4(o[e])&&bR.warn(`The property ${e} of ${n} is required; context will not be sent to the intake.`);return o}function x4(e){return null==e||""===e}function x6(e="",{propertiesConfig:t={}}={}){let n={},o=new b6,i={getContext:()=>xg(void 0,n),setContext:l=>{!function(e){let t="object"===wN(e);return t||bR.error("Unsupported context:",e),t}(l)?i.clearContext():n=w9(x5(l,t,e)),o.notify()},setContextProperty:(i,l)=>{n=w9(x5({...n,[i]:l},t,e)),o.notify()},removeContextProperty:i=>{delete n[i],x5(n,t,e),o.notify()},clearContext:()=>{n={},o.notify()},changeObservable:o};return i}function x7(e,t,n,o){return bQ((...o)=>e()[t][n](...o))}function x8(e,t,n){e.changeObservable.subscribe(()=>{let o=e.getContext();n.add(e=>e[t].setContext(o))})}let x9=[];function Ee(e,t,n,o){let i=`_dd_c_${n}_${o}`;x9.push(xs(e,window,["storage"],({key:e})=>{i===e&&t.setContext(s())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(i,JSON.stringify(t.getContext()))});let l=xv(s(),t.getContext());function s(){let e=localStorage.getItem(i);return e?JSON.parse(e):{}}bW(l)||t.setContext(l)}function Et(){return x6("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}function Er(){return x6("global context")}function En(){return x6("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}let Ea="userContext",Eo="globalContext",Ei="accountContext",El="getContext",Es="setContext",Eu="setContextProperty",Ec="removeContextProperty",Ed="clearContext",Ef={FETCH:"fetch",XHR:"xhr"};function Eh(e,t,n){let o=n.getHandler(),i=Array.isArray(o)?o:[o];return Em[e]>=Em[n.getLevel()]&&i.includes(t)}let Ep={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},Em={[Ep.ok]:0,[Ep.debug]:1,[Ep.info]:2,[Ep.notice]:4,[Ep.warn]:5,[Ep.error]:6,[Ep.critical]:7,[Ep.alert]:8,[Ep.emerg]:9};function Eg(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}let Ev="http",Ey=Object.keys(Ep);class Eb{constructor(e,t,n=Ev,o=Ep.debug,i={}){this.handleLogStrategy=e,this.handlerType=n,this.level=o,this.contextManager=x6("logger"),this.tags=[],this.contextManager.setContext(i),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,n=Ep.info,o,i){let l;let s=w9(t);if(null!=o){let e=xa({originalError:o,nonErrorPrefix:"Provided",source:xi.LOGGER,handling:"handled",startClocks:wt()});l=xv({error:Eg(e,{includeMessage:!0})},e.context,s)}else l=s;this.handleLogStrategy({message:w9(e),context:l,status:n},this,i)}log(e,t,n=Ep.info,o){let i;Eh(n,Ev,this)&&(i=w0("log")),this.logImplementation(e,t,n,o,i)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}
136removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}addTag(e,t){this.tags.push(xh(e,t))}removeTagsWithKey(e){let t=xp(e);this.tags=this.tags.filter(e=>e!==t&&!e.startsWith(`${t}:`))}getTags(){return this.tags.slice()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function Ew(e){return function(t,n,o){let i;Eh(e,Ev,this)&&(i=w0("log")),this.logImplementation(t,n,e,o,i)}}function Ex(){return bq?{}:{view:{referrer:document.referrer,url:window.location.href}}}function EE(e,t,n){if(void 0===e)return[];if(!("all"===e||Array.isArray(e)&&e.every(e=>t.includes(e)))){bR.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`);return}return"all"===e?t:function(e){let t=new Set;return e.forEach(e=>t.add(e)),Array.from(t)}(e)}function EC(e,t){return"0"===t||"1"===t?t:bH(e.sessionSampleRate)?"1":"0"}!function(e,t,n,o){var i,l=arguments.length,s=l<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(s=(l<3?i(s):l>3?i(t,n,s):i(t,n))||s);l>3&&s&&Object.defineProperty(t,n,s)}([function(e,t,n){let o=n.value;n.value=function(...e){return(bY?bQ(o):o).apply(this,e)}}],Eb.prototype,"logImplementation",null),Eb.prototype.ok=Ew(Ep.ok),Eb.prototype.debug=Ew(Ep.debug),Eb.prototype.info=Ew(Ep.info),Eb.prototype.notice=Ew(Ep.notice),Eb.prototype.warn=Ew(Ep.warn),Eb.prototype.error=Ew(Ep.error),Eb.prototype.critical=Ew(Ep.critical),Eb.prototype.alert=Ew(Ep.alert),Eb.prototype.emerg=Ew(Ep.emerg);let Ek={[bT.log]:Ep.info,[bT.debug]:Ep.debug,[bT.info]:Ep.info,[bT.warn]:Ep.warn,[bT.error]:Ep.error},EM={[Ep.ok]:bT.debug,[Ep.debug]:bT.debug,[Ep.info]:bT.info,[Ep.notice]:bT.info,[Ep.warn]:bT.warn,[Ep.error]:bT.error,[Ep.critical]:bT.error,[Ep.alert]:bT.error,[Ep.emerg]:bT.error},E_=function(){let e={};return{register:(t,n)=>(e[t]||(e[t]=[]),e[t].push(n),{unregister:()=>{e[t]=e[t].filter(e=>e!==n)}}),triggerHook(t,n){let o=e[t]||[],i=[];for(let e of o){let t=e(n);if(t===xT)return xT;t!==xP&&i.push(t)}return xv(...i)}}},ES="logs",Ej=function(e){let t=function(e){let t=new b6;return{tryToInit(t){e||(e=t)},update(n){e=n,t.notify()},isGranted:()=>e===wP.GRANTED,observable:t}}(),n=function(e=function(){return new b6(e=>{let t=(t,n)=>{let o=xa({stackTrace:n,originalError:t,startClocks:wt(),nonErrorPrefix:"Uncaught",source:xi.SOURCE,handling:"unhandled"});e.notify(o)},{stop:n}=w5(bV(),"onerror",({parameters:[e,n,o,i,l]})=>{let s;xo(l)||(s=function(e,t,n,o){let i,l;if(void 0===t)return;let{name:s,message:u}=("[object String]"===({}).toString.call(e)&&([,i,l]=wJ.exec(e)),{name:i,message:l});return{name:s,message:u,stack:[{url:t,column:o,line:n}]}}(e,n,o,i)),t(l??e,s)}),{stop:o}=w5(bV(),"onunhandledrejection",({parameters:[e]})=>{t(e.reason||"Empty reason")});return()=>{n(),o()}})}){let t=new b8(500),n=e().subscribe(e=>{t.notify({type:0,error:e})});return{observable:t,stop:()=>{n.unsubscribe()}}}().observable,o=function(e,t,n){let o,i;let l=function(){let e=[];return{add:t=>{e.push(t)>500&&e.splice(0,1)},remove:t=>{xH(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}(),s=Er();x8(s,Eo,l);let u=Et();x8(u,Ei,l);let c=En();x8(c,Ea,l);let d=t.observable.subscribe(f);function f(){if(!i||!o||!t.isGranted())return;d.unsubscribe();let e=n(o,i);l.drain(e)}return{init(e,n){var l,s;if(!e){bR.error("Missing configuration");return}if(Array.isArray(l=e.enableExperimentalFeatures)&&function(e){e.forEach(e=>{wB.add(e)})}(l.filter(e=>bB(Oo,e))),x_()&&(e={...e,clientToken:"empty"}),o=e,s=function(e){let t={session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_anonymous_user:e.trackA
136nonymousUser,session_persistence:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent,use_allowed_tracking_origins:Array.isArray(e.allowedTrackingOrigins),beta_encode_cookie_options:e.betaEncodeCookieOptions,source:e.source,sdk_version:e.sdkVersion,variant:e.variant};return{forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,...t}}(e),xD().notify({rawEvent:{type:xN,configuration:s}}),i){xl("DD_LOGS",e);return}let u=function(e,t){!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&bR.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");let n=function(e,t){var n,o,i,l,s,u,c,d,f,h,p;if(!e||!e.clientToken){bR.error("Client Token is not configured, we will not send any data.");return}if(void 0!==e.allowedTrackingOrigins&&!Array.isArray(e.allowedTrackingOrigins)){bR.error("Allowed Tracking Origins must be an array");return}if(!(!(!(p=e.site)||"string"!=typeof p||/(datadog|ddog|datad0g|dd0g)/.test(p)||(bR.error(`Site should be a valid Datadog site. ${bz} ${b$}/getting_started/site/.`),0))||!wH(e.sessionSampleRate,"Session")||!wH(e.telemetrySampleRate,"Telemetry")||!wH(e.telemetryConfigurationSampleRate,"Telemetry Configuration")||!wH(e.telemetryUsageSampleRate,"Telemetry Usage")||!wI(e.version,"Version")||!wI(e.env,"Env")||!wI(e.service,"Service")||!function(e,t,n="u">typeof location?location.origin:""){let o=e.allowedTrackingOrigins;if(!o)return!function(e,t=""){return!wR(e)&&wR(t.split(` 137`).filter(e=>{let t=e.trim();return t.length&&/^at\s+|@/.test(t)})[1]||"")}(n,t)||(bR.error("Running the Browser SDK in a Web extension content script is forbidden unless the `allowedTrackingOrigins` option is provided."),!1);let i=function(e,t,n=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"==typeof e)return n?t.startsWith(e):e===t}catch(e){bR.error(e)}return!1})}(o,n);return i||bR.error("SDK initialized on a non-allowed domain."),i}(e,t??""))){if(void 0!==e.trackingConsent&&!bB(wP,e.trackingConsent)){bR.error('Tracking Consent should be either "granted" or "not-granted"');return}return{beforeSend:e.beforeSend&&bI(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:bq?void 0:function(e){switch(e.sessionPersistence){case wm.COOKIE:return wE(e);case wm.LOCAL_STORAGE:return w_();case void 0:{let t=wE(e);return!t&&e.allowFallbackToLocalStorage&&(t=w_()),t}default:bR.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}(e),sessionSampleRate:null!==(n=e.sessionSampleRate)&&void 0!==n?n:100,telemetrySampleRate:null!==(o=e.telemetrySampleRate)&&void 0!==o?o:20,telemetryConfigurationSampleRate:null!==(i=e.telemetryConfigurationSampleRate)&&void 0!==i?i:5,telemetryUsageSampleRate:null!==(l=e.telemetryUsageSampleRate)&&void 0!==l?l:5,service:null!==(s=e.service)&&void 0!==s?s:void 0,env:null!==(u=e.env)&&void 0!==u?u:void 0,version:null!==(c=e.version)&&void 0!==c?c:void 0,datacenter:null!==(d=e.datacenter)&&void 0!==d?d:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!==(f=e.trackingConsent)&&void 0!==f?f:wP.GRANTED,trackAnonymousUser:null===(h=e.trackAnonymousUser)||void 0===h||h,storeContextsAcrossPages:!!e.storeContextsAcrossPages,betaEncodeCookieOptions:!!e.betaEncodeCookieOptions,variant:e.variant,sdkVersion:e.sdkVersion,...function(e){var t,n;let o=e.site||w$,i="flutter"===(t=e.source)||"unity"===t?t:"browser",l={logsEndpointBuilder:wz(n={...e,site:o,source:i},"logs"),rumEndpointBuilder:wz(n,"rum"),profilingEndpointBuilder:wz(n,"profile"),sessionReplayEndpointBuilder:wz(n,"replay"),exposuresEndpointBuilder:wz(n,"exposures"),flagEvaluationEndpointBuilder:wz(n,"flagevaluation")};return{replica:function(e){if(!e.replica)return;let t={...e,site:w$,clientToken:e.replica.clientToken};return{logsEndpointBuilder:wz(t,"logs"),rumEndpointBuilder:wz(t,"rum",[`application.id=${e.replica.applicationId}`])}}({...e,site:o,source:i}),site:o,source:i,...l}}(e)}}}(e,t),o=EE(e.forwardConsoleLogs,wp(bT),"Forward Console Logs"),i=EE(e.forwardReports,wp(xu),"Forward Reports");if(!(!n||!o||!i))return e.forwardErrorsToLogs&&!o.includes(bT.error)&&o.push(bT.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:o,forwardReports:i,requestErrorResponseLengthLimit:32768,...n}}(e,n);u&&(i=u,x0().subscribe(wn),t.tryToInit(u.trackingConsent),f())},get initConfiguration(){return o},globalContext:s,accountContext:u,userContext:c,getInternalContext:wn,handleLog(t,n,o,i=e(),s=b9()){l.add(e=>e.handleLog(t,n,o,i,s))}}}(Ex,t,(i,l)=>{let s=e(l,Ex,t,n);return o={init:e=>{xl("DD_LOGS",e)},initConfiguration:i,...s},s}),i=()=>o,l={};return function(e){let t={version:"6.25.0",onReady(e){e()},...e};return Object.defineProperty(t,"_setDebug",{get:()=>bK,enumerable:!1}),t}({logger:new Eb((...e)=>o.handleLog(...e)),init:e=>{let t=Error().stack;bX(()=>o.init(e,t))},setTrackingConsent:bQ(e=>{var n;t.update(e),n={feature:"set-tracking-consent",tracking_consent:e},xD().notify({rawEvent:{type:xF,usage:n}})}),getGlobalContext:x7(i,Eo,El),setGlobalContext:x7(i,Eo,Es),setGlobalContextProperty:x7(i,Eo,Eu),removeGlobalContextProperty:x7(i,Eo,Ec),clearGlobalContext:x7(i,Eo,Ed),createLogger:bQ((e,t={})=>(l[e]=new Eb((...e)=>o.handleLog(...e),w9(e),t.handler,t.level,w9(t.context)),l[e])),getLogger:bQ(e=>l[e]),getInitConfiguration:bQ(()=>xg(void 0,o.initConfiguration)),getInternalContext:bQ(e=>o.getInternalContext(e)),setUser:x7(i,Ea,Es),getUser:x7(i,Ea,El),setUserProperty:x7(i,Ea,Eu),removeUserProperty:x7(i,Ea,Ec),clearUser:x7(i,Ea,Ed),setAccount:x7(i,Ei,Es),getAccount:x7(i,Ei,El),setAccountProperty:x7(i,Ei,Eu),removeAccountProperty:x7(i,Ei,Ec),clearAccount:x7(i,Ei,Ed
137)})}(function(e,t,n,o){var i,s,u;let c=new xZ,d=E_(),f=[];c.subscribe(1,e=>xm("logs",e));let h=e=>{c.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:xi.AGENT,status:Ep.error}}),xz("Error reported to customer",{"error.message":e.message})},m=bq?new b6:new b6(t=>{let{stop:n}=xs(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:xS.HIDDEN}):"freeze"===e.type&&t.notify({reason:xS.FROZEN})},{capture:!0}),o=xs(e,window,["beforeunload"],()=>{t.notify({reason:xS.UNLOADING})},void 0).stop;return()=>{n(),o()}}),g=function(e,t,n,o,i,l){let s=new b6,{stop:u}=function(e,t,n,o,i){let l=[];if(x_()){let e=xM(),t=i.subscribe(t=>e.send("internal_telemetry",t));l.push(t.unsubscribe)}else{let s=[e.rumEndpointBuilder];e.replica&&"datad0g.com"===e.site&&s.push(e.replica.rumEndpointBuilder);let u=xj({encoder:o(4),request:xE(s,t),flushController:xA({pageMayExitObservable:n,sessionExpireObservable:new b6})});l.push(u.stop);let c=i.subscribe(u.add);l.push(c.unsubscribe)}return{stop:()=>l.forEach(e=>e())}}(t,o,i,l,s),{enabled:c,metricsEnabled:d}=function(e,t,n,o,i=1,l=15){var s;let u={},c=!x$.includes(t.site)&&bH(t.telemetrySampleRate),d={log:c,[xN]:c&&bH(t.telemetryConfigurationSampleRate),[xF]:c&&bH(t.telemetryUsageSampleRate),metric:c&&bH(i)},f={is_local_file:(null===(s=bU.location)||void 0===s?void 0:s.protocol)==="file:",is_worker:bq},h=xD();return h.subscribe(({rawEvent:i,metricName:s})=>{if(s&&!d.metric||!d[i.type])return;let c=s||i.status||i.type,h=u[c];if(h||(h=u[c]=new Set),h.size>=l)return;let p=w7(i);if(h.has(p))return;let m=n.triggerHook(1,{startTime:wt().relative});if(m===xT)return;let g=function(e,n,o,i){let l={type:"telemetry",date:wt().timeStamp,service:n,version:"6.25.0",source:"browser",_dd:{format_version:2},telemetry:xv(o,{runtime_env:i,connectivity:function(){var e;let t=bU.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null===(e=t.connection)||void 0===e?void 0:e.effectiveType}}(),sdk_setup:"npm"}),ddtags:xf(t).join(","),experimental_features:Array.from(wB)};return xv(l,e)}(m,e,i,f);o.notify(g),xm("telemetry",g),h.add(p)}),h.unbuffer(),bY=xI,{enabled:c,metricsEnabled:d.metric}}(e,t,n,s);return{stop:u,enabled:c,metricsEnabled:d}}("browser-logs-sdk",e,d,h,m,xY);f.push(g.stop);let v=!e.sessionStoreStrategyType||x_()||xU()?function(e){let t="1"===EC(e)?{}:void 0;return{findTrackedSession:()=>t,expireObservable:new b6}}(e):function(e,t){let n=function(e,t,n,o){var i;let s=new b6,u=new b6,c=function(e,t,n,o,i=function(e,t){return e.type===wm.COOKIE?function(e,t){let n={isLockEnabled:0===(l??(l=function(e=window){var t;let n=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(n)?0:(null===(t=e.navigator.vendor)||void 0===t?void 0:t.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?1:2}())),persistSession:n=>wC(t,e,n,9e5),retrieveSession:()=>wk(t,e),expireSession:n=>wC(t,e,wv(n,e),144e5)};return function(e){if(!wd(wh)){let t=wd("_dd"),n=wd("_dd_r"),o=wd("_dd_l"),i={};t&&(i.id=t),o&&/^[01]$/.test(o)&&(i.logs=o),n&&/^[012]$/.test(n)&&(i.rum=n),bW(i)||(wb(i),e.persistSession(i))}}(n),n}(t,e.cookieOptions):{isLockEnabled:!1,persistSession:wS,retrieveSession:wj,expireSession:e=>(function(e,t){wS(wv(e,t))})(e,t)}}(e,t)){var s;let u,c,d,f;let h=new b6,p=new b6,m=new b6,g=b3(function(){let e=i.retrieveSession();wy(e)?wL({process:e=>wy(e)?wv(e,t):void 0,after:b},i):b(e)},1e3);w();let{throttled:v,cancel:y}=(s=()=>{wL({process:e=>{if(bW(e))return;let t=b(e);return function(e){if(bW(e))return 0;let t=o(e[n]);e[n]=t,delete e.isExpired,"0"===t||e.id||(e.id=wa(),e.created=String(b9()))}(t),t},after:e=>{bW(e)||x()||(u=e,h.notify()),u=e}},i)},c=!1,{throttled:(...e)=>{if(c){d=e;return}s(...e),c=!0,f=b0(()=>{d&&s(...d),c=!1,d=void 0},1e3)},cancel:()=>{b2(f),c=!1,d=void 0}});function b(e){var o;return wy(e)&&(e=wv(e,t)),x()&&((o=e,u.id!==o.id||u[n]!==o[n])?(u=wv(u,t),p.notify()):(m.notify({previousState:u,newState:e}),u=e)),e}function w(){wL({process:e=>{if(bW(e))return e.anonymousId=wa(),wv(e,t)},after:e=>{u=e}},i)}function x(){return u?.[n]!==void 0}return{expandOrRenewSession:v,expandSession:function(){wL({process:e=>x()?b(e):void 0},i)},getSession:()=>
137u,renewObservable:h,expireObservable:p,sessionStateUpdateObservable:m,restartSession:w,expire:e=>{y(),!1===e&&u&&delete u.anonymousId,i.expireSession(u),b(wv(u,t))},stop:()=>{b5(g)},updateSessionState:function(e){wL({process:t=>({...t,...e}),after:b},i)}}}(e.sessionStoreStrategyType,e,t,n),d=function({expireDelay:e,maxEntries:t}){let n=[];xW||(xW=b3(()=>void xV.forEach(e=>e()),6e4));let o=()=>{let t=we()-e;for(;n.length>0&&n[n.length-1].endTime<t;)n.pop()};return xV.add(o),{add:function(e,o){let i={value:e,startTime:o,endTime:xB,remove:()=>{xH(n,i)},close:e=>{i.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(i),i},find:function(e=xB,t={returnInactive:!1}){for(let o of n)if(o.startTime<=e){if(t.returnInactive||e<=o.endTime)return o.value;break}},closeActive:function(e){let t=n[0];t&&t.endTime===xB&&t.close(e)},findAll:function(e=xB,t=0){let o=e+t;return n.filter(t=>t.startTime<=o&&e<=t.endTime).map(e=>e.value)},reset:function(){n=[]},stop:function(){xV.delete(o),0===xV.size&&xW&&(b5(xW),xW=null)}}}({expireDelay:144e5});if(c.renewObservable.subscribe(()=>{d.add(f(),we()),s.notify()}),c.expireObservable.subscribe(()=>{u.notify(),d.closeActive(we())}),c.expandOrRenewSession(),d.add(f(),{relative:0,timeStamp:wr()}.relative),i=Oo.SHORT_SESSION_INVESTIGATION,wB.has(i)){let t=c.getSession();t&&function(e,t){if(!window.cookieStore||!t.created)return;let n=Number(t.created),o=b9(),{stop:i}=xs(e,cookieStore,["change"],function(e){let l=function(e,t){for(let n=e.length-1;n>=0;n-=1){let o=e[n];if(t(o,n,e))return o}}(e.changed,e=>e.name===wh);if(!l)return;let s=b9()-n;if(s>84e4)i();else{let e=wx(l.value);if(e.id&&e.id!==t.id){i();let n=b9()-o;xG().then(o=>{xz("Session cookie changed",{time:n,session_age:s,old:t,new:e,cookie:o})}).catch(bJ)}}},void 0)}(e,t)}function f(){let n=c.getSession();return n?{id:n.id,trackingType:n[t],isReplayForced:!!n.forcedReplay,anonymousId:n.anonymousId}:(xq(e).catch(()=>{}),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}return o.observable.subscribe(()=>{o.isGranted()?c.expandOrRenewSession():c.expire(!1)}),function(e,t){let{stop:n}=xs(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0})}(e,()=>{o.isGranted()&&c.expandOrRenewSession()}),function(e,t){let n=()=>{"visible"===document.visibilityState&&t()},{stop:o}=xs(e,document,["visibilitychange"],n,void 0);b3(n,6e4)}(e,()=>c.expandSession()),function(e,t){let{stop:n}=xs(e,window,["resume"],t,{capture:!0})}(e,()=>c.restartSession()),{findSession:(e,t)=>d.find(e,t),renewObservable:s,expireObservable:u,sessionStateUpdateObservable:c.sessionStateUpdateObservable,expire:c.expire,updateSessionState:c.updateSessionState}}(e,"logs",t=>EC(e,t),t);return{findTrackedSession:(e,t={returnInactive:!1})=>{let o=n.findSession(e,t);return o&&"1"===o.trackingType?{id:o.id,anonymousId:o.anonymousId}:void 0},expireObservable:n.expireObservable}}(e,n);(function(e,t){function n(){return t.isGranted()?xP:xT}e.register(0,n),e.register(1,n)})(d,n),d.register(0,({startTime:t})=>{let n=v.findTrackedSession(t);return v.findTrackedSession(t,{returnInactive:!0})?{service:e.service,session_id:n?n.id:void 0,session:n?{id:n.id}:void 0}:xT}),d.register(1,({startTime:e})=>{let t=v.findTrackedSession(e);return t&&t.id?{session:{id:t.id}}:xP});let y=function(e,t,n){let o=Et();return t.storeContextsAcrossPages&&Ee(t,o,n,4),e.register(0,()=>{let e=o.getContext();return bW(e)||!e.id?xP:{account:e}}),o}(d,e,ES),b=function(e,t,n,o){let i=En();return t.storeContextsAcrossPages&&Ee(t,i,o,1),e.register(0,({eventType:e,startTime:o})=>{let l=i.getContext(),s=n.findTrackedSession(o);return s&&s.anonymousId&&!l.anonymous_id&&t.trackAnonymousUser&&(l.anonymous_id=s.anonymousId),bW(l)?xP:{type:e,usr:l}}),e.register(1,({startTime:e})=>{var t;return{anonymous_id:null===(t=n.findTrackedSession(e))||void 0===t?void 0:t.anonymousId}}),i}(d,e,v,ES),w=function(e,t,n,o){let i=Er();return t.storeContextsAcrossPages&&Ee(t,i,n,2),e.register(0,()=>i.getContext()),i}(d,e,ES);(function(e){function t(e){let t=function(e,t){if(t&&t.getInternalContext)return t.getInternalContext(e)}(e,xU()?bU.DD_RUM_SYNTHETICS:bU.DD_RUM);if(t)return t}e.register(0,({startTime:e})=>t(e)||xP),e.register(1,({startTime:e})=>{var n,o;let i=t(e);return i?{application:{id:i.application_id},view:{id:null===(n=i.view)||void 0===n?void 0:n.id},action:{id:null===(o=i.user_action)||void 0===o?void 0:o.id}}:xP})})(d),function(e,t){function n(e){var t;return t=e.url,!wD.every(e=>t.includes(e))&&(0===e.status&&"opaque"!==e.responseType||e.status>=500)}function o(o,i){if(!n(i))return;let l="error"in i&&i.error?w2(wW(i.error)):i.responseBody||"Failed to load",s={isAborted:i.isAborted,handlingStack:i.handlingStack};t.notify(0,{rawLogsEvent:{message:`${Ef.XHR===o?"XHR":"Fetch"} error ${i.method} ${i.url}`,date:i.startClocks.timeStamp,error:{stack:wi(l,e.requestErrorResponseLengthLimit,"..."),handling:void 0},http:{method:i.method,status_code:i.status,url:i.url},status:Ep.error,origin:xi.NETWORK},domainContext:s})}e.forwardErrorsToLogs&&((bq?new b6:(p||(p=new b6(t=>{let{stop:n}=w5(XMLHttpRequest.prototype,"open",xQ),{stop:o}=w5(XMLHttpRequest.prototype,"send",n=>{(function({target:e,parameters:[t],handlingStack:n},o,i){let l=xK.get(e);if(!l)return;l.state="start",l.startClocks=wt(),l.isAborted=!1,l.xhr=e,l.handlingStack=n,l.requestBody=t;let s=!1,{stop:u}=w5(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&c()}),c=()=>{var t;d(),u(),s||(s=!0,l.state="complete",l.duration=(t=l.startClocks.timeStamp,b9()-t),l.status=e.status,"string"==typeof e.response&&(l.responseBody=e.response),i.notify({...l}))},{stop:d}=xs(o,e,["loadend"],c,void 0);i.notify(l)})(n,e,t)},{computeHandlingStack:!0}),{stop:i}=w5(XMLHttpRequest.prototype,"abort",xX);return()=>{n(),o(),i()}})),p)).subscribe(e=>{"complete"===e.state&&o(Ef.XHR,e)}),x0({responseBodyAction:e=>n(e)?2:0}).subscribe(e=>{"resolve"===e.state&&o(Ef.FETCH,e)}))}(e,c),i=e,s=c,u=o,i.forwardErrorsToLogs&&u.subscribe(e=>{if(0===e.type){let t=e.error;s.notify(0,{rawLogsEvent:{message:t.message,date:t.startClocks.timeStamp,error:Eg(t),origin:xi.SOURCE,status:Ep.error},messageContext:t.context})}}),o.unbuffer(),function(e,t){b7(...e.forwardConsoleLogs.map(e=>(x3[e]||(x3[e]=new b6(t=>{let n=bP[e];return bP[e]=(...o)=>{n.apply(console,o);let i=w0("console error");bX(()=>{t.notify(function(e,t,n){let o=e.map(e=>"string"==typeof e?w9(e):xo(e)?w3(wW(e)):w7(w9(e),void 0,2)).join(" ");if(t===bT.error){let i=xa({originalError:e.find(xo),handlingStack:n,startClocks:wt(),source:xi.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return i.message=o,{api:t,message:o,handlingStack:n,error:i}}return{api:t,message:o,error:void 0,handlingStack:n}}(o,e,i))})},()=>{bP[e]=n}})),x3[e]))).subscribe(e=>{var n;let o={rawLogsEvent:{date:b9(),message:e.message,origin:xi.CONSOLE,error:e.error&&Eg(e.error),status:Ek[e.api]},messageContext:null===(n=e.error)||void 0===n?void 0:n.context,domainContext:{handlingStack:e.handlingStack}};t.notify(0,o)})}(e,c),function(e,t){(function(e,t){let n=[];t.includes(xu.cspViolation)&&n.push(new b6(t=>{let{stop:n}=xs(e,document,["securitypolicyviolation"],e=>{t.notify(function(e){let t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return xc({type:e.effectiveDirective,message:`${xu.cspViolation}: ${t}
137`,originalError:e,csp:{disposition:e.disposition},stack:xd(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${wi(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(e))},void 0);return n}));let o=t.filter(e=>e!==xu.cspViolation);return o.length&&n.push(new b6(e=>{if(!window.ReportingObserver)return;let t=bQ((t,n)=>t.forEach(t=>e.notify(function(e){let{type:t,body:n}=e;return xc({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:xd(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t)))),n=new window.ReportingObserver(t,{types:o,buffered:!0});return n.observe(),()=>{n.disconnect()}})),b7(...n)})(e,e.forwardReports).subscribe(e=>{var n,o;let i=e.message,l,s="deprecation"===e.originalError.type?Ep.warn:Ep.error;s===Ep.error?l=Eg(e):e.stack&&(i+=` Found in ${n=e.stack,null===(o=/@ (.+)/.exec(n))||void 0===o?void 0:o[1]}`),t.notify(0,{rawLogsEvent:{date:b9(),message:i,origin:xi.REPORT,error:l,status:s}})})}(e,c);let{handleLog:x}={handleLog:function(e,t,n,o,i){let l=xv(t.getContext(),e.context);if(Eh(e.status,"console",t)&&function({status:e,message:t},n){bN[EM[e]].call(bP,t,n)}(e,l),Eh(e.status,Ev,t)){let s={rawLogsEvent:{date:i||b9(),message:e.message,status:e.status,origin:xi.LOGGER},messageContext:l,savedCommonContext:o,ddtags:t.getTags()};n&&(s.domainContext={handlingStack:n}),c.notify(0,s)}}};if(function(e,t,n,o,i,l){let s=Ey.concat(["custom"]),u={};s.forEach(e=>{u[e]=function(e,t,n=3e3){let o=0,i=!1;return{isLimitReached(){if(0===o&&b0(()=>{o=0},6e4),(o+=1)<=n||i)return i=!1,!1;if(o===n+1){i=!0;try{t({message:`Reached max number of ${e}s by minute: ${n}`,source:xi.AGENT,startClocks:wt()})}finally{i=!1}}return!0}}}(e,i,void 0)}),t.subscribe(0,({rawLogsEvent:i,messageContext:l,savedCommonContext:s,domainContext:c,ddtags:d=[]})=>{var f,h;let p=i.date-wr(),m=s||o(),g=n.triggerHook(0,{startTime:p});if(g===xT)return;let v=xf(e),y=xv({view:m.view},g,i,l,{ddtags:v.concat(d).join(",")});(null===(f=e.beforeSend)||void 0===f?void 0:f.call(e,y,c))===!1||y.origin!==xi.AGENT&&(null!==(h=u[y.status])&&void 0!==h?h:u.custom).isLimitReached()||t.notify(1,y)})}(e,c,d,t,h),x_())!function(e){let t=xM();e.subscribe(1,e=>{t.send("log",e)})}(c);else{let{stop:t}=function(e,t,n,o,i){let l=[e.logsEndpointBuilder];e.replica&&l.push(e.replica.logsEndpointBuilder);let s=xj({encoder:xY(),request:xE(l,n),flushController:xA({pageMayExitObservable:o,sessionExpireObservable:i.expireObservable})});return t.subscribe(1,e=>{s.add(e)}),s}(e,c,h,m,v);f.push(()=>t())}return{handleLog:x,getInternalContext:e=>{let t=v.findTrackedSession(e);if(t)return{session_id:t.id}},accountContext:y,globalContext:w,userContext:b,stop:()=>{f.forEach(e=>e())}}});!function(e,t,n){let o=e[t];o&&!o.q&&o.version&&bR.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,o&&o.q&&o.q.forEach(e=>bI(e,"onReady callback threw an error:")())}(bV(),"DD_LOGS",Ej),Ej.init({clientToken:"pub27e26a0b618ba21ed2496cf244026ba7",site:"datadoghq.com",service:"tickets-web-monorepo",env:"production",sessionSampleRate:100});class EO{log(e){Ej.logger.log(e.message,{level:e.level,...e.data})}}class EL{constructor(e){this.loggerClient=e}static instance;static getInstance(e){return this.instance||(this.instance=new EL(e)),this.instance}log(e,t,n){this.loggerClient.log({level:e,message:t,data:n})}fatal(e,t){this.log("fatal",e,t)}error(e,t){this.log("error",e,t)}warn(e,t){this.log("warn",e,t)}info(e,t){this.log("info",e,t)}debug(e,t){this.log("debug",e,t)}trace(e,t){this.log("trace",e,t)}}let EA=new EO,ET=EL.getInstance(EA);async function EP({page:e=1,perPage:t=15}){let{data:n}=await hT.get("orders",{page:e,per_page:t});return n}let EN=hL("https://courtesy-services-api.zig.tickets"),EF={get:(e,t)=>EN.get(e,t),post:(e,t,n)=>EN.post(e,t,n)},ER={CORTESIA_NAO_ENCONTRADA:"CORTESIA_NAO_ENCONTRADA",CORTESIA_JA_RESGATADA:"CORTESIA_JA_RESGATADA",CORTESIA_EXPIRADA:"CORTESIA_EXPIRADA",CORTESIA_CANCELADA:"CORTESIA_CANCELADA",RATE_LIMIT_EXCEDIDO:"RATE_LIMIT_EXCEDIDO",OTP_INVALIDO:"OTP_INVALIDO",OTP_EXPIRADO:"OTP_EXPIRADO",CONFIRMACAO_NAO_INICIADA:"CONFIRMACAO_NAO_INICIADA",RESEND_LIMIT_EXCEDIDO:"RESEND_LIMIT_EXCEDIDO",CONNECTION_ERROR:"CONNECTION_ERROR",SERVER_ERROR:"SERVER_ERROR",UNKNOWN:"UNKNOWN"};async function E$(e){let{data:t}=await EF.get(`/courtesies/by-token/${encodeURIComponent(e)}`);return t}async function ED(e){let{data:t}=await EF.post("/courtesies/redeem",{token:e});return t}async function Ez(e,t){let{data:n}=await EF.post("/courtesies/confirm",{token:e,otp:t});return n}async function EI(e){let{data:t}=await EF.post("/courtesies/confirm/resend",{token:e});return t}function EH(e){if(!(e instanceof hv))return ER.CONNECTION_ERROR;let t=e.data?.error||e.data?.code;return t&&t in ER?ER[t]:404===e.status?ER.CORTESIA_NAO_ENCONTRADA:409===e.status?ER.CORTESIA_JA_RESGATADA:410===e.status?ER.CORTESIA_EXPIRADA:429===e.status?ER.RATE_LIMIT_EXCEDIDO:408===e.status?ER.CONNECTION_ERROR:"number"==typeof e.status&&e.status>=500?ER.SERVER_ERROR:ER.UNKNOWN}function EB(e){return e===ER.RATE_LIMIT_EXCEDIDO}function EW(e){return e instanceof hv&&401===e.status}let EV={CORTESIA_NAO_ENCONTRADA:404,CORTESIA_JA_RESGATADA:409,CORTESIA_EXPIRADA:410,CORTESIA_CANCELADA:410,RATE_LIMIT_EXCEDIDO:429,OTP_INVALIDO:400,OTP_EXPIRADO:410,CONFIRMACAO_NAO_INICIADA:400,RESEND_LIMIT_EXCEDIDO:429,CONNECTION_ERROR:null,SERVER_ERROR:500,UNKNOWN:null};function EU({slug:e,initialData:t,params:n}){let{data:o,isLoading:i,isSuccess:l,isError:s}=(0,O.useQuery)({queryKey:["event-tickets",e,n?.d,n?.s],queryFn:()=>y7(e,n),initialData:t,enabled:!!e}),u=(0,M.useMemo)(()=>
137{if(o?.minimum_ticket_value)return o.minimum_ticket_value;if(!o?.availables?.length)return null;let e=o?.availables,t=e[0].value;for(let n=1;n<e.length;n+=1)e[n].value<t&&(t=e[n].value);return t},[o?.availables,o?.minimum_ticket_value]);return{data:o,minimumTicketValue:u,isLoading:i,isSuccess:l,isError:s}}let Eq=(0,M.createContext)({}),EG=7776e3;function EY({children:e}){let{newEvents:t}=Q(),[n,o]=(0,M.useState)([]),[i,l]=(0,M.useState)(null),[s,u]=(0,M.useState)(""),[c,d]=(0,M.useState)(""),f=(0,M.useCallback)(e=>{u(e),c1.setCookie("zig.selected_state",e,{maxAge:EG,path:"/"}),d(v9(e)||"")},[]),h=(0,M.useCallback)(e=>{let t=c1.getCookie("zig.selected_state");if(t){u(t),d(v9(t)||"");return}if(e){let t=hZ(e)??"";u(t),d(v9(t)||"")}},[]),p=(0,M.useCallback)(async()=>{try{let e=c1.getCookie("zig.ip_location");if(e){let t=JSON.parse(e);l(t),h(t?.region);return}let t=await ba();l(t),c1.setCookie("zig.ip_location",JSON.stringify(t),{maxAge:EG,path:"/"}),h(t?.region)}catch(e){mb(e,{showToast:!1})}},[h]);(0,M.useEffect)(()=>{t?.states&&o(t.states.map(e=>hZ(e)).filter(e=>!!e))},[t]),(0,M.useEffect)(()=>{p()},[p]);let m=(0,M.useMemo)(()=>({searchedStates:n,selectedState:s,selectedStateAbbreviation:c,userIpLocation:i,onSelectedState:f}),[n,s,c,i,f]);return $.jsx(Eq.Provider,{value:m,children:e})}function EZ(){return(0,M.useContext)(Eq)}function EK(){let[e,t]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{function e(){t(window.scrollY>0)}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),{scrolling:e}}let EQ=(e,t,n)=>({queryKey:["session-tickets-by-session",e,t,n?.d,n?.s],queryFn:()=>y6(e,t,n)}),EX=e=>{let t=(0,O.useQueryClient)();return{preloadMultipleSessions:async(n,o)=>{let i=o.map(o=>t.prefetchQuery(EQ(n,o,e)));await Promise.all(i)},fetchSessionsTickets:async(n,o)=>(await Promise.all(o.map(async o=>{let i=await t.ensureQueryData(EQ(n,o,e));return[Number(o),i]}))).reduce((e,[t,n])=>(n&&(e[t]=n),e),{})}},EJ=e=>Object.values(e).reduce((e,t)=>(t.tickets.forEach(t=>{void 0===e[t.sector_lot_id]&&(e[t.sector_lot_id]=t.lot_available)}),e),{}),E1=e=>{let t={};return e.forEach((e,n)=>{t[n]=e}),t},E0=(e,t)=>{switch(t.type){case"TOGGLE_SESSION":{if(!t.session)return e;let{session:n}=t;return e[n.id]?(({[n.id]:e,...t})=>t)(e):{...e,[n.id]:n}}case"TOGGLE_PASSPORT":{if(!t.sessions?.length)return e;let n=t.sessions.every(t=>!!e[t.id]),o={...e};return t.sessions.forEach(e=>{n?delete o[e.id]:o[e.id]=e}),o}case"SET_SESSIONS":return t.sessions?t.sessions.reduce((e,t)=>(e[t.id]=t,e),{}):e;default:return e}},E2=(e,t)=>{switch(t.type){case"ADD_TICKET":{let n=yA(t.ticket.id,t.session);return{...e,[n]:{quantity:(e[n]?.quantity||0)+1,session:t.session,name:t.ticket.name,ticketData:t.ticket}}}case"REMOVE_TICKET":{let n=yA(t.ticket.id,t.session),o=e[n]?.quantity||0;if(o<=1){let t={...e};return delete t[n],t}return{...e,[n]:{...e[n],quantity:o-1,ticketData:t.ticket}}}case"SET_TICKET_QUANTITY":{let n=yA(t.ticket.id,t.session);if(!t.quantity||t.quantity<=0){let t={...e};return delete t[n],t}return{...e,[n]:{quantity:t.quantity,session:t.session,available:t.ticket.available>0,name:t.ticket.name,ticketData:t.ticket}}}case"CLEAR_STATE":return{};case"UPDATE_TICKET_DATA":{if(!t.tickets)return e;let n={...e};return Object.keys(n).forEach(e=>{let o=n[e];if(o.ticketData){let i=t.tickets.find(e=>e.id===o.ticketData.id);i&&(e===yA(o.ticketData.id,t.session)?n[e]={...o,ticketData:i}:n[e]={...o,ticketData:{...o.ticketData,available:i.available,lot_available:i.lot_available}})}}),n}case"SYNC_TICKET_DATA_BY_SESSION":{if(!t.ticketsBySession)return e;let n=!1,o={...e};return Object.keys(o).forEach(e=>{let i=o[e],l=i.session?.time?.id;if(!i.ticketData||null==l)return;let s=t.ticketsBySession[l];if(!s)return;let u=s.find(e=>e.id===i.ticketData.id);u&&(o[e]={...i,ticketData:u},n=!0)}),n?o:e}default:return e}},E3=(0,M.createContext)({});function E5({children:e,eventSlug:t}){let n=(0,_.useRouter)(),{code:o,cupom:i}=n.query,[l,s]=(0,M.useReducer)(E2,{}),[u,c]=(0,M.useReducer)(E0,{}),[d,f]=(0,M.useState)(void 0),[h,p]=(0,M.useState)(i||o||""),[m,g]=(0,M.useState)(!1),[v,y]=(0,M.useState)(!1),[b,w]=(0,M.useState)([]),[x,E]=(0,M.useState)(!1),[C,k]=(0,M.useState)(null),[S,j]=(0,M.useState)({date:null,time:null}),L=n.locale??"pt-BR",A=yu[L],T="en-US"===L?"eeee - MMMM dd, yyyy":"eeee - dd 'de' MMMM 'de' yyyy",{data:P,isLoading:N,isSuccess:F,minimumTicketValue:R}=EU({slug:t,params:{d:h,s:o}}),D=(0,M.useMemo)(()=>P?.sessions,[P]),[z,I]=(0,M.useState)(()=>
137{if(!D)return;let e=new Map;return D.flatMap(e=>e.session_tickets).forEach(t=>{e.has(t.session_sector_lot_id)||e.set(t.session_sector_lot_id,t.session_lot_available)}),e}),{data:H,isLoading:B}=function({slug:e,sessionId:t,params:n}){let{data:o,isSuccess:i,isError:l,isLoading:s}=(0,O.useQuery)({...EQ(e,t,n),enabled:!!e});return{data:o,isLoading:s,isSuccess:i,isError:l}}({slug:t,sessionId:S.time?.id,params:{d:h,s:o}});(0,M.useEffect)(()=>{let e=i||o;e&&e!==h&&p(e)},[i,o]),(0,M.useEffect)(()=>{P?.steward?(f(P.steward),!h&&P.steward.has_discount&&P.steward.discount&&p(P.steward.discount)):d&&h!==d.discount&&f(void 0)},[P?.steward,d,h]),(0,M.useEffect)(()=>{(P?.availables||P?.unavailables)&&w(P.availables.concat(P.unavailables??[]))},[P]),(0,M.useEffect)(()=>{S.time?.id&&w([])},[S.time?.id]),(0,M.useEffect)(()=>{s({type:"CLEAR_STATE",ticket:{},session:{}})},[t]);let W=(0,M.useMemo)(()=>{if(!D)return;let e=new Map;return D?.forEach(t=>{t.session_tickets.forEach(n=>{e.set(`${n.ticket_type_id}-${t.id}`,n.session_sector_lot_id)})}),e},[D]),U=(0,M.useMemo)(()=>{if(!(!D||!S.time||!D.find(e=>e.id===S.time?.id)))return H?H.available.concat(H.unavailable):[]},[D,S.time,H]),q=(0,M.useMemo)(()=>{let e=[...P?.availables?.filter(e=>1===e.is_passport)||[],...P?.unavailables?.filter(e=>1===e.is_passport)||[]];return S.time?.id&&U?.length?[...U,...e]:P?.availables||P?.unavailables?P.availables.concat(P.unavailables??[]):b},[P,b,S.time?.id,U]);(0,M.useEffect)(()=>{q&&q.length>0&&s({type:"UPDATE_TICKET_DATA",ticket:{},session:S,tickets:q})},[q]);let G=(0,M.useMemo)(()=>{if(!D)return;let e=new Date;return S.date?.day?D.filter(t=>{let n=t.start_date.split("T")[0],o=new Date(t.end_sales_date);return n===S.date?.day&&o>e}):D.filter(t=>new Date(t.end_sales_date)>e)},[D,S.date]);(0,M.useEffect)(()=>{if(!U){I(void 0);return}I(e=>{let t=new Map;return e&&e.forEach((e,n)=>{t.set(n,e)}),U?.forEach(e=>{t.set(e.sector_lot_id,e.lot_available)}),t})},[U]);let Y=(0,M.useMemo)(()=>Object.entries(l).map(([e,t])=>{if(t.ticketData){let n=null,o=e.match(/^ticket_type_id-(\d+)-date_id-(\d+)-time_id-(\d+)$/);return o&&(n=Number(o[3])),{...t.ticketData,sessionId:n,quantity:t.quantity}}return null}).filter(e=>!!e),[l]),Z=(0,M.useMemo)(()=>Object.values(l).reduce((e,t)=>e+t.quantity,0),[l]),K=(0,M.useMemo)(()=>Object.entries(l).reduce((e,[t,n])=>{let{ticketData:o,quantity:i}=n;return!o||i<=0?e:e+((void 0!==o.discount&&o.discount>=0?o.discount:o.value)+o.fee)*i},0),[l]),Q=(0,M.useMemo)(()=>!!(Object.values(l).some(e=>e.ticketData&&void 0!==e.ticketData.discount&&e.ticketData.discount>=0)||D&&D.length>0&&U&&U.length>0&&U.some(e=>void 0!==e.discount&&e.discount>=0)||(P?.availables||P?.unavailables?P.availables.concat(P.unavailables??[]):b).some(e=>void 0!==e.discount&&e.discount>=0))||(P?.tickets??[]).some(e=>void 0!==e.discount&&e.discount>=0),[l,D,U,P,b]),X=(0,M.useMemo)(()=>!!d?.code&&!!h&&d.code.trim().toLowerCase()===h.trim().toLowerCase(),[d,h]);(0,M.useEffect)(()=>{x&&!N&&g(!Q&&!X)},[x,N,Q,X]);let J=(0,M.useCallback)(e=>{e&&e!==h&&(p(e),E(!0),g(!1))},[h]),ee=(0,M.useMemo)(()=>{let e={};return Object.keys(l).forEach(t=>{let{quantity:n,session:o,ticketData:i}=l[t];if(!i||n<=0)return;let s="";e[s=1===i.is_passport?"Passaporte":o&&o.date?.day&&o.time?.hour?m8(new Date(`${o.date?.day} ${o.time?.hour}`),"dd/MM/yyyy HH:mm"):"Geral"]||(e[s]=[]);let u=i.value,c=void 0!==i.discount&&i.discount>=0?i.discount:u;e[s].push({quantity:n,total:c*n,name:i.name,fee:i.fee,discountValue:(u>c?u-c:0)*n})}),Object.entries(e).sort(([e],[t])=>{if("Passaporte"===t)return -1;let n=g2(e,"dd/MM/yyyy HH:mm",new Date),o=g2(t,"dd/MM/yyyy HH:mm",new Date);return n.getTime()-o.getTime()}).map(([e,t])=>({date:e,tickets:t}))},[l]),et=(0,M.useMemo)(()=>{if(!D)return[];let e=new Date,t=new Map;return D.forEach(n=>{let o=n.start_date.split("T")[0];new Date(n.end_sales_date)>e&&(t.has(o)||t.set(o,n.id))}),Array.from(t.entries()).map(([e,t])=>({id:t,day:e}))},[D]),er=(0,M.useCallback)(e=>{j(t=>({...t,date:e}))},[j]),en=(0,M.useCallback)(({sessionId:e,day:t,isPassport:n})=>{let o=0;return Object.entries(l).forEach(([i,l])=>{let{ticketData:s}=l;
137if(s){if(n&&1===s.is_passport){o+=l.quantity;return}n||1===s.is_passport||(void 0!==e?l.session?.time?.id===e&&(o+=l.quantity):t?l.session?.date?.day===t&&(o+=l.quantity):e||t||(o+=l.quantity))}}),o},[l]),ea=(0,M.useMemo)(()=>q.filter(e=>1===e.is_passport),[q]),eo=(0,M.useMemo)(()=>ea.length>0?D:[],[D,ea]),ei=(0,M.useMemo)(()=>v?ea:D&&D.length>0?S.time?U??[]:[]:q,[v,ea,U,q,S.time]),el=(0,M.useMemo)(()=>ei.reduce((e,t)=>(e[t.sector_id]||(e[t.sector_id]={name:t.sector_name||`Setor ${t.sector_id}`,tickets:[],sector_index:t.sector_index}),e[t.sector_id].tickets.push(t),e),{}),[ei]),[es,eu]=(0,M.useState)(z?E1(z):EJ(el));(0,M.useEffect)(()=>{eu(z?E1(z):EJ(el))},[el,z]);let ec=!!o&&!!d&&!!d.discount&&Q,ed=(0,M.useMemo)(()=>Y.every(({quantity:e,minimum:t=0})=>0===e||e>=t),[Y]),ef=(0,M.useCallback)(e=>void 0!==e?Object.keys(l).filter(t=>t.startsWith(`ticket_type_id-${e}-`)).reduce((e,t)=>e+(l[t]?.quantity||0),0):Object.values(l).reduce((e,t)=>e+t.quantity,0),[l]),eh=(0,M.useCallback)((e,t,n)=>{s({type:"SET_TICKET_QUANTITY",ticket:e,session:t,quantity:n})},[s]),ep=(0,M.useCallback)(()=>{if(!S.date)return"";let e=vn(S.date.day,T,A);if(!S.time||!D||0===D.length)return e;let t=D.find(e=>e.id===S.time?.id);if(!t)return e;let n=vi(t.start_date,t.end_date);return`${e} (${n})`},[S,D,T,A]),em=(0,M.useCallback)(e=>Y.filter(t=>null==e||String(t.sector_id)===String(e)).reduce((e,t)=>e+ef(t.id),0),[Y,ef]),eg=(0,M.useCallback)(e=>{let t=yA(e,S),n=l[t]?.ticketData;if(n)return n;let o=yA(e,{date:null,time:null});return l[o]?.ticketData},[l,S]),{preloadMultipleSessions:ev,fetchSessionsTickets:ey}=EX({d:h,s:o});(0,M.useEffect)(()=>{G&&S.date?.id&&ev(t,G?.map(e=>e.id))},[G,t,h,o]);let eb=(0,M.useMemo)(()=>{let e=new Set;return Object.values(l).forEach(t=>{let n=t.session?.time?.id;"number"==typeof n&&e.add(n)}),Array.from(e).sort((e,t)=>e-t)},[l]),ew=eb.join(",");(0,M.useEffect)(()=>{if(0===eb.length)return;let e=!1;return ey(t,eb).then(t=>{e||s({type:"SYNC_TICKET_DATA_BY_SESSION",ticket:{},session:S,ticketsBySession:Object.entries(t).reduce((e,[t,n])=>(e[Number(t)]=n.available.concat(n.unavailable),e),{})})}).catch(()=>{}),()=>{e=!0}},[h,o,t,ew]);let ex=(0,M.useMemo)(()=>({state:l,steward:d,totalValue:K,tickets:q,totalQuantity:Z,dispatch:s,ticketSectors:el,isLoading:N,isSuccess:F,onSetDiscount:J,isValidDiscount:Q,isPromoterCode:X,discountCode:h,discountError:m,errorData:C,setErrorData:k,selectedTickets:Y,sessionDispatch:c,code:o,ticketDetails:ee,days:et,sessions:D,cupom:i,selectedSessions:u,setLastSelectedSession:j,lastSelectedSession:S,sessionsByDate:G,selectDay:er,renderTickets:ei,getSelectedCount:en,minimumTicketValue:R,isStewardWithDiscount:ec,isMinimumQuantityMet:ed,getTicketQuantity:ef,getTicketForDisplay:eg,setTicketQuantity:eh,getFormattedSessionDisplay:ep,getSectorQuantity:em,lotAvailableTickets:es,setLotAvailableTickets:eu,sessionSectorLotIdMap:W,lotAvailableBySessionSectorLotId:z,isTicketCartLoading:B,passportSessions:eo,passportTickets:ea,passportSelected:v,setPassportSelected:y}),[l,d,K,q,Z,s,el,N,F,J,Q,X,h,m,C,k,Y,c,o,ee,et,D,i,u,j,S,G,er,ei,en,R,ec,ed,ef,eg,eh,ep,em,es,eu,W,z,B,eo,ea,v,y]);return $.jsx(E3.Provider,{value:ex,children:e})}function E4(){return(0,M.useContext)(E3)}var E6=e=>"checkbox"===e.type,E7=e=>e instanceof Date,E8=e=>null==e;let E9=e=>"object"==typeof e;var Ce=e=>!E8(e)&&!Array.isArray(e)&&E9(e)&&!E7(e),Ct=e=>Ce(e)&&e.target?E6(e.target)?e.target.checked:e.target.value:e,Cr=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Cn=(e,t)=>e.has(Cr(t)),Ca=e=>{let t=e.constructor&&e.constructor.prototype;return Ce(t)&&t.hasOwnProperty("isPrototypeOf")},Co="u">typeof window&&"u">typeof window.HTMLElement&&"u">typeof document;function Ci(e){let t;let n=Array.isArray(e),o="u">typeof FileList&&e instanceof FileList;if(e instanceof Date)t=new Date(e);else if(!(!(Co&&(e instanceof Blob||o))&&(n||Ce(e))))return e;else if(t=n?[]:Object.create(Object.getPrototypeOf(e)),n||Ca(e))for(let n in e)e.hasOwnProperty(n)&&(t[n]=Ci(e[n]));else t=e;return t}var Cl=e=>/^\w*$/.test(e),Cs=e=>void 0===e,Cu=e=>Array.isArray(e)?e.filter(Boolean):[],Cc=e=>Cu(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Cd=(e,t,n)=>{if(!t||!Ce(e))return n;let o=(Cl(t)?[t]:Cc(t)).reduce((e,t)=>
137E8(e)?e:e[t],e);return Cs(o)||o===e?Cs(e[t])?n:e[t]:o},Cf=e=>"boolean"==typeof e,Ch=(e,t,n)=>{let o=-1,i=Cl(t)?[t]:Cc(t),l=i.length,s=l-1;for(;++o<l;){let t=i[o],l=n;if(o!==s){let n=e[t];l=Ce(n)||Array.isArray(n)?n:isNaN(+i[o+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=l,e=e[t]}};let Cp={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},Cm={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},Cg={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},Cv=M.createContext(null);Cv.displayName="HookFormContext";let Cy=()=>M.useContext(Cv),Cb=e=>{let{children:t,...n}=e;return M.createElement(Cv.Provider,{value:n},t)};var Cw=(e,t,n,o=!0)=>{let i={defaultValues:t._defaultValues};for(let l in e)Object.defineProperty(i,l,{get:()=>(t._proxyFormState[l]!==Cm.all&&(t._proxyFormState[l]=!o||Cm.all),n&&(n[l]=!0),e[l])});return i};let Cx="u">typeof window?M.useLayoutEffect:M.useEffect;var CE=e=>"string"==typeof e,CC=(e,t,n,o,i)=>CE(e)?(o&&t.watch.add(e),Cd(n,e,i)):Array.isArray(e)?e.map(e=>(o&&t.watch.add(e),Cd(n,e))):(o&&(t.watchAll=!0),n),Ck=e=>E8(e)||!E9(e);function CM(e,t,n=new WeakSet){if(Ck(e)||Ck(t))return Object.is(e,t);if(E7(e)&&E7(t))return e.getTime()===t.getTime();let o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;if(n.has(e)||n.has(t))return!0;for(let l of(n.add(e),n.add(t),o)){let o=e[l];if(!i.includes(l))return!1;if("ref"!==l){let e=t[l];if(E7(o)&&E7(e)||Ce(o)&&Ce(e)||Array.isArray(o)&&Array.isArray(e)?!CM(o,e,n):!Object.is(o,e))return!1}}return!0}let C_=e=>e.render(function(e){let t=Cy(),{name:n,disabled:o,control:i=t.control,shouldUnregister:l,defaultValue:s,exact:u=!0}=e,c=Cn(i._names.array,n),d=M.useMemo(()=>Cd(i._formValues,n,Cd(i._defaultValues,n,s)),[i,n,s]),f=function(e){let t=Cy(),{control:n=t.control,name:o,defaultValue:i,disabled:l,exact:s,compute:u}=e||{},c=M.useRef(i),d=M.useRef(u),f=M.useRef(void 0),h=M.useRef(n),p=M.useRef(o);d.current=u;
137let[m,g]=M.useState(()=>{let e=n._getWatch(o,c.current);return d.current?d.current(e):e}),v=M.useCallback(e=>{let t=CC(o,n._names,e||n._formValues,!1,c.current);return d.current?d.current(t):t},[n._formValues,n._names,o]),y=M.useCallback(e=>{if(!l){let t=CC(o,n._names,e||n._formValues,!1,c.current);if(d.current){let e=d.current(t);CM(e,f.current)||(g(e),f.current=e)}else g(t)}},[n._formValues,n._names,l,o]);Cx(()=>(h.current===n&&CM(p.current,o)||(h.current=n,p.current=o,y()),n._subscribe({name:o,formState:{values:!0},exact:s,callback:e=>{y(e.values)}})),[n,s,o,y]),M.useEffect(()=>n._removeUnmounted());let b=h.current!==n,w=p.current,x=M.useMemo(()=>{if(l)return null;let e=!b&&!CM(w,o);return b||e?v():null},[l,b,o,w,v]);return null!==x?x:m}({control:i,name:n,defaultValue:d,exact:u}),h=function(e){let t=Cy(),{control:n=t.control,disabled:o,name:i,exact:l}=e||{},[s,u]=M.useState(n._formState),c=M.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Cx(()=>n._subscribe({name:i,formState:c.current,exact:l,callback:e=>{o||u({...n._formState,...e})}}),[i,o,l]),M.useEffect(()=>{c.current.isValid&&n._setValid(!0)},[n]),M.useMemo(()=>Cw(s,n,c.current,!1),[s,n])}({control:i,name:n,exact:u}),p=M.useRef(e),m=M.useRef(void 0),g=M.useRef(i.register(n,{...e.rules,value:f,...Cf(e.disabled)?{disabled:e.disabled}:{}}));p.current=e;let v=M.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Cd(h.errors,n)},isDirty:{enumerable:!0,get:()=>!!Cd(h.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!Cd(h.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!Cd(h.validatingFields,n)},error:{enumerable:!0,get:()=>Cd(h.errors,n)}}),[h,n]),y=M.useCallback(e=>g.current.onChange({target:{value:Ct(e),name:n},type:Cp.CHANGE}),[n]),b=M.useCallback(()=>g.current.onBlur({target:{value:Cd(i._formValues,n),name:n},type:Cp.BLUR}),[n,i._formValues]),w=M.useCallback(e=>{let t=Cd(i._fields,n);t&&e&&(t._f.ref={focus:()=>e.focus&&e.focus(),select:()=>e.select&&e.select(),setCustomValidity:t=>e.setCustomValidity(t),reportValidity:()=>e.reportValidity()})},[i._fields,n]),x=M.useMemo(()=>({name:n,value:f,...Cf(o)||h.disabled?{disabled:h.disabled||o}:{},onChange:y,onBlur:b,ref:w}),[n,o,h.disabled,y,b,w,f]);return M.useEffect(()=>{let e=i._options.shouldUnregister||l,t=m.current;t&&t!==n&&!c&&i.unregister(t),i.register(n,{...p.current.rules,...Cf(p.current.disabled)?{disabled:p.current.disabled}:{}});let o=(e,t)=>{let n=Cd(i._fields,e);n&&n._f&&(n._f.mount=t)};if(o(n,!0),e){let e=Ci(Cd(i._options.defaultValues,n,p.current.defaultValue));Ch(i._defaultValues,n,e),Cs(Cd(i._formValues,n))&&Ch(i._formValues,n,e)}return c||i.register(n),m.current=n,()=>{(c?e&&!i._state.action:e)?i.unregister(n):o(n,!1)}},[n,i,c,l]),M.useEffect(()=>{i._setDisabledField({disabled:o,name:n})},[o,n,i]),M.useMemo(()=>({field:x,formState:h,fieldState:v}),[x,h,v])}(e));var CS=(e,t,n,o,i)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[o]:i||!0}}:{},Cj=e=>Array.isArray(e)?e:[e],CO=()=>{let e=[];return{get observers(){return e},next:t=>{for(let n of e)n.next&&n.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},CL=e=>Ce(e)&&!Object.keys(e).length,CA=e=>"file"===e.type,CT=e=>"function"==typeof e,CP=e=>{if(!Co)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},CN=e=>"select-multiple"===e.type,CF=e=>"radio"===e.type,CR=e=>CF(e)||E6(e),C$=e=>CP(e)&&e.isConnected;function CD(e,t){let n=Array.isArray(t)?t:Cl(t)?[t]:Cc(t),o=1===n.length?e:function(e,t){let n=t.slice(0,-1).length,o=0;for(;o<n;)e=Cs(e)?o++:e[t[o++]];return e}(e,n),i=n.length-1,l=n[i];return o&&delete o[l],0!==i&&(Ce(o)&&CL(o)||Array.isArray(o)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!Cs(e[t]))return!1;return!0}(o))&&CD(e,n.slice(0,-1)),e}var Cz=e=>{for(let t in e)if(CT(e[t]))return!0;return!1};function CI(e){return Array.isArray(e)||Ce(e)&&!Cz(e)}function CH(e,t={}){for(let n in e){let o=e[n];CI(o)?(t[n]=Array.isArray(o)?[]:{},CH(o,t[n])):Cs(o)||(t[n]=!0)}return t}function CB(e,t,n){for(let o in n||(n=CH(t)),e){let i=e[o];if(CI(i))Cs(t)||Ck(n[o])?n[o]=CH(i,Array.isArray(i)?[]:{}):CB(i,E8(t)?{}:t[o],n[o]);else{let e=t[o];n[o]=!CM(i,e)}}return n}let CW={value:!1,isValid:!1},CV={value:!0,isValid:!0};var CU=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!Cs(e[0].attributes.value)?Cs(e[0].value)||""===e[0].value?CV:{value:e[0].value,isValid:!0}:CV:CW}return CW},Cq=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:o})=>Cs(e)?e:t?""===e?NaN:e&&+e:n&&CE(e)?new Date(e):o?o(e):e;let CG={isValid:!1,value:null};var CY=e=>Array.isArray(e)?e.reduce((e,t)=>
vendor: 4,100 bytes, line 137
137t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,CG):CG;function CZ(e){let t=e.ref;return CA(t)?t.files:CF(t)?CY(e.refs).value:CN(t)?[...t.selectedOptions].map(({value:e})=>e):E6(t)?CU(e.refs).value:Cq(Cs(t.value)?e.ref.value:t.value,e)}var CK=(e,t,n,o)=>{let i={};for(let n of e){let e=Cd(t,n);e&&Ch(i,n,e._f)}return{criteriaMode:n,names:[...e],fields:i,shouldUseNativeValidation:o}},CQ=e=>e instanceof RegExp,CX=e=>Cs(e)?e:CQ(e)?e.source:Ce(e)?CQ(e.value)?e.value.source:e.value:e,CJ=e=>({isOnSubmit:!e||e===Cm.onSubmit,isOnBlur:e===Cm.onBlur,isOnChange:e===Cm.onChange,isOnAll:e===Cm.all,isOnTouch:e===Cm.onTouched});let C1="AsyncFunction";var C0=e=>!!e&&!!e.validate&&!!(CT(e.validate)&&e.validate.constructor.name===C1||Ce(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===C1)),C2=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),C3=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let C5=(e,t,n,o)=>{for(let i of n||Object.keys(e)){let n=Cd(e,i);if(n){let{_f:e,...l}=n;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!o||e.ref&&t(e.ref,e.name)&&!o)return!0;if(C5(l,t))break}else if(Ce(l)&&C5(l,t))break}}};function C4(e,t,n){let o=Cd(e,n);if(o||Cl(n))return{error:o,name:n};let i=n.split(".");for(;i.length;){let o=i.join("."),l=Cd(t,o),s=Cd(e,o);if(l&&!Array.isArray(l)&&n!==o)break;if(s&&s.type)return{name:o,error:s};if(s&&s.root&&s.root.type)return{name:`${o}.root`,error:s.root};i.pop()}return{name:n}}var C6=(e,t,n,o)=>{n(e);let{name:i,...l}=e;return CL(l)||Object.keys(l).length>=Object.keys(t).length||Object.keys(l).find(e=>t[e]===(!o||Cm.all))},C7=(e,t,n)=>!e||!t||e===t||Cj(e).some(e=>e&&(n?e===t:e.startsWith(t)||t.startsWith(e))),C8=(e,t,n,o,i)=>!i.isOnAll&&(!n&&i.isOnTouch?!(t||e):(n?o.isOnBlur:i.isOnBlur)?!e:(n?!o.isOnChange:!i.isOnChange)||e),C9=(e,t)=>!Cu(Cd(e,t)).length&&CD(e,t),ke=(e,t,n)=>{let o=Cj(Cd(e,n));return Ch(o,"root",t[n]),Ch(e,n,o),e};function kt(e,t,n="validate"){if(CE(e)||Array.isArray(e)&&e.every(CE)||Cf(e)&&!e)return{type:n,message:CE(e)?e:"",ref:t}}var kr=e=>Ce(e)&&!CQ(e)?e:{value:e,message:""},kn=async(e,t,n,o,i,l)=>{let{ref:s,refs:u,required:c,maxLength:d,minLength:f,min:h,max:p,pattern:m,validate:g,name:v,valueAsNumber:y,mount:b}=e._f,w=Cd(n,v);if(!b||t.has(v))return{};let x=u?u[0]:s,E=e=>{i&&x.reportValidity&&(x.setCustomValidity(Cf(e)?"":e||""),x.reportValidity())},C={},k=CF(s),M=E6(s),_=(y||CA(s))&&Cs(s.value)&&Cs(w)||CP(s)&&""===s.value||""===w||Array.isArray(w)&&!w.length,S=CS.bind(null,v,o,C),j=(e,t,n,o=Cg.maxLength,i=Cg.minLength)=>{let l=e?t:n;C[v]={type:e?o:i,message:l,ref:s,...S(e?o:i,l)}};if(l?!Array.isArray(w)||!w.length:c&&(!(k||M)&&(_||E8(w))||Cf(w)&&!w||M&&!CU(u).isValid||k&&!CY(u).isValid)){let{value:e,message:t}=CE(c)?{value:!!c,message:c}:kr(c);if(e&&(C[v]={type:Cg.required,message:t,ref:x,...S(Cg.required,t)},!o))return E(t),C}if(!_&&(!E8(h)||!E8(p))){let e,t;let n=kr(p),i=kr(h);if(E8(w)||isNaN(w)){let o=s.valueAsDate||new Date(w),l=e=>new Date(new Date().toDateString()+" "+e),u="time"==s.type,c="week"==s.type;CE(n.value)&&w&&(e=u?l(w)>l(n.value):c?w>n.value:o>new Date(n.value)),CE(i.value)&&w&&(t=u?l(w)<l(i.value):c?w<i.value:o<new Date(i.value))}else{let o=s.valueAsNumber||w&&+w;E8(n.value)||(e=o>n.value),E8(i.value)||(t=o<i.value)}if((e||t)&&(j(!!e,n.message,i.message,Cg.max,Cg.min),!o))return E(C[v].message),C}if((d||f)&&!_&&(CE(w)||l&&Array.isArray(w))){let e=kr(d),t=kr(f),n=!E8(e.value)&&w.length>+e.value,i=!E8(t.value)&&w.length<+t.value;if((n||i)&&(j(n,e.message,t.message),!o))return E(C[v].message),C}if(m&&!_&&CE(w)){let{value:e,message:t}=kr(m);if(CQ(e)&&!w.match(e)&&(C[v]={type:Cg.pattern,message:t,ref:s,...S(Cg.pattern,t)},!o))return E(t),C}if(g){if(CT(g)){let e=kt(await g(w,n),x);if(e&&(C[v]={...e,...S(Cg.validate,e.message)},!o))return E(e.message),C}else if(Ce(g)){let e={};for(let t in g){if(!CL(e)&&!o)break;let i=kt(await g[t](w,n),x,t);i&&(e={...i,...S(t,i.message)},E(i.message),o&&(C[v]=e))}if(!CL(e)&&(C[v]={ref:x,...e},!o))return C}}return E(!0),C};
137let ka={mode:Cm.onSubmit,reValidateMode:Cm.onChange,shouldFocusError:!0};function ko(e={}){let t=M.useRef(void 0),n=M.useRef(void 0),[o,i]=M.useState({isDirty:!1,isValidating:!1,isLoading:CT(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:CT(e.defaultValues)?void 0:e.defaultValues});if(!t.current){if(e.formControl)t.current={...e.formControl,formState:o},e.defaultValues&&!CT(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:n,...i}=function(e={}){let t={...ka,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:CT(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},o={},i=(Ce(t.defaultValues)||Ce(t.values))&&Ci(t.defaultValues||t.values)||{},l=t.shouldUnregister?{}:Ci(i),s={action:!1,mount:!1,watch:!1},u={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c,d=0,f={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},h={...f},p={array:CO(),state:CO()},m=t.criteriaMode===Cm.all,g=e=>t=>{clearTimeout(d),d=setTimeout(e,t)},v=async e=>{if(!t.disabled&&(f.isValid||h.isValid||e)){let e=t.resolver?CL((await C()).errors):await M(o,!0);e!==n.isValid&&p.state.next({isValid:e})}},y=(e,o)=>{!t.disabled&&(f.isValidating||f.validatingFields||h.isValidating||h.validatingFields)&&((e||Array.from(u.mount)).forEach(e=>{e&&(o?Ch(n.validatingFields,e,o):CD(n.validatingFields,e))}),p.state.next({validatingFields:n.validatingFields,isValidating:!CL(n.validatingFields)}))},b=(e,t)=>{Ch(n.errors,e,t),p.state.next({errors:n.errors})},w=(e,t,n,u)=>{let c=Cd(o,e);if(c){let o=Cd(l,e,Cs(n)?Cd(i,e):n);Cs(o)||u&&u.defaultChecked||t?Ch(l,e,t?o:CZ(c._f)):j(e,o),s.mount&&!s.action&&v(
137)}},x=(e,o,l,s,u)=>{let c=!1,d=!1,m={name:e};if(!t.disabled){if(!l||s){(f.isDirty||h.isDirty)&&(d=n.isDirty,n.isDirty=m.isDirty=_(),c=d!==m.isDirty);let t=CM(Cd(i,e),o);d=!!Cd(n.dirtyFields,e),t?CD(n.dirtyFields,e):Ch(n.dirtyFields,e,!0),m.dirtyFields=n.dirtyFields,c=c||(f.dirtyFields||h.dirtyFields)&&!t!==d}if(l){let t=Cd(n.touchedFields,e);t||(Ch(n.touchedFields,e,l),m.touchedFields=n.touchedFields,c=c||(f.touchedFields||h.touchedFields)&&t!==l)}c&&u&&p.state.next(m)}return c?m:{}},E=(e,o,i,l)=>{let s=Cd(n.errors,e),u=(f.isValid||h.isValid)&&Cf(o)&&n.isValid!==o;if(t.delayError&&i?(c=g(()=>b(e,i)))(t.delayError):(clearTimeout(d),c=null,i?Ch(n.errors,e,i):CD(n.errors,e)),(i?!CM(s,i):s)||!CL(l)||u){let t={...l,...u&&Cf(o)?{isValid:o}:{},errors:n.errors,name:e};n={...n,...t},p.state.next(t)}},C=async e=>{y(e,!0);let n=await t.resolver(l,t.context,CK(e||u.mount,o,t.criteriaMode,t.shouldUseNativeValidation));return y(e),n},k=async e=>{let{errors:t}=await C(e);if(e)for(let o of e){let e=Cd(t,o);e?Ch(n.errors,o,e):CD(n.errors,o)}else n.errors=t;return t},M=async(e,o,i={valid:!0})=>{for(let s in e){let c=e[s];if(c){let{_f:e,...s}=c;if(e){let s=u.array.has(e.name),d=c._f&&C0(c._f);d&&f.validatingFields&&y([e.name],!0);let h=await kn(c,u.disabled,l,m,t.shouldUseNativeValidation&&!o,s);if(d&&f.validatingFields&&y([e.name]),h[e.name]&&(i.valid=!1,o))break;o||(Cd(h,e.name)?s?ke(n.errors,h,e.name):Ch(n.errors,e.name,h[e.name]):CD(n.errors,e.name))}CL(s)||await M(s,o,i)}}return i.valid},_=(e,n)=>!t.disabled&&(e&&n&&Ch(l,e,n),!CM(N(),i)),S=(e,t,n)=>CC(e,u,{...s.mount?l:Cs(t)?i:CE(e)?{[e]:t}:t},n,t),j=(e,t,n={})=>{let i=Cd(o,e),s=t;if(i){let n=i._f;n&&(n.disabled||Ch(l,e,Cq(t,n)),s=CP(n.ref)&&E8(t)?"":t,CN(n.ref)?[...n.ref.options].forEach(e=>e.selected=s.includes(e.value)):n.refs?E6(n.ref)?n.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(s)?e.checked=!!s.find(t=>t===e.value):e.checked=s===e.value||!!s)}):n.refs.forEach(e=>e.checked=e.value===s):CA(n.ref)?n.ref.value="":(n.ref.value=s,n.ref.type||p.state.next({name:e,values:Ci(l)})))}(n.shouldDirty||n.shouldTouch)&&x(e,s,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&P(e)},O=(e,t,n)=>{for(let i in t){if(!t.hasOwnProperty(i))return;let l=t[i],s=e+"."+i,c=Cd(o,s);(u.array.has(e)||Ce(l)||c&&!c._f)&&!E7(l)?O(s,l,n):j(s,l,n)}},L=(e,t,c={})=>{let d=Cd(o,e),m=u.array.has(e),g=Ci(t);Ch(l,e,g),m?(p.array.next({name:e,values:Ci(l)}),(f.isDirty||f.dirtyFields||h.isDirty||h.dirtyFields)&&c.shouldDirty&&p.state.next({name:e,dirtyFields:CB(i,l),isDirty:_(e,g)})):!d||d._f||E8(g)?j(e,g,c):O(e,g,c),C3(e,u)&&p.state.next({...n,name:e}),p.state.next({name:s.mount?e:void 0,values:Ci(l)})},A=async e=>{s.mount=!0;let i=e.target,d=i.name,g=!0,b=Cd(o,d),w=e=>{g=Number.isNaN(e)||E7(e)&&isNaN(e.getTime())||CM(e,Cd(l,d,e))},k=CJ(t.mode),_=CJ(t.reValidateMode);if(b){let s,S;let j=i.type?CZ(b._f):Ct(e),O=e.type===Cp.BLUR||e.type===Cp.FOCUS_OUT,L=!C2(b._f)&&!t.resolver&&!Cd(n.errors,d)&&!b._f.deps||C8(O,Cd(n.touchedFields,d),n.isSubmitted,_,k),A=C3(d,u,O);Ch(l,d,j),O?i&&i.readOnly||(b._f.onBlur&&b._f.onBlur(e),c&&c(0)):b._f.onChange&&b._f.onChange(e);let T=x(d,j,O),N=!CL(T)||A;if(O||p.state.next({name:d,type:e.type,values:Ci(l)}),L)return(f.isValid||h.isValid)&&("onBlur"===t.mode?O&&v():O||v()),N&&p.state.next({name:d,...A?{}:T});if(!O&&A&&p.state.next({...n}),t.resolver){let{errors:e}=await C([d]);if(w(j),g){let t=C4(n.errors,o,d),i=C4(e,o,t.name||d);s=i.error,d=i.name,S=CL(e)}}else y([d],!0),s=(await kn(b,u.disabled,l,m,t.shouldUseNativeValidation))[d],y([d]),w(j),g&&(s?S=!1:(f.isValid||h.isValid)&&(S=await M(o,!0)));g&&(b._f.deps&&(!Array.isArray(b._f.deps)||b._f.deps.length>0)&&P(b._f.deps),E(d,S,s,T))}},T=(e,t)=>{if(Cd(n.errors,t)&&e.focus)return e.focus(),1},P=async(e,i={})=>{let l,s;let c=Cj(e);if(t.resolver){let t=await k(Cs(e)?e:c);l=CL(t),s=e?!c.some(e=>Cd(t,e)):l}else e?((s=(await Promise.all(c.map(async e=>{let t=Cd(o,e);return await M(t&&t._f?{[e]:t}:t)}))).every(Boolean))||n.isValid)&&v():s=l=await M(o);return p.state.next({...!CE(e)||(f.isValid||h.isValid)&&l!==n.isValid?{}:{name:e},...t.resolver||!e?{isValid:l}:{},errors:n.errors}),i.shouldFocus&&!s&&C5(o,T,e?c:u.mount),s},N=(e,t)=>{let o={...s.mount?l:i};return t&&(o=function e(t,n){let o={};for(let i in t)if(t.hasOwnProperty(i)){let l=t[i],s=n[i];if(l&&Ce(l)&&s){let t=e(l,s);Ce(t)&&(o[i]=t)}else t[i]&&(o[i]=s)}return o}(t.dirtyFields?n.dirtyFields:n.touchedFields,o)),Cs(e)?o:CE(e)?Cd(o,e):e.map(e=>Cd(o,e))},F=(e,t)=>({invalid:!!Cd((t||n).errors,e),isDirty:!!Cd((t||n).dirtyFields,e),error:Cd((t||n).errors,e),isValidating:!!Cd(n.validatingFields,e),isTouched:!!Cd((t||n).touchedFields,e)}),R=(e,t,i)=>{let l=(Cd(o,e,{_f:{}})._f||{}).ref,{ref:s,message:u,type:c,...d}=Cd(n.errors,e)||{};Ch(n.errors,e,{...d,...t,ref:l}),p.state.next({name:e,errors:n.errors,isValid:!1}),i&&i.shouldFocus&&l&&l.focus&&l.focus()},$=e=>p.state.subscribe({next:t=>{C7(e.name,t.name,e.exact)&&C6(t,e.formState||f,q,e.reRenderRoot)&&e.callback({values:{...l},...n,...t,defaultValues:i})}}).unsubscribe,D=(e,s={})=>{for(let c of e?Cj(e):u.mount)u.mount.delete(c),u.array.delete(c),s.keepValue||(CD(o,c),CD(l,c)),s.keepError||CD(n.errors,c),s.keepDirty||CD(n.dirtyFields,c),s.keepTouched||CD(n.touchedFields,c),s.keepIsValidating||CD(n.validatingFields,c),t.shouldUnregister||s.keepDefaultValue||CD(i,c);p.state.next({values:Ci(l)}),p.state.next({...n,...s.keepDirty?{isDirty:_()}:{}}),s.keepIsValid||v()},z=({disabled:e,name:t})=>{(Cf(e)&&s.mount||e||u.disabled.has(t))&&(e?u.disabled.add(t):u.disabled.delete(t))},I=(e,n={})=>{let l=Cd(o,e),c=Cf(n.disabled)||Cf(t.disabled);return Ch(o,e,{...l||{},_f:{...l&&l._f?l._f:{ref:{name:e}},name:e,mount:!0,...n}}),u.mount.add(e),l?z({disabled:Cf(n.disabled)?n.disabled:t.disabled,name:e}):w(e,!0,n.value),{...c?{disabled:n.disabled||t.disabled}:{},...t.progressive?{required:!!n.required,min:CX(n.min),max:CX(n.max),minLength:CX(n.minLength),maxLength:CX(n.maxLength),pattern:CX(n.pattern)}:{}
vendor: 4,693 bytes, line 137
137,name:e,onChange:A,onBlur:A,ref:c=>{if(c){I(e,n),l=Cd(o,e);let t=Cs(c.value)&&c.querySelectorAll&&c.querySelectorAll("input,select,textarea")[0]||c,s=CR(t),u=l._f.refs||[];(s?u.find(e=>e===t):t===l._f.ref)||(Ch(o,e,{_f:{...l._f,...s?{refs:[...u.filter(C$),t,...Array.isArray(Cd(i,e))?[{}]:[]],ref:{type:t.type,name:e}}:{ref:t}}}),w(e,!1,void 0,t))}else(l=Cd(o,e,{}))._f&&(l._f.mount=!1),(t.shouldUnregister||n.shouldUnregister)&&!(Cn(u.array,e)&&s.action)&&u.unMount.add(e)}}},H=()=>t.shouldFocusError&&C5(o,T,u.mount),B=(e,i)=>async s=>{let c;s&&(s.preventDefault&&s.preventDefault(),s.persist&&s.persist());let d=Ci(l);if(p.state.next({isSubmitting:!0}),t.resolver){let{errors:e,values:t}=await C();n.errors=e,d=Ci(t)}else await M(o);if(u.disabled.size)for(let e of u.disabled)CD(d,e);if(CD(n.errors,"root"),CL(n.errors)){p.state.next({errors:{}});try{await e(d,s)}catch(e){c=e}}else i&&await i({...n.errors},s),H(),setTimeout(H);if(p.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:CL(n.errors)&&!c,submitCount:n.submitCount+1,errors:n.errors}),c)throw c},W=(e,c={})=>{let d=e?Ci(e):i,h=Ci(d),m=CL(e),g=m?i:h;if(c.keepDefaultValues||(i=d),!c.keepValues){if(c.keepDirtyValues)for(let e of Array.from(new Set([...u.mount,...Object.keys(CB(i,l))])))Cd(n.dirtyFields,e)?Ch(g,e,Cd(l,e)):L(e,Cd(g,e));else{if(Co&&Cs(e))for(let e of u.mount){let t=Cd(o,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(CP(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(c.keepFieldsRef)for(let e of u.mount)L(e,Cd(g,e));else o={}}l=t.shouldUnregister?c.keepDefaultValues?Ci(i):{}:Ci(g),p.array.next({values:{...g}}),p.state.next({values:{...g}})}u={mount:c.keepDirtyValues?u.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!f.isValid||!!c.keepIsValid||!!c.keepDirtyValues||!t.shouldUnregister&&!CL(g),s.watch=!!t.shouldUnregister,s.action=!1,c.keepErrors||(n.errors={}),p.state.next({submitCount:c.keepSubmitCount?n.submitCount:0,isDirty:!m&&(c.keepDirty?n.isDirty:!!(c.keepDefaultValues&&!CM(e,i))),isSubmitted:!!c.keepIsSubmitted&&n.isSubmitted,dirtyFields:m?{}:c.keepDirtyValues?c.keepDefaultValues&&l?CB(i,l):n.dirtyFields:c.keepDefaultValues&&e?CB(i,e):c.keepDirty?n.dirtyFields:{},touchedFields:c.keepTouched?n.touchedFields:{},errors:c.keepErrors?n.errors:{},isSubmitSuccessful:!!c.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1,defaultValues:i})},U=(e,t)=>W(CT(e)?e(l):e,t),q=e=>{n={...n,...e}},G={control:{register:I,unregister:D,getFieldState:F,handleSubmit:B,setError:R,_subscribe:$,_runSchema:C,_focusError:H,_getWatch:S,_getDirty:_,_setValid:v,_setFieldArray:(e,u=[],c,d,m=!0,g=!0)=>{if(d&&c&&!t.disabled){if(s.action=!0,g&&Array.isArray(Cd(o,e))){let t=c(Cd(o,e),d.argA,d.argB);m&&Ch(o,e,t)}if(g&&Array.isArray(Cd(n.errors,e))){let t=c(Cd(n.errors,e),d.argA,d.argB);m&&Ch(n.errors,e,t),C9(n.errors,e)}if((f.touchedFields||h.touchedFields)&&g&&Array.isArray(Cd(n.touchedFields,e))){let t=c(Cd(n.touchedFields,e),d.argA,d.argB);m&&Ch(n.touchedFields,e,t)}(f.dirtyFields||h.dirtyFields)&&(n.dirtyFields=CB(i,l)),p.state.next({name:e,isDirty:_(e,u),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ch(l,e,u)},_setDisabledField:z,_setErrors:e=>{n.errors=e,p.state.next({errors:n.errors,isValid:!1})},_getFieldArray:e=>Cu(Cd(s.mount?l:i,e,t.shouldUnregister?Cd(i,e,[]):[])),_reset:W,_resetDefaultValues:()=>CT(t.defaultValues)&&t.defaultValues().then(e=>{U(e,t.resetOptions),p.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(let e of u.unMount){let t=Cd(o,e);t&&(t._f.refs?t._f.refs.every(e=>!C$(e)):!C$(t._f.ref))&&D(e)}u.unMount=new Set},_disableForm:e=>{Cf(e)&&(p.state.next({disabled:e}),C5(o,(t,n)=>{let i=Cd(o,n);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},_subjects:p,_proxyFormState:f,get _fields(){return o},get _formValues(){return l},get _state(){return s},set _state(V){s=V},get _defaultValues(){return i},get _names(){return u},set _names(V){u=V},get _formState(){return n},get _options(){return t},set _options(V){t={...t,...V}}},subscribe:e=>(s.mount=!0,h={...h,...e.formState},$({...e,formState:h})),trigger:P,register:I,handleSubmit:B,watch:(e,t)=>CT(e)?p.state.subscribe({next:n=>"values"in n&&e(S(void 0,t),n)}):S(e,t,!0),setValue:L,getValues:N,reset:U,resetField:(e,t={})=>{Cd(o,e)&&(Cs(t.defaultValue)?L(e,Ci(Cd(i,e))):(L(e,t.defaultValue),Ch(i,e,Ci(t.defaultValue))),t.keepTouched||CD(n.touchedFields,e),t.keepDirty||(CD(n.dirtyFields,e),n.isDirty=t.defaultValue?_(e,Ci(Cd(i,e))):_()),t.keepError||(CD(n.errors,e),f.isValid&&v()),p.state.next({...n}))},clearErrors:e=>
137{e&&Cj(e).forEach(e=>CD(n.errors,e)),p.state.next({errors:e?n.errors:{}})},unregister:D,setError:R,setFocus:(e,t={})=>{let n=Cd(o,e),i=n&&n._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&(e.focus(),t.shouldSelect&&CT(e.select)&&e.select())}},getFieldState:F};return{...G,formControl:G}}(e);t.current={...i,formState:o}}}let l=t.current.control;return l._options=e,Cx(()=>{let e=l._subscribe({formState:l._proxyFormState,callback:()=>i({...l._formState}),reRenderRoot:!0});return i(e=>({...e,isReady:!0})),l._formState.isReady=!0,e},[l]),M.useEffect(()=>l._disableForm(e.disabled),[l,e.disabled]),M.useEffect(()=>{e.mode&&(l._options.mode=e.mode),e.reValidateMode&&(l._options.reValidateMode=e.reValidateMode)},[l,e.mode,e.reValidateMode]),M.useEffect(()=>{e.errors&&(l._setErrors(e.errors),l._focusError())},[l,e.errors]),M.useEffect(()=>{e.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,e.shouldUnregister]),M.useEffect(()=>{if(l._proxyFormState.isDirty){let e=l._getDirty();e!==o.isDirty&&l._subjects.state.next({isDirty:e})}},[l,o.isDirty]),M.useEffect(()=>{var t;e.values&&!CM(e.values,n.current)?(l._reset(e.values,{keepFieldsRef:!0,...l._options.resetOptions}),!(null===(t=l._options.resetOptions)||void 0===t)&&t.keepIsValid||l._setValid(),n.current=e.values,i(e=>({...e}))):l._resetDefaultValues()},[l,e.values]),M.useEffect(()=>{l._state.mount||(l._setValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next({...l._formState})),l._removeUnmounted()}),t.current.formState=Cw(o,l),t.current}function ki(){let e=(0,_.useRouter)(),{search:t}=e.query,{register:n,handleSubmit:o,reset:i,watch:l}=ko({defaultValues:{search:t??""}});
137return{watch:l,register:n,onSubmit:o(({search:t})=>{let n=t.trim();n&&e.push(`/eventos?search=${n}`)}),clearSearch:()=>{i({search:""})}}}function kl({items:e,pageSize:t=15}){let[n,o]=(0,M.useState)(1),[i,l]=(0,M.useState)([]),s=(0,M.useMemo)(()=>Math.ceil(e.length/t),[e,t]),u=(0,M.useCallback)(()=>{o(e=>Math.min(e+1,s))},[s]),c=(0,M.useCallback)(()=>{o(e=>Math.max(e-1,1))},[]),d=(0,M.useCallback)(e=>{o(Math.min(Math.max(e,1),s))},[s]),f=(0,M.useMemo)(()=>n<s,[n,s]);return(0,M.useEffect)(()=>{l(e.slice(0,n*t))},[e,n,t]),{currentPage:n,paginatedItems:i,totalPages:s,hasMorePages:f,nextPage:u,prevPage:c,goToPage:d}}async function ks(e){let{data:t}=await hT.post(`events/${e}/favorite`);return t}async function ku(e){let{data:t}=await hT.delete(`events/${e}/unfavorite`);return t}function kc(){let{user:e,update:t}=yQ(),{mutate:n}=function(){let{mutate:e,isPending:t}=(0,O.useMutation)({mutationFn:e=>ks(e)});return{mutate:e,isLoading:t}}(),{mutate:o}=function(){let{mutate:e,isPending:t}=(0,O.useMutation)({mutationFn:e=>ku(e)});return{mutate:e,isLoading:t}}();return{toggleFavoriteEvent:async i=>{e?.favorite_events.find(e=>e.event_id===i)?(o(i),t(e?{...e,favorite_events:e?.favorite_events.filter(e=>e.event_id!==i)??[]}:null)):(n(i),t(e?{...e,favorite_events:[...e?.favorite_events??[],{event_id:i}]}:null))}}}let kd=(0,M.createContext)(void 0);function kf({children:e}){let[t,n]=(0,M.useState)(!1),o=(0,M.useMemo)(()=>({loading:t,setLoading:n}),[t,n]);return $.jsx(kd.Provider,{value:o,children:e})}let kh=()=>(0,M.useContext)(kd),kp
vendor: 12,697 bytes, line 137
137={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([457]\\d{6})$|1","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2457]\\d{6})$|1","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"([267]\\d{6})$|1","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]","(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"(183[12])|0",0,0,0,[["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|2[23]"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","(?:[025-7]\\d|44)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[024-7]"]]]],BG:["359","00","00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9,12],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[02-4679]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","(?:01\\d|8)\\d{7}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["0"]]]],BL:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|3[3-7]|5[12]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[235]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","[1-467]\\d{9,10}
vendor: 8,664 bytes, line 137
137|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37|86)","300|4(?:0(?:0|20)|370|864)"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([3-8]\\d{6})$|1","242$1",0,"242"],BT:["975","00","[178]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-6]|7[246]|8[2-4]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|[78]"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-9]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","[2-9]\\d{9}|3\\d{6}",[7,10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}",[10]],["",[10]],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",[10]],["900[2-9]\\d{6}",[10]],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|33|44|66|77|88)|6(?:22|33))[2-9]\\d{6}",[10]],0,["310\\d{4}",[7]],0,["600[2-9]\\d{6}",[10]]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["5"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","222\\d{6}|(?:0\\d|80)\\d{7}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["60|809"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-36]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9(?:10|[2-9])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]","(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123","10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4}
vendor: 4,511 bytes, line 137
137)","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"(1(?:[12]\\d|79)\\d\\d)|0",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["46"]],["(\\d{3})(\\d{7})","$1 $2",["6|90"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["3[0-357]|9[14]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["[56]"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"([59]\\d{7})$|0","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9,10,11,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[03568]","15(?:[0568]|3[13])"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8}
vendor: 5,041 bytes, line 137
137)","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{8})","$1 $2",["1"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-579]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-579]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d{5})","$1",["20[2-59]"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["(?:[1-3]0|[68])0|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[14]|2[09]|50|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"],["(\\d)(\\d{4,9})","$1 $2",["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[1389]"],"0$1"]],"0",0,"0|180020",0,0,0,[["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])
vendor: 9,381 bytes, line 137
137))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}",[9,10]],["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]],0," x"],GD:["1","011","(?:473|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","473$1",0,"473"],GE:["995","00","(?:[3-57]\\d\\d|800)\\d{6}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["32"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[57]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[348]"],"0$1"]],"0"],GF:["594","00","(?:[56]94\\d|7093)\\d{5}|(?:80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]|9[47]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[89]"],"0$1"]],"0"],GG:["44","00","(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?",[7,9,10],0,"0",0,"([25-9]\\d{5})$|0|180020","1481$1",0,0,[["1481[25-9]\\d{5}",[10]],["7(?:(?:781|839)\\d|911[17])\\d{5}",[10]],["80[08]\\d{7}|800\\d{6}|8001111"],["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d",[7,10]],["70\\d{8}",[10]],0,["(?:3[0347]|55)\\d{8}",[10]],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}",[10]],["56\\d{8}",[10]]]],GH:["233","00","(?:[235]\\d{3}|800)\\d{5}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[235]"],"0$1"]],"0"],GI:["350","00","(?:[25]\\d|60)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["2"]]]],GL:["299","00","(?:19|[2-689]\\d|70)\\d{4}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["19|[2-9]"]]]],GM:["220","00","[2-9]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],GN:["224","00","722\\d{6}|(?:3|6\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["3"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[67]"]]]],GP:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0",0,0,0,0,0,[["590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],GQ:["240","00","222\\d{6}|(?:3\\d|55|[89]0)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235]"]],["(\\d{3})(\\d{6})","$1 $2",["[89]"]]]],GR:["30","00","5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}",[10,11,12],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["21|7"]],["(\\d{4})(\\d{6})","$1 $2",["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2689]"]],["(\\d{3})(\\d{3,4})(\\d{5})","$1 $2 $3",["8"]]]],GT:["502","00","80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1 $2",["[2-8]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],GU:["1","011","(?:[58]\\d\\d|671|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","671$1",0,"671"],GW:["245","00","[49]\\d{8}|4\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["40"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"]]]],GY:["592","001","(?:[2-8]\\d{3}|9008)\\d{3}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],HK:["852","00(?:30|5[09]|[126-9]?)","8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}",[5,6,7,8,9,11],[["(\\d{3})(\\d{2,5})","$1 $2",["900","9003"]],["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{3})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]],0,0,0,0,0,0,0,"00"],HN:["504","00","8\\d{10}|[237-9]\\d{7}",[8,11],[["(\\d{4})(\\d{4})","$1-$2",["[237-9]"]]]],HR:["385","00","[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}",[7,8,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["6[01]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{4})(\\d{3})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6|7[245]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-57]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"]],"0"],HT:["509","00","[2-589]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[2-589]"]]]],HU:["36","00","[235-7]\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"],"(06 $1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"06 $1"]],"06"],ID:["62","00[89]","00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}",[7,8,9,10,11,12,13,14,15,16,17],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["15"]],["(\\d{2})(\\d{5,9})","$1 $2",["2[124]|[36]1"],"(0$1)"],["(\\d{3})(\\d{5,7})","$1 $2",["800"],"0$1"],["(\\d{3})(\\d{5,8})","$1 $2",["[2-79]"],"(0$1)"],["(\\d{3})(\\d{3,4})(\\d{3})","$1-$2-$3",["8[1-35-9]"],"0$1"],["(\\d{3})(\\d{6,8})","$1 $2",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["804"],"0$1"],["(\\d{3})(\\d)(\\d{3})(\\d{3})","$1 $2 $3 $4",["80"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1-$2-$3",["8"],"0$1"]],"0"],IE:["353","00","(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["2[24-9]|47|58|6[237-9]|9[35-9]"],"(0$1)"],["(\\d{3})(\\d{5})","$1 $2",["[45]0"],"(0$1)"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["1"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2569]|4[1-69]|7[14]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["70"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["81"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[78]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["4"],"(0$1)"],["(\\d{2})(\\d)(\\d{3})(\\d{4})","$1 $2 $3 $4",["8"],"0$1"]],"0"],IL:["972","0(?:0|1[2-9])","1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}",[7,8,9,10,11,12],[["(\\d{4})(\\d{3})","$1-$2",["125"]],["(\\d{4})(\\d{2})(\\d{2})","$1-$2-$3",["121"]],["(\\d)(\\d{3})(\\d{4})","$1-$2-$3",["[2-489]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1-$2-$3",["12"]],["(\\d{4})(\\d{6})","$1-$2",["159"]],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3-$4",["1[7-9]"]],["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})","$1-$2 $3-$4",["15"]]],"0"],IM:["44","00","1624\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([25-8]\\d{5})$|0|180020","1624$1",0,"74576|(?:16|7[56])24"],IN:["91","00","(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}",[8,9,10,11,12,13],[["(\\d{8})","$1",["5(?:0|2[23]|3[03]|[67]1|88)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)","5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"],0,1],["(\\d{4})(\\d{4,5})","$1 $2",["180","1800"],0,1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["140"],0,1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["11|2[02]|33|4[04]|79[1-7]|80[2-46]","11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])","11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]","1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"],"0$1",1],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2
vendor: 4,618 bytes, line 137
137-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807","1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]","1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689])\\d|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"],"0$1",1],["(\\d{5})(\\d{5})","$1 $2",["[6-9]"],"0$1",1],["(\\d{4})(\\d{2,4})(\\d{4})","$1 $2 $3",["1(?:6|8[06])","1(?:6|8[06]0)"],0,1],["(\\d{4})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["18"],0,1]],"0"],IO:["246","00","3\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["3"]]]],IQ:["964","00","(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-6]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"]],"0"],IR:["98","00","[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}",[4,5,6,7,10],[["(\\d{4,5})","$1",["96"],"0$1"],["(\\d{2})(\\d{4,5})","$1 $2",["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["9"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[1-8]"],"0$1"]],"0"],IS:["354","00|1(?:0(?:01|[12]0)|100)","(?:38\\d|[4-9])\\d{6}",[7,9],[["(\\d{3})(\\d{4})","$1 $2",["[4-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["3"]]],0,0,0,0,0,0,0,"00"],IT:["39","00","0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?",[6,7,8,9,10,11,12],[["(\\d{2})(\\d{4,6})","$1 $2",["0[26]"]],["(\\d{3})(\\d{3,6})","$1 $2",["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])","0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]],["(\\d{4})(\\d{2,6})","$1 $2",["0(?:[13-579][2-46-8]|8[236-8])"]],["(\\d{4})(\\d{4})","$1 $2",["894"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[26]|5"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["1(?:44|[679])|[378]|43"]],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["0[13-57-9][0159]|14"]],["(\\d{2})(\\d{4})(\\d{5})","$1 $2 $3",["0[26]"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[03]"]]],0,0,0,0,0,0,[["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"],["3[2-9]\\d{7,8}|(?:31|43)\\d{8}",[9,10]],["80(?:0\\d{3}|3)\\d{3}",[6,9]],["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",[6,8,9,10]],["1(?:78\\d|99)\\d{6}",[9,10]],["3[2-8]\\d{9,10}",[11,12]],0,0,["55\\d{8}",[10]],["84(?:[08]\\d{3}|[17])\\d{3}",[6,9]]]],JE:["44","00","1534\\d{6}|(?:[3578]\\d|90)\\d{8}",[10],0,"0",0,"([0-24-8]\\d{5})$|0|180020","1534$1",0,0,[["1534[0-24-8]\\d{5}"],["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"],["80(?:07(?:35|81)|8901)\\d{4}"],["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"],["701511\\d{4}"],0,["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"],["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"],["56\\d{8}"]]],JM:["1","011","(?:[58]\\d\\d|658|900)\\d{7}",[10],0,"1",0,0,0,0,"658|876"],JO:["962","00","(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}",[8,9],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2356]|87"],"(0$1)"],["(\\d{3})(\\d{5,6})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["70"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[47]"],"0$1"]],"0"],JP:["81","010","00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}",[8,9,10,11,12,13,14,15,16,17],[["(\\d{3})(\\d{3})(\\d{3})","$1-$2-$3",["(?:12|57|99)0"],"0$1"],["(\\d{4})(\\d)(\\d{4})","$1-$2-$3",["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2
vendor: 14,764 bytes, line 137
137-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]","1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["60"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2-$3",["3|4(?:2[09]|7[01])|6[1-9]","3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]","1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"],"0$1"],["(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3",["[14]|[289][2-9]|5[3-9]|7[2-4679]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["800"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[25-9]"],"0$1"]],"0",0,"(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0","$1"],KE:["254","000","(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}",[7,8,9,10],[["(\\d{2})(\\d{5,7})","$1 $2",["[24-6]"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[17]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0"],KG:["996","00","8\\d{9}|[235-9]\\d{8}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["3(?:1[346]|[24-79])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-79]|88"],"0$1"],["(\\d{3})(\\d{3})(\\d)(\\d{2,3})","$1 $2 $3 $4",["8"],"0$1"]],"0"],KH:["855","00[14-9]","1\\d{9}|[1-9]\\d{7,8}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],KI:["686","00","(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}",[5,8],0,"0"],KM:["269","00","[3478]\\d{6}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[3478]"]]]],KN:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","869$1",0,"869"],KP:["850","00|99","85\\d{6}|(?:19\\d|[2-7])\\d{7}",[8,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"]],"0"],KR:["82","00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))","00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}",[5,6,8,9,10,11,12,13,14],[["(\\d{2})(\\d{3,4})","$1-$2",["(?:3[1-3]|[46][1-4]|5[1-5])1"],"0$1"],["(\\d{4})(\\d{4})","$1-$2",["1"]],["(\\d)(\\d{3,4})(\\d{4})","$1-$2-$3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1-$2-$3",["[36]0|8"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1-$2-$3",["[1346]|5[1-5]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2-$3",["[57]"],"0$1"],["(\\d{2})(\\d{5})(\\d{4})","$1-$2-$3",["5"],"0$1"]],"0",0,"0(8(?:[1-46-8]|5\\d\\d))?"],KW:["965","00","18\\d{5}|(?:[2569]\\d|41)\\d{6}",[7,8],[["(\\d{4})(\\d{3,4})","$1 $2",["[169]|2(?:[235]|4[1-35-9])|52"]],["(\\d{3})(\\d{5})","$1 $2",["[245]"]]]],KY:["1","011","(?:345|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","345$1",0,"345"],KZ:["7","810","(?:33622|8\\d{8})\\d{5}|[78]\\d{9}",[10,14],0,"8",0,0,0,0,"33622|7",0,"8~10"],LA:["856","00","[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}",[8,9,10],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2[13]|3[14]|[4-8]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["3"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[23]"],"0$1"]],"0"],LB:["961","00","[27-9]\\d{7}|[13-9]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[27-9]"]]],"0"],LC:["1","011","(?:[58]\\d\\d|758|900)\\d{7}",[10],0,"1",0,"([2-8]\\d{6})$|1","758$1",0,"758"],LI:["423","00","[68]\\d{8}|(?:[2378]\\d|90)\\d{5}",[7,9],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2379]|8(?:0[09]|7)","[2379]|8(?:0(?:02|9)|7)"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["69"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]],"0",0,"(1001)|0"],LK:["94","00","[1-9]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[1-689]"],"0$1"]],"0"],LR:["231","00","(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["4[67]|[56]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-578]"],"0$1"]],"0"],LS:["266","00","(?:[256]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2568]"]]]],LT:["370","00","(?:[3469]\\d|52|[78]0)\\d{6}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["52[0-7]"],"(0-$1)",1],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[7-9]"],"0 $1",1],["(\\d{2})(\\d{6})","$1 $2",["37|4(?:[15]|6[1-8])"],"(0-$1)",1],["(\\d{3})(\\d{5})","$1 $2",["[3-6]"],"(0-$1)",1]],"0",0,"[08]"],LU:["352","00","35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",[4,5,6,7,8,9,10,11],[["(\\d{2})(\\d{3})","$1 $2",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["20[2-689]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4",["2(?:[0367]|4[3-8])"]],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["80[01]|90[015]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["20"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})","$1 $2 $3 $4 $5",["2(?:[0367]|4[3-8])"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})","$1 $2 $3 $4",["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]]],0,0,"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"],LV:["371","00","(?:[268]\\d|78|90)\\d{6}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2679]|8[01]"]]]],LY:["218","00","[2-9]\\d{8}",[9],[["(\\d{2})(\\d{7})","$1-$2",["[2-9]"],"0$1"]],"0"],MA:["212","00","[5-8]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5[45]"],"0$1"],["(\\d{4})(\\d{5})","$1-$2",["5(?:[19]|2[2-46-9]|3[3-9])|8(?:0[89]|92)"],"0$1"],["(\\d{2})(\\d{7})","$1-$2",["8"],"0$1"],["(\\d{3})(\\d{6})","$1-$2",["[5-7]"],"0$1"]],"0",0,0,0,0,0,[["5(?:(?:18|4[0679]|5[03])\\d|2(?:[0-25-79]\\d|3[1-578]|4[02-46-8]|8[0235-7])|3(?:[0-47]\\d|5[02-9]|6[02-8]|8[014-9]|9[3-9]))\\d{5}"],["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|5[0-5]))\\d{6}"],["80[0-7]\\d{6}"],["89\\d{7}"],0,0,0,0,["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]],MC:["377","00","(?:[3489]|[67]\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["4"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[389]"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[67]"],"0$1"]],"0"],MD:["373","00","(?:[235-7]\\d|[89]0)\\d{6}",[8],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["22|3"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[25-7]"],"0$1"]],"0"],ME:["382","00","(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[2-9]"],"0$1"]],"0"],MF:["590","00","(?:590\\d|7090)\\d{5}|(?:69|80|9\\d)\\d{7}",[9],0,"0",0,0,0,0,0,[["590(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)\\d{4}"],["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5])|4(?:0[89]|1[2-6]|9\\d)|6(?:1[016-9]|5[0-4]|[67]\\d))|7090[0-4])\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]],MG:["261","00","[23]\\d{8}",[9],[["(\\d{2})(\\d{2})(\\d{3})(\\d{2})","$1 $2 $3 $4",["[23]"],"0$1"]],"0",0,"([24-9]\\d{6})$|0","20$1"],MH:["692","011","329\\d{4}|(?:[256]\\d|45)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1-$2",["[2-6]"]]],"1"],MK:["389","00","[2-578]\\d{7}",[8],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2|34[47]|4(?:[37]7|5[47]|64)"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[347]"],"0$1"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["[58]"],"0$1"]],"0"],ML:["223","00","[24-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24-9]"]]]],MM:["95","00","1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}",[6,7,8,9,10],[["(\\d)(\\d{2})(\\d{3})","$1 $2 $3",["16|2"],"0$1"],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[12]|452|678|86","[12]|452|6788|86"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[4-7]|8[1-35]"],"0$1"],["(\\d)(\\d{3})(\\d{4,6})","$1 $2 $3",["9(?:2[0-4]|[35-9]|4[137-9])"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["92"],"0$1"],["(\\d)(\\d{5})(\\d{4})","$1 $2 $3",["9"],"0$1"]],"0"],MN:["976","001","[12]\\d{7,9}|[5-9]\\d{7}",[8,9,10],[["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["[12]1"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[5-9]"]],["(\\d{3})(\\d{5,6})","$1 $2",["[12]2[1-3]"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["[12](?:27|3[2-8]|4[2-68]|5[1-4689])","[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["[12]"],"0$1"]],"0"],MO:["853","00","0800\\d{3}|(?:28|[68]\\d)\\d{6}",[7,8],[["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{4})(\\d{4})","$1 $2",["[268]"]]]],MP:["1","011","[58]\\d{9}|(?:67|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","670$1",0,"670"],MQ:["596","00","(?:596\\d|7091)\\d{5}|(?:69|[89]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-79]|8(?:0[6-9]|[36])"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],MR:["222","00","(?:[2-4]\\d\\d|800)\\d{5}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-48]"]]]],MS:["1","011","(?:[58]\\d\\d|664|900)\\d{7}",[10],0,"1",0,"([34]\\d{6})$|1","664$1",0,"664"],MT:["356","00","3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[2357-9]"]]]],MU:["230","0(?:0|[24-7]0|3[03])","(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[2-46]|8[013]"]],["(\\d{4})(\\d{4})","$1 $2",["[57]"]],["(\\d{5})(\\d{5})","$1 $2",["8"]]],0,0,0,0,0,0,0,"020"],MV:["960","0(?:0|19)","(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}",[7,10],[["(\\d{3})(\\d{4})","$1-$2",["[34679]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"]]],0,0,0,0,0,0,0,"00"],MW:["265","00","(?:[1289]\\d|31|77)\\d{7}|1\\d{6}",[7,9],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["1[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[137-9]"],"0$1"]],"0"],MX:["52","0[09]","[2-9]\\d{9}",[10],[["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["33|5[56]|81"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[2-9]"]]],0,0,0,0,0,0,0,"00"],MY:["60","00","1\\d{8,9}|(?:3\\d|[4-9])\\d{7}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1-$2 $3",["[4-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1-$2 $3",["1(?:[02469]|[378][1-9]|53)|8","1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1-$2 $3",["3"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{4})","$1-$2-$3-$4",["1(?:[367]|80)"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2 $3",["15"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1-$2 $3",["1"],"0$1"]],"0"],MZ:["258","00","(?:2|8\\d)\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2|8[2-79]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],NA:["264","00","[68]\\d{7,8}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["87"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],NC:["687","00","(?:050|[2-57-9]\\d\\d)\\d{3}",[6],[["(\\d{2})(\\d{2})(\\d{2})","$1.$2.$3",["[02-57-9]"]]]],NE:["227","00","[027-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["08"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[089]|2[013]|7[0467]"]]]],NF:["672","00","[13]\\d{5}",[6],[["(\\d{2})(\\d{4})","$1 $2",["1[0-3]"]],["(\\d)(\\d{5})","$1 $2",["[13]"]]],0,0,"([0-258]\\d{4})$","3$1"],NG:["234","009","(?:20|9\\d)\\d{8}|[78]\\d{9,13}",[10,11,12,13,14],[["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[7-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["20[129]"],"0$1"],["(\\d{4})(\\d{2})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{3})(\\d{4})(\\d{4,5})","$1 $2 $3",["[78]"],"0$1"],["(\\d{3})(\\d{5})(\\d{5,6})","$1 $2 $3",["[78]"],"0$1"]],"0"],NI:["505","00","(?:1800|[25-8]\\d{3})\\d{4}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[125-8]"]]]],NL:["31","00","(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}",[5,6,7,8,9,10,11],[["(\\d{3})(\\d{4,7})","$1 $2",["[89]0"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["66"],"0$1"],["(\\d)(\\d{8})","$1 $2",["6"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-578]|91"],"0$1"],["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3",["9"],"0$1"]],"0"],NO:["47","00","(?:0|[2-9]\\d{3})\\d{4}",[5,8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["8"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]"]]],0,0,0,0,0,"[02-689]|7[0-8]"],NP:["977","00","(?:1\\d|9)\\d{9}|[1-9]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1-$2",["1[2-6]"],"0$1"],["(\\d{2})(\\d{6})","$1-$2",["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"],"0$1"],["(\\d{3})(\\d{7})","$1-$2",["9"]]],"0"],NR:["674","00","(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[24-9]"]]]],NU:["683","00","(?:[4-7]|888\\d)\\d{3}",[4,7],[["(\\d{3})(\\d{4})","$1 $2",["8"]]]],NZ:["64","0(?:0|161)","[1289]\\d{9}|50\\d{5}
vendor: 7,500 bytes, line 137
137(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,8})","$1 $2",["8[1-79]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["50[036-8]|8|90","50(?:[0367]|88)|8|90"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["24|[346]|7[2-57-9]|9[2-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:10|74)|[589]"],"0$1"],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["1|2[028]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,5})","$1 $2 $3",["2(?:[169]|7[0-35-9])|7"],"0$1"]],"0",0,0,0,0,0,0,"00"],OM:["968","00","(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}",[7,8,9],[["(\\d{3})(\\d{4,6})","$1 $2",["[58]"]],["(\\d{2})(\\d{6})","$1 $2",["2"]],["(\\d{4})(\\d{4})","$1 $2",["[179]"]]]],PA:["507","00","(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}",[7,8,10,11],[["(\\d{3})(\\d{4})","$1-$2",["[1-57-9]"]],["(\\d{4})(\\d{4})","$1-$2",["[68]"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]]],PE:["51","00|19(?:1[124]|77|90)00","(?:[14-8]|9\\d)\\d{7}",[8,9],[["(\\d{3})(\\d{5})","$1 $2",["80"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["1"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[4-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"]]],"0",0,0,0,0,0,0,"00"," Anexo "],PF:["689","00","4\\d{5}(?:\\d{2})?|8\\d{7,8}",[6,8,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["44"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4|8[7-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],PG:["675","00|140[1-3]","(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["18|[2-69]|85"]],["(\\d{4})(\\d{4})","$1 $2",["[78]"]]],0,0,0,0,0,0,0,"00"],PH:["63","00","(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}",[6,8,9,10,11,12,13],[["(\\d)(\\d{5})","$1 $2",["2"],"(0$1)"],["(\\d{4})(\\d{4,6})","$1 $2",["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2","3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"],"(0$1)"],["(\\d{5})(\\d{4})","$1 $2",["346|4(?:27|9[35])|883","3469|4(?:279|9(?:30|56))|8834"],"(0$1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|8[2-8]"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})","$1 $2 $3 $4",["1"]]],"0"],PK:["92","00","122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,7})","$1 $2 $3",["[89]0"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["1"]],["(\\d{3})(\\d{6,7})","$1 $2",["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])","9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"],"(0$1)"],["(\\d{2})(\\d{7,8})","$1 $2",["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"],"(0$1)"],["(\\d{5})(\\d{5})","$1 $2",["58"],"(0$1)"],["(\\d{3})(\\d{7})","$1 $2",["3"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"],"(0$1)"],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[24-9]"],"(0$1)"]],"0"],PL:["48","00","(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}",[6,7,8,9,10],[["(\\d{5})","$1",["19"]],["(\\d{3})(\\d{3})","$1 $2",["11|20|64"]],["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1","(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]],["(\\d{3})(\\d{2})(\\d{2,3})","$1 $2 $3",["64"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[2-8]|[2-7]|8[1-79]|9[145]"]],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["8"]]]],PM:["508","00","[45]\\d{5}|(?:708|8\\d\\d)\\d{6}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[45]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0$1"]],"0"],PR:["1","011","(?:[589]\\d\\d|787)\\d{7}",[10],0,"1",0,0,0,0,"787|939"],PS:["970","00","[2489]2\\d{6}|(?:1\\d|5)\\d{8}",[8,9,10],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[2489]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["5"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],PT:["351","00","1693\\d{5}|(?:[26-9]\\d|30)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["2[12]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["16|[236-9]"]]]],PW:["680","01[12]","(?:[24-8]\\d\\d|345|900)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-9]"]]]],PY:["595","00","59\\d{4,6}|9\\d{5,10}|(?:[2-46-8]\\d|5[0-8])\\d{4,7}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3,6})","$1 $2",["[2-9]0"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]"],"(0$1)"],["(\\d{3})(\\d{4,5})","$1 $2",["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["87"]],["(\\d{3})(\\d{6})","$1 $2",["9(?:[5-79]|8[1-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]"],"0$1"],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["9"]]],"0"],QA:["974","00","800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}",[7,8,9,11],[["(\\d{3})(\\d{4})","$1 $2",["2[136]|8"]],["(\\d{4})(\\d{4})","$1 $2",["[3-7]"]]]],RE:["262","00","709\\d{6}|(?:26|[689]\\d)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[26-9]"],"0$1"]],"0",0,0,0,0,0,[["26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}"],["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"],["80\\d{7}"],["89[1-37-9]\\d{6}"],0,0,0,0,["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"],["8(?:1[019]|2[0156]|84|90)\\d{6}"]]],RO:["40","00","(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}",[6,9],[["(\\d{3})(\\d{3})","$1 $2",["2[3-6]","2[3-6]\\d9"],"0$1"],["(\\d{2})(\\d{4})","$1 $2",["219|31"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[23]1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[236-9]"],"0$1"]],"0",0,0,0,0,0,0,0," int "],RS:["381","00","38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",[6,7,8,9,10,11,12],[["(\\d{3})(\\d{3,9})","$1 $2",["(?:2[389]|39)0|[7-9]"],"0$1"],["(\\d{2})(\\d{5,10})","$1 $2",["[1-36]"],"0$1"]],"0"],RU:["7","810","8\\d{13}|[347-9]\\d{9}",[10,14],[["(\\d{4})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-8]|2[1-9])","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))","7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"],"8 ($1)",1],["(\\d{5})(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["7(?:1[0-68]|2[1-9])","7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))","7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"8 ($1)",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[349]|8(?:[02-7]|1[1-8])"],"8 ($1)",1],["(\\d{4})(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3 $4",["8"],"8 ($1)"]],"8",0,0,0,0,0,[["336(?:[013-9]\\d|2[013-9])\\d{5}|(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8
vendor: 5,993 bytes, line 137
137(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15-7]|6[0-35-79]|7[1-37-9]))\\d{7}",[10]],["9\\d{9}",[10]],["8(?:0[04]|108\\d{3})\\d{7}"],["80[39]\\d{7}",[10]],["808\\d{7}",[10]]],"8~10"],RW:["250","00","(?:06|[27]\\d\\d|[89]00)\\d{6}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[7-9]"],"0$1"]],"0"],SA:["966","00","(?:[15]\\d|800|92)\\d{7}",[9,10],[["(\\d{4})(\\d{5})","$1 $2",["9"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]]],"0"],SB:["677","0[01]","[6-9]\\d{6}|[1-6]\\d{4}",[5,7],[["(\\d{2})(\\d{5})","$1 $2",["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]],SC:["248","010|0[0-2]","(?:[2489]\\d|64)\\d{5}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[246]|9[57]"]]],0,0,0,0,0,0,0,"00"],SD:["249","00","[19]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[19]"],"0$1"]],"0"],SE:["46","00","(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}",[6,7,8,9,10,12],[["(\\d{2})(\\d{2,3})(\\d{2})","$1-$2 $3",["20"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{4})","$1-$2",["9(?:00|39|44|9)"],"0$1",0,"$1 $2"],["(\\d{2})(\\d{3})(\\d{2})","$1-$2 $3",["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3"],["(\\d)(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2,3})(\\d{2})","$1-$2 $3",["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3"],["(\\d{3})(\\d{2,3})(\\d{3})","$1-$2 $3",["9(?:00|39|44)"],"0$1",0,"$1 $2 $3"],["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"],"0$1",0,"$1 $2 $3 $4"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4",["10|7"],"0$1",0,"$1 $2 $3 $4"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1-$2 $3 $4",["8"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1-$2 $3 $4",["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{2})(\\d{3})","$1-$2 $3 $4",["9"],"0$1",0,"$1 $2 $3 $4"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1-$2 $3 $4 $5",["[26]"],"0$1",0,"$1 $2 $3 $4 $5"]],"0"],SG:["65","0[0-3]\\d","(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}",[8,10,11],[["(\\d{4})(\\d{4})","$1 $2",["[369]|8(?:0[1-9]|[1-9])"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"]],["(\\d{4})(\\d{4})(\\d{3})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]]]],SH:["290","00","(?:[256]\\d|8)\\d{3}",[4,5],0,0,0,0,0,0,"[256]"],SI:["386","00|10(?:22|66|88|99)","[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}",[5,6,7,8],[["(\\d{2})(\\d{3,6})","$1 $2",["8[09]|9"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["59|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37][01]|4[0139]|51|6"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-57]"],"(0$1)"]],"0",0,0,0,0,0,0,"00"],SJ:["47","00","0\\d{4}|(?:[489]\\d|79)\\d{6}",[5,8],0,0,0,0,0,0,"79"],SK:["421","00","[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}",[6,7,9],[["(\\d)(\\d{2})(\\d{3,4})","$1 $2 $3",["21"],"0$1"],["(\\d{2})(\\d{2})(\\d{2,3})","$1 $2 $3",["[3-5][1-8]1","[3-5][1-8]1[67]"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{2})","$1/$2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[689]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1/$2 $3 $4",["[3-5]"],"0$1"]],"0"],SL:["232","00","(?:[237-9]\\d|66)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[236-9]"],"(0$1)"]],"0"],SM:["378","00","(?:0549|[5-7]\\d)\\d{6}",[8,10],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-7]"]],["(\\d{4})(\\d{6})","$1 $2",["0"]]],0,0,"([89]\\d{5})$","0549$1"],SN:["221","00","(?:[378]\\d|93)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[379]"]]]],SO:["252","00","[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}",[6,7,8,9],[["(\\d{2})(\\d{4})","$1 $2",["8[125]"]],["(\\d{6})","$1",["[134]"]],["(\\d)(\\d{6})","$1 $2",["[15]|2[0-79]|3[0-46-8]|4[0-7]"]],["(\\d)(\\d{7})","$1 $2",["(?:2|90)4|[67]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[348]|64|79|90"]],["(\\d{2})(\\d{5,7})","$1 $2",["1|28|6[0-35-9]|7[67]|9[2-9]"]]],"0"],SR:["597","00","(?:[2-5]|[6-8]\\d|90)\\d{5}",[6,7],[["(\\d{2})(\\d{2})(\\d{2})","$1-$2-$3",["56"]],["(\\d{3})(\\d{3})","$1-$2",["[2-5]"]],["(\\d{3})(\\d{4})","$1-$2",["[6-9]"]]]],SS:["211","00","[19]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[19]"],"0$1"]],"0"],ST:["239","00","(?:22|9\\d)\\d{5}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[29]"]]]],SV:["503","00","[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?",[7,8,11],[["(\\d{3})(\\d{4})","$1 $2",["[89]"]],["(\\d{4})(\\d{4})","$1 $2",["[25-7]"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[89]"]]]],SX:["1","011","7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"(5\\d{6})$|1","721$1",0,"721"],SY:["963","00","[1-359]\\d{8}|[1-5]\\d{7}",[8,9],[["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-4]|5[1-3]"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[59]"],"0$1",1]],"0"],SZ:["268","00","0800\\d{4}|(?:[237]\\d|900)\\d{6}",[8,9],[["(\\d{4})(\\d{4})","$1 $2",["[0237]"]],["(\\d{5})(\\d{4})","$1 $2",["9"]]]],TA:["290","00","8\\d{3}",[4],0,0,0,0,0,0,"8"],TC:["1","011","(?:[58]\\d\\d|649|900)\\d{7}",[10],0,"1",0,"([2-479]\\d{6})$|1","649$1",0,"649"],TD:["235","00|16","(?:22|30|[689]\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[236-9]"]]],0,0,0,0,0,0,0,"00"],TG:["228","00","[279]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[279]"]]]],TH:["66","00[1-9]","(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}",[8,9,10,13],[["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[13-9]"],"0$1"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1"]]],"0"],TJ:["992","810","(?:[0-57-9]\\d|66)\\d{7}",[9],[["(\\d{6})(\\d)(\\d{2})","$1 $2 $3",["331","3317"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["44[02-479]|[34]7"]],["(\\d{4})(\\d)(\\d{4}
vendor: 10,867 bytes, line 137
137)","$1 $2 $3",["3(?:[1245]|3[12])"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["\\d"]]],0,0,0,0,0,0,0,"8~10"],TK:["690","00","[2-47]\\d{3,6}",[4,5,6,7]],TL:["670","00","7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[2-489]|70"]],["(\\d{4})(\\d{4})","$1 $2",["7"]]]],TM:["993","810","(?:[1-6]\\d|71)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["12"],"(8 $1)"],["(\\d{3})(\\d)(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-5]"],"(8 $1)"],["(\\d{2})(\\d{6})","$1 $2",["[67]"],"8 $1"]],"8",0,0,0,0,0,0,"8~10"],TN:["216","00","[2-57-9]\\d{7}",[8],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-57-9]"]]]],TO:["676","00","(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}",[5,7],[["(\\d{2})(\\d{3})","$1-$2",["[2-4]|50|6[09]|7[0-24-69]|8[05]"]],["(\\d{4})(\\d{3})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[5-9]"]]]],TR:["90","00","4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}",[7,10,12,13],[["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["512|8[01589]|90"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["5(?:[0-59]|61)","5(?:[0-59]|61[06])","5(?:[0-59]|61[06]1)"],"0$1",1],["(\\d{3})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[24][1-8]|3[1-9]"],"(0$1)",1],["(\\d{3})(\\d{3})(\\d{6,7})","$1 $2 $3",["80"],"0$1",1]],"0"],TT:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-46-8]\\d{6})$|1","868$1",0,"868"],TV:["688","00","(?:2|7\\d\\d|90)\\d{4}",[5,6,7],[["(\\d{2})(\\d{3})","$1 $2",["2"]],["(\\d{2})(\\d{4})","$1 $2",["90"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],TW:["886","0(?:0[25-79]|19)","[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}",[7,8,9,10,11],[["(\\d{2})(\\d)(\\d{4})","$1 $2 $3",["202"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[258]0"],"0$1"],["(\\d)(\\d{3,4})(\\d{4})","$1 $2 $3",["[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]","[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[49]"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,5})","$1 $2 $3",["7"],"0$1"]],"0",0,0,0,0,0,0,0,"#"],TZ:["255","00[056]","(?:[25-8]\\d|41|90)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[24]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["5"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[67]"],"0$1"]],"0"],UA:["380","00","[89]\\d{9}|[3-9]\\d{8}",[9,10],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]","6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"],"0$1"],["(\\d{4})(\\d{5})","$1 $2",["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])","3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[3-7]|89|9[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["[89]"],"0$1"]],"0",0,0,0,0,0,0,"0~0"],UG:["256","00[057]","800\\d{6}|(?:[29]0|[347]\\d)\\d{7}",[9],[["(\\d{4})(\\d{5})","$1 $2",["202","2024"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["[27-9]|4(?:6[45]|[7-9])"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[34]"],"0$1"]],"0"],US:["1","011","[2-9]\\d{9}|3\\d{6}",[10],[["(\\d{3})(\\d{4})","$1-$2",["310"],0,1],["(\\d{3})(\\d{3})(\\d{4})","($1) $2-$3",["[2-9]"],0,1,"$1-$2-$3"]],"1",0,0,0,0,0,[["3052(?:0[0-8]|[1-9]\\d)\\d{4}|(?:2742|305[3-9])\\d{6}|(?:472|983)[2-47-9]\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-47-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-2]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-247]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}"],0,0,0,["305209\\d{4}"]]],UY:["598","0(?:0|1[3-9]\\d)","0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}",[4,5,6,7,8,9,10,11,12,13],[["(\\d{4,5})","$1",["21"]],["(\\d{3})(\\d{3,4})","$1 $2",["0"]],["(\\d{3})(\\d{4})","$1 $2",["[49]0|8"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{4})","$1 $2",["[124]"]],["(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3",["0"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})","$1 $2 $3 $4",["0"]]],"0",0,0,0,0,0,0,"00"," int. "],UZ:["998","00","(?:20|33|[5-9]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[235-9]"]]]],VA:["39","00","0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",[6,7,8,9,10,11,12],0,0,0,0,0,0,"06698"],VC:["1","011","(?:[58]\\d\\d|784|900)\\d{7}",[10],0,"1",0,"([2-7]\\d{6})$|1","784$1",0,"784"],VE:["58","00","[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}",[10],[["(\\d{3})(\\d{7})","$1-$2",["[24-689]"],"0$1"]],"0"],VG:["1","011","(?:284|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"([2-578]\\d{6})$|1","284$1",0,"284"],VI:["1","011","[58]\\d{9}|(?:34|90)0\\d{7}",[10],0,"1",0,"([2-9]\\d{6})$|1","340$1",0,"340"],VN:["84","00","[12]\\d{9}|[135-9]\\d{8}|[16]\\d{7}|[16-8]\\d{6}",[7,8,9,10],[["(\\d{2})(\\d{5})","$1 $2",["80"],"0$1",1],["(\\d{4})(\\d{4,6})","$1 $2",["1"],0,1],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["6"],"0$1",1],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[357-9]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["2[48]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["2"],"0$1",1]],"0"],VU:["678","00","[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}",[5,7],[["(\\d{3})(\\d{4})","$1 $2",["[57-9]"]]]],WF:["681","00","(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}",[6,9],[["(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3",["[47-9]"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"]]]],WS:["685","0","(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}",[5,6,7,10],[["(\\d{5})","$1",["[2-5]|6[1-9]"]],["(\\d{3})(\\d{3,7})","$1 $2",["[68]"]],["(\\d{2})(\\d{5})","$1 $2",["7"]]]],XK:["383","00","2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}",[8,9,10,11,12],[["(\\d{3})(\\d{5})","$1 $2",["[89]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["2|39"],"0$1"],["(\\d{2})(\\d{7,10})","$1 $2",["3"],"0$1"]],"0"],YE:["967","00","(?:1|7\\d)\\d{7}|[1-7]\\d{6}",[7,8,9],[["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["[1-6]|7(?:[24-6]|8[0-7])"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["7"],"0$1"]],"0"],YT:["262","00","7093\\d{5}|(?:80|9\\d)\\d{7}|(?:26|63)9\\d{6}",[9],0,"0",0,0,0,0,0,[["269(?:0[0-467]|15|5[0-4]|6\\d|[78]0)\\d{4}"],["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"],["80\\d{7}"],0,0,0,0,0,["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]],ZA:["27","00","[1-79]\\d{8}|8\\d{4,9}",[5,6,7,8,9,10],[["(\\d{2})(\\d{3,4})","$1 $2",["8[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["8[1-4]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["860"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-9]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["8"],"0$1"]],"0"],ZM:["260","00","800\\d{6}|(?:21|[579]\\d|63)\\d{7}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[28]"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["[579]"],"0$1"]],"0"],ZW:["263","00","2(?:[0-57-9]\\d{6,8}|6[0-24-9]\\d{6,7})|[38]\\d{9}|[35-8]\\d{8}|[3-6]\\d{7}|[1-689]\\d{6}|[1-3569]\\d{5}|[1356]\\d{4}",[5,6,7,8,9,10],[["(\\d{3})(\\d{3,5})","$1 $2",["2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]"],"0$1"],["(\\d)(\\d{3})(\\d{2,4})","$1 $2 $3",["[49]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["80"],"0$1"],["(\\d{2})(\\d{7})","$1 $2",["24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2","2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)","2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["8"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["29[013-9]|39|54"],"0$1"],["(\\d{4})(\\d{3,5})","$1 $2",["(?:25|54)8","258|5483"],"0$1"]],"0"]},nonGeographic:{800:["800",0,"(?:00|[1-9]\\d)\\d{6}",[8],[["(\\d{4})(\\d{4})","$1 $2",["\\d"]]],0,0,0,0,0,0,[0,0,["(?:00|[1-9]\\d)\\d{6}"]]],808:["808",0,"[1-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[1-9]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,0,["[1-9]\\d{7}"]]],870:["870",0,"7\\d{11}|[235-7]\\d{8}",[9,12],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[235-7]"]]],0,0,0,0,0,0,[0,["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"],0,0,0,0,0,0,["2\\d{8}",[9]]]],878:["878",0,"10\\d{10}",[12],[["(\\d{2})(\\d{5})(\\d{5})","$1 $2 $3",["1"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["10\\d{10}"]]],881:["881",0,"6\\d{9}|[0-36-9]\\d{8}",[9,10],[["(\\d)(\\d{3})(\\d{5})","$1 $2 $3",["[0-37-9]"]],["(\\d)(\\d{3})(\\d{5,6})","$1 $2 $3",["6"]]],0,0,0,0,0,0,[0,["6\\d{9}|[0-36-9]\\d{8}"]]],882:["882",0,"[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?",[7,8,9,10,11,12],[["(\\d{2})(\\d{5})","$1 $2",["16|342"]],["(\\d{2})(\\d{6})","$1 $2",["49"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["1[36]|9"]],["(\\d{2})(\\d{4})(\\d{3})","$1 $2 $3",["3[23]"]],["(\\d{2})(\\d{3,4})(\\d{4})","$1 $2 $3",["16"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|23|3(?:[15]|4[57])|4|51"]],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["34"]],["(\\d{2})(\\d{4,5})(\\d{5})","$1 $2 $3",["[1-35]"]]],0,0,0,0,0,0,[0,["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|50\\d{3})\\d{7}",[7,8,9,10,12]],0,0,0,["348[57]\\d{7}",[11]],0,0,["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]],883:["883",0,"(?:[1-4]\\d|51)\\d{6,10}",[8,9,10,11,12],[["(\\d{3})(\\d{3})(\\d{2,8})","$1 $2 $3",["[14]|2[24-689]|3[02-689]|51[24-9]"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["510"]],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["21"]],["(\\d{4})(\\d{4})(\\d{4})","$1 $2 $3",["51[13]"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["[235]"]]],0,0,0,0,0,0,[0,0,0,0,0,0,0,0,["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]],888:["888",0,"\\d{11}",[11],[["(\\d{3})(\\d{3})(\\d{5})","$1 $2 $3"]],0,0,0,0,0,0,[0,0,0,0,0,0,["\\d{11}"]]],979:["979",0,"[1359]\\d{8}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[1359]"]]],0,0,0,0,0,0,[0,0,0,["[1359]\\d{8}"]]]}};function
137km(e,t){e=e.split("-"),t=t.split("-");for(var n=e[0].split("."),o=t[0].split("."),i=0;i<3;i++){var l=Number(n[i]),s=Number(o[i]);if(l>s)return 1;if(s>l)return -1;if(!isNaN(l)&&isNaN(s))return 1;if(isNaN(l)&&!isNaN(s))return -1}return e[1]&&t[1]?e[1]>t[1]?1:e[1]<t[1]?-1:0:!e[1]&&t[1]?1:e[1]&&!t[1]?-1:0}var kg={}.constructor;function kv(e){return null!=e&&e.constructor===kg}function ky(e){return(ky="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})(e)}function kb(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function kw(e,t,n){return t&&function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,function(e){var t=function(e,t){if("object"!=ky(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=ky(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==ky(t)?t:t+""}(o.key),o)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}var kx=" ext. ",kE=/^\d+$/,kC=kw(function e(t){kb(this,e),kO(t),this.metadata=t,kT.call(this,t)},[{key:"getCountries",value:function(){return Object.keys(this.metadata.countries).filter(function(e){return"001"!==e})}},{key:"getCountryMetadata",value:function(e){return this.metadata.countries[e]}},{key:"nonGeographic",value:function(){if(!(this.v1||this.v2||this.v3))return this.metadata.nonGeographic||this.metadata.nonGeographical}},{key:"hasCountry",value:function(e){return void 0!==this.getCountryMetadata(e)}},{key:"hasCallingCode",value:function(e){if(this.getCountryCodesForCallingCode(e))return!0;if(this.nonGeographic()){if(this.nonGeographic()[e])return!0}else{var t=this.countryCallingCodes()[e];if(t&&1===t.length&&"001"===t[0])return!0}}},{key:"isNonGeographicCallingCode",value:function(e){return this.nonGeographic()?!!this.nonGeographic()[e]:!this.getCountryCodesForCallingCode(e)}},{key:"country",value:function(e){return this.selectNumberingPlan(e)}},{key:"selectNumberingPlan",value:function(e,t){if(e&&kE.test(e)&&(t=e,e=null),e&&"001"!==e){if(!this.hasCountry(e))throw Error("Unknown country: ".concat(e));this.numberingPlan=new kk(this.getCountryMetadata(e),this)}else if(t){if(!this.hasCallingCode(t))throw Error("Unknown calling code: ".concat(t));this.numberingPlan=new kk(this.getNumberingPlanMetadata(t),this)}else this.numberingPlan=void 0;return this}},{key:"getCountryCodesForCallingCode",value:function(e){var t=this.countryCallingCodes()[e];if(t)return 1===t.length&&3===t[0].length?void 0:t}},{key:"getCountryCodeForCallingCode",value:function(e){var t=this.getCountryCodesForCallingCode(e);if(t)return t[0]}},{key:"getNumberingPlanMetadata",value:function(e){var t=this.getCountryCodeForCallingCode(e);if(t)return this.getCountryMetadata(t);if(this.nonGeographic()){var n=this.nonGeographic()[e];if(n)return n}else{var o=this.countryCallingCodes()[e];if(o&&1===o.length&&"001"===o[0])return this.metadata.countries["001"]}}},{key:"countryCallingCode",value:function(){return this.numberingPlan.callingCode()}},{key:"IDDPrefix",value:function(){return this.numberingPlan.IDDPrefix()}},{key:"defaultIDDPrefix",value:function(){return this.numberingPlan.defaultIDDPrefix()}},{key:"nationalNumberPattern",value:function(){return this.numberingPlan.nationalNumberPattern()}},{key:"possibleLengths",value:function(){return this.numberingPlan.possibleLengths()}},{key:"formats",value:function(){return this.numberingPlan.formats()}},{key:"nationalPrefixForParsing",value:function(){return this.numberingPlan.nationalPrefixForParsing()}},{key:"nationalPrefixTransformRule",value:function(){return this.numberingPlan.nationalPrefixTransformRule()}},{key:"leadingDigits",value:function(){return this.numberingPlan.leadingDigits()}},{key:"hasTypes",value:function(){return this.numberingPlan.hasTypes()}},{key:"type",value:function(e){return this.numberingPlan.type(e)}},{key:"ext",value:function(){return this.numberingPlan.ext()}},{key:"countryCallingCodes",value:function(){return this.v1?this.metadata.country_phone_code_to_countries:this.metadata.country_calling_codes}},{key:"chooseCountryByCountryCallingCode",value:function(e){return this.selectNumberingPlan(e)}},{key:"hasSelectedNumberingPlan",value:function(){return void 0!==this.numberingPlan}}]),kk=kw(function e(t,n){kb(this,e),this.globalMetadataObject=n,this.metadata=t,kT.call(this,n.metadata)},[{key:"callingCode",value:function(){return this.metadata[0]}},{key:"getDefaultCountryMetadataForRegion",value:function(){return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode())}},{key:"IDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[1]}},{key:"defaultIDDPrefix",value:function(){if(!(this.v1||this.v2))return this.metadata[12]}},{key:"nationalNumberPattern",value:function(){return this.v1||this.v2?this.metadata[1]:this.metadata[2]}},{key:"possibleLengths",value:function(){if(!this.v1)return this.metadata[this.v2?2:3]}},{key:"_getFormats",value:function(e){return e[this.v1?2:this.v2?3:4]}},{key:"formats",value:function(){var e=this;return(this._getFormats(this.metadata)||this._getFormats(this.getDefaultCountryMetadataForRegion())||[]).map(function(t){return new kM(t,e)})}},{key:"nationalPrefix",value:function(){return this.metadata[this.v1?3:this.v2?4:5]}},{key:"_getNationalPrefixFormattingRule",value:function(e){return e[this.v1?4:this.v2?5:6]}},{key:"nationalPrefixFormattingRule",value:function(){return this._getNationalPrefixFormattingRule(this.metadata)||this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion())}},{key:"_nationalPrefixForParsing",value:function(){return this.metadata[this.v1?5:this.v2?6:7]}},{key:"nationalPrefixForParsing",value:function(){return this._nationalPrefixForParsing()||this.nationalPrefix()}},{key:"nationalPrefixTransformRule",value:function(){return this.metadata[this.v1?6:this.v2?7:8]}},{key:"_getNationalPrefixIsOptionalWhenFormatting",value:function(){return!!this.metadata[this.v1?7:this.v2?8:9]}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata)||this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion())}},{key:"leadingDigits",value:function(){return this.metadata[this.v1?8:this.v2?9:10]}},{key:"types",value:function(){return this.metadata[this.v1?9:this.v2?10:11]}},{key:"hasTypes",value:function(){return(!this.types()||0!==this.types().length)&&!!this.types()}},{key:"type",value:function(e){if(this.hasTypes()&&kj(this.types(),e))return new kS(kj(this.types(),e),this)}},{key:"ext",value:function(){return this.v1||this.v2?kx:this.metadata[13]||kx}}]),kM=kw(function e(t,n){kb(this,e),this._format=t,this.metadata=n},[{key:"pattern",value:function(){return this._format[0]}},{key:"format",value:function(){return this._format[1]}},{key:"leadingDigitsPatterns",value:function(){return this._format[2]||[]}},{key:"nationalPrefixFormattingRule",value:function(){return this._format[3]||this.metadata.nationalPrefixFormattingRule()}},{key:"nationalPrefixIsOptionalWhenFormattingInNationalFormat",value:function(){return!!this._format[4]||this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"nationalPrefixIsMandatoryWhenFormattingInNationalFormat",value:function(){return this.usesNationalPrefix()&&!this.nationalPrefixIsOptionalWhenFormattingInNationalFormat()}},{key:"usesNationalPrefix",value:function(){return!!(this.nationalPrefixFormattingRule()&&!k_.test(this.nationalPrefixFormattingRule()))}},{key:"internationalFormat",value:function(){return this._format[5]||this.format()}}]),k_=/^\(?\$1\)?$/,kS=kw(function e(t,n){kb(this,e),this.type=t,this.metadata=n},[{key:"pattern",value:function(){return this.metadata.v1?this.type:this.t
137ype[0]}},{key:"possibleLengths",value:function(){if(!this.metadata.v1)return this.type[1]||this.metadata.possibleLengths()}}]);function kj(e,t){switch(t){case"FIXED_LINE":return e[0];case"MOBILE":return e[1];case"TOLL_FREE":return e[2];case"PREMIUM_RATE":return e[3];case"PERSONAL_NUMBER":return e[4];case"VOICEMAIL":return e[5];case"UAN":return e[6];case"PAGER":return e[7];case"VOIP":return e[8];case"SHARED_COST":return e[9]}}function kO(e){if(!e)throw Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");if(!kv(e)||!kv(e.countries))throw Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(kv(e)?"an object of shape: { "+Object.keys(e).join(", ")+" }":"a "+kL(e)+": "+e,"."))}var kL=function(e){return ky(e)};function kA(e,t){if((t=new kC(t)).hasCountry(e))return t.selectNumberingPlan(e).countryCallingCode();throw Error("Unknown country: ".concat(e))}function kT(e){var t=e.version;"number"==typeof t?(this.v1=1===t,this.v2=2===t,this.v3=3===t,this.v4=4===t):t?-1===km(t,"1.2.0")?this.v2=!0:-1===km(t,"1.7.35")?this.v3=!0:this.v4=!0:this.v1=!0}function kP(e,t,n){return function(e,t,n,o){t&&(o=new kC(o.metadata)).selectNumberingPlan(t);var i=o.type(n),l=i&&i.possibleLengths()||o.possibleLengths();if(!l)return"IS_POSSIBLE";var s=e.length,u=l[0];return u===s?"IS_POSSIBLE":u>s?"TOO_SHORT":l[l.length-1]<s?"TOO_LONG":l.indexOf(s,1)>=0?"IS_POSSIBLE":"INVALID_LENGTH"}(e,t,void 0,n)}function kN(e,t,n){return"IS_POSSIBLE"===kP(e,t,n)}function kF(e,t){return e=e||"",RegExp("^(?:"+t+")$").test(e)}function kR(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var k$=["MOBILE","PREMIUM_RATE","TOLL_FREE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];function kD(e,t,n){if(t=t||{},!(!e.country&&!e.countryCallingCode)){(n=new kC(n)).selectNumberingPlan(e.country,e.countryCallingCode);var o=t.v2?e.nationalNumber:e.phone;if(kF(o,n.nationalNumberPattern())){if(kz(o,"FIXED_LINE",n))return n.type("MOBILE")&&""===n.type("MOBILE").pattern()||!n.type("MOBILE")||kz(o,"MOBILE",n)?"FIXED_LINE_OR_MOBILE":"FIXED_LINE";for(var i,l=function(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return kR(e,void 0);var n=({}).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)?kR(e,void 0):void 0}}(e))){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 138In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(k$);!(i=l()).done;){var s=i.value;if(kz(o,s,n))return s}}}}function kz(e,t,n){return!(!(t=n.type(t))||!t.pattern()||t.possibleLengths()&&0>t.possibleLengths().indexOf(e.length))&&kF(e,t.pattern())}var kI="0-9ï¼-ï¼Ù -Ù©Û°-Û¹",kH="".concat("-â-ââã¼ï¼").concat("ï¼/").concat("ï¼.").concat(" \xa0\xadââ ã").concat("()ï¼ï¼ï¼»ï¼½\\[\\]").concat("~ââ¼ï½"),kB="+ï¼",kW=RegExp("(["+kI+"])");function kV(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function kU(e,t){var n=t.nationalNumber,o=t.metadata,i=o.getCountryCodesForCallingCode(e);if(i)return 1===i.length?i[0]:function(e,t){var n=t.countries,o=t.metadata;o=new kC(o);for(var i,l=function(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return kV(e,void 0);var n=({}).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)?kV(e,void 0):void 0}}(e))){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 139In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(n);!(i=l()).done;){var s=i.value;if(o.selectNumberingPlan(s),o.leadingDigits()){if(e&&0===e.search(o.leadingDigits()))return s}else if(kD({phone:e,country:s},void 0,o.metadata))return s}}(n,{countries:i,metadata:o.metadata})}function kq(e,t,n){var o=function(e,t){if(e&&t.numberingPlan.nationalPrefixForParsing()){var n=RegExp("^(?:"+t.numberingPlan.nationalPrefixForParsing()+")"),o=n.exec(e);if(o){var i,l,s,u=o.length-1,c=u>0&&o[u];if(t.nationalPrefixTransformRule()&&c)l=e.replace(n,t.nationalPrefixTransformRule()),u>1&&(s=o[1]);else{var d=o[0];l=e.slice(d.length),c&&(s=o[1])}if(c){var f=e.indexOf(o[1]);e.slice(0,f)===t.numberingPlan.nationalPrefix()&&(i=t.numberingPlan.nationalPrefix())}else i=o[0];return{nationalNumber:l,nationalPrefix:i,carrierCode:s}}}return{nationalNumber:e}}(e,n),i=o.carrierCode,l=o.nationalNumber;return l!==e&&(kF(e,n.nationalNumberPattern())&&!kF(l,n.nationalNumberPattern())||n.numberingPlan.possibleLengths()&&(t||(t=kU(n.numberingPlan.callingCode(),{nationalNumber:l,metadata:n})),!function(e,t,n){switch(kP(e,t,n)){case"TOO_SHORT":case"INVALID_LENGTH":return!1;default:return!0}}
139(l,t,n)))?{nationalNumber:e}:{nationalNumber:l,carrierCode:i}}function kG(e,t,n,o,i){if(!e)return{};if("+"!==e[0]){var l,s=function(e,t,n,o){if(t){var i=new kC(o);i.selectNumberingPlan(t,n);var l=new RegExp(i.IDDPrefix());if(0===e.search(l)){var s=(e=e.slice(e.match(l)[0].length)).match(kW);if(!(s&&null!=s[1]&&s[1].length>0&&"0"===s[1]))return e}}}(e,n,o,i);if(s&&s!==e)l=!0,e="+"+s;else{if(n||o){var u=function(e,t,n,o,i){var l=n?kA(n,i):o;if(0===e.indexOf(l)){(i=new kC(i)).selectNumberingPlan(n,l);var s=e.slice(l.length),u=kq(s,t,i).nationalNumber,c=kq(e,t,i).nationalNumber;if(!kF(c,i.nationalNumberPattern())&&kF(u,i.nationalNumberPattern())||"TOO_LONG"===kP(c,t,i))return{countryCallingCode:l,number:s}}return{number:e}}(e,t,n,o,i),c=u.countryCallingCode,d=u.number;if(c)return{countryCallingCodeSource:"FROM_NUMBER_WITHOUT_PLUS_SIGN",countryCallingCode:c,number:d}}return{number:e}}}if("0"===e[1])return{};i=new kC(i);for(var f=2;f-1<=3&&f<=e.length;){var h=e.slice(1,f);if(i.hasCallingCode(h))return i.selectNumberingPlan(h),{countryCallingCodeSource:l?"FROM_NUMBER_WITH_IDD":"FROM_NUMBER_WITH_PLUS_SIGN",countryCallingCode:h,number:e.slice(f)};f++}return{}}var kY=/(\$\d)/,kZ=/^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/,kK=function(e){return"([".concat(kI,"]{1,").concat(e,"})")};function kQ(e){var t="[ \xa0\\t,]*",n="[:\\.ï¼]?[ \xa0\\t,-]*",o="[ \xa0\\t]*";return";ext="+kK("20")+"|"+(t+"(?:e?xt(?:ensi(?:oÌ?|\xf3))?n?|ï½
?ï½ï½ï½?|доб|anexo)"+n)+kK("20")+"#?|"+(t+"(?:[xï½#ï¼~ï½]|int|ï½ï½ï½)"+n)+kK("9")+"#?|[- ]+"+kK("6")+"#|"+(o+"(?:,{2}|;)"+n)+kK("15")+"#?|"+(o+"(?:,)+"+n)+kK("9")+"#?"}var kX=RegExp("^["+kB+"]{0,1}(?:["+kH+"]*["+kI+"]){1,2}$","i"),kJ="["+kB+"]{0,1}(?:["+kH+"]*["+kI+"]){3,}["+kH+kI+"]*(?:"+kQ()+")?",k1=RegExp("^["+kI+"]{2}$|^"+kJ+"$","i"),k0={formatExtension:function(e,t,n){return"".concat(e).concat(n.ext()).concat(t)}};function k2(e,t,n,o,i){var l,s,u,c,d=function(e,t){for(var n=0;n<e.length;){if(t(e[n]))return e[n];n++}}(o.formats(),function(t){if(t.leadingDigitsPatterns().length>0){var n=t.leadingDigitsPatterns()[t.leadingDigitsPatterns().length-1];if(0!==e.search(n))return!1}return kF(e,t.pattern())});return d?(s=(l={useInternationalFormat:"INTERNATIONAL"===n,withNationalPrefix:!(d.nationalPrefixIsOptionalWhenFormattingInNationalFormat()&&i&&!1===i.nationalPrefix)}).useInternationalFormat,u=l.withNationalPrefix,c=e.replace(new RegExp(d.pattern()),s?d.internationalFormat():u&&d.nationalPrefixFormattingRule()?d.format().replace(kY,d.nationalPrefixFormattingRule()):d.format()),s?c.replace(RegExp("[".concat(kH,"]+"),"g")," ").trim():c):e}function k3(e){return(k3="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})(e)}function k5(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function k4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k5(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=k6(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k5(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function k6(e){var t=function(e,t){if("object"!=k3(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=k3(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==k3(t)?t:t+""}var k7=(j9=function e(t,n,o){if(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),!t)throw TypeError("First argument is required");if("string"!=typeof t)throw TypeError("First argument must be a string");if("+"===t[0]&&!n)throw TypeError("`metadata` argument not passed");if(kv(n)&&kv(n.countries)){o=n;var i,l,s,u,c=t;if(!k8.test(c))throw Error('Invalid `number` argument passed: must consist of a "+" followed by digits');var d=kG(c,void 0,void 0,void 0,o),f=d.countryCallingCode;if(n=d.number,t=f,!n)throw Error("Invalid `number` argument passed: too short")}if(!n)throw TypeError("`nationalNumber` argument is required");if("string"!=typeof n)throw TypeError("`nationalNumber` argument must be a string");kO(o);var h=(i=t,u=new kC(o),/^[A-Z]{2}$/.test(i)?(l=i,u.selectNumberingPlan(l),s=u.countryCallingCode()):s=i,{country:l,countryCallingCode:s}),p=h.country,m=h.countryCallingCode;this.country=p,this.countryCallingCode=m,this.nationalNumber=n,this.number="+"+this.countryCallingCode+this.nationalNumber,this.getMetadata=function(){return o}},Oe=[{key:"setExt",value:function(e){this.ext=e}},{key:"getPossibleCountries",value:function(){var e,t,n,o;
139return this.country?[this.country]:(e=this.countryCallingCode,t=this.nationalNumber,(o=new kC(n=this.getMetadata()).getCountryCodesForCallingCode(e))?o.filter(function(e){var o;return(o=new kC(n)).selectNumberingPlan(e),o.numberingPlan.possibleLengths().indexOf(t.length)>=0}):[])}},{key:"isPossible",value:function(){return function(e,t,n){if(void 0===t&&(t={}),n=new kC(n),t.v2){if(!e.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}else{if(!e.phone)return!1;if(e.country){if(!n.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));n.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)throw Error("Invalid phone number object passed");n.selectNumberingPlan(e.countryCallingCode)}}if(n.possibleLengths())return kN(e.phone||e.nationalNumber,e.country,n);if(e.countryCallingCode&&n.isNonGeographicCallingCode(e.countryCallingCode))return!0;throw Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.')}(this,{v2:!0},this.getMetadata())}},{key:"isValid",value:function(){var e,t;return(e=e={v2:!0},(t=new kC(t=this.getMetadata())).selectNumberingPlan(this.country,this.countryCallingCode),t.hasTypes())?void 0!==kD(this,e,t.metadata):kF(e.v2?this.nationalNumber:this.phone,t.nationalNumberPattern())}},{key:"isNonGeographic",value:function(){return new kC(this.getMetadata()).isNonGeographicCallingCode(this.countryCallingCode)}},{key:"isEqual",value:function(e){return this.number===e.number&&this.ext===e.ext}},{key:"getType",value:function(){return kD(this,{v2:!0},this.getMetadata())}},{key:"format",value:function(e,t){return function(e,t,n,o){if(n=n?function(){for(var e=1,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];for(;e<n.length;){if(n[e])for(var i in n[e])n[0][i]=n[e][i];e++}return n[0]}({},k0,n):k0,o=new kC(o),e.country&&"001"!==e.country){if(!o.hasCountry(e.country))throw Error("Unknown country: ".concat(e.country));o.selectNumberingPlan(e.country)}else{if(!e.countryCallingCode)return e.phone||"";o.selectNumberingPlan(e.countryCallingCode)}var i,l,s,u,c,d,f,h,p,m,g,v,y,b=o.countryCallingCode(),w=n.v2?e.nationalNumber:e.phone;switch(t){case"NATIONAL":return w?(i=y=k2(w,e.carrierCode,"NATIONAL",o,n),l=e.ext,s=o,u=n.formatExtension,l?u(i,l,s):i):"";case"INTERNATIONAL":return w?(y=k2(w,null,"INTERNATIONAL",o,n),c=y="+".concat(b," ").concat(y),d=e.ext,f=o,h=n.formatExtension,d?h(c,d,f):c):"+".concat(b);case"E.164":return"+".concat(b).concat(w);case"RFC3966":return function(e){var t=e.number,n=e.ext;if(!t)return"";if("+"!==t[0])throw Error('"formatRFC3966()" expects "number" to be in E.164 format.');return"tel:".concat(t).concat(n?";ext="+n:"")}({number:"+".concat(b).concat(w),ext:e.ext});case"IDD":if(!n.fromCountry)return;return p=function(e,t,n,o,i){if(kA(o,i.metadata)===n){var l,s,u=k2(e,t,"NATIONAL",i);return"1"===n?n+" "+u:u}var c=(l=void 0,((s=new kC(i.metadata)).selectNumberingPlan(o,l),s.defaultIDDPrefix())?s.defaultIDDPrefix():kZ.test(s.IDDPrefix())?s.IDDPrefix():void 0);if(c)return"".concat(c," ").concat(n," ").concat(k2(e,null,"INTERNATIONAL",i))}(w,e.carrierCode,b,n.fromCountry,o),m=e.ext,g=o,v=n.formatExtension,m?v(p,m,g):p;default:throw Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t,'"'))}}(this,e,t?k4(k4({},t),{},{v2:!0}):{v2:!0},this.getMetadata())}},{key:"formatNational",value:function(e){return this.format("NATIONAL",e)}},{key:"formatInternational",value:function(e){return this.format("INTERNATIONAL",e)}},{key:"getURI",value:function(e){return this.format("RFC3966",e)}}],function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,k6(o.key),o)}}(j9.prototype,Oe),Object.defineProperty(j9,"prototype",{writable:!1}),j9),k8=/^\+\d+$/;function k9(e){return(k9="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})(e)}function Me(e){var t="function"==typeof Map?new Map:void 0;return(Me=function(e){if(null===e||!function(e){try{return -1!==Function.toString.call(e).indexOf("[native code]")}catch{return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(Mt())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,t);var i=new(e.bind.apply(e,o));return n&&Mr(i,n.prototype),i}(e,arguments,Mn(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Mr(n,e)})(e)}function Mt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Mt=function(){return!!e})()}function Mr(e,t){return(Mr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}
139function Mn(e){return(Mn=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ma=function(e){function t(e){var n,o,i;return function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),o=t,i=[e],o=Mn(o),Object.setPrototypeOf(n=function(e,t){if(t&&("object"==k9(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,Mt()?Reflect.construct(o,i||[],Mn(this).constructor):o.apply(this,i)),t.prototype),n.name=n.constructor.name,n}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Mr(e,t)}(t,e),Object.defineProperty(t,"prototype",{writable:!1}),t}(Me(Error)),Mo=RegExp("(?:"+kQ()+")$","i"),Mi={0:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9","ï¼":"0","ï¼":"1","ï¼":"2","ï¼":"3","ï¼":"4","ï¼":"5","ï¼":"6","ï¼":"7","ï¼":"8","ï¼":"9","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9"};function Ml(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Ms(e){for(var t,n="",o=function(e,t){var n="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ml(e,void 0);var n=({}).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)?Ml(e,void 0):void 0}}(e))){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 140In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(e.split(""));!(t=o()).done;){var i,l=t.value;n+=(i=n,("+"===l?i?void 0:"+":Mi[l])||"")}return n}var Mu="(["+kI+"]|[\\-\\.\\(\\)]?)",Mc=RegExp("^\\+"+Mu+"*["+kI+"]"+Mu+"*$","g"),Md=RegExp("^(["+kI+"]+((\\-)*["+kI+"])*\\.)*[a-zA-Z]+((\\-)*["+kI+"])*\\.?$","g"),Mf="tel:",Mh=";phone-context=",Mp=RegExp("["+kB+kI+"]"),Mm=RegExp("[^"+kI+"#]+$");function Mg(e){return(Mg="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})(e)}function Mv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function My(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mv(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=Mg(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Mg(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Mg(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mb(e){return(Mb="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})(e)}function Mw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Mx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function ME(e){return(ME="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})(e)}function MC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function Mk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
140t%2?MC(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=ME(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=ME(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==ME(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MM(e){return(MM="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})(e)}function M_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function MS(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?M_(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=MM(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=MM(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==MM(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):M_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Mj(){var e=function(e){var t,n,o,i,l=function(e){if(Array.isArray(e))return e}(t=Array.prototype.slice.call(e))||function(e,t){var n=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,l,s,u=[],c=!0,d=!1;try{for(l=(n=n.call(e)).next;!(c=(o=l.call(n)).done)&&(u.push(o.value),4!==u.length);c=!0);}catch(e){d=!0,i=e}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(d)throw i}}return u}}(t,4)||function(e,t){if(e){if("string"==typeof e)return Mx(e,4);var n=({}).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)?Mx(e,4):void 0}}(t,4)||function(){throw TypeError(`Invalid attempt to destructure non-iterable instance. 141In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}(),s=l[0],u=l[1],c=l[2],d=l[3];if("string"==typeof s)n=s;else throw TypeError("A text for parsing must be a string.");if(u&&"string"!=typeof u){if(kv(u))c?(o=u,i=c):i=u;else throw Error("Invalid second argument: ".concat(u))}else d?(o=c,i=d):(o=void 0,i=c),u&&(o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mw(Object(n),!0).forEach(function(t){var o,i;o=t,i=n[t],(o=function(e){var t=function(e,t){if("object"!=Mb(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t);if("object"!=Mb(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Mb(t)?t:t+""}(o))in e?Object.defineProperty(e,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[o]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({defaultCountry:u},o));return{text:n,options:o,metadata:i}}(arguments),t=e.text,n=e.options,o=e.metadata,i=function(e,t,n){var o,i;t&&t.defaultCountry&&(o=t.defaultCountry,!n.countries.hasOwnProperty(o))&&(t=Mk(Mk({},t),{},{defaultCountry:void 0}));try{return i=t,function(e,t,n){if(t=t||{},n=new kC(n),t.defaultCountry&&!n.hasCountry(t.defaultCountry))throw t.v2?new Ma("INVALID_COUNTRY"):Error("Unknown country: ".concat(t.defaultCountry));var o,i=function(e,t,n){var o=function(e,t){var n=t.extractFormattedPhoneNumber,o=function(e){var t=e.indexOf(Mh);if(t<0)return null;var n=t+Mh.length;if(n>=e.length)return"";var o=e.indexOf(";",n);return o>=0?e.substring(n,o):e.substring(n)}(e);if(!(null===o||0!==o.length&&(Mc.test(o)||Md.test(o))))throw new Ma("NOT_A_NUMBER");if(null===o)i=n(e)||"";else{i="","+"===o.charAt(0)&&(i+=o);var i,l,s=e.indexOf(Mf);l=s>=0?s+Mf.length:0;var u=e.indexOf(Mh);i+=e.substring(l,u)}var c=i.indexOf(";isub=");if(c>0&&(i=i.substring(0,c)),""!==i)return i}(e,{extractFormattedPhoneNumber:function(e){return function(e,t,n){if(e){if(e.length>250){if(n)throw new Ma("TOO_LONG");return}if(!1===t)return e;var o=e.search(Mp);if(!(o<0))return e.slice(o).replace(Mm,"")}}(e,n,t)}});if(!o)return{};if(!(o.length>=2&&k1.test(o)))return kX.test(o)?{error:"TOO_SHORT"}:{};var i=function(e){var t=e.search(Mo);if(t<0)return{};for(var n=e.slice(0,t),o=e.match(Mo),i=1;i<o.length;){if(o[i])return{number:n,ext:o[i]};i++}}(o);return i.ext?i:{number:o}}(e,t.v2,t.extract),l=i.number,s=i.ext,u=i.error;if(!l){if(t.v2)throw new Ma("TOO_SHORT"===u?"TOO_SHORT":"NOT_A_NUMBER");return{}}var c=function(e,t,n,o){var i,l=kG(Ms(e),void 0,t,n,o.metadata),s=l.countryCallingCodeSource,u=l.countryCallingCode,c=l.number;if(u)o.selectNumberingPlan(u);else{if(!c||!t&&!n)return{};o.selectNumberingPlan(t,n),t&&(i=t),u=n||kA(t,o.metadata)}if(!c)return{countryCallingCodeSource:s,countryCallingCode:u};var d=kq(Ms(c),i,o),f=d.nationalNumber,h=d.carrierCode,p=kU(u,{nationalNumber:f,metadata:o});return p&&(i=p,"001"===p||o.selectNumberingPlan(i)),{country:i,countryCallingCode:u,countryCallingCodeSource:s,nationalNumber:f,carrierCode:h}}(l,t.defaultCountry,t.defaultCallingCode,n),d=c.country,f=c.nationalNumber,h=c.countryCallingCode,p=c.countryCallingCodeSource,m=c.carrierCode;if(!n.hasSelectedNumberingPlan()){if(t.v2)throw new Ma("INVALID_COUNTRY");return{}}if(!f||f.length<2){if(t.v2)throw new Ma("TOO_SHORT");return{}}if(f.length>17){if(t.v2)throw new Ma("TOO_LONG");return{}}if(t.v2){var g=new k7(h,f,n.metadata);return d&&(g.country=d),m&&(g.carrierCode=m),s&&(g.ext=s),g.__countryCallingCodeSource=p,g}var v=(t.extended?!!n.hasSelectedNumberingPlan():!!d)&&kF(f,n.nationalNumberPattern());return t.extended?{country:d,countryCallingCode:h,carrierCode:m,valid:v,possible:!!v||!!(!0===t.extended&&n.possibleLengths()&&kN(f,d,n)),phone:f,ext:s}:v?(o={country:d,phone:f},s&&(o.ext=s),o):{}}(e,My(My({},i),{},{v2:!0}),n)}catch(e){if(!(e instanceof Ma))throw e}}(t,n=MS(MS({},n),{},{extract:!1}),o);return i&&i.isValid()||!1}function MO(e){this._maxSize=e,this.clear()}MO.prototype.clear=function(){this._size=0,this._values=Object.create(null)},MO.prototype.get=function(e){return this._values[e]},MO.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var ML=/[^.^\]^[]+|(?=\[\]|\.\.)/g,MA=/^\d+$/,MT=/^\d/,MP=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,MN=/^\s*(['"]?)(.*?)(\1)\s*$/,MF=new MO(512),MR=(new MO(512),new MO(512)),M$={split:Mz,normalizePath:MD,getter:function(e,t){var n=MD(e);return MR.get(e)||MR.set(e,function(e){for(var o=0,i=n.length;o<i;)if(null==e&&t)return;else e=e[n[o++]];return e})},join:function(e){return e.reduce(function(e,t){return e+(MI(t)||MA.test(t)?"["+t+"]":(e?".":"")+t)},"")}
141,forEach:function(e,t,n){!function(e,t,n){var o,i,l,s,u,c=e.length;for(l=0;l<c;l++){(i=e[l])&&(!MI(o=i)&&(o.match(MT)&&!o.match(MA)||MP.test(o))&&(i='"'+i+'"'),s=!(u=MI(i))&&/^\d+$/.test(i),t.call(n,i,u,s,l,e))}}(Array.isArray(e)?e:Mz(e),t,n)}};function MD(e){return MF.get(e)||MF.set(e,Mz(e).map(function(e){return e.replace(MN,"$2")}))}function Mz(e){return e.match(ML)||[""]}function MI(e){return"string"==typeof e&&e&&-1!==["'",'"'].indexOf(e.charAt(0))}let MH=/[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+(?:['â](?:d|ll|m|re|s|t|ve))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde]|$)|(?:[A-Z\xc0-\xd6\xd8-\xde]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:D|LL|M|RE|S|T|VE))?(?=[\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000]|[A-Z\xc0-\xd6\xd8-\xde](?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])|$)|[A-Z\xc0-\xd6\xd8-\xde]?(?:[a-z\xdf-\xf6\xf8-\xff]|[^\ud800-\udfff\xac\xb1\xd7\xf7\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\xbf\u2000-\u206f \t\x0b\f\xa0\ufeff\n\r\u2028\u2029\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\d+\u2700-\u27bfa-z\xdf-\xf6\xf8-\xffA-Z\xc0-\xd6\xd8-\xde])+(?:['â](?:d|ll|m|re|s|t|ve))?|[A-Z\xc0-\xd6\xd8-\xde]+(?:['â](?:D|LL|M|RE|S|T|VE))?|\d*(?:1ST|2ND|3RD|(?![123])\dTH)(?=\b|[a-z_])|\d*(?:1st|2nd|3rd|(?![123])\dth)(?=\b|[A-Z_])|\d+|(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?(?:\u200d(?:[^\ud800-\udfff]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff])[\ufe0e\ufe0f]?(?:[\u0300-\u036f\ufe20-\ufe2f\u20d0-\u20ff]|\ud83c[\udffb-\udfff])?)*/g,MB=e=>e.match(MH)||[],MW=(e,t)=>MB(e).join(t).toLowerCase();var MV=e=>MB(e).reduce((e,t)=>`${e}${e?t[0].toUpperCase()+t.slice(1).toLowerCase():t.toLowerCase()}`,""),MU=e=>MW(e,"_"),Mq={exports:{}};function MG(e,t){var n=e.length,o=Array(n),i={},l=n,s=function(e){for(var t=new Map,n=0,o=e.length;n<o;n++){var i=e[n];t.has(i[0])||t.set(i[0],new Set),t.has(i[1])||t.set(i[1],new Set),t.get(i[0]).add(i[1])}return t}(t),u=function(e){for(var t=new Map,n=0,o=e.length;n<o;n++)t.set(e[n],n);return t}(e);for(t.forEach(function(e){if(!u.has(e[0])||!u.has(e[1]))throw Error("Unknown node. There is an unknown node in the supplied edges.")});l--;)i[l]||function e(t,l,c){if(c.has(t)){var d;try{d=", node was:"+JSON.stringify(t)}catch{d=""}throw Error("Cyclic dependency"+d)}if(!u.has(t))throw Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(t));if(!i[l]){i[l]=!0;var f=s.get(t)||new Set;if(l=(f=Array.from(f)).length){c.add(t);do{var h=f[--l];e(h,u.get(h),c)}while(l);c.delete(t)}o[--n]=t}}(e[l],l,new Set);return o}Mq.exports=function(e){return MG(function(e){for(var t=new Set,n=0,o=e.length;n<o;n++){var i=e[n];t.add(i[0]),t.add(i[1])}return Array.from(t)}(e),e)},Mq.exports.array=MG;let MY=N(Mq.exports),MZ=Object.prototype.toString,MK=Error.prototype.toString,MQ=RegExp.prototype.toString,MX="u">typeof Symbol?Symbol.prototype.toString:()=>"",MJ=/^Symbol\((.*)\)(.*)$/;function M1(e,t=!1){if(null==e||!0===e||!1===e)return""+e;let n=typeof e;if("number"===n)return e!=+e?"NaN":0===e&&1/e<0?"-0":""+e;if("string"===n)return t?`"${e}"`:e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return MX.call(e).replace(MJ,"Symbol($1)");let o=MZ.call(e).slice(8,-1);return"Date"===o?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===o||e instanceof Error?"["+MK.call(e)+"]":"RegExp"===o?MQ.call(e):null}function M0(e,t){let n=M1(e,t);return null!==n?n:JSON.stringify(e,function(e,n){let o=M1(this[e],t);return null!==o?o:n},2)}function M2(e){return null==e?[]:[].concat(e)}let M3,M5,M4,M6=/\$\{\s*(\w+)\s*\}/g;M3=Symbol.toStringTag;class M7{constructor(e,t,n,o){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[M3]="Error",this.name="ValidationError",this.value=t,this.path=n,this.type=o,this.errors=[],this.inner=[],M2(e).forEach(e
141=>{if(M8.isError(e)){this.errors.push(...e.errors);let t=e.inner.length?e.inner:[e];this.inner.push(...t)}else this.errors.push(e)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}M5=Symbol.hasInstance,M4=Symbol.toStringTag;class M8 extends Error{static formatError(e,t){let n=t.label||t.path||"this";return t=Object.assign({},t,{path:n,originalPath:t.path}),"string"==typeof e?e.replace(M6,(e,n)=>M0(t[n])):"function"==typeof e?e(t):e}static isError(e){return e&&"ValidationError"===e.name}constructor(e,t,n,o,i){let l=new M7(e,t,n,o);if(i)return l;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[M4]="Error",this.name=l.name,this.message=l.message,this.type=l.type,this.value=l.value,this.path=l.path,this.errors=l.errors,this.inner=l.inner,Error.captureStackTrace&&Error.captureStackTrace(this,M8)}static[M5](e){return M7[Symbol.hasInstance](e)||super[Symbol.hasInstance](e)}}let M9={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:o})=>{let i=null!=o&&o!==n?` (cast from the value \`${M0(o,!0)}\`).`:".";return"mixed"!==t?`${e} must be a \`${t}\` type, but the final value was: \`${M0(n,!0)}\``+i:`${e} must match the configured type. The validated value was: \`${M0(n,!0)}\``+i}},_e={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},_t={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},_r={isValue:"${path} field must be ${value}"},_n={noUnknown:"${path} field has unspecified keys: ${unknown}",exact:"${path} object contains unknown properties: ${properties}"};Object.assign(Object.create(null),{mixed:M9,string:_e,number:{min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},date:_t,object:_n,array:{min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},boolean:_r,tuple:{notType:e=>{let{path:t,value:n,spec:o}=e,i=o.types.length;if(Array.isArray(n)){if(n.length<i)return`${t} tuple value has too few items, expected a length of ${i} but got ${n.length} for value: \`${M0(n,!0)}\``;if(n.length>i)return`${t} tuple value has too many items, expected a length of ${i} but got ${n.length} for value: \`${M0(n,!0)}\``}return M8.formatError(M9.notType,e)}}});let _a=e=>e&&e.__isYupSchema__;class _o{static fromOptions(e,t){if(!t.then&&!t.otherwise)throw TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:n,then:o,otherwise:i}=t,l="function"==typeof n?n:(...e)=>e.every(e=>e===n);return new _o(e,(e,t)=>{var n;let s=l(...e)?o:i;return null!=(n=s?.(t))?n:t})}constructor(e,t){this.fn=void 0,this.refs=e,this.refs=e,this.fn=t}resolve(e,t){let n=this.refs.map(e=>e.getValue(t?.value,t?.parent,t?.context)),o=this.fn(n,e,t);if(void 0===o||o===e)return e;if(!_a(o))throw TypeError("conditions must return a schema object");return o.resolve(t)}}let _i={context:"$",value:"."};class _l{constructor(e,t={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!=typeof e)throw TypeError("ref must be a string, got: "+e);if(this.key=e.trim(),""===e)throw TypeError("ref must be a non-empty string");this.isContext=this.key[0]===_i.context,this.isValue=this.key[0]===_i.value,this.isSibling=!this.isContext&&!this.isValue;let n=this.isContext?_i.context:this.isValue?_i.value:"";this.path=this.key.slice(n.length),this.getter=this.path&&M$.getter(this.path,!0),this.map=t.map}getValue(e,t,n){let o=this.isContext?n:this.isValue?e:t;return this.getter&&(o=this.getter(o||{})),this.map&&(o=this.map(o)),o}cast(e,t){return this.getValue(e,t?.parent,t?.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(e){return e&&e.__isYupRef}}_l.prototype.__isYupRef=!0;let _s=e=>null==e;function _u(e){function t({value:t,path:n="",options:o,originalValue:i,schema:l},s,u){let c;let{name:d,test:f,params:h,message:p,skipAbsent:m}
141=e,{parent:g,context:v,abortEarly:y=l.spec.abortEarly,disableStackTrace:b=l.spec.disableStackTrace}=o,w={value:t,parent:g,context:v};function x(e={}){let o=_c(Object.assign({value:t,originalValue:i,label:l.spec.label,path:e.path||n,spec:l.spec,disableStackTrace:e.disableStackTrace||b},h,e.params),w),s=new M8(M8.formatError(e.message||p,o),t,o.path,e.type||d,o.disableStackTrace);return s.params=o,s}let E=y?s:u,C={path:n,parent:g,type:d,from:o.from,createError:x,resolve:e=>_d(e,w),options:o,originalValue:i,schema:l},k=e=>{M8.isError(e)?E(e):e?u(null):E(x())},M=e=>{M8.isError(e)?E(e):s(e)};if(m&&_s(t))return k(!0);try{var _;if(c=f.call(C,t,C),"function"==typeof(null==(_=c)?void 0:_.then)){if(o.sync)throw Error(`Validation test of type: "${C.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(c).then(k,M)}}catch(e){M(e);return}k(c)}return t.OPTIONS=e,t}function _c(e,t){if(!e)return e;for(let n of Object.keys(e))e[n]=_d(e[n],t);return e}function _d(e,t){return _l.isRef(e)?e.getValue(t.value,t.parent,t.context):e}class _f extends Set{describe(){let e=[];for(let t of this.values())e.push(_l.isRef(t)?t.describe():t);return e}resolveAll(e){let t=[];for(let n of this.values())t.push(e(n));return t}clone(){return new _f(this.values())}merge(e,t){let n=this.clone();return e.forEach(e=>n.add(e)),t.forEach(e=>n.delete(e)),n}}function _h(e,t=new Map){let n;if(_a(e)||!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=Array(e.length),t.set(e,n);for(let o=0;o<e.length;o++)n[o]=_h(e[o],t)}else if(e instanceof Map)for(let[o,i]of(n=new Map,t.set(e,n),e.entries()))n.set(o,_h(i,t));else if(e instanceof Set)for(let o of(n=new Set,t.set(e,n),e))n.add(_h(o,t));else if(e instanceof Object)for(let[o,i]of(n={},t.set(e,n),Object.entries(e)))n[o]=_h(i,t);else throw Error(`Unable to clone ${e}`);return n}class _p{constructor(e){this.type=void 0,this.deps=[],this.tests=void 0,this.transforms=void 0,this.conditions=[],this._mutate=void 0,this.internalTests={},this._whitelist=new _f,this._blacklist=new _f,this.exclusiveTests=Object.create(null),this._typeCheck=void 0,this.spec=void 0,this.tests=[],this.transforms=[],this.withMutation(()=>{this.typeError(M9.notType)}),this.type=e.type,this._typeCheck=e.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},e?.spec),this.withMutation(e=>{e.nonNullable()})}get _type(){return this.type}clone(e){if(this._mutate)return e&&Object.assign(this.spec,e),this;let t=Object.create(Object.getPrototypeOf(this));return t.type=this.type,t._typeCheck=this._typeCheck,t._whitelist=this._whitelist.clone(),t._blacklist=this._blacklist.clone(),t.internalTests=Object.assign({},this.internalTests),t.exclusiveTests=Object.assign({},this.exclusiveTests),t.deps=[...this.deps],t.conditions=[...this.conditions],t.tests=[...this.tests],t.transforms=[...this.transforms],t.spec=_h(Object.assign({},this.spec,e)),t}label(e){let t=this.clone();return t.spec.label=e,t}meta(...e){if(0===e.length)return this.spec.meta;let t=this.clone();return t.spec.meta=Object.assign(t.spec.meta||{},e[0]),t}withMutation(e){let t=this._mutate;this._mutate=!0;let n=e(this);return this._mutate=t,n}concat(e){if(!e||e===this)return this;if(e.type!==this.type&&"mixed"!==this.type)throw TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${e.type}`);let t=e.clone(),n=Object.assign({},this.spec,t.spec);return t.spec=n,t.internalTests=Object.assign({},this.internalTests,t.internalTests),t._whitelist=this._whitelist.merge(e._whitelist,e._blacklist),t._blacklist=this._blacklist.merge(e._blacklist,e._whitelist),t.tests=this.tests,t.exclusiveTests=this.exclusiveTests,t.withMutation(t=>{e.tests.forEach(e=>{t.test(e.OPTIONS)})}),t.transforms=[...this.transforms,...t.transforms],t}isType(e){return null==e?!!(this.spec.nullable&&null===e||this.spec.optional&&void 0===e):this._typeCheck(e)}resolve(e){let t=this;if(t.conditions.length){let n=t.conditions;(t=t.clone()).conditions=[],t=(t=n.reduce((t,n)=>n.resolve(t,e),t)).resolve(e)}return t}resolveOptions(e){var t,n,o,i;return Object.assign({},e,{from:e.from||[],strict:null!=(t=e.strict)?t:this.spec.strict,abortEarly:null!=(n=e.abortE
141arly)?n:this.spec.abortEarly,recursive:null!=(o=e.recursive)?o:this.spec.recursive,disableStackTrace:null!=(i=e.disableStackTrace)?i:this.spec.disableStackTrace})}cast(e,t={}){let n=this.resolve(Object.assign({},t,{value:e})),o="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(o&&_s(i))return i;let l=M0(e),s=M0(i);throw TypeError(`The value of ${t.path||"field"} could not be cast to a value that satisfies the schema type: "${n.type}". 142 143attempted value: ${l} 144`+(s!==l?`result of cast: ${s}`:""))}return i}_cast(e,t){let n=void 0===e?e:this.transforms.reduce((n,o)=>o.call(this,n,e,this,t),e);return void 0===n&&(n=this.getDefault(t)),n}_validate(e,t={},n,o){let{path:i,originalValue:l=e,strict:s=this.spec.strict}=t,u=e;s||(u=this._cast(u,Object.assign({assert:!1},t)));let c=[];for(let e of Object.values(this.internalTests))e&&c.push(e);this.runTests({path:i,value:u,originalValue:l,options:t,tests:c},n,e=>{if(e.length)return o(e,u);this.runTests({path:i,value:u,originalValue:l,options:t,tests:this.tests},n,o)})}runTests(e,t,n){let o=!1,{tests:i,value:l,originalValue:s,path:u,options:c}=e,d=e=>{o||(o=!0,t(e,l))},f=e=>{o||(o=!0,n(e,l))},h=i.length,p=[];if(!h)return f([]);let m={value:l,originalValue:s,path:u,options:c,schema:this};for(let e=0;e<i.length;e++)(0,i[e])(m,d,function(e){e&&(Array.isArray(e)?p.push(...e):p.push(e)),--h<=0&&f(p)})}asNestedTest({key:e,index:t,parent:n,parentPath:o,originalParent:i,options:l}){let s=e??t;if(null==s)throw TypeError("Must include `key` or `index` for nested validations");let u="number"==typeof s,c=n[s],d=Object.assign({},l,{strict:!0,parent:n,value:c,originalValue:i[s],key:void 0,[u?"index":"key"]:s,path:u||s.includes(".")?`${o||""}[${u?s:`"${s}"`}]`:(o?`${o}.`:"")+e});return(e,t,n)=>this.resolve(d)._validate(c,d,t,n)}validate(e,t){var n;let o=this.resolve(Object.assign({},t,{value:e})),i=null!=(n=t?.disableStackTrace)?n:o.spec.disableStackTrace;return new Promise((n,l)=>o._validate(e,t,(e,t)=>{M8.isError(e)&&(e.value=t),l(e)},(e,t)=>{e.length?l(new M8(e,t,void 0,void 0,i)):n(t)}))}validateSync(e,t){var n;let o=this.resolve(Object.assign({},t,{value:e})),i,l=null!=(n=t?.disableStackTrace)?n:o.spec.disableStackTrace;return o._validate(e,Object.assign({},t,{sync:!0}),(e,t)=>{throw M8.isError(e)&&(e.value=t),e},(t,n)=>{if(t.length)throw new M8(t,e,void 0,void 0,l);i=n}),i}isValid(e,t){return this.validate(e,t).then(()=>!0,e=>{if(M8.isError(e))return!1;throw e})}isValidSync(e,t){try{return this.validateSync(e,t),!0}catch(e){if(M8.isError(e))return!1;throw e}}_getDefault(e){let t=this.spec.default;return null==t?t:"function"==typeof t?t.call(this,e):_h(t)}getDefault(e){return this.resolve(e||{})._getDefault(e)}default(e){return 0==arguments.length?this._getDefault():this.clone({default:e})}strict(e=!0){return this.clone({strict:e})}nullability(e,t){let n=this.clone({nullable:e});return n.internalTests.nullable=_u({message:t,name:"nullable",test(e){return null!==e||this.schema.spec.nullable}}),n}optionality(e,t){let n=this.clone({optional:e});return n.internalTests.optionality=_u({message:t,name:"optionality",test(e){return void 0!==e||this.schema.spec.optional}}),n}optional(){return this.optionality(!0)}defined(e=M9.defined){return this.optionality(!1,e)}nullable(){return this.nullability(!0)}nonNullable(e=M9.notNull){return this.nullability(!1,e)}required(e=M9.required){return this.clone().withMutation(t=>t.nonNullable(e).defined(e))}notRequired(){return this.clone().withMutation(e=>e.nullable().optional())}transform(e){let t=this.clone();return t.transforms.push(e),t}test(...e){let t;if(void 0===(t=1===e.length?"function"==typeof e[0]?{test:e[0]}:e[0]:2===e.length?{name:e[0],test:e[1]}:{name:e[0],message:e[1],test:e[2]}).message&&(t.message=M9.default),"function"!=typeof t.test)throw TypeError("`test` is a required parameters");let n=this.clone(),o=_u(t),i=t.exclusive||t.name&&!0===n.exclusiveTests[t.name];if(t.exclusive&&!t.name)throw TypeError("Exclusive tests must provide a unique `name` identifying the test");return t.name&&(n.exclusiveTests[t.name]=!!t.exclusive),n.tests=n.tests.filter(e=>!(e.OPTIONS.name===t.name&&(i||e.OPTIONS.test===o.OPTIONS.test))),n.tests.push(o),n}when(e,t){Array.isArray(e)||"string"==typeof e||(t=e,e=".");let n=this.clone(),o=M2(e).map(e=>new _l(e));
144return o.forEach(e=>{e.isSibling&&n.deps.push(e.key)}),n.conditions.push("function"==typeof t?new _o(o,t):_o.fromOptions(o,t)),n}typeError(e){let t=this.clone();return t.internalTests.typeError=_u({message:e,name:"typeError",skipAbsent:!0,test(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}oneOf(e,t=M9.oneOf){let n=this.clone();return e.forEach(e=>{n._whitelist.add(e),n._blacklist.delete(e)}),n.internalTests.whiteList=_u({message:t,name:"oneOf",skipAbsent:!0,test(e){let t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}notOneOf(e,t=M9.notOneOf){let n=this.clone();return e.forEach(e=>{n._blacklist.add(e),n._whitelist.delete(e)}),n.internalTests.blacklist=_u({message:t,name:"notOneOf",test(e){let t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}strip(e=!0){let t=this.clone();return t.spec.strip=e,t}describe(e){let t=(e?this.resolve(e):this).clone(),{label:n,meta:o,optional:i,nullable:l}=t.spec;return{meta:o,label:n,optional:i,nullable:l,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.filter((e,t,n)=>n.findIndex(t=>t.OPTIONS.name===e.OPTIONS.name)===t).map(t=>{let n=t.OPTIONS.params&&e?_c(Object.assign({},t.OPTIONS.params),e):t.OPTIONS.params;return{name:t.OPTIONS.name,params:n}})}}get"~standard"(){let e=this;return{version:1,vendor:"yup",async validate(t){try{return{value:await e.validate(t,{abortEarly:!1})}}catch(e){if(e instanceof M8)return{issues:function e(t,n){var o;if(!(null!=(o=t.inner)&&o.length)&&t.errors.length)return function(e,t){let n=t?`${t}.${e.path}`:e.path;return e.errors.map(e=>({message:e,path:function(e){if(!(null!=e&&e.length))return;let t=[],n="",o=!1,i=!1;for(let l=0;l<e.length;l++){let s=e[l];if("["===s&&!i){n&&(t.push(...n.split(".").filter(Boolean)),n=""),o=!0;continue}if("]"===s&&!i){n&&(/^\d+$/.test(n)?t.push(n):t.push(n.replace(/^"|"$/g,"")),n=""),o=!1;continue}if('"'===s){i=!i;continue}if("."===s&&!o&&!i){n&&(t.push(n),n="");continue}n+=s}return n&&t.push(...n.split(".").filter(Boolean)),t}(n)}))}(t,n);let i=n?`${n}.${t.path}`:t.path;return t.inner.flatMap(t=>e(t,i))}(e)};throw e}}}}}for(let e of(_p.prototype.__isYupSchema__=!0,["validate","validateSync"]))_p.prototype[`${e}At`]=function(t,n,o={}){let{parent:i,parentPath:l,schema:s}=function(e,t,n,o=n){let i,l,s;return t?(M$.forEach(t,(u,c,d)=>{let f=c?u.slice(1,u.length-1):u,h="tuple"===(e=e.resolve({context:o,parent:i,value:n})).type,p=d?parseInt(f,10):0;if(e.innerType||h){if(h&&!d)throw Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${s}" must contain an index to the tuple element, e.g. "${s}[0]"`);if(n&&p>=n.length)throw Error(`Yup.reach cannot resolve an array item at index: ${u}, in the path: ${t}. because there is no value at that index. `);i=n,n=n&&n[p],e=h?e.spec.types[p]:e.innerType}if(!d){if(!e.fields||!e.fields[f])throw Error(`The schema does not contain the path: ${t}. (failed at: ${s} which is a type: "${e.type}")`);i=n,n=n&&n[f],e=e.fields[f]}l=f,s=c?"["+u+"]":"."+u}),{schema:e,parent:i,parentPath:l}):{parent:i,parentPath:t,schema:e}}(this,t,n,o.context);return s[e](i&&i[l],Object.assign({},o,{parent:i,path:t}))};for(let e of["equals","is"])_p.prototype[e]=_p.prototype.oneOf;for(let e of["not","nope"])_p.prototype[e]=_p.prototype.notOneOf;function _m(){return new _g}class _g extends _p{constructor(){super({type:"boolean",check:e=>(e instanceof Boolean&&(e=e.valueOf()),"boolean"==typeof e)}),this.withMutation(()=>{this.transform((e,t)=>{if(this.spec.coerce&&!this.isType(e)){if(/^(true|1)$/i.test(String(e)))return!0;if(/^(false|0)$/i.test(String(e)))return!1}return e})})}isTrue(e=_r.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:e=>_s(e)||!0===e})}isFalse(e=_r.isValue){return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:e=>_s(e)||!1===e})}default(e){return super.default(e)}defined(e){return super.defined(e)}optional(){return super.optional()}required(e){return super.required(e)}notRequired(){return super.notRequired()}nullable(){return super.nullable()}nonNullable(e){return super.nonNullable(e)}strip(e){return super.strip(e)}}_m.prototype=_g.prototype;let _v=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function _y(e){var t,n;let o=_v.exec(e);return o?{year:_b(o[1]),month:_b(o[2],1)-1,day:_b(o[3],1),hour:_b(o[4]),minute:_b(o[5]),second:_b(o[6]),millisecond:o[7]?_b(o[7].substring(0,3)):0,precision:null!=(t=null==(n=o[7])?void 0:n.length)?t:void 0,z:
144o[8]||void 0,plusMinus:o[9]||void 0,hourOffset:_b(o[10]),minuteOffset:_b(o[11])}:null}function _b(e,t=0){return Number(e)||t}let _w=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,_x=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,_E=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,_C=RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$"),_k=e=>_s(e)||e===e.trim(),_M=({}).toString();function __(){return new _S}class _S extends _p{constructor(){super({type:"string",check:e=>(e instanceof String&&(e=e.valueOf()),"string"==typeof e)}),this.withMutation(()=>{this.transform((e,t)=>{if(!this.spec.coerce||this.isType(e)||Array.isArray(e))return e;let n=null!=e&&e.toString?e.toString():e;return n===_M?e:n})})}required(e){return super.required(e).withMutation(t=>t.test({message:e||M9.required,name:"required",skipAbsent:!0,test:e=>!!e.length}))}notRequired(){return super.notRequired().withMutation(e=>(e.tests=e.tests.filter(e=>"required"!==e.OPTIONS.name),e))}length(e,t=_e.length){return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test(t){return t.length===this.resolve(e)}})}min(e,t=_e.min){return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(t){return t.length>=this.resolve(e)}})}max(e,t=_e.max){return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test(t){return t.length<=this.resolve(e)}})}matches(e,t){let n=!1,o,i;return t&&("object"==typeof t?{excludeEmptyString:n=!1,message:o,name:i}=t:o=t),this.test({name:i||"matches",message:o||_e.matches,params:{regex:e},skipAbsent:!0,test:t=>""===t&&n||-1!==t.search(e)})}email(e=_e.email){return this.matches(_w,{name:"email",message:e,excludeEmptyString:!0})}url(e=_e.url){return this.matches(_x,{name:"url",message:e,excludeEmptyString:!0})}uuid(e=_e.uuid){return this.matches(_E,{name:"uuid",message:e,excludeEmptyString:!1})}datetime(e){let t="",n,o;return e&&("object"==typeof e?{message:t="",allowOffset:n=!1,precision:o}=e:t=e),this.matches(_C,{name:"datetime",message:t||_e.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:t||_e.datetime_offset,params:{allowOffset:n},skipAbsent:!0,test:e=>{if(!e||n)return!0;let t=_y(e);return!!t&&!!t.z}}).test({name:"datetime_precision",message:t||_e.datetime_precision,params:{precision:o},skipAbsent:!0,test:e=>{if(!e||null==o)return!0;let t=_y(e);return!!t&&t.precision===o}})}ensure(){return this.default("").transform(e=>null===e?"":e)}trim(e=_e.trim){return this.transform(e=>null!=e?e.trim():e).test({message:e,name:"trim",test:_k})}lowercase(e=_e.lowercase){return this.transform(e=>_s(e)?e:e.toLowerCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>_s(e)||e===e.toLowerCase()})}uppercase(e=_e.uppercase){return this.transform(e=>_s(e)?e:e.toUpperCase()).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:e=>_s(e)||e===e.toUpperCase()})}}__.prototype=_S.prototype;let _j=new Date(""),_O=e=>"[object Date]"===Object.prototype.toString.call(e);class _L extends _p{constructor(){super({type:"date",check:e=>_O(e)&&!isNaN(e.getTime())}),this.withMutation(()=>{this.transform((e,t)=>!this.spec.coerce||this.isType(e)||null===e?e:isNaN(e=function(e){let t=_y(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(void 0===t.z&&void 0===t.plusMinus)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return"Z"!==t.z&&void 0!==t.plusMinus&&(n=60*t.hourOffset+t.minuteOffset,"+"===t.plusMinus&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}(e))?_L.INVALID_DATE:new Date(e))})}prepareParam(e,t){let n;if(_l.isRef(e))n=e;else{let o=this.cast(e);if(!this._typeCheck(o))throw TypeError(`\`${t}\` must be a Date or a value that can be \`cast()\` to a Date`);n=o}return n}min(e,t=_t.min){let n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test(e){return e>=this.resolve(n)}})}max(e,t=_t.max){let n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test(e){return e<=this.resolve(n)}})}}function _A(e,t){let n=1/0;return e.some((e,o)=>{var i;if(null!=(i=t.path)&&i.includes(e))return n=o,!0}),n}function _T(e){return(t,n)=>_A(e,t)-_A(e,n)}_L.INVALID_DATE=_j;let _P=(e,t,n)=>{if("string"!=typeof e)return e;let o=e;try{o=JSON.parse(e)}catch{}return n.isType(o)?o:e},_N=(e,t)=>{let n=[...M$.normalizePath(t)];if(1===n.length)return n[0]in e;let o=n.pop(),i=M$.getter(M$.join(n),!0)(e);return!!(i&&o in i)},_F=e=>"[object Object]"===Object.prototype.toString.call(e);function _R(e,t){let n=Object.keys(e.fields);return Object.keys(t).filter(e=>-1===n.indexOf(e))}let _$=_T([]);function _D(e){return new _z(e)}class _z extends _p{constructor(e){super({type:"object",check:e=>_F(e)||"function"==typeof e}),this.fields=Object.create(null),this._sortErrors=_$,this._nodes=[],this._excludedEdges=[],this.withMutation(()=>{e&&this.shape(e)})}_cast(e,t={}){var n;let o=super._cast(e,t);if(void 0===o)return this.getDefault(t);if(!this._typeCheck(o))return o;let i=this.fields,l=null!=(n=t.stripUnknown)?n:this.spec.noUnknown,s=[].concat(this._nodes,Object.keys(o).filter(e=>!this._nodes.includes(e))),u={},c=Object.assign({}
144,t,{parent:u,__validating:t.__validating||!1}),d=!1;for(let e of s){let n=i[e],s=e in o,f=o[e];if(n){let i;c.path=(t.path?`${t.path}.`:"")+e;let l=(n=n.resolve({value:f,context:t.context,parent:u}))instanceof _p?n.spec:void 0,s=l?.strict;if(null!=l&&l.strip){d=d||e in o;continue}void 0!==(i=t.__validating&&s?f:n.cast(f,c))&&(u[e]=i)}else s&&!l&&(u[e]=f);(s!==e in u||u[e]!==f)&&(d=!0)}return d?u:o}_validate(e,t={},n,o){let{from:i=[],originalValue:l=e,recursive:s=this.spec.recursive}=t;t.from=[{schema:this,value:l},...i],t.__validating=!0,t.originalValue=l,super._validate(e,t,n,(e,i)=>{if(!s||!_F(i)){o(e,i);return}l=l||i;let u=[];for(let e of this._nodes){let n=this.fields[e];!n||_l.isRef(n)||u.push(n.asNestedTest({options:t,key:e,parent:i,parentPath:t.path,originalParent:l}))}this.runTests({tests:u,value:i,originalValue:l,options:t},n,t=>{o(t.sort(this._sortErrors).concat(e),i)})})}clone(e){let t=super.clone(e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}concat(e){let t=super.concat(e),n=t.fields;for(let[e,t]of Object.entries(this.fields)){let o=n[e];n[e]=void 0===o?t:o}return t.withMutation(t=>t.setFields(n,[...this._excludedEdges,...e._excludedEdges]))}_getDefault(e){if("default"in this.spec)return super._getDefault(e);if(!this._nodes.length)return;let t={};return this._nodes.forEach(n=>{var o;let i=this.fields[n],l=e;null!=(o=l)&&o.value&&(l=Object.assign({},l,{parent:l.value,value:l.value[n]})),t[n]=i&&"getDefault"in i?i.getDefault(l):void 0}),t}setFields(e,t){let n=this.clone();return n.fields=e,n._nodes=function(e,t=[]){let n=[],o=new Set,i=new Set(t.map(([e,t])=>`${e}-${t}`));function l(e,t){let l=M$.split(e)[0];o.add(l),i.has(`${t}-${l}`)||n.push([t,l])}for(let t of Object.keys(e)){let n=e[t];o.add(t),_l.isRef(n)&&n.isSibling?l(n.path,t):_a(n)&&"deps"in n&&n.deps.forEach(e=>l(e,t))}return MY.array(Array.from(o),n).reverse()}(e,t),n._sortErrors=_T(Object.keys(e)),t&&(n._excludedEdges=t),n}shape(e,t=[]){return this.clone().withMutation(n=>{let o=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),o=[...n._excludedEdges,...t]),n.setFields(Object.assign(n.fields,e),o)})}partial(){let e={};for(let[t,n]of Object.entries(this.fields))e[t]="optional"in n&&n.optional instanceof Function?n.optional():n;return this.setFields(e)}deepPartial(){return function e(t){if("fields"in t){let n={};for(let[o,i]of Object.entries(t.fields))n[o]=e(i);return t.setFields(n)}if("array"===t.type){let n=t.optional();return n.innerType&&(n.innerType=e(n.innerType)),n}return"tuple"===t.type?t.optional().clone({types:t.spec.types.map(e)}):"optional"in t?t.optional():t}(this)}pick(e){let t={};for(let n of e)this.fields[n]&&(t[n]=this.fields[n]);return this.setFields(t,this._excludedEdges.filter(([t,n])=>e.includes(t)&&e.includes(n)))}omit(e){let t=[];for(let n of Object.keys(this.fields))e.includes(n)||t.push(n);return this.pick(t)}from(e,t,n){let o=M$.getter(e,!0);return this.transform(i=>{if(!i)return i;let l=i;return _N(i,e)&&(l=Object.assign({},i),n||delete l[e],l[t]=o(i)),l})}json(){return this.transform(_P)}exact(e){return this.test({name:"exact",exclusive:!0,message:e||_n.exact,test(e){if(null==e)return!0;let t=_R(this.schema,e);return 0===t.length||this.createError({params:{properties:t.join(", ")}})}})}stripUnknown(){return this.clone({noUnknown:!0})}noUnknown(e=!0,t=_n.noUnknown){"boolean"!=typeof e&&(t=e,e=!0);let n=this.test({name:"noUnknown",exclusive:!0,message:t,test(t){if(null==t)return!0;let n=_R(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}unknown(e=!0,t=_n.noUnknown){return this.noUnknown(!e,t)}transformKeys(e){return this.transform(t=>{if(!t)return t;let n={};for(let o of Object.keys(t))n[e(o)]=t[o];return n})}camelCase(){return this.transformKeys(MV)}snakeCase(){return this.transformKeys(MU)}constantCase(){return this.transformKeys(e=>MU(e).toUpperCase())}describe(e){let t=(e?this.resolve(e):this).clone(),n=super.describe(e);for(let[i,l]of(n.fields={},Object.entries(t.fields))){var o;let t=e;null!=(o=t)&&o.value&&(t=Object.assign({},t,{parent:t.value,value:t.value[i]})),n.fields[i]=l.describe(t)}return n}}_D.prototype=_z.prototype;
144let _I=/^[A-Za-zÃ-ÃÃ-öø-ÿ]+(?:[ '-][A-Za-zÃ-ÃÃ-öø-ÿ]+)*$/,_H=e=>"string"==typeof e?e.replace(/\s+/g," ").trim():e,_B=/^1?2?3?4?5?6?7?8?9?$/,_W=/^(?=.*[A-Za-z])(?=.*\d)[A-Za-zÃ-ÃÃ-öø-ÿ\d!@#%^&*$()_±=[\]{}|;':",./<>?~`\\ç-]+$/,_V=/^(\d)\1+$/,_U=/^[A-Z0-9]+$/,_q=e=>{let t=g2(e,"dd/MM/yyyy",new Date),n=new Date,o=vt(n);return m9(t,n)&&m9(t,o)},_G=_D().shape({email:__().email("invalidEmail").required("requiredField"),firstName:__().transform(_H).min(2,"nameMinLength").matches(_I,{message:"invalidName",excludeEmptyString:!0}).required("requiredField"),lastName:__().transform(_H).min(2,"lastNameMinLength").matches(_I,{message:"invalidLastName",excludeEmptyString:!0}).required("requiredField"),is_foreign:_m().default(!1),document:__().when("nationality",{is:e=>"BR"===e,then:e=>e.required("requiredField").test("cpf","invalidDocument",e=>h5.Cpf.isValid(e||"")),otherwise:e=>e.optional()}),gender:__().oneOf(["MALE","FEMALE","NON_BINARY","NOT_INFORM"],"chooseGenderValue").required("requiredField"),birthdate:__().matches(/^(0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/((19|20)\d{2})$/,"invalidBirthdate").test("birthdate","invalidBirthdate",e=>!!e&&_q(e)).required("requiredField"),telephone:__().when("nationality",{is:e=>"BR"===e,then:e=>e.min(10,"phoneNumberError").test("phone","phoneNumberError",e=>!(!e||!function(){return function(e,t){var n=Array.prototype.slice.call(t);return n.push(kp),e.apply(this,n)}(Mj,arguments)}(`+${e}`)||e.startsWith("55")&&13!==e.length)).required("requiredField"),otherwise:e=>e.optional()}),nationality:__().required("nationalityRequired"),passport:__().transform(e=>e?.toUpperCase()).when("nationality",{is:e=>e&&"BR"!==e,then:e=>e.min(6,"passportMinLength").max(9,"passportMaxLength").matches(_U,"passportInvalidCharacters").required("passportRequired"),otherwise:e=>e.optional()}),address:_D().when("nationality",{is:e=>"BR"===e,then:e=>e.shape({zip_code:__().min(8,"invalidZipCode").required("requiredField"),street:__().min(3,"invalidStreet").required("requiredField"),number:__().min(1,"invalidAddressNumber").required("requiredField"),neighborhood:__().min(3,"invalidNeighborhood").required("requiredField"),complement:__().nullable(),city:__().min(3,"invalidCity").required("requiredField"),state:__().oneOf(["",...Object.keys(di)],"invalidState").required("requiredField")}),otherwise:e=>e.optional()})});function _Y(){let[e,t]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{let e=()=>{t(window.innerWidth<=768)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),e}let _Z=(e,t,n)=>{if(e&&"reportValidity"in e){let o=Cd(n,t);e.setCustomValidity(o&&o.message||""),e.reportValidity()}},_K=(e,t)=>{for(let n in t.fields){let o=t.fields[n];o&&o.ref&&"reportValidity"in o.ref?_Z(o.ref,n,e):o.refs&&o.refs.forEach(t=>_Z(t,n,e))}},_Q=(e,t)=>{t.shouldUseNativeValidation&&_K(e,t);let n={};for(let o in e){let i=Cd(t.fields,o),l=Object.assign(e[o]||{},{ref:i&&i.ref});if(_X(t.names||Object.keys(e),o)){let e=Object.assign({},Cd(n,o));Ch(e,"root",l),Ch(n,o,e)}else Ch(n,o,l)}return n},_X=(e,t)=>e.some(e=>e.startsWith(t+"."));function _J(e,t){var n,o;return ko({resolver:(void 0===n&&(n={}),void 0===o&&(o={}),function(t,i,l){try{return Promise.resolve(function(s,u){try{var c=(n.context,Promise.resolve(e["sync"===o.mode?"validateSync":"validate"](t,Object.assign({abortEarly:!1},n,{context:i}))).then(function(e){return l.shouldUseNativeValidation&&_K({},l),{values:o.raw?t:e,errors:{}}}))}catch(e){return u(e)}return c&&c.then?c.then(void 0,u):c}(0,function(e){var t;if(!e.inner)throw e;return{values:{},errors:_Q((t=!l.shouldUseNativeValidation&&"all"===l.criteriaMode,(e.inner||[]).reduce(function(e,n){if(e[n.path]||(e[n.path]={message:n.message,type:n.type}),t){var o=e[n.path].types,i=o&&o[n.type];e[n.path]=CS(n.path,t,e,n.type,i?[].concat(i,n.message):n.message)}return e},{})),l)}}))}catch(e){return Promise.reject(e)}}),...t})}function _1(e){let t=(0,O.useMutation)({mutationFn:async t=>"transfer"===e?bw(t):"profile"===e?bE(t):bk(t)}),n=(0,O.useMutation)({mutationFn:async t=>"transfer"===e?bx(t):"profile"===e?bC(t):bM(t)});return{request:t.mutateAsync,validate:n.mutateAsync,isRequestLoading:t.isPending,isValidateLoading:n.isPending}}function _0(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:async e=>hH(e)});return{mutateAsync:e,isLoading:t}}function _2(){let e=_Y(),t=(0,S.useTranslations)("ProfileData"),{mutateAsync:n,isLoading:o}=_0(),{user:i,handleReloadUserInfos:l}=yQ(),{request:s,isRequestLoading:u,isValidateLoading:c}=_1("profile"),[d,f]=(0,M.useState)(!1),[h,p]=(0,M.useState)(null),[m,g]=(0,M.useState)(null),[v,y]=(0,M.useState)(null),{handleSubmit:b,register:w,control:x,formState:{errors:E},watch:C,reset:k,setError:_,setValue:j,clearErrors:O}=_J(_G,{defaultValues:{birthdate:"",document:"",email:"",firstName:"",lastName:"",telephone:"",is_foreign:!1,nationality:"",passport:"",address:{city:"",complement:"",neighborhood:"",number:"",state:"",street:"",zip_code:""}}}),L=e=>{let t=e?.errors??{};t.birthdate?_("birthdate",{message:"requiredWhen"},{shouldFocus:!0}):t["address.zip_code"]?_("address.zip_code",{message:"isInValid"},{shouldFocus:!0}):t.document?_("BR"!==C("nationality")?"passport":"document",{message:"documentAlreadyRegistered"}):t.email?_("email",{message:"emailAlreadyRegistered"}
144):t.telephone&&_("telephone",{message:"j\xe1 existe e precisa ser \xfanico."===t.telephone[0]?"telephoneAlreadyRegistered":"phoneNumberError"})},A=b(async o=>{try{let i="BR"!==o.nationality?"passport":"cpf",u={first_name:o.firstName,last_name:o.lastName,document:"BR"!==o.nationality?o.passport||"":o.document||"",document_type:i,email:o.email,birthdate:vr({date:g2(o.birthdate,"dd/MM/yyyy",new Date),pattern:"yyyy-MM-dd"}),gender:o.gender,telephone:o.telephone,nationality:o.nationality,is_foreign:"BR"!==o.nationality,platform:"marketplace"};"BR"===o.nationality&&(u.address={city:o.address?.city||"",complement:o.address?.complement,neighborhood:o.address?.neighborhood||"",number:o.address?.number||"",state:o.address?.state||"",street:o.address?.street||"",zip_code:o.address?.zip_code||""});try{await n(u),await l(),mc(t("toastSuccess"),{variant:"success",autoHideDuration:3e3,anchorOrigin:{horizontal:e?"center":"right",vertical:"top"}})}catch(e){if(e?.status===403&&e?.data?.requires2FA){let e=await s({platform:"marketplace"});v6("profile_2fa_required"),g(e?.email||null),y(u),p(null),f(!0);return}throw e}}catch(e){mb(e,{showToast:!1}),L(e)}});return(0,M.useEffect)(()=>{var e;i&&k({firstName:i?.first_name||"",lastName:i?.last_name||"",document:yx(i?.document)||"",birthdate:i?.birthdate?vr({date:i.birthdate}):"",gender:i?.gender?.toUpperCase()||"",email:i?.email,telephone:i?.telephone,nationality:i?.nationality||"BR",is_foreign:i?.nationality!=="BR",passport:i?.nationality!=="BR"&&i?.document||"",address:{city:i.address?.city,state:i.address?.state,number:i.address?.number,street:i.address?.street,zip_code:i.address?.zip_code,complement:i?.address?.complement||null,neighborhood:i.address?.neighborhood}}),e=()=>{i?.nationality==="BR"?(j("document",i?.document||""),j("passport","")):i?.nationality!=="BR"&&(j("passport",i?.document||""),j("document",""))},setTimeout(()=>{e()},0)},[i,k]),(0,M.useEffect)(()=>{i||(async()=>{await l()})()},[l,i]),(0,M.useEffect)(()=>{let e=C("nationality");e&&j("is_foreign","BR"!==e)},[C("nationality"),j]),{onSubmit:A,register:w,control:x,errors:E,setValue:j,isLoading:o,setError:_,watch:C,clearErrors:O,twoFactorModalIsOpen:d,setTwoFactorModalIsOpen:f,twoFactorEmail:m,twoFactorError:h,handleValidateTwoFactor:async o=>{if(v)try{await n({...v,twoFactorCode:o}),await l(),f(!1),v6("profile_2fa_validated"),mc(t("toastSuccess"),{variant:"success",autoHideDuration:3e3,anchorOrigin:{horizontal:e?"center":"right",vertical:"top"}})}catch(o){let n=o instanceof hv?o.status:null;403===n||401===n?p(t("invalidTwoFactorCode")):(f(!1),L(o),mc(o instanceof hv?o.message:t("toastError"),{variant:"error",autoHideDuration:3e3,anchorOrigin:{horizontal:e?"center":"right",vertical:"top"}}))}},handleResendTwoFactor:async()=>{v6("profile_2fa_resend");let e=await s({platform:"marketplace"});g(e?.email||null)},isTwoFactorLoading:u||c}}function _3(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:async e=>hU(e)});return{mutateAsync:e,isLoading:t}}(Ot=Oi||(Oi={})).assertEqual=e=>{},Ot.assertIs=function(e){},Ot.assertNever=function(e){throw Error()},Ot.arrayToEnum=e=>{let t={};for(let n of e)t[n]=n;return t},Ot.getValidEnumValues=e=>{let t=Ot.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let o of t)n[o]=e[o];return Ot.objectValues(n)},Ot.objectValues=e=>Ot.objectKeys(e).map(function(t){return e[t]}),Ot.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{let t=[];for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},Ot.find=(e,t)=>{for(let n of e)if(t(n))return n},Ot.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&Number.isFinite(e)&&Math.floor(e)===e,Ot.joinValues=function(e,t=" | "){return e.map(e=>"string"==typeof e?`'${e}'`:e).join(t)},Ot.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,(Ol||(Ol={})).mergeShapes=(e,t)=>({...e,...t});let _5=Oi.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),_4=e=>{switch(typeof e){case"undefined":return _5.undefined;case"string":return _5.string;case"number":return Number.isNaN(e)?_5.nan:_5.number;case"boolean":return _5.boolean;case"function":return _5.function;case"bigint":return _5.bigint;case"symbol":return _5.symbol;case"object":return Array.isArray(e)?_5.array:null===e?_5.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?_5.promise:"u">typeof Map&&e instanceof Map?_5.map:"u">typeof Set&&e instanceof Set?_5.set:"u">typeof Date&&e instanceof Date?_5.date:_5.object;default:return _5.unknown}}
vendor: 5,909 bytes, line 144
144,_6=Oi.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class _7 extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};let t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){let t=e||function(e){return e.message},n={_errors:[]},o=e=>{for(let i of e.issues)if("invalid_union"===i.code)i.unionErrors.map(o);else if("invalid_return_type"===i.code)o(i.returnTypeError);else if("invalid_arguments"===i.code)o(i.argumentsError);else if(0===i.path.length)n._errors.push(t(i));else{let e=n,o=0;for(;o<i.path.length;){let n=i.path[o];o===i.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(i))):e[n]=e[n]||{_errors:[]},e=e[n],o++}}};return o(this),n}static assert(e){if(!(e instanceof _7))throw Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Oi.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){let t={},n=[];for(let o of this.issues)if(o.path.length>0){let n=o.path[0];t[n]=t[n]||[],t[n].push(e(o))}else n.push(e(o));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}_7.create=e=>new _7(e);let _8=(e,t)=>{let n;switch(e.code){case _6.invalid_type:n=e.received===_5.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case _6.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Oi.jsonStringifyReplacer)}`;break;case _6.unrecognized_keys:n=`Unrecognized key(s) in object: ${Oi.joinValues(e.keys,", ")}`;break;case _6.invalid_union:n="Invalid input";break;case _6.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Oi.joinValues(e.options)}`;break;case _6.invalid_enum_value:n=`Invalid enum value. Expected ${Oi.joinValues(e.options)}, received '${e.received}'`;break;case _6.invalid_arguments:n="Invalid function arguments";break;case _6.invalid_return_type:n="Invalid function return type";break;case _6.invalid_date:n="Invalid date";break;case _6.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Oi.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case _6.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"bigint"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case _6.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case _6.custom:n="Invalid input";break;case _6.invalid_intersection_types:n="Intersection results could not be merged";break;case _6.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case _6.not_finite:n="Number must be finite";break;default:n=t.defaultError,Oi.assertNever(e)}return{message:n}},_9=e=>{let{data:t,path:n,errorMaps:o,issueData:i}=e,l=[...n,...i.path||[]],s={...i,path:l};if(void 0!==i.message)return{...i,path:l,message:i.message};let u="";for(let e of o.filter(e=>!!e).slice().reverse())u=e(s,{data:t,defaultError:u}).message;return{...i,path:l,message:u}};function Se(e,t){let n=_9({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,_8,_8==_8?void 0:_8].filter(e=>!!e)});e.common.issues.push(n)}class St{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){let n=[];for(let o of t){if("aborted"===o.status)return Sr;"dirty"===o.status&&e.dirty(),n.push(o.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){let n=[];for(let e of t){let t=await e.key,o=await e.value;n.push({key:t,value:o})}return St.mergeObjectSync(e,n)}static mergeObjectSync(e,t){let n={};for(let o of t){let{key:t,value:i}=o;if("aborted"===t.status||"aborted"===i.status)return Sr;"dirty"===t.status&&e.dirty(),"dirty"===i.status&&e.dirty(),"__proto__"!==t.value&&("u">typeof i.value||o.alwaysSet)&&(n[t.value]=i.value)}return{status:e.value,value:n}}}let Sr=Object.freeze({status:"aborted"}),Sn=e=>({status:"dirty",value:e}),Sa=e=>
vendor: 5,635 bytes, line 144
144({status:"valid",value:e}),So=e=>"aborted"===e.status,Si=e=>"dirty"===e.status,Sl=e=>"valid"===e.status,Ss=e=>"u">typeof Promise&&e instanceof Promise;(Or=Os||(Os={})).errToObj=e=>"string"==typeof e?{message:e}:e||{},Or.toString=e=>"string"==typeof e?e:e?.message;class Su{constructor(e,t,n,o){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let Sc=(e,t)=>{if(Sl(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let t=new _7(e.common.issues);return this._error=t,this._error}}};function Sd(e){if(!e)return{};let{errorMap:t,invalid_type_error:n,required_error:o,description:i}=e;if(t&&(n||o))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:i}:{errorMap:(t,i)=>{let{message:l}=e;return"invalid_enum_value"===t.code?{message:l??i.defaultError}:typeof i.data>"u"?{message:l??o??i.defaultError}:"invalid_type"!==t.code?{message:i.defaultError}:{message:l??n??i.defaultError}},description:i}}class Sf{get description(){return this._def.description}_getType(e){return _4(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:_4(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new St,ctx:{common:e.parent.common,data:e.data,parsedType:_4(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){let t=this._parse(e);if(Ss(t))throw Error("Synchronous parse encountered promise.");return t}_parseAsync(e){return Promise.resolve(this._parse(e))}parse(e,t){let n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){let n={common:{issues:[],async:t?.async??!1,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:_4(e)},o=this._parseSync({data:e,path:n.path,parent:n});return Sc(n,o)}"~validate"(e){let t={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:_4(e)};if(!this["~standard"].async)try{let n=this._parseSync({data:e,path:[],parent:t});return Sl(n)?{value:n.value}:{issues:t.common.issues}}catch(e){e?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),t.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:t}).then(e=>Sl(e)?{value:e.value}:{issues:t.common.issues})}async parseAsync(e,t){let n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){let n={common:{issues:[],contextualErrorMap:t?.errorMap,async:!0},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:_4(e)},o=this._parse({data:e,path:n.path,parent:n});return Sc(n,await (Ss(o)?o:Promise.resolve(o)))}refine(e,t){let n=e=>"string"==typeof t||typeof t>"u"?{message:t}:"function"==typeof t?t(e):t;return this._refinement((t,o)=>{let i=e(t),l=()=>o.addIssue({code:_6.custom,...n(t)});return"u">typeof Promise&&i instanceof Promise?i.then(e=>!!e||(l(),!1)):!!i||(l(),!1)})}refinement(e,t){return this._refinement((n,o)=>!!e(n)||(o.addIssue("function"==typeof t?t(n,o):t),!1))}_refinement(e){return new S0({schema:this,typeName:Ou.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return S2.create(this,this._def)}nullable(){return S3.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return SB.create(this)}promise(){return S1.create(this,this._def)}or(e){return SV.create([this,e],this._def)}and(e){return SU.create(this,e,this._def)}transform(e){return new S0({...Sd(this._def),schema:this,typeName:Ou.ZodEffects,effect:{type:"transform",transform:e}})}default(e){return new S5({...Sd(this._def),innerType:this,defaultValue:"function"==typeof e?e:()=>e,typeName:Ou.ZodDefault})}brand(){return new S7({typeName:Ou.ZodBranded,type:this,...Sd(this._def)})}catch(e){return new S4({...Sd(this._def),innerType:this,catchValue:"function"==typeof e?e:()=>e,typeName:Ou.ZodCatch})}describe(e){return new this.constructor({...this._def,description:e})}pipe(e){return S8.create(this,e)}readonly(){return S9.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let Sh=/^c[^\s-]{8,}
vendor: 39,653 bytes, line 144
144$/i,Sp=/^[0-9a-z]+$/,Sm=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Sg=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Sv=/^[a-z0-9_-]{21}$/i,Sy=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Sb=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Sw=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Sx=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,SE=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,SC=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,Sk=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,SM=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,S_=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,SS="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",Sj=RegExp(`^${SS}$`);function SO(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`);let n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}class SL extends Sf{_parse(e){let t;if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==_5.string){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.string,received:t.parsedType}),Sr}let n=new St;for(let u of this._def.checks)if("min"===u.kind)e.data.length<u.value&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),n.dirty());else if("max"===u.kind)e.data.length>u.value&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!1,message:u.message}),n.dirty());else if("length"===u.kind){let o=e.data.length>u.value,i=e.data.length<u.value;(o||i)&&(t=this._getOrReturnCtx(e,t),o?Se(t,{code:_6.too_big,maximum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}):i&&Se(t,{code:_6.too_small,minimum:u.value,type:"string",inclusive:!0,exact:!0,message:u.message}),n.dirty())}else if("email"===u.kind)Sw.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"email",code:_6.invalid_string,message:u.message}),n.dirty());else if("emoji"===u.kind)g||(g=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),g.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"emoji",code:_6.invalid_string,message:u.message}),n.dirty());else if("uuid"===u.kind)Sg.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"uuid",code:_6.invalid_string,message:u.message}),n.dirty());else if("nanoid"===u.kind)Sv.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"nanoid",code:_6.invalid_string,message:u.message}),n.dirty());else if("cuid"===u.kind)Sh.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"cuid",code:_6.invalid_string,message:u.message}),n.dirty());else if("cuid2"===u.kind)Sp.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"cuid2",code:_6.invalid_string,message:u.message}),n.dirty());else if("ulid"===u.kind)Sm.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"ulid",code:_6.invalid_string,message:u.message}),n.dirty());else if("url"===u.kind)try{new URL(e.data)}catch{Se(t=this._getOrReturnCtx(e,t),{validation:"url",code:_6.invalid_string,message:u.message}),n.dirty()}else{var o,i,l,s;"regex"===u.kind?(u.regex.lastIndex=0,u.regex.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"regex",code:_6.invalid_string,message:u.message}),n.dirty())):"trim"===u.kind?e.data=e.data.trim():"includes"===u.kind?e.data.includes(u.value,u.position)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.invalid_string,validation:{includes:u.value,position:u.position},message:u.message}),n.dirty()):"toLowerCase"===u.kind?e.data=e.data.toLowerCase():"toUpperCase"===u.kind?e.data=e.data.toUpperCase():"startsWith"===u.kind?e.data.startsWith(u.value)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.invalid_string,validation:{startsWith:u.value},message:u.message}),n.dirty()):"endsWith"===u.kind?e.data.endsWith(u.value)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.invalid_string,validation:{endsWith:u.value},message:u.message}),n.dirty()):"datetime"===u.kind?(function(e){let t=`${SS}T${SO(e)}`,n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,RegExp(`^${t}$`)})(u).test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.invalid_string,validation:"datetime",message:u.message}),n.dirty()):"date"===u.kind?Sj.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.invalid_string,validation:"date",message:u.message}),n.dirty()):"time"===u.kind?RegExp(`^${SO(u)}$`).test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.invalid_string,validation:"time",message:u.message}),n.dirty()):"duration"===u.kind?Sb.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"duration",code:_6.invalid_string,message:u.message}),n.dirty()):"ip"===u.kind?(o=e.data,("v4"===(i=u.version)||!i)&&Sx.test(o)||("v6"===i||!i)&&SC.test(o)||(Se(t=this._getOrReturnCtx(e,t),{validation:"ip",code:_6.invalid_string,message:u.message}),n.dirty())):"jwt"===u.kind?function(e,t){if(!Sy.test(e))return!1;try{let[n]=e.split(".");if(!n)return!1;let o=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),i=JSON.parse(atob(o));return!("object"!=typeof i||null===i||"typ"in i&&i?.typ!=="JWT"||!i.alg||t&&i.alg!==t)}catch{return!1}}(e.data,u.alg)||(Se(t=this._getOrReturnCtx(e,t),{validation:"jwt",code:_6.invalid_string,message:u.message}),n.dirty()):"cidr"===u.kind?(l=e.data,("v4"===(s=u.version)||!s)&&SE.test(l)||("v6"===s||!s)&&Sk.test(l)||(Se(t=this._getOrReturnCtx(e,t),{validation:"cidr",code:_6.invalid_string,message:u.message}),n.dirty())):"base64"===u.kind?SM.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"base64",code:_6.invalid_string,message:u.message}),n.dirty()):"base64url"===u.kind?S_.test(e.data)||(Se(t=this._getOrReturnCtx(e,t),{validation:"base64url",code:_6.invalid_string,message:u.message}),n.dirty()):Oi.assertNever(u)}return{status:n.value,value:e.data}}_regex(e,t,n){return this.refinement(t=>e.test(t),{validation:t,code:_6.invalid_string,...Os.errToObj(n)})}_addCheck(e){return new SL({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...Os.errToObj(e)})}url(e){return this._addCheck({kind:"url",...Os.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...Os.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Os.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...Os.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...Os.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...Os.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...Os.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...Os.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...Os.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...Os.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...Os.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...Os.errToObj(e)})}datetime(e){return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...Os.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...Os.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...Os.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...Os.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:t?.position,...Os.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...Os.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...Os.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...Os.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...Os.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...Os.errToObj(t)})}nonempty(e){return this.min(1,Os.errToObj(e))}trim(){return new SL({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new SL({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new SL({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>"datetime"===e.kind)}get isDate(){return!!this._def.checks.find(e=>"date"===e.kind)}get isTime(){return!!this._def.checks.find(e=>"time"===e.kind)}get isDuration(){return!!this._def.checks.find(e=>"duration"===e.kind)}get isEmail(){return!!this._def.checks.find(e=>"email"===e.kind)}get isURL(){return!!this._def.checks.find(e=>"url"===e.kind)}get isEmoji(){return!!this._def.checks.find(e=>"emoji"===e.kind)}get isUUID(){return!!this._def.checks.find(e=>"uuid"===e.kind)}get isNANOID(){return!!this._def.checks.find(e=>"nanoid"===e.kind)}get isCUID(){return!!this._def.checks.find(e=>"cuid"===e.kind)}get isCUID2(){return!!this._def.checks.find(e=>"cuid2"===e.kind)}get isULID(){return!!this._def.checks.find(e=>"ulid"===e.kind)}get isIP(){return!!this._def.checks.find(e=>"ip"===e.kind)}get isCIDR(){return!!this._def.checks.find(e=>"cidr"===e.kind)}get isBase64(){return!!this._def.checks.find(e=>"base64"===e.kind)}get isBase64url(){return!!this._def.checks.find(e=>"base64url"===e.kind)}get minLength(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}SL.create=e=>new SL({checks:[],typeName:Ou.ZodString,coerce:e?.coerce??!1,...Sd(e)});class SA extends Sf{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){let t;if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==_5.number){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.number,received:t.parsedType}),Sr}let n=new St;for(let o of this._def.checks)"int"===o.kind?Oi.isInteger(e.data)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.invalid_type,expected:"integer",received:"float",message:o.message}),n.dirty()):"min"===o.kind?(o.inclusive?e.data<o.value:e.data<=o.value)&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_small,minimum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),n.dirty()):"max"===o.kind?(o.inclusive?e.data>o.value:e.data>=o.value)&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_big,maximum:o.value,type:"number",inclusive:o.inclusive,exact:!1,message:o.message}),n.dirty()):"multipleOf"===o.kind?0!==function(e,t){let n=(e.toString().split(".")[1]||"").length,o=(t.toString().split(".")[1]||"").length,i=n>o?n:o;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(e.data,o.value)&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.not_multiple_of,multipleOf:o.value,message:o.message}),n.dirty()):"finite"===o.kind?Number.isFinite(e.data)||(Se(t=this._getOrReturnCtx(e,t),{code:_6.not_finite,message:o.message}),n.dirty()):Oi.assertNever(o);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,Os.toString(t))}gt(e,t){return this.setLimit("min",e,!1,Os.toString(t))}lte(e,t){return this.setLimit("max",e,!0,Os.toString(t))}lt(e,t){return this.setLimit("max",e,!1,Os.toString(t))}setLimit(e,t,n,o){return new SA({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:Os.toString(o)}]})}_addCheck(e){return new SA({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:Os.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Os.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Os.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Os.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Os.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Os.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:Os.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Os.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Os.toString(e)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find(e=>"int"===e.kind||"multipleOf"===e.kind&&Oi.isInteger(e.value))}get isFinite(){let e=null,t=null;for(let n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}SA.create=e=>new SA({checks:[],typeName:Ou.ZodNumber,coerce:e?.coerce||!1,...Sd(e)});class ST extends Sf{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){let t;if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==_5.bigint)return this._getInvalidInput(e);let n=new St;for(let o of this._def.checks)"min"===o.kind?(o.inclusive?e.data<o.value:e.data<=o.value)&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_small,type:"bigint",minimum:o.value,inclusive:o.inclusive,message:o.message}),n.dirty()):"max"===o.kind?(o.inclusive?e.data>o.value:e.data>=o.value)&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_big,type:"bigint",maximum:o.value,inclusive:o.inclusive,message:o.message}),n.dirty()):"multipleOf"===o.kind?e.data%o.value!==BigInt(0)&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.not_multiple_of,multipleOf:o.value,message:o.message}),n.dirty()):Oi.assertNever(o);return{status:n.value,value:e.data}}_getInvalidInput(e){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.bigint,received:t.parsedType}),Sr}gte(e,t){return this.setLimit("min",e,!0,Os.toString(t))}gt(e,t){return this.setLimit("min",e,!1,Os.toString(t))}lte(e,t){return this.setLimit("max",e,!0,Os.toString(t))}lt(e,t){return this.setLimit("max",e,!1,Os.toString(t))}setLimit(e,t,n,o){return new ST({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:Os.toString(o)}]})}_addCheck(e){return new ST({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Os.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Os.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Os.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Os.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:Os.toString(t)})}get minValue(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}ST.create=e=>new ST({checks:[],typeName:Ou.ZodBigInt,coerce:e?.coerce??!1,...Sd(e)});class SP extends Sf{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==_5.boolean){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.boolean,received:t.parsedType}),Sr}return Sa(e.data)}}SP.create=e=>new SP({typeName:Ou.ZodBoolean,coerce:e?.coerce||!1,...Sd(e)});class SN extends Sf{_parse(e){let t;if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==_5.date){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.date,received:t.parsedType}),Sr}if(Number.isNaN(e.data.getTime()))return Se(this._getOrReturnCtx(e),{code:_6.invalid_date}),Sr;let n=new St;for(let o of this._def.checks)"min"===o.kind?e.data.getTime()<o.value&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:"date"}),n.dirty()):"max"===o.kind?e.data.getTime()>o.value&&(Se(t=this._getOrReturnCtx(e,t),{code:_6.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:"date"}),n.dirty()):Oi.assertNever(o);return{status:n.value,value:new Date(e.data.getTime())}}_addCheck(e){return new SN({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:Os.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:Os.toString(t)})}get minDate(){let e=null;for(let t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(let t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}SN.create=e=>new SN({checks:[],coerce:e?.coerce||!1,typeName:Ou.ZodDate,...Sd(e)});class SF extends Sf{_parse(e){if(this._getType(e)!==_5.symbol){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.symbol,received:t.parsedType}),Sr}return Sa(e.data)}}SF.create=e=>new SF({typeName:Ou.ZodSymbol,...Sd(e)});class SR extends Sf{_parse(e){if(this._getType(e)!==_5.undefined){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.undefined,received:t.parsedType}),Sr}return Sa(e.data)}}SR.create=e=>new SR({typeName:Ou.ZodUndefined,...Sd(e)});class S$ extends Sf{_parse(e){if(this._getType(e)!==_5.null){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.null,received:t.parsedType}),Sr}return Sa(e.data)}}S$.create=e=>new S$({typeName:Ou.ZodNull,...Sd(e)});class SD extends Sf{constructor(){super(...arguments),this._any=!0}_parse(e){return Sa(e.data)}}SD.create=e=>new SD({typeName:Ou.ZodAny,...Sd(e)});class Sz extends Sf{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Sa(e.data)}}Sz.create=e=>new Sz({typeName:Ou.ZodUnknown,...Sd(e)});class SI extends Sf{_parse(e){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.never,received:t.parsedType}),Sr}}SI.create=e=>new SI({typeName:Ou.ZodNever,...Sd(e)});class SH extends Sf{_parse(e){if(this._getType(e)!==_5.undefined){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.void,received:t.parsedType}),Sr}return Sa(e.data)}}SH.create=e=>new SH({typeName:Ou.ZodVoid,...Sd(e)});class SB extends Sf{_parse(e){let{ctx:t,status:n}=this._processInputParams(e),o=this._def;if(t.parsedType!==_5.array)return Se(t,{code:_6.invalid_type,expected:_5.array,received:t.parsedType}),Sr;if(null!==o.exactLength){let e=t.data.length>o.exactLength.value,i=t.data.length<o.exactLength.value;(e||i)&&(Se(t,{code:e?_6.too_big:_6.too_small,minimum:i?o.exactLength.value:void 0,maximum:e?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),n.dirty())}if(null!==o.minLength&&t.data.length<o.minLength.value&&(Se(t,{code:_6.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),n.dirty()),null!==o.maxLength&&t.data.length>o.maxLength.value&&(Se(t,{code:_6.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map((e,n)=>o.type._parseAsync(new Su(t,e,t.path,n)))).then(e=>St.mergeArray(n,e));let i=[...t.data].map((e,n)=>o.type._parseSync(new Su(t,e,t.path,n)));return St.mergeArray(n,i)}get element(){return this._def.type}min(e,t){return new SB({...this._def,minLength:{value:e,message:Os.toString(t)}})}max(e,t){return new SB({...this._def,maxLength:{value:e,message:Os.toString(t)}})}length(e,t){return new SB({...this._def,exactLength:{value:e,message:Os.toString(t)}})}nonempty(e){return this.min(1,e)}}SB.create=(e,t)=>new SB({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ou.ZodArray,...Sd(t)});class SW extends Sf{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let e=this._def.shape(),t=Oi.objectKeys(e);return this._cached={shape:e,keys:t},this._cached}_parse(e){if(this._getType(e)!==_5.object){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.object,received:t.parsedType}),Sr}let{status:t,ctx:n}=this._processInputParams(e),{shape:o,keys:i}=this._getCached(),l=[];if(!(this._def.catchall instanceof SI&&"strip"===this._def.unknownKeys))for(let e in n.data)i.includes(e)||l.push(e);let s=[];for(let e of i){let t=o[e],i=n.data[e];s.push({key:{status:"valid",value:e},value:t._parse(new Su(n,i,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof SI){let e=this._def.unknownKeys;if("passthrough"===e)for(let e of l)s.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)l.length>0&&(Se(n,{code:_6.unrecognized_keys,keys:l}),t.dirty());else if("strip"!==e)throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let e=this._def.catchall;for(let t of l){let o=n.data[t];s.push({key:{status:"valid",value:t},value:e._parse(new Su(n,o,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then(async()=>{let e=[];for(let t of s){let n=await t.key,o=await t.value;e.push({key:n,value:o,alwaysSet:t.alwaysSet})}return e}).then(e=>St.mergeObjectSync(t,e)):St.mergeObjectSync(t,s)}get shape(){return this._def.shape()}strict(e){return Os.errToObj,new SW({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{let o=this._def.errorMap?.(t,n).message??n.defaultError;return"unrecognized_keys"===t.code?{message:Os.errToObj(e).message??o}:{message:o}}}:{}})}strip(){return new SW({...this._def,unknownKeys:"strip"})}passthrough(){return new SW({...this._def,unknownKeys:"passthrough"})}extend(e){return new SW({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new SW({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:Ou.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new SW({...this._def,catchall:e})}pick(e){let t={};for(let n of Oi.objectKeys(e))e[n]&&this.shape[n]&&(t[n]=this.shape[n]);return new SW({...this._def,shape:()=>t})}omit(e){let t={};for(let n of Oi.objectKeys(this.shape))e[n]||(t[n]=this.shape[n]);return new SW({...this._def,shape:()=>t})}deepPartial(){return function e(t){if(!(t instanceof SW))return t instanceof SB?new SB({...t._def,type:e(t.element)}):t instanceof S2?S2.create(e(t.unwrap())):t instanceof S3?S3.create(e(t.unwrap())):t instanceof Sq?Sq.create(t.items.map(t=>e(t))):t;{let n={};for(let o in t.shape){let i=t.shape[o];n[o]=S2.create(e(i))}return new SW({...t._def,shape:()=>n})}}(this)}partial(e){let t={};for(let n of Oi.objectKeys(this.shape)){let o=this.shape[n];e&&!e[n]?t[n]=o:t[n]=o.optional()}return new SW({...this._def,shape:()=>t})}required(e){let t={};for(let n of Oi.objectKeys(this.shape))if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof S2;)e=e._def.innerType;t[n]=e}return new SW({...this._def,shape:()=>t})}keyof(){return SQ(Oi.objectKeys(this.shape))}}SW.create=(e,t)=>new SW({shape:()=>e,unknownKeys:"strip",catchall:SI.create(),typeName:Ou.ZodObject,...Sd(t)}),SW.strictCreate=(e,t)=>new SW({shape:()=>e,unknownKeys:"strict",catchall:SI.create(),typeName:Ou.ZodObject,...Sd(t)}),SW.lazycreate=(e,t)=>new SW({shape:e,unknownKeys:"strip",catchall:SI.create(),typeName:Ou.ZodObject,...Sd(t)});class SV extends Sf{_parse(e){let{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map(async e=>{let n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}})).then(function(e){for(let t of e)if("valid"===t.result.status)return t.result;for(let n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;let n=e.map(e=>new _7(e.ctx.common.issues));return Se(t,{code:_6.invalid_union,unionErrors:n}),Sr});{let e;let o=[];for(let i of n){let n={...t,common:{...t.common,issues:[]},parent:null},l=i._parseSync({data:t.data,path:t.path,parent:n});if("valid"===l.status)return l;"dirty"!==l.status||e||(e={result:l,ctx:n}),n.common.issues.length&&o.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;let i=o.map(e=>new _7(e));return Se(t,{code:_6.invalid_union,unionErrors:i}),Sr}}get options(){return this._def.options}}SV.create=(e,t)=>new SV({options:e,typeName:Ou.ZodUnion,...Sd(t)});class SU extends Sf{_parse(e){let{status:t,ctx:n}=this._processInputParams(e),o=(e,o)=>{if(So(e)||So(o))return Sr;let i=function e(t,n){let o=_4(t),i=_4(n);if(t===n)return{valid:!0,data:t};if(o===_5.object&&i===_5.object){let o=Oi.objectKeys(n),i=Oi.objectKeys(t).filter(e=>-1!==o.indexOf(e)),l={...t,...n};for(let o of i){let i=e(t[o],n[o]);if(!i.valid)return{valid:!1};l[o]=i.data}return{valid:!0,data:l}}if(o!==_5.array||i!==_5.array)return o===_5.date&&i===_5.date&&+t==+n?{valid:!0,data:t}:{valid:!1};{if(t.length!==n.length)return{valid:!1};let o=[];for(let i=0;i<t.length;i++){let l=e(t[i],n[i]);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}}(e.value,o.value);return i.valid?((Si(e)||Si(o))&&t.dirty(),{status:t.value,value:i.data}):(Se(n,{code:_6.invalid_intersection_types}),Sr)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then(([e,t])=>o(e,t)):o(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}SU.create=(e,t,n)=>new SU({left:e,right:t,typeName:Ou.ZodIntersection,...Sd(n)});class Sq extends Sf{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_5.array)return Se(n,{code:_6.invalid_type,expected:_5.array,received:n.parsedType}),Sr;if(n.data.length<this._def.items.length)return Se(n,{code:_6.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Sr;!this._def.rest&&n.data.length>this._def.items.length&&(Se(n,{code:_6.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());let o=[...n.data].map((e,t)=>{let o=this._def.items[t]||this._def.rest;return o?o._parse(new Su(n,e,n.path,t)):null}).filter(e=>!!e);return n.common.async?Promise.all(o).then(e=>St.mergeArray(t,e)):St.mergeArray(t,o)}get items(){return this._def.items}rest(e){return new Sq({...this._def,rest:e})}}Sq.create=(e,t)=>{if(!Array.isArray(e))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new Sq({items:e,typeName:Ou.ZodTuple,rest:null,...Sd(t)})};class SG extends Sf{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_5.map)return Se(n,{code:_6.invalid_type,expected:_5.map,received:n.parsedType}),Sr;let o=this._def.keyType,i=this._def.valueType,l=[...n.data.entries()].map(([e,t],l)=>({key:o._parse(new Su(n,e,n.path,[l,"key"])),value:i._parse(new Su(n,t,n.path,[l,"value"]))}));if(n.common.async){let e=new Map;return Promise.resolve().then(async()=>{for(let n of l){let o=await n.key,i=await n.value;if("aborted"===o.status||"aborted"===i.status)return Sr;("dirty"===o.status||"dirty"===i.status)&&t.dirty(),e.set(o.value,i.value)}return{status:t.value,value:e}})}{let e=new Map;for(let n of l){let o=n.key,i=n.value;if("aborted"===o.status||"aborted"===i.status)return Sr;("dirty"===o.status||"dirty"===i.status)&&t.dirty(),e.set(o.value,i.value)}return{status:t.value,value:e}}}}SG.create=(e,t,n)=>new SG({valueType:t,keyType:e,typeName:Ou.ZodMap,...Sd(n)});class SY extends Sf{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==_5.set)return Se(n,{code:_6.invalid_type,expected:_5.set,received:n.parsedType}),Sr;let o=this._def;null!==o.minSize&&n.data.size<o.minSize.value&&(Se(n,{code:_6.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),t.dirty()),null!==o.maxSize&&n.data.size>o.maxSize.value&&(Se(n,{code:_6.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),t.dirty());let i=this._def.valueType;function l(e){let n=new Set;for(let o of e){if("aborted"===o.status)return Sr;"dirty"===o.status&&t.dirty(),n.add(o.value)}return{status:t.value,value:n}}let s=[...n.data.values()].map((e,t)=>i._parse(new Su(n,e,n.path,t)));return n.common.async?Promise.all(s).then(e=>l(e)):l(s)}min(e,t){return new SY({...this._def,minSize:{value:e,message:Os.toString(t)}})}max(e,t){return new SY({...this._def,maxSize:{value:e,message:Os.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}SY.create=(e,t)=>new SY({valueType:e,minSize:null,maxSize:null,typeName:Ou.ZodSet,...Sd(t)});class SZ extends Sf{get schema(){return this._def.getter()}_parse(e){let{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}SZ.create=(e,t)=>new SZ({getter:e,typeName:Ou.ZodLazy,...Sd(t)});class SK extends Sf{_parse(e){if(e.data!==this._def.value){let t=this._getOrReturnCtx(e);return Se(t,{received:t.data,code:_6.invalid_literal,expected:this._def.value}),Sr}return{status:"valid",value:e.data}}get value(){return this._def.value}}function SQ(e,t){return new SX({values:e,typeName:Ou.ZodEnum,...Sd(t)})}SK.create=(e,t)=>new SK({value:e,typeName:Ou.ZodLiteral,...Sd(t)});class SX extends Sf{_parse(e){if("string"!=typeof e.data){let t=this._getOrReturnCtx(e),n=this._def.values;return Se(t,{expected:Oi.joinValues(n),received:t.parsedType,code:_6.invalid_type}),Sr}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){let t=this._getOrReturnCtx(e),n=this._def.values;return Se(t,{received:t.data,code:_6.invalid_enum_value,options:n}),Sr}return Sa(e.data)}get options(){return this._def.values}get enum(){let e={};for(let t of this._def.values)e[t]=t;return e}get Values(){let e={};for(let t of this._def.values)e[t]=t;return e}get Enum(){let e={};for(let t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return SX.create(e,{...this._def,...t})}exclude(e,t=this._def){return SX.create(this.options.filter(t=>!e.includes(t)),{...this._def,...t})}}SX.create=SQ;class SJ extends Sf{_parse(e){let t=Oi.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==_5.string&&n.parsedType!==_5.number){let e=Oi.objectValues(t);return Se(n,{expected:Oi.joinValues(e),received:n.parsedType,code:_6.invalid_type}),Sr}if(this._cache||(this._cache=new Set(Oi.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){let e=Oi.objectValues(t);return Se(n,{received:n.data,code:_6.invalid_enum_value,options:e}),Sr}return Sa(e.data)}get enum(){return this._def.values}}SJ.create=(e,t)=>new SJ({values:e,typeName:Ou.ZodNativeEnum,...Sd(t)});class S1 extends Sf{unwrap(){return this._def.type}_parse(e){let{ctx:t}=this._processInputParams(e);return t.parsedType!==_5.promise&&!1===t.common.async?(Se(t,{code:_6.invalid_type,expected:_5.promise,received:t.parsedType}),Sr):Sa((t.parsedType===_5.promise?t.data:Promise.resolve(t.data)).then(e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap})))}}S1.create=(e,t)=>new S1({type:e,typeName:Ou.ZodPromise,...Sd(t)});class S0 extends Sf{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ou.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){let{status:t,ctx:n}=this._processInputParams(e),o=this._def.effect||null,i={addIssue:e=>{Se(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(i.addIssue=i.addIssue.bind(i),"preprocess"===o.type){let e=o.transform(n.data,i);if(n.common.async)return Promise.resolve(e).then(async e=>{if("aborted"===t.value)return Sr;let o=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===o.status?Sr:"dirty"===o.status||"dirty"===t.value?Sn(o.value):o});{if("aborted"===t.value)return Sr;let o=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===o.status?Sr:"dirty"===o.status||"dirty"===t.value?Sn(o.value):o}}if("refinement"===o.type){let e=e=>{let t=o.refinement(e,i);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(n=>"aborted"===n.status?Sr:("dirty"===n.status&&t.dirty(),e(n.value).then(()=>({status:t.value,value:n.value}))));{let o=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===o.status?Sr:("dirty"===o.status&&t.dirty(),e(o.value),{status:t.value,value:o.value})}}if("transform"===o.type){if(!1!==n.common.async)return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then(e=>Sl(e)?Promise.resolve(o.transform(e.value,i)).then(e=>({status:t.value,value:e})):Sr);{let e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!Sl(e))return Sr;let l=o.transform(e.value,i);if(l instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:l}}}Oi.assertNever(o)}}S0.create=(e,t,n)=>new S0({schema:e,typeName:Ou.ZodEffects,effect:t,...Sd(n)}),S0.createWithPreprocess=(e,t,n)=>new S0({schema:t,effect:{type:"preprocess",transform:e},typeName:Ou.ZodEffects,...Sd(n)});class S2 extends Sf{_parse(e){return this._getType(e)===_5.undefined?Sa(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}S2.create=(e,t)=>new S2({innerType:e,typeName:Ou.ZodOptional,...Sd(t)});class S3 extends Sf{_parse(e){return this._getType(e)===_5.null?Sa(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}S3.create=(e,t)=>new S3({innerType:e,typeName:Ou.ZodNullable,...Sd(t)});class S5 extends Sf{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return t.parsedType===_5.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}S5.create=(e,t)=>new S5({innerType:e,typeName:Ou.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...Sd(t)});class S4 extends Sf{_parse(e){let{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},o=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return Ss(o)?o.then(e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new _7(n.common.issues)},input:n.data})})):{status:"valid",value:"valid"===o.status?o.value:this._def.catchValue({get error(){return new _7(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}S4.create=(e,t)=>new S4({innerType:e,typeName:Ou.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...Sd(t)});class S6 extends Sf{_parse(e){if(this._getType(e)!==_5.nan){let t=this._getOrReturnCtx(e);return Se(t,{code:_6.invalid_type,expected:_5.nan,received:t.parsedType}),Sr}return{status:"valid",value:e.data}}}S6.create=e=>new S6({typeName:Ou.ZodNaN,...Sd(e)});class S7 extends Sf{_parse(e){let{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class S8 extends Sf{_parse(e){let{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{let e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?Sr:"dirty"===e.status?(t.dirty(),Sn(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{let e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?Sr:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new S8({in:e,out:t,typeName:Ou.ZodPipeline})}}class S9 extends Sf{_parse(e){let t=this._def.innerType._parse(e),n=e=>(Sl(e)&&(e.value=Object.freeze(e.value)),e);return Ss(t)?t.then(e=>n(e)):n(t)}unwrap(){return this._def.innerType}}S9.create=(e,t)=>new S9({innerType:e,typeName:Ou.ZodReadonly,...Sd(t)}),(On=Ou||(Ou={})).ZodString="ZodString",On.ZodNumber="ZodNumber",On.ZodNaN="ZodNaN",On.ZodBigInt="ZodBigInt",On.ZodBoolean="ZodBoolean",On.ZodDate="ZodDate",On.ZodSymbol="ZodSymbol",On.ZodUndefined="ZodUndefined",On.ZodNull="ZodNull",On.ZodAny="ZodAny",On.ZodUnknown="ZodUnknown",On.ZodNever="ZodNever",On.ZodVoid="ZodVoid",On.ZodArray="ZodArray",On.ZodObject="ZodObject",On.ZodUnion="ZodUnion",On.ZodDiscriminatedUnion="ZodDiscriminatedUnion",On.ZodIntersection="ZodIntersection",On.ZodTuple="ZodTuple",On.ZodRecord="ZodRecord",On.ZodMap="ZodMap",On.ZodSet="ZodSet",On.ZodFunction="ZodFunction",On.ZodLazy="ZodLazy",On.ZodLiteral="ZodLiteral",On.ZodEnum="ZodEnum",On.ZodEffects="ZodEffects",On.ZodNativeEnum="ZodNativeEnum",On.ZodOptional="ZodOptional",On.ZodNullable="ZodNullable",On.ZodDefault="ZodDefault",On.ZodCatch="ZodCatch",On.ZodPromise="ZodPromise",On.ZodBranded="ZodBranded",On.ZodPipeline="ZodPipeline",On.ZodReadonly="ZodReadonly";let je=SL.create,jt=SA.create;SI.create,SB.create;let jr=SW.create;SV.create,SU.create,Sq.create,SX.create,S1.create,S2.create,S3.create;let jn=jr({password:je().min(6,"passwordMinLength"),newPassword:je().min(6,"passwordMinLength"),
144confirmNewPassword:je().min(6,"confirmPasswordMinLength")}).refine(e=>e.newPassword===e.confirmNewPassword,{message:"passwordsMustMatch",path:["confirmNewPassword"]});var ja=function(e,t){for(var n={};e.length;){var o=e[0],i=o.code,l=o.message,s=o.path.join(".");if(!n[s]){if("unionErrors"in o){var u=o.unionErrors[0].errors[0];n[s]={message:u.message,type:u.code}}else n[s]={message:l,type:i}}if("unionErrors"in o&&o.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),t){var c=n[s].types,d=c&&c[o.code];n[s]=CS(s,t,n,i,d?[].concat(d,o.message):o.message)}e.shift()}return n},jo=function(e,t,n){return void 0===n&&(n={}),function(o,i,l){try{return Promise.resolve(function(i,s){try{var u=Promise.resolve(e["sync"===n.mode?"parse":"parseAsync"](o,t)).then(function(e){return l.shouldUseNativeValidation&&_K({},l),{errors:{},values:n.raw?o:e}})}catch(e){return s(e)}return u&&u.then?u.then(void 0,s):u}(0,function(e){if(Array.isArray(e?.errors))return{values:{},errors:_Q(ja(e.errors,!l.shouldUseNativeValidation&&"all"===l.criteriaMode),l)};throw e}))}catch(e){return Promise.reject(e)}}};let ji=({schema:e,defaultValues:t,mode:n})=>ko({resolver:jo(e),mode:n,defaultValues:t});function jl(){let e=_Y(),t=(0,S.useTranslations)("ProfileData"),{mutateAsync:n,isLoading:o}=_3(),{request:i,isRequestLoading:l,isValidateLoading:s}=_1("password"),[u,c]=(0,M.useState)(!1),[d,f]=(0,M.useState)(null),[h,p]=(0,M.useState)(null),[m,g]=(0,M.useState)(null),{handleSubmit:v,register:y,control:b,formState:{errors:w},watch:x,reset:E}=ji({schema:jn});return{onSubmit:v(async o=>{try{let l={new_password:o.newPassword,new_password_confirmation:o.confirmNewPassword,password:o.password,platform:"marketplace"};try{await n(l),E({password:"",newPassword:"",confirmNewPassword:""}),mc(t("toastUpdatePasswordSuccess"),{variant:"success",autoHideDuration:3e3,anchorOrigin:{horizontal:e?"center":"right",vertical:"top"}})}catch(e){if(e?.status===403&&e?.data?.requires2FA){let e=await i({platform:"marketplace"});v6("password_2fa_required"),p(e?.email||null),g(l),f(null),c(!0);return}throw e}}catch(e){mb(e)}}),register:y,control:b,errors:w,isLoading:o,watch:x,twoFactorModalIsOpen:u,setTwoFactorModalIsOpen:c,twoFactorEmail:h,twoFactorError:d,isTwoFactorLoading:l||s,handleValidateTwoFactor:async o=>{if(m)try{await n({...m,twoFactorCode:o}),E({password:"",newPassword:"",confirmNewPassword:""}),c(!1),v6("password_2fa_validated"),mc(t("toastUpdatePasswordSuccess"),{variant:"success",autoHideDuration:3e3,anchorOrigin:{horizontal:e?"center":"right",vertical:"top"}})}catch(o){let n=o instanceof hv?o.status:null;403===n||401===n?f(t("invalidTwoFactorCode")):(c(!1),mc(o instanceof hv?o.message:t("toastError"),{variant:"error",autoHideDuration:3e3,anchorOrigin:{horizontal:e?"center":"right",vertical:"top"}}))}},handleResendTwoFactor:async()=>{v6("password_2fa_resend");let e=await i({platform:"marketplace"});p(e?.email||null)}}}let js=()=>{let[e,t]=(0,M.useState)(!1);return{showPassword:e,togglePasswordVisibility:(0,M.useCallback)(()=>{t(e=>!e)},[])}},ju={two_factor_invalid:"invalidCode",two_factor_expired:"expiredCode",two_factor_already_used:"alreadyUsedCode"};function jc(){let[e,t]=(0,M.useState)("selection"),[n,o]=(0,M.useState)(null),[i,l]=(0,M.useState)(null),[s,u]=(0,M.useState)(null),[c,d]=(0,M.useState)(null),[f,h]=(0,M.useState)(null),p=(0,M.useRef)(!1),{open:m,onOpen:g,onToggle:v}=yX(),{open:y,onOpen:b,onToggle:w}=yX(),{open:x,onOpen:E,onToggle:C}=yX(),{open:k,onOpen:_,onClose:S,onToggle:j}=yX(),{request:L,isRequestLoading:A,isValidateLoading:T}=_1("transfer"),{mutateAsync:P,isPending:N}=(0,O.useMutation)({mutationFn:e=>bp(e)}),F=e=>{if(o(e),v6("clk_bulk_transfer_confirmation",{transferred_tickets:e.succeeded.length,failed_tickets:e.failed.length,batch_size:e.total,required_two_factor:p.current,tickets_per_authentication:p.current?e.succeeded.length:0}),e.failed.length&&e.succeeded.length){b();return}if(!e.succeeded.length){E();return}g()},R=async e=>{h(e),p.current=!1;try{let t=await P(e);return F(t),t}catch(t){if(t?.status===403&&t?.data?.requires2FA){try{let t=await L({platform:"marketplace"});p.current=!0,v6("bulk_transfer_2fa_required",{batch_size:e.ticketIds.length}),u(t?.email||null),d(null),_()}catch{l("unexpectedError"),E()}return null}return v6("bulk_transfer_error",{reason:t?.data?.reason??"unknown_error"}),l(t?.data?.reason??t?.message??"unexpectedError"),E(),null}};return{step:e,setStep:t,onSubmit:({mode:e,ticketIds:t,recipients:n}
144)=>R({mode:e,ticketIds:t,recipients:n,platform:"marketplace"}),isLoading:N,result:n,errorMessage:i,retryFailed:async()=>{if(!n?.failed.length||!f)return null;let e=n.failed.map(e=>e.ticketId),t=f.recipients.filter(t=>!t.ticketId||e.includes(t.ticketId));return w(),R({mode:f.mode,ticketIds:e,recipients:t,platform:"marketplace"})},successModalIsOpen:m,onToggleSuccessModal:v,partialModalIsOpen:y,onTogglePartialModal:w,errorModalIsOpen:x,onToggleErrorModal:C,twoFactorModalIsOpen:k,onToggleTwoFactorModal:j,twoFactorEmail:s,twoFactorError:c,handleValidateTwoFactor:async e=>{if(f){S(),d(null);try{let t=await P({...f,twoFactorCode:e});v6("bulk_transfer_2fa_validated",{batch_size:f.ticketIds.length}),F(t)}catch(n){let e=n?.data?.reason,t=ju[e??""];if(t){d(t),_();return}l(e??n?.message??"unexpectedError"),E()}}},handleResendTwoFactor:async()=>{let e=await L({platform:"marketplace"});u(e?.email||null)},isTwoFactorRequestLoading:A,isTwoFactorValidateLoading:T}}let jd=e=>"courtesy"===e.transfer_type?"courtesy":"standard";function jf({tickets:e,maxItems:t}){let[n,o]=(0,M.useState)([]),[i,l]=(0,M.useState)(""),[s,u]=(0,M.useState)(null),c=(0,M.useMemo)(()=>e.filter(e=>e.show_bulk_transfer),[e]),d=(0,M.useMemo)(()=>{let e=i.trim().toLowerCase();return c.filter(t=>{let n=!s||t.sector_name===s;if(!e)return n;let o=[t.ticket_type_name,t.sector_name,t.session?.start_date].filter(Boolean).join(" ").toLowerCase();return n&&o.includes(e)})},[c,i,s]),f=(0,M.useMemo)(()=>{let e=new Map;return d.forEach(t=>{let n=t.sector_name??"";e.set(n,[...e.get(n)??[],t])}),[...e.entries()].map(([e,t])=>({name:e,tickets:t}))},[d]),h=(0,M.useMemo)(()=>{let e=new Map;return c.forEach(t=>{let n=t.sector_name??"";e.set(n,(e.get(n)??0)+1)}),[...e.entries()].map(([e,t])=>({name:e,total:t}))},[c]),p=(0,M.useMemo)(()=>n.map(e=>c.find(t=>t.id===e)).filter(Boolean),[n,c]),m=n.length>=t,g=Math.max(t-n.length,0),v=(0,M.useMemo)(()=>new Map(c.map(e=>[e.id,e])),[c]),y=(0,M.useCallback)(e=>{let t=void 0===e?void 0:v.get(e);return t?jd(t):null},[v]),b=y(n[0]),w=(0,M.useCallback)(e=>n.includes(e),[n]),x=(0,M.useCallback)(e=>!b||jd(e)===b,[b]),E=(0,M.useCallback)(e=>{if(w(e))return null;let t=v.get(e);return t&&!x(t)?"courtesyMix":m?"limit":null},[w,v,x,m]),C=(0,M.useCallback)(e=>!E(e),[E]),k=(0,M.useCallback)(e=>{o(n=>{if(n.includes(e))return n.filter(t=>t!==e);if(n.length>=t)return n;let o=y(n[0]);return o&&y(e)!==o?n:[...n,e]})},[t,y]),_=(0,M.useCallback)(e=>{o(t=>t.filter(t=>t!==e))},[]),S=(0,M.useCallback)(e=>{let n=c.filter(t=>(t.sector_name??"")===e);o(e=>{let o=y(e[0])??(n[0]?jd(n[0]):null),i=n.filter(e=>!o||jd(e)===o).map(e=>e.id);if(i.length>0&&i.every(t=>e.includes(t)))return e.filter(e=>!i.includes(e));let l=i.filter(t=>!e.includes(t));return[...e,...l.slice(0,Math.max(t-e.length,0))]})},[c,t,y]),j=(0,M.useCallback)(()=>{o(e=>{if(e.length)return[];let[n]=c;if(!n)return e;let o=jd(n);return c.filter(e=>jd(e)===o).slice(0,t).map(e=>e.id)})},[c,t]);return{search:i,setSearch:l,sectorFilter:s,setSectorFilter:u,sectorOptions:h,sectors:f,eligibleTickets:c,selectedIds:n,selectedTickets:p,isSelected:w,canSelect:C,isSameGroup:x,getBlockReason:E,isLimitReached:m,remainingSlots:g,toggleTicket:k,removeTicket:_,toggleSector:S,toggleAll:j,clearSelection:(0,M.useCallback)(()=>o([]),[])}}function jh(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:async e=>bf(e)});return{mutateAsync:e,isLoading:t}}let jp=e=>jr({email:je().email({message:"invalidEmail"}).refine(t=>t!==e,{message:"cantTransferToYourself"}),confirmEmail:je().min(1,{message:"requiredField"}).email({message:"invalidEmail"}),ticketId:jt()}).refine(e=>e.email===e.confirmEmail,{message:"emailsMustMatch",path:["confirmEmail"]});function jm(e){let{mutateAsync:t,isLoading:n}=jh(),{open:o,onOpen:i,onToggle:l}=yX(),{open:s,onOpen:u,onToggle:c}=yX(),[d,f]=(0,M.useState)(null),[h,p]=(0,M.useState)(null),[m,g]=(0,M.useState)(null),[v,y]=(0,M.useState)(null),[b,w]=(0,M.useState)(null),{open:x,onOpen:E,onToggle:C}=yX(),{request:k,isRequestLoading:_,isValidateLoading:S}=_1("transfer"),{handleSubmit:j,clearErrors:O,getValues:L,register:A,setValue:T,trigger:P,watch:N,control:F,formState:{errors:R}}=ji({schema:jp(e)});return{clearErrors:O,getValues:L,onSubmit:j(async e=>{v6("clk_transfer_ticket_confirmation");try{await t({email:e.email,ticketId:e.ticketId,platform:"marketplace"}),u()}catch(t){if(v6("transfer_ticket_error"),t?.status===403&&t?.data?.requires2FA)try{let t=await k({platform:"marketplace"});v6("transfer_2fa_required"),y(t?.email||null),w({email:e.email,ticketId:e.ticketId}),g(null),E();return}catch{f("unexpectedError"),i();return}if(t?.status===403&&t?.message){f(t.message),i();return}400===t.status?f("errorBadRequest"):t?.status===404?t.message.includes("Not accepted transfer Ticket")?(f("errorUnableToTransfer"),p("errorUnableToTransferTitle")):t.message.includes("The transfer can only be carried out until the date")?(f("errorInvalidDate"),p("errorInvalidDateTitle")):f("errorNotFound"):t?.status===409&&t.message?.includes("A pending transfer already exists")?(f("errorPendingTransferExists"),p("errorPendingTransferExistsTitle")):f("unexpectedError"),i()}}),register:A,setValue:T,trigger:P,watch:N,errors:R,control:F,isLoading:n,unplannedModalIsOpen:o,onOpenUnplannedModal:i,onToggleUnplannedModal:l,errorMessage:d,errorTitle:h,successModalIsOpen:s,onToggleSuccessModal:c,twoFactorModalIsOpen:x,onToggleTwoFactorModal:C,twoFactorEmail:v,twoFactorError:m,handleValidateTwoFactor:async e=>{if(b)try{await t({email:b.email,ticketId:b.ticketId,twoFactorCode:e,platform:"marketplace"}),v6("transfer_2fa_validated"),C(),u()}catch{g("invalidCode")}},handleResendTwoFactor:async()=>{v6("transfer_2fa_resend");let e=await k({platform:"marketplace"});y(e?.email||null)},isTwoFactorRequestLoading:_,isTwoFactorValidateLoading:S}}let jg=(0,M.createContext)(void 0),jv="ze-snippet";function jy({locale:e="pt-BR",children:t}){let[n,o]=(0,M.useState)(null),[i,l]=(0,M.useState)(!0),[s,u]=(0,M.useState)(!1),c=(0,M.useRef)(!1),d=(0,M.useRef)(!1),f=jB(),h=(0,M.useCallback)(async()=>
144{if(!f||n||c.current)return n;c.current=!0,u(!0);try{await new Promise((e,t)=>{if(document.getElementById(jv)||window.zE){e();return}let n=document.createElement("script");n.id=jv,n.src="https://static.zdassets.com/ekr/snippet.js?key=2ba68387-ce74-4b23-8aa9-7f3448b2f74c",n.async=!0,n.onload=()=>e(),n.onerror=()=>t(Error("Failed to load Zendesk script")),document.body.appendChild(n)});let t=await new Promise(t=>{let n=()=>{window.zE?(window.zE("messenger:set","zIndex",9999),window.zE("messenger:set","locale",e),window.zE("messenger","show"),window.zE("messenger","close"),t(window.zE)):setTimeout(n,100)};n()});if(window.zE){let n=new yC(t,e);return o(n),window.zE("messenger:on","open",()=>{d.current=!0}),window.zE("messenger:on","close",()=>{d.current=!1}),n}return null}catch(e){return console.error("Error initializing Zendesk:",e),null}finally{u(!1),c.current=!1}},[e,n,f]),p=(0,M.useCallback)(async()=>{window.zE||c.current||(await h(),await new Promise(e=>{setTimeout(()=>e(),500)})),window.zE&&(d.current?window.zE("messenger","close"):window.zE("messenger","open"))},[h]),m=(0,M.useMemo)(()=>({zendesk:n,setShouldRender:l}),[n,l]);return $.jsxs(jg.Provider,{value:m,children:[i&&f&&$.jsx(tt,{onClick:p,disabled:s,className:e8("flex items-center justify-center rounded-full border-0 w-[60px] h-[60px] fixed z-[49] right-4 bottom-[110px] lg:bottom-[40px] cursor-pointer shadow-xl",s&&"opacity-50"),style:{backgroundColor:"var(--color-whitelabel-header, #FFF)"},children:$.jsx(HI,{})}),t]})}let jb=()=>(0,M.useContext)(jg);var jw="object"==typeof P&&P&&P.Object===Object&&P,jx="object"==typeof self&&self&&self.Object===Object&&self;jw||jx||Function("return this")();var jE="u">typeof window?M.useLayoutEffect:M.useEffect;let jC=({initialSeconds:e,intervalMs:t})=>{let[n,{startCountdown:o,resetCountdown:i,stopCountdown:l}]=function({countStart:e,countStop:t=0,intervalMs:n=1e3,isIncrement:o=!1}){let{count:i,increment:l,decrement:s,reset:u}=function(e){let[t,n]=(0,M.useState)(e??0);return{count:t,increment:(0,M.useCallback)(()=>{n(e=>e+1)},[]),decrement:(0,M.useCallback)(()=>{n(e=>e-1)},[]),reset:(0,M.useCallback)(()=>{n(e??0)},[e]),setCount:n}}(e),{value:c,setTrue:d,setFalse:f}=function(e=!1){if("boolean"!=typeof e)throw Error("defaultValue must be `true` or `false`");let[t,n]=(0,M.useState)(e),o=(0,M.useCallback)(()=>{n(!0)},[]),i=(0,M.useCallback)(()=>{n(!1)},[]),l=(0,M.useCallback)(()=>{n(e=>!e)},[]);return{value:t,setValue:n,setTrue:o,setFalse:i,toggle:l}}(!1),h=(0,M.useCallback)(()=>{f(),u()},[f,u]);return function(e,t){let n=(0,M.useRef)(e);jE(()=>{n.current=e},[e]),(0,M.useEffect)(()=>{if(null===t)return;let e=setInterval(()=>{n.current()},t);return()=>{clearInterval(e)}},[t])}((0,M.useCallback)(()=>{if(i===t){f();return}o?l():s()},[i,t,s,l,o,f]),c?n:null),[i,{startCountdown:d,stopCountdown:f,resetCountdown:h}]}({countStart:e,intervalMs:t??1e3}),s=Math.floor(n/60),u=n%60,c=String(s).padStart(2,"0"),d=String(u).padStart(2,"0");return{count:n,minutes:s,seconds:u,minutesFormatted:c,secondsFormatted:d,startCountdown:o,resetCountdown:i,hasExpiredTime:0===n,stopCountdown:l}},jk=jr({newPassword:je().min(6,"passwordMinLength").superRefine((e,t)=>{_B.test(e)&&t.addIssue({code:"custom",message:"passwordCannotHaveSequentialNumbers"}),_V.test(e)&&t.addIssue({code:"custom",message:"passwordCannotHaveRepeatedCharacters"}),_W.test(e)||t.addIssue({code:"custom",message:"passwordMustBeAlphanumerical"})}),confirmNewPassword:je().min(6,"confirmPasswordMinLength")}).refine(e=>e.newPassword===e.confirmNewPassword,{message:"passwordsMustMatch",path:["confirmNewPassword"]});function jM({token:e}){let{mutateAsync:t,isLoading:n}=function(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:hW});return{mutateAsync:e,isLoading:t}}(),{open:o,onOpen:i,onToggle:l}=yX(),s=(0,S.useTranslations)("ResetPassword"),[u,c]=(0,M.useState)(!1),[d,f]=(0,M.useState)(""),[h,p]=(0,M.useState)(""),{handleSubmit:m,register:g,setValue:v,formState:{errors:y}}=ji({schema:jk}),b=m(async n=>{try{c(!1),await t({password:n.newPassword,password_confirmation:n.confirmNewPassword,token:e}).then(()=>{f(s("passwordResetedSuccessModalTitle")),p(s("passwordResetedSuccessModalDescription")),i()})}catch{c(!0),f(s("passwordResetErrorModalTitle")),p(s("passwordResetErrorModalDescription")),i()}});return{open:o,errors:y,isLoading:n,modalMessage:h,modalTitle:d,onOpen:i,onSubmit:b,register:g,setValue:v,onToggle:l,isError:u}}
144let j_=jr({discountCode:je().trim().regex(/^[a-zA-Z0-9!#@_-]+$/,"invalid"),code:je().trim().regex(/^[a-zA-Z0-9!#@_-]+$/,"invalid").optional(),cupom:je().trim().regex(/^[a-zA-Z0-9!#@_-]+$/,"invalid").optional()});function jS(){let{onSetDiscount:e,isLoading:t,isValidDiscount:n,isPromoterCode:o,code:i,cupom:l,discountError:s,discountCode:u,isStewardWithDiscount:c}=E4(),d=i||l,f=(0,M.useMemo)(()=>d||u||"",[d,u]),h=(0,M.useRef)(!1),{handleSubmit:p,setError:m,clearErrors:g,control:v,setValue:y,watch:b,formState:{errors:w}}=ko({mode:"onSubmit",resolver:jo(j_.refine(e=>!!e.discountCode||!!e.code||!!e.cupom,{message:"invalid"})),defaultValues:{discountCode:f}}),x=b("discountCode");(0,M.useEffect)(()=>{let e="string"==typeof d?d:"",t="string"==typeof u?u:"";if(e&&x!==e){y("discountCode",e,{shouldValidate:!1,shouldDirty:!1}),h.current=!0;return}e||!t||h.current||x?e||t||(h.current=!1):(y("discountCode",t,{shouldValidate:!1,shouldDirty:!1}),h.current=!0)},[d,u,y,x]);let E=p(({discountCode:t})=>{if(u===t){g("discountCode");return}e(t)});return(0,M.useEffect)(()=>{!t&&s?m("discountCode",{message:"notFound"}):g()},[t,s,m,g]),{onSubmit:E,isLoading:t,isValidDiscount:n,isPromoterCode:o,discountCodeFromURL:d,discountCodeAvailable:d||u,currentDiscountCode:x,clearErrors:g,errors:w,control:v,onSetDiscount:e,isStewardWithDiscount:c}}function jj(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:async({slug:e,params:t})=>y8(e,t)});return{mutateAsync:e,isLoading:t}}let jO=(0,M.createContext)(void 0);function jL({children:e,eventSlug:t}){let n=(0,S.useTranslations)(),o=(0,_.useRouter)(),i=(0,O.useQueryClient)(),{user:l}=yQ(),{steward:s}=E4(),{setLoading:u}=kh(),{mutateAsync:c}=jj(),{data:d}=jT({slug:t}),[f,h]=(0,M.useState)(!1),[p,m]=(0,M.useState)(null),[g,v]=(0,M.useState)(null),{state:y,selectedTickets:b,totalValue:w,discountCode:x,isValidDiscount:E,code:C,setErrorData:k,cupom:j,sessions:L,setTicketQuantity:A}=E4(),T=(0,M.useMemo)(()=>{let e=new Map;return L?.forEach(t=>{t.session_tickets.forEach(n=>{e.set(`${n.ticket_type_id}-${t.id}`,n.id)})}),e},[L]),P=(0,M.useCallback)(async e=>{let t=c1.getCookie(du.seatsToken);if(!t)return;let n=JSON.parse(t),o=await bo(e,n.token);if(!o)return;let i=localStorage.getItem("code"),l=E&&x?String(x).trim():null;return{discount:l||i,steward:C?String(C):l,cart:o.cart,channel:h3()?"zigapp":"site",ticketSeat:o.ticket_seat,seats_session_token:n.token,seats_session_token_created_at:n.created_at}},[C,x,E]),N=(0,M.useCallback)(e=>{let t=y&&Object.keys(y).length?y:e?.state;if(!t)return;let n=Object.entries(t).filter(([,e])=>e.quantity>0).map(([e,t])=>{let n=e.match(/^ticket_type_id-(\d+)/);if(!n)return null;let o=Number(n[1]);if(b.find(e=>e.id===o)?.is_passport===1)return{id:o,quantity:t.quantity,session_id:null,session_ticket_id:null};let i=e.match(/^ticket_type_id-(\d+)-date_id-(\d+)-time_id-(\d+)$/);if(i){let e=Number(i[3]),n=T.get(`${o}-${e}`)??null;return{id:o,quantity:t.quantity,session_id:e,session_ticket_id:n}}return(i=e.match(/^ticket_type_id-(\d+)-no_session$/))?{id:o,quantity:t.quantity,session_id:null,session_ticket_id:null}:null}).flatMap(e=>Array.isArray(e)?e:[e]).filter(e=>null!==e);if(!n.length)return;let o=j||x?.trim()||e?.discountCode,i=C??e?.code,l=null;return i?l=String(i):o&&(l=String(o).trim()),{discount:o?String(o).trim():null,steward:l,cart:n,channel:h3()?"zigapp":"site"}},[y,x,j,C,T,b]),F=(0,M.useCallback)((e,t)=>{let n={currency:"BRL",value:w,items:Object.entries(t).filter(([,e])=>e.quantity>0).map(([t,n])=>{let o=t.match(/^ticket_type_id-(\d+)-date_id-(\d+)-time_id-(\d+)$/);o||(o=t.match(/^ticket_type_id-(\d+)-no_session$/));let i=o?Number(o[1]):null;if(!i)return null;let l=b.find(e=>e.id===i);return l?{item_id:l.id,item_name:l.name,price:l.value+l.fee,coupon:e.discount,quantity:n.quantity,discount:void 0!==l.discount?l.value-l.discount:0}:null}).filter(e=>null!==e),event_name:d?.name};v6("add_to_cart",n),y_("AddToCart",n),d?.fb_pixel_id&&yS(d.fb_pixel_id,"AddToCart",n)},[b,w,d]),R=(0,M.useCallback)(async(e,f,p)=>{let w;h(!1);try{if(!l){u(!1);return}let[n,i]=await Promise.all([y5(t),hz().catch(()=>
144null)]),h=i??l,x=!0,E=s?.user_id===l?.id;if(h?.birthdate&&n.age_range&&function(e,t){let n=mx(e),o=mx(t),i=mL(n,o),l=Math.abs(function(e,t){let n=mx(e),o=mx(t);return n.getFullYear()-o.getFullYear()}(n,o));n.setFullYear(1584),o.setFullYear(1584);let s=mL(n,o)===-i,u=i*(l-+s);return 0===u?0:u}(new Date(n.start_date),new Date(h.birthdate))<n.age_range&&(x=!1),n.pre_sale_enabled&&(n.can_user_buy_pre_sale||(x=!1)),d?.version===1&&!E){let t=y&&Object.keys(y).length?y:e?.state,o=t?Object.entries(t).filter(([,e])=>e.quantity>0).map(([e,t])=>{let n=e.match(/^ticket_type_id-(\d+)-/);if(!n)return null;let o=Number(n[1]),i=b.find(e=>e.id===o)?.sector_id??void 0;return{id:o,quantity:t.quantity,sectorId:i}}).filter(Boolean):[],i=function(e){let t={event:e.sales_per_client||null,sectors:new Map,ticketTypes:new Map};return e.event_sectors&&e.event_sectors.forEach(e=>{t.sectors.set(e.id,e.sales_per_client)}),e.event_sectors&&e.event_sectors.forEach(e=>{e.event_sector_lots&&e.event_sector_lots.forEach(e=>{e.ticketTypes&&e.ticketTypes.forEach(e=>{t.ticketTypes.set(e.id,e.sales_per_client)})})}),t}(n),l=await bt(n.id),s=yR(i,l,o);if(!s.canProceed){let e=s.limitation.some(e=>"event"===e.type&&e.remaining<=0);m({isSoldOut:e,affectedLimits:s.limitation.map(e=>({id:e.id,type:e.type,maxAllowed:e.remaining})),eventId:d.id}),x=!1}}if(!x){u(!1);return}if(f&&p){if(!(w=await P(p))){u(!1);return}}else if(u(!0),!(w=N(e))){u(!1);return}let C=await c({slug:t,params:w});F(w,y),g&&v(null);let k="u">typeof window?window.location.search:"";o.push(`/checkout/${C.token}${k||""}`)}catch(o){if(o&&"object"==typeof o&&"type"in o&&"reach_ticket_by_session"===o.type){v(o),u(!1);return}let e=mw(o,b,Object.fromEntries(Object.entries(y).map(([e,t])=>[e,t.quantity])),n);if(e.soldOutLot){let e=["event-tickets",t,x,C];await i.invalidateQueries({queryKey:e,exact:!0});let n=i.getQueryData(e),l=new Map([...n?.availables??[],...n?.unavailables??[]].map(e=>[e.id,e.available])),s=o?.tickets??[];
144Object.values(y).forEach(e=>{let t=e.ticketData;if(!t||!s.includes(t.id.toString()))return;let n=l.get(t.id)??0;e.quantity>n&&A(t,e.session,n)})}f||k(e),!f&&(e.showSoldOutModal||e.soldOutLot)||mc(e.errorMessage??n("Event.purchaseError"),{autoHideDuration:3e3,variant:"error",anchorOrigin:{horizontal:"right",vertical:"top"}})}finally{u(!1)}},[n,l,y,o,t,u,c,k,b,s?.user_id,g,F,P,N,d,v,i,A,x,C]),D=(0,M.useMemo)(()=>({isReadyForCheckout:f,setIsReadyForCheckout:h,sendToCheckout:R,purchaseLimitError:p,setPurchaseLimitError:m,sessionLimitError:g,setSessionLimitError:v}),[f,h,R,p,m,g,v]);return $.jsx(jO.Provider,{value:D,children:e})}function jA(){let e=(0,M.useContext)(jO);if(!e)throw Error("useCheckout must be used with a CheckoutContext");return e}function jT({slug:e,initialData:t}){let{data:n,isLoading:o}=(0,O.useQuery)({queryKey:["event",e],queryFn:()=>y5(e),initialData:t,enabled:!!e}),i=(0,M.useMemo)(()=>{let e={};return n?.sponsors.forEach(t=>{e[t.category]||(e[t.category]=[]),e[t.category].push(t)}),Object.entries(e)},[n?.sponsors]);return{data:n,sponsorGroups:i,isLoading:o}}function jP(){let[e,t]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{"u">typeof window&&t(h3())},[]),{isInZigApp:e}}function jN({params:e,retry:t=!0}){let{data:n,isLoading:o,isError:i,isSuccess:l,isFetching:s,fetchNextPage:u,hasNextPage:c}=(0,O.useInfiniteQuery)({queryKey:["my-events"],retry:t,queryFn:({pageParam:t})=>y9({page:t,...e}),initialPageParam:1,getNextPageParam:({meta:e},t)=>{let n=Math.ceil(e.total/e.per_page);return t.length>=n?null:e.current_page+1}});return{data:n?.pages.flatMap(e=>e.data),isLoading:o,isSuccess:l,isFetching:s,fetchNextPage:u,hasNextPage:c,isError:i}}function jF(){let[e,t]=(0,M.useState)(!1),[n,o]=(0,M.useState)(null);return{checkAvailability:async(e,n)=>{t(!0),o(null);try{let o=await be(e,n);return t(!1),o}catch(e){return o(e||"Erro ao verificar disponibilidade"),t(!1),null}},isLoading:e,error:n}}let jR={date:null,time:null};function j$({ticket:e,maxTicketsPerOrder:t,eventVersion:n=1,onError:o=()=>{},onClearError:i=()=>{}}){let{state:l,lastSelectedSession:s,totalQuantity:u,setTicketQuantity:c}=E4(),{checkAvailability:d,isLoading:f}=jF(),[h,p]=(0,M.useState)(""),[m,g]=(0,M.useState)(!1),v=1===e.is_passport?jR:s,y=yA(e.id,v),b=l[y]?.quantity||0;(0,M.useEffect)(()=>{b>0?p(b.toLocaleString("pt-BR")):p("")},[b]);let w=(0,M.useCallback)(async l=>{if(g(!1),i(e.id),l<=0){c(e,v,0),p("");return}if(u-b+l>t){g(!0),o(e.id,"TicketInfoView.youCanSelectUntil",!1);return}try{(await d(e.id,{quantity:l,version:n}))?.available?(c(e,v,l),p(l.toLocaleString("pt-BR"))):(g(!0),o(e.id,"TicketListView.quantityUnavailable",!0))}catch{g(!0),o(e.id,"TicketListView.quantityUnavailable",!0)}},[e,v,u,b,t,n,d,c,o,i]),x=(0,M.useCallback)(e=>{let t=e.replace(/\D/g,"");if(t.length>5)return;let n=parseInt(t,10)||0;p(n>0?n.toLocaleString("pt-BR"):t)},[]),E=(0,M.useCallback)(async()=>{let e=parseInt(h.replace(/\D/g,""),10)||0;await w(e)},[h,w]),C=(0,M.useCallback)(async e=>{if("Enter"===e.key){e.preventDefault();let t=parseInt(h.replace(/\D/g,""),10)||0;await w(t)}},[h,w]);return{inputValue:h,hasInputError:m,isLoadingCheckingAvailability:f,handleInputChange:x,handleInputBlur:E,handleInputKeyDown:C}}function jD({slug:e,queueItEnable:t}){let{isLoading:n,data:o}=(0,O.useQuery)({queryKey:["queueit",e],queryFn:()=>br(e),enabled:hy()&&!!t});return(0,M.useEffect)(()=>{o?.redirect_to&&(c1.setCookie("queueItToken",o.queue_it_token,{path:"/",maxAge:3600}),window.location.href=o.redirect_to)},[o]),{isLoading:n}}function jz(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:async({code:e,refundChannel:t})=>bn(e,{refund_channel:t})});return{mutateAsync:e,isLoading:t}}let jI=()=>{let e=(0,M.useRef)(null),t=(0,M.useCallback)(async t=>{if(!e.current)return null;try{return e.current.getValue()||null}catch{return null}},[]),n=(0,M.useCallback)(()=>{e.current&&e.current.reset()},[]);return{executeRecaptchaAction:t,recaptchaRef:e,resetRecaptcha:n}};function jH(){let e=yq();(0,M.useEffect)(()=>{if(!(typeof window>"u")&&"redirectToZigApp"===new URLSearchParams(window?.location?.search).get("action")){if(yG)window.location.href="https://zigpay.page.link/download";else{let t="apple"===e?"https://apps.apple.com/br/app/zig-ingressos-e-consumo-f\xe1cil/id1154643255":"https://play.google.com/store/apps/details?id=com.cubostecnologia.zigcliente&pcampaignid=web_share";window.location.href=t}}},[e])}function jB(){let{config:e}=Q();return e?.slug==="zig"}function jW(){return(0,_.useRouter)()}function jV({perPage:e,searchTerm:t,platform:n,byStatus:o,retry:i=!0}){let l=(0,O.useInfiniteQuery)({queryKey:["my-tickets",e,t,n,o],retry:i,queryFn:({pageParam:i})=>b_({page:"number"==typeof i?i:1,perPage:e,searchTerm:t,platform:n,byStatus:o}),initialPageParam:1,getNextPageParam:({meta:e},t)=>{let n=Math.ceil(e.total/e.per_page);if(!(t.length>=n))return e.current_page+1}});return{tickets:(0,M.useMemo)(()=>(function(e){let t=new Map,n=new Map;return e.flatMap(e=>
144e.data??[]).forEach(e=>{t.has(e.id)||(t.set(e.id,{...e,orders:[]}),n.set(e.id,new Set));let o=t.get(e.id),i=n.get(e.id);(e.orders??[]).forEach(e=>{i.has(e.id)||(i.add(e.id),o.orders.push(e))})}),Array.from(t.values())})(l.data?.pages??[]),[l.data]),hasMore:l.hasNextPage,loadMore:l.fetchNextPage,isLoading:l.isLoading,isFetching:l.isFetching,isFetchingNextPage:l.isFetchingNextPage,isError:l.isError,isSuccess:l.isSuccess}}function jU({perPage:e=10,searchTerm:t,byStatus:n,enabled:o=!0,retry:i=!0}={}){let l=(0,O.useInfiniteQuery)({queryKey:["my-courtesies",e,t,n],enabled:o,retry:i,queryFn:({pageParam:o})=>bS({page:"number"==typeof o?o:1,perPage:e,searchTerm:t,byStatus:n}),initialPageParam:1,getNextPageParam:({meta:e},t)=>{let n=Math.ceil(e.total/e.per_page);if(!(t.length>=n))return e.current_page+1}});return{courtesies:l.data?.pages.flatMap(e=>e.data)??[],total:l.data?.pages[0]?.meta.total??0,hasMore:l.hasNextPage,loadMore:l.fetchNextPage,isLoading:l.isLoading,isFetching:l.isFetching,isFetchingNextPage:l.isFetchingNextPage,isError:l.isError,isSuccess:l.isSuccess,refetch:l.refetch}}function jq({enabled:e=!0}={}){let{user:t,isAuthenticated:n}=yQ(),o=(0,O.useQuery)({queryKey:["pending-courtesies",t?.id??null],queryFn:bj,enabled:e&&n&&!!t,staleTime:3e5,refetchOnWindowFocus:!0});return{courtesies:o.data??[],isLoading:o.isLoading,isFetching:o.isFetching,isError:o.isError,refetch:o.refetch}}function jG({onSuccess:e}){let[t,n]=(0,M.useState)(!1),[o,i]=(0,M.useState)(null),[l,s]=(0,M.useState)(null),{mutateAsync:u,isLoading:c}=_0(),{request:d,isRequestLoading:f}=_1("profile"),{user:h,handleReloadUserInfos:p}=yQ(),m=(0,S.useTranslations)("ProfileData");return{twoFactorOpen:t,setTwoFactorOpen:n,twoFactorError:o,handleTwoFactorRequired:async e=>{await d({platform:"marketplace"}),s(e),n(!0)},handleValidate:async t=>{i(null);try{await u({...l,twoFactorCode:t}),v6("sign_up",{method:"Account"}),n(!1),await p(),e()}catch(e){e?.status===403||e?.status===401?i(m("invalidTwoFactorCode")):n(!1)}},handleResend:async()=>{await d({platform:"marketplace"})},isTwoFactorLoading:c||f,email:h?.email}}function jY({perPage:e}){let t=(0,O.useInfiniteQuery)({queryKey:["my-orders",e],queryFn:({pageParam:t})=>EP({page:"number"==typeof t?t:1,perPage:e}),initialPageParam:1,getNextPageParam:({meta:e},t)=>{let n=Math.ceil(e.total/e.per_page);if(!(t.length>=n))return e.current_page+1}});return{orders:t.data?.pages.flatMap(e=>e.data)??[],hasMore:t.hasNextPage,loadMore:t.fetchNextPage,isLoading:t.isLoading,isFetching:t.isFetching,isFetchingNextPage:t.isFetchingNextPage,isError:t.isError}}function jZ(){let e=(0,O.useMutation)({mutationFn:e=>E$(e)});return{validate:e.mutateAsync,preview:e.data,error:e.error,isLoading:e.isPending,isSuccess:e.isSuccess,isError:e.isError,reset:e.reset}}function jK({onSuccess:e,onError:t}={}){let n=(0,O.useQueryClient)(),o=(0,O.useMutation)({mutationFn:e=>ED(e),onSuccess:t=>{"redeemed"===t.status&&(n.invalidateQueries({queryKey:["my-tickets"]}),n.invalidateQueries({queryKey:["pending-courtesies"]}),n.invalidateQueries({queryKey:["my-courtesies"]})),e?.(t)},onError:e=>{t?.(e)}});return{redeem:o.mutateAsync,result:o.data,error:o.error,isLoading:o.isPending,isSuccess:o.isSuccess,isError:o.isError,reset:o.reset}}function jQ({onSuccess:e,onError:t}={}){let n=(0,O.useQueryClient)(),o=(0,O.useMutation)({mutationFn:({token:e,otp:t})=>Ez(e,t),onSuccess:t=>{"redeemed"===t.status&&(n.invalidateQueries({queryKey:["my-tickets"]}),n.invalidateQueries({queryKey:["pending-courtesies"]}),n.invalidateQueries({queryKey:["my-courtesies"]})),e?.(t)},onError:e=>{t?.(e)}});return{confirm:o.mutateAsync,result:o.data,error:o.error,isLoading:o.isPending,isSuccess:o.isSuccess,isError:o.isError,reset:o.reset}}function jX({onSuccess:e,onError:t}={}){let n=(0,O.useMutation)({mutationFn:e=>EI(e),onSuccess:t=>{e?.(t)},onError:e=>{t?.(e)}});return{resend:n.mutateAsync,result:n.data,error:n.error,isLoading:n.isPending,isSuccess:n.isSuccess,isError:n.isError,reset:n.reset}}function jJ(e,t){let n=e.getTime()-t;return n>0?Math.ceil(n/1e3):0}function j1({targetIsoDate:e,intervalMs:t=1e3}){let n=(0,M.useMemo)(()=>
144{if(!e)return null;let t=new Date(e);return Number.isNaN(t.getTime())?null:t},[e]),[o,i]=(0,M.useState)(()=>n?jJ(n,Date.now()):0);(0,M.useEffect)(()=>{if(!n){i(0);return}i(jJ(n,Date.now()));let e=setInterval(()=>{let t=jJ(n,Date.now());i(t),0===t&&clearInterval(e)},t);return()=>clearInterval(e)},[n,t]);let l=Math.floor(o/60),s=o%60;return{totalSeconds:o,minutes:l,seconds:s,minutesFormatted:String(l).padStart(2,"0"),secondsFormatted:String(s).padStart(2,"0"),hasExpired:null!==n&&0===o,isActive:null!==n&&o>0}}function j0(){let e=(0,S.useTranslations)("CommonExpressions");return jB()?$.jsx(tt,{variant:"ghost",className:"hidden lg:flex text-xxs [&:hover]:!bg-[var(--color-whitelabel-header-hover)]",trailingIcon:$.jsx(ug,{size:16,strokeWidth:1.5}),onClick:()=>{v6("clk_create_event")},asChild:!0,children:$.jsx(cX,{href:"https://solucoes.zig.fun/solicite-uma-proposta-eventos/",target:"_blank",rel:"noreferrer",children:e("createYourEvent")})}):null}function j2({children:e}){let{scrolling:t}=EK();return $.jsx("header",{className:e8(["flex","justify-center","items-center","h-12x","px-6x","py-2","fixed","top-0","left-0","right-0","z-50","md:h-16x","transition-shadow","transition-colors","duration-300",{"shadow-level1":t}]),style:{backgroundColor:"var(--color-whitelabel-header, #FFF)",color:"var(--color-whitelabel-header-text, #171719)"},children:e})}var j3={},j5={};Object.defineProperty(Oa={},"__esModule",{value:!0}),Object.defineProperty(Oa,"warnOnce",{enumerable:!0,get:function(){return C}}),C=e=>{};var j4={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImageBlurSvg",{enumerable:!0,get:function(){return t}});function t(e){let{widthInt:t,heightInt:n,blurWidth:o,blurHeight:i,blurDataURL:l,objectFit:s}=e,u=o?40*o:t,c=i?40*i:n,d=u&&c?"viewBox='0 0 "+u+" "+c+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+d+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(d?"none":"contain"===s?"xMidYMid":"cover"===s?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+l+"'/%3E%3C/svg%3E"}}(j4);var j6={};!function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{VALID_LOADERS:function(){return t},imageConfigDefault:function(){return n}});let t=["default","imgix","cloudinary","akamai","custom"],n={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}}(j6),function(e){function t(e){return void 0!==e.default}function n(e){return typeof e>"u"?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function o(e,o){var i;let{src:l,sizes:s,unoptimized:u=!1,priority:c=!1,loading:d,className:f,quality:h,width:p,height:m,fill:g=!1,style:v,overrideSrc:y,onLoad:b,onLoadingComplete:w,placeholder:x="empty",blurDataURL:E,fetchPriority:C,layout:k,objectFit:M,objectPosition:_,lazyBoundary:S,lazyRoot:j,...O}=e,{imgConf:L,showAltText:A,blurComplete:T,defaultLoader:P}=o,N,F=L||j6.imageConfigDefault;if("allSizes"in F)N=F;else{let e=[...F.deviceSizes,...F.imageSizes].sort((e,t)=>e-t),t=F.deviceSizes.sort((e,t)=>e-t);N={...F,allSizes:e,deviceSizes:t}}if(typeof P>"u")throw Error(`images.loaderFile detected but the file is missing default export. 145Read more: https://nextjs.org/docs/messages/invalid-images-config`);let R=O.loader||P;delete O.loader,delete O.srcSet;let $="__next_img_default"in R;if($){if("custom"===N.loader)throw Error('Image with src "'+l+`" is missing "loader" prop. 146Read more: https://nextjs.org/docs/messages/next-image-missing-loader`)}else{let e=R;R=t=>{let{config:n,...o}=t;return e(o)}}if(k){"fill"===k&&(g=!0);
146let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[k];e&&(v={...v,...e});let t={responsive:"100vw",fill:"100vw"}[k];t&&!s&&(s=t)}let D="",z=n(p),I=n(m),H,B;if("object"==typeof(i=l)&&(t(i)||void 0!==i.src)){let e=t(l)?l.default:l;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(H=e.blurWidth,B=e.blurHeight,E=E||e.blurDataURL,D=e.src,!g){if(z||I){if(z&&!I){let t=z/e.width;I=Math.round(e.height*t)}else if(!z&&I){let t=I/e.height;z=Math.round(e.width*t)}}else z=e.width,I=e.height}}let W=!c&&("lazy"===d||typeof d>"u");(!(l="string"==typeof l?l:D)||l.startsWith("data:")||l.startsWith("blob:"))&&(u=!0,W=!1),N.unoptimized&&(u=!0),$&&l.endsWith(".svg")&&!N.dangerouslyAllowSVG&&(u=!0),c&&(C="high");let U=n(h),q=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:_}:{},A?{}:{color:"transparent"},v),G=T||"empty"===x?null:"blur"===x?'url("data:image/svg+xml;charset=utf-8,'+(0,j4.getImageBlurSvg)({widthInt:z,heightInt:I,blurWidth:H,blurHeight:B,blurDataURL:E||"",objectFit:q.objectFit})+'")':'url("'+x+'")',Y=G?{backgroundSize:q.objectFit||"cover",backgroundPosition:q.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:G}:{},Z=function(e){let{config:t,src:n,unoptimized:o,width:i,quality:l,sizes:s,loader:u}=e;if(o)return{src:n,srcSet:void 0,sizes:void 0};let{widths:c,kind:d}=function(e,t,n){let{deviceSizes:o,allSizes:i}=e;if(n){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let o;o=e.exec(n);o)t.push(parseInt(o[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=o[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:o,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}(t,i,s),f=c.length-1;return{sizes:s||"w"!==d?s:"100vw",srcSet:c.map((e,o)=>u({config:t,src:n,quality:l,width:e})+" "+("w"===d?e:o+1)+d).join(", "),src:u({config:t,src:n,quality:l,width:c[f]})}}({config:N,src:l,unoptimized:u,width:z,quality:U,sizes:s,loader:R});return{props:{...O,loading:W?"lazy":d,fetchPriority:C,width:z,height:I,decoding:"async",className:f,style:{...q,...Y},sizes:Z.sizes,srcSet:Z.srcSet,src:y||Z.src},meta:{unoptimized:u,priority:c,placeholder:x,fill:g}}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getImgProps",{enumerable:!0,get:function(){return o}})}(j5);var j7,j8,j9,Oe,Ot,Or,On,Oa,Oo,Oi,Ol,Os,Ou,Oc,Od,Of,Oh,Op,Om={exports:{}},Og={exports:{}},Ov={},Oy={},Ob={},Ow={},Ox={};function OE(){return WG||(WG=1,function(e){function t(e){let{config:t,src:n,width:o,quality:i}=e;return t.path+"?url="+encodeURIComponent(n)+"&w="+o+"&q="+(i||75)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}}),t.__next_img_default=!0;let n=t}(Ox)),Ox}!function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return m}});let n=uF._(M),o=ux._(j),i=ux._((Oh||(Oh=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return h},defaultHead:function(){return u}});let n=uF._(M),o=ux._((Oc||(Oc=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return i}});let t=typeof window>"u",n=t?()=>{}:M.useLayoutEffect,o=t?()=>{}:M.useEffect;function i(e){let{headManager:i,reduceComponentsToState:l}=e;function s(){if(i&&i.mountedInstances){let t=M.Children.toArray(Array.from(i.mountedInstances).filter(Boolean));i.updateHead(l(t,e))}}if(t){var u;null==i||null==(u=i.mountedInstances)||u.add(e.children),s()}return n(()=>{var t;return null==i||null==(t=i.mountedInstances)||t.add(e.children),()=>{var t;null==i||null==(t=i.mountedInstances)||t.delete(e.children)}}),n(()=>(i&&(i._pendingUpdate=s),()=>{i&&(i._pendingUpdate=s)})),o(()=>(i&&i._pendingUpdate&&(i._pendingUpdate(),i._pendingUpdate=null),()=>{i&&i._pendingUpdate&&(i._pendingUpdate(),i._pendingUpdate=null)})),null}}(Ov)),Ov)),i=(Od||(Od=1,function(e){Object.defineProperty(e,"__esMo
146dule",{value:!0}),Object.defineProperty(e,"AmpStateContext",{enumerable:!0,get:function(){return t}});let t=ux._(M).default.createContext({})}(Oy)),Oy),l=vz(),s=(Of||(Of=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isInAmpMode",{enumerable:!0,get:function(){return t}});function t(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:o=!1}=void 0===e?{}:e;return t||n&&o}}(Ob)),Ob);function u(e){void 0===e&&(e=!1);let t=[(0,$.jsx)("meta",{charSet:"utf-8"})];return e||t.push((0,$.jsx)("meta",{name:"viewport",content:"width=device-width"})),t}function c(e,t){return"string"==typeof t||"number"==typeof t?e:t.type===n.default.Fragment?e.concat(n.default.Children.toArray(t.props.children).reduce((e,t)=>"string"==typeof t||"number"==typeof t?e:e.concat(t),[])):e.concat(t)}let d=["name","httpEquiv","charSet","itemProp"];function f(e,t){let{inAmpMode:o}=t;return e.reduce(c,[]).reverse().concat(u(o).reverse()).filter(function(){let e=new Set,t=new Set,n=new Set,o={};return i=>{let l=!0,s=!1;if(i.key&&"number"!=typeof i.key&&i.key.indexOf("$")>0){s=!0;let t=i.key.slice(i.key.indexOf("$")+1);e.has(t)?l=!1:e.add(t)}switch(i.type){case"title":case"base":t.has(i.type)?l=!1:t.add(i.type);break;case"meta":for(let e=0,t=d.length;e<t;e++){let t=d[e];if(i.props.hasOwnProperty(t)){if("charSet"===t)n.has(t)?l=!1:n.add(t);else{let e=i.props[t],n=o[t]||new Set;("name"!==t||!s)&&n.has(e)?l=!1:(n.add(e),o[t]=n)}}}}return l}}()).reverse().map((e,t)=>{let i=e.key||t;if(!o&&"link"===e.type&&e.props.href&&["https://fonts.googleapis.com/css","https://use.typekit.net/"].some(t=>e.props.href.startsWith(t))){let t={...e.props||{}};return t["data-href"]=t.href,t.href=void 0,t["data-optimized-fonts"]=!0,n.default.cloneElement(e,t)}return n.default.cloneElement(e,{key:i})})}let h=function(e){let{children:t}=e,u=(0,n.useContext)(i.AmpStateContext),c=(0,n.useContext)(l.HeadManagerContext);return(0,$.jsx)(o.default,{reduceComponentsToState:f,headManager:c,inAmpMode:(0,s.isInAmpMode)(u),children:t})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Og,Og.exports)),Og.exports)),l=(Op||(Op=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImageConfigContext",{enumerable:!0,get:function(){return t}});let t=ux._(M).default.createContext(j6.imageConfigDefault)}(Ow)),Ow),s=cL(),u=ux._(OE()),c={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function d(e,t,n,o,i,l,s){let u=e?.src;e&&e["data-loaded-src"]!==u&&(e["data-loaded-src"]=u,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(!(!e.parentElement||!e.isConnected)){if("empty"!==t&&i(!0),n?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let o=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>o,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{o=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}o?.current&&o.current(e)}}))}function f(e){return n.use?{fetchPriority:e}:{fetchpriority:e}}typeof window>"u"&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let h=(0,n.forwardRef)((e,t)=>{let{src:o,srcSet:i,sizes:l,height:s,width:u,decoding:c,className:h,style:p,fetchPriority:m,placeholder:g,loading:v,unoptimized:y,fill:b,onLoadRef:w,onLoadingCompleteRef:x,setBlurComplete:E,setShowAltText:C,sizesInput:k,onLoad:M,onError:_,...S}=e;return(0,$.jsx)("img",{...S,...f(m),loading:v,width:u,height:s,decoding:c,"data-nimg":b?"fill":"1",className:h,style:p,sizes:l,srcSet:i,src:o,ref:(0,n.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(_&&(e.src=e.src),e.complete&&d(e,g,w,x,E,y,k))},[o,g,w,x,E,_,y,k,t]),onLoad:e=>{d(e.currentTarget,g,w,x,E,y,k)},onError:e=>{C(!0),"empty"!==g&&E(!0),_&&_(e)}})});function p(e){let{isAppRouter:t,imgAttributes:n}=e,l={as:"image",imageSrcSet:n.srcSet,imageSizes:n.sizes,crossOrigin:n.crossOrigin,referrerPolicy:n.referrerPolicy,...f(n.fetchPriority)};return t&&o.default.preload?(o.default.preload(n.src,l),null):(0,$.jsx)(i.default,{children:(0,$.jsx)("link",{rel:"preload",href:n.srcSet?void 0:n.src,...l},"__nimg-"+n.src+n.srcSet+n.sizes)})}let m=(0,n.forwardRef)((e,t)=>{let o=!(0,n.useContext)(s.RouterContext),i=(0,n.useContext)(l.ImageConfigContext),d=(0,n.useMemo)(()=>{let e=c||i||j6.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>
146e-t),n=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n}},[i]),{onLoad:f,onLoadingComplete:m}=e,g=(0,n.useRef)(f);(0,n.useEffect)(()=>{g.current=f},[f]);let v=(0,n.useRef)(m);(0,n.useEffect)(()=>{v.current=m},[m]);let[y,b]=(0,n.useState)(!1),[w,x]=(0,n.useState)(!1),{props:E,meta:C}=(0,j5.getImgProps)(e,{defaultLoader:u.default,imgConf:d,blurComplete:y,showAltText:w});return(0,$.jsxs)($.Fragment,{children:[(0,$.jsx)(h,{...E,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:g,onLoadingCompleteRef:v,setBlurComplete:b,setShowAltText:x,sizesInput:e.sizes,ref:t}),C.priority?(0,$.jsx)(p,{isAppRouter:o,imgAttributes:E}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&typeof t.default.__esModule>"u"&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(Om,Om.exports);var OC=Om.exports;!function(e){Object.defineProperty(e,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(e,{default:function(){return o},getImageProps:function(){return n}});let t=ux._(OE());function n(e){let{props:n}=(0,j5.getImgProps)(e,{defaultLoader:t.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,t]of Object.entries(n))void 0===t&&delete n[e];return{props:n}}let o=OC.Image}(j3);let Ok=N(j3);function OM(){let{user:e,isAuthenticated:t}=yQ(),{asPath:n,push:o,locale:i}=(0,_.useRouter)(),{mutate:l}=function(){let{mutate:e,isPending:t}=(0,O.useMutation)({mutationFn:e=>hV(e)});return{mutate:e,isLoading:t}}(),{zendesk:s}=jb(),u=n??"/",c=(0,M.useMemo)(()=>[{code:"pt-BR",label:"Portugu\xeas - BR",icon:"/imgs/brazil.svg"},{code:"es-ES",label:"Espa\xf1ol - ES",icon:"/imgs/spain.svg"},{code:"en-US",label:"English - US",icon:"/imgs/united-states.svg"}],[]),d=(0,M.useMemo)(()=>{let e=c.find(({code:e})=>e===i)??c[0];return{label:e.label,icon:e.icon}},[i,c]),f=(0,M.useCallback)(n=>{try{o(u,u,{locale:n,scroll:!1}),yg({locale:n,options:{path:"/"}}),t&&l({chosen_language:n,birthdate:e?.birthdate??""}),s&&s.changeLocale(n)}catch(e){mb(e,{showToast:!1})}},[o,u,t,s,l,e?.birthdate]);return{currentLanguage:d,pathname:u,languages:c,handleChangedLanguage:f}}function O_(){let[e,t]=(0,M.useState)(!1),{currentLanguage:n,languages:o,handleChangedLanguage:i}=OM();return $.jsxs(oA,{open:e,onOpenChange:t,modal:!1,children:[$.jsx(oT,{asChild:!0,className:"hidden lg:flex",children:$.jsx(tt,{variant:"ghost",className:"text-xxs [&:hover]:!bg-[var(--color-whitelabel-header-hover)]",leadingIcon:$.jsx(Ok,{src:n.icon,alt:n.label,width:16,height:16}),trailingIcon:e?$.jsx(uf,{size:16,strokeWidth:1.5,style:{stroke:"var(--color-whitelabel-header-text, #171719)"}}):$.jsx(uu,{size:16,strokeWidth:1.5,style:{stroke:"var(--color-whitelabel-header-text, #171719)"}}),children:n.label.split(" - ")[1]})}),$.jsx(oP,{children:$.jsx(oN,{align:"end",children:o.map(({code:e,label:t,icon:n})=>$.jsxs(oF,{onClick:()=>i(e),className:"cursor-pointer",children:[$.jsx(Ok,{src:n,alt:t,width:16,height:16}),$.jsx("span",{className:"label-sm",children:t})]},e))})})]})}function OS(){let e=(0,S.useTranslations)("LocationModal"),{open:t,onClose:n,onToggle:o}=yX(),{selectedState:i,onSelectedState:l}=EZ(),{search:s,setSearch:u,statesSearch:c}=function(){let{searchedStates:e}=EZ(),[t,n]=(0,M.useState)(""),o=(0,M.useMemo)(()=>t?e.filter(e=>e.toLowerCase().includes(t.toLowerCase())):e,[t,e]);return{search:t,setSearch:n,statesSearch:o}}(),d=i||e("allStates");return $.jsxs(is,{open:t,onOpenChange:o,children:[$.jsx(tt,{variant:"ghost",className:"text-xxs [&:hover]:!bg-[var(--color-whitelabel-header-hover)]",leadingIcon:$.jsx(um,{strokeWidth:1.5,size:16,style:{stroke:"var(--color-whitelabel-header-text, #171719)"}}),onClick:o,children:d}),$.jsxs(iv,{children:[$.jsx(iu,{}),$.jsxs(id,{className:"max-h-[460px] overflow-hidden",children:[$.jsx(im,{title:e("location"),description:"Modal para selecionar sua localiza\xe7\xe3o"}),$.jsx("p",{className:"text-gray-500",children:e("description")}),$.jsxs(ig,{className:"space-y-4x",children:[$.jsx(oD,{type:"text",placeholder:e("searchState"),className:"w-full",leadingIcon:$.jsx(uv,{}),value:s,onChange:e=>u(e.target.value)}),$.jsxs("div",{className:"space-y-2x overflow-x-auto",children:[$.jsx(tt,{variant:"ghost",className:"justify-start paragraph-sm font-normal p-1 pl-1 w-full h-auto",onClick:()=>{l(""),n()},leadingIcon:$.jsx(um,{size:18,strokeWidth:1.5,style:{stroke:"var(--color-whitelabel-header-text, #171719)"}}
146),children:e("allStates")}),$.jsx(ti,{}),$.jsx("ul",{className:"space-y-1x overflow-y-auto max-h-48",children:c.map(e=>$.jsx(tt,{variant:"ghost",className:"justify-start paragraph-sm font-normal p-1 pl-1 w-full h-auto",onClick:()=>{l(e),n()},asChild:!0,children:$.jsx("li",{className:"paragraph-sm cursor-pointer",children:e})},e))})]})]})]})]})]})}let Oj=(0,M.createContext)({isThemeLoaded:!1}),OO=()=>(0,M.useContext)(Oj);function OL(){let e=(0,_.useRouter)(),{isThemeLoaded:t}=OO(),{config:n,isLoading:o}=Q();if(!t||o||!n)return null;let{logo:i,logoAlt:l,logoHeader:s}={logo:n.assets.logo,logoAlt:n.assets.logoAlt||n.name,logoHeader:n.assets.logoHeader};return $.jsx(cX,{href:"/",locale:e?.locale,children:$.jsx("img",{src:i,alt:l,style:{maxHeight:s?.maxHeight?`${s.maxHeight}px`:"40px",marginLeft:s?.marginLeft?`${s.marginLeft}px`:"20px",height:"auto",width:"auto"}},i)})}function OA({open:e,onToggle:t}){let{languages:n,handleChangedLanguage:o}=OM();return $.jsx(is,{onOpenChange:t,open:e,children:$.jsxs(iv,{children:[$.jsx(iu,{}),$.jsxs(id,{className:"max-w-[300px]",children:[$.jsx(ih,{className:"sr-only",children:"Sele\xe7\xe3o de Idioma"}),$.jsx(ip,{className:"sr-only",children:"Escolha o idioma em que voc\xea gostaria de visualizar o conte\xfado do site. Selecione uma das op\xe7\xf5es abaixo para continuar."}),$.jsx(ig,{className:"pt-1x",children:$.jsx("div",{children:n.map(({code:e,label:n,icon:i})=>$.jsxs(tt,{variant:"ghost",className:"justify-start w-full",onClick:()=>{o(e),t()},children:[$.jsx(Ok,{src:i,alt:n,width:16,height:16}),$.jsx("span",{className:"label-sm",children:n})]},e))})})]})]})})}function OT(e){return $.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M11.3006 12.0137H21",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M18.2288 9.24414L21 12.0134L18.2288 14.7826",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M18.5059 18.2308C17.2616 19.5267 15.6578 20.421 13.9008 20.7987C12.1437 21.1764 10.3138 21.0202 8.64632 20.3501C6.97885 19.6801 5.55013 18.5269 4.54391 17.0388C3.53769 15.5508 3 13.7959 3 12C3 10.2041 3.53769 8.44924 4.54391 6.96118C5.55013 5.47312 6.97885 4.3199 8.64632 3.64986C10.3138 2.97982 12.1437 2.82359 13.9008 3.20128C15.6578 3.57897 17.2616 4.4733 18.5059 5.76923",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function OP(e){return $.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M21 3H18.4566C17.9429 3 17.5128 3.38919 17.4616 3.90031L16.3518 14.9769C16.3019 15.3071 16.1349 15.608 15.8814 15.8243C15.6279 16.0406 15.3052 16.1576 14.9725 16.1538H6.28307C5.98229 16.1696 5.68465 16.0861 5.43559 15.9161C5.18653 15.7461 4.99976 15.4989 4.90379 15.2123L3.06935 9.67385C3.00095 9.46562 2.98279 9.24407 3.01636 9.02742C3.04993 8.81077 3.13427 8.60522 3.26244 8.42769C3.39597 8.23894 3.57451 8.08681 3.78173 7.98522C3.98895 7.88362 4.21824 7.83581 4.44862 7.84615H17.069",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M6.51755 20.9998C6.89843 20.9998 7.20719 20.6899 7.20719 20.3075C7.20719 19.9252 6.89843 19.6152 6.51755 19.6152C6.13667 19.6152 5.82791 19.9252 5.82791 20.3075C5.82791 20.6899 6.13667 20.9998 6.51755 20.9998Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M15.4828 20.9998C15.8637 20.9998 16.1725 20.6899 16.1725 20.3075C16.1725 19.9252 15.8637 19.6152 15.4828 19.6152C15.1019 19.6152 14.7932 19.9252 14.7932 20.3075C14.7932 20.6899 15.1019 20.9998 15.4828 20.9998Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function ON(e){return $.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M8.75548 5.88086L8.21556 5.99692C8.26446 6.19515 8.27057 6.40045 8.23353 6.60089C8.1965 6.80133 8.11707 6.99292 7.99984 7.16451C7.88262 7.3361 7.72995 7.48428 7.5507 7.60042C7.37146 7.71656 7.16922 7.79836 6.95574 7.84105C6.52284 7.92587 6.0715 7.84911 5.69872 7.62726C5.32594 7.4054 5.06148 7.05617 4.96217 6.65462L3.88233 6.86095C3.73424 6.89105 3.59424 6.9488 3.47079 7.03072C3.34733 7.11263 3.24299 7.21701 3.16405 7.33755C3.08512 7.45808 3.03324 7.59227 3.011
14655 7.73201C2.98985 7.87174 2.99879 8.01412 3.03783 8.15055C3.03783 8.15055 3.53622 10.3042 4.11768 12.7286",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M19.1385 5.86796C19.0558 6.0851 18.9266 6.28434 18.7588 6.45361C18.591 6.62287 18.388 6.75863 18.1622 6.85267C17.9364 6.94671 17.6924 6.99707 17.4451 7.00069C17.1977 7.00431 16.9522 6.96113 16.7233 6.87375C16.4945 6.78637 16.287 6.65662 16.1135 6.49236C15.9401 6.32809 15.8042 6.13274 15.7142 5.91812C15.6242 5.70351 15.5819 5.47411 15.5898 5.24382C15.5978 5.01352 15.6559 4.78713 15.7605 4.57836L14.6392 4.08832C14.3397 3.97208 14.0032 3.97052 13.7025 4.084C13.4019 4.19747 13.1614 4.41682 13.0332 4.69443L8.3816 14.8951L7.77245 16.1847C7.64767 16.4637 7.646 16.7772 7.76782 17.0573C7.88963 17.3373 8.12511 17.5613 8.42313 17.6807L14.0439 19.9117C14.3433 20.0279 14.6799 20.0295 14.9805 19.916C15.2812 19.8025 15.5217 19.5832 15.6498 19.3056L20.9106 7.77657C21.0266 7.50847 21.0297 7.20948 20.9193 6.93933C20.809 6.66918 20.5933 6.44776 20.3153 6.31932L19.1385 5.86796Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function OF(){let e=(0,_.useRouter)(),[t,n]=(0,M.useState)(!1),{user:o,onSignout:i}=yQ(),l=(0,S.useTranslations)(),{currentLanguage:s}=OM(),{open:u,onOpen:c,onToggle:d}=yX(),f=(0,M.useMemo)(()=>[{id:1,label:l("Header.myTickets"),onClick:()=>e.push("/meus-ingressos"),icon:$.jsx(ON,{style:{color:"var(--color-primary-pure)"}})},{id:2,label:l("MyOrders.myOrders"),onClick:()=>e.push("/meus-pedidos"),icon:$.jsx(OP,{})},{id:3,label:l("MyEvents.myEvents"),onClick:()=>e.push("/meus-eventos"),icon:$.jsx(ul,{style:{stroke:"var(--color-primary-pure)"}})},{id:4,label:l("Header.profileData"),onClick:()=>e.push("/perfil"),icon:$.jsx(uy,{style:{stroke:"var(--color-primary-pure)"}})},{id:5,label:l("Header.logout"),onClick:()=>i(),icon:$.jsx(OT,{})}],[l,e,i]);return $.jsxs($.Fragment,{children:[$.jsxs(oA,{open:t,onOpenChange:n,modal:!1,children:[$.jsx(oT,{asChild:!0,children:$.jsx(tt,{variant:"ghost",className:"hover:bg-transparent active:bg-transparent [&:hover]:!bg-[var(--color-whitelabel-header-hover)]",leadingIcon:$.jsxs(iT,{className:"w-8 h-8",children:[$.jsx(iP,{className:"w-8 h-8",src:void 0}),$.jsx(iN,{className:"bg-grey-100 border border-grey-300",children:$.jsx(uy,{strokeWidth:1.5,size:16})})]}),children:$.jsx("p",{className:"text-xxs font-bold leading-5 hidden lg:flex",style:{color:"var(--color-whitelabel-header-text, #171719)"},children:o?.first_name})})}),$.jsx(oP,{children:$.jsxs(oN,{align:"end",children:[$.jsxs(oF,{onClick:c,className:"justify-between lg:sr-only",children:[$.jsx(Ok,{src:s.icon,alt:s.label,width:18,height:18}),$.jsx("span",{children:s.label}),$.jsx(ud,{size:16,style:{stroke:"var(--color-primary-pure)"}})]}),f.map(({onClick:e,label:t,icon:n,id:o})=>$.jsxs(oF,{onClick:e,className:"cursor-pointer",children:[n,$.jsx("span",{className:"text-xs font-normal leading-6",children:t})]},o))]})})]}),$.jsx(OA,{open:u,onToggle:d})]})}let OR={MAIN:"MAIN",LOGIN_EMAIL_CPF:"LOGIN_EMAIL_CPF",REGISTER:"REGISTER",RECOVER_PASSWORD:"RECOVER_PASSWORD",RECOVER_CONFIRMATION:"RECOVER_CONFIRMATION",LOGIN_CONFIRMATION:"LOGIN_CONFIRMATION"},O$=jr({emailOrDocument:je().refine(e=>je().email().safeParse(e).success||h5.Cpf.isValid(e),{message:"invalidEmailOrDocument"}),password:je().min(6,"passwordMinLength"),token:je().optional(),"g-recaptcha-response":je().optional()});var OD={exports:{}};"u">typeof self&&self,WD=function(e){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t||4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,(function(t){return e[t]}).bind(null,i));return o}
146,n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),l=n(1),s=f(l),u=f(n(2)),c=f(n(5)),d=n(6);function f(e){return e&&e.__esModule?e:{default:e}}var h=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),o=e.fields,i=e.type,l=e.isValid,s=e.disabled,u=e.filterKeyCodes,c=e.forceUppercase,f=e.value;c&&(f=f.toUpperCase()),n.state={value:f,fields:o,type:i,input:[],isValid:l,disabled:s,filterKeyCodes:u,defaultInputStyle:{fontFamily:"monospace",MozAppearance:"textfield",borderRadius:"6px",border:"1px solid",boxShadow:"0px 0px 10px 0px rgba(0,0,0,.10)",margin:"4px",paddingLeft:"8px",width:"36px",height:"42px",fontSize:"32px",boxSizing:"border-box"}};for(var h=0;h<Number(n.state.fields);h+=1)if(h<32){var p=n.state.value[h]||"";n.state.input.push(p)}return n.textInput=[],n.uuid=(0,d.uuidv4)(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,l.Component),i(t,[{key:"UNSAFE_componentWillReceiveProps",value:function(e){this.setState({isValid:e.isValid,value:e.value,disabled:e.disabled})}},{key:"handleBlur",value:function(e){this.handleTouch(e.target.value)}},{key:"handleTouch",value:function(e){var t=this.props,n=t.touch,o=t.untouch,i=t.name;"function"==typeof n&&"function"==typeof o&&(""===e?n(i):o(i))}},{key:"handleChange",value:function(e){var t=this,n=this.props.filterChars,o=String(e.target.value);this.props.forceUppercase&&(o=o.toUpperCase()),"number"===this.state.type&&(o=o.replace(/[^\d]/g,""));var i=o=o.split("").filter(function(e){return!n.includes(e)}).join("");if(""!==o){var l=this.state.input.slice();o.length>1?o.split("").map(function(n,o){return Number(e.target.dataset.id)+o<t.props.fields&&(l[Number(e.target.dataset.id)+o]=n),!1}):l[Number(e.target.dataset.id)]=o,l.map(function(e,n){return t.textInput[n]&&(t.textInput[n].value=e),!1});var s=this.textInput[e.target.dataset.id<l.length?Number(e.target.dataset.id)+1:e.target.dataset.id];s&&(s.focus(),s.select()),i=l.join(""),this.setState({value:l.join(""),input:l})}this.props.onChange&&i&&this.props.onChange(i),this.handleTouch(i)}},{key:"handleKeyDown",value:function(e){var t=Number(e.target.dataset.id),n=this.textInput[t+1],o=this.textInput[t-1],i=void 0,l=void 0;switch(this.state.filterKeyCodes.length>0&&this.state.filterKeyCodes.map(function(t){if(t===e.keyCode)return e.preventDefault(),!0}),e.keyCode){case 8:e.preventDefault(),this.textInput[t].value="",(i=this.state.input.slice())[t]="",l=i.join(""),this.setState({value:l,input:i}),""===this.textInput[t].value&&o&&(o.focus(),o.select()),this.props.onChange&&this.props.onChange(l);break;case 37:e.preventDefault(),o&&(o.focus(),o.select());break;case 39:e.preventDefault(),n&&(n.focus(),n.select());break;case 38:case 40:e.preventDefault();break;case 69:"number"===e.target.type&&e.preventDefault()}this.handleTouch(l)}},{key:"render",value:function(){var e=this,t=this.props,n=t.className,i=t.style,l=t.inputStyle,u=void 0===l?{}:l,d=t.inputStyleInvalid,f=void 0===d?{}
146:d,h=t.type,p=t.autoFocus,m=t.pattern,g=t.inputMode,v=this.state,y=v.disabled,b=v.input,w=v.isValid,x=v.defaultInputStyle,E={container:void 0===i?{}:i,input:w?u:f};return Object.assign(E.container,{display:"inline-block"}),n||0!==Object.keys(u).length||Object.assign(u,o({},x,{color:"black",backgroundColor:"white",borderColor:"lightgrey"})),n||0!==Object.keys(f).length||Object.assign(f,o({},x,{color:"#b94a48",backgroundColor:"#f2dede",borderColor:"#eed3d7"})),y&&Object.assign(E.input,{cursor:"not-allowed",color:"lightgrey",borderColor:"lightgrey",backgroundColor:"#efeff1"}),s.default.createElement("div",{className:(0,c.default)(n,"react-code-input"),style:E.container},b.map(function(t,n){return s.default.createElement("input",{ref:function(t){e.textInput[n]=t},id:e.uuid+"-"+n,"data-id":n,autoFocus:p&&0===n?"autoFocus":"",value:t,key:"input_"+n,type:h,min:0,max:9,maxLength:b.length===n+1?1:b.length,style:E.input,autoComplete:"off",onFocus:function(e){return e.target.select(e)},onBlur:function(t){return e.handleBlur(t)},onChange:function(t){return e.handleChange(t)},onKeyDown:function(t){return e.handleKeyDown(t)},disabled:y,"data-valid":w,pattern:m,inputMode:g})}))}}]),t}();h.defaultProps={autoFocus:!0,isValid:!0,disabled:!1,forceUppercase:!1,fields:4,value:"",type:"text",filterKeyCodes:[189,190],filterChars:["-","."]},h.propTypes={type:u.default.oneOf(["text","number","password","tel"]),fields:u.default.number,value:u.default.string,onChange:u.default.func,name:u.default.string,touch:u.default.func,untouch:u.default.func,className:u.default.string,isValid:u.default.bool,disabled:u.default.bool,style:u.default.object,inputStyle:u.default.object,inputStyleInvalid:u.default.object,autoFocus:u.default.bool,forceUppercase:u.default.bool,filterKeyCodes:u.default.array,filterChars:u.default.array,pattern:u.default.string,inputMode:u.default.oneOf(["verbatim","latin","latin-name","latin-prose","full-width-latin","kana","kana-name","katakana","numeric","tel","email","url"])},t.default=h},function(t,n){t.exports=e},function(e,t,n){e.exports=n(3)()},function(e,t,n){var o=n(4);function i(){}e.exports=function(){function e(e,t,n,i,l,s){if(s!==o){var u=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 u.name="Invariant Violation",u}}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t};return n.checkPropTypes=i,n.PropTypes=n,n}},function(e,t,n){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){var o;!/*! 147 Copyright (c) 2017 Jed Watson. 148 Licensed under the MIT License (MIT), see 149 http://jedwatson.github.io/classnames 150 *//*! 151 Copyright (c) 2017 Jed Watson. 152 Licensed under the MIT License (MIT), see 153 http://jedwatson.github.io/classnames 154 */function(){var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var o=arguments[t];if(o){var l=typeof o;if("string"===l||"number"===l)e.push(o);else if(Array.isArray(o)&&o.length){var s=i.apply(null,o);s&&e.push(s)}else if("object"===l)for(var u in o)n.call(o,u)&&o[u]&&e.push(u)}}return e.join(" ")}void 0!==e&&e.exports?(i.default=i,e.exports=i):void 0===(o=(function(){return i}).apply(t,[]))||(e.exports=o)}()},function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.uuidv4=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}}])},OD.exports=WD(M);
154let Oz=N(OD.exports),OI={fontFamily:"Lato",borderRadius:"8px",border:"1px solid lightgrey",margin:"0 4px",paddingLeft:"18px",width:"48px",height:"48px",fontSize:"18px",color:"black",backgroundColor:"white"},OH={...OI,width:"36px",height:"36px",paddingLeft:"12px"};function OB({title:e}){return $.jsxs("div",{className:"flex w-full p-2x rounded-lg bg-success-100",children:[$.jsx(us,{width:24,height:24,color:"#00C67F"}),$.jsx("h1",{className:"label-sm ml-1x",children:e})]})}function OW({setCurrentPage:e,onClose:t,nextTo:n}){let o=(0,_.useRouter)(),i=(0,S.useTranslations)("LoginConfirmation"),{signConfirmationData:l,onSignin:s,isLoading:u,getSigninToken:c,handleReloadUserInfos:d}=yQ(),{isReadyForCheckout:f,sendToCheckout:h}=jA(),{setLoading:p}=kh(),m=_Y(),{hasExpiredTime:g,startCountdown:v,resetCountdown:y,count:b,minutesFormatted:w,secondsFormatted:x}=jC({initialSeconds:60}),[E,C]=(0,M.useState)(!1),{control:k,formState:{errors:j},handleSubmit:O,watch:L,getValues:A,setError:T}=Cy();(0,M.useEffect)(()=>{v()},[v]);let P=O(async e=>{try{await s({username:e.emailOrDocument,password:e.password,token:e.token}),t(),f&&(p(!0),d(),h()),n&&o.push(n)}catch(e){T("token",{message:e?.response?.data?.message??i("codeIsIncorrect")})}}),N=async()=>{let e=A("emailOrDocument"),t=A("password");if(!(!e||!t))try{await c({username:e,password:t,platform:"marketplace"}),C(!0),y(),v()}catch(e){console.error(e)}},F=m?OH:OI,R={inputStyle:F,inputStyleInvalid:{...F,borderColor:"#F53C5A"}},D=L("token"),z=!j.token?.message;return $.jsxs("form",{onSubmit:P,className:"flex flex-col pt-4x",children:[$.jsx(uc,{className:"stroke-grey-900 cursor-pointer absolute top-4 left-4",width:18,height:18,onClick:()=>e(OR.LOGIN_EMAIL_CPF)}),E&&$.jsx(OB,{title:`${i("newCodeSent")} ${l?.email}`}),$.jsx("h1",{className:"heading-sm text-grey-900 text-center mt-4x",children:i("accountConfirmation")}),$.jsxs("p",{className:"paragraph-sm text-grey-800 my-2x text-center",children:[i("sendCode")," ",$.jsx("b",{children:l?.email}),"."]}),$.jsx("span",{className:"text text-grey-800 text-center",children:i("typeCode")}),$.jsxs("div",{className:"flex flex-col m-auto my-8x",children:[$.jsx(C_,{control:k,name:"token",render:({field:{value:e,onChange:t,...n}})=>$.jsx(Oz,{isValid:z,inputMode:"email",type:"text",fields:6,value:e,onChange:e=>t(e.toUpperCase()),...R,...n})}),!z&&$.jsx("p",{className:"text-xxxs text-error-500",children:j.token?.message}),$.jsx(tt,{isLoading:u&&b>1,disabled:!(D&&D?.length===6),type:"submit",className:"w-full mt-4x",children:i("continue")})]}),$.jsx("span",{className:"label-sm text-grey-900 mb-1x text-center",children:i("dontReceiveCode")}),g?$.jsx(tt,{onClick:N,isLoading:u,size:"small",variant:"text",children:i("sendNewCode")}):$.jsxs("p",{className:"paragraph-sm text-grey-800 text-center",children:[i("pleaseWait")," ",$.jsxs("b",{children:[w,":",x]})," ",i("requestNewCode")]})]})}var OV={exports:{}},OU={exports:{}},Oq={};OV.exports=(function(){if(WJ)return WX;WJ=1;var e=WQ?WK:(WQ=1,WK="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,WX=function(){function o(t,n,o,i,l,s){if(s!==e){var u=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 u.name="Invariant Violation",u}}function i(){return o}o.isRequired=o;var l={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:i,element:o,elementType:o,instanceOf:i,node:o,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:n,resetWarningCache:t};return l.PropTypes=l,l}})()();let OG=N(OV.exports);var OY=["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl","isolated"];function OZ(){return(OZ=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function OK(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}
154function OQ(e,t){return(OQ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}var OX=function(e){function t(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(OK(t)),t.handleErrored=t.handleErrored.bind(OK(t)),t.handleChange=t.handleChange.bind(OK(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(OK(t)),t}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,OQ(t,e);var n=t.prototype;return n.getCaptchaFunction=function(e){return this.props.grecaptcha?this.props.grecaptcha.enterprise?this.props.grecaptcha.enterprise[e]:this.props.grecaptcha[e]:null},n.getValue=function(){var e=this.getCaptchaFunction("getResponse");return e&&void 0!==this._widgetId?e(this._widgetId):null},n.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},n.execute=function(){var e=this.getCaptchaFunction("execute");if(e&&void 0!==this._widgetId)return e(this._widgetId);this._executeRequested=!0},n.executeAsync=function(){var e=this;return new Promise(function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()})},n.reset=function(){var e=this.getCaptchaFunction("reset");e&&void 0!==this._widgetId&&e(this._widgetId)},n.forceReset=function(){var e=this.getCaptchaFunction("reset");e&&e()},n.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},n.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},n.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},n.explicitRender=function(){var e=this.getCaptchaFunction("render");if(e&&void 0===this._widgetId){var t=document.createElement("div");this._widgetId=e(t,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge,isolated:this.props.isolated}),this.captcha.appendChild(t)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},n.componentDidMount=function(){this.explicitRender()},n.componentDidUpdate=function(){this.explicitRender()},n.handleRecaptchaRef=function(e){this.captcha=e},n.render=function(){var e=this.props;e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,e.isolated;var t=function(e,t){if(null==e)return{};var n,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,OY);return M.createElement("div",OZ({},t,{ref:this.handleRecaptchaRef}))},t}(M.Component);OX.displayName="ReCAPTCHA",OX.propTypes={sitekey:OG.string.isRequired,onChange:OG.func,grecaptcha:OG.object,theme:OG.oneOf(["dark","light"]),type:OG.oneOf(["image","audio"]),tabindex:OG.number,onExpired:OG.func,onErrored:OG.func,size:OG.oneOf(["compact","normal","invisible"]),stoken:OG.string,hl:OG.string,badge:OG.oneOf(["bottomright","bottomleft","inline"]),isolated:OG.bool},OX.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var OJ=(WZ||(WZ=1,OU.exports=function(){if(WY)return Oq;WY=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,l=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,d=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case c:case d:case o:case l:case i:case h:return e;default:switch(e=e&&e.$$typeof){case u:case f:case g:case m:case s:return e;default:return p}}case n:return p}}}function E(e){return x(e)===d}return Oq.AsyncMode=c,Oq.ConcurrentMode=d,Oq.ContextConsumer=u,Oq.ContextProvider=s,Oq.Element=t,Oq.ForwardRef=f,Oq.Fragment=o,Oq.Lazy=g,Oq.Memo=m,Oq.Portal=n,Oq.Profiler=l,Oq.StrictMode=i,Oq.Suspense=h,Oq.isAsyncMode=function(e){return E(e)||x(e)===c},Oq.isConcurrentMode=E,Oq.isContextConsumer=function(e){return x(e)===u},Oq.isContextProvider=function(e){return x(e)===s},Oq.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}
154,Oq.isForwardRef=function(e){return x(e)===f},Oq.isFragment=function(e){return x(e)===o},Oq.isLazy=function(e){return x(e)===g},Oq.isMemo=function(e){return x(e)===m},Oq.isPortal=function(e){return x(e)===n},Oq.isProfiler=function(e){return x(e)===l},Oq.isStrictMode=function(e){return x(e)===i},Oq.isSuspense=function(e){return x(e)===h},Oq.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===v)},Oq.typeOf=x,Oq}()),OU.exports),O1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},O0={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},O2={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},O3={};function O5(e){return OJ.isMemo(e)?O2:O3[e.$$typeof]||O1}O3[OJ.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},O3[OJ.Memo]=O2;var O4=Object.defineProperty,O6=Object.getOwnPropertyNames,O7=Object.getOwnPropertySymbols,O8=Object.getOwnPropertyDescriptor,O9=Object.getPrototypeOf,Le=Object.prototype;let Lt=N(function e(t,n,o){if("string"!=typeof n){if(Le){var i=O9(n);i&&i!==Le&&e(t,i,o)}var l=O6(n);O7&&(l=l.concat(O7(n)));for(var s=O5(t),u=O5(n),c=0;c<l.length;++c){var d=l[c];if(!O0[d]&&!(o&&o[d])&&!(u&&u[d])&&!(s&&s[d])){var f=O8(n,d);try{O4(t,d,f)}catch{}}}}return t});function Lr(){return(Lr=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}var Ln={},La=0,Lo="onloadcallback";function Li(){return"u">typeof window&&window.recaptchaOptions||{}}let Ll=(Wz=function(){var e=Li(),t=e.useRecaptchaNet?"recaptcha.net":"www.google.com";return e.enterprise?"https://"+t+"/recaptcha/enterprise.js?onload="+Lo+"&render=explicit":"https://"+t+"/recaptcha/api.js?onload="+Lo+"&render=explicit"},WI=(WI={callbackName:Lo,globalName:"grecaptcha",attributes:Li().nonce?{nonce:Li().nonce}:{}})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){function n(e,n){var o;return(o=t.call(this,e,n)||this).state={},o.__scriptURL="",o}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t;var o=n.prototype;return o.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+La++),this.__scriptLoaderID},o.setupScriptURL=function(){return this.__scriptURL="function"==typeof Wz?Wz():Wz,this.__scriptURL},o.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)})},o.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=Ln[this.__scriptURL];if(!e||!e.loaded)throw Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[WI.callbackName]},o.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),o=WI,i=o.globalName,l=o.callbackName,s=o.scriptId;if(i&&"u">typeof window[i]&&(Ln[t]={loaded:!0,observers:{}}),Ln[t]){var u=Ln[t];if(u&&(u.loaded||u.errored)){this.asyncScriptLoaderHandleLoad(u);return}u.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)};return}var c={};c[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},Ln[t]={loaded:!1,observers:c};var d=document.createElement("script");for(var f in d.src=t,d.async=!0,WI.attributes)d.setAttribute(f,WI.attributes[f]);s&&(d.id=s);var h=function(e){if(Ln[t]){var n=Ln[t].observers;for(var o in n)e(n[o])&&delete n[o]}};l&&"u">typeof window&&(window[l]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),d.onload=function(){var e=Ln[t];e&&(e.loaded=!0,h(function(t){return!l&&(t(e),!0)}))},d.onerror=function(){var e=Ln[t];e&&(e.errored=!0,h(function(t){return t(e),!0}))},document.body.appendChild(d)},o.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===WI.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var o=Ln[e];o&&(delete o.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===WI.removeOnUnmount&&delete Ln[e])},o.render=function(){var t=WI.globalName,n=this.props;n.asyncScriptOnLoad;var o=n.forwardedRef,i=function(e,t){if(null==e)return{};var n,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)t.indexOf(n=l[o])>=0||(i[n]=e[n]);return i}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"u">typeof window&&(i[t]="u">typeof window[t]?window[t]:void 0),i.ref=o,(0,M.createElement)(e,i)},n}(M.Component),o=(0,M.forwardRef)(function(e,t){return(0,M.createElement)(n,Lr({},e,{forwardedRef:t}))});return o.displayName="AsyncScriptLoader("+t+")",o.propTypes={asyncScriptOnLoad:OG.func},Lt(o,e)})(OX),Ls=(0,M.forwardRef)(({onVerify:e,onExpire:t,onError:n,theme:o="light",size:i="normal"},l)=>{let s=df.SITE_KEY_V2;return $.jsx("div",{className:"flex justify-center my-4",children:$.jsx(Ll,{ref:l,sitekey:s,onChange:t=>{e?.(t)},onExpired:()=>{t?.()},onErrored:()=>{n?.()},theme:o,size:i})})});Ls.displayName="RecaptchaV2";let Lu=Math.min,Lc=Math.max,Ld=Math.round,Lf=Math.floor,Lh=e=>({x:e,y:e}
154),Lp={left:"right",right:"left",bottom:"top",top:"bottom"},Lm={start:"end",end:"start"};function Lg(e,t){return"function"==typeof e?e(t):e}function Lv(e){return e.split("-")[0]}function Ly(e){return e.split("-")[1]}function Lb(e){return"x"===e?"y":"x"}function Lw(e){return"y"===e?"height":"width"}let Lx=new Set(["top","bottom"]);function LE(e){return Lx.has(Lv(e))?"y":"x"}function LC(e){return e.replace(/start|end/g,e=>Lm[e])}let Lk=["left","right"],LM=["right","left"],L_=["top","bottom"],LS=["bottom","top"];function Lj(e){return e.replace(/left|right|bottom|top/g,e=>Lp[e])}function LO(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function LL(e){let{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function LA(e,t,n){let o,{reference:i,floating:l}=e,s=LE(t),u=Lb(LE(t)),c=Lw(u),d=Lv(t),f="y"===s,h=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,m=i[c]/2-l[c]/2;switch(d){case"top":o={x:h,y:i.y-l.height};break;case"bottom":o={x:h,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-l.width,y:p};break;default:o={x:i.x,y:i.y}}switch(Ly(t)){case"start":o[u]-=m*(n&&f?-1:1);break;case"end":o[u]+=m*(n&&f?-1:1)}return o}let LT=async(e,t,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:l=[],platform:s}=n,u=l.filter(Boolean),c=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:h}=LA(d,o,c),p=o,m={},g=0;for(let n=0;n<u.length;n++){let{name:l,fn:v}=u[n],{x:y,y:b,data:w,reset:x}=await v({x:f,y:h,initialPlacement:o,placement:p,strategy:i,middlewareData:m,rects:d,platform:s,elements:{reference:e,floating:t}});f=y??f,h=b??h,m={...m,[l]:{...m[l],...w}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(d=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:h}=LA(d,p,c)),n=-1)}return{x:f,y:h,placement:p,strategy:i,middlewareData:m}};async function LP(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:s,elements:u,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:p=!1,padding:m=0}=Lg(t,e),g=LO(m),v=u[p?"floating"===h?"reference":"floating":h],y=LL(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(v)))||n?v:v.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:d,rootBoundary:f,strategy:c})),b="floating"===h?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,w=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),x=await (null==l.isElement?void 0:l.isElement(w))&&await (null==l.getScale?void 0:l.getScale(w))||{x:1,y:1},E=LL(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:b,offsetParent:w,strategy:c}):b);return{top:(y.top-E.top+g.top)/x.y,bottom:(E.bottom-y.bottom+g.bottom)/x.y,left:(y.left-E.left+g.left)/x.x,right:(E.right-y.right+g.right)/x.x}}let LN=new Set(["left","top"]);async function LF(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),s=Lv(n),u=Ly(n),c="y"===LE(n),d=LN.has(s)?-1:1,f=l&&c?-1:1,h=Lg(t,e),{mainAxis:p,crossAxis:m,alignmentAxis:g}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof g&&(m="end"===u?-1*g:g),c?{x:m*f,y:p*d}:{x:p*d,y:m*f}}function LR(){return"u">typeof window}function L$(e){return LI(e)?(e.nodeName||"").toLowerCase():"#document"}function LD(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Lz(e){var t;return null==(t=(LI(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function LI(e){return!!LR()&&(e instanceof Node||e instanceof LD(e).Node)}function LH(e){return!!LR()&&(e instanceof Element||e instanceof LD(e).Element)}function LB(e){return!!LR()&&(e instanceof HTMLElement||e instanceof LD(e).HTMLElement)}function LW(e){return!(!LR()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof LD(e).ShadowRoot)}let LV=new Set(["inline","contents"]);function LU(e){let{overflow:t,overflowX:n,overflowY:o,display:i}=L2(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!LV.has(i)}let Lq=new Set(["table","td","th"]),LG=[":popover-open",":modal"];function LY(e){return LG.some(t=>{try{return e.matches(t)}catch{return!1}})}let LZ=["transform","translate","scale","rotate","perspective"],LK=["transform","translate","scale","rotate","perspective","filter"],LQ=["paint","layout","strict","content"];function LX(e){let t=LJ(),n=LH(e)?L2(e):e;return LZ.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||LK.some(e=>(n.willChange||"").includes(e))||LQ.some(e=>(n.contain||"").includes(e))}function LJ(){return!(typeof CSS>"u")&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let L1=new Set(["html","body","#document"]);function L0(e){return L1.has(L$(e))}function L2(e){return LD(e).getComputedStyle(e)}function L3(e){return LH(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function L5(e){if("html"===L$(e))return e;let t=e.assignedSlot||e.parentNode||LW(e)&&e.host||Lz(e);return LW(t)?t.host:t}function L4(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=L5(t);return L0(n)?t.ownerDocument?t.ownerDocument.body:t.body:LB(n)&&LU(n)?n:e(n)}(e),l=i===(null==(o=e.ownerDocument)?void 0:o.body),s=LD(i);if(l){let e=L6(s);
154return t.concat(s,s.visualViewport||[],LU(i)?i:[],e&&n?L4(e):[])}return t.concat(i,L4(i,[],n))}function L6(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function L7(e){let t=L2(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=LB(e),l=i?e.offsetWidth:n,s=i?e.offsetHeight:o,u=Ld(n)!==l||Ld(o)!==s;return u&&(n=l,o=s),{width:n,height:o,$:u}}function L8(e){return LH(e)?e:e.contextElement}function L9(e){let t=L8(e);if(!LB(t))return Lh(1);let n=t.getBoundingClientRect(),{width:o,height:i,$:l}=L7(t),s=(l?Ld(n.width):n.width)/o,u=(l?Ld(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),u&&Number.isFinite(u)||(u=1),{x:s,y:u}}let Ae=Lh(0);function At(e){let t=LD(e);return LJ()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Ae}function Ar(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=L8(e),u=Lh(1);t&&(o?LH(o)&&(u=L9(o)):u=L9(e));let c=(void 0===(i=n)&&(i=!1),o&&(!i||o===LD(s))&&i)?At(s):Lh(0),d=(l.left+c.x)/u.x,f=(l.top+c.y)/u.y,h=l.width/u.x,p=l.height/u.y;if(s){let e=LD(s),t=o&&LH(o)?LD(o):o,n=e,i=L6(n);for(;i&&o&&t!==n;){let e=L9(i),t=i.getBoundingClientRect(),o=L2(i),l=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;d*=e.x,f*=e.y,h*=e.x,p*=e.y,d+=l,f+=s,i=L6(n=LD(i))}}return LL({width:h,height:p,x:d,y:f})}function An(e,t){let n=L3(e).scrollLeft;return t?t.left+n:Ar(Lz(e)).left+n}function Aa(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-An(e,n),y:n.top+t.scrollTop}}let Ao=new Set(["absolute","fixed"]);function Ai(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=LD(e),o=Lz(e),i=n.visualViewport,l=o.clientWidth,s=o.clientHeight,u=0,c=0;if(i){l=i.width,s=i.height;let e=LJ();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,c=i.offsetTop)}let d=An(o);if(d<=0){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(o.clientWidth-t.clientWidth-i);s<=25&&(l-=s)}else d<=25&&(l+=d);return{width:l,height:s,x:u,y:c}}(e,n);else if("document"===t)o=function(e){let t=Lz(e),n=L3(e),o=e.ownerDocument.body,i=Lc(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=Lc(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),s=-n.scrollLeft+An(e),u=-n.scrollTop;return"rtl"===L2(o).direction&&(s+=Lc(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:s,y:u}}(Lz(e));else if(LH(t))o=function(e,t){let n=Ar(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,l=LB(e)?L9(e):Lh(1),s=e.clientWidth*l.x;return{width:s,height:e.clientHeight*l.y,x:i*l.x,y:o*l.y}}(t,n);else{let n=At(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return LL(o)}function Al(e){return"static"===L2(e).position}function As(e,t){if(!LB(e)||"fixed"===L2(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Lz(e)===n&&(n=n.ownerDocument.body),n}function Au(e,t){var n;let o=LD(e);if(LY(e))return o;if(!LB(e)){let t=L5(e);for(;t&&!L0(t);){if(LH(t)&&!Al(t))return t;t=L5(t)}return o}let i=As(e,t);for(;i&&(n=i,Lq.has(L$(n)))&&Al(i);)i=As(i,t);return i&&L0(i)&&Al(i)&&!LX(i)?o:i||function(e){let t=L5(e);for(;LB(t)&&!L0(t);){if(LX(t))return t;if(LY(t))break;t=L5(t)}return null}(e)||o}let Ac=async function(e){let t=this.getOffsetParent||Au,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=LB(t),i=Lz(t),l="fixed"===n,s=Ar(e,!0,l,t),u={scrollLeft:0,scrollTop:0},c=Lh(0);if(o||!o&&!l){if(("body"!==L$(t)||LU(i))&&(u=L3(t)),o){let e=Ar(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=An(i))}l&&!o&&i&&(c.x=An(i));let d=!i||o||l?Lh(0):Aa(i,u);return{x:s.left+u.scrollLeft-c.x-d.x,y:s.top+u.scrollTop-c.y-d.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},Ad={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,l="fixed"===i,s=Lz(o),u=!!t&&LY(t.floating);if(o===s||u&&l)return n;let c={scrollLeft:0,scrollTop:0},d=Lh(1),f=Lh(0),h=LB(o);if((h||!h&&!l)&&(("body"!==L$(o)||LU(s))&&(c=L3(o)),LB(o))){let e=Ar(o);d=L9(o),f.x=e.x+o.clientLeft,f.y=e.y+o.clientTop}let p=!s||h||l?Lh(0):Aa(s,c);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-c.scrollLeft*d.x+f.x+p.x,y:n.y*d.y-c.scrollTop*d.y+f.y+p.y}},getDocumentElement:Lz,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,l=[..."clippingAncestors"===n?LY(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let o=L4(e,[],!1).filter(e=>LH(e)&&"body"!==L$(e)),i=null,l="fixed"===L2(e).position,s=l?L5(e):e;for(;LH(s)&&!L0(s);){let t=L2(s),n=LX(s);n||"fixed"!==t.position||(i=null),(l?!n&&!i:!n&&"static"===t.position&&!!i&&Ao.has(i.position)||LU(s)&&!n&&function e(t,n){let o=L5(t);return!(o===n||!LH(o)||L0(o))&&("fixed"===L2(o).position||e(o,n))}(e,s))?o=o.filter(e=>e!==s):i=t,s=L5(s)}return t.set(e,o),o}(t,this._c):[].concat(n),o],s=l[0],u=l.reduce((e,n)=>{let o=Ai(t,n,i);return e.top=Lc(o.top,e.top),e.right=Lu(o.right,e.right),e.bottom=Lu(o.bottom,e.bottom),e.left=Lc(o.left,e.left),e},Ai(t,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:Au,getElementRects:Ac,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=L7(e);return{width:t,height:n}},getScale:L9,isElement:LH,isRTL:function(e){return"rtl"===L2(e).direction}};function Af(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let Ah=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,o;let{x:i,y:l,placement:s,middlewareData:u}=t,c=await LF(t,e);return s===(null==(n=u.offset)?void 0:n.placement)&&null!=(o=u.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:l+c.y,data:{...c,placement:s}}}}},Ap=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){let{x:n,y:o,placement:i}=t,{mainAxis:l=!0,crossAxis:s=!1,limiter:u={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...c}=Lg(e,t),d={x:n,y:o},f=await LP(t,c),h=LE(Lv(i)),p=Lb(h),m=d[p],g=d[h];
154if(l){let e="y"===p?"top":"left",t="y"===p?"bottom":"right",n=m+f[e],o=m-f[t];m=Lc(n,Lu(m,o))}if(s){let e="y"===h?"top":"left",t="y"===h?"bottom":"right",n=g+f[e],o=g-f[t];g=Lc(n,Lu(g,o))}let v=u.fn({...t,[p]:m,[h]:g});return{...v,data:{x:v.x-n,y:v.y-o,enabled:{[p]:l,[h]:s}}}}}},Am=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,o,i,l,s;let{placement:u,middlewareData:c,rects:d,initialPlacement:f,platform:h,elements:p}=t,{mainAxis:m=!0,crossAxis:g=!0,fallbackPlacements:v,fallbackStrategy:y="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:w=!0,...x}=Lg(e,t);if(null!=(n=c.arrow)&&n.alignmentOffset)return{};let E=Lv(u),C=LE(f),k=Lv(f)===f,M=await (null==h.isRTL?void 0:h.isRTL(p.floating)),_=v||(k||!w?[Lj(f)]:function(e){let t=Lj(e);return[LC(e),t,LC(t)]}(f)),S="none"!==b;!v&&S&&_.push(...function(e,t,n,o){let i=Ly(e),l=function(e,t,n){switch(e){case"top":case"bottom":return n?t?LM:Lk:t?Lk:LM;case"left":case"right":return t?L_:LS;default:return[]}}(Lv(e),"start"===n,o);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(LC)))),l}(f,w,b,M));let j=[f,..._],O=await LP(t,x),L=[],A=(null==(o=c.flip)?void 0:o.overflows)||[];if(m&&L.push(O[E]),g){let e=function(e,t,n){void 0===n&&(n=!1);let o=Ly(e),i=Lb(LE(e)),l=Lw(i),s="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(s=Lj(s)),[s,Lj(s)]}(u,d,M);L.push(O[e[0]],O[e[1]])}if(A=[...A,{placement:u,overflows:L}],!L.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=j[e];if(t&&(!("alignment"===g&&C!==LE(t))||A.every(e=>LE(e.placement)!==C||e.overflows[0]>0)))return{data:{index:e,overflows:A},reset:{placement:t}};let n=null==(l=A.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(y){case"bestFit":{let e=null==(s=A.filter(e=>{if(S){let t=LE(e.placement);return t===C||"y"===t}return!0}).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:s[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}}},Ag=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:l,platform:s,elements:u,middlewareData:c}=t,{element:d,padding:f=0}=Lg(e,t)||{};if(null==d)return{};let h=LO(f),p={x:n,y:o},m=Lb(LE(i)),g=Lw(m),v=await s.getDimensions(d),y="y"===m,b=y?"clientHeight":"clientWidth",w=l.reference[g]+l.reference[m]-p[m]-l.floating[g],x=p[m]-l.reference[m],E=await (null==s.getOffsetParent?void 0:s.getOffsetParent(d)),C=E?E[b]:0;C&&await (null==s.isElement?void 0:s.isElement(E))||(C=u.floating[b]||l.floating[g]);let k=C/2-v[g]/2-1,M=Lu(h[y?"top":"left"],k),_=Lu(h[y?"bottom":"right"],k),S=C-v[g]-_,j=C/2-v[g]/2+(w/2-x/2),O=Lc(M,Lu(j,S)),L=!c.arrow&&null!=Ly(i)&&j!==O&&l.reference[g]/2-(j<M?M:_)-v[g]/2<0,A=L?j<M?j-M:j-S:0;return{[m]:p[m]+A,data:{[m]:O,centerOffset:j-O-A,...L&&{alignmentOffset:A}},reset:L}}}),Av=(e,t,n)=>{let o=new Map,i={platform:Ad,...n},l={...i.platform,_c:o};return LT(e,t,{...i,platform:l})};var Ay={exports:{}};!function(){var e={}.hasOwnProperty;function t(){for(var o="",i=0;i<arguments.length;i++){var l=arguments[i];l&&(o=n(o,function(o){if("string"==typeof o||"number"==typeof o)return o;if("object"!=typeof o)return"";if(Array.isArray(o))return t.apply(null,o);if(o.toString!==Object.prototype.toString&&!o.toString.toString().includes("[native code]"))return o.toString();var i="";for(var l in o)e.call(o,l)&&o[l]&&(i=n(i,l));return i}(l)))}return o}function n(e,t){return t?e?e+" "+t:e+t:e}Ay.exports?(t.default=t,Ay.exports=t):window.classNames=t}();let Ab=N(Ay.exports),Aw={core:!1,base:!1};function Ax({css:e,id:t="react-tooltip-base-styles",type:n="base",ref:o}){var i,l;if(!e||typeof document>"u"||Aw[n]||"core"===n&&"u">typeof A&&!(null===(i=null==A?void 0:A.env)||void 0===i)&&i.REACT_TOOLTIP_DISABLE_CORE_STYLES||"base"!==n&&"u">typeof A&&!(null===(l=null==A?void 0:A.env)||void 0===l)&&l.REACT_TOOLTIP_DISABLE_BASE_STYLES)return;"core"===n&&(t="react-tooltip-core-styles"),o||(o={});let{insertAt:s}=o;if(document.getElementById(t))return;let u=document.head||document.getElementsByTagName("head")[0],c=document.createElement("style");c.id=t,c.type="text/css","top"===s&&u.firstChild?u.insertBefore(c,u.firstChild):u.appendChild(c),c.styleSheet?c.styleSheet.cssText=e:c.appendChild(document.createTextNode(e)),Aw[n]=!0}let AE=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:o="top",offset:i=10,strategy:l="absolute",middlewares:s=[Ah(Number(i)),Am({fallbackAxisSideDirection:"start"}),Ap({padding:5})],border:u,arrowSize:c=8})=>e&&null!==t?n?(s.push(Ag({element:n,padding:5})),Av(e,t,{placement:o,strategy:l,middleware:s}).then(({x:e,y:t,placement:n,middlewareData:o})=>{var i,l;let s={left:`${e}px`,top:`${t}px`,border:u},{x:d,y:f}=null!==(i=o.arrow)&&void 0!==i?i:{x:0,y:0}
154,h=null!==(l=({top:"bottom",right:"left",bottom:"top",left:"right"})[n.split("-")[0]])&&void 0!==l?l:"bottom",p=0;if(u){let e=`${u}`.match(/(\d+)px/);p=e?.[1]?Number(e[1]):1}return{tooltipStyles:s,tooltipArrowStyles:{left:null!=d?`${d}px`:"",top:null!=f?`${f}px`:"",right:"",bottom:"",...u&&{borderBottom:u,borderRight:u},[h]:`-${c/2+p}px`},place:n}})):Av(e,t,{placement:"bottom",strategy:l,middleware:s}).then(({x:e,y:t,placement:n})=>({tooltipStyles:{left:`${e}px`,top:`${t}px`},tooltipArrowStyles:{},place:n})):{tooltipStyles:{},tooltipArrowStyles:{},place:o},AC=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Ak=(e,t,n)=>{let o=null,i=function(...n){o||(e.apply(this,n),o=setTimeout(()=>{o=null},t))};return i.cancel=()=>{o&&(clearTimeout(o),o=null)},i},AM=e=>null!==e&&!Array.isArray(e)&&"object"==typeof e,A_=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((e,n)=>A_(e,t[n]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!AM(e)||!AM(t))return e===t;let n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&n.every(n=>A_(e[n],t[n]))},AS=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;let t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(e=>{let n=t.getPropertyValue(e);return"auto"===n||"scroll"===n})},Aj=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(AS(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},AO="u">typeof window?M.useLayoutEffect:M.useEffect,AL=e=>{e.current&&(clearTimeout(e.current),e.current=null)},AA={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},AT=(0,M.createContext)({getTooltipData:()=>AA});function AP(e="DEFAULT_TOOLTIP_ID"){return(0,M.useContext)(AT).getTooltipData(e)}var AN={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},AF={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};let AR=({forwardRef:e,id:t,className:n,classNameArrow:o,variant:i="dark",anchorId:l,anchorSelect:s,place:u="top",offset:c=10,events:d=["hover"],openOnClick:f=!1,positionStrategy:h="absolute",middlewares:p,wrapper:m,delayShow:g=0,delayHide:v=0,float:y=!1,hidden:b=!1,noArrow:w=!1,clickable:x=!1,closeOnEsc:E=!1,closeOnScroll:C=!1,closeOnResize:k=!1,openEvents:_,closeEvents:S,globalCloseEvents:j,imperativeModeOnly:O,style:L,position:A,afterShow:T,afterHide:P,disableTooltip:N,content:F,contentWrapperRef:R,isOpen:$,defaultIsOpen:D=!1,setIsOpen:z,previousActiveAnchor:I,activeAnchor:H,setActiveAnchor:B,border:W,opacity:U,arrowColor:q,arrowSize:G=8,role:Y="tooltip"})=>{var Z;let K=(0,M.useRef)(null),Q=(0,M.useRef)(null),X=(0,M.useRef)(null),J=(0,M.useRef)(null),ee=(0,M.useRef)(null),[et,er]=(0,M.useState)({tooltipStyles:{},tooltipArrowStyles:{},place:u}),[en,ea]=(0,M.useState)(!1),[eo,ei]=(0,M.useState)(!1),[el,es]=(0,M.useState)(null),eu=(0,M.useRef)(!1),ec=(0,M.useRef)(null),{anchorRefs:ed,setActiveAnchor:ef}=AP(t),eh=(0,M.useRef)(!1),[ep,em]=(0,M.useState)([]),eg=(0,M.useRef)(!1),ev=f||d.includes("click"),ey=ev||_?.click||_?.dblclick||_?.mousedown,eb=_?{..._}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!_&&ev&&Object.assign(eb,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});let ew=S?{...S}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};
154!S&&ev&&Object.assign(ew,{mouseleave:!1,blur:!1,mouseout:!1});let ex=j?{...j}:{escape:E||!1,scroll:C||!1,resize:k||!1,clickOutsideAnchor:ey||!1};O&&(Object.assign(eb,{mouseover:!1,focus:!1,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(ew,{mouseout:!1,blur:!1,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(ex,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),AO(()=>(eg.current=!0,()=>{eg.current=!1}),[]);let eE=e=>{eg.current&&(e&&ei(!0),setTimeout(()=>{eg.current&&(z?.(e),void 0===$&&ea(e))},10))};(0,M.useEffect)(()=>{if(t){if(en){n(I);let o=[...new Set([...e(H),t])].filter(Boolean).join(" ");H?.setAttribute("aria-describedby",o)}else n(H);return()=>{n(H),n(I)}}function e(e){var t;return(null===(t=e?.getAttribute("aria-describedby"))||void 0===t?void 0:t.split(" "))||[]}function n(n){let o=e(n).filter(e=>e!==t);o.length?n?.setAttribute("aria-describedby",o.join(" ")):n?.removeAttribute("aria-describedby")}},[H,en,t,I]),(0,M.useEffect)(()=>{if(void 0===$)return()=>null;$&&ei(!0);let e=setTimeout(()=>{ea($)},10);return()=>{clearTimeout(e)}},[$]),(0,M.useEffect)(()=>{if(en!==eu.current){if(AL(ee),eu.current=en,en)T?.();else{let e=(e=>{let t=e.match(/^([\d.]+)(ms|s)$/);if(!t)return 0;let[,n,o]=t;return Number(n)*("ms"===o?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));ee.current=setTimeout(()=>{ei(!1),es(null),P?.()},e+25)}}},[en]);let eC=e=>{er(t=>A_(t,e)?t:e)},ek=(e=g)=>{AL(X),eo?eE(!0):X.current=setTimeout(()=>{eE(!0)},e)},eM=(e=v)=>{AL(J),J.current=setTimeout(()=>{eh.current||eE(!1)},e)},e_=e=>{var t;if(!e)return;let n=null!==(t=e.currentTarget)&&void 0!==t?t:e.target;if(!n?.isConnected)return B(null),void ef({current:null});g?ek():eE(!0),B(n),ef({current:n}),AL(J)},eS=()=>{x?eM(v||100):v?eM():eE(!1),AL(X)},ej=({x:e,y:t})=>{var n;AE({place:null!==(n=el?.place)&&void 0!==n?n:u,offset:c,elementReference:{getBoundingClientRect:()=>({x:e,y:t,width:0,height:0,top:t,left:e,right:e,bottom:t})},tooltipReference:K.current,tooltipArrowReference:Q.current,strategy:h,middlewares:p,border:W,arrowSize:G}).then(e=>{eC(e)})},eO=e=>{if(!e)return;let t={x:e.clientX,y:e.clientY};ej(t),ec.current=t},eL=e=>{var t;if(!en)return;let n=e.target;n.isConnected&&(!(null===(t=K.current)||void 0===t)&&t.contains(n)||[document.querySelector(`[id='${l}']`),...ep].some(e=>e?.contains(n))||(eE(!1),AL(X)))},eA=Ak(e_,50),eT=Ak(eS,50),eP=e=>{eT.cancel(),eA(e)},eN=()=>{eA.cancel(),eT()},eF=(0,M.useCallback)(()=>{var e,t;let n=null!==(e=el?.position)&&void 0!==e?e:A;n?ej(n):y?ec.current&&ej(ec.current):H?.isConnected&&AE({place:null!==(t=el?.place)&&void 0!==t?t:u,offset:c,elementReference:H,tooltipReference:K.current,tooltipArrowReference:Q.current,strategy:h,middlewares:p,border:W,arrowSize:G}).then(e=>{eg.current&&eC(e)})},[en,H,F,L,u,el?.place,c,h,A,el?.position,y,G]);(0,M.useEffect)(()=>{var e,t;let n=new Set(ed);ep.forEach(e=>{N?.(e)||n.add({current:e})});let o=document.querySelector(`[id='${l}']`);o&&!N?.(o)&&n.add({current:o});let i=()=>{eE(!1)},s=Aj(H),u=Aj(K.current);ex.scroll&&(window.addEventListener("scroll",i),s?.addEventListener("scroll",i),u?.addEventListener("scroll",i));let c=null;ex.resize?window.addEventListener("resize",i):H&&K.current&&(c=function(e,t,n,o){void 0===o&&(o={});let{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:u="function"==typeof IntersectionObserver,animationFrame:c=!1}=o,d=L8(e),f=i||l?[...d?L4(d):[],...L4(t)]:[];f.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),l&&e.addEventListener("resize",n)});let h=d&&u?function(e,t){let n=null,o,i=Lz(e);function l(){var e;clearTimeout(o),null==(e=n)||e.disconnect(),n=null}return function s(u,c){void 0===u&&(u=!1),void 0===c&&(c=1),l();let d=e.getBoundingClientRect(),{left:f,top:h,width:p,height:m}=d;if(u||t(),!p||!m)return;let g=Lf(h),v={rootMargin:-g+"px "+-Lf(i.clientWidth-(f+p))+"px "+-Lf(i.clientHeight-(h+m))+"px "+-Lf(f)+"px",threshold:Lc(0,Lu(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return s();n?s(!1,n):o=setTimeout(()=>{s(!1,1e-7)},1e3)}1!==n||Af(d,e.getBoundingClientRect())||s(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}(!0),l}(d,n):null,p=-1,m=null;s&&(m=new ResizeObserver(e=>{let[o]=e;o&&o.target===d&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var e;null==(e=m)||e.observe(t)})),n()}),d&&!c&&m.observe(d),m.observe(t));let g,v=c?Ar(e):null;return c&&function t(){let o=Ar(e);v&&!Af(v,o)&&n(),v=o,g=requestAnimationFrame(t)}(),n(),()=>{var e;
154f.forEach(e=>{i&&e.removeEventListener("scroll",n),l&&e.removeEventListener("resize",n)}),h?.(),null==(e=m)||e.disconnect(),m=null,c&&cancelAnimationFrame(g)}}(H,K.current,eF,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));let d=e=>{"Escape"===e.key&&eE(!1)};ex.escape&&window.addEventListener("keydown",d),ex.clickOutsideAnchor&&window.addEventListener("click",eL);let f=[],h=e=>!!(e?.target&&H?.contains(e.target)),p=e=>{en&&h(e)||e_(e)},m=e=>{en&&h(e)&&eS()},g=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],v=["click","dblclick","mousedown","mouseup"];Object.entries(eb).forEach(([e,t])=>{t&&(g.includes(e)?f.push({event:e,listener:eP}):v.includes(e)&&f.push({event:e,listener:p}))}),Object.entries(ew).forEach(([e,t])=>{t&&(g.includes(e)?f.push({event:e,listener:eN}):v.includes(e)&&f.push({event:e,listener:m}))}),y&&f.push({event:"pointermove",listener:eO});let b=()=>{eh.current=!0},w=()=>{eh.current=!1,eS()},E=x&&(ew.mouseout||ew.mouseleave);return E&&(null===(e=K.current)||void 0===e||e.addEventListener("mouseover",b),null===(t=K.current)||void 0===t||t.addEventListener("mouseout",w)),f.forEach(({event:e,listener:t})=>{n.forEach(n=>{var o;null===(o=n.current)||void 0===o||o.addEventListener(e,t)})}),()=>{var e,t;ex.scroll&&(window.removeEventListener("scroll",i),s?.removeEventListener("scroll",i),u?.removeEventListener("scroll",i)),ex.resize?window.removeEventListener("resize",i):c?.(),ex.clickOutsideAnchor&&window.removeEventListener("click",eL),ex.escape&&window.removeEventListener("keydown",d),E&&(null===(e=K.current)||void 0===e||e.removeEventListener("mouseover",b),null===(t=K.current)||void 0===t||t.removeEventListener("mouseout",w)),f.forEach(({event:e,listener:t})=>{n.forEach(n=>{var o;null===(o=n.current)||void 0===o||o.removeEventListener(e,t)})})}},[H,eF,eo,ed,ep,_,S,j,ev,g,v]),(0,M.useEffect)(()=>{var e,n;let o=null!==(n=null!==(e=el?.anchorSelect)&&void 0!==e?e:s)&&void 0!==n?n:"";!o&&t&&(o=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);let i=new MutationObserver(e=>{let n=[],i=[];e.forEach(e=>{if("attributes"===e.type&&"data-tooltip-id"===e.attributeName&&(e.target.getAttribute("data-tooltip-id")===t?n.push(e.target):e.oldValue===t&&i.push(e.target)),"childList"===e.type){if(H){let t=[...e.removedNodes].filter(e=>1===e.nodeType);if(o)try{i.push(...t.filter(e=>e.matches(o))),i.push(...t.flatMap(e=>[...e.querySelectorAll(o)]))}catch{}t.some(e=>{var t;return!!(!(null===(t=e?.contains)||void 0===t)&&t.call(e,H))&&(ei(!1),eE(!1),B(null),AL(X),AL(J),!0)})}if(o)try{let t=[...e.addedNodes].filter(e=>1===e.nodeType);n.push(...t.filter(e=>e.matches(o))),n.push(...t.flatMap(e=>[...e.querySelectorAll(o)]))}catch{}}}),(n.length||i.length)&&em(e=>[...e.filter(e=>!i.includes(e)),...n])});return i.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{i.disconnect()}},[t,s,el?.anchorSelect,H]),(0,M.useEffect)(()=>{eF()},[eF]),(0,M.useEffect)(()=>{if(!R?.current)return()=>null;let e=new ResizeObserver(()=>{setTimeout(()=>eF())});return e.observe(R.current),()=>{e.disconnect()}},[F,R?.current]),(0,M.useEffect)(()=>{var e;let t=document.querySelector(`[id='${l}']`),n=[...ep,t];H&&n.includes(H)||B(null!==(e=ep[0])&&void 0!==e?e:t)},[l,ep,H]),(0,M.useEffect)(()=>(D&&eE(!0),()=>{AL(X),AL(J)}),[]),(0,M.useEffect)(()=>{var e;let n=null!==(e=el?.anchorSelect)&&void 0!==e?e:s;if(!n&&t&&(n=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),n)try{let e=Array.from(document.querySelectorAll(n));em(e)}catch{em([])}},[t,s,el?.anchorSelect]),(0,M.useEffect)(()=>{X.current&&(AL(X),ek(g))},[g]);let eR=null!==(Z=el?.content)&&void 0!==Z?Z:F,e$=en&&Object.keys(et.tooltipStyles).length>0;return(0,M.useImperativeHandle)(e,()=>({open:e=>{if(e?.anchorSelect)try{document.querySelector(e.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${e.anchorSelect}" is not a valid CSS selector`)}es(e??null),e?.delay?ek(e.delay):eE(!0)},close:e=>{e?.delay?eM(e.delay):eE(!1)},activeAnchor:H,place:et.place,isOpen:!!(eo&&!b&&eR&&e$)})),eo&&!b&&eR?M.createElement(m,{id:t,role:Y,className:Ab("react-tooltip",AN.tooltip,AF.tooltip,AF[i],n,`react-tooltip__place-${et.place}`,AN[e$?"show":"closing"],e$?"react-tooltip__show":"react-tooltip__closing","fixed"===h&&AN.fixed,x&&AN.clickable),onTransitionEnd:e=>{AL(ee),en||"opacity"!==e.propertyName||(ei(!1),es(null),P?.())},style:{...L,...et.tooltipStyles,opacity:void 0!==U&&e$?U:void 0},ref:K},eR,M.createElement(m,{className:Ab("react-tooltip-arrow",AN.arrow,AF.arrow,o,w&&AN.noArrow),style:{...et.tooltipArrowStyles,background:q?`linear-gradient(to right bottom, transparent 50%, ${q} 50%)`:void 0,"--rt-arrow-size":`${G}px`},ref:Q})):null},A$=({content:e})=>M.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),AD=M.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:o,html:i,render:l,className:s,classNameArrow:u,variant:c="dark",place:d="top",offset:f=10,wrapper:h="div",children:p=null,events:m=["hover"],openOnClick:g=!1,positionStrategy:v="absolute",middlewares:y,delayShow:b=0,delayHide:w=0,float:x=!1,hidden:E=!1,noArrow:C=!1,clickable:k=!1,closeOnEsc:_=!1,closeOnScroll:S=!1,closeOnResize:j=!1,openEvents:O,closeEvents:L,globalCloseEvents:A,imperativeModeOnly:T=!1,style:P,position:N,isOpen:F,defaultIsOpen:R=!1,disableStyleInjection:$=!1,border:D,opacity:z,arrowColor:I,arrowSize:H,setIsOpen:B,afterShow:W,afterHide:U,disableTooltip:q,role:G="tooltip"},Y)=>{let[Z,K]=(0,M.useState)(o),[Q,X]=(0,M.useState)(i),[J,ee]=(0,M.useState)(d),[et,er]=(0,M.useState)(c),[en,ea]=(0,M.useState)(f),[eo,ei]=(0,M.useState)(b),[el,es]=(0,M.useState)(w),[eu,ec]=(0,M.useState)(x),[ed,ef]=(0,M.useState)(E),[eh,ep]=(0,M.useState)(h),[em,eg]=(0,M.useState)(m),[ev,ey]=(0,M.useState)(v),[eb,ew]=(0,M.useState)(null),[ex,eE]=(0,M.useState)(null),eC=(0,M.useRef)(null),ek=(0,M.useRef)($),{anch
154orRefs:eM,activeAnchor:e_}=AP(e),eS=e=>e?.getAttributeNames().reduce((t,n)=>{var o;return n.startsWith("data-tooltip-")&&(t[n.replace(/^data-tooltip-/,"")]=null!==(o=e?.getAttribute(n))&&void 0!==o?o:null),t},{}),ej=e=>{let t={place:e=>{ee(null!=e?e:d)},content:e=>{K(e??o)},html:e=>{X(e??i)},variant:e=>{er(null!=e?e:c)},offset:e=>{ea(null===e?f:Number(e))},wrapper:e=>{ep(null!=e?e:h)},events:e=>{eg(e?.split(" ")??m)},"position-strategy":e=>{ey(null!=e?e:v)},"delay-show":e=>{ei(null===e?b:Number(e))},"delay-hide":e=>{es(null===e?w:Number(e))},float:e=>{ec(null===e?x:"true"===e)},hidden:e=>{ef(null===e?E:"true"===e)},"class-name":e=>{ew(e)}};Object.values(t).forEach(e=>e(null)),Object.entries(e).forEach(([e,n])=>{var o;null===(o=t[e])||void 0===o||o.call(t,n)})};(0,M.useEffect)(()=>{K(o)},[o]),(0,M.useEffect)(()=>{X(i)},[i]),(0,M.useEffect)(()=>{ee(d)},[d]),(0,M.useEffect)(()=>{er(c)},[c]),(0,M.useEffect)(()=>{ea(f)},[f]),(0,M.useEffect)(()=>{ei(b)},[b]),(0,M.useEffect)(()=>{es(w)},[w]),(0,M.useEffect)(()=>{ec(x)},[x]),(0,M.useEffect)(()=>{ef(E)},[E]),(0,M.useEffect)(()=>{ey(v)},[v]),(0,M.useEffect)(()=>{ek.current!==$&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[$]),(0,M.useEffect)(()=>{"u">typeof window&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:"core"===$,disableBase:$}}))},[]),(0,M.useEffect)(()=>{var o;let i=new Set(eM),l=n;if(!l&&e&&(l=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),l)try{document.querySelectorAll(l).forEach(e=>{i.add({current:e})})}catch{console.warn(`[react-tooltip] "${l}" is not a valid CSS selector`)}let s=document.querySelector(`[id='${t}']`);if(s&&i.add({current:s}),!i.size)return()=>null;let u=null!==(o=ex??s)&&void 0!==o?o:e_.current,c=new MutationObserver(e=>{e.forEach(e=>{var t;u&&"attributes"===e.type&&!(null===(t=e.attributeName)||void 0===t)&&t.startsWith("data-tooltip-")&&ej(eS(u))})});return u&&(ej(eS(u)),c.observe(u,{attributes:!0,childList:!1,subtree:!1})),()=>{c.disconnect()}},[eM,e_,ex,t,n]),(0,M.useEffect)(()=>{P?.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),D&&!AC("border",`${D}`)&&console.warn(`[react-tooltip] "${D}" is not a valid \`border\`.`),P?.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),z&&!AC("opacity",`${z}`)&&console.warn(`[react-tooltip] "${z}" is not a valid \`opacity\`.`)},[]);let eO=p,eL=(0,M.useRef)(null);if(l){let e=l({content:ex?.getAttribute("data-tooltip-content")||Z||null,activeAnchor:ex});eO=e?M.createElement("div",{ref:eL,className:"react-tooltip-content-wrapper"},e):null}else Z&&(eO=Z);Q&&(eO=M.createElement(A$,{content:Q}));let eA={forwardRef:Y,id:e,anchorId:t,anchorSelect:n,className:Ab(s,eb),classNameArrow:u,content:eO,contentWrapperRef:eL,place:J,variant:et,offset:en,wrapper:eh,events:em,openOnClick:g,positionStrategy:ev,middlewares:y,delayShow:eo,delayHide:el,float:eu,hidden:ed,noArrow:C,clickable:k,closeOnEsc:_,closeOnScroll:S,closeOnResize:j,openEvents:O,closeEvents:L,globalCloseEvents:A,imperativeModeOnly:T,style:P,position:N,isOpen:F,defaultIsOpen:R,border:D,opacity:z,arrowColor:I,arrowSize:H,setIsOpen:B,afterShow:W,afterHide:U,disableTooltip:q,activeAnchor:ex,previousActiveAnchor:eC.current,setActiveAnchor:e=>{eE(t=>(e?.isSameNode(t)||(eC.current=t),e))},role:G};return M.createElement(AR,{...eA})});function Az({showPassword:e,onClick:t}){let n=(0,S.useTranslations)("CommonExpressions");return $.jsxs("button",{onClick:t,type:"button","aria-label":"mostrar senha",children:[e?$.jsx(uh,{strokeWidth:1.5,"data-tooltip-id":"passwordEyeIcon","data-tooltip-content":n("hide")}):$.jsx(up,{strokeWidth:1.5,"data-tooltip-id":"passwordEyeIcon","data-tooltip-content":n("show")}),$.jsx(AD,{id:"passwordEyeIcon",style:{backgroundColor:"#2F2E33",fontSize:"12px",lineHeight:"18px",padding:"0.25rem",borderRadius:"8px",fontWeight:400,fontFamily:"Lato"}})]})}function AI({setCurrentPage:e,onAfterSignin:t}){let n=(0,S.useTranslations)(),{isLoading:o,getSigninToken:i,handleReloadUserInfos:l}=yQ(),s=(0,S.useTranslations)("FormErrors"),{executeRecaptchaAction:u,recaptchaRef:c,resetRecaptcha:d}=jI(),{register:f,formState:{errors:h},control:p,handleSubmit:m,setError:g,clearErrors:v}=Cy(),{showPassword:y,togglePasswordVisibility:b}=js(),{isReadyForCheckout:w,sendToCheckout:x}=jA(),{setLoading:E}=kh(),C=m(async e=>{try{let n=await u(dd.LOGIN);if(!n){g("root",{message:"reCAPTCHA validation failed"});return}let o=await i({username:e.emailOrDocument,password:e.password,platform:"marketplace","g-recaptcha-response":n});t&&t(o.isMfaEnable),w&&!o.isMfaEnable&&(E(!0),l(),x())}catch(e){d(),"Invalid credentials"===e.message?(g("emailOrDocument",{message:"invalidUserOrPassword"}),g("password",{message:"invalidUserOrPassword"})):e.message?.includes("reCAPTCHA")&&g("root",{message:"reCAPTCHA validation failed"})}});return $.jsxs("div",{className:"w-full flex flex-col gap-6 px-2",children:[$.jsx("div",{className:"flex",children:$.jsx(uc,{className:"stroke-grey-900 cursor-pointer absolute top-4 left-4",width:18,height:18,onClick:()=>e(OR.MAIN)})}),$.jsxs("div",{className:"flex flex-col",children:[$.jsx("h1",{className:"font-semibold text-2xl text-center",children:n("LoginMethods.accessYourAccount")}
154),$.jsxs("div",{className:"flex flex-row items-center justify-center",children:[$.jsx("h1",{className:"text-xxs text-center",children:n("LoginMethods.noAccount")}),$.jsx(tt,{id:"registerAccount",variant:"text",className:"text-xxs p-0 pl-1",style:{color:"var(--color-primary-light)"},onClick:()=>{e(OR.REGISTER),v6("clk_submit_signup_modal")},children:n("LoginMethods.register")})]})]}),$.jsxs("div",{className:"flex flex-col gap-6 md:items-center",children:[$.jsxs("form",{onSubmit:C,className:"flex flex-col gap-4 md:w-80",children:[$.jsx(C_,{control:p,name:"emailOrDocument",defaultValue:"",render:({field:{onChange:e,value:t,...o}})=>$.jsx(oD,{label:n("LoginMethods.emailOrCpf"),error:h.emailOrDocument?.message&&s(h.emailOrDocument?.message),placeholder:n("LoginMethods.typeYourEmail"),autoComplete:"username",className:"w-full",value:t,onChange:({target:t})=>{let{value:n}=t||"";h6(n).length===h7(n).length?e(h4(n)):e(n)},...o})}),$.jsx(oD,{label:n("LoginMethods.password"),type:y?"text":"password",error:h.password?.message&&s(h.password?.message),placeholder:n("LoginMethods.typeYourPassword"),className:"w-full",trailingIcon:$.jsx(Az,{showPassword:y,onClick:b}),autoComplete:"current-password",...f("password")}),$.jsx(Ls,{ref:c,onVerify:e=>{e&&h.root?.message?.includes("reCAPTCHA")&&v("root")},onExpire:()=>{},onError:()=>{}}),h.root&&$.jsx("div",{className:"text-red-500 text-sm text-center",children:s(h.root.message||"")}),$.jsx(tt,{id:"enterButton",type:"submit",variant:"primary",className:"w-full",isLoading:o,children:n("LoginMethods.enter")})]}),$.jsx("div",{className:"flex items-center justify-center",children:$.jsx(tt,{id:"forgotPassword",variant:"text",type:"button",className:"text-xxs font-normal leading-5 underline",onClick:()=>e(OR.RECOVER_PASSWORD),children:n("LoginMethods.forgotPassword")})})]})]})}function AH(e){return $.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:$.jsx("path",{d:"M11.5211 17.9805C11.5239 17.954 11.5253 17.9269 11.5253 17.8997V11.4174H13.7412C14.0965 11.4174 14.4163 11.1834 14.4682 10.832C14.5541 10.2506 14.5176 9.72192 14.462 9.34599C14.411 9.00086 14.1035 8.77367 13.7546 8.77367H11.5253C11.5253 6.776 11.8577 6.48532 13.7316 6.44895C14.0911 6.44199 14.4139 6.2046 14.466 5.84879C14.5538 5.25071 14.5188 4.72816 14.4637 4.36055C14.4129 4.02099 14.1084 3.79963 13.7651 3.80264C10.4533 3.83152 8.56702 4.22309 8.56702 8.77367H6.85127C6.51782 8.77367 6.22178 8.98266 6.17134 9.31226C6.11701 9.66739 6.08416 10.1821 6.17486 10.8082C6.22726 11.1699 6.55259 11.4174 6.91808 11.4174H8.56702V18C6.00267 17.9832 4.16718 17.8819 2.97202 17.7849C1.6567 17.678 0.641835 16.6631 0.534968 15.3478C0.42863 14.039 0.317383 11.9622 0.317383 9.00122C0.317383 6.04026 0.42863 3.96346 0.534968 2.65464C0.641835 1.33932 1.6567 0.324452 2.97203 0.217585C4.28084 0.111243 6.35764 0 9.3186 0C12.2796 0 14.3564 0.111247 15.6652 0.217585C16.9805 0.324452 17.9954 1.33932 18.1022 2.65464C18.2086 3.96346 18.3198 6.04026 18.3198 9.00122C18.3198 11.9622 18.2086 14.039 18.1022 15.3478C17.9954 16.6631 16.9805 17.678 15.6652 17.7849C14.7089 17.8625 13.3426 17.9429 11.5211 17.9805Z",fill:"#0866FF"})})}function AB(e){return $.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.9574 9.20449C17.9574 8.56631 17.9001 7.95268 17.7937 7.36359H9.31738V10.845H14.161C13.9524 11.97 13.3183 12.9231 12.3651 13.5613V15.8195H15.2737C16.9756 14.2527 17.9574 11.9454 17.9574 9.20449Z",fill:"#4285F4"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.31739 18C11.7474 18 13.7847 17.1941 15.2737 15.8196L12.3651 13.5614C11.5592 14.1014 10.5283 14.4205 9.31739 14.4205C6.97329 14.4205 4.9892 12.8373 4.28148 10.71H1.27466V13.0418C2.75557 15.9832 5.7992 18 9.31739 18Z",fill:"#34A853"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.28147 10.7099C4.10147 10.1699 3.9992 9.59313 3.9992 8.99995C3.9992 8.40677 4.10147 7.82995 4.28147 7.28995V4.95813H1.27466C0.66511 6.17313 0.317383 7.54768 0.317383 8.99995C0.317383 10.4522 0.66511 11.8268 1.27466 13.0418L4.28147 10.7099Z",fill:"#FBBC05"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.31739 3.57955C10.6387 3.57955 11.8251 4.03364 12.7578 4.92545L15.3392 2.34409C13.7806 0.891818 11.7433 0 9.31739 0C5.7992 0 2.75557 2.01682 1.27466 4.95818L4.28148 7.29C4.9892 5.16273 6.97329 3.57955 9.31739 3.57955Z",fill:"#EA4335"})]})}function AW({setCurrentPage:e,nextTo:t}){let n=(0,S.useTranslations)(),{onSocialSignin:o}=yQ(),{isValidDiscount:i,code:l,discountCode:s,totalValue:u,state:c,selectedTickets:d}=E4(),{config:f,siteName:h}=Q(),p=f?.resources?.marketplaceUrl??"https://www.zig.tickets",m=(navigator.userAgent||navigator.vendor).indexOf("Instagram")>-1;return $.jsxs("div",{className:"flex flex-col gap-6 max-w-[320px]",children:[$.jsx("h1",{className:"font-semibold text-2xl text-center max-w-[279px]",children:n("LoginModal.loginTitle")}),$.jsxs("div",{className:"w-full flex flex-col gap-2",children:[!m&&$.jsxs(tt,{variant:"secondary",className:"flex items-center py-[13.5px] px-3 border border-solid border-grey-300 rounded-sm w-full jusitfy-between font-regular",onClick:()=>o({provider:"google",nextTo:t,isValidDiscount:i,discountCode:s,code:l,totalValue:u,state:c,selectedTickets:d}),children:[$.jsxs("div",{className:"flex flex-row w-full items-center gap-3",children:[$.jsx(AB,{}),$.jsx("span",{className:"text-xxs",children:n("LoginModal.continueWithGoogle")})]}),$.jsx(ud,{})]}),$.jsxs(tt,{variant:"secondary",className:"flex items-center py-[13.5px] px-3 border border-solid border-grey-300 rounded-sm w-full jusitfy-between font-regular",onClick:()=>o({provider:"facebook",nextTo:t,isValidDiscount:i,discountCode:s,code:l,totalValue:u,state:c,selectedTickets:d}),children:[$.jsxs("div",{className:"flex flex-row w-full items-center gap-3",children:[$.jsx(AH,{}),$.jsx("span",{className:"text-xxs",children:n("LoginModal.continueWithF
154acebook")})]}),$.jsx(ud,{})]}),$.jsxs(tt,{id:"emailOrCpfLogin",variant:"secondary",className:"flex items-center py-[13.5px] px-3 border border-solid border-grey-300 rounded-sm w-full jusitfy-between font-regular",onClick:()=>e(OR.LOGIN_EMAIL_CPF),children:[$.jsxs("div",{className:"flex flex-row w-full items-center gap-3",children:[$.jsx(uy,{width:18,height:18}),$.jsx("span",{className:"text-xxs",children:n("LoginModal.continueWithMyZigAccount")})]}),$.jsx(ud,{})]})]}),$.jsxs("div",{className:"flex flex-col gap-3 max-w-[279px]",children:[$.jsx(ti,{className:"w-full",hasTextInBetween:!0,text:n("LoginModal.or")}),$.jsx(tt,{id:"enterButton",type:"submit",variant:"primary",className:"w-full",onClick:()=>e(OR.REGISTER),children:n("LoginModal.registerWithEmail")}),$.jsx(ti,{className:"w-full"}),$.jsxs("span",{className:"text-grey-600 text-center text-xxxs",children:[n("LoginModal.termsOfUse1")," ",$.jsx(cX,{href:`${p}/termos`,target:"_blank",className:"underline",children:n("LoginModal.termsOfUse2")})," ",n("LoginModal.termsOfUse3")," ",$.jsx(cX,{href:`${p}/privacidade`,target:"_blank",className:"underline",children:n("LoginModal.termsOfUse4")})," ",n("LoginModal.termsOfUse5",{name:h})]})]})]})}function AV({onClose:e}){let t=(0,S.useTranslations)("ResetPassword");return $.jsxs("div",{className:"flex flex-col justify-center text-center",children:[$.jsxs("div",{className:"flex flex-col items-center gap-2 p-2",children:[$.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='49'%20height='48'%20viewBox='0%200%2049%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='24.5'%20cy='24'%20r='23'%20fill='%23CEF2E5'%20stroke='%2300C67F'%20stroke-width='2'/%3e%3cpath%20d='M17.0981%2025.8505L22.4813%2031.4019C25.0144%2024.1253%2027.
1541241%2020.9323%2031.9019%2016.5981'%20stroke='%2300C67F'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",alt:"success icon",width:48,height:48}),$.jsx("p",{children:t("confirmationModal")})]}),$.jsx("div",{className:"mt-4 self-center",children:$.jsx(tt,{variant:"primary",className:"w-48",onClick:e,children:t("ok")})})]})}"u">typeof window&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ax({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ax({css:` 155.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});var AU=e=>{switch(e){case"success":return AY;case"info":return AK;case"warning":return AZ;case"error":return AQ;default:return null}},Aq=Array(12).fill(0),AG=({visible:e,className:t})=>M.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},M.createElement("div",{className:"sonner-spinner"},Aq.map((e,t)=>M.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),AY=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),AZ=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),AK=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),AQ=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},M.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),AX=M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},M.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),M.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),AJ=()=>
155{let[e,t]=M.useState(document.hidden);return M.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},A1=1,A0=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...o}=e,i="number"==typeof e?.id||(null==(t=e.id)?void 0:t.length)>0?e.id:A1++,l=this.toasts.find(e=>e.id===i),s=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),l?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:n}),{...t,...e,id:i,dismissible:s,title:n}):t):this.addToast({title:n,...o,dismissible:s,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
155this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n;if(!t)return;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let o=e instanceof Promise?e:e(),i=void 0!==n,l,s=o.then(async e=>{if(l=["resolve",e],M.isValidElement(e))i=!1,this.create({id:n,type:"default",message:e});else if(A2(e)&&!e.ok){i=!1;let o="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,l="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:"error",message:o,description:l})}else if(void 0!==t.success){i=!1;let o="function"==typeof t.success?await t.success(e):t.success,l="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"success",message:o,description:l})}}).catch(async e=>{if(l=["reject",e],void 0!==t.error){i=!1;let o="function"==typeof t.error?await t.error(e):t.error,l="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"error",message:o,description:l})}}).finally(()=>{var e;i&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)}),u=()=>new Promise((e,t)=>s.then(()=>"reject"===l[0]?t(l[1]):e(l[1])).catch(t));return"string"!=typeof n&&"number"!=typeof n?{unwrap:u}:Object.assign(n,{unwrap:u})},this.custom=(e,t)=>{let n=t?.id||A1++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},A2=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,A3=Object.assign((e,t)=>{let n=t?.id||A1++;return A0.addToast({title:e,...t,id:n}),n},{success:A0.success,info:A0.info,warning:A0.warning,error:A0.error,custom:A0.custom,message:A0.message,promise:A0.promise,dismiss:A0.dismiss,loading:A0.loading},{getHistory:()=>A0.toasts,getToasts:()=>A0.getActiveToasts()});function A5(e){return void 0!==e.label}function A4(...e){return e.filter(Boolean).join(" ")}!function(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
155left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
155:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
155--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 156`);var A6=e=>{var t,n,o,i,l,s,u,c,d,f,h,p,m,g;let{invert:v,toast:y,unstyled:b,interacting:w,setHeights:x,visibleToasts:E,heights:C,index:k,toasts:_,expanded:S,removeToast:j,defaultRichColors:O,closeButton:L,style:A,cancelButtonStyle:T,actionButtonStyle:P,className:N="",descriptionClassName:F="",duration:R,position:$,gap:D,loadingIcon:z,expandByDefault:I,classNames:H,icons:B,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:U}=e,[q,G]=M.useState(null),[Y,Z]=M.useState(null),[K,Q]=M.useState(!1),[X,J]=M.useState(!1),[ee,et]=M.useState(!1),[er,en]=M.useState(!1),[ea,eo]=M.useState(!1),[ei,el]=M.useState(0),[es,eu]=M.useState(0),ec=M.useRef(y.duration||R||4e3),ed=M.useRef(null),ef=M.useRef(null),eh=0===k,ep=k+1<=E,em=y.type,eg=!1!==y.dismissible,ev=y.className||"",ey=y.descriptionClassName||"",eb=M.useMemo(()=>C.findIndex(e=>e.toastId===y.id)||0,[C,y.id]),ew=M.useMemo(()=>{var e;return null!=(e=y.closeButton)?e:L},[y.closeButton,L]),ex=M.useMemo(()=>y.duration||R||4e3,[y.duration,R]),eE=M.useRef(0),eC=M.useRef(0),ek=M.useRef(0),eM=M.useRef(null),[e_,eS]=$.split("-"),ej=M.useMemo(()=>
156C.reduce((e,t,n)=>n>=eb?e:e+t.height,0),[C,eb]),eO=AJ(),eL=y.invert||v,eA="loading"===em;eC.current=M.useMemo(()=>eb*D+ej,[eb,ej]),M.useEffect(()=>{ec.current=ex},[ex]),M.useEffect(()=>{Q(!0)},[]),M.useEffect(()=>{let e=ef.current;if(e){let t=e.getBoundingClientRect().height;return eu(t),x(e=>[{toastId:y.id,height:t,position:y.position},...e]),()=>x(e=>e.filter(e=>e.toastId!==y.id))}},[x,y.id]),M.useLayoutEffect(()=>{if(!K)return;let e=ef.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,eu(n),x(e=>e.find(e=>e.toastId===y.id)?e.map(e=>e.toastId===y.id?{...e,height:n}:e):[{toastId:y.id,height:n,position:y.position},...e])},[K,y.title,y.description,x,y.id]);let eT=M.useCallback(()=>{J(!0),el(eC.current),x(e=>e.filter(e=>e.toastId!==y.id)),setTimeout(()=>{j(y)},200)},[y,j,x,eC]);return M.useEffect(()=>{let e;if((!y.promise||"loading"!==em)&&y.duration!==1/0&&"loading"!==y.type)return S||w||U&&eO?(()=>{if(ek.current<eE.current){let e=new Date().getTime()-eE.current;ec.current=ec.current-e}ek.current=new Date().getTime()})():ec.current!==1/0&&(eE.current=new Date().getTime(),e=setTimeout(()=>{var e;null==(e=y.onAutoClose)||e.call(y,y),eT()},ec.current)),()=>clearTimeout(e)},[S,w,y,em,U,eO,eT]),M.useEffect(()=>{y.delete&&eT()},[eT,y.delete]),M.createElement("li",{tabIndex:0,ref:ef,className:A4(N,ev,H?.toast,null==(t=y?.classNames)?void 0:t.toast,H?.default,H?.[em],null==(n=y?.classNames)?void 0:n[em]),"data-sonner-toast":"","data-rich-colors":null!=(o=y.richColors)?o:O,"data-styled":!(y.jsx||y.unstyled||b),"data-mounted":K,"data-promise":!!y.promise,"data-swiped":ea,"data-removed":X,"data-visible":ep,"data-y-position":e_,"data-x-position":eS,"data-index":k,"data-front":eh,"data-swiping":ee,"data-dismissible":eg,"data-type":em,"data-invert":eL,"data-swipe-out":er,"data-swipe-direction":Y,"data-expanded":!!(S||I&&K),style:{"--index":k,"--toasts-before":k,"--z-index":_.length-k,"--offset":`${X?ei:eC.current}px`,"--initial-height":I?"auto":`${es}px`,...A,...y.style},onDragEnd:()=>{et(!1),G(null),eM.current=null},onPointerDown:e=>{eA||!eg||(ed.current=new Date,el(eC.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(et(!0),eM.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,o;if(er||!eg)return;eM.current=null;let i=Number((null==(e=ef.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),l=Number((null==(t=ef.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),s=new Date().getTime()-(null==(n=ed.current)?void 0:n.getTime()),u="x"===q?i:l;if(Math.abs(u)>=20||Math.abs(u)/s>.11){el(eC.current),null==(o=y.onDismiss)||o.call(y,y),Z("x"===q?i>0?"right":"left":l>0?"down":"up"),eT(),en(!0),eo(!1);return}et(!1),G(null)},onPointerMove:t=>{var n,o,i,l;if(!eM.current||!eg||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let s=t.clientY-eM.current.y,u=t.clientX-eM.current.x,c=null!=(o=e.swipeDirections)?o:function(e){let[t,n]=e.split("-"),o=[];return t&&o.push(t),n&&o.push(n),o}($);!q&&(Math.abs(u)>1||Math.abs(s)>1)&&G(Math.abs(u)>Math.abs(s)?"x":"y");let d={x:0,y:0};"y"===q?(c.includes("top")||c.includes("bottom"))&&(c.includes("top")&&s<0||c.includes("bottom")&&s>0)&&(d.y=s):"x"===q&&(c.includes("left")||c.includes("right"))&&(c.includes("left")&&u<0||c.includes("right")&&u>0)&&(d.x=u),(Math.abs(d.x)>0||Math.abs(d.y)>0)&&eo(!0),null==(i=ef.current)||i.style.setProperty("--swipe-amount-x",`${d.x}px`),null==(l=ef.current)||l.style.setProperty("--swipe-amount-y",`${d.y}px`)}},ew&&!y.jsx?M.createElement("button",{"aria-label":W,"data-disabled":eA,"data-close-button":!0,onClick:eA||!eg?()=>{}:()=>{var e;eT(),null==(e=y.onDismiss)||e.call(y,y)},className:A4(H?.closeButton,null==(i=y?.classNames)?void 0:i.closeButton)},null!=(l=B?.close)?l:AX):null,y.jsx||(0,M.isValidElement)(y.title)?y.jsx?y.jsx:"function"==typeof y.title?y.title():y.title:M.createElement(M.Fragment,null,em||y.icon||y.promise?M.createElement("div",{"data-icon":"",className:A4(H?.icon,null==(s=y?.classNames)?void 0:s.icon)},y.promise||"loading"===y.type&&!y.icon?y.icon||(null!=B&&B.loading?M.createElement("div",{className:A4(H?.loader,null==(p=y?.classNames)?void 0:p.loader,"sonner-loader"),"data-visible":"loading"===em},B.loading):z?M.createElement("div",{className:A4(H?.loader,null==(m
156=y?.classNames)?void 0:m.loader,"sonner-loader"),"data-visible":"loading"===em},z):M.createElement(AG,{className:A4(H?.loader,null==(g=y?.classNames)?void 0:g.loader),visible:"loading"===em})):null,"loading"!==y.type?y.icon||B?.[em]||AU(em):null):null,M.createElement("div",{"data-content":"",className:A4(H?.content,null==(u=y?.classNames)?void 0:u.content)},M.createElement("div",{"data-title":"",className:A4(H?.title,null==(c=y?.classNames)?void 0:c.title)},"function"==typeof y.title?y.title():y.title),y.description?M.createElement("div",{"data-description":"",className:A4(F,ey,H?.description,null==(d=y?.classNames)?void 0:d.description)},"function"==typeof y.description?y.description():y.description):null),(0,M.isValidElement)(y.cancel)?y.cancel:y.cancel&&A5(y.cancel)?M.createElement("button",{"data-button":!0,"data-cancel":!0,style:y.cancelButtonStyle||T,onClick:e=>{var t,n;A5(y.cancel)&&eg&&(null==(n=(t=y.cancel).onClick)||n.call(t,e),eT())},className:A4(H?.cancelButton,null==(f=y?.classNames)?void 0:f.cancelButton)},y.cancel.label):null,(0,M.isValidElement)(y.action)?y.action:y.action&&A5(y.action)?M.createElement("button",{"data-button":!0,"data-action":!0,style:y.actionButtonStyle||P,onClick:e=>{var t,n;A5(y.action)&&(null==(n=(t=y.action).onClick)||n.call(t,e),e.defaultPrevented||eT())},className:A4(H?.actionButton,null==(h=y?.classNames)?void 0:h.actionButton)},y.action.label):null))};function A7(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}(0,M.forwardRef)(function(e,t){let{invert:n,position:o="bottom-right",hotkey:i=["altKey","KeyT"],expand:l,closeButton:s,className:u,offset:c,mobileOffset:d,theme:f="light",richColors:h,duration:p,style:m,visibleToasts:g=3,toastOptions:v,dir:y=A7(),gap:b=14,loadingIcon:w,icons:x,containerAriaLabel:E="Notifications",pauseWhenPageIsHidden:C}=e,[k,_]=M.useState([]),S=M.useMemo(()=>Array.from(new Set([o].concat(k.filter(e=>e.position).map(e=>e.position)))),[k,o]),[O,L]=M.useState([]),[A,T]=M.useState(!1),[P,N]=M.useState(!1),[F,R]=M.useState("system"!==f?f:"u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),$=M.useRef(null),D=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),z=M.useRef(null),I=M.useRef(!1),H=M.useCallback(e=>{_(t=>{var n;return null!=(n=t.find(t=>t.id===e.id))&&n.delete||A0.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return M.useEffect(()=>A0.subscribe(e=>{if(e.dismiss){_(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t));return}setTimeout(()=>{j.flushSync(()=>{_(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[]),M.useEffect(()=>{if("system"!==f){R(f);return}if("system"===f&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?R("dark"):R("light")),typeof window>"u")return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{R(e?"dark":"light")})}catch{e.addListener(({matches:e})=>{try{R(e?"dark":"light")}catch(e){console.error(e)}})}},[f]),M.useEffect(()=>{k.length<=1&&T(!1)},[k]),M.useEffect(()=>{let e=e=>{var t,n;i.every(t=>e[t]||e.code===t)&&(T(!0),null==(t=$.current)||t.focus()),"Escape"===e.code&&(document.activeElement===$.current||null!=(n=$.current)&&n.contains(document.activeElement))&&T(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[i]),M.useEffect(()=>{if($.current)return()=>{z.current&&(z.current.focus({preventScroll:!0}),z.current=null,I.current=!1)}},[$.current]),M.createElement("section",{ref:t,"aria-label":`${E} ${D}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},S.map((t,o)=>{var i;let f;let[E,_]=t.split("-");return k.length?M.createElement("ol",{key:t,dir:"auto"===y?A7():y,tabIndex:-1,ref:$,className:u,"data-sonner-toaster":!0,"data-theme":F,"data-y-position":E,"data-lifted":A&&k.length>1&&!l,"data-x-position":_,style:{"--front-toast-height":`${(null==(i=O[0])?void 0:i.height)||0}px`,"--width":"356px","--gap":`${b}px`,...m,...(f={}
156,[c,d].forEach((e,t)=>{let n=1===t,o=n?"--mobile-offset":"--offset",i=n?"16px":"32px";function l(e){["top","right","bottom","left"].forEach(t=>{f[`${o}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?l(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?f[`${o}-${t}`]=i:f[`${o}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):l(i)}),f)},onBlur:e=>{I.current&&!e.currentTarget.contains(e.relatedTarget)&&(I.current=!1,z.current&&(z.current.focus({preventScroll:!0}),z.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||I.current||(I.current=!0,z.current=e.relatedTarget)},onMouseEnter:()=>T(!0),onMouseMove:()=>T(!0),onMouseLeave:()=>{P||T(!1)},onDragEnd:()=>T(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||N(!0)},onPointerUp:()=>N(!1)},k.filter(e=>!e.position&&0===o||e.position===t).map((o,i)=>{var u,c;return M.createElement(A6,{key:o.id,icons:x,index:i,toast:o,defaultRichColors:h,duration:null!=(u=v?.duration)?u:p,className:v?.className,descriptionClassName:v?.descriptionClassName,invert:n,visibleToasts:g,closeButton:null!=(c=v?.closeButton)?c:s,interacting:P,position:t,style:v?.style,unstyled:v?.unstyled,classNames:v?.classNames,cancelButtonStyle:v?.cancelButtonStyle,actionButtonStyle:v?.actionButtonStyle,removeToast:H,toasts:k.filter(e=>e.position==o.position),heights:O.filter(e=>e.position==o.position),setHeights:L,expandByDefault:l,gap:b,loadingIcon:w,expanded:A,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});let A8=jr({email:je().email({message:"invalidEmail"})});function A9({setCurrentPage:e,onAfterRecover:t}){let n=(0,S.useTranslations)("ResetPassword"),o=(0,S.useTranslations)("FormErrors"),{executeRecaptchaAction:i,recaptchaRef:l,resetRecaptcha:s}=jI(),{errors:u,onSubmit:c,register:d,isLoading:f,clearErrors:h}=function(e){let t=(0,S.useTranslations)("Login"),{mutateAsync:n,isLoading:o}=function(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:hB});return{mutateAsync:e,isLoading:t}}(),{handleSubmit:i,register:l,setValue:s,formState:{errors:u},setError:c,clearErrors:d}=ji({schema:A8});return{onSubmit:i(async o=>{try{let i=await e?.executeRecaptchaAction?.(dd.RECOVER_PASSWORD);if(!i){c("root",{message:"reCAPTCHA validation failed"});return}await n({email:o.email,"g-recaptcha-response":i}),A3.success(t("resetPasswordEmailSent")),e?.onAfterRecover&&e.onAfterRecover()}catch(t){e?.resetRecaptcha?.(),mb(t)}}),register:l,errors:u,isLoading:o,setValue:s,setError:c,clearErrors:d}}({onAfterRecover:t,executeRecaptchaAction:i,resetRecaptcha:s});return $.jsxs("div",{className:"w-full md:w-80 flex flex-col justify-center gap-6 px-2",children:[$.jsxs("div",{className:"flex flex-col gap-2",children:[$.jsx("h1",{className:"font-semibold text-2xl text-center leading-[1.813rem]",children:n("resetPassword")}),$.jsx("p",{className:"flex flex-wrap text-center leading-6 text-xs font-normal text-gray-600",children:n("instructions")})]}),$.jsxs("form",{onSubmit:c,className:"flex flex-col gap-4",children:[$.jsx(oD,{type:"text",label:n("emailLabel"),error:u.email?.message&&o(u.email?.message),placeholder:n("typeEmail"),...d("email")}),$.jsx(Ls,{ref:l,onVerify:e=>{e&&u.root?.message?.includes("reCAPTCHA")&&h("root")},onExpire:()=>{},onError:()=>{}}),u.root&&$.jsx("div",{className:"text-red-500 text-sm text-center",children:o(u.root.message||"")}),$.jsx(tt,{type:"submit",variant:"primary",className:"w-full",isLoading:f,onClick:()=>v6("forgot_pass"),children:n("submit")})]}),$.jsxs("div",{className:"flex flex-row items-center justify-center",children:[$.jsx("h1",{className:"text-xxs text-center",children:n("dontHaveAccount")}),$.jsx(tt,{variant:"text",className:"text-xxs p-0 pl-1 h-6",style:{color:"var(--color-primary-light)"},onClick:()=>{e(OR.REGISTER),v6("clk_submit_signup_modal")},children:n("register")})]})]})}let Te=_D().shape({email:__().email("invalidEmail").required("requiredField"),firstName:__().transform(_H).min(2,"nameMinLength").matches(_I,{message:"invalidName",excludeEmptyString:!0}).required("requiredField"),lastName:__().transform(_H).min(2,"lastNameMinLength").matches(_I,{message:"invalidLastName",excludeEmptyString:!0}).required("requiredField"),document:__().when("is_foreign",{is:!1,then:e=>
156e.required("requiredField").test("cpf","invalidDocument",e=>h5.Cpf.isValid(e||"")),otherwise:e=>e.optional()}),telephone:__().required("requiredField"),password:__().min(6,"passwordMinLength").test("sequential","passwordCannotHaveSequentialNumbers",e=>!e||!_B.test(e)).test("identical","passwordCannotHaveRepeatedCharacters",e=>!e||!_V.test(e)).test("alphanumeric","passwordMustBeAlphanumerical",e=>!e||_W.test(e)).required("requiredField"),confirmPassword:__().min(6,"confirmPasswordMinLength").oneOf([new _l("password",void 0)],"passwordsMustMatch").required("requiredField"),is_foreign:_m().default(!1),nationality:__().when("is_foreign",{is:!0,then:e=>e.min(1,"nationalityRequired").required("nationalityRequired"),otherwise:e=>e.optional()}),passport:__().transform(e=>e?.toUpperCase()).when("is_foreign",{is:!0,then:e=>e.min(6,"passportMinLength").max(9,"passportMaxLength").matches(_U,"passportInvalidCharacters").required("passportMinLength"),otherwise:e=>e.optional()}),"g-recaptcha-response":__().optional()});var Tt=["title"],Tr=["title"],Tn=["title"],Ta=["title"],To=["title"],Ti=["title"],Tl=["title"],Ts=["title"],Tu=["title"],Tc=["title"],Td=["title"],Tf=["title"],Th=["title"],Tp=["title"],Tm=["title"],Tg=["title"],Tv=["title"],Ty=["title"],Tb=["title"],Tw=["title"],Tx=["title"],TE=["title"],TC=["title"],Tk=["title"],TM=["title"],T_=["title"],TS=["title"],Tj=["title"],TO=["title"],TL=["title"],TA=["title"],TT=["title"],TP=["title"],TN=["title"],TF=["title"],TR=["title"],T$=["title"],TD=["title"],Tz=["title"],TI=["title"],TH=["title"],TB=["title"],TW=["title"],TV=["title"],TU=["title"],Tq=["title"],TG=["title"],TY=["title"],TZ=["title"],TK=["title"],TQ=["title"],TX=["title"],TJ=["title"],T1=["title"],T0=["title"],T2=["title"],T3=["title"],T5=["title"],T4=["title"],T6=["title"],T7=["title"],T8=["title"],T9=["title"],Pe=["title"],Pt=["title"],Pr=["title"],Pn=["title"],Pa=["title"],Po=["title"],Pi=["title"],Pl=["title"],Ps=["title"],Pu=["title"],Pc=["title"],Pd=["title"],Pf=["title"],Ph=["title"],Pp=["title"],Pm=["title"],Pg=["title"],Pv=["title"],Py=["title"],Pb=["title"],Pw=["title"],Px=["title"],PE=["title"],PC=["title"],Pk=["title"],PM=["title"],P_=["title"],PS=["title"],Pj=["title"],PO=["title"],PL=["title"],PA=["title"],PT=["title"],PP=["title"],PN=["title"],PF=["title"],PR=["title"],P$=["title"],PD=["title"],Pz=["title"],PI=["title"],PH=["title"],PB=["title"],PW=["title"],PV=["title"],PU=["title"],Pq=["title"],PG=["title"],PY=["title"],PZ=["title"],PK=["title"],PQ=["title"],PX=["title"],PJ=["title"],P1=["title"],P0=["title"],P2=["title"],P3=["title"],P5=["title"],P4=["title"],P6=["title"],P7=["title"],P8=["title"],P9=["title"],Ne=["title"],Nt=["title"],Nr=["title"],Nn=["title"],Na=["title"],No=["title"],Ni=["title"],Nl=["title"],Ns=["title"],Nu=["title"],Nc=["title"],Nd=["title"],Nf=["title"],Nh=["title"],Np=["title"],Nm=["title"],Ng=["title"],Nv=["title"],Ny=["title"],Nb=["title"],Nw=["title"],Nx=["title"],NE=["title"],NC=["title"],Nk=["title"],NM=["title"],N_=["title"],NS=["title"],Nj=["title"],NO=["title"],NL=["title"],NA=["title"],NT=["title"],NP=["title"],NN=["title"],NF=["title"],NR=["title"],N$=["title"],ND=["title"],Nz=["title"],NI=["title"],NH=["title"],NB=["title"],NW=["title"],NV=["title"],NU=["title"],Nq=["title"],NG=["title"],NY=["title"],NZ=["title"],NK=["title"],NQ=["title"],NX=["title"],NJ=["title"],N1=["title"],N0=["title"],N2=["title"],N3=["title"],N5=["title"],N4=["title"],N6=["title"],N7=["title"],N8=["title"],N9=["title"],Fe=["title"],Ft=["title"],Fr=["title"],Fn=["title"],Fa=["title"],Fo=["title"],Fi=["title"],Fl=["title"],Fs=["title"],Fu=["title"],Fc=["title"],Fd=["title"],Ff=["title"],Fh=["title"],Fp=["title"],Fm=["title"],Fg=["title"],Fv=["title"],Fy=["title"],Fb=["title"],Fw=["title"],Fx=["title"],FE=["title"],FC=["title"],Fk=["title"],FM=["title"],F_=["title"],FS=["title"],Fj=["title"],FO=["title"],FL=["title"],FA=["title"],FT=["title"],FP=["title"],FN=["title"],FF=["title"],FR=["title"],F$=["title"],FD=["title"],Fz=["title"],FI=["title"],FH=["title"],FB=["title"],FW=["title"],FV=["title"],FU=["title"],Fq=["title"],FG=["title"],FY=["title"],FZ=["title"],FK=["title"],FQ=["title"],FX=["title"],FJ=["title"],F1=["title"],F0=["title"],F2=["title"],F3=["title"],F5=["title"],F4=["title"],F6=["title"],F7=["title"],F8=["title"],F9=["title"],Re=["title"],Rt=["title"],Rr=["title"],Rn=["title"],Ra=["title"],Ro=["title"],Ri=["title"],Rl=["title"],Rs=["title"],Ru=["title"];function Rc(){return(Rc=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(this,arguments)}function Rd(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n,o,i={},l=Object.keys(e);for(o=0;o<l.length;o++)n=l[o],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(o=0;o<l.length;o++)n=l[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var Rf=function(e){var t=e.title,n=Rd(e,Tt);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M440.1 181.1c-.1 39.2-6.4 81.4-57.4 101.5-51.1-20.1-57.3-62.3-57.4-101.5h114.8z"}),M.createElement("path",{fill:"#29DBFF",d:"M439.6 197.7c-2.8 34.9-12.4 67.4-57 85-44.4-17.6-54.5-51.2-56.9-84.9"}),M.createElement("path",{fill:"#FFF",d:"M437.8 214.1c-3.2 24.3-16.7 53.5-55.1 68.6-38.4-15.1-50.5-42.5-55.1-68.4"}),M.createElement("path",{fill:"#29DBFF",d:"M434.2 230.3c-5.7 17.7-19.3 39.4-51.3 52.8-32-12.6-45.2-33.8-51.4-53"}),M.createElement("path",{fill:"#FFF",d:"M426.7 246.9c-6.5 11.3-17.7 25.4-44 35.9-27.5-11.5-37.4-25.3-44-36.1"}),M.createElement("path",{fill:"#29DBFF",d:"M412.4 265.1c-8.1 7.2-12 11.2-29.6 17.9-20.1-7.9-22.6-11.6-29.2-17.5"}),M.createElement("path",{fill:"#5CC85C",d:"M383.3 231.6c-.2-.2-27.9 35.7-27.9 35.7-1.8-1.3-10-9.5-13.3-15l41.3-50.1 40.2 49.7c-3.9 6.5-11.4 13.6-13.2 15M382.6 85.3l-26.5 45h53z"}),M.createElement("ellipse",{transform:"rotate(-82.3 291.431 225.686)",fill:"#F7A226",cx:291.4,cy:225.7,rx:48.7,ry:15.7}),M.createElement("ellipse",{transform:"rotate(-68.099 303.087 164.67)",fill:"#DDC7AB",cx:303.1,cy:164.7,rx:11.7,ry:7.2}),M.createElement("ellipse",{transform:"rotate(-81.738 291.697 271.697)",fill:"#DDC7AB",cx:291.7,cy:271.7,rx:11.4,ry:3.3}),M.createElement("ellipse",{transform:"matrix(.9986 -.05353 .05353 .9986 -13.992 16.424)",fill:"#DDC7AB",cx:299.6,cy:269.4,rx:3.3,ry:11}),M.createElement("ellipse",{transform:"rotate(-21.518 314.54 201.06)",fill:"#DDC7AB",cx:314.5,cy:201.1,rx:4.1,ry:13.7}),M.createElement("ellipse",{transform:"rotate(-21.518 317.511 178.077)",fill:"#DDC7AB",cx:317.5,cy:178.1,rx:13.7,ry:4.1}),M.createElement("ellipse",{transform:"rotate(-7.7 473.781 225.857)",fill:"#F7A226",cx:473.6,cy:225.9,rx:15.7,ry:48.7}),M.createElement("ellipse",{transform:"rotate(-21.901 462.057 164.866)",fill:"#DDC7AB",cx:462,cy:164.9,rx:7.2,ry:11.7}),M.createElement("ellipse",{transform:"rotate(-8.27 473.27 271.908)",fill:"#DDC7AB",cx:473.4,cy:271.9,rx:3.3,ry:11.4}),M.createElement("ellipse",{transform:"matrix(.05353 -.9986 .9986 .05353 171.34 719.998)",fill:"#DDC7AB",cx:465.5,cy:269.6,rx:11,ry:3.3}),M.createElement("ellipse",{transform:"rotate(-68.482 450.552 201.247)",fill:"#DDC7AB",cx:450.6,cy:201.2,rx:13.7,ry:4.1}),M.createElement("ellipse",{transform:"rotate(-68.482 447.58 178.265)",fill:"#DDC7AB",cx:447.6,cy:178.3,rx:4.1,ry:13.7}),M.createElement("path",{fill:"#B0C6CC",d:"M373.3 130.3 356.1 155l17.8 26.1H396l4.7-25.4-5.4-25.4z"}),M.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0
156h64v48.9L233.4 0z"}),M.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),M.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),M.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}))},Rh=function(e){var t=e.title,n=Rd(e,Tr);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342zM198.9 113.6H256v64.8h-57.1z"}),M.createElement("path",{d:"M267.6 113.6v64.7m16.6-64.7v64.7m16.6-64.7v64.7",stroke:"#D80027",strokeWidth:7}),M.createElement("path",{d:"M247.4 178.4v64.7m-13.3-64.7v64.7m-13.3-64.6v53.9m-13.7-53.9v47.1",stroke:"#D80027",strokeWidth:5}),M.createElement("path",{fill:"#FFDA44",d:"m199.9 146 27.6-32.4 28.5 32.3-28.1 32.4z"}),M.createElement("path",{fill:"#BC8B00",d:"M182.2 95.9v92.2c0 34.3 27.3 54.2 48.6 64.5-.8 1.4 25.1 8.3 25.1 8.3s25.9-6.9 25.1-8.3c21.4-10.3 48.6-30.1 48.6-64.5V95.9H182.2zm129.9 92.2c0 16.9-10 29.4-32.8 43.9-8.6 5.5-17.5 9-23.3 11-5.8-2-14.7-5.5-23.3-11-22.8-14.5-32.8-28-32.8-43.9v-74.5h112.2v74.5z"}),M.createElement("path",{fill:"#D80027",d:"M264.4 188.9h29.5v8.6h-29.5zm0 17.6h29.5v8.6h-29.5z"}))},Rp=function(e){var t=e.title,n=Rd(e,Tn);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#009e49",d:"M0 0h513v114H0z"}),M.createElement("path",{d:"M0 228h513v114H0z"}),M.createElement("path",{fill:"#ce1126",d:"M0 0h171v342H0z"}))},Rm=function(e){var t=e.title,n=Rd(e,Ta);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#DB3E00",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#479900",d:"M331 0h182v342H331z"}),M.createElement("path",{d:"M0 0h181.8v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 126.7c-19.4 0-35.2 15.8-35.2 35.2v52.8h70.4v-52.8c0-19.5-15.8-35.2-35.2-35.2z"}),M.createElement("path",{fill:"#FFF",d:"M256 84.3c-47.7 0-86.4 38.7-86.4 86.4S208.3 257 256 257s86.4-38.7 86.4-86.4-38.7-86.3-86.4-86.3zm0 157.7c-39.4 0-71.4-32-71.4-71.4 0-39.4 32-71.4 71.4-71.4 39.4 0 71.4 32 71.4 71.4 0 39.5-32 71.4-71.4 71.4z"}))},Rg=function(e){var t=e.title,n=Rd(e,To);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#0072c6",d:"M88.8 136.5c-2.2 12.9-3.4 26.2-3.4 39.8 0 13.6 1.2 27 3.4 39.8L256 228.3l167.2-12.1c2.2-12.9 3.4-26.2 3.4-39.8s-1.2-27-3.4-39.8"}),M.createElement("path",{fill:"#FFF",d:"M423.2 219H88.8c15.8 69.8 84.7 122.3 167.2 122.3S407.4 288.8 423.2 219z"}),M.createElement("path",{fill:"#FFDA44",d:"M365.9 136.5H146.1l44.9-21.1-23.9-43.5 48.8 9.4L222 32l34 36.2L290 32l6.1 49.3 48.8-9.4-23.9 43.5z"}),M.createElement("g",{fill:"#ce1126"},M.createElement("path",{d:"M256.5 342 0 0v342z"}),M.createElement("path",{d:"M513 342V0L256 342z"})))},Rv=function(e){var t=e.title,n=Rd(e,Ti);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#00318b",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M454.8 265.38c7.94-10.93 13.24-24.27 13.24-40.42V104.89a59.754 59.754 0 0 1-36.02 12.01c-19.64 0-37.07-9.43-48.03-24.01-10.95 14.58-28.39 24.01-48.03 24.01-13.52 0-25.99-4.47-36.02-12v120.06c0 16.16 5.3 29.5 13.24 40.42H454.8z"}),M.createElement("path",{fill:"#8DCCFF",d:"M310.23 260.98C332.65 296.96 384 309 384 309s51.35-12.04 73.77-48.02H310.23z"}),M.createElement("path",{fill:"#D87B00",d:"M396.66 172.21c.32 1.42 8.72 10.17 17.56 20.15 1.39 1.57-8.74 12.63-6.91 12.59 4.75-.12 19.27-17.26 19.34 6.65.05 15.94-30 27.51-30 27.51h17.47l.65 14.96s4.97-13.34 7.59-16.57c8.1-9.97 20.18-30.07 34.59-27.1 14.41 2.97-13.66-13.92-13.66-13.92s-5.2-15.19-16.63-16.97c-10.06-1.57-14.29-2.51-26.64-7.3-1.68-.65-3.88-2.32-3.36 0z"}),M.createElement("path",{fill:"#D87B00",d:"M359.69 198.69c1.07-.99 4.46-12.63 8.69-25.28.67-1.99 15.31 1.27 14.35-.3-2.47-4.06-24.58-8.08-3.9-20.08 13.79-8 38.82 12.27 38.82 12.27l-8.72-15.14 12.64-8.03s-14.05 2.35-18.14 1.69c-12.68
156-2.04-36.13-2.48-40.75-16.45-4.62-13.97-5.25 18.79-5.25 18.79s-10.56 12.08-6.4 22.88c3.66 9.5 4.96 13.64 6.97 26.73.29 1.79-.06 4.53 1.69 2.92z"}),M.createElement("path",{fill:"#D87B00",d:"M395.67 219.87c-1.39-.43-13.16 2.49-26.22 5.18-2.06.42-6.59-13.88-7.47-12.26-2.27 4.17 5.36 25.31-15.41 13.45-13.84-7.91-8.89-39.73-8.89-39.73l-8.71 15.14-13.29-6.9s9.09 10.96 10.57 14.84c4.6 11.99 16 32.49 6.24 43.49-9.76 11.01 18.88-4.9 18.88-4.9s15.76 3.07 23-5.96c6.38-7.94 9.3-11.14 19.61-19.45 1.43-1.12 3.97-2.19 1.69-2.9z"}),M.createElement("path",{fill:"#FFF",d:"M256.5 0h-23.1L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1V171h22.6L96 121.8V171h64v-49.2l73.4 49.2h23.1v-22.9l-46.6-30.7h46.6v-64h-46.6l46.6-30.7z"}),M.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112V171h32v-69.6h112.5v-32H144z"}),M.createElement("path",{fill:"#D80027",d:"M0 171v-11.3l62.5-42.3h22.6L7.3 171zM7.3.1l77.8 53.2H62.5L0 11.1V.1zm249.2 0v11l-63 42.3h-22.6L248.7.1zM248.7 171l-77.8-53.6h22.6l63 42.3V171z"}))},Ry=function(e){var t=e.title,n=Rd(e,Tl);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#ED2024",d:"M0 0h90v60H0z"}),M.createElement("path",{fill:"#212121",d:"M32.5 12.2v16l7.1 2.5-5 4.9 2.4 3 5.3-5.5 1.2 2.3-3 4.9 3.6 5.6-1.8 2.6 2.8 3.6 2.7-3.7-1.5-2.6 3-5.8-2.7-4.6 1.2-2.3 5.2 5.5 2.5-2.9-5.2-5.1 7.2-2.6V12.2l-5.2 1.9-.1 3.8-3.3.3v-2.6l1.7-2.3 5.6-2.2-2.3-.4 1.4-1.2.9.4-.8-1.4L54 9l-1-1.1L47.5 9l1.4 1.1-3.8 4.9-3.8-4.8 1.3-1.1-5-1.2L36.2 9l-1.5-.4-.8 1.4.9-.6 1.6 1.1-2.3.5 5.5 2 1.6 2.3v2.9l-3.3-.3v-3.6z"}),M.createElement("path",{d:"M26.2 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM57.4 25h6.4v2.5h-6.4zm0-4.1h6.4v2.7h-6.4zm0-4.2h6.4v2.6h-6.4zm0-4h6.4v2.5h-6.4zM53.4 36.1h6.4V38h-6.4zm-23.2 0h6.4V38h-6.4z",fill:"#212121"}))},Rb=function(e){var t=e.title,n=Rd(e,Ts);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#FF9811",d:"M0 228h513v114H0z"}))},Rw=function(e){var t=e.title,n=Rd(e,Tu);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 171h513v171H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v171H0z"}),M.createElement("g",{fill:"#FFDA44"},M.createElement("path",{d:"m332.7 135.6 17.5-8.6-7.4-19-18.7 6.2zm-45.6-56 5.5-18.8-19.1-7.2-8 18zm29.4 23.2 12.2-15.3-14.9-13.9-14.2 13.6zm19.4 68.9 19.5-.8v-21.3l-22.9.2zm-12.6 38.1 18.8 5.5 7.3-19-18-8zm-29 32.4 14.9 12.7 14.4-14.4-13.1-14.7zm-47-147.7 9.8 19.9 21.9 3.3-15.9 15.5 3.6 21.9-19.6-10.4-19.7 10.2 3.8-21.9-15.8-15.5 22-3.1z"}),M.createElement("path",{d:"m250.8 61.3-2.7 18.3c43.1 3.2 77 39.2 77 83.1 0 46-37.3 82.9-83.4 83.4-29.2.3-51.3-14.8-67-33.7l-13.9 12.3c15 19 40.8 39.9 80.9 39.9 56.3 0 101.9-45.6 101.9-101.9.1-53.2-40.7-96.9-92.8-101.4z"}),M.createElement("path",{fill:"#000",d:"m291.9 223.4-11.8 14s51.9 38.9 53.6 40.4c1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-2-1.5-51.8-42-51.8-42z"}),M.createElement("path",{d:"M206.1 157.2c-7.7 10.3-7.5 23.1 2.8 30.9 0 0 135.2 101.5 136.9 103 1.7 1.5 5.2 2 9.1-2.7 3.7-4.5 2.8-8.1.9-9.7-1.9-1.5-149.7-121.5-149.7-121.5zm47.7 99.1 7.3 18.2 19.5-6-4.8-19.1zm-40.4-3.7-2 19.5 20.1 3.6 4.5-19.1zm-35.7-21.2L167.4 248l16.4 12.1 12.5-15.2z"})))},Rx=function(e){var t=e.title,n=Rd(e,Tc);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 744 496"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#3A7DCE",d:"M0 0h744v496H0V0z"}),M.createElement("path",{fill:"#fff",d:"m120 125 90 63 54-14 23-81 61-36 92 14 105 55 6 90 34 12v92l-65 115-78 24-72-17 18-30-8-32-10 9-162-25-49-85 20-46-49-62z"}))},RE=function(e){var t=e.title,n=Rd(e,Td);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),M.createElement("path",{fill:"#338AF3",d:"M0 0h512v114H0zm0 228h512v114H0z"}),M.createElement("circle",{fill:"#FFDA44",stroke:"#d6ab00",strokeWidth:5,cx:256.5,cy:171,r:40}))},RC=function(e){var t=e.title,n=Rd(e,Tf);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M513 33 95.3 171 513 310.76V342L0 171 513 0z"}),M.createElement("path",{fill:"#FFF",d:"M513 287.18v24.58L81.72 171 513 30v24.16"}),M.createElement("path",{fill:"#A2001D",d:"m476.98 140.21-21.89 10.68-3.18-15.32 31.19-29.77s-9.42-40.65-13.75-44.98l-112.32 55.82-6.84 36.76-31.9 28.59-.4 34.2 34.29-22.76 67.23-2.66-1.51 38.11h22.23l11.9-44.64 31.55-24.61-6.6-19.42z"}),M.createElement("path",{fill:"#EFC100",stroke:"#231F20",strokeMiterlimit:10,d:"m317.89 238.41-22.24-11.11 22.24-11.11h144.46v22.22z"}))},Rk=function(e){var t=e.title,n=Rd(e,Th);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0zm0 228h513v114H0z"}))},RM=function(e){var t=e.title,n=Rd(e,Tp);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#10338c",d:"M0 0h513v342H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M222.2 170.7c.3-.3.5-.6.8-.9-.2.3-.5.6-.8.9zM188 212.6l11 22.9 24.7-5.7-11 22.8 19.9 15.8-24.8 5.6.1 25.4-19.9-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9L332 136zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm42.5 49.7 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V1
15650l-9.4-7.6-9.5 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zM398 166.5l4.1 12.7h13.3l-10.8 7.8 4.2 12.7-10.8-7.9-10.8 7.9 4.1-12.7-10.7-7.8h13.3z"}),M.createElement("path",{d:"M254.8 0v30.6l-45.1 25.1h45.1V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9H99v-48.6l-87.4 48.6H-1.2v-30.6L44 115H-1.2V55.7h59.1L-1.2 22.8V0h26.7L99 40.8V0h55.6v48.6L242.1 0z"})),M.createElement("path",{fill:"#D80027",d:"M142.8 0h-32v69.3h-112v32h112v69.4h32v-69.4h112v-32h-112z"}),M.createElement("path",{fill:"#0052B4",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),M.createElement("path",{fill:"#FFF",d:"m154.6 115 100.2 55.7v-15.8L183 115z"}),M.createElement("path",{d:"m154.6 115 100.2 55.7v-15.8L183 115zm-83.9 0-71.9 39.9v15.8L99 115z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),M.createElement("path",{fill:"#FFF",d:"M99 55.7-1.2 0v15.7l71.9 40z"}),M.createElement("path",{d:"M99 55.7-1.2 0v15.7l71.9 40zm84 0 71.8-40V0L154.6 55.7z",fill:"#D80027"}))},R_=function(e){var t=e.title,n=Rd(e,Tm);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 363 242"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 0h363v242H0z"}),M.createElement("path",{fill:"#FFF",d:"M57 96.9 14.7 78.2 57 59.6l18.6-42.2 18.6 42.2 42.3 18.6-42.3 18.7-18.6 42.2z"}),M.createElement("path",{fill:"#f30028",d:"m75.6 40.6 11.5 26.1 26.1 11.5-26.1 11.5-11.5 26.1-11.5-26.1L38 78.2l26.1-11.5z"}),M.createElement("path",{d:"M0 152.2h363v15.7H0zm0 31.4h363v15.7H0z",fill:"#FFDA44"}))},RS=function(e){var t=e.title,n=Rd(e,Tg);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M513 210.9H202.2V342h-79.8V210.9H0v-79.8h122.4V0h79.8v131.1H513v61.2z"}),M.createElement("path",{fill:"#D80027",d:"M513 149.7v42.6H183.7V342H141V192.3H0v-42.6h141V0h42.7v149.7z"}))},Rj=function(e){var t=e.title,n=Rd(e,Tv);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#ef3340",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#00b5e2",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#509e2f",d:"M0 228h513v114H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M265.6 212.6c-23 0-41.6-18.6-41.6-41.6s18.6-41.6 41.6-41.6c7.2 0 13.9 1.8 19.8 5-9.2-9-21.9-14.6-35.8-14.6-28.3 0-51.2 22.9-51.2 51.2s22.9 51.2 51.2 51.2c13.9 0 26.6-5.6 35.8-14.6-5.9 3.2-12.6 5-19.8 5z"}),M.createElement("path",{d:"m297.6 142.2 5.5 15.5 14.9-7.1-7.1 14.9 15.5 5.5-15.5 5.5 7.1 14.9-14.9-7.1-5.5 15.5-5.5-15.5-14.9 7.1 7.1-14.9-15.5-5.5 15.5-5.5-7.1-14.9 14.9 7.1z"})))},RO=function(e){var t=e.title,n=Rd(e,Ty);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#10338C",d:"M0 0h513.1v342H0z"}),M.createElement("path",{fill:"#F6C500",d:"M99.9 0h342v342"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M19.9 21.1 40.3 6.2 60.9 21 54 0H26.7z"}),M.createElement("path",{d:"M92.3 25.5 84.4 1.3l-7.8 24.2H51.3l20.5 14.8-7.8 24 20.4-14.8L105 64.3l-7.9-24 20.5-14.9z"}),M.createElement("path",{d:"m136.3 69.2-7.8-24-7.8 24H95.5l20.4 14.9-7.8 24 20.4-14.8 20.6 14.8-7.8-24 20.4-14.9z"}),M.createElement("path",{d:"m179.4 112.3-7.8-24.1-7.8 24.1h-25.3l20.5 14.9-7.8 24 20.4-14.8 20.6 14.8-7.9-24 20.5-15z"}),M.createElement("path",{d:"m222.5 155.3-7.8-24-7.8 24h-25.4l20.6 15-7.8 24 20.4-14.9 20.4 14.9-7.8-24 20.6-15z"}),M.createElement("path",{d:"m265.6 198.4-7.8-24-7.8 24h-25.4l20.6 14.9-7.8 24.1 20.4-14.9 20.4 14.9-7.8-24.2 20.5-14.8z"}),M.createElement("path",{d:"m308.7 241.5-7.9-24-7.8 24h-25.3l20.5 14.8-7.9 24.2 20.6-14.9 20.4 14.8-7.8-24.1 20.5-14.8z"}),M.createElement("path",{d:"m351.7 284.6-7.8-24.2-7.8 24.2h-25.3l20.4 14.8-7.8 24.1 20.5-14.9 20.5 14.9-7.8-24.1 20.4-14.8z"}),M.createElement("path",{d:"m387 303.5-7.9 24.1-25.3.1 19.8 14.3h26.6l19.9-14.4h-25.3z"})))},RL=function(e){var t=e.title,n=Rd(e,Tb);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#ffc726",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#00267f"}),M.createElement("path",{d:"m325.74 101.02-31.97 12.4c-.68 1.35-5.79 7.54-8.18 53.06h-17.05v-60.42L256 78.68l-12.54 27v60.8H226.4c-2.39-45.53-7.8-52.48-8.47-53.84l-31.68-11.63c.15.31 15.4 31.34 15.4 78.01v12.54h41.81v71.07h25.08v-71.07h41.81v-12.54c0-24.13 4.17-44.02 7.68-56.46 3.82-13.57 7.7-21.49 7.74-21.57l-.03.03z"}))},RA=function(e){var t=e.title,n=Rd(e,Tw);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#2d6e41",d:"M0 85.331h513v342H0z"}),M.createElement("circle",{fill:"#F40B32",cx:218.902,cy:256.5,r:115}))},RT=function(e){var t=e.title,n=Rd(e,Tx);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#fdda25",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#ef3340",d:"M342 0h171v342H342z"}))},RP=function(e){var t=e.title,n=Rd(e,TE);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#3d944f",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#ef2b2d",d:"M0 0h513v171H0z"}),M.createElement("path",{fill:"#FFDA44",d:"m256 102.6 16.9 52h54.7l-44.2 32.2 16.8 52-44.2-32.1-44.2 32.1 16.8-52-44.2-32.2h54.7z"}))},RN=function(e){var t=e.title,n=Rd(e,TC);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#00966e",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#d62612",d:"M0 228h513v114H0z"}))},RF=function(e){var t=e.title,n=Rd(e,Tk);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"m222.8 34.3-85.2 34.2 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.1 85.2 34.1-85.2 34.8H0V0h137.6z"}))},RR=function(e){var t=e.title,n=Rd(e,TM);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M215.9 170.7 0 314.6V26.8zM513 26.8v287.8L297.1 170.7z",fill:"#47a644"}),M.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 170.7 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}),M.createElement("path",{fill:"#FFF",d:"M513 26.8 297.1 170.7 513 314.6V342h-40L256 197.4 39 342H0v-27.4l215.9-143.9L0 26.8V0h40.1L256 143.9 471.9 0H513z"}
156),M.createElement("circle",{fill:"#FFF",cx:251.6,cy:170.7,r:100.2}),M.createElement("path",{d:"m251.4 103.6 7.4 12.9h14.8l-7.4 12.8 7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8H244zm38.8 66.7 7.4 12.9h14.8L305 196l7.4 12.8h-14.8l-7.4 12.9-7.4-12.9h-14.9l7.4-12.8-7.4-12.8h14.9zm-77.2 0 7.4 12.9h14.9l-7.4 12.8 7.4 12.8h-14.9l-7.4 12.9-7.4-12.9h-14.8l7.4-12.8-7.4-12.8h14.8z",fill:"#D80027",stroke:"#47a644",strokeWidth:3}))},R$=function(e){var t=e.title,n=Rd(e,T_);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#008751",d:"M0 85.333h513v342H0z"}),M.createElement("path",{fill:"#fcd116",d:"M196.666 85.333H513v171H196.666z"}),M.createElement("path",{fill:"#e8112d",d:"M196.666 256H513v171H196.666z"}))},RD=function(e){var t=e.title,n=Rd(e,TS);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#E6BC00",d:"M157.31 199.76s-9.04 43.93-19.31 40.39c-10.62-3.54-17.53-18.76-17.53-18.76l-14.52 21.24s38.18 8.48 41.01 5.47c1.22-1.14 8.21-15.1 10.34-26.05v-22.29zm-56.13 60.57s-2.48 20.18-1.06 22.66c1.24 2.3 39.48 11.33 39.48 11.33s-24.96 16.46-29.74 20.54L91.8 284.94l-.71-24.61h10.09zm11.33-165.69s39.65 41.6 40.36 45.5c.71 3.72-4.25 3.19-4.25 3.19s-44.79-37.53-49.92-41.07c-5.31-3.55 13.81-7.62 13.81-7.62z"}),M.createElement("path",{fill:"#ADADAD",d:"M99.41 104.73s16.99-.71 16.64-11.51c-.35-10.62-11.15-14.87-19.12-12.39-7.97 2.3-23.01 13.45-13.63 35.05 9.38 21.42 23.37 29.39 26.2 47.8 0 0-5.46 9.86-19.12.35-16.9-11.77-6.2-38.24-10.44-44.96-4.25-7.08-40.95-38.92-40.95-38.92s-30.24 39.37-18 74.92c16.95 49.21 51.74 31.98 64.61 36.76 0 0-42.13 61.96-49.57 67.09 0 0 24.08 8.32 47.8-18.76 0 0 5.84 9.74 7.08 20.18h10.27c4.78-26.2 51.51-64.26 49.92-82.32-1.77-21.25-49.21-49.39-51.69-73.29z"}),M.createElement("path",{fill:"#E6BC00",d:"M359.17 201.27s8.96 42.43 19.23 38.89c10.62-3.54 17.53-18.76 17.53-18.76l14.52 21.24s-37 8.48-39.83 5.47c-1.21-1.14-9.32-13.79-11.52-24.66l.07-22.18zm56.05 59.06s2.48 20.18 1.06 22.66c-1.24 2.3-39.48 11.33-39.48 11.33s24.96 16.46 29.74 20.54l18.06-29.92.71-24.61h-10.09zM403.89 94.64s-39.65 41.6-40.36 45.5c-.71 3.72 4.25 3.19 4.25 3.19s44.79-37.53 49.92-41.07c5.14-3.55-13.81-7.62-13.81-7.62z"}),M.createElement("path",{fill:"#125ECC",d:"M157.31 87.06H359.1v145.46c0 16.06-9.69 21.39-21.91 31.85l-45.92 39.41c-18.25 15.62-47.91 15.57-66.07 0l-46.01-39.43c-12.08-10.35-21.88-15.71-21.88-31.82V87.06z"}),M.createElement("path",{fill:"#FFE600",d:"M200.55 147.71c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65-3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 3c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zM214.96 274.43c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c.01 7.96-6.45 14.41-14.41 14.41zm43.24 14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41c0 7.95-6.45 14.41-14.41 14.41zm43.24-14.42c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),M.createElement("path",{fill:"#D60537",d:"M157.31 175.36H359.1v57.65H157.31v-57.65z"}),M.createElement("path",{fill:"#EACE00",d:"M142.9 43.82s57.65-14.41 115.31-14.41 115.31 14.41 115.31 14.41l-14.41 57.65s-50.45-14.41-100.89-14.41-100.89 14.41-100.89 14.41L142.9 43.82z"}),M.createElement("path",{fill:"#7A6920",d:"M258.2 72.65c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm57.65 5c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41zm-115.3 0c-7.96 0-14.41-6.45-14.41-14.41s6.45-14.41 14.41-14.41 14.41 6.45 14.41 14.41-6.45 14.41-14.41 14.41z"}),M.createElement("path",{fill:"#ADADAD",d:"M365.08 178.02c-1.59 18.06 45.14 56.12 49.92 82.32h10.27c1.24-10.44 7.08-20.18 7.08-20.18 23.72 27.09 47.8 18.76 47.8 18.76-7.44-5.13-49.57-67.09-49.57-67.09 12.88-4.78 47.67 12.45 64.61-36.76 12.24-35.55-18-74.92-18-74.92s-36.7 31.84-40.95 38.92c-4.25 6.73 6.46 33.2-10.44 44.96-13.66 9.51-19.12-.35-19.12-.35 2.83-18.41 16.82-26.38 26.2-47.8 9.38-21.6-5.66-32.75-13.63-35.05-7.97-2.48-18.76 1.77-19.12 12.39-.35 10.8 16.64 11.51 16.64 11.51-2.48 23.9-49.92 52.04-51.69 73.29z"}
vendor: 9,431 bytes, line 156
156),M.createElement("circle",{fill:"#FFF",cx:258.2,cy:204.19,r:16.93}))},Rz=function(e){var t=e.title,n=Rd(e,Tj);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#c8102e",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#012169",d:"M0 .1h256.5v171H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 0h-22.6L160 48.9V0H96v48.9L22.6 0H0v22.7l46.1 30.7H0v64h46.1L0 148.1v22.6h22.6L96 121.8v48.9h64v-48.9l73.4 48.9H256v-22.6l-46.1-30.7H256v-64h-46.1L256 22.7z"}),M.createElement("path",{fill:"#c8102e",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),M.createElement("path",{fill:"#c8102e",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),M.createElement("g",{transform:"translate(13 5)"},M.createElement("path",{fill:"#fff",d:"M303.9 94.94v99.69c0 59.81 79.75 99.69 79.75 99.69s79.75-39.88 79.75-99.69V94.94H303.9z"}),M.createElement("path",{fill:"#2F8F22",d:"M436.37 254.44H330.93c23.13 25.08 52.72 39.88 52.72 39.88s29.59-14.8 52.72-39.88z"}),M.createElement("circle",{fill:"#65B5D2",cx:383.65,cy:214.56,r:39.88}),M.createElement("circle",{fill:"#c8102e",cx:343.77,cy:194.63,r:19.94}),M.createElement("circle",{fill:"#c8102e",cx:423.52,cy:194.63,r:19.94}),M.createElement("circle",{fill:"#c8102e",cx:383.65,cy:154.75,r:19.94})))},RI=function(e){var t=e.title,n=Rd(e,TO);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"m0 193.74 513 127.19V214.26L0 97.08z"}),M.createElement("path",{fill:"#FFF",d:"M513 234.26v-86.67L0 20.41v86.67"}),M.createElement("g",{fill:"#D80027",stroke:"#231F20",strokeWidth:3,strokeMiterlimit:10},M.createElement("path",{d:"M306.4 134.01a50.28 50.28 0 0 1 6.07 24.02c0 21.55-13.51 39.94-32.52 47.19v-59.51c5.7-1.19 10-6.37 10-12.59 6.9 0 12.5-5.75 12.5-12.85h-.42c6.9 0 12.91-5.75 12.91-12.85h-34.99V76.58l-14.99-27.71-15 27.71v30.84h-34.99c0 7.1 6.01 12.85 12.91 12.85h-.42c0 7.1 5.6 12.85 12.5 12.85 0 6.22 4.29 11.4 9.99 12.59v61.37c-22.09-5.39-38.48-25.3-38.48-49.05 0-8.7 2.2-16.88 6.07-24.02-10.96 11.21-17.72 26.53-17.72 43.44 0 34.32 27.82 62.15 62.15 62.15s62.15-27.83 62.15-62.15c0-16.91-6.77-32.24-17.72-43.44z"}),M.createElement("path",{d:"M198.46 226.81s20.69 27.71 66.5 27.71 66.5-27.71 66.5-27.71l13.47 28.37s-21.03 27.71-79.97 27.71-79.97-27.71-79.97-27.71l13.47-28.37zm-69.22-93.63h20.88l24.93 27.26v73.45h-26.28v-68.37zm270.76 0h-20.88l-24.93 27.26v73.45h26.27v-68.37z"})))},RH=function(e){var t=e.title,n=Rd(e,TL);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#d52b1e",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#f9e300",d:"M0 114h513v114H0z"}),M.createElement("path",{fill:"#007934",d:"M0 228h513v114H0z"}))},RB=function(e){var t=e.title,n=Rd(e,TA);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#012a87",d:"M0 342h513V0z"}),M.createElement("path",{fill:"#f9d90f",d:"M250.4 0H0v166.9z"}),M.createElement("path",{fill:"#dc171d",d:"m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"}),M.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:9,strokeMiterlimit:10,cx:140.4,cy:160.6,r:57.7}))},RW=function(e){var t=e.title,n=Rd(e,TT);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#DC171D",d:"M512 342H0V.7h512V342z"}),M.createElement("path",{fill:"#012A87",d:"M512 342H0V171.3h512V342z"}),M.createElement("path",{fill:"#FFF",d:"M256 342 0 171.3 256 .7l256 170.7L256 342z"}),M.createElement("path",{fill:"#F9D90F",d:"m199.2 249.5 21.7-66.8-56.8-41.2h70.5L256 74.7l21.7 66.8h70.2l-56.8 41.2 21.7 66.8-56.8-41.3z"}))},RV=function(e){var t=e.title,n=Rd(e,TP);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",width:900,height:600},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 0h900v600H0z",fill:"#dc171d"}),M.createElement("path",{d:"M450 168.787 215.691 300 450 431.213 684.309 300z",fill:"#fff"}),M.createElement("path",{d:"M281.477 336.852V376h69.961l290.727-52.4V376h-93.668z",fill:"#dc171f"}),M.createElement("path",{d:"M188 288H20V20h418v128zm524 0h168V20H462v128zm-524 24H20v268h418V452zm524 0h168v268H462V452z",fill:"#012a87"}),M.createElement("path",{d:"m450 199.5 8.068 24.827h26.105l-21.12 15.346 8.067 24.827L450 249.157 428.88 264.5l8.066-24.827-21.119-15.345 26.105-.001z",fill:"#f9d90f"}),M.createElement("path",{d:"M281.477 336.852c2.712-8.848 8.614-12.77 16.594-10.995 4.94-18.73 27.739-22.07 36.786-12.857l22.273 22.37c4.837 2.251 12.207 3.095 17.326 3.095 6.33.1 5.621 3.005 10.91 3.106 14.096.27 51.143.458 57.857 0 2.75-.187 64.134-67.857 64.134-67.857 5.12-6.31 18.453-8.333 25.714-3.214 6.786 6.429 13.929 7.143 18.929 2.857 4.405-6.547 14.392-7.309 20.714-3.571l69.45 53.815L548.497 376H351.438l-69.96-39.148z",fill:"#008830"}))},RU=function(e){var t=e.title,n=Rd(e,TN);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#012a87",d:"M0 342h513V0z"}),M.createElement("path",{fill:"#f9d90f",d:"M250.4 0H0v166.9z"}),M.createElement("path",{fill:"#dc171d",d:"m140.4 118.3 12.2 21.2h24.5l-12.3 21.1 12.3 21.2h-24.5L140.4 203l-12.2-21.2h-24.5l12.3-21.2-12.3-21.1h24.5z"}),M.createElement("circle",{fill:"none",stroke:"#000",strokeWidth:9,strokeMiterlimit:10,cx:140.4,cy:160.6,r:57.7}))},Rq=function(e){var t=e.title,n=Rd(e,TF);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#009b3a",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#fedf00",d:"m256.5 19.3 204.9 151.4L256.5 322 50.6 170.7z"}),M.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:80.4}),M.createElement("path",{fill:"#002776",d:"M215.9 165.7c-13.9 0-27.4 2.1-40.1 6 .6 43.9 36.3 79.3 80.3 79.3 27.2 0 51.3-13.6 65.8-34.3-24.9-31-63.2-51-106-51zm119 20.3c.9-5 1.5-10.1 1.5-15.4 0-44.4-36-80.4-80.4-80.4-33.1 0-61.5 20.1-73.9 48.6 10.9-2.2 22.1-3.4 33.6-3.4 46.8.1 89 19.5 119.2 50.6z"}))},RG=function(e){var t=e.title,n=Rd(e,TR);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#ffc72c",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#00778b"}),M.createElement("path",{d:"M256 171 0 342V0z"}))},RY=function(e){var t=e.title,n=Rd(e,T$);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FF7415",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M513 0H0v342"}),M.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:42,strokeMiterlimit:10,d:"M128.7 255.5s35 54 67.3 32.4c56.9-37.9-68.9-108.6-2.9-152.6 58.3-38.8 76.6 103.5 137.6 62.8 59-39.3-64.7-111.4-9.2-148.4 33.4-22.2 67.1 32.6 67.1 32.6"}))},RZ=function(e){var t=e.title,n=Rd(e,TD);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 33.333 1100 733.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#ef2b2d",d:"M0 0h1100v800H0z"}),M.createElement("path",{fill:"#fff",d:"M300 0h200v800H300z"}),M.createElement("path",{fill:"#fff",d:"M0 300h1100v200H0z"}),M.createElement("path",{fill:"#002868",d:"M350 0h100v800H350z"}),M.createElement("path",{fill:"#002868",d:"M0 350h1100v100H0z"}))},RK=function(e){var t=e.title,n=Rd(e,Tz);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 238h513v104H0zM0 0h513v104H0z",fill:"#6da9d2"}),M.createElement("path",{d:"M0 125.5h513v89.656H0z"}))},RQ=function(e){var t=e.title,n=Rd(e,TI);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#007C30",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#CE1720",d:"M0 230h513V0H0"}),M.createElement("path",{fill:"#FFF",d:"M100 230V0H0v342h513-413z"}),M.createElement("path",{d:"M28 159.6 8.6 128.2 28 97.4l19.3 30.8zm44.6 0-19.3-31.4 19.3-30.8L92 128.2zM28 241.2 8.6 209.8 28 179l19.3 30.8zm44.6 0-19.3-31.4L72.6 179 92 209.8z",fill:"#CE1720"}),M.createElement("path",{d:"m28 73.8-16.1-26L28 22.2l16 25.6zm44.6 0-16-26 16-25.6 16.1 25.6zM28 318l-16.1-26.1L28 266.3l16 25.6zm44.6 0-16-26.1 16-25.6 16.1 25.6z",fill:"none",stroke:"#CE1720",strokeWidth:7}))},RX=function(e){var t=e.title,n=Rd(e,TH);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#003e87",d:"M0 0h513v342H0z"}
156),M.createElement("circle",{fill:"#FFF",cx:260.9,cy:170.9,r:118.9}),M.createElement("circle",{fill:"none",stroke:"#6DA544",strokeWidth:18,strokeMiterlimit:10,cx:261.9,cy:173.1,r:94.5}),M.createElement("g",{stroke:"#000"},M.createElement("path",{fill:"#003e87",d:"m261.9 151.5-50.6 23.4v20c0 11.8 6.1 22.8 16.2 28.9L262 239l34.5-15.2c10-6.2 16.2-17.1 16.2-28.9v-20l-50.8-23.4z"}),M.createElement("path",{fill:"#FFDA44",d:"M211.3 128.1h101.3v46.7H211.3z"})),M.createElement("path",{d:"M0 0h513v35H0zm0 306h513v35H0z",fill:"#ce1127"}))},RJ=function(e){var t=e.title,n=Rd(e,TB);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h142v342H0zm371 0h142v342H371zm-64.5 206 50.4-25.2-25.2-12.6V143l-50.4 25.2 25.2-50.4h-25.2L256.1 80l-25.2 37.8h-25.2l25.2 50.4-50.4-25.2v25.2l-25.2 12.6 50.4 25.2-12.6 25.2h50.4V269h25.2v-37.8h50.4z",fill:"red"}))},R1=function(e){var t=e.title,n=Rd(e,TW);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"green",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"m422.7 252.4 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.2V301l-11.1-8.9-11.1 8.9v-14.2l-13.8-3.2 11.1-8.8-6.2-12.8 13.9 3.2zm-46.6-136.3 6.2 12.9 13.8-3.2-6.2 12.8 11.2 8.8-13.9 3.1v14.3l-11.1-8.9-11.1 8.9.1-14.3-13.9-3.1 11.1-8.8-6.2-12.8L370 129zm37-77.8 6.2 12.8 13.8-3.2-6.2 12.8 11.2 8.9-13.9 3.1v14.2L413.1 78 402 86.9l.1-14.2-13.9-3.1 11.1-8.9-6.2-12.8 13.9 3.2zm51.8 58.4 6.2 12.8 13.9-3.2-6.3 12.8 11.2 8.9-13.9 3.1.1 14.2-11.2-8.9-11.1 8.9.1-14.2L440 128l11.2-8.9-6.3-12.8 13.9 3.2zm-28 68.1 4.9 14.8h15.6l-12.6 9.2 4.8 14.9-12.7-9.2-12.6 9.2 4.8-14.9-12.6-9.2h15.6zM306.8 254.7c-49.2 0-89.1-39.9-89.1-89.1s39.9-89.1 89.1-89.1c15.3 0 29.8 3.9 42.4 10.7C329.4 67.9 302.3 56 272.5 56c-60.5 0-109.6 49.1-109.6 109.6S212 275.3 272.5 275.3c29.8 0 56.9-11.9 76.6-31.3-12.6 6.8-27 10.7-42.3 10.7zM140.4 59.5C129.7 41 109.7 28.6 86.8 28.6S44 41 33.3 59.5h107.1zm.2.4-53.8 53.8-53.7-53.8C28 68.9 25 79.3 25 90.5c0 34.2 27.7 61.9 61.9 61.9s61.9-27.7 61.9-61.9c-.1-11.2-3.1-21.6-8.2-30.6z",fill:"#FFDA44"}),M.createElement("path",{fill:"#A2001D",d:"M71.4 98.2v52.2c4.9 1.3 10.1 1.9 15.5 1.9s10.5-.7 15.5-1.9V98.2h-31z"}))},R0=function(e){var t=e.title,n=Rd(e,TV);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M513 66.9V0H411.7L0 274.4V342h100.3z"}),M.createElement("path",{fill:"#D80027",d:"M513 0v40.1L60.2 342H0v-40.8L451.8 0z"}),M.createElement("path",{fill:"#FFDA44",d:"m93.6 31.2 16.3 50.4H163l-42.9 31.2 16.4 50.5-42.9-31.2-43 31.2L67 112.8 24.1 81.6h53.1z"}))},R2=function(e){var t=e.title,n=Rd(e,TU);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#d21034",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 171h211.5v85.3H0zm300.5 0H512v85.3H300.5z",fill:"#3a9927"}),M.createElement("path",{fill:"#003082",d:"M0 0v85.3h211.5V0h89v85.3H513V0z"}),M.createElement("path",{d:"M300.5 85.3H512v85.3H300.5zM0 85.3h211.5v85.3H0z",fill:"#FFF"}),M.createElement("path",{d:"M300.5 342h-89v-86H0v86h513v-86H300.5zM105.7 8.6l8.6 26.2h27.5L119.5 51l8.6 26.2L105.7 61 83.4 77.2 91.9 51 69.6 34.8h27.6z",fill:"#ffce00"}))},R3=function(e){var t=e.title,n=Rd(e,Tq);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#da1a35",d:"M0 85.331h513v342H0z"}),M.createElement("path",{fill:"#009543",d:"M443.726 85.331 102.4 426.657H0V85.331z"}),M.createElement("path",{fill:"#fbde4a",d:"M500.124 85.331 158.798 426.657H11.876L353.202 85.331z"}))},R5=function(e){var t=e.title,n=Rd(e,TG);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"red",d:"M0 85.337h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M356.174 222.609h-66.783v-66.783h-66.782v66.783h-66.783v66.782h66.783v66.783h66.782v-66.783h66.783z"}))},R4=function(e){var t=e.title,n=Rd(e,TY);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#009e60",d:"M342 0h171v342H342z"}),M.createElement("path",{fill:"#f77f00",d:"M0 0h171v342H0z"}))},R6=function(e){var t=e.title,n=Rd(e,TZ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#01237a",d:"M0 85.332h513v342H0z"}),M.createElement("path",{d:"m384 156.705 5.283 16.254h17.089l-13.826 10.045 5.281 16.254L384 189.211l-13.825 10.047 5.28-16.254-13.825-10.045h17.089zm-70.209 29.081 15.228 7.758 12.084-12.083-2.673 16.879 15.227 7.759-16.879 2.673-2.674 16.88-7.76-15.227-16.878 2.673 12.086-12.084zm-29.081 70.209 16.254-5.281.001-17.089 10.044 13.825 16.254-5.282-10.046 13.827 10.046 13.826-16.254-5.28-10.044 13.825v-17.09zm29.081 70.209 7.759-15.229-12.084-12.084 16.881 2.674 7.757-15.227 2.674 16.879 16.879 2.672-15.227 7.759 2.673 16.882-12.084
156-12.087zM384 355.284l-5.281-16.253h-17.091l13.827-10.045-5.28-16.254L384 322.776l13.827-10.044-5.281 16.254 13.826 10.045h-17.089zm70.209-29.08-15.229-7.758-12.083 12.084 2.673-16.882-15.227-7.756 16.879-2.675 2.675-16.879 7.756 15.227 16.881-2.674-12.086 12.085zm29.081-70.209-16.254 5.281v17.09l-10.045-13.826-16.254 5.281 10.046-13.826-10.046-13.827 16.254 5.282 10.045-13.825v17.089zm-29.081-70.207-7.757 15.226 12.082 12.084-16.881-2.673-7.756 15.227-2.675-16.88-16.879-2.675 15.227-7.757-2.673-16.878 12.084 12.082zM0 186.665v16h46.069L0 233.377v7.539l57.377-38.252H80L0 255.998h112v-69.334H0zm96 69.331H22.628L96 207.083v48.913zm80-117.331 80-53.334H144v69.334h112v-16h-46.069L256 107.951v-7.539l-57.377 38.251H176v.002zm-16-53.332h73.372L160 134.246V85.333zm-16 170.665h112l-80-53.334h22.623L256 240.917v-7.539l-46.069-30.713H256v-16H144v69.333zm16-48.915 73.372 48.913H160v-48.913zM112 85.331H0l80 53.334H57.377L0 100.413v7.539l46.069 30.712H0v16h112V85.331zm-16 48.915L22.628 85.333H96v48.913z",fill:"#FFF"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144 85.331h-32v69.334H0v32h112v69.333h32v-69.333h112v-32H144z"}),M.createElement("path",{d:"M80 138.665 0 85.331v15.082l57.377 38.252zm96 0h22.623L256 100.413V85.331zm-118.623 64L0 240.917v15.081l80-53.333zm118.623 0 80 53.333v-15.081l-57.377-38.252z"})))},R7=function(e){var t=e.title,n=Rd(e,TK);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M196 0h317v171H196z"}),M.createElement("path",{fill:"#0037A1",d:"M0 0h196v171H0z"}),M.createElement("path",{fill:"#FFF",d:"M98 24.5 113.1 71H162l-39.6 28.7 15.2 46.5L98 117.5l-39.6 28.7 15.2-46.5L34 71h48.9z"}))},R8=function(e){var t=e.title,n=Rd(e,TQ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#ce1126",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#007a5e",d:"M0 0h171v342H0z"}),M.createElement("path",{d:"M342 0h171v342H342zm-86 102.2 17.2 53H329L283.9 188l17.2 53-45.1-32.7-45.1 32.7 17.2-53-45.1-32.8h55.8z",fill:"#fcd116"}))},R9=function(e){var t=e.title,n=Rd(e,TX);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"m226.8 239.2-9.7-15.6-17.9 4.4 11.9-14.1-9.7-15.6 17.1 6.9 11.8-14.1-1.3 18.4 17.1 6.9-17.9 4.4zM290.6 82l-10.1 15.4 11.6 14.3-17.7-4.8-10.1 15.5-1-18.4-17.7-4.8 17.2-6.6-1-18.4 11.6 14.3zm-54.4-56.6-2 18.3 16.8 7.6-18 3.8-2 18.3-9.2-16-17.9 3.8 12.3-13.7-9.2-15.9 16.8 7.5zm56.6 136.4-14.9 10.9 5.8 17.5-14.9-10.8-14.9 11 5.6-17.6-14.9-10.7 18.4-.1 5.6-17.6 5.8 17.5zM115 46.3l17.3 53.5h56.2l-45.4 32.9 17.3 53.5-45.4-33-45.5 33 17.4-53.5-45.5-32.9h56.3z",fill:"#FFDA44"}))},$e=function(e){var t=e.title,n=Rd(e,TJ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 256.5h513V342H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 171h513v85.5H0z"}))},$t=function(e){var t=e.title,n=Rd(e,T1);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 114h513v114H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 285h513v57H0zM0 0h513v57H0z"}))},$r=function(e){var t=e.title,n=Rd(e,T0);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FF9811",d:"M0-40.8v422.9-211.4z"}),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v68.3H0zm0 136.5h513v68.3H0zm0 136.6h513v68.3H0z",fill:"#0052B4"}),M.createElement("path",{fill:"#D80027",d:"M256 170.7 0 342V0z"}),M.createElement("path",{fill:"#FFF",d:"m86.5 111.4 12.7 39.2h41.3l-33.4 24.2 12.8 39.3-33.4-24.2-33.4 24.2 12.8-39.3-33.4-24.2h41.2z"}))},$n=function(e){var t=e.title,n=Rd(e,T2);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#003893",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#cf2027",d:"M0 182.2h513v41.4H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 140.8h513v41.4H0zm0 82.8h513V265H0z"}),M.createElement("path",{d:"m150.4 70 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13.1-17.9 13.1 6.8-21.1-17.9-13.1h22.2zm0 209.7 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13h22.2zm-97.6-70.9 6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-17.9-13H46zM90.1 91l6.9 21.1h22.2l-18 13 6.9 21.2-18-13.1-17.9 13.1 6.8-21.2-18-13h22.3zm-66.3 71H46l6.8-21.1 6.9 21.1h22.2l-18 13.1 6.9 21.1-18-13-17.9 13 6.8-21.1zm48.4 148.9 6.8-21.1-18-13h22.3l6.8-21.2 6.9 21.2h22.2l-18 13 6.9 21.1-18-13zM248 208.8l-6.9 21.1h-22.2l18 13-6.9 21.2 18-13.1 18 13.1-6.9-21.2 18-13h-22.2zM210.7 91l-6.8 21.1h-22.2l17.9 13-6.8 21.2 17.9-13.1 18 13.1-6.9-21.2 18-13h-22.2zm66.4 71h-22.2l-6.9-21.1-6.9 21.1h-22.2l18 13.1-6.9 21.1 18-13 18 13-6.9-21.1zm-48.4 148.9-6.9-21.1 18-13h-22.2l-6.9-21.2-6.8 21.2h-22.2l17.9 13-6.8 21.1 17.9-13z",fill:"#f7d116",stroke:"#000"}))},$a=function(e){var t=e.title,n=Rd(e,T3);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#002b7f",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#f9e814",d:"M0 233.5h513v51H0z"}),M.createElement("path",{d:"m168.7 86.5 12.9 39.8h41.8l-33.8 24.5 12.9 39.7-33.8-24.5-33.8 24.5 12.9-39.7-33.8-24.5h41.8zm-83.3-54 7.8 23.9h25L97.9 71.1l7.8 23.8-20.3-14.7-20.3 14.7 7.8-23.8-20.3-14.7h25.1z",fill:"#FFF"}))},$o=function(e){var t=e.title,n=Rd(e,T5);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0021ad",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#1c8a42",d:"M0 0h513v342"}),M.createElement("path",{d:"m77.6 272 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9V317l-10.3-8.3-10.2 8.3v-13.2l-12.8-2.9 10.3-8.1-5.8-11.9 12.9 3zm-37.1-98.9 5.7 11.9 12.8-3-5.7 11.8 10.3 8.2-12.9 2.9.1 13.2-10.3-8.3-10.3 8.3.1-13.2-12.9-2.9 10.4-8.2L22 182l12.8 3zm37.1-80.9 5.7 11.8 12.8-2.9-5.7 11.8 10.3 8.2-12.8 2.9v13.1l-10.3-8.2-10.2 8.2V124l-12.8-2.9 10.3-8.2-5.8-11.8L72 104zm46.1 62.9 5.7 11.9 12.8-3-5.7 11.9 10.3 8.1-12.8 2.9v13.2l-10.3-8.2-10.2 8.2v-13.2l-12.8-2.9 10.3-8.1-5.7-11.9 12.8 3zm-32.9 54 4.4 13.7h14.5L98 231.3l4.5 13.7-11.7-8.4-11.7 8.4 4.5-13.7-11.7-8.5h14.4z",fill:"#FFF"}),M.createElement("circle",{fill:"#ffc639",cx:267.1,cy:170.7,r:74.5}),M.createElement("path",{fill:"#1c8a42",d:"M267.1 220.3h24.8s10.8-19 0-37.2l24.8-24.8-12.4-24.8h-12.4s-6.2 18.6-31 18.6-31-18.6-31-18.6h-12.4l12.4 24.8-12.4 24.8 12.4 12.4s12.4-24.8 37.2-12.4c0 0 10.5 15.5 0 37.2z"}),M.createElement("path",{fill:"#ffc639",d:"M464.4 92.2c.6-2.9-.2-17.6-.2-20.7 0-21.3-13.9-39.4-33.2-45.7 5.9 12 9.2 25.4 9.2 39.7 0 4.8-.4 9.5-1.1 14.1-2.9-4.7-6.6-8.9-11.2-12.6-17.1-13.6-40.6-14-57.9-2.5 13.4 2.9 26.3 8.9 37.7 18 9 7.1 16.2 16.8 21.7 26.1 0 0-17.8 10.9-31 15.1s-42.3 7.9-42.3 7.9c72 12 132-36 132-36-6.5-13.4-15.8-4-23.7-3.4z"}))},$i=function(e){var t=e.title,n=Rd(e,T4);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#DB7D00",d:"M141.7 154.7s.2 67.1 74.7 65.3l4.5 13.9h8.9s-7.4-41.1 60.1-41.5c0 0 0-27.6 27.6-27.6H359s-66-51.8 58.9-118l1.8-13.1s-129.9 71-198.9 57.2c0 0 10.7 42.5-10.8 42.5-10.8 0-9.7-8.1-32.3-8.1-18.7 0-17.3 19.7-26.3 19.5-8.9-.2-18.8-12.3-19.6-10.2-.7 2.1 9.9 20.1 9.9 20.1z"}),M.createElement("g",{fill:"#006651"},M.createElement("path",{d:"M237.2 308.1c6.9-5 13-6.6 22.4-8.3s19.4-4.4 24.6-5.8-17.7 6.6-23.5 8.3c-5.8 1.6-23.5 5.8-23.5 5.8zm37.9-14.7c-1.9-11.9 2.8-24.3 13.5-29.3 2.5 8.6-5.2 23.2-13.5 29.3zm18.2-6.2c-5.8-9.8 4-22.6 11.
1561-28.8 3.3 6-2.5 23.7-11.1 28.8zm16.9-7.6c-6.2-8.4 1.1-23.2 8.8-29 3.1 8.2.1 23.2-8.8 29zm16.9-10.6c-5.6-8-1.7-20.4 6.3-28.4 5.8 6.6.9 21-6.3 28.4zm13.5-10.7c-4.7-7.5 1.1-25.4 8.6-30.4 3.3 6.6.8 25.4-8.6 30.4zm10.8-2.8c-1.4-10.8 17.4-22.7 25.2-22.4-.9 8.9-8.9 18.6-25.2 22.4zm-10.5 12.2c8.8-9.1 26-9.1 32.1-7.2-1.7 5.3-21.9 16.9-32.1 7.2z"}),M.createElement("path",{d:"M328.7 276.8c12.4-3.3 20.5-6.1 27.9 1.7-5.2 6.6-25.4 4.7-27.9-1.7zm-17.7 8c11.9-6.4 26.3 3 28.5 8.6-13.3 5.5-28.7-7.2-28.5-8.6zm-16.3 9.2c10.8-4.1 23.2 1.4 28.2 7.5-5.8 2.7-21 5.7-28.2-7.5zm-14.9 4.7c12.4-1.4 24.4 8 27 13.4-15.9 1.5-22-3.2-27-13.4zm-4 9.4c-6.9-5-13-6.6-22.4-8.3-9.4-1.7-19.4-4.4-24.6-5.8-5.3-1.4 17.7 6.6 23.5 8.3 5.8 1.6 23.5 5.8 23.5 5.8zm-37.9-14.7c1.9-11.9-2.8-24.3-13.5-29.3-2.5 8.6 5.2 23.2 13.5 29.3zm-18.2-6.2c5.8-9.8-4-22.6-11.1-28.8-3.3 6 2.5 23.7 11.1 28.8zm-16.9-7.6c6.2-8.4-1.1-23.2-8.8-29-3.1 8.2-.1 23.2 8.8 29zM185.9 269c5.6-8 1.7-20.4-6.3-28.4-5.8 6.6-.9 21 6.3 28.4zm-13.5-10.7c4.7-7.5-1.1-25.4-8.6-30.4-3.3 6.6-.8 25.4 8.6 30.4zm-10.8-2.8c1.4-10.8-17.4-22.7-25.2-22.4.9 8.9 8.9 18.6 25.2 22.4zm10.5 12.2c-8.8-9.1-26-9.1-32.1-7.2 1.7 5.3 21.9 16.9 32.1 7.2z"}),M.createElement("path",{d:"M184.3 276.8c-12.4-3.3-20.5-6.1-27.9 1.7 5.2 6.6 25.4 4.7 27.9-1.7zm17.7 8c-11.9-6.4-26.3 3-28.5 8.6 13.3 5.5 28.7-7.2 28.5-8.6zm16.3 9.2c-10.8-4.1-23.2 1.4-28.2 7.5 5.8 2.7 21 5.7 28.2-7.5zm14.9 4.7c-12.4-1.4-24.4 8-27 13.4 15.9 1.5 22-3.2 27-13.4z"})))},$l=function(e){var t=e.title,n=Rd(e,T6);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#11457e",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#d7141a",d:"M513 171v171H0l256.5-171z"}),M.createElement("path",{fill:"#FFF",d:"M513 0v171H256.5L0 0z"}))},$s=function(e){var t=e.title,n=Rd(e,T7);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 228h513v114H0z"}))},$u=function(e){var t=e.title,n=Rd(e,T8);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#12ad2b",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#6ab2e7",d:"M513 0v166.7L0 170.8V0z"}),M.createElement("path",{fill:"#FFF",d:"M256 170.7 0 342V0z"}),M.createElement("path",{fill:"#d7141a",d:"m89.8 92.5 17 52.4H162l-44.6 32.5 17 52.4-44.6-32.4-44.6 32.4 17-52.4-44.6-32.5h55.2z"}))},$c=function(e){var t=e.title,n=Rd(e,T9);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#c60c30",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M190 0h-60v140H0v60h130v142h60V200h323v-60H190z"}))},$d=function(e){var t=e.title,n=Rd(e,Pe);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#496E2D",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 110.7v120h513v-120z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 110.7h513v40H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 190.7h513v40H0z"}),M.createElement("path",{d:"M196 0h120v342H196z"}),M.createElement("path",{fill:"#FFDA44",d:"M196 0h40v342h-40z"}),M.createElement("path",{fill:"#FFF",d:"M274.7 0h40v342h-40z"}),M.createElement("circle",{fill:"#D80027",cx:256,cy:170.7,r:123.1}),M.createElement("path",{d:"m256 58.6 4.6 14.2h15l-12.1 8.9 4.6 14.2-12.1-8.8-12.1 8.8 4.6-14.2-12.1-8.9h15zM190.1 80l12.2 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15l-4.6 14.2-4.7-14.2h-15l12.1-8.8zm-40.7 56h15l4.6-14.2 4.7 14.2h15l-12.2 8.8 4.7 14.3-12.2-8.8-12.1 8.8 4.6-14.3zm0 69.3 12.1-8.8-4.6-14.3L169 191l12.2-8.8-4.7 14.3 12.2 8.8h-15l-4.7 14.3-4.6-14.3zm40.7 56.1 4.6-14.3-12.1-8.8h15l4.7-14.3 4.6 14.3h15l-12.1 8.8 4.6 14.3-12.1-8.9zm65.9 21.4-4.6-14.3h-15l12.1-8.8-4.6-14.3 12.1 8.8 12.1-8.8-4.6 14.3 12.1 8.8h-15zm65.9-21.4-12.2-8.9-12.1 8.9 4.6-14.3-12.1-8.8h15l4.6-14.3 4.7 14.3h15l-12.1 8.8zm40.7-56.1h-15l-4.6 14.3-4.7-14.3h-15l12.2-8.8-4.7-14.3L343 191l12.1-8.8-4.6 14.3zm0-69.3-12.1 8.8 4.6 14.3-12.1-8.8-12.2 8.8 4.7-14.3-12.2-8.8h15l4.7-14.2 4.6 14.2zm-40.7-56-4.6 14.3 12.1 8.8h-15l-4.7 14.2-4.6-14.2h-15l12.1-8.8-4.6-14.3 12.1 8.8zM279.3 168.7c-11-21.1-14.5-25.
1561-14.5-25.1s.4-9.7.4-15.6c0-8.8-7.4-15.8-16.5-15.8-8.6 0-15.7 2.9-16.5 11-4.2.9-8.6 4.1-8.6 10.7 0 4.8 1 7.3 5.2 9.3 2.1-4.6 4.3-4.8 9.3-6.4.8.6 1.7 3 2.6 3.4l.3 1s-13.3 6.6-13.3 30.9c0 29.5 22 45.4 22 45.4l-1.8.3-1.9 7.1h22v-7.2l11 17.5c.3-.3 10.2-47.6.3-66.5z",fill:"#496E2D"}))},$f=function(e){var t=e.title,n=Rd(e,Pt);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 216h211v126H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 0h211v126H0z"}),M.createElement("path",{fill:"#D80027",d:"M302 0h211v126H302z"}),M.createElement("path",{fill:"#0052B4",d:"M302 216h211v126H302z"}),M.createElement("g",{stroke:"#FFF",strokeWidth:5,strokeMiterlimit:10},M.createElement("path",{fill:"#0052B4",d:"M256 130h-49.9v49.4s19.5 6 49.9 6V130z"}),M.createElement("path",{fill:"#D80027",d:"M206.1 179.4v6c0 27.5 22.3 49.9 49.9 49.9v-49.9c-30.4 0-49.9-6-49.9-6z"}),M.createElement("path",{fill:"#0052B4",d:"M256 235.3c27.5 0 49.9-22.3 49.9-49.9v-6s-19.5 6-49.9 6v49.9z"}),M.createElement("path",{fill:"#D80027",d:"M256 130v55.4c30.4 0 49.9-6 49.9-6V130H256z"})))},$h=function(e){var t=e.title,n=Rd(e,Pr);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#41662E",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M256.5 0H513v342H256.5z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"m341.5 105.3-29.4 40.4-47.5-15.4 29.4 40.4-29.4 40.4 47.5-15.4 29.4 40.4v-50l47.5-15.5-47.5-15.4z"}),M.createElement("path",{d:"M309.9 276.7c-58.5 0-106-47.5-106-106s47.5-106 106-106c18.3 0 35.4 4.6 50.4 12.7-23.5-23-55.7-37.2-91.2-37.2-72 0-130.4 58.4-130.4 130.4S197.1 301 269.1 301c35.5 0 67.7-14.2 91.2-37.2-14.9 8.2-32.1 12.9-50.4 12.9z"})))},$p=function(e){var t=e.title,n=Rd(e,Pn);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 170.7h513V256H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 256h513v85.3H0z"}),M.createElement("circle",{fill:"#FFDA44",cx:256,cy:171,r:60}),M.createElement("path",{fill:"#4C1F00",d:"M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"}),M.createElement("path",{fill:"#57BA17",d:"M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"}),M.createElement("path",{fill:"#338AF3",d:"M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"}))},$m=function(e){var t=e.title,n=Rd(e,Pa);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#111",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#368FD8",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 228h513v114H0z"}))},$g=function(e){var t=e.title,n=Rd(e,Po);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),M.createElement("path",{d:"M0 228h513v114H0z"}),M.createElement("path",{fill:"#C09300",d:"M220.3 204.4s0-58.4 4.5-64.7c3.1-4.3 16.8 5.2 22.7 4.5 0 0 4.2-7.5 4.5-12 .3-4.6-1.1-7.6-4.9-6.2 0 0-1.2-2.1.5-3.3 1.6-1.2 5.6.1 5.6.1s-.5-1 1.6-.9c2.9.2 7.2 1.4 7.4 5.6.2 3.1.3 7.7.4 8.7.7 6.8 2.7 8.7 2.7 8.7s18.4-9.2 22-5.2c3.3 3.8 4.5 64.7 4.5 64.7l-18.1-16.8 12.1 29.5s-14.4 2.4-28.9 2.4c-14.5 0-31.1-4.2-31.1-4.2l13.8-28.2-19.3 17.3z"}))},$v=function(e){var t=e.title,n=Rd(e,Pi);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#428823",d:"M0 228h513v114H0z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M256 171 0 342V0zm53.1 0c0-22.9 13.1-42.1 34.6-46.8-3.3-.7-6.7-1.1-10.3-1.1-26.4 0-47.9 21.4-47.9 47.9s21.4 47.9 47.9 47.9c3.5 0 7-.4 10.3-1.
1561-21.5-5.1-34.6-24.2-34.6-46.8z"}),M.createElement("path",{d:"m365 129.2 10.3 31.7h33.3l-27 19.6 10.3 31.7-26.9-19.6-27 19.6 10.3-31.7-27-19.6h33.4z"})))},$y=function(e){var t=e.title,n=Rd(e,Pl);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#56AF35",d:"M0 0h513v171H0z"}),M.createElement("path",{fill:"#D80027",d:"m0 342 513-171L0 0v342z"}),M.createElement("g",{fill:"#ffc945"},M.createElement("path",{d:"M134.7 231.5c33.6 0 60.8-27.2 60.8-60.8s-27.2-60.8-60.8-60.8-60.8 27.2-60.8 60.8 27.2 60.8 60.8 60.8zm0 24.3c-47 0-85.2-38.1-85.2-85.2s38.1-85.2 85.2-85.2 85.2 38.1 85.2 85.2-38.2 85.2-85.2 85.2z"}),M.createElement("circle",{cx:119.5,cy:148.3,r:17.5}),M.createElement("circle",{cx:148.9,cy:158.5,r:17.5}),M.createElement("circle",{cx:134.7,cy:135.2,r:17.5}),M.createElement("circle",{cx:119.5,cy:172.7,r:17.5}),M.createElement("circle",{cx:149.9,cy:182.8,r:17.5}),M.createElement("circle",{cx:122.5,cy:198,r:17.5}),M.createElement("circle",{cx:145.9,cy:205.2,r:17.5})))},$b=function(e){var t=e.title,n=Rd(e,Ps);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",width:810,height:540},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FCDD09",d:"M0 0h810v540H0z"}),M.createElement("path",{stroke:"#DA121A",strokeWidth:60,d:"M0 90h810m0 120H0m0 120h810m0 120H0"}))},$w=function(e){var t=e.title,n=Rd(e,Pu);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h22.5v15H0V0z"}),M.createElement("path",{fill:"#D03433",d:"M0 0h22.5v4H0V0zm0 11h22.5v4H0v-4z"}),M.createElement("path",{fill:"#FBCA46",d:"M0 4h22.5v7H0V4z"}),M.createElement("path",{fill:"#FFF",d:"M7.8 7h1v.5h-1V7z"}),M.createElement("path",{fill:"#A41517",d:"M7.2 8.5c0 .3.3.5.6.5s.6-.2.6-.5L8.5 7H7.1l.1 1.5zM6.6 7c0-.3.2-.5.4-.5h1.5c.3 0 .5.2.5.4V7l-.1 1.5c-.1.6-.5 1-1.1 1-.6 0-1-.4-1.1-1L6.6 7z"}),M.createElement("path",{fill:"#A41517",d:"M6.8 7.5h2V8h-.5l-.5 1-.5-1h-.5v-.5zM5.3 6h1v3.5h-1V6zm4 0h1v3.5h-1V6zm-2.5-.5c0-.3.2-.5.5-.5h1c.3 0 .5.2.5.5v.2c0 .2-.1.3-.3.3H7c-.1 0-.2-.1-.2-.2v-.3z"}))},$x=function(e){var t=e.title,n=Rd(e,Pc);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#20AA46",d:"M0 0h22.5v5H0V0z"}),M.createElement("path",{fill:"#E92F3B",d:"M0 10h22.5v5H0v-5z"}),M.createElement("path",{fill:"#FADF50",d:"M0 5h22.5v5H0V5z"}),M.createElement("circle",{fill:"#205CCA",cx:11.3,cy:7.5,r:5.2}),M.createElement("g",{stroke:"#FFDB3D",fill:"none"},M.createElement("path",{d:"m11.3 8.8-2.1 1.5.8-2.4-2-1.5h2.5l.8-2.3.8 2.3h2.6l-2.1 1.5.8 2.4-2.1-1.5zm-1-2.4h1.9M9.9 7.8l1.3 1m.8-2.6.7 1.8M10 7.9l.6-1.8M11 9l1.6-1.1",strokeWidth:.5}),M.createElement("path",{d:"m8.7 3.9 1.1 1.6m4-1.7-1 1.6m-1.5 4.7V12M8.9 8.3 7.1 9m8.4 0-1.8-.7",strokeWidth:.25})))},$E=function(e){var t=e.title,n=Rd(e,Pd);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 810 540"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#039",d:"M0 0h810v540H0z"}),M.createElement("path",{fill:"#FC0",d:"m404.951 59.865 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-90 24 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-66 66 6.735 20.718h21.894l-17.633 12.812 6.638 20.74-17.634-12.812-17.634 12.812 6.736-20.729-17.633-12.812h21.796zm-24 89.999 6.735 20.719h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm24 9
1560.001 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm66 66 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm180-312 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm66 66 6.735 20.718h21.894l-17.633 12.812 6.637 20.74-17.633-12.812-17.635 12.812 6.737-20.729-17.633-12.812h21.795zm24 90 6.735 20.718h21.894l-17.633 12.813 6.638 20.74-17.634-12.813-17.634 12.813 6.736-20.731-17.633-12.811h21.796zm-24 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm-156 90 6.735 20.719h21.894l-17.633 12.811 6.638 20.74-17.634-12.811-17.634 12.811 6.736-20.729-17.633-12.812h21.796zm90-24.001 6.735 20.719h21.894l-17.633 12.812 6.639 20.74-17.635-12.812-17.633 12.812 6.735-20.73-17.633-12.811h21.797z"}))},$C=function(e){var t=e.title,n=Rd(e,Pf);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#2E52B2",d:"M513 129.3V212H203.7v130H121V212H0v-82.7h121V0h82.7v129.3z"}))},$k=function(e){var t=e.title,n=Rd(e,Ph);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#62B5E5",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#F3F3F3",d:"M307.1 127.1v92c0 61.6 80.5 80.5 80.5 80.5s80.4-19 80.4-80.6v-92l-80.5-23-80.4 23.1z"}),M.createElement("path",{fill:"#D80027",d:"M468 132.8V98.3H307.1v34.5h69v69h-69v23h69V296c6.9 2.5 11.5 3.5 11.5 3.5s4.6-1.1 11.5-3.5v-71.2h69v-23h-69v-69H468z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M0 0h256.5v170.6H0V0z"}),M.createElement("path",{d:"m155.9 115 100.6 55.6v-15.8L184.6 115h-28.7zm-55.7-59.3L0 0v15.8l71.8 39.9h28.4z"})),M.createElement("path",{d:"m196.9 115 59.6 32.9V115h-59.6zm-41 0 100.6 55.6v-15.8L184.6 115h-28.7zm73.4 55.6-73.5-40.9v40.9h73.5zM45.2 115 0 140.1V115h45.2zm55 7.1v48.6H12.8l87.4-48.6zM59.1 55.7 0 22.8v32.8s59.1 0 59.1.1zm41.1 0L0 0v15.8l71.8 39.9h28.4zM26.7 0l73.5 40.8V0H26.7zm184.2 55.7 45.6-25.1v25.1h-45.6zm-55-7.2V0h87.4l-87.4 48.5z",fill:"#0052B4"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144.3-.2h-32.1v69.5H0v32.1h112.2v69.5h32.1v-69.5h112.2V69.3H144.3V-.2z"}),M.createElement("path",{d:"m155.9 115 100.6 55.6v-15.8L184.6 115h-28.7zm-84.1 0L0 154.9v15.8L100.2 115H71.8zm28.4-59.3L0 0v15.8l71.8 39.9h28.4zm83.9 0 72.4-39.9V0L155.9 55.7h28.2z"})))},$M=function(e){var t=e.title,n=Rd(e,Pp);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),M.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),M.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),M.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),M.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),M.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),M.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}),M.createElement("path",{fill:"#1F8BDE",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3z"}),M.createElement("path",{fill:"#FFF",d:"M312.2 194.2v-90c0-8.5 6.5-15.3 15-15.3h120.5c8.3 0 15 6.8 15 15.3v90c0 75.2-75.2 105.3-75.2 105.3s-75.3-30.1-75.3-105.3zm79.6 86.3c7.9-4.5 15.9-10 23.2-16.7 20.5-18.5 32.6-41.4 32.6-69.7v-90c0-.3-120.4-.3-120.4-.3v90.3c0 28.3 12.1 51.2 32.6 69.7 8.3 7.5 17.6 13.9 27.6 19 1.4-.6 2.8-1.4 4.4-2.3z"}),M.createElement("path",{fill:"#187536",d:"M347.1 193.4c-2.6-7.9 1.7-14.3 10.1-14.3h60.5c8.2 0 12.8 6.3 10.1 14.3l-5.5 16.5c-2.6 7.9-8.9 9.2-15.8 4 0 0 2.6-4.8-19.1-4.8-21.7 0-19.1 4.8-19.1 4.8-6.1 5.7-13.1 4-15.8-4 .1.1-5.4-16.5-5.4-16.5z"}),M.createElement("path",{fill:"#FFF",d:"M357.4 179.1c8.1 1.6 17.8-15 30.1-15 13.1 0 21.8 17.1 30.1 15 7.4-1.8 15-22.2 15-30.1 0-16.6-20.2-30.1-45.1-30.1-24.9 0-45.1 13.5-45.1 30.1-.1 8.5 6.6 28.5 15 30.1zm-1.4 9
1561.6c6.2.4 12.5-1.8 17.2-6.5l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c4.7 4.7 11 6.9 17.1 6.5 5.3-.3 32.5-33.5 25.7-32.6-4.6.6-9.1 2.8-12.7 6.3l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-3.5-3.5-7.8-5.6-12.3-6.3-6.7-1.1 20.1 32.2 25.3 32.5zM322.1 210c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0l9 9c8.8 8.7 22.9 8.7 31.7 0l9-9c2.9-2.9 7.5-2.9 10.4 0 0 0 5.5-14.8 2.5-15.9-7.9-2.9-17.2-1.2-23.5 5.2l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-8.7-8.8-22.9-8.8-31.7-.1l-.1.1-9 9c-2.9 2.9-7.5 2.9-10.4 0l-9-9c-6.2-6.2-15.1-8-22.8-5.5-3.1 1.1 1.9 16.1 1.9 16.1z"}))},$_=function(e){var t=e.title,n=Rd(e,Pm);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"m256 37.9 10.1 31.2H299l-26.6 19.3 10.2 31.2-26.6-19.3-26.6 19.3 10.2-31.2L213 69.1h32.9zM123.2 170.7l31.2-10.2v-32.8l19.3 26.6 31.2-10.2-19.3 26.6 19.3 26.5-31.2-10.1-19.3 26.5v-32.8zM256 303.5l-10.1-31.2H213l26.6-19.3-10.2-31.3L256 241l26.6-19.3-10.2 31.3 26.6 19.3h-32.9zm132.8-132.8-31.2 10.1v32.8l-19.3-26.5-31.2 10.1 19.3-26.5-19.3-26.6 31.2 10.2 19.3-26.6v32.8z",fill:"#FFF"}))},$S=function(e){var t=e.title,n=Rd(e,Pg);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#0F61A5",d:"M513 214.5H206.2V342h-87.8V214.5H0v-87.7h118.4V0h87.8v126.8H513V192z"}),M.createElement("path",{fill:"#E50E3D",d:"M513 149.3V192H183.7v150H141V192H0v-42.7h141V0h42.7v149.3z"}))},$j=function(e){var t=e.title,n=Rd(e,Pv);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},$O=function(e){var t=e.title,n=Rd(e,Py);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}))},$L=function(e){var t=e.title,n=Rd(e,Pb);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 136h513v70H0z"}),M.createElement("path",{fill:"#D80027",d:"M221.5 0h70v342h-70z"}))},$A=function(e){var t=e.title,n=Rd(e,Pw);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 136h513v70H0z"}),M.createElement("path",{fill:"#D80027",d:"M221.5 0h70v342h-70z"}),M.createElement("path",{fill:"#FFF",stroke:"#231F20",strokeMiterlimit:10,d:"m256.5 87.8-24 41.4h-48.8l24.7 42.1-24.7 42.1h48.8l24 42.1 24-42.1h48.8l-24.7-42.1 24.7-42.1h-48.8l-24-41.4z"}),M.createElement("path",{fill:"#D80027",d:"M258.6 130.6c-3.3 0-3.3 3.3-3.3 3.3V160h-2v-22s0-4-3.3-4c-4 0-4 4-4 4v23.4l-2 .7v-16.7s0-4-3.3-4c-4 0-4 4-4 4V174c0 6.7 3.3 13.4 8 17.4v14h24V194c6-3.3 10.7-9.4 12-16.7 0-4 1.3-7.3 2.7-10.7l2.7-9.4s.7-3.3-2.7-4.7-4.7 2-4.7 2l-5.3 12.7h-2v-31.4s0-3.3-3.3-3.3c-4 0-4 3.3-4 3.3v24h-1.3v-26.1c-.2.2-.2-3.1-4.2-3.1z"}),M.createElement("path",{fill:"#FFDA44",stroke:"#231F20",strokeMiterlimit:10,d:"M249.2 25.7V33h-7.3v14.7h7.3v14c-4-4-9.4-6-14.7-6-12.2-.1-22.1 9.6-22.3 21.8-.1 6.1 2.4 12 6.9 16.3v13.4h74.8V93.8c4-4.7 6.7-10 6.7-16-.2-12.2-10.3-21.9-22.4-21.6-5.3.1-10.4 2.1-14.3 5.6v-14h7.3V33.1h-7.3v-7.3l-14.7-.1z"}))},$T=function(e){var t=e.title,n=Rd(e,Px);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#005EB8",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 302.1V342h59.9l196.6-131.1L453.1 342H513v-39.9L316.4 171 513 39.9V0h-59.9L256.5 131.1 59.9 0H0v39.9L196.7 171z"}))},$P=function(e){var t=e.title,n=Rd(e,PE);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v171H0z"}),M.createElement("path",{fill:"#529E3C",d:"M0 171h513v171H0z"}),M.createElement("path",{fill:"#D11C1C",d:"m201 259.8 28.2-4.8-21.8-10.3 14.9-8.4s25.2 21.2 25.2 14.4c0-7.3 23.7-4.1 22.7-14.4-1.3-14.1-26.2-1-30.6-18.7-2.5-9.9-10.3-8.6-10.3-8.6l-25.1 8.6-12.5 18.7-6.2-18.7s-14.6 11.9-19.5 18.7c-5.2 7.3-10.7 23.5-10.7 23.5l25.6 10.7-37.3-6.6-27.2 6.6-16.7 4.6 7.3-7.7-15-7.6 15-9-7.3-6.1 32.3 6.1s11.8-1.2 16.3-6.1c5.6-6.2 10.1-27.1 10.1-27.1l-14.8-8.6-11.6 21s-8-19.9-15.6-31c-5.7-8.3-24.3-27.3-24.3-27.3l-24 12.6 13.4-26.7s10.6-9.3 3.9-18.8c-6.8-9.5-12.4-30.9-12.4-30.9s14.1 24.4 19.2 22.5c7.2-2.7-9-25 0-28.9 6.5-2.9 7.6 25.5 7.6 25.5l7.3-13.9v17.3s-4.3 20.7 3 33c7.2 12.3 28.7 20.9 28.7 20.9s-5.6-12.3 0-36c3.8-16 17.2-43.4 23.6-52.1 3.3-4.6-26.7 17-26.7 17v-17l-28.6-2.9-7.3 8.3-18.3-30L104 83.1h34.6l-6.7-8.3H104s5.9-12.1 34.6-12.1l13.6-9.2s18.6.5 29 .9c9.3.4 26.1-11.5 26.1-11.5l4.7 11.5-11 17.3 11.1 11.4-4.7 7 8.1 11.5H201l11.1 17.9-11.1-6.3 6.4 17.3-6.4 17.8 28.2-9.5s0-25.6 10.3-37.2C271.1 69.2 322.6 43 322.6 43s-2.7 23.5 4.9 25.4c11.1 2.7 59.4-19.4 59.4-19.4s-29 31.3-23.1 34.1c3.2 1.5 8.5 7 8.5 7s-25.1 20.5-29.3 29.3c-4.2 8.8 6.1 19.4 6.1 19.4s-21.7 0-32.5 9.5c32.5 0 59.1 15.4 74.8 4 10.5-7.6-37.7-2.9-31.4-21.9 2.4-7.1 8.5-15.2 22.6-17.3s19.1 6.3 19.1 6.3l7.6-11.5h-22.4l40.6-39.6 5.3 51.1-13.7-11.4-6.2 19.2c14.6 44.6-52.8 54.1-52.8 54.1l41.6 27.8-14.8 4.2-4.2 41.7 19.1 15.5-25-6.6-49.2 11.2 9.8-15.3-20.6 4.1 13.7-13.1-13.7-6.1 17.6-4.9 22.1 15.2s11-14.2 12.2-21.7c1.3-7.8-4.8-24.2-4.8-24.2s-32.6-.7-44.1-3.5-18.2-11.9-18.2-11.9l-13.1 15.4s45.5 17.1 34.1 24.2c-2.6 1.7-15.7-3.2-15.7-3.2s-22.4 26.2-36.8 29.7c-6.5 1.6 18.3 10.7 18.3 10.7s-21.2-3.4-32-6.6c-11.3-3.4-44.4 6.6-44.4 6.6l-11-10.7zM383.9 138c3.1 0 5.7-2.6 5.7-5.7s-2.6-5.7-5.7-5.7-5.7 2.6-5.7 5.7 2.5 5.7 5.7 5.7z"}))},$N=function(e){var t=e.title,n=Rd(e,PC);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M0 0h513v341.3H0V0z"}),M.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zM200.3 111.3 0 0v31.5l143.7 79.8h56.6z"})),M.createElement("path",{d:"M393.8 230 513 295.7V230H393.8zm-82.1 0L513 341.3v-31.5L369.3 230h-57.6zm146.9 111.3-147-81.7v81.7h147zM90.3 230 0 280.2V230h90.3zm110 14.2v97.2H25.5l174.8-97.2zm-82.1-132.9L0 45.6v65.7h118.2zm82.1 0L0 0v31.5l143.7 79.8h56.6zM53.4 0l147 81.7V0h-147zm368.3 111.3L513 61.1v50.2h-91.3zm-110-14.2V0h174.9L311.7 97.1z",fill:"#0052B4"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M288 0h-64v138.7H0v64h224v138.7h64V202.7h224v-64H288V0z"}),M.createElement("path",{d:"M311.7 230 513 341.3v-31.5L369.3 230h-57.6zm-168 0L0 309.9v31.5L200.3 230h-56.6zm56.6-118.7L0 0v31.5l143.7 79.8h56.6zm168 0L513 31.5V0L311.7 111.3h56.6z"})))},$F=function(e){var t=e.title,n=Rd(e,Pk);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#c60a0a",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#3E8446",d:"m256.5 170.7-212 126.1V44.5z"}),M.createElement("path",{d:"m256.5 170.7 211 126.1h-423zm211-126.2-211 126.2-212-126.2z",fill:"#FFDA44"}),M.createElement("path",{fill:"#3E8446",d:"M467.5 44.5v252.3l-211-126.1z"}),M.createElement("path",{d:"m256.5 10.4 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm-85.4 293.8 2.8 10.2H270l-8.6 6.3 3.3 10.2-8.2-6.3-9.2 6.3 3.3-10.2-8.6-6.3h10.7zm-86.4 0 3.3 10.2h10.7l-8.6 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7zm171.8 0 3.3 10.2H356l-8.7 6.3 3.3 10.2-8.7-6.3-8.7 6.3 3.3-10.2-8.6-6.3h10.7z",fill:"#FFDA44"}
156),M.createElement("circle",{fill:"#c60a0a",cx:244.5,cy:170.7,r:76.2}),M.createElement("path",{fill:"#FFDA44",d:"m244.5 110.1 13.6 41.8h44l-35.6 25.8 13.6 41.8-35.6-25.8-35.5 25.8 13.6-41.8-35.6-25.8h44zm-136.8 57.7c4.4 6.9 2.3 16.1-4.6 20.5s-16.1 2.3-20.5-4.6c-7.9-12.5-3.3-33-3.3-33s20.4 4.6 28.4 17.1z"}),M.createElement("circle",{fill:"#A2001D",cx:99.1,cy:182.1,r:7.4}))},$R=function(e){var t=e.title,n=Rd(e,PM);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#fff",d:"M0 0h22.5v15H0z"}),M.createElement("path",{fill:"#eb000e",d:"M9.8 6H0v3h9.8v6h3V9h9.8V6h-9.8V0h-3v6z"}),M.createElement("path",{fill:"#eb000e",d:"m17.3 2.7-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm-12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm0 9-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2zm12.7 0-.2-1.2h1l-.2 1.2 1.2-.2v1l-1.2-.2.2 1.2h-1l.2-1.2-1.2.2v-1l1.2.2z"}))},$$=function(e){var t=e.title,n=Rd(e,P_);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FDEB01",d:"m0 0 90 60H0z"}),M.createElement("path",{fill:"#58A846",d:"M90 0v60L0 0z"}),M.createElement("path",{fill:"#ED3D24",d:"m50.7 33.3 9.3-6.7H48.5L45 15.7l-3.5 10.9H30l9.3 6.7-3.6 11 9.3-6.7 9.3 6.7z"}))},$D=function(e){var t=e.title,n=Rd(e,PS);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M308 0H204v118.7H0v104h204V342h104V222.7h205v-104H308z"}),M.createElement("path",{fill:"#FFDA44",d:"m368.6 188 26 17.3V136l-26 17.3h-95.3V58.1l17.3-26h-69.2l17.3 26v95.2h-95.3l-26-17.3v69.3l26-17.3h95.3v95.2l-17.3 26h69.2l-17.3-26V188z"}))},$z=function(e){var t=e.title,n=Rd(e,Pj);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),M.createElement("path",{d:"m255.9 113.8 14.1 43.4 40.4 3.2-37 26.9 19.5 40.3-37-26.9-37 26.9 14.1-43.5-36.9-26.9h45.7z"}))},$I=function(e){var t=e.title,n=Rd(e,PO);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 230h513v112H0z"}),M.createElement("path",{fill:"#D80027",stroke:"#000",strokeMiterlimit:10,d:"M363.1 131.8V99.1H374V77.3h-21.9v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7h-21.8V55.5h10.9V33.7h-21.8v10.9h-10.9V33.7H254v10.9h-10.9V33.7h-21.8v21.8h10.9v76.3h-21.8V99.1h10.9V77.3h-21.8v10.9h-21.8V77.3h-21.8v21.8h10.9v32.7H145V219h239.9v-87.2z"}),M.createElement("path",{fill:"#FFDA44",stroke:"#000",strokeMiterlimit:10,d:"m264.9 235.5-24.2 18.2 19.1 14.3v31.3h-23.2v9h23v7.9h-23v9.3H270V268l19.1-14.3-24.2-18.2zm0 25.3-10.1-7.1 10.1-7.1 10.1 7.1-10.1 7.1z"}),M.createElement("path",{d:"M239.6 209.7v-27.9s.1-22.3 25-22.3c24.8 0 25.7 22 25.7 22v28.2h-50.7zm-69.1 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8z"}),M.createElement("path",{d:"M169.1 209.7v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm151.8 0v-24.3s.1-18.7 19.6-18.7 20.2 18.4 20.2 18.4v24.5h-39.8zm8.4-77.7v-15.7s.1-12.1 11.3-12.1c11.3 0 11.7 11.9 11.7 11.9V132h-23zm-78.8 0v-23.7s.1-18.3 14.3-18.3c14.2 0 14.7 18 14.7 18v24h-29zm-73 0v-15.7s.1-12.1 11.3-12.1 11.7 11.9 11.7 11.9V132h-23z"}))},$H=function(e){var t=e.title,n=Rd(e,PL);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M513 0v171H0V0z"}),M.createElement("circle",{fill:"#FFF",cx:185.8,cy:171.2,r:117.8}),M.createElement("path",{fill:"#D80027",d:"M68 171c0-65.1 52.8-117.8 117.8-117.8 65.1 0 117.8 52.8 117.8 117.8"}))},$B=function(e){var t=e.title,n=Rd(e,PA);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}
vendor: 10,257 bytes, line 156
156),M.createElement("path",{fill:"#cf0d19",d:"M0 0h513v100H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 121h513v100H0z"}),M.createElement("path",{fill:"#1a7e25",d:"M0 242h513v100H0z"}))},$W=function(e){var t=e.title,n=Rd(e,PT);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h512v342H0z"}),M.createElement("path",{fill:"#6DA544",d:"M342 0h171v342H342z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h171v342H0z"}))},$V=function(e){var t=e.title,n=Rd(e,PP);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},$U=function(e){var t=e.title,n=Rd(e,PN);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 0h513v113.8H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 227.6h513V342H0z"}),M.createElement("path",{fill:"#0070C8",d:"M126 171 0 342V0z"}),M.createElement("path",{fill:"none",stroke:"#000",strokeMiterlimit:10,d:"M233.8 139.4v40.4c0 35.6 35.6 35.6 35.6 35.6s35.6 0 35.6-35.6v-40.4h-71.2z"}),M.createElement("path",{fill:"#786145",d:"M264.5 179.8h9.8l4 25.8h-17.8z"}),M.createElement("path",{fill:"#6DA544",d:"M287.2 162c0-9.8-8-14.8-17.8-14.8s-17.8 5-17.8 14.8c-4.9 0-8.9 4-8.9 8.9s4 8.9 8.9 8.9h35.6c4.9 0 8.9-4 8.9-8.9s-4-8.9-8.9-8.9z"}),M.createElement("path",{d:"m230.7 120 1.9 3.3h3.8l-1.9 3.3 1.9 3.2h-3.8l-1.9 3.3-1.9-3.3H225l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.3 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2h-3.7l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8zm15.8 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H279l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm16 0 1.9 3.3h3.8l-1.9 3.3 1.9 3.2H295l-1.9 3.3-1.9-3.3h-3.7l1.8-3.2-1.8-3.3h3.7zm15 0 1.9 3.3h3.7l-1.9 3.3 1.9 3.2H310l-1.9 3.3-1.9-3.3h-3.8l1.9-3.2-1.9-3.3h3.8z",fill:"#FFDA00",stroke:"#000",strokeMiterlimit:10}))},$q=function(e){var t=e.title,n=Rd(e,PF);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("g",{fill:"#0d5eaf"},M.createElement("path",{d:"M0 0h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z"}),M.createElement("path",{d:"M0 0h190v190H0z"})),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M0 76h190v38H0z"}),M.createElement("path",{d:"M76 0h38v190H76z"})))},$G=function(e){var t=e.title,n=Rd(e,PR);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),M.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),M.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),M.createElement("path",{fill:"#D80027",d:"M0 170.7v-11l62.5-42.3h22.6L7.3 170.7zM7.3.1l77.8 53.2H62.5L0 11.1V.1zM256 .1v11l-62.5 42.3h-22.6L248.7.1zm-7.3 170.6-77.8-53.3h22.6l62.5 42.3v11z"}),M.createElement("ellipse",{fill:"#FFF",cx:443.4,cy:233.6,rx:29,ry:43.5}),M.createElement("ellipse",{fill:"#FFCE00",cx:406.9,cy:317.7,rx:22,ry:9.3}),M.createElement("ellipse",{fill:"#FFCE00",cx:364,cy:317.7,rx:22,ry:9.3}),M.createElement("path",{fill:"#39B200",d:"m342 190.1 43.4 86.9 43.5-86.9z"}),M.createElement("ellipse",{fill:"#9B9B9B",cx:327.5,cy:233.6,rx:29,ry:43.5}),M.createElement("path",{fill:"#757575",d:"m371 175.6-14.5 14.5h57.9l-14.5-14.5 14.5-43.5s-13-29-29-29-29 29-29 29l14.6 43.5z"}),M.createElement("circle",{fill:"#C6B56F",cx:385.4,cy:67,r:29}),M.createElement("circle",{fill:"#A54A00",cx:386,cy:88.7,r:29}),M.createElement("circle",{fill:"#FFF",cx:443.4,cy:117.7,r:29}),M.createElement("circle",{fill:"#0049FF",cx:342.2,cy:146.7,r:29}),M.createElement("circle",{fill:"#0041F9",cx:429.8,cy:146.7,r:29}),M.createElement("circle",{fill:"#F7D71E",cx:386,cy:233.6,r:29}),M.createElement("circle",{fill:"#CEC851",cx:457.9,cy:190.1,r:29}),M.createElement("circle",{fill:"#FFF",cx:385.4,cy:289.5,r:29}),M.createElement("path",{fill:"#7C0B29",d:"m371 135.7 14.5-3.5 14.5 3.5c0 7.5-14.5 11-14.5 11s-14.5-3.5-14.5-11z"}),M.createElement("circle",{fill:"#FFF",cx:327.5,cy:117.4,r:29}))},$Y=function(e){var t=e.title,n=Rd(e,P$);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h171v342H0zm342 0h171v342H342z",fill:"#338AF3"}),M.createElement("circle",{fill:"#DCC26D",cx:256,cy:155.8,r:25.5}),M.createElement("path",{fill:"#628A40",d:"M194.2 155.9c0 22.1 11.8 42.5 30.8 53.5 5.9 3.4 13.5 1.4 16.9-4.5 3.4-5.9 1.4-13.5-4.5-16.9-11.5-6.6-18.5-18.9-18.5-32.1 0-6.8-5.5-12.4-12.4-12.4s-12.3 5.5-12.3 12.4zm95.1 52.1c17.8-11.4 28.6-31 28.5-52.1 0-6.8-5.5-12.4-12.4-12.4-6.8 0-12.4 5.5-12.4 12.4 0 12.7-6.5 24.5-17.1 31.3-5.8 3.6-7.7 11.2-4.1 17 3.6 5.8 11.2 7.7 17 4.1.2-.1.3-.2.5-.3z"}))},$Z=function(e){var t=e.title,n=Rd(e,PD);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#0052B4",d:"M11.1 11.1h489.7v319.1H11.1z"}),M.createElement("path",{fill:"#7DBEF1",d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}),M.createElement("path",{fill:"#1C8AE6",d:"M179.8 180.7h152.6l-29.3 64.9h-95.2z"}),M.createElement("path",{fill:"#FFF042",d:"M192.3 205.9s40.5 38.2 51 38.2c12.4 0 12.6-18.4 25.5-25.5 20.2-11.1 51-12.7 51-12.7L297 248.7l-41 36.6-46.8-39.7-16.9-39.7z"}),M.createElement("path",{fill:"#259C7B",d:"m256 157.5-22.5 15.6 7.9-26.2-21.8-16.5 27.4-.5 9-25.9 9 25.9 27.4.5-21.8 16.6 7.9 26.2-22.5-15.7z"}),M.createElement("path",{fill:"#8E5715",d:"M249.7 144.6c-.9 9.2-1.5 18.4-1.7 27.6-.3 11.9.3 20.7 2 26 2.2 6.6 7.2 12.9 14.2 18.9 5.3 4.6 10.6 8.1 14.2 10.1 3.1 1.7 7 .6 8.7-2.4 1.7-3.1.6-7-2.4-8.7-4.3-2.5-8.4-5.4-12.2-8.7-5.4-4.6-9.1-9.2-10.4-13.3-1.1-3.4-1.6-11.3-1.4-21.7.2-8.9.8-17.8 1.7-26.6.4-3.5-2.2-6.6-5.7-7-3.6-.3-6.7 2.3-7 5.8z"}),M.createElement("path",{fill:"#FFF",d:"m217.8 170.7 25.5 38.2h-25.5v-38.2z"}),M.createElement("path",{fill:"none",stroke:"#D80027",strokeWidth:12,strokeMiterlimit:10,d:"M256 285.3s76.4-51.3 76.4-114.6S256 56 256 56s-76.4 51.3-76.4 114.6S256 285.3 256 285.3z"}))},$K=function(e){var t=e.title,n=Rd(e,Pz);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#6DA544",d:"M0 0h512v342H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 0h512v171H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h182v342H0z"}),M.createElement("path",{d:"m98.3 109.8 15.1 46.5h48.9L122.8 185l15.1 46.5-39.6-28.7-39.5 28.7L73.9 185l-39.6-28.7h48.9z"}))},$Q=function(e){var t=e.title,n=Rd(e,PI);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#009E49",d:"M0 0h900v600H0V0z"}),M.createElement("path",{fill:"#FFF",d:"m0 0 947 300L0 600V0z"}),M.createElement("path",{fill:"#FFD00D",d:"M0 26.1 870 300 0 573.9V26.1z"}),M.createElement("path",{fill:"#2D2D2D",d:"m0 0 450 300L0 600V0z"}),M.createElement("path",{fill:"#D3132F",d:"m0 35 397.5 265L0 565V35z"}))},$X=function(e){var t=e.title,n=Rd(e,PH);return M.createElement("svg",Rc({viewBox:"0 0.5 21 14",xmlns:"http://www.w3.org/2000/svg"},n),t&&M.createElement("title",null,t),M.createElement("g",{fill:"none",fillRule:"evenodd"},M.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0z"}),M.createElement("path",{fill:"#ee1c25",d:"M0 0h21v15H0z"}),M.createElement("path",{d:"M12 7.19c-.798-.5-1 .409-1 0 0-.828.895-1.5 2-1.5s2 .672 2 1.5c-.949 0-1.044.5-1.5.5-.56 0-.702 0-1.5-.5zM13.25 7a.25.25 0 1 0 0-.5.25.25 0 0 0 0 .5zm-1.81 1.962c.228-.913-.698-.824-.31-.95.788-.257 1.703.387 2.045 1.438.341 1.05-.021 2.11-.809 2.366-.293-.903-.798-.838-.939-1.272-.173-.533-.217-.668.012-1.582zm.566 1.13a.25.25 0 1 0 .476-.154.25.25 0 0 0-.476.154zM9.58 8.977c.94-.065.57-.919.81-.588.486.67.157 1.74-.737 2.389-.894.65-2.013.632-2.5-.038.768-.558.55-1.018.92-1.286.453-.33.568-.413 1.507-.477zm-.899.888a.25.25 0 1 0 .294.405.25.25 0 0 0-.294-.405zm.312-2.652c.351.874 1.049.258.809.588-.487.67-1.606.687-2.5.038-.894-.65-1.223-1.719-.736-2.39.767.559 1.138.21 1.507.478.453.33.568.413.92 1.286zm-1.124-.58a.25.25 0 1 0-.293.404.25.25 0 0 0 .293-.404zm2.619-.524c-.722.605.08 1.078-.309.951-.788-.256-1.15-1.315-.809-2.365.342-1.05 1.257-1.695 2.045-1.439-.293.903.153 1.147.012 1.581-.173.533-.217.668-.939 1.272zm.205-1.247a.25.25 0 1 0-.475-.155.25.25 0 0 0 .475.155z",fill:"#FFF"})))},$J=function(e){var t=e.title,n=Rd(e,PB);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M223.4 170.7c.3-.3.5-.6.8-.9-.3.3-.5.6-.8.9zm-34.2 41.9 11 22.9 24.7-5.7-11.1 22.8 19.9 15.8L209 274v25.4l-19.8-15.9-19.8 15.9.1-25.4-24.8-5.6 19.9-15.8-11.1-22.8 24.8 5.7zm197.9 28.5 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6v12.2l-9.4-7.6-9.5 7.6.1-12.2-11.9-2.6 9.5-7.5-5.3-10.9 11.9 2.7zm-48.6-116 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6v-12.1l-11.8-2.7 9.5-7.5-5.3-10.9 11.8 2.7zm48.6-66.2 5.2 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.7v12.1l-9.4-7.6-9.5 7.6.1-12.1-11.9-2.7 9.5-7.5-5.3-10.9 11.9 2.7zm42.4 49.7 5.3 10.9 11.8-2.7-5.3 10.9 9.5 7.5-11.8 2.6V1
15650l-9.5-7.6-9.4 7.6v-12.2l-11.8-2.6 9.5-7.5-5.3-10.9 11.8 2.7zm-30.3 57.9 4.1 12.7h13.3l-10.8 7.8 4.1 12.6-10.7-7.8-10.8 7.8 4.1-12.6-10.7-7.8h13.3z"}),M.createElement("path",{d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"})),M.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),M.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),M.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),M.createElement("path",{d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),M.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),M.createElement("path",{d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z",fill:"#D80027"}))},$1=function(e){var t=e.title,n=Rd(e,PW);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0zm203.5-110.1 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zM256 147.6l6.7 16.6 17.6 1-14 10.9 4.7 17.7-15-9.9-15 9.9 4.7-17.7-14-10.9 17.6-1zm-52.5 29.7 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1zm105 0 6.7 16.6 17.6 1-14 10.9 4.7 17.6-15-9.9-15 9.9 4.7-17.6-14-10.9 17.6-1z",fill:"#338AF3"}))},$0=function(e){var t=e.title,n=Rd(e,PV);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 228h513v114H0z"}),M.createElement("path",{d:"M309.3 113.2v-44l17.5-14.4 17.7 14.4v44zm-105.6 0v-44l-17.3-14.4-17.9 14.4v44zm35.2 0v-44l17.6-14.4 17.6 14.4v44z",fill:"#338AF3"}),M.createElement("path",{d:"M309.3 113.2h-35.2v-44l17.5-14.4 17.7 14.4zm-70.4 0h-35.2v-44l17.5-14.4 17.7 14.4z",fill:"#0052B4"}),M.createElement("path",{stroke:"#D80027",fill:"#FFF",d:"M168.5 113.2v101.9c0 24.3 14.4 46.2 35.4 59.4 21.3 13.4 42.1 14.7 52.6 14.7s31.4-1.7 52.6-14.8c21-13 35.4-35.1 35.4-59.3V113.2h-176z"}),M.createElement("path",{d:"M168.5 113.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-105.6 35.2h35.2v35.2h-35.2zm35.2 35.2h35.2V254h-35.2zm35.2-35.2h35.2v35.2h-35.2zm70.4 0h35.2v35.2h-35.2zm-35.2 35.2h35.2V254h-35.2zm35.2 55.5c8.6-5.4 16.2-12.3 22-20.3h-22v20.3zM181.7 254c5.8 8 13.3 14.9 22 20.4V254h-22zm57.2 0v33.7c7.2 1.2 13.3 1.5 17.6 1.5 4.3 0 10.4-.3 17.6-1.6V254h-35.2z",fill:"#D80027"}))},$2=function(e){var t=e.title,n=Rd(e,PU);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#A2001D",d:"M0 0h513v172H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 172h513v172H0z"}),M.createElement("path",{fill:"#FFF",d:"m381.4 251.5-110.7-13.8-110.8 13.8V85.4h221.5z"}),M.createElement("circle",{fill:"#0052B4",cx:270.7,cy:182.3,r:55.4}),M.createElement("circle",{fill:"#A2001D",cx:270.7,cy:182.3,r:27.7}),M.createElement("path",{fill:"#6DA544",d:"M229.1 113.1h83.1l-41.5 41.5z"}),M.createElement("path",{fill:"#FFDA44",d:"M256.8 140.8h27.7v83h-27.7z"}),M.createElement("path",{fill:"#6DA544",d:"M314.9 215.5h-88.5l-66.5 36h221.5z"}))},$3=function(e){var t=e.title,n=Rd(e,Pq);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}))},$5=function(e){var t=e.title,n=Rd(e,PG);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 300 200"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#fc0",d:"M0 0h300v200H0z"}),M.createElement("path",{fill:"#0768a9",d:"M0 0h200v200H0z"}),M.createElement("path",{fill:"#fff",d:"M0 0h100v200H0z"}))},$4=function(e){var t=e.title,n=Rd(e,PY);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#E00",d:"M0 0h513v171H0z"}))},$6=function(e){var t=e.title,n=Rd(e,PZ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#FF9811",d:"M342 0h171v342H342z"}))},$7=function(e){var t=e.title,n=Rd(e,PK);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M340.6 122.4h-56.1l-28-48.6-28 48.6h-56.1l28 48.6-28 48.6h56.1l28 48.6 28-48.6h56.1l-28-48.6 28-48.6zM293.2 171 276 204.2h-38.9L219.8 171l17.2-33.2h38.9l17.3 33.2zm-36.7-71.8 11.9 23.3h-23.9l12-23.3zm-58.3 38.6h23.9l-10.8 21-13.1-21zm0 66.4 13-22.1 11.9 22.1h-24.9zm58.3 37.5-11.9-22.1h23.9l-12 22.1zm59.4-37.5h-25l11.9-22.1 13.1 22.1zm-26.1-66.4h26.1l-13 22.1-13.1-22.1zM0 21.3h512V64H0zm0 256h512V320H0z",fill:"#2E52B2"}))},$8=function(e){var t=e.title,n=Rd(e,PQ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#E52D42",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M393.3 68.2h-45.8l-33.8 80.2-34.4-22.9s-24.7-59.1-34.4-68.2c-9.7-9.7-18.7-.6-48.9 7.8-29.6 8.4-30.8 18.7-42.2 18.7-4.8 0-19.9-17.5-27.7-22.3-12.1-7.8-16.9-4.2-13.9 7.2 1.2 4.8 10.9 10.9 16.9 19.9 7.8 11.5 12.7 25.9 12.7 25.9s10.9-10.3 16.9-12.1c9-2.4 19.3 1.8 31.4 0 15.1-2.4 31.4-10.9 31.4-10.9l4.2 43.4s-54.3 50.7-49.5 70.6 56.1 44.6 68.2 62.7c12.1 17.5-7.2 24.1-7.2 32.6s-1.8 19.9 7.2 16.3c9-3.6 10.3-18.1 18.7-31.4 6-9 10.3-13.9 11.5-17.5 1.8-9-23.5-32-37.4-48.9-6.6-7.8-19.9-18.7-19.9-18.7l39.2-29.6s67.6 27.7 82.6 18.7c15.1-9 19.3-98.3 19.3-98.3l47-11.5-12.1-11.7z"}),M.createElement("path",{fill:"#F8DD4E",d:"M279.3 262.4c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.8-182.8c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm0 91.1c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6 0 11.5 4.8 11.5 11.5-.6 6.7-5.5 11.5-11.5 11.5zm-136.9 45.8c-6 0-11.5-4.8-11.5-11.5 0-6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5s-5.5 11.5-11.5 11.5zm45.2-136.9c-6 0-11.5-4.8-11.5-11.5s4.8-11.5 11.5-11.5c6 0 11.5 4.8 11.5 11.5s-4.8 11.5-11.5 11.5zm22.9 91.1c-6 0-11.5-10.3-11.5-22.9s4.8-22.9 11.5-22.9c6 0 11.5 10.3 11.5 22.9s-4.8 22.9-11.5 22.9zm-114-45.2c-6 0-11.5-4.8-11.5-11.5 0-6.6 4.8-11.5 11.5-11.5 6.6 0 11.5 4.8 11.5 11.5 0 6.6-4.8 11.5-11.5 11.5z"}))},$9=function(e){var t=e.title,n=Rd(e,PX);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#F93",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#fff",d:"M0 114h513v114H0z"}),M.createElement("path",{fill:"#138808",d:"M0 228h513v114H0z"}),M.createElement("circle",{cx:256.5,cy:171,r:34.2,stroke:"navy",strokeWidth:4,fill:"none"}),M.createElement("circle",{cx:256.5,cy:171,r:3.42,fill:"navy"}),M.createElement("path",{d:"m265.3 138.159-17.6 65.682m17.6-65.682-17.6 65.682m25.8-62.286-34 58.89m41.042
156-53.487-48.084 48.084M285.945 154l-58.89 34m62.286-25.8-65.682 17.6M290.5 171h-68m66.841 8.8-65.682-17.6m62.286 25.8-58.89-34m53.487 41.042-48.084-48.084m41.042 53.487-34-58.89m25.8 62.286-17.6-65.682M256.5 205v-68m-8.8 66.841 17.6-65.682m-25.8 62.286 34-58.89m-41.042 53.487 48.084-48.084M227.055 188l58.89-34m-62.286 25.8 65.682-17.6M222.5 171h68m-66.841-8.8 65.682 17.6M227.055 154l58.89 34m-53.487-41.042 48.084 48.084M239.5 141.555l34 58.89m-25.8-62.286 17.6 65.682",stroke:"navy",strokeWidth:2}))},De=function(e){var t=e.title,n=Rd(e,PJ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0-.3h513V342H0V-.3z"}),M.createElement("path",{fill:"#0052B4",d:"M462.9 198.1c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zM0 31.7l19 10c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-10 20-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-10 21-10s13 6 20 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 21 10c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-10 20-10s14 6 20 10c11 6 22 12 32.1 12s20-6 31.1-12l19-10v-22c-10 1-20 6-30.1 12-7 4-16 9-20 9s-14-5-21-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-11-30.1-12v22zm462.9 55.2c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 3.9-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23c4 1 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-8 19-9v-23zm-50.1 133.3c-4 0-14-5-21-9-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 9-20 9s-14-5-20-9c-11-6-22-12-32.1-12-9 0-20 6-31.1 12-7 4-16 9-20 9s-13-5-20-9c-11-6-22-12-31.1-12-10 0-21 6-32.1 12-6 4-16 9-20 9s-13-5-20-9c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 9-21 9s-13-5-20-9c-10-6-20-12-30.1-12v22l19 9c11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12l19-9v-22c-10 0-20 6-30.1 12-7 4-16 9-20 9zm50.1 34c-10 1-20 6-30.1 12-7 4-16 10-20 10s-14-6-21-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-14-6-20-10c-11-6-22-12-32.1-12s-20 6-31.1 12c-7 4-16 10-20 10s-13-6-20-10c-11-6-22-12-31.1-12s-21 6-32.1 12c-6 4-16 10-20 10s-13-6-20-10c-11-6-21-12-31.1-12s-20 6-31.1 12c-7 4-17 10-21 10s-13-6-20-10c-10-6-20-11-30.1-12v23
156c4 0 13 5 19 9 11 6 21 12 31.1 12s21-6 32.1-12c6-4 16-9 20-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 17-9 21-9s13 5 20 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 21 9c11 6 21 12 31.1 12s20-6 31.1-12c7-4 16-9 20-9s14 5 20 9c11 6 22 12 32.1 12s20-6 31.1-12c6-4 15-9 19-9v-23z"}),M.createElement("path",{fill:"#FFF",d:"M0-.3h256v171H0V-.3z"}),M.createElement("path",{d:"M389.8 119.9H408v78.8h-18.3l.1-78.8zm0 117.8H408v75.1h-18.3l.1-75.1z",fill:"#A2001D"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144-.3h-32v70H0v32h112v69h32v-69h112v-32H144v-70z"}),M.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54z"}),M.createElement("path",{d:"M0-.3v15l57 39h23L0-.3zm256 0v15l-57 39h-23l80-54zM0 170.7v-15l57-38h23l-80 53zm256 0v-15l-57-38h-23l80 53z"})),M.createElement("g",{fill:"#2E52B2"},M.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73z"}),M.createElement("path",{d:"M0 22.7v31h46l-46-31zm96-23v49L23-.3h73zm160 23v31h-46l46-31zm-96-23v49l73-49h-73zM0 147.7v-30h46l-46 30zm96 23v-49l-73 49h73zm160-23v-30h-46l46 30zm-96 23v-49l73 49h-73z"})),M.createElement("path",{fill:"#5DA51E",stroke:"#45602C",strokeWidth:4,strokeMiterlimit:10,d:"M462.8 91.5h-29.1l25.7-25.7c4.5-4.4 4.5-11.4 0-15.8l-3.4-3.4c-4.4-4.4-11.4-4.4-15.8 0l-25.9 25.9V37.4c0-6.2-5.1-11.3-11.3-11.3h-4.7c-6.2 0-11.3 5.1-11.3 11.3v31.7l-23.5-23.8c-4.7-4.7-12.2-4.7-16.9 0l-3.6 3.6c-4.7 4.7-4.7 12.4 0 17.2l25 25.4h-30.6c-6 0-10.9 4.9-10.9 10.9v4.6c0 6 4.9 10.9 10.9 10.9H369l-20.7 20.7c-4.4 4.4-4.4 11.4 0 15.8l3.4 3.4c4.4 4.4 11.4 4.4 15.8 0l19.6-19.6V167c0 6.1 5.1 11.1 11.3 11.3h4.7c6.2 0 11.3-5.1 11.3-11.3v-28.3l22.2 22.6c4.7 4.7 12.4 4.7 17.1 0l3.6-3.6c4.7-4.7 4.7-12.4 0-17.2L435.2 118h27.6c5.9 0 10.7-4.9 10.9-10.9v-4.6c0-6.1-4.9-11-10.9-11z"}),M.createElement("path",{fill:"#E2DD24",stroke:"#525625",strokeWidth:4,strokeMiterlimit:10,d:"M439.2 249.1h-79.8s-.9-13.4-6-21.8c-6.2-10.4-13.9-28.1-1.4-36.7 15.9-10.9 33.7.8 48.2.8 11.8.1 26.9-14 45-.8 12.2 8.9 3.9 28.2-1.3 36.7-7 11.5-4.7 21.8-4.7 21.8z"}))},Dt=function(e){var t=e.title,n=Rd(e,P1);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#CE1126",d:"M0 0h513v114H0z"}),M.createElement("path",{d:"M0 228h513v114H0z"}),M.createElement("path",{d:"M219.2 160.7h-29.3c1.5-5.7 6.6-9.9 12.8-9.9v-19.9c-18.3 0-33.1 14.9-33.1 33.1v16.5h49.6c1.8 0 3.3 1.5 3.3 3.3v6.6h-66.2v19.9h86.1v-26.5c0-12.7-10.4-23.1-23.2-23.1zm49.6 29.8v-59.6H249v79.5h33.1v-19.9zm66.2 0v-59.6h-19.8v59.6h-6.6v-19.8h-19.9v39.7h59.6v-19.9z",fill:"#547C31"}))},Dr=function(e){var t=e.title,n=Rd(e,P0);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),M.createElement("path",{d:"M0 227.9h513v114H0zm278.8-93.1c.1 2 8.7 26.2 4.4 39.4-6.6 20.3-15.8 21.8-19.8 24.5V134l-6.9-4.2-6.9 4.2v64.7c-4-2.7-12.4-2.4-19.8-24.5-4.3-12.7 5.7-37.3 5.8-39.2 0 0-9.5 8.1-15.8 24-5.9 14.8 1.9 49.6 29.5 54.8 2.3.4 4.7 5.6 7.2 5.6 2.1 0 4.1-5.2 6-5.5 28.4-4.6 35-41.7 29.9-55.6-5.4-14.6-13.6-23.5-13.6-23.5z",fill:"#D80027"}),M.createElement("path",{d:"M44.6 98.9h22.3v24.4H44.6zM0 98.9h22.3v24.4H0zm89.2 0h22.3v24.4H89.2zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4H223zm44.7 0H290v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0h22.3v24.4h-22.3zm44.6 0H513v24.4h-22.3zm-446.1 118h22.3v25.5H44.6zm-44.6 0h22.3v25.5H0zm89.2 0h22.3v25.5H89.2zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5H223zm44.7 0H290v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0h22.3v25.5h-22.3zm44.6 0H513v25.5h-22.3z",fill:"#FFF",opacity:.5}))},Dn=function(e){var t=e.title,n=Rd(e,P2);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M513 210.6H202.2v130.7h-79.8V210.6H0v-79.8h122.4V0h79.8v130.8H513v18.5l-1 42.7z"}),M.createElement("path",{fill:"#D80027",d:"M513 149.3V192H183.7v149.3H141V192H0v-42.7h141V0h42.7v149.3z"}))},Da=function(e){var t=e.title,n=Rd(e,P3);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#F4F5F0",d:"M342 0H0v341.3h512V0z"}),M.createElement("path",{fill:"#008C45",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#CD212A",d:"M342 0h171v342H342z"}))},Do=function(e){var t=e.title,n=Rd(e,P5);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M301.8 171 513 30.2V0h-45.3L256.5 140.8 45.3 0H0v30.2L211.2 171 0 311.8V342h45.3l211.2-140.8L467.7 342H513v-30.2z"}),M.createElement("path",{fill:"#FFDA44",d:"m233.7 44.6 22.3 5.6 22.3-5.6 4-2
1560.9-14.9 6.5L256 14.8l-11.4 15.4-14.9-6.5z"}),M.createElement("path",{fill:"#D80027",d:"M233.7 44.6s-4 12.9-4 29.9c0 27.9 26.3 41.3 26.3 41.3s26.3-15.5 26.3-41.3c0-15.4-4-29.9-4-29.9s-8.1-5-22.3-5-22.3 5-22.3 5z"}))},Di=function(e){var t=e.title,n=Rd(e,P4);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M215.9 171 0 314.6V26.8zM513 26.8v287.8L296.1 171z"}),M.createElement("path",{fill:"#0052B4",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}),M.createElement("path",{fill:"#FFDA44",d:"M513 26.8 296.1 171 513 314.6V342h-41.1L256 197.4 40.1 342H0v-27.4L215.9 171 0 26.8V0h40.1L256 143.9 471.9 0H513z"}))},Dl=function(e){var t=e.title,n=Rd(e,P6);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 228h513v114H0z"}),M.createElement("path",{fill:"#D80027",d:"M256.5 170.7 0 341.3V0z"}),M.createElement("path",{fill:"#FFF",d:"m77.9 139.5 7.9 16.4 17.8-4.1-8 16.5 14.3 11.3-17.8 4 .1 18.3-14.3-11.5-14.2 11.5v-18.3l-17.8-4 14.3-11.3-7.9-16.5 17.7 4.1z"}))},Ds=function(e){var t=e.title,n=Rd(e,P7);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h512v342H0z"}),M.createElement("circle",{fill:"#D80027",cx:256.5,cy:171,r:96}))},Du=function(e){var t=e.title,n=Rd(e,P8);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h512v90.579H0z"}),M.createElement("path",{fill:"#496E2D",d:"M0 251h513v91H0z"}),M.createElement("path",{fill:"#A2001D",d:"M0 114h513v114H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"m323.3 54.5-25.6-11.8L256 137l-41.7-94.3-25.6 11.8 51.8 116.2-51.8 116.2 25.6 11.8 41.7-94.4 41.7 94.4 25.6-11.8-51.8-116.2z"}),M.createElement("path",{d:"M273.4 65.6c-9.9-10.8-17.4-17-17.4-17s-7.5 6.2-17.4 17v210.1c9.9 10.8 17.4 17 17.4 17s7.5-6.2 17.4-17V65.6z"})),M.createElement("path",{d:"M209 105.9v129.5c10.5 18.5 23.3 33.7 32.9 43.8V62.1c-9.6 10.1-22.4 25.3-32.9 43.8zm94 0c-10.5-18.5-23.3-33.7-32.9-43.8v217.2c9.6-10.1 22.4-25.3 32.9-43.8V105.9z",fill:"#A2001D"}),M.createElement("path",{d:"M303 105.9v129.5c10.6-18.8 18.8-41 18.8-64.8s-8.2-45.9-18.8-64.7zm-94 0v129.5c-10.6-18.8-18.8-41-18.8-64.8s8.2-45.9 18.8-64.7z"}))},Dc=function(e){var t=e.title,n=Rd(e,P9);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 342"},n),t&&M.createElement("title",null,t),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M0 0h513v342H0z"}),M.createElement("circle",{cx:256,cy:170.7,r:170.7})),M.createElement("path",{fill:"#FFDA44",d:"M382.4 170.7 330.8 195l27.5 50-56.1-10.7-7.1 56.6-39.1-41.7-39.1 41.7-7.1-56.6-56.1 10.7 27.5-50-51.6-24.3 51.6-24.3-27.5-50.1 56.1 10.8 7.1-56.7L256 92.1l39.1-41.7 7.1 56.7 56.1-10.8-27.5 50.1z"}),M.createElement("circle",{fill:"#D80027",cx:257.4,cy:170.7,r:71.6}),M.createElement("path",{d:"M214.2 170.7c-2.1 0-4.1.1-6.2.3.1 12 4.4 22.9 11.6 31.5 3.8-10.3 9.5-19.6 16.7-27.7-6.9-2.7-14.3-4.1-22.1-4.1zm26.6 46.5c5.2 1.9 10.8 2.9 16.6 2.9 5.8 0 11.4-1 16.6-2.9-2.8-11.1-8.7-21-16.6-28.8-7.9 7.8-13.8 17.7-16.6 28.8zm59.4-71.2c-8.5-14.8-24.5-24.7-42.8-24.7-18.3 0-34.2 9.9-42.8 24.7 15.6.1 30.2 4.3 42.8 11.6 12.6-7.3 27.2-11.6 42.8-11.6zm-21.7 28.8c7.2 8 12.9 17.4 16.7 27.7 7.2-8.5 11.5-19.5 11.6-31.5-2-.2-4.1-.3-6.2-.3-7.7 0-15.2 1.4-22.1 4.1z",fill:"#FFDA44"}))},Dd=function(e){var t=e.title,n=Rd(e,Ne);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v114H0zm0 228h513v114H0z",fill:"#0052B4"}),M.createElement("path",{fill:"#FFF",d:"M303.5 196.6v-17.8h-11.9v-23.7l-11.9-11.9-11.8 11.9v-23.8L256 119.5l-11.9 11.8v23.8l-11.8-11.9-11.9 11.9v23.7h-11.9v17.8h-11.9v17.8h118.8v-17.8z"}))},Df=function(e){var t=e.title,n=Rd(e,Nt);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 450 300"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#CE1126",d:"M0 0h450v300H0V0z"}),M.createElement("g",{fill:"#FCD116"},M.createElement("circle",{cx:227.6,cy:161.2,r:56.2}),M.createElement("path",{d:"m254.1 73.4-23.7 26 28.6 6.5zm-51.5.2-4.8 33.1 28.5-8zm94.3 26.7-34.7 8.5 20.1 23.7zm-138.3-1.8 15.5 32.7 20.2-22.7zm159 45.3-34.4-9.9 5.6 29.5zm-182-2.6 31.9 19.8 5.2-27.7z"})),M.createElement("path",{fill:"#003F87",d:"M0 175h450v125H0V175z"}),M.createElement("path",{fill:"#FFF",d:"M0 267c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21zm0-43c15 0 30 13 45 13s30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13 30 13 45 13 30-13 45-13v-21c-15 0-30 13-45 13s-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13-30 13-45 13-30-13-45-13v21z"}),M.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",fill:"#FCD116",d:"m183.2 48.3-1.1-5.3 22.4-3.7s-30.1-7.1-40-10.7c-14.3-5.1-16.3-12.1-16.3-12.1s44.7 11 64.8 11c4.3 0 12.8 10.7 12.8 10.7s14.8-14.9 21.9-15.4c32.1-2.3 66.6-6.4 66.6-6.4s-10 6.7-16 8.5c-16.2 4.9-50.6 11.7-50.6 11.7l-4.8 7.5H277l-14.4 4.3 7.4 6.9s-7.8-4.1-18.1-2.1c-7.1 1.3-15.4 6-22.9 8-18.7 4.8-29.9-12.8-29.9-12.8l-15.9-.1z"}))},Dh=function(e){var t=e.title,n=Rd(e,Nr);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v85.5H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 85.5h513V171H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 171h513v85.5H0z"}),M.createElement("path",{fill:"#6DA544",d:"M256.5 171 0 342V0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M68.6 170.7c0-24.9 17.5-45.6 40.8-50.7-3.6-.8-7.3-1.2-11.1-1.2-28.7 0-51.9 23.3-51.9 51.9s23.3 51.9 51.9 51.9c3.8 0 7.5-.4 11.1-1.2-23.3-5.1-40.8-25.9-40.8-50.7z"}),M.createElement("path",{d:"m108.9 126.1 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2
156-5.3h8.9zm0 22.3 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"}),M.createElement("path",{d:"m108.9 170.7 2.7 8.5h9l-7.3 5.2 2.8 8.5-7.2-5.2-7.3 5.2 2.8-8.5-7.2-5.2h8.9zm0 22.2 2.7 8.5h9l-7.3 5.3 2.8 8.5-7.2-5.3-7.3 5.3 2.8-8.5-7.2-5.3h8.9z"})))},Dp=function(e){var t=e.title,n=Rd(e,Nn);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#6DA544",d:"M512 0H0v342"}),M.createElement("path",{fill:"#FFDA44",d:"M307.7 0 0 194.5V342h206.9L513 148.5V0z"}),M.createElement("path",{d:"M513 0H385.2L0 249.4V341l126.2 1L513 91.6z"}),M.createElement("path",{d:"m141.1 187 31.2 24 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.3-22.2zM310.6 70.8l31.2 23.9 32.3-22.2-13.1 37 31.1 23.9-39.2-1.1-13.2 37-11.1-37.6-39.2-1.1 32.4-22.2z",fill:"#FFF"}))},Dm=function(e){var t=e.title,n=Rd(e,Na);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#91DC5A",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v57.188H0zm0 284.1h513v57.177H0z",fill:"#0052B4"}),M.createElement("path",{fill:"#D80027",d:"M0 79.9h513v181.582H0z"}),M.createElement("circle",{fill:"#FFF",cx:190.33,cy:171,r:65.668}),M.createElement("path",{fill:"#D80027",d:"m190.3 105 14.8 45.3h47.7l-38.6 28.1 14.8 45.5-38.7-28.2-38.6 28.1 14.8-45.4-38.6-28.1h47.7z"}))},Dg=function(e){var t=e.title,n=Rd(e,No);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h900v600H0z"}),M.createElement("g",{transform:"rotate(-56.31)"},M.createElement("path",{d:"M-75 228.3H75m-150 37.5H75m-150 37.5H75m-150 475H75m-150 37.5H75m-150 37.5H75",stroke:"#000",strokeWidth:25}),M.createElement("path",{stroke:"#FFF",strokeWidth:12.5,d:"M0 753.3v125"}),M.createElement("circle",{fill:"#ca163a",cy:540.8,r:150}),M.createElement("path",{fill:"#0e4896",d:"M0 390.8c-41.4 0-75 33.6-75 75s33.6 75 75 75 75 33.6 75 75-33.6 75-75 75c-82.8 0-150-67.2-150-150s67.2-150 150-150z"})),M.createElement("path",{d:"m231.56 535.73-83.205-124.808M262.76 514.928l-83.205-124.807m114.407 104.006-83.205-124.808m478.43-138.675-83.205-124.807M720.39 209.843 637.184 85.036m114.407 104.006L668.386 64.234",stroke:"#000",strokeWidth:25}),M.createElement("path",{stroke:"#FFF",strokeWidth:12.5,d:"m205.6 462.897 31.202-20.8m389.981-259.989 36.444-24.296m31.202-20.801 31.202-20.801"}))},Dv=function(e){var t=e.title,n=Rd(e,Ni);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}),M.createElement("path",{d:"M167 227.6 0 341.3V0l167 113.8z"}))},Dy=function(e){var t=e.title,n=Rd(e,Nl);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("circle",{fill:"#6DA544",cx:384,cy:96.5,r:29.7}),M.createElement("path",{fill:"#D80027",d:"M332.1 89H436v44.5H332.1z"}),M.createElement("path",{fill:"#496E2D",d:"M435.9 170.7z"}),M.createElement("path",{fill:"#FFDA44",d:"M332.1 200.3V230h15.6c9.4 9.2 22.2 14.8 36.3 14.8 14.1 0 27-5.7 36.3-14.8h15.6v-29.7H332.1z"}),M.createElement("path",{fill:"#338AF3",d:"M332.1 126.1v44.5c0 39.8 51.9 51.9 51.9 51.9s51.9-12.2 51.9-51.9v-44.5H332.1z"}),M.createElement("path",{d:"M384 149.9c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9zm0-41.6c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9v20.8c13 0 13 11.9 26 11.9s13-11.9 26-11.9 13 11.9 26 11.9 13-11.9 26-11.9v-20.8c-13 0-13 11.9-26 11.9s-13-11.9-26-11.9z",fill:"#F3F3F3"}),M.createElement("path",{fill:"#FFF",d:"M256 0v22.6l-46.1 30.7H256v64h-46.1L256 148v22.7h-22.6l-73.4-49v49H96v-49l-73.4 49H0V148l46.1-30.7H0v-64h46.1L0 22.6V0h22.6L96 48.9V0
156h64v48.9L233.4 0z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),M.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176z"}),M.createElement("path",{d:"M0 0v15.1l57.4 38.2H80zm256 0v15.1l-57.4 38.2H176zM0 170.7v-15.1l57.4-38.3H80zm256 0v-15.1l-57.4-38.3H176z"})))},Db=function(e){var t=e.title,n=Rd(e,Ns);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#36B6CC",d:"M0 0h513v342H0V0z"}),M.createElement("circle",{fill:"#FFD400",cx:256.5,cy:170.9,r:68.4}),M.createElement("path",{fill:"#FFD400",d:"m256.5 251.5-27.9 41.7-7.1-49.7-43.2 25.5 15.2-47.8-50 4.2 34.4-36.5-46.9-18 46.8-18-34.4-36.5 50 4.2-15.2-47.8 43.2 25.4 7.1-49.7 27.9 41.7 27.9-41.7 7.1 49.7 43.2-25.4-15.2 47.8 50-4.2-34.3 36.6 46.8 17.9-46.8 18 34.4 36.5-50-4.2 15.2 47.8-43.2-25.4-7.1 49.7c0-.1-27.9-41.8-27.9-41.8zm0-.8c44.1 0 79.9-35.8 79.9-79.9S300.6 91 256.5 91s-79.9 35.8-79.9 79.9 35.8 79.8 79.9 79.8zM22.8 28.3c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V28.3zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6V74zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0 45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H28.5c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm22.8-22.8c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7V245c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.7c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V188zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6v-11.4zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V96.8zm0-45.6c0-3.2 2.4-5.7 5.7-5.7h11.3c3.2 0 5.7 2.4 5.7 5.7v11.3c.1 3.1-2.4 5.7-5.6 5.7H51.3c-3.1 0-5.7-2.5-5.7-5.6V51.2z"}))},Dw=function(e){var t=e.title,n=Rd(e,Nu);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 .1h513v90.7H0zm0 251.2h513V342H0z",fill:"#D80027"}),M.createElement("circle",{fill:"#FFF",cx:256.5,cy:171,r:65.9}))},Dx=function(e){var t=e.title,n=Rd(e,Nc);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 .2h513v90.7H0zm.5 251.1H513V342H.5z",fill:"#D80027"}),M.createElement("path",{fill:"#6DA544",d:"M290.3 193.5 256 130.7l-34.3 62.8h25.7v17.2h17.2v-17.2z"}),M.createElement("path",{fill:"#14AF5A",d:"M241.3 213.1c4.4-4.4 4.4-11.6-.1-16l4.7 4.7c-5.2-4.7-12.2-6.6-19.1-5.3l-23.5 5.9c-6.1 1.5-6.8-.4-1.8-4.2l27.1-20.3c5.1-3.8 4.2-6.9-2.3-6.9h-11c-6.4 0-7-2.3-1.5-5.1l25.3-12.7c5.6-2.8 5.1-5.1-1.5-5.1h-11c-6.4 0-7.4-3.1-2.3-6.9l27.1-20.3c5.6-3.8 12.9-3.8 18.5 0l27.1 20.3c5.1 3.8 4.2 6.9-2.3 6.9h-11c-6.4 0-7 2.3-1.5 5.1l25.3 12.7c5.6 2.8 5.1 5.1-1.5 5.1h-11c-6.4 0-7.4 3.1-2.3 6.9l27.1 20.3c5.1 3.8 4.4 5.7-1.8 4.2l-23.5-5.9c-6.8-1.3-13.9.6-19.1 5.3l4.7-4.7c-4.4 4.4-4.5 11.5-.1 16l6.8 6.8c4.4 4.4 3.1 8-3.3 8h-45.8c-6.2 0-7.7-3.6-3.3-8 .1.1 6.9-6.8 6.9-6.8z"}))},DE=function(e){var t=e.title,n=Rd(e,Nd);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#55B2FF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#F3F3F3",d:"M148.5 298.1h216l-108-254.2z"}),M.createElement("path",{fill:"#333",d:"m186 272.7 70.5-160.3L327 272.7z"}),M.createElement("path",{fill:"#FFDA44",d:"M148.5 298.1h216l-108-101.7z"}))},DC=function(e){var t=e.title,n=Rd(e,Nf);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v171H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M149.3 98.1c0-14-11.3-25.3-25.3-25.3-6.5 0-12.4 2.4
156-16.9 6.4V64.4h8.4V47.5h-8.4v-8.4H90.3v8.4h-8.4v16.9h8.4v14.9c-4.5-4-10.4-6.4-16.9-6.4-14 0-25.3 11.3-25.3 25.3 0 7.5 3.3 14.2 8.4 18.8v14.9h84.3V117c5.3-4.7 8.5-11.5 8.5-18.9z"}))},Dk=function(e){var t=e.title,n=Rd(e,Nh);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#A2001D",d:"M222.6 22.3h267.1v296.8H222.6z"}),M.createElement("path",{fill:"#D80027",d:"M22.3 22.3h200.3v296.8H22.3z"}),M.createElement("path",{fill:"#FFDA44",d:"M200.3 0h22.3v342h-22.3z"}),M.createElement("path",{fill:"#6DA544",d:"M22.3 22.3h89v296.8h-89z"}),M.createElement("path",{fill:"#FF9811",d:"M111.3 22.3h89v296.8h-89z"}),M.createElement("path",{fill:"#FFDA44",d:"M368.2 156.8c-1.4-2 0-37.9 0-37.9.9-7.4.1-8.4 1-11.4.9-2.9 5.4-11.6 5.4-11.6s-6-2.3-10.3-.6c-4.3 1.7-24.7-7.5-31.2 3.4-4.4 7-23.6 16.2-24.6 14-1-2.2-5.9-5-6.9-2.9s-.7 13.9 0 16c.8 2.6 9.8 2 12.3 3.1 3.7 1.8 12.2 8.2 11.9 10.7-.3 2.5-22.5-6-24.2-4.5-1.4 1.2-1.9 13.2-.4 15 1.8 2.1 23.4 5.6 25 7.5 1.6 1.9-13.1 7.4-12.3 25 .7 14.7 8 17.4 8 17.4s-2.4 3.6-7.8 3.1c-6.2-.6-27.4-17.7-27.4-17.7s-3.5-109 3.6-121.4c4.9-8.5-22.7 10.1-22.7 50.8V151c0 6.6-1.4 22.4 2.6 34 0 0-.4 46.9 1.5 49.6s12.7 2.2 14.8 0 0-30 0-30c7.7.2 18.3 17.5 32.5 16.4 20.6-1.6 28.7-9.9 34.3-5 8.1 7.1 5.5 23.2.4 31.5-2.2 3.5-14.3 4.7-15.7 7.6-1.4 2.9.5 5.4.5 5.4h29.7s1.4-20.5 2.7-26.1c1.3-5.7-.6-10.7 5.9-10.4 23.5 1.1 39.8-15.3 45.5-8 3.2 4.1 5.6 29.9 3.3 33.3-2.2 3.4-13.8 2.8-15.2 6.7-1.4 4 .8 4.4.8 4.4h29.7s-.4-21.2 2.5-27.7 4.9-10.4 9.3-17.2c4.4-6.8 11.3-15.7 11.3-36.2 0-14.2-8.1-22.8-8.1-22.8H417c-14.1.2-47.4 2.3-48.8.3zm-136-124.5c10.7-10.6 20.2-2.7 22.2 2.1 1.9 4.8 2.1 8.2 2.8 13.6.9 6.9 4.9 14 4.9 14s-7.1-3.8-14.7-4.2c-4.7-.3-9-.6-13.6-2.5-5.7-2.3-11.7-12.9-1.6-23zm248.4-.1c10.7 10.6 2.8 20.2-2 22.2s-8.2 2.1-13.6 2.8c-6.9.9-14 5-14 5s3.7-7.1 4.2-14.7c.3-4.7.6-9.1 2.4-13.6 2.2-5.7 12.8-11.8 23-1.7zm.1 276.9c-10.7 10.6-20.2 2.6-22.2-2.2-1.9-4.8-2.1-8.2-2.7-13.6-.8-6.9-4.9-14.1-4.9-14.1s7 3.8 14.7 4.3c4.7.3 9 .6 13.6 2.5 5.7 2.4 11.7 13.1 1.5 23.1zm-248.2-.1c-10.6-10.7-2.7-20.2 2.1-22.2 4.8-1.9 8.2-2.1 13.6-2.8 6.9-.9 14-4.9 14-4.9s-3.8 7.1-4.2 14.7c-.3 4.7-.6 9-2.5 13.6-2.3 5.7-12.9 11.8-23 1.6z"}),M.createElement("path",{fill:"none",stroke:"#FFDA44",strokeWidth:6,strokeMiterlimit:10,d:"M446.9 162.4s7.5-2.6 8.4-16.1c.6-8.6-19.8-16-39-11.5-19.7 4.6-34-3.1-34-14.6 0-22.9 29.7-16.2 38.9-11.3 9.1 4.9 29.7 23.5 35.1 9.4"}))},DM=function(e){var t=e.title,n=Rd(e,Np);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v31.1H0zm0 62.2h513v31.1H0zm0 62.3h513v31.1H0zm0 62.3h513v31.1H0zm0 62.5h513v31.1H0zm0 61.6h513V342H0z",fill:"#bf0a30"}),M.createElement("path",{fill:"#002868",d:"M0 0h155.6v155.6H0z"}),M.createElement("path",{fill:"#FFF",d:"m77.8 30.2 10.7 32.9h34.6l-28 20.4 10.7 32.9-28-20.3-28 20.3 10.7-32.9-28-20.4h34.6z"}))},D_=function(e){var t=e.title,n=Rd(e,Nm);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 227.6h513v114H0z"}),M.createElement("path",{d:"m245.2 171 7.7-23.1c2-5.9 5.1-6 7.1 0l7.7 23.1 19.4 29.1c1.7 2.6 1.3 6.3-1.2 8 0 0-6.9 8-29.5 8s-29.5-8-29.5-8c-2.4-2-2.9-5.4-1.2-8l19.5-29.1z"}),M.createElement("path",{d:"M256.5 171c-12.5 0-22.6-10.1-22.6-22.6 0-12.5 10.1-22.6 22.6-22.6s22.6 10.1 22.6 22.6c0 12.5-10.2 22.6-22.6 22.6zm0 0c6.2 0 11.3-16.3 11.3-22.6 0-6.2-5.1-11.3-11.3-11.3-6.2 0-11.3 5.1-11.3 11.3 0 6.3 5 22.6 11.3 22.6z"}))},DS=function(e){var t=e.title,n=Rd(e,Ng);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#6DA544",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 228h513v114H0z"}))},Dj=function(e){var t=e.title,n=Rd(e,Nv);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#338AF3",d:"M0 228h513v114H0z"}))},DO=function(e){var t=e.title,n=Rd(e,Ny);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{className:"prefix__st1",d:"M0 0h513v127.6H0zm0 214.4h513V342H0z",fill:"#A2001D"}))},DL=function(e){var t=e.title,n=Rd(e,Nb);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#496E2D",d:"M0 228h513v114H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"m281.4 150.7 9 12.3 14.5-4.7-9 12.4 9 12.3-14.5-4.7-9 12.3v-15.2l-14.5-4.7 14.5-4.7z"}),M.createElement("path",{d:"M257 201.5c-17 0-30.9-13.8-30.9-30.9s13.8-30.9 30.9-30.9c5.3 0 10.3 1.3 14.7 3.7-6.9-6.7-16.2-10.8-26.6-10.8-21 0-38 17-38 38s17 38 38 38c10.3 0 19.7-4.1 26.6-10.8-4.4 2.4
156-9.4 3.7-14.7 3.7z"})))},DA=function(e){var t=e.title,n=Rd(e,Nw);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#d12a46",d:"M0 .3V342h513V.3z"}),M.createElement("path",{fill:"#316525",d:"M359.8 148.9h-73.3l-22.7-69.7-22.7 69.7h-73.3l59.3 43.1-22.7 69.7 59.3-43.1 59.3 43.1-22.5-69.7 59.3-43.1zm-116.1 37.7 7.7-23.6h24.8l7.7 23.6-20.1 14.6-20.1-14.6zm27.9-37.7H256l7.8-24 7.8 24zm24.3 29-4.8-14.9h25.3l-20.5 14.9zM236.6 163l-4.8 14.9-20.5-14.9h25.3zm-5.3 61.8 7.8-24 12.6 9.2-20.4 14.8zm44.5-14.9 12.6-9.2 7.8 24-20.4-14.8z"}))},DT=function(e){var t=e.title,n=Rd(e,Nx);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 171h513v171H0z"}),M.createElement("path",{fill:"#ce1126",d:"M0 0h513v171H0z"}))},DP=function(e){var t=e.title,n=Rd(e,NE);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}),M.createElement("path",{fill:"#0052B4",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#AF7F59",stroke:"#231F20",strokeWidth:3,strokeMiterlimit:10,d:"m240.4 105.7 9.7 11.6-7.5 17.4-26.1-24.3-12.7 13.2v106.1l24.6-36 20.6 12.4-18 27.8 25.2 15.8 26.5-15.8-19.7-27.8 22.3-12.4 23.9 33.8v-106l-12.4-12-26.8 24.7-6.5-16.5 3.5-12.3-11.7-7.5z"}))},DN=function(e){var t=e.title,n=Rd(e,NC);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#ffc000",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#e30000",d:"M20 20h473v302H20z"}),M.createElement("path",{fill:"#ffc000",d:"M248.5 112.9c4.4 4.4 11.6 4.4 16 0l-4.7 4.7 22.7-22.7c4.9-4.5 12.1-5.6 18.2-2.8l2.1 1c5.7 2.9 6.7 8.7 2.3 13.1l4.7-4.7-22.8 22.8c-4.5 4.9-5.6 12.1-2.8 18.2l1 2.1c2.9 5.7 5.1 15.4 5.1 21.6v-11.3c0 6.2 4.4 9.1 10.2 6.2l2.1-1c5.7-2.9 6.7-8.7 2.3-13.1l4.7 4.7c-4.4-4.4-4.4-11.6 0-16l-4.7 4.7c5.2-5.5 9.6-11.6 13.1-18.2l1-2.1c2.9-5.7 6.3-15.1 7.9-21.2l5.8-23.3c1.5-6 5.9-6.8 9.6-1.8l20.2 26.9c3.8 5.1 6.9 14 6.9 20.6v22.4c0 6.3-2.2 15.8-5.1 21.7l-1 2.1c-3.5 6.6-7.9 12.7-13.1 18.2l-6.8 6.8c-5.4 5.2-11.5 9.6-18.2 13.1l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.2 0-6.9 2.2-1.1 5.1l2.1 1c5.7 2.9 13.8 8.7 18.2 13.1l-4.7-4.7c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L339 226c4.6 4.9 5.7 12.1 2.9 18.2l-1 2.1c-2.9 5.7-10.4 10.2-16.4 10.2-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.5-3.6-11.8-8.9-15.4-15.4l-1-2.1c-2.9-5.7-8.7-6.7-13.1-2.3l4.7-4.7c-4.4 4.7-5.2 11.8-1.8 17.3l10.3 15.4c3.4 5.1 2 12.1-3.1 15.5L266 284.4c-5.7 3.4-12.8 3.4-18.6 0L232 274.1c-5.1-3.4-6.5-10.3-3.1-15.5l10.3-15.4c3.4-5.5 2.6-12.6-1.8-17.3l4.7 4.7c-4.4-4.4-10.2-3.6-13.1 2.3l-1 2.1c-2.9 5.7-9.5 12.4-15.4 15.4l-2.1 1c-5.7 2.9-15.5 5.1-21.6 5.1-6.9-.3-13.1-4.2-16.4-10.2l-1-2.1c-2.8-6.1-1.6-13.3 2.9-18.2l-4.7 4.7c4.4-4.4 11.6-4.4 16 0L181 226c4.4 4.4 11.6 4.4 16 0l-4.7 4.7c5.5-5.2 11.6-9.6 18.2-13.1l2.1-1c5.7-2.9 5-5.1-1.1-5.1-7.5-.3-14.8-2-21.6-5.1l-2.1-1c-6.6-3.5-12.7-7.9-18.2-13.1l-6.8-6.8c-5.2-5.4-9.6-11.5-13.1-18.2l-1-2.1c-3.1-6.8-4.9-14.2-5.1-21.7V121c0-6.3 3.1-15.6 6.9-20.6l20.2-26.9c3.8-5.1 8.1-4.3 9.6 1.8l5.8 23.3c2 7.3 4.6 14.4 7.9 21.2l1 2.1c2.9 5.7 8.7 13.8 13.1 18.2l-4.7-4.7c4.4 4.4 4.4 11.6 0 16l4.7-4.7c-4.4 4.4-3.6 10.2 2.3 13.1l2.1 1c5.7 2.9 10.2 0 10.2-6.2v11.3c0-6.2 2.2-15.7 5.1-21.6l1-2.1c2.8-6.1 1.7-13.2-2.8-18.2l-22.7-22.7 4.7 4.7c-4.4-4.4-3.6-10.2 2.3-13.1l2.1-1c6.1-2.8 13.2-1.7 18.2 2.8l22.7 22.7-4.8-4.5zm-18-40.7c-4.4-4.4-3.2-9.5 2.8-11.5l12.4-4.2c3-1 6.9-7.5 10.8-7.5 3.9 0 7.8 6.5 10.8 7.5l12.4 4.2c6 2 7.2 7.1 2.8 11.5l-6.8 6.8c-5.3 4.7-12.1 7.5-19.2 7.9-6.2 0-14.8-3.5-19.2-7.9l-6.8-6.8z"}),M.createElement("path",{fill:"#0371ba",d:"M275 201.3h-37c-4.9 0-8.8-3.9-8.8-8.8v-34.2c0-4.9 3.9-8.8 8.8-8.8h37c4.9 0 8.8 3.9 8.8 8.8v34.2c0 4.8-3.9 8.8-8.8 8.8z"}),M.createElement("path",{fill:"#39B54A",d:"m230.8 212.8 24.4 17.9c.8.6 1.8.6 2.6 0l24.4
156-17.9c2.1-1.6 1.2-5.4-1.3-5.4h-48.8c-2.5 0-3.4 3.9-1.3 5.4z"}),M.createElement("path",{fill:"#ffc000",d:"M262.8 186.5h-12.5c-3.3 0-5.9-2.6-5.9-5.9V170c0-3.3 2.6-5.9 5.9-5.9h12.5c3.3 0 5.9 2.6 5.9 5.9v10.6c-.1 3.3-2.7 5.9-5.9 5.9z"}))},DF=function(e){var t=e.title,n=Rd(e,Nk);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 108 72"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 0h108v72H0z",fill:"#003787"}),M.createElement("path",{d:"M0 0h108L60 48v24H48V48z",fill:"#fff"}),M.createElement("circle",{cx:54,cy:30,r:8,fill:"#f9d90f"}),M.createElement("path",{d:"M44 30h20L54 48z",fill:"#fff"}),M.createElement("path",{d:"M54 48 38 33h32z",fill:"#cf142b"}))},DR=function(e){var t=e.title,n=Rd(e,NM);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#f9423a",d:"M0 0h513v171H0z"}),M.createElement("path",{fill:"#00843d",d:"M0 171h513v171H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 0h171v342H0z"}))},D$=function(e){var t=e.title,n=Rd(e,N_);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#1E509C",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M513 176.1V81.3L0 342l513-165.9z"}),M.createElement("path",{fill:"#F18D36",d:"M513 0v81.3L0 342 513 0z"}),M.createElement("path",{fill:"#FFF",d:"m126.7 99.3-7.8-54.1-7.7 54.1-20.8-23.7 10.7 31.6-31.5-10.7 23.6 20.8-54.1 7.7 54.1 7.7-23.6 20.8 31.5-10.7-10.7 31.6 20.8-23.7 7.7 54.1 7.8-54.1 20.7 23.7-10.6-31.6 31.5 10.7-23.6-20.8 54-7.7-54-7.7 23.6-20.8-31.5 10.7 10.6-31.6z"}))},DD=function(e){var t=e.title,n=Rd(e,NS);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 0h513v342H0z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M384.6 342 256.5 167.3 283.4 342zM133.8 0l122.7 167.3L230.8 0zm95.8 342 26.9-174.7L128.4 342zM0 0v127.8l256.5 39.5L28.4 0zm0 342h18.2l238.3-174.7L0 206.7zm256.5-174.7L513 127.8V0h-28.4zM282.2 0l-25.7 167.3L379.2 0z"}),M.createElement("path",{d:"M513 342V206.7l-256.5-39.4L494.8 342z"}),M.createElement("circle",{cx:256.5,cy:171,r:59.5})),M.createElement("circle",{fill:"#FFDA44",cx:256.5,cy:171,r:44.5}))},Dz=function(e){var t=e.title,n=Rd(e,Nj);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#14b53a",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#fcd116",d:"M171 0h171v342H171z"}),M.createElement("path",{fill:"#ce1126",d:"M342 0h171v342H342z"}))},DI=function(e){var t=e.title,n=Rd(e,NO);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#fecb00",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#34b233",d:"M0 114h513v114H0z"}),M.createElement("path",{fill:"#ea2839",d:"M0 228h513v114H0z"}),M.createElement("path",{fill:"#FFF",d:"M384.8 142.2h-98L256.5 49l-30.3 93.2h-98l79.3 57.6-30.3 93.2 79.3-56.9 79.3 56.9-30.3-93.2 79.3-57.6z"}))},DH=function(e){var t=e.title,n=Rd(e,NL);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0066b2",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M342 0h171v342H342zM0 0h171v342H0z",fill:"#da2031"}),M.createElement("g",{fill:"#ffd300"},M.createElement("path",{d:"M108.3 166.3h14.8v74.2h-14.8zm-59.4 0h14.8v74.2H48.9z"}),M.createElement("circle",{cx:86,cy:203.4,r:14.8}),M.createElement("path",{d:"M71.2 225.7h29.7v14.8H71.2zm0-59.4h29.7v14.8H71.2z"}),M.createElement("circle",{cx:86,cy:144,r:14.8}),M.createElement("path",{d:"M76.3 123.9h19.5L86 108.3z"})))},DB=function(e){var t=e.title,n=Rd(e,NA);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#00745a",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#FFF",d:"M285.682 248.878c-4.19 0-8.166.836-11.861 2.164 2.023-4.509 3.379-9.527 3.379-14.885 0-21.201-21.201-37.101-21.201-37.101s-21.201 15.901-21.201 37.101c0 5.357 1.356 10.375 3.379 14.885-3.693-1.328-7.671-2.164-11.861-2.164-21.201 0-37.101 21.201-37.101 21.201s15.901 21.201 37.101 21.201c12.429 0 23.031-7.286 29.682-13.315 6.65 6.03 17.251 13.315 29.682 13.315 21.201 0 37.
156101-21.201 37.101-21.201s-15.899-21.201-37.099-21.201z"}),M.createElement("path",{d:"m256 152.111 4.38 13.476h14.171l-11.464 8.332 4.376 13.476-11.463-8.33-11.463 8.33 4.376-13.476-11.464-8.332h14.171zm-53.888 23.572 8.425 7.585 9.818-5.667-4.61 10.355 8.423 7.588-11.274-1.185-4.611 10.355-2.358-11.088-11.275-1.185 9.818-5.669zm-39.45 39.449 11.09 2.358 5.668-9.818 1.186 11.274 11.089 2.358-10.357 4.61 1.186 11.274-7.587-8.423-10.357 4.61 5.669-9.818zm147.227-39.449-8.425 7.585-9.818-5.667 4.611 10.355-8.425 7.588 11.275-1.185 4.61 10.355 2.359-11.088 11.275-1.185-9.818-5.669zm39.449 39.449-11.089 2.358-5.669-9.818-1.186 11.274-11.088 2.358 10.357 4.61-1.185 11.274 7.586-8.423 10.357 4.61-5.669-9.818z",fill:"#FFDA44"}),M.createElement("path",{d:"M256 350.642c16.84 0 32.363-5.619 44.816-15.073h-89.63c12.451 9.454 27.974 15.073 44.814 15.073zm-68.023-44.522a74.138 74.138 0 0 0 8.85 15.073h118.345a74.13 74.13 0 0 0 8.85-15.073H187.977z",fill:"#FFF"}))},DW=function(e){var t=e.title,n=Rd(e,NT);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 750 500"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0071BC",d:"M0 0h750v500H0V0z"}),M.createElement("g",{fill:"#FFF",stroke:"#000",strokeWidth:1.9},M.createElement("circle",{cx:375,cy:245,r:225,fill:"#fff"}),M.createElement("circle",{cx:375,cy:245,r:165,fill:"#0071BC"})),M.createElement("g",{stroke:"#000"},M.createElement("path",{fill:"#8C8A8C",strokeWidth:1.9,d:"M444.7 450c.7 11-7.8 20-18.8 20H323.6c-11 0-19.5-9-19-20l16.7-325c.6-11 10-20 21-20h61.4c11 0 20.5 9 21.2 20l19.8 325z"}),M.createElement("path",{fill:"#FFF",strokeWidth:2,strokeLinejoin:"round",d:"m373 114 30 93h97l-78 56 29 92-78-56-78 57 30-93-79-57h97l30-92z"})))},DV=function(e){var t=e.title,n=Rd(e,NP);return M.createElement("svg",Rc({viewBox:"0 0 900 600",xmlns:"http://www.w3.org/2000/svg"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#231f1e",d:"M0 0h900v600H0z"}),M.createElement("path",{fill:"#00a650",d:"M0 0h900v300H0z"}),M.createElement("path",{fill:"#ef1923",d:"m0 0 450 300L0 600z"}))},DU=function(e){var t=e.title,n=Rd(e,NN);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 100 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#006233",d:"M0 100h513v342H0z"}),M.createElement("path",{fill:"#cd2a3e",d:"M0 100h513v46H0zm0 296h513v46H0z"}),M.createElement("path",{fill:"#ffc400",d:"M256 298.851c-45.956 0-84.348-32.298-93.767-75.429A96.288 96.288 0 0 0 160 243.994c0 53.02 42.979 96 96 96s96-42.98 96-96c0-7.066-.785-13.942-2.233-20.572-9.419 43.131-47.811 75.429-93.767 75.429z"}),M.createElement("path",{fill:"#ffc400",d:"m255.999 171.994 8.935 27.502h28.918l-23.394 16.996 8.936 27.503-23.395-16.998-23.394 16.998 8.937-27.503-23.394-16.996h28.915z"}))},Dq=function(e){var t=e.title,n=Rd(e,NF);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#1B4991",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#00A2B8",stroke:"#FFF",strokeWidth:3,d:"M318.2 106.7v106.5c0 51.9 67.8 67.8 67.8 67.8s67.8-15.9 67.8-67.8V106.7H318.2z"}),M.createElement("path",{fill:"#A35023",d:"M319.7 212.7c0 50.8 66.3 66.3 66.3 66.3s66.3-15.6 66.3-66.3H319.7z"}),M.createElement("path",{d:"M415.1 155.1h-19.4v-19.4h-19.4v19.4H357v19.4h19.3v58.1h19.4v-58.1h19.4z"}),M.createElement("path",{fill:"#FFF",d:"M256 0v30.6l-45.2 25.1H256V115h-59.1l59.1 32.8v22.9h-26.7l-73.5-40.9v40.9h-55.6v-48.6l-87.5 48.6H0v-30.6L45.2 115H0V55.7h59.1L0 22.8V0h26.7l73.5 40.8V0h55.6v48.6L243.3 0z"}),M.createElement("path",{fill:"#D80027",d:"M144 0h-32v69.3H0v32h112v69.4h32v-69.4h112v-32H144z"}),M.createElement("path",{fill:"#0052B4",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),M.createElement("path",{fill:"#FFF",d:"M155.8 115 256 170.7v-15.8L184.2 115z"}),M.createElement("path",{fill:"#D80027",d:"M155.8 115 256 170.7v-15.8L184.2 115zm-84 0L0 154.9v15.8L100.2 115z"}),M.createElement("path",{fill:"#0052B4",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),M.createElement("path",{fill:"#FFF",d:"M100.2 55.6 0 0v15.7l71.8 39.9z"}),M.createElement("path",{fill:"#D80027",d:"M100.2 55.6 0 0v15.7l71.8 39.9zm84 0L256 15.7V0L155.8 55.6z"}))},DG=function(e){var t=e.title,n=Rd(e,NR);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#C31B28",d:"M256 0h256.5v342H256z"}),M.createElement("path",{fill:"#ACABB1",stroke:"#C31B28",strokeWidth:2,d:"M101.2 68.2V33H66v35.2H30.8v35.2H66v35.2h35.2v-35.2h35.2V68.2z"}))},DY=function(e){var t=e.title,n=Rd(e,N$);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#f7ce00",d:"M0 85.331h512v341.326H0z"}),M.createElement("path",{fill:"#e32737",d:"M0 85.331h512v85.337H0z"}),M.createElement("path",{fill:"#191f6a",d:"M0 170.657h512v85.337H0z"}),M.createElement("path",{fill:"#00a04e",d:"M0 341.331h512v85.337H0z"}))},DZ=function(e){var t=e.title,n=Rd(e,ND);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#d01920",d:"M0 85.331h512v341.333H0z"}),M.createElement("path",{fill:"#017c3b",d:"M144.696 174.375h222.609v163.25H144.696z"}),M.createElement("path",{fill:"#FFF",d:"M283.484 304.226c-26.637 0-48.232-21.594-48.232-48.232s21.594-48.232 48.232-48.232c8.306 0 16.12 2.1 22.943 5.797-10.703-10.467-25.341-16.927-41.494-16.927-32.784 0-59.362 26.577-59.362 59.362s26.578 59.362 59.362 59.362c16.154 0 30.791-6.461 41.494-16.927-6.822 3.698-14.636 5.797-22.943 5.797z"}))},DK=function(e){var t=e.title,n=Rd(e,Nz);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#272727",d:"M0 0h512v114H0z"}),M.createElement("path",{fill:"#e40112",d:"M0 114h512v114H0z"}),M.createElement("path",{fill:"#07893f",d:"M0 228h512v114H0z"}),M.createElement("circle",{fill:"#e40112",cx:256,cy:125,r:95}))},DQ=function(e){var t=e.title,n=Rd(e,NI);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#dc2339",d:"M342 0H0v341.3h513V0z"}),M.createElement("path",{fill:"#11865d",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M171 0h171v342H171z"}),M.createElement("path",{fill:"#8C9157",d:"M195.8 171.2c0 21.6 11.5 41.7 30.3 52.5 5.8 3.4 13.2 1.4 16.6-4.4 3.4-5.8 1.4-13.2-4.4-16.6-11.3-6.5-18.2-18.5-18.2-31.5 0-6.7-5.4-12.1-12.1-12.1-6.7 0-12.2 5.4-12.2 12.1zm93.4 51.1c17.5-11.1 28-30.4 28-51.1 0-6.7-5.4-12.1-12.1-12.1s-12.1 5.4-12.1 12.1c0 12.4-6.3 24-16.8 30.7-5.7 3.5-7.5 10.9-4.1 16.7s10.9 7.5 16.7 4.1c0-.2.2-.3.4-.4z"}),M.createElement("ellipse",{fill:"#C59262",cx:256.5,cy:159.1,rx:24.3,ry:36.4}))},DX=function(e){var t=e.title,n=Rd(e,NH);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0zm0 48.9h513V171H0zm0 48.8h513v24.4H0zm0 48.9h513v24.4H0zm0 48.8h513v24.4H0z",fill:"#c00"}),M.createElement("path",{fill:"#006",d:"M0 0h256.5v195.4H0z"}),M.createElement("path",{d:"M153.3 42.1C122.6 30.7 88.5 46.3 77.1 77s4.2 64.8 34.9 76.2c13.3 5 28 5 41.4 0-30.7 24.5-75.4 19.6-100-11.1s-19.6-75.4 11.1-100c26-20.7 62.9-20.7 88.8 0zm26.7 75-20.6 23.3 5.4-30.6-31-1.6 27.3-14.9L143 68l28.6 12 8.4-29.9 8.4 29.9L217 68l-18 25.4 27.3 14.9-31 1.6 5.4 30.6-20.7-23.4z",fill:"#fc0"}))}
vendor: 8,969 bytes, line 156
156,DJ=function(e){var t=e.title,n=Rd(e,NB);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.333h513v342H0z"}),M.createElement("path",{fill:"#f4d900",d:"M0 323.333h513v104H0z"}),M.createElement("path",{fill:"#006d66",d:"M0 85.333h513v104H0z"}),M.createElement("path",{d:"M0 204.333h513v104H0z"}),M.createElement("path",{fill:"#cb0f31",d:"M256 256.006 0 426.668V85.331z"}),M.createElement("path",{fill:"#f4d900",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},D1=function(e){var t=e.title,n=Rd(e,NW);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337h512"}),M.createElement("path",{fill:"#FFF",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),M.createElement("path",{fill:"#A2001D",d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}),M.createElement("path",{fill:"#FFDA44",d:"m187.737 189.212-22.741 10.696 12.11 22.024-24.693-4.724-3.129 24.945-17.199-18.347-17.2 18.347-3.129-24.945-24.693 4.723 12.109-22.023-22.739-10.696 22.74-10.697-12.11-22.022 24.693 4.722 3.13-24.944 17.199 18.347 17.2-18.347 3.128 24.944 24.693-4.722-12.108 22.024z"}))},D0=function(e){var t=e.title,n=Rd(e,NV);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 640 426.7"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#009543",d:"M0 293h640v133.7H0V293z"}),M.createElement("path",{fill:"#ED4135",d:"M0 132h640v161.3H0V132z"}),M.createElement("path",{fill:"#0035AD",d:"M0 0h640v133.3H0V0z"}),M.createElement("circle",{fill:"#FAE600",stroke:"#000",strokeWidth:5.3,cx:240,cy:213.3,r:157.3}),M.createElement("path",{d:"m307.9 354.5-31.8 12-36.1 4.2-37.8-2.4-35.9-15.5s28.6-29.3 40.7-33.5c8.6-3 22.4-3.7 22.4-3.7V122l-.3-66H246l-.5 67.5v191.7s15.3 1.2 22.1 4.1c11.3 4.9 40.3 35.2 40.3 35.2z"}),M.createElement("path",{d:"m212.727 102.375 42.955-21.418 5.577 11.187-42.955 21.417z"}),M.createElement("ellipse",{cx:237.8,cy:280.5,rx:16.8,ry:26.5}),M.createElement("circle",{cx:237.4,cy:143.4,r:20.9}),M.createElement("ellipse",{cx:238.4,cy:211.1,rx:19.9,ry:12.1}),M.createElement("path",{d:"M213.8 177h47v10h-47zm0 57h47v10h-47z"}))},D2=function(e){var t=e.title,n=Rd(e,NU);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#e05206",d:"M0 85.337h512v113.775H0z"}),M.createElement("path",{fill:"#0db02b",d:"M0 312.888h512v113.775H0z"}),M.createElement("circle",{fill:"#e05206",cx:256,cy:256,r:32}))},D3=function(e){var t=e.title,n=Rd(e,Nq);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.5 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),M.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342zm-38 226.495-48-152.001-48 152.001h36v39.999h24v-39.999z",fill:"#007b23"}))},D5=function(e){var t=e.title,n=Rd(e,NG);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.5 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.5h513v342H0z"}),M.createElement("path",{d:"M0 85.5h171v342H0zm342 0h171v342H342z",fill:"#007b23"}))},D4=function(e){var t=e.title,n=Rd(e,NY);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#338AF3"}),M.createElement("path",{fill:"#FFDA44",d:"M256 214.447c-22.949 0-41.553 18.603-41.553 41.553S233.05 297.553 256 297.553c22.949 0 41.553-18.603 41.553-41.553S278.949 214.447 256 214.447zm0 65.298c-13.114 0-23.745-10.631-23.745-23.745s10.631-23.745 23.745-23.745 23.745 10.631 23.745 23.745-10.631 23.745-23.745 23.745z"}),M.createElement("path",{fill:"#0052B4",d:"M276.563 261.936 256 256l-20.563 5.936-6.855 11.873h54.836z"}),M.createElement("path",{fill:"#338AF3",d:"m256 226.32-13.709 23.744L256 256l13.709-5.936z"}),M.createElement("path",{fill:"#6DA544",d:"M235.437 261.936h41.126l-6.854-11.872h-27.418z"}))},D6=function(e){var t=e.title,n=Rd(e,NZ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 114h513v114H0z"}),M.createElement("path",{fill:"#cd1f2a",d:"M0 0h513v114H0z"}),M.createElement("path",{fill:"#1d4185",d:"M0 228h513v114H0z"}))},D7=function(e){var t=e.title,n=Rd(e,NK);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),M.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),M.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},D8=function(e){var t=e.title,n=Rd(e,NQ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.337l280.419 174.75H87.61l183.576 166.576z"}),M.createElement("path",{fill:"#D80027",d:"M244.769 249.888 10.199 103.71v312.754h234.57L61.193 249.888z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"m98.003 324.433-14.589-6.863 7.77-14.13-15.844 3.03-2.008-16.005-11.035 11.772-11.036-11.772-2.008 16.005-15.843-3.031 7.77 14.131-14.591 6.863 14.591 6.862-7.77 14.13 15.844-3.029 2.007 16.004 11.036-11.772L73.332 358.4l2.008-16.004 15.843 3.03-7.769-14.13zm-9.735-132.771-10.612-4.991 5.651-10.278-11.523 2.205-1.461-11.641-8.026 8.561-8.026-8.561-1.46 11.641-11.525-2.205 5.652 10.278-10.613 4.991 25.972 5.194z"}),M.createElement("path",{d:"M93.462 191.662c0 17.212-13.953 31.165-31.165 31.165s-31.165-13.953-31.165-31.165"})))},D9=function(e){var t=e.title,n=Rd(e,NX);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 239.994h512v32H0z"}),M.createElement("path",{fill:"#FFF",d:"m174.802 341.329-19.124 8.996 10.184 18.521-20.767-3.973-2.631 20.978L128 370.422l-14.465 15.429-2.63-20.978-20.767 3.973 10.183-18.521-19.123-8.996 19.124-8.995-10.184-18.52 20.766 3.971 2.632-20.978L128 312.236l14.465-15.429 2.63 20.978 20.767-3.971-10.183 18.521z"}))},ze=function(e){var t=e.title,n=Rd(e,NJ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.334h512v341.337H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 85.334h256v170.663H0z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),M.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80z"})),M.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),M.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),M.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),M.createElement("path",{fill:"#D80027",d:"M0 85.329v15.083l57.377 38.251H80z"}),M.createElement("path",{d:"M0 107.951v30.712h46.069zm96-22.62v48.913L22.628 85.331z",fill:"#2E52B2"}),M.createElement("path",{fill:"#D80027",d:"M256 85.329v15.083l-57.377 38.251H176z"}),M.createElement("path",{d:"M256 107.951v30.712h-46.069zm-96-22.62v48.913l73.372-48.913z",fill:"#2E52B2"}),M.createElement("path",{fill:"#D80027",d:"M0 255.997v-15.082l57.377-38.252H80z"}),M.createElement("path",{d:"M0 233.376v-30.713h46.069zm96 22.618v-48.912l-73.372 48.912z",fill:"#2E52B2"}),M.createElement("path",{fill:"#D80027",d:"M256 255.997v-15.082l-57.377-38.252H176z"}),M.createElement("g",{fill:"#2E52B2"},M.createElement("path",{d:"M256 233.376v-30.713h-46.069zm-96 22.618v-48.912l73.372 48.912z"}),M.createElement("circle",{cx:128,cy:170.66,r:22.627})),M.createElement("path",{d:"m128 154.663 3.97 12.222h12.854l-10.398 7.556 3.971 12.222L128 179.109l-10.398 7.554 3.972-12.222-10.398-7.556h12.853zm0 65.14 2.364 7.278h7.653l-6.
15619 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm0-117.334 2.364 7.278h7.653l-6.19 4.498 2.364 7.278-6.191-4.498-6.191 4.498 2.364-7.278-6.19-4.498h7.652zm69.931 58.667 2.365 7.277h7.653l-6.192 4.499 2.365 7.279-6.191-4.498-6.191 4.498 2.365-7.279-6.191-4.499h7.652zm-139.862 0 2.364 7.277h7.653l-6.191 4.499 2.364 7.279-6.19-4.498-6.191 4.498 2.365-7.279-6.192-4.499h7.653z",fill:"#FFDA44"}))},zt=function(e){var t=e.title,n=Rd(e,N1);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),M.createElement("path",{d:"m425.301 233.745 3.388 10.428h10.963l-8.87 6.444 3.388 10.427-8.869-6.444-8.871 6.444 3.388-10.427-8.87-6.444h10.963zm-39.194 75.072 5.083 15.642h16.445l-13.305 9.667 5.082 15.64-13.305-9.667-13.305 9.667 5.083-15.64-13.305-9.667h16.445zm1.481-122.846 4.236 13.036h13.704l-11.088 8.054 4.235 13.034-11.087-8.056-11.088 8.056 4.235-13.034-11.087-8.054h13.704zm-37.712 47.32 5.082 15.641h16.446l-13.306 9.666 5.084 15.641-13.306-9.666-13.305 9.666 5.082-15.641-13.305-9.666h16.445z",fill:"#D80027"}),M.createElement("path",{fill:"#FFF",d:"M256.003 85.329v30.564l-45.178 25.088h45.178v59.359H196.89l59.113 32.846v22.806h-26.69l-73.484-40.826v40.826h-55.652v-48.573l-87.429 48.573H.003v-30.553l45.168-25.099H.003v-59.359h59.103L.003 108.147V85.329h26.68l73.494 40.838V85.329h55.652v48.573l87.43-48.573z"}),M.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.334H0v32h112v69.334h32v-69.334h112v-32H144z"}),M.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),M.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915z"}),M.createElement("path",{d:"M155.826 200.344 256 255.998v-15.739l-71.847-39.915zm-83.98 0L0 240.259v15.739l100.174-55.654z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),M.createElement("path",{fill:"#FFF",d:"M100.174 140.983 0 85.33v15.738l71.847 39.915z"}),M.createElement("path",{d:"M100.174 140.983 0 85.33v15.738l71.847 39.915zm83.98 0L256 101.068V85.33l-100.174 55.653z",fill:"#D80027"}))},zr=function(e){var t=e.title,n=Rd(e,N0);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M138 0h377v114H138z"}),M.createElement("path",{fill:"#4A7C3A",d:"M138 230h377v114H138z"}),M.createElement("g",{fill:"none",stroke:"#FFF",strokeWidth:10,strokeMiterlimit:2},M.createElement("path",{d:"M40.3 35.2s37.1 48 50.8 54.5c13.7 6.5 17.1 5.7 17.1 5.7"}),M.createElement("path",{d:"M100 35.2S62.9 80.6 53.3 87.6c-9.6 7-18.7 7.8-18.7 7.8m17.1-30.1h37.9M70.7 35.2v30.1"})))},zn=function(e){var t=e.title,n=Rd(e,N2);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M256 256v170.663H0V256h256z"}),M.createElement("path",{fill:"#D80027",d:"M512 85.337V256H256V85.337h256z"}),M.createElement("path",{fill:"#0052B4",d:"m128 123.034 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L128 195.813l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}),M.createElement("path",{fill:"#D80027",d:"m384 293.697 11.824 36.389h38.263l-30.955 22.491 11.823 36.389L384 366.476l-30.955 22.49 11.823-36.389-30.955-22.491h38.263z"}))},za=function(e){var t=e.title,n=Rd(e,N3);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.326H0z"}),M.createElement("path",{d:"M0 85.331h170.663v341.337H0zm341.337 0H512v341.337H341.337z",fill:"#D80027"}))},zo=function(e){var t=e.title,n=Rd(e,N5);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#D80027"}),M.createElement("path",{fill:"#FFDA44",d:"M293.991 256c0 20.982-17.01 33.243-37.992 33.243S218.008 276.982 218.008 256s17.01-37.992 37.992-37.992 37.991 17.01 37.991 37.992z"}),M.createElement("path",{fill:"#0052B4",d:"M293.991 256c0 20.982-17.01 37.992-37.992 37.992s-37.992-17.01-37.992-37.992"}),M.createElement("path",{d:"M232.259 246.506h9.498v19h-9.498zm37.988 0h9.498v19h-9.498zm-19
156-14.247h9.498v33.243h-9.498z",fill:"#D80027"}))},zi=function(e){var t=e.title,n=Rd(e,N4);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 85.333h512V426.67H0z"}),M.createElement("path",{fill:"#A2001D",d:"M0 85.33h512v341.332"}),M.createElement("path",{d:"m204.631 326.488 2.762 8.504h8.941l-7.233 5.255 2.763 8.502-7.233-5.254-7.233 5.254 2.762-8.502-7.233-5.255h8.94zm-22.834-81.622 4.605 14.172h14.901l-12.056 8.757 4.605 14.172-12.055-8.759-12.055 8.759 4.606-14.172-12.056-8.757h14.901zm0 103.883 4.604 14.173h14.902l-12.057 8.757 4.606 14.173-12.055-8.759-12.055 8.759 4.604-14.173-12.054-8.757h14.899zm43.566-66.782 4.606 14.172h14.901l-12.056 8.758 4.605 14.172-12.056-8.759-12.054 8.759 4.606-14.172-12.056-8.758h14.901zm-87.133 0 4.606 14.172h14.899l-12.054 8.758 4.603 14.172-12.054-8.759-12.055 8.759 4.605-14.172-12.055-8.758h14.9z",fill:"#FFF"}),M.createElement("path",{fill:"#FFDA44",d:"M376.526 204.163c-7.628-7.628-17.538-12.133-28.189-12.908l31.88-24.795c-12.698-12.698-29.714-18.431-46.319-17.218a44.31 44.31 0 0 0-11.396-19.511l-12.593 25.186a18.47 18.47 0 0 0-3.148-4.197c-7.245-7.245-18.991-7.244-26.234 0s-7.245 18.99 0 26.234a18.536 18.536 0 0 0 4.197 3.148l-25.186 12.593a44.303 44.303 0 0 0 19.519 11.399c-1.217 16.606 4.511 33.619 17.209 46.317L324.12 214.6a11.053 11.053 0 0 1 7.807-3.202c2.973 0 5.768 1.158 7.87 3.26a11.055 11.055 0 0 1 3.26 7.87c0 2.974-1.158 5.768-3.26 7.87l10.494 10.494c4.905-4.905 7.607-11.428 7.607-18.364 0-5.675-1.81-11.071-5.153-15.534a29.492 29.492 0 0 1 13.288 7.662c11.573 11.572 11.573 30.403 0 41.975l10.494 10.494c8.409-8.409 13.039-19.59 13.039-31.481-.001-11.892-4.632-23.072-13.04-31.481z"}))},zl=function(e){var t=e.title,n=Rd(e,N6);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M512 85.337V256H256L0 85.337z"}),M.createElement("path",{fill:"#D80027",d:"M512 256v170.663H0L256 256z"}),M.createElement("path",{d:"m161.908 256-27.288-12.835 14.532-26.428-29.632 5.668-3.755-29.933-20.64 22.015-20.639-22.015-3.755 29.933-29.631-5.669 14.531 26.428L28.343 256l27.288 12.835L41.1 295.263l29.633-5.668 3.753 29.933 20.639-22.015 20.64 22.015 3.755-29.933 29.631 5.669-14.532-26.427zM21.789 117.607l9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.694-14.809-4.932-9.268 12.559.117-15.608-14.809-4.934 14.88-4.712zm0 235.923 9.081 12.696 14.879-4.714-9.268 12.56 9.081 12.695-14.809-4.933-9.268 12.558.117-15.607-14.809-4.934 14.88-4.712zm188.606-117.961-9.081 12.695-14.879-4.713 9.268 12.559-9.081 12.696 14.809-4.933 9.268 12.558-.11
1567-15.607 14.809-4.934-14.88-4.713z",fill:"#FFDA44"}))},zs=function(e){var t=e.title,n=Rd(e,N7);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"m393.508 170.516 17.512 18.875 23.363-10.821-12.541 22.487 17.513 18.876-25.263-4.978-12.539 22.488-3.073-25.564-25.263-4.978 23.363-10.82z"}),M.createElement("path",{d:"M0 85.343h512v341.326H0z"})),M.createElement("path",{fill:"#01411c",d:"M128 85.331h384v341.337H128z"}),M.createElement("path",{d:"M361.909 298.793c-31.037 22.426-74.378 15.446-96.804-15.592-22.427-31.038-15.446-74.379 15.593-96.804 9.677-6.992 20.55-11.125 31.613-12.563-21.283-3.183-43.777 1.613-62.598 15.211-38.2 27.602-46.792 80.944-19.191 119.145 27.601 38.199 80.944 46.792 119.145 19.189 18.82-13.598 30.436-33.448 34.096-54.655-4.839 10.05-12.176 19.076-21.854 26.069zm-1.329-125.904 17.484 18.842 23.322-10.802-12.519 22.447 17.483 18.844-25.219-4.968-12.519 22.45-3.067-25.521-25.22-4.969 23.323-10.802z",fill:"#FFF"}))},zu=function(e){var t=e.title,n=Rd(e,N8);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512V256H0z"})),M.createElement("path",{fill:"#D80027",d:"M0 256h512v170.663H0z"}))},zc=function(e){var t=e.title,n=Rd(e,N9);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},zd=function(e){var t=e.title,n=Rd(e,Fe);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),M.createElement("path",{fill:"#ACABB1",d:"M400.696 219.822 384 225.387l-16.696-5.565-5.565-13.913 5.565-13.913h33.392l-5.566 13.913z"}),M.createElement("path",{fill:"#338AF3",d:"M345.043 219.822v61.217c0 29.821 38.957 38.957 38.957 38.957s38.957-9.137 38.957-38.957v-61.217h-77.914z"}),M.createElement("path",{fill:"#6DA544",d:"M348.555 295.541C358.131 313.927 384 319.996 384 319.996s25.869-6.069 35.445-24.455L384 236.518l-35.445 59.023z"}),M.createElement("path",{fill:"#FFDA44",d:"M422.957 280.421 384 219.822l-38.957 60.599v.618c0 5.518 1.337 10.328 3.512 14.503L384 240.405l35.445 55.137c2.175-4.175 3.512-8.983 3.512-14.503v-.618z"}),M.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),M.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),M.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),M.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),M.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),M.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),M.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},zf=function(e){var t=e.title,n=Rd(e,Ft);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512V153.6H0zm0 136.526h512v68.263H0zM0 358.4h512v68.263H0z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),M.createElement("path",{fill:"#FFF",d:"m83.477 195.132 15.107 46.498h48.894l-39.554 28.739 15.107 46.499-39.554-28.738-39.555 28.738 15.11-46.499-39.554-28.739H68.37z"}))},zh=function(e){var t=e.title,n=Rd(e,Fr);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512v113.775H0z"}),M.createElement("path",{fill:"#268024",d:"M0 312.888h512v113.775H0z"}),M.createElement("path",{fill:"#e4312b",d:"M256 256.006 0 426.668V85.331z"}))},zp=function(e){var t=e.title,n=Rd(e,Fn);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#6DA544",d:"M196.641 85.337v341.326H0V85.337z"}),M.createElement("circle",{fill:"#FFDA44",cx:196.641,cy:256,r:64}),M.createElement("path",{fill:"#D80027",d:"M160.638 224v40.001c0 19.882 16.118 36 36 36s36-16.118 36-36V224h-72z"}),M.createElement("path",{fill:"#FFF",d:"M196.638 276c-6.617 0-12-5.383-12-12v-16h24.001v16c-.001 6.616-5.385 12-12.001 12z"}))},zm=function(e){var t=e.title,n=Rd(e,Fa);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),M.createElement("circle",{fill:"#FFDA44",cx:218.902,cy:255.994,r:74.207}))},zg=function(e){var t=e.title,n=Rd(e,Fo);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 312.888h512v113.775H0z"}),M.createElement("path",{fill:"#6DA544",d:"m289.579 216.738-12.592 12.592c5.37 5.372 8.693 12.792 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.112-5.316-24.985-13.91-33.579z"}),M.createElement("path",{fill:"#FFDA44",d:"m256 232.51 4.421 13.605h14.304l-11.573 8.408 4.421 13.604L256 259.719l-11.573 8.408 4.421-13.604-11.573-8.408h14.304z"}))},zv=function(e){var t=e.title,n=Rd(e,Fi);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#751A46",d:"M0 0h512v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 0v342h150.3l37.7-19.6-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19 37.7-18.9-37.7-19 37.7-19-37.7-18.9 37.7-19-37.7-18.9 37.7-19-37.7-19L188 57l-37.7-19L188 19.1 150.3 0z"}))},zy=function(e){var t=e.title,n=Rd(e,Fl);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#00318A",d:"M0 0h171v342H0z"}),M.createElement("path",{fill:"#D80027",d:"M342 0h171v342H342z"}))},zb=function(e){var t=e.title,n=Rd(e,Fs);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),M.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},zw=function(e){var t=e.title,n=Rd(e,Fu);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 85.331h512v113.775H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 312.882h512v113.775H0z"}),M.createElement("path",{fill:"#D80027",d:"M129.468 181.793v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.356 256 266.929v-85.136H129.468z"}),M.createElement("path",{d:"M155.634 196.634h74.201v-29.681l-14.841 7.42-22.261-22.26-22.259 22.26-14.84-7.42zm85.526 82.148-48.231-48.231-48.231 48.231 15.741 15.74 32.49-32.49 32.49 32.49z",fill:"#FFDA44"}),M.createElement("path",{fill:"#FFF",d:"M241.16 233.734h-22.504a14.74 14.74 0 0 0 2.001-7.418c0-8.196-6.645-14.84-14.84-14.84-5.663 0-10.581 3.172-13.083 7.836-2.502-4.663-7.421-7.836-13.083-7.836-8.195 0-14.84 6.644-14.84 14.84 0 2.706.736 5.235 2.001 7.418h-22.114c0 8.196 7.139 14.84 15.334 14.84h-.494c0 8.196 6.644 14.84 14.84 14.84 0 7.257 5.211 13.286 12.094 14.576l-11.694 26.401a48.075 48.075 0 0 0 18.149 3.544 48.079 48.079 0 0 0 18.149-3.544l-11.694-26.401c6.883-1.29 12.094-7.319 12.094-14.576 8.196 0 14.84-6.644 14.84-14.84h-.494c8.199 0 15.338-6.644 15.338-14.84z"}))},zx=function(e){var t=e.title,n=Rd(e,Fc);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.33v341.332h512V85.33z"}),M.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 85.333h512v113.775H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 312.884h512v113.775H0z"}))},zE=function(e){var t=e.title,n=Rd(e,Fd);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 255.994h512v81.619H0z"}),M.createElement("path",{fill:"#496E2D",d:"M0 337.614h512v89.043H0z"}),M.createElement("path",{fill:"#FFDA44",d:"m278.261 185.209 20.844 9.804-11.099 20.186 22.632-4.33 2.868 22.865 15.765-16.816 15.766 16.816 2.867-22.865 22.633 4.33-11.099-20.186 20.843-9.804-20.844-9.805 11.1-20.185-22.633 4.329-2.868-22.864-15.765 16.816-15.766-16.816-2.867 22.864-22.634-4.329 11.1 20.187z"}))},zC=function(e){var t=e.title,n=Rd(e,Ff);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#055e1c",d:"M0 85.333h512v341.333H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M183.548 289.386c0 12.295 9.731 22.261 21.736 22.261h65.208c0 10.244 8.11 18.551 18.114 18.551h21.736c10.004 0 18.114-8.306 18.114-18.551v-22.261H183.548zm146.716-107.595v51.942c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942h-21.735zm-155.773 51.943c0 8.183-6.5 14.84-14.491 14.84v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.942H174.49v51.942z"}),M.createElement("path",{d:"M297.661 181.788h21.736v51.942h-21.736zm-32.604 29.685c0 2.046-1.625 3.71-3.623 3.71-1.998 0-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 2.046-1.625 3.71-3.623 3.71s-3.623-1.664-3.623-3.71v-29.682h-21.736v29.682c0 14.32 11.376 25.971 25.358 25.971 5.385 0 10.38-1.733 14.491-4.677 4.11 2.944 9.106 4.677 14.491 4.677 1.084 0 2.15-.078 3.2-.215-1.54 6.499-7.255 11.345-14.068 11.345v22.261c19.976 0 36.226-16.643 36.226-37.101v-51.943h-21.736l.002 29.682z"}),M.createElement("path",{d:"M207.093 248.57h32.601v22.261h-32.601z"})))},zk=function(e){var t=e.title,n=Rd(e,Fh);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#496E2D",d:"M0 85.334h512v341.337H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 426.663V85.329h512"}),M.createElement("path",{fill:"#FFDA44",d:"M0 396.494v30.169h45.255L512 115.499v-30.17h-45.255z"}),M.createElement("path",{d:"m85.688 108.787 5.12 15.756h16.566l-13.403 9.737 5.12 15.757-13.403-9.738-13.405 9.738 5.
15612-15.757L64 124.543h16.567zm84.624 0 5.121 15.756H192l-13.403 9.737 5.12 15.757-13.405-9.738-13.403 9.738 5.12-15.757-13.403-9.737h16.566zm-84.624 82.502 5.12 15.756h16.566l-13.403 9.738 5.12 15.757-13.403-9.739-13.405 9.739 5.12-15.757L64 207.045h16.567zm84.624 0 5.121 15.756H192l-13.403 9.738 5.12 15.757-13.405-9.739-13.403 9.739 5.12-15.757-13.403-9.738h16.566zM128 150.037l5.12 15.756h16.568l-13.405 9.738 5.12 15.758L128 181.55l-13.403 9.739 5.12-15.758-13.405-9.738h16.568z",fill:"#FFF"}))},zM=function(e){var t=e.title,n=Rd(e,Fp);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M235.454 85.337 0 426.663 427.345 85.337z"}),M.createElement("path",{fill:"#6DA544",d:"M512 329.393 0 426.663h512z"}),M.createElement("path",{fill:"#D80027",d:"M512 85.337h-84.655L0 426.663l512-204.512z"}),M.createElement("path",{fill:"#0052B4",d:"M0 85.337v341.326L235.454 85.337z"}))},z_=function(e){var t=e.title,n=Rd(e,Fm);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),M.createElement("path",{d:"M0 312.888h512v113.775H0z"}),M.createElement("path",{fill:"#496E2D",d:"M0 426.668V85.331l256 170.675z"}))},zS=function(e){var t=e.title,n=Rd(e,Fg);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M192 85.33h-64v138.666H0v64h128v138.666h64V287.996h320v-64H192z"}))},zj=function(e){var t=e.title,n=Rd(e,Fv);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512V256H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M83.478 170.666c0-24.865 17.476-45.637 40.812-50.734a52.059 52.059 0 0 0-11.13-1.208c-28.688 0-51.942 23.254-51.942 51.941s23.255 51.942 51.942 51.942c3.822 0 7.543-.425 11.13-1.208-23.336-5.095-40.812-25.867-40.812-50.733zm66.783-48.231 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921z"}),M.createElement("path",{d:"m121.344 144.696 3.683 11.337h11.921l-9.645 7.007 3.684 11.337-9.643-7.006-9.645 7.006 3.685-11.337-9.645-7.007h11.921zm57.834 0 3.684 11.337h11.921l-9.645 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.685-11.337-9.645-7.007h11.921zm-11.131 33.391 3.684 11.337h11.921l-9.644 7.007 3.684 11.337-9.645-7.006-9.643 7.006 3.684-11.337-9.644-7.007h11.92zm-35.573 0 3.683 11.337h11.921l-9.644 7.007 3.684 11.337-9.644-7.006-9.644 7.006 3.684-11.337-9.644-7.007h11.92z"})))},zO=function(e){var t=e.title,n=Rd(e,Fy);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),M.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),M.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),M.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),M.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),M.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),M.createElement("path",{fill:"#29DBFF",d:"M449 139.7c-.1 44.4-7.2 92.1-65 114.9-57.8-22.8-64.9-70.5-65-114.9h130z"}),M.createElement("path",{fill:"#ffda44",d:"M449 139.7c0-16.7-.9-32.9-.5-47.1C426.9 83 398.4 81 383.9 81s-42.9 2-64.6 11.6c.4 14.2-.5 30.4-.5 47.1H449z"}),M.createElement("path",{fill:"#BF521B",d:"m369.5 204.5.3 10.3-12.8.2 4.9 13.2h-17.3c-18-20.2-23.4-42.4-24.9-68.1l9.1-9.7 8.3 14.3 10.8-12.8 7 7.8.8 15.7 13.8 29.1z"}),M.createElement("path",{fill:"#474747",d:"m436.6 192.5-8.6 18.3h-47l-29.2-19.5 25.7 10.5h25.1l3.7-6.5 7.2.2 2-3z"}))},zL=function(e){var t=e.title,n=Rd(e,Fb);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 199.112h512v113.775H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 312.888h512v113.775H0z"}),M.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522
156-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),M.createElement("path",{fill:"#0052B4",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l-.145-44.188 89.043-.266.146 44.454z"}),M.createElement("path",{fill:"#FFF",d:"M233.606 196.639v14.837c0 34.081-44.522 44.522-44.522 44.522s-44.522-10.44-44.522-44.522v-14.837l14.848 14.837 29.674-22.261 29.685 22.261 14.837-14.837z"}))},zA=function(e){var t=e.title,n=Rd(e,Fw);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.334h512v341.337H0z"}),M.createElement("path",{fill:"#FFF",d:"M512 295.883H202.195v130.783h-79.76V295.883H0v-79.772h122.435V85.329h79.76v130.782H512v61.218z"}),M.createElement("path",{fill:"#2E52B2",d:"M512 234.666v42.663H183.652v149.337h-42.674V277.329H0v-42.663h140.978V85.329h42.674v149.337z"}))},zT=function(e){var t=e.title,n=Rd(e,Fx);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 196.641h512v118.717H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 315.359h512v111.304H0z"}),M.createElement("path",{fill:"#FFF",d:"M129.468 181.799v85.136c0 48.429 63.267 63.267 63.267 63.267S256 315.362 256 266.935v-85.136H129.468z"}),M.createElement("path",{fill:"#D80027",d:"M146.126 184.294v81.941c0 5.472 1.215 10.64 3.623 15.485h85.97c2.408-4.844 3.623-10.012 3.623-15.485v-81.941h-93.216z"}),M.createElement("path",{fill:"#FFF",d:"M221.301 241.427h-21.425v-14.283h14.284v-14.283h-14.284v-14.284h-14.283v14.284h-14.282v14.283h14.282v14.283h-21.426v14.284h21.426v14.283h14.283v-14.283h21.425z"}),M.createElement("path",{fill:"#0052B4",d:"M169.232 301.658c9.204 5.783 18.66 9.143 23.502 10.636 4.842-1.494 14.298-4.852 23.502-10.636 9.282-5.833 15.79-12.506 19.484-19.939a24.878 24.878 0 0 0-14.418-4.583c-1.956 0-3.856.232-5.682.657-3.871-8.796-12.658-14.94-22.884-14.94-10.227 0-19.013 6.144-22.884 14.94a25.048 25.048 0 0 0-5.682-.657 24.88 24.88 0 0 0-14.418 4.583c3.691 7.433 10.198 14.106 19.48 19.939z"}))},zP=function(e){var t=e.title,n=Rd(e,FE);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 85.337h512v113.775H0z"}),M.createElement("path",{fill:"#338AF3",d:"M0 312.888h512v113.775H0z"}))},zN=function(e){var t=e.title,n=Rd(e,FC);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 85.34h512v341.326H0z"}),M.createElement("path",{fill:"#FFF",d:"M512 85.334v166.69L0 256.175V85.334z"}),M.createElement("path",{fill:"#6DA544",d:"M323.744 203.099 256 270.843l-67.744-67.744a81.156 81.156 0 0 0-13.879 45.483v22.261c0 35.744 23.097 66.193 55.148 77.213-4.277 8.385-3.556 18.848 2.712 26.671l24.258-19.439 24.258 19.439c6.342-7.915 7.011-18.534 2.564-26.968 31.614-11.261 54.308-41.485 54.308-76.916v-22.261a81.174 81.174 0 0 0-13.881-45.483z"}),M.createElement("path",{fill:"#FFDA44",d:"M256 330.206c-32.732 0-59.362-26.63-59.362-59.362v-22.261c0-32.733 26.63-59.363 59.362-59.363s59.362 26.63 59.362 59.362v22.261c0 32.733-26.63 59.363-59.362 59.363z"}),M.createElement("path",{fill:"#338AF3",d:"M293.101 270.843v-22.261c0-20.458-16.643-37.101-37.101-37.101s-37.101 16.643-37.101 37.101v22.261L256 278.264l37.101-7.421z"}),M.createElement("path",{fill:"#6DA544",d:"M218.899 270.843c0 20.458 16.643 37.101 37.101 37.101s37.101-16.643 37.101-37.101h-74.202z"}),M.createElement("path",{fill:"#FFDA44",d:"M300.522 189.22c0-12.295-9.966-22.261-22.261-22.261a22.173 22.173 0 0 0-14.84 5.672v-13.093h7.421v-14.84h-7.421v-7.421h-14.84v7.421h-7.421v14.84h7.421v13.093a22.177 22.177 0 0 0-14.841-5.672c-12.295 0-22.261 9.966-22.261 22.261 0 6.591 2.867 12.512 7.421 16.589v13.093h74.203v-13.093c4.552-4.077 7.419-9.997 7.419-16.589z"}))},zF=function(e){var t=e.title,n=Rd(e,Fk);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),M.createElement("path",{fill:"#D80027",d:"M330.207 85.331H512v341.337H330.207z"}),M.createElement("path",{d:"M0 85.331h181.793v341.337H0zm255.999 111.301 14.733 45.347h47.685l-38.576 28.029 14.734 45.348-38.576-28.026-38.577 28.026 14.737-45.348-38.576-28.029h47.681z",fill:"#496E2D"}))},zR=function(e){var t=e.title,n=Rd(e,FM);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#FFF",d:"m256 157.273 22.663 69.748H352l-59.332 43.106 22.664 69.749L256 296.769l-59.332 43.107 22.664-69.749L160 227.021h73.337z"}))},z$=function(e){var t=e.title,n=Rd(e,F_);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#A2001D",d:"M0 196.636h512v118.728H0z"}),M.createElement("path",{d:"M0 352.462h512v74.207H0zM0 85.331h512v74.207H0z",fill:"#6DA544"}),M.createElement("path",{fill:"#FFDA44",d:"m256.742 218.003 9.43 29.021h30.518L272 264.963l9.431 29.023-24.689-17.937-24.689 17.937 9.431-29.023-24.69-17.939h30.518z"}))},zD=function(e){var t=e.title,n=Rd(e,FS);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#496E2D",d:"M0 322.783h512v103.88H0z"}),M.createElement("path",{d:"M0 85.337h512v104.515H0z"}),M.createElement("path",{fill:"#A2001D",d:"M0 210.877h512v89.656H0z"}),M.createElement("path",{fill:"#0052B4",d:"M256 256.006 0 426.668V85.331z"}),M.createElement("path",{fill:"#FFDA44",d:"m73.178 209.188 20.831 29.067 34.084-10.83-21.207 28.795 20.83 29.069-33.939-11.271-21.208 28.794.234-35.762-33.94-11.273 34.083-10.83z"}))},zz=function(e){var t=e.title,n=Rd(e,Fj);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#6DA544"}),M.createElement("path",{fill:"#D80027",d:"M256 256.006 0 426.668V85.331z"}),M.createElement("path",{d:"m302.049 226.318 7.368 22.674h23.842l-19.288 14.016 7.366 22.674-19.288-14.015-19.287 14.015 7.366-22.674-19.288-14.016h23.842zm74.203 0 7.367 22.674h23.842l-19.288 14.016 7.367 22.674-19.288-14.015-19.288 14.015 7.367-22.674-19.288-14.016h23.842z"}))},zI=function(e){var t=e.title,n=Rd(e,FO);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512v113.775H0zm0 227.551h512v113.775H0z",fill:"#0052B4"}),M.createElement("path",{fill:"#FFDA44",d:"M228.582 261.936 256 214.447l27.418 47.489z"}),M.createElement("path",{fill:"#6DA544",d:"M291.616 277.616 256 295.425l-35.616-17.809v-23.744h71.232z"}),M.createElement("path",{fill:"#FFDA44",d:"m289.579 216.485-12.592 12.592c5.37 5.372 8.693 12.791 8.693 20.988 0 16.392-13.289 29.68-29.68 29.68-16.392 0-29.68-13.289-29.68-29.68 0-8.195 3.322-15.616 8.693-20.988l-12.592-12.592c-8.594 8.594-13.91 20.466-13.91 33.579 0 26.228 21.261 47.489 47.489 47.489s47.489-21.261 47.489-47.489c0-13.114-5.316-24.987-13.91-33.579z"}))},zH=function(e){var t=e.title,n=Rd(e,FL);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#D80027",d:"M512 85.331v166.69L0 256.173V85.331z"}),M.createElement("path",{fill:"#FFF",d:"M256 256.006 0 426.668V85.331z"}),M.createElement("g",{fill:"#FFDA44"},M.createElement("path",{d:"M59.621 256a59.546 59.546 0 0 0-.193 4.57c0 32.821 26.607 59.429 59.429 59.429s59.429-26.607 59.429-59.429c0-1.539-.078-3.061-.193-4.57H59.621z"}),M.createElement("circle",{cx:118.862,cy:210.287,r:18.286}
156)),M.createElement("path",{fill:"#D80027",d:"M77.715 205.714v59.429c0 31.494 41.144 41.143 41.144 41.143s41.144-9.649 41.144-41.143v-59.429H77.715z"}),M.createElement("path",{fill:"#338AF3",d:"M118.877 287.148c-7.632-2.746-22.876-9.767-22.876-22.006v-41.144h45.715v41.144c-.001 12.28-15.244 19.283-22.839 22.006z"}),M.createElement("path",{fill:"#F3F3F3",d:"M128.001 246.856v-9.142l-9.144-4.571-9.142 4.571v9.142l-4.571 4.573v18.285h27.428v-18.285z"}))},zB=function(e){var t=e.title,n=Rd(e,FA);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 0h900v600H0z",fill:"#0f0f0f"}),M.createElement("path",{d:"M0 0h900v400H0z",fill:"#fff"}),M.createElement("path",{d:"M0 0h900v200H0z",fill:"#047a3f"}),M.createElement("path",{d:"m176.26 375 48.738-150 48.738 150-127.6-92.705h157.72M626.256 375l48.738-150 48.738 150-127.6-92.705h157.72M401.252 375l48.738-150 48.738 150-127.6-92.705h157.72",fill:"#ce1126"}))},zW=function(e){var t=e.title,n=Rd(e,FT);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#2B5DEA",d:"M0 0h900v600H0V0z"}),M.createElement("path",{fill:"#FFDF29",d:"M0 100h900v400H0V100z"}),M.createElement("path",{fill:"#D70000",d:"M0 150h900v300H0V150z"}),M.createElement("path",{fill:"#FFF",d:"M450 171.4v257.2c114.3 0 171.4-85.7 214.3-128.6-42.9-42.9-100-128.6-214.3-128.6z"}),M.createElement("path",{d:"M450 171.4c-100 0-171.4 85.7-214.3 128.6C278.6 342.9 350 428.6 450 428.6V171.4z"}),M.createElement("path",{fill:"#FFF",d:"M346.3 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}),M.createElement("path",{d:"M477.8 254.3h21v91.3h-21zm51.9 0h21v91.3h-21z"}))},zV=function(e){var t=e.title,n=Rd(e,FP);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.3H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 0v117.4h-46.1l46.1 30.7v22.6h-22.6L160 121.8v48.9H96v-48.9l-73.4 48.9H0v-22.6l46.1-30.7H0v-64h46.1L0 22.7V0h22.6L96 48.9V0h64v48.9L233.4 0z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144 0h-32v69.4H0v32h112v69.3h32v-69.3h112v-32H144z"}),M.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z"})),M.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),M.createElement("path",{d:"M0 0v15.1l57.4 38.3H80zm256 0v15.1l-57.4 38.3H176z",fill:"#D80027"}),M.createElement("path",{fill:"#2E52B2",d:"M256 22.7v30.7h-46.1z"}),M.createElement("path",{d:"M0 170.7v-15.1l57.4-38.2H80zm256 0v-15.1l-57.4-38.2H176z",fill:"#D80027"}),M.createElement("path",{fill:"#29DBFF",d:"M448.9 169.5c0 9.6-.3 29.6-1.4 39.2-4.1 34.9-23.5 68.8-62.1 85.9-45.3-17.9-60.8-51-64.9-85.9-1.1-9.6-1.5-19.4-1.5-29l.3-47.1h129.2l.4 36.9z"}),M.createElement("path",{fill:"#FFF",d:"M447.5 208.7c-.2 1.6-.4 3.3-.6 4.9-4.8 33.1-22.9 65.4-61.5 81-43.2-17-59.4-47.9-64.2-81-.2-1.6-.4-3.2-.6-4.9"}),M.createElement("path",{fill:"#29DBFF",d:"m385.4 251.7-22.9-43h45.8z"}),M.createElement("path",{fill:"#FFF",d:"m385.4 165.8-22.9 42.9h45.8z"}),M.createElement("ellipse",{fill:"#FFBE57",cx:474.8,cy:236.8,rx:16.8,ry:43.3}),M.createElement("ellipse",{fill:"#FFBE57",cx:295.3,cy:236.8,rx:16.8,ry:43.3}),M.createElement("path",{fill:"#FFF",d:"m385.4 31.5-33.4 44h68.5zM315.5 280s33.8 29.5 69.9 29.5 67.1-29.5 67.1-29.5l8.5 14.6S439.2 326 385.4 326 307 294.6 307 294.6l8.5-14.6z"}),M.createElement("ellipse",{fill:"#A5A5A5",cx:386.3,cy:104.3,rx:34.3,ry:23.3}))},zU=function(e){var t=e.title,n=Rd(e,FN);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.333h512V426.67H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M332.058 191.996v78.221c0 38.103 51.942 49.779 51.942 49.779s51.942-11.675 51.942-49.779v-78.221H332.058z"}),M.createElement("path",{fill:"#FF9811",d:"M376.579 220.44c0 7.855-6.644 28.445-14.84 28.445s-14.84-20.589-14.84-28.445c0-
1567.856 14.84-14.222 14.84-14.222s14.84 6.367 14.84 14.222z"}),M.createElement("path",{fill:"#A2001D",d:"M415.961 235.93c2.394-5.6 4.257-13.785 4.257-17.86 0-6.546-8.904-11.852-8.904-11.852s-8.904 5.306-8.904 11.852c0 4.075 1.862 12.26 4.257 17.86l-5.141 11.123a26.898 26.898 0 0 0 9.788 1.831c3.463 0 6.766-.654 9.788-1.831l-5.141-11.123z"}),M.createElement("path",{fill:"#6DA544",d:"M372.87 270.217s-7.421 14.222-7.421 28.445h37.101c0-14.222-7.421-28.445-7.421-28.445l-11.13-7.111-11.129 7.111z"}),M.createElement("path",{fill:"#D80027",d:"M395.13 270.217v-3.555c0-5.891-4.983-10.666-11.13-10.666-6.147 0-11.13 4.776-11.13 10.666v3.555h22.26z"}),M.createElement("path",{fill:"#FFF",d:"M256 85.333v30.553l-45.167 25.099H256v59.359h-59.103L256 233.179v22.817h-26.68l-73.494-40.826v40.826h-55.652v-48.573l-87.43 48.573H0v-30.554l45.167-25.098H0v-59.359h59.103L0 108.139V85.333h26.68l73.494 40.825V85.333h55.652v48.572l87.43-48.572z"}),M.createElement("path",{fill:"#D80027",d:"M144 85.33h-32v69.332H0v32h112v69.334h32v-69.334h112v-32H144z"}),M.createElement("path",{fill:"#0052B4",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),M.createElement("path",{fill:"#FFF",d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915z"}),M.createElement("path",{d:"M155.826 200.344 256 255.996v-15.737l-71.847-39.915zm-83.98 0L0 240.259v15.737l100.174-55.652z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),M.createElement("path",{fill:"#FFF",d:"M100.174 140.982 0 85.33v15.737l71.847 39.915z"}),M.createElement("path",{d:"M100.174 140.982 0 85.33v15.737l71.847 39.915zm83.98 0L256 101.067V85.33l-100.174 55.652z",fill:"#D80027"}))},zq=function(e){var t=e.title,n=Rd(e,FF);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 85.331h170.663v341.337H0z"}),M.createElement("path",{fill:"#D80027",d:"M341.337 85.331H512v341.337H341.337z"}))},zG=function(e){var t=e.title,n=Rd(e,FR);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h21v15H0V0z"}),M.createElement("path",{fill:"#0A388A",d:"M0 0h22.5v15H0V0z"}),M.createElement("path",{fill:"#FFF",d:"M0 0h11.3v7.5H0V0z"}),M.createElement("path",{fill:"#D80027",d:"M7.1 0h3.6v7H7.1V0z"}),M.createElement("path",{fill:"#0A388A",d:"M0 0h3.6v7H0V0z"}),M.createElement("path",{fill:"#FFF",d:"M3.6 0h3.6v7H3.6V0zm10.9 6h5L19 7h-1.5v.5h1l-.5 1h-.5V10h-1V7H15l-.5-1zm4 2.5 1 1.5h-2l1-1.5zm-3 0 1 1.5h-2l1-1.5zm1.5 3L16 10h2l-1 1.5zM20 8c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-6 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm1 4c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm4 0c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5zm-2 1c-.3 0-.5-.2-.5-.5s.2-.5.5-.5.5.2.5.5-.2.5-.5.5z"}))},zY=function(e){var t=e.title,n=Rd(e,F$);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M0 85.337h512V153.6H0zM0 358.4h512v68.263H0zm0-136.537h512v68.263H0z",fill:"#496E2D"}),M.createElement("path",{fill:"#D80027",d:"M0 85.337h204.054v204.054H0z"}),M.createElement("path",{fill:"#FFF",d:"m102.026 133.938 13.26 40.812h42.916l-34.718 25.226 13.26 40.814-34.718-25.224-34.719 25.224 13.263-40.814-34.718-25.226h42.913z"}))},zZ=function(e){var t=e.title,n=Rd(e,FD);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.334h512V426.66H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 194.056h512v123.882H0z"}),M.createElement("path",{d:"M0 85.334h512v54.522H0zm0 286.809h512v54.522H0z",fill:"#D80027"}))},zK=function(e){var t=e.title,n=Rd(e,Fz);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 312.888h512v113.775H0z"}),M.createElement("path",{d:"M226.318 300.522h59.364v-25.23l-11.873 5.937L256 263.421l-17.809 17.808-11.873-5.937zm-33.963-29.682 2.763 8.504h8.94l-7.233 5.255 2.763 8.502-7.233-5.255-7.234 5.255 2.763-8.502-7.233-5.255h8.94zm8.566-29.68 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm24.488-22.261 2.763 8.502h8.94l-7.233 5.255 2.763 8.504-7.233-5.256-7.234 5.256 2.763-8.504-7.233-5.255h8.94zm94.236 51.941-2.763 8.504h-8.94l7.233 5.255-2.763 8.502 7.233-5.255 7.234 5.255-2.763-8.502 7.233-5.255h-8.94zm-8.566-29.68-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zm-24.488-22.261-2.763 8.502h-8.94l7.233 5.255-2.763 8.504 7.233-5.256 7.234 5.256-2.763-8.504 7.233-5.255h-8.94zM256 207.767l2.763 8.503h8.941l-7.234 5.256 2.763 8.502-7.233-5.254-7.233 5.254 2.763-8.502-7.234-5.256h8.941z",fill:"#FFDA44"}))},zQ=function(e){var t=e.title,n=Rd(e,FI);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"m210.715 174.377 3.684 11.338h11.919l-9.643 7.006 3.684 11.337-9.644-7.007-9.644 7.007 3.684-11.337-9.645-7.006h11.921zm-93.899 107.594 4.605 14.172h14.9l-12.055 8.757 4.606 14.173-12.056-8.76-12.055 8.76 4.604-14.173-12.054-8.757h14.899zm27.88-162.292 4.604 14.172h14.901l-12.056 8.758 4.606 14.171-12.055-8.759-12.056 8.759 4.606-14.171-12.055-8.758h14.9zm-75.157 55.652 4.604 14.172h14.9l-12.055 8.758 4.606 14.171-12.055-8.758-12.056 8.758 4.606-14.171-12.055-8.758h14.9z",fill:"#FFF"}),M.createElement("path",{d:"M483.386 354.503H117.801s109.234-88.562 310.593-220.938c.001 0-88.443 128.935 54.992 220.938zm-365.585 11.586c-11.177 0-11.195 17.37 0 17.37h365.585c11.177 0 11.
156195-17.37 0-17.37H117.801z",fill:"#FFDA44"}))},zX=function(e){var t=e.title,n=Rd(e,FH);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M256 256 0 90.691v44.242L155.826 256 0 377.067v44.242z"}),M.createElement("path",{d:"M0 90.691v330.618L189.217 256z"}),M.createElement("path",{fill:"#FFF",d:"m44.184 213.36 24.912 23.577 30.121-16.41-14.723 30.98 24.911 23.575-34.012-4.43L60.67 301.63l-6.296-33.716-34.012-4.43 30.119-16.408z"}))},zJ=function(e){var t=e.title,n=Rd(e,FB);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#496E2D",d:"M0 85.337h512v341.326H0z"}),M.createElement("g",{fill:"#FFF"},M.createElement("path",{d:"M357.208 183.679c8.397-23.404-1.036-48.858-21.281-61.536a52.131 52.131 0 0 1 10.884 2.621c27.002 9.688 41.038 39.428 31.35 66.431s-39.428 41.038-66.431 31.35a52.182 52.182 0 0 1-10.069-4.895c23.686 3.084 47.15-10.566 55.547-33.971zm-46.571-67.95-7.297 9.427-11.22-4.026 6.712 9.852-7.296 9.427 11.443-3.338 6.712 9.852.361-11.914 11.444-3.339-11.221-4.025z"}),M.createElement("path",{d:"m330.338 146.448-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.443-3.339 6.712 9.853.36-11.915 11.445-3.34-11.221-4.024zM275.9 126.916l-7.296 9.427-11.219-4.024 6.711 9.851-7.296 9.426 11.443-3.338 6.712 9.852.361-11.915 11.444-3.337-11.221-4.027zm-.799 35.189-7.296 9.427-11.221-4.026 6.712 9.852-7.296 9.427 11.444-3.338 6.711 9.852.362-11.915 11.443-3.338-11.22-4.026zm33.484 12.013-7.296 9.427-11.22-4.026 6.712 9.853-7.297 9.426 11.444-3.338 6.712 9.852.36-11.915 11.443-3.338-11.219-4.025z"})),M.createElement("path",{fill:"#D80027",d:"M83.478 85.337h89.043v341.326H83.478z"}),M.createElement("path",{fill:"#FFF",d:"m117.458 175.191-14.908-11.105v-15.705l14.908-11.105h21.084l14.908 11.105v15.705l-14.908 11.105z"}),M.createElement("path",{d:"M128 137.276h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.105v-8.012H128z",fill:"#FF9811"}),M.createElement("path",{fill:"#FFF",d:"m117.458 374.725-14.908-11.106v-15.704l14.908-11.105h21.084l14.908 11.105v15.704l-14.908 11.106z"}),M.createElement("path",{d:"M128 336.81h-10.542l-14.908 11.105v7.678H128zm0 37.915h10.542l14.908-11.106v-8.011H128z",fill:"#FF9811"}),M.createElement("path",{d:"m117.458 274.957-14.908-11.105v-15.703l14.908-11.106h21.084l14.908 11.106v15.703l-14.908 11.105zm36.513 24.434h-6.493v-6.493h-11.411l-8.068-8.068-8.067 8.068h-11.41v6.493h-6.493v12.986h6.493v6.492h11.41l8.068 8.069 8.068-8.069h11.41v-6.492h6.493zm0-99.768h-6.493v-6.492h-11.411l-8.068-8.069-8.067 8.069h-11.41v6.492h-6.493v12.986h6.493v6.492h11.41l8.068 8.07 8.068-8.07h11.41v-6.492h6.493z",fill:"#496E2D"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M120.576 248.576h14.84v14.84h-14.84z"}),M.createElement("circle",{cx:128,cy:206.113,r:7.421}),M.createElement("circle",{cx:128,cy:305.887,r:7.421})))},z1=function(e){var t=e.title,n=Rd(e,FW);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),M.createElement("circle",{fill:"#FFF",cx:256,cy:255.994,r:96}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"m267.826 219.291 16.47 22.695 26.673-8.649-16.496 22.676 16.468 22.695-26.664-8.681-16.495 22.676.017-28.04-26.664-8.682 26.674-8.648z"}),M.createElement("path",{d:"M277.818 312.724c-31.33 0-56.727-25.397-56.727-56.727s25.397-56.727 56.727-56.727c9.769 0 18.96 2.47 26.985 6.819-12.589-12.31-29.804-19.909-48.803-19.909-38.558 0-69.818 31.259-69.818 69.818s31.26 69.818 69.818 69.818c18.999 0 36.215-7.599 48.803-19.909-8.026 4.347-17.216 6.817-26.985 6.817z"})))},z0=function(e){var t=e.title,n=Rd(e,FV);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 85.331h256v170.663H0z"}),M.createElement("path",{fill:"#D80027",d:"M141.357 157.303V130.59h-26.714v26.713H87.93v26.713h26.713v26.713h26.714v-26.713h26.713v-26.713z"}))},z2=function(e){var t=e.title,n=Rd(e,FU);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#E30A17",d:"M0 0h513v342H0z"}),M.createElement("path",{fill:"#FFF",d:"M259.7 118.6c-13.1-9.5-29-14.6-45.3-14.5-40.8 0-73.8 30.8-73.8 68.9s33.1 68.9 73.8 68.9c17.1 0 32.9-5.4 45.3-14.5-30 38.6-85.7 45.6-124.3 15.5s-45.6-85.7-15.5-124.3 85.7-45.6 124.3-15.5c
1565.8 4.5 11 9.8 15.5 15.5zm39.9 65.8-18.1 21.9 1.2-28.4-26.4-10.4 27.3-7.6 1.8-28.3 15.6 23.7 27.5-7.1-17.5 22 15.3 23.9-26.7-9.7z"}))},z3=function(e){var t=e.title,n=Rd(e,Fq);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#FFF",d:"m6.066 85.337 207.961 212.636 131.584 128.69h160.323L297.973 214.027 166.389 85.337z"}),M.createElement("path",{d:"M43.364 85.337 384.69 426.663h83.946L127.31 85.337z"}))},z5=function(e){var t=e.title,n=Rd(e,FG);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h900v600H0z"}),M.createElement("path",{fill:"#00B2EE",d:"M0 300h450V0h450v600H0V300z"}),M.createElement("path",{fill:"#FFDA44",d:"m345.3 480.9 29.4 90.6-77.1-56H393l-77.1 56 29.4-90.6zM706.4 340l29.4 90.6-77.1-56H754l-77.1 56 29.5-90.6zm106.4-78.5 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm0-224.1 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6z"}),M.createElement("path",{fill:"#FFF",d:"M449.9 0v206.3h-81l81 54V300h-39.7l-129-85.9V300H168.7v-85.9L39.7 300H0v-39.7l81-54H0V93.8h81L0 39.9V0h39.7l129 85.9V0h112.5v85.9L410.2 0z"}),M.createElement("path",{fill:"#D80027",d:"M253.1 0h-56.3v122H0v56.2h196.8V300h56.3V178.2h196.8V122H253.1z"}),M.createElement("path",{fill:"#2E52B2",d:"M449.9 39.9v53.9h-81z"}),M.createElement("path",{fill:"#D80027",d:"M0 300v-19.3l109.9-74.4h39.7L12.8 300zM12.8.1l136.8 93.7h-39.7L0 19.4V.1zm437.1.1v19.3L340 93.8h-39.7L437.1.2zM437.1 300l-136.8-93.7H340l109.9 74.4V300z"}),M.createElement("path",{fill:"#FFDA44",d:"m719.9 131.6 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM584 187.7l29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zm30 242.9 29.4 90.6-77.1-56h95.3l-77.1 56 29.5-90.6zM488 332l29.4 90.6-77.1-56h95.3l-77.1 56L488 332zm0 132 29.4 90.6-77.1-56h95.3l-77.1 56L488 464z"}))},z4=function(e){var t=e.title,n=Rd(e,FY);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 85.337h256V256H0z"}),M.createElement("path",{fill:"#FFF",d:"M186.435 170.669 162.558 181.9l12.714 23.125-25.927-4.961-3.286 26.192L128 206.993l-18.06 19.263-3.285-26.192-25.927 4.96 12.714-23.125-23.877-11.23 23.877-11.231-12.714-23.125 25.927 4.96 3.286-26.192L128 134.344l18.06-19.263 3.285 26.192 25.928-4.96-12.715 23.125z"}),M.createElement("circle",{fill:"#0052B4",cx:128,cy:170.674,r:29.006}),M.createElement("path",{fill:"#FFF",d:"M128 190.06c-10.692 0-19.391-8.7-19.391-19.391 0-10.692 8.7-19.391 19.391-19.391 10.692 0 19.391 8.7 19.391 19.391 0 10.691-8.699 19.391-19.391 19.391z"}))},z6=function(e){var t=e.title,n=Rd(e,FZ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 426.663V85.337h512"}),M.createElement("path",{fill:"#FFDA44",d:"M512 152.222V85.337H411.67L0 359.778v66.885h100.33z"}),M.createElement("path",{d:"M512 85.337v40.125L60.193 426.663H0v-40.125L451.807 85.337z"}))},z7=function(e){var t=e.title,n=Rd(e,FK);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#338AF3",d:"M0 85.337h512V256H0z"}))},z8=function(e){var t=e.title,n=Rd(e,FQ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#232323",d:"M0 0h512v341.3H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 56.9h512v56.9H0z"}),M.createElement("path",{fill:"#D32300",d:"M0 113.8h512v56.9H0z"}),M.createElement("path",{fill:"#FFDA44",d:"M0 227.6h512v56.9H0z"}),M.createElement("path",{fill:"#D32300",d:"M0 284.4h512v56.9H0z"}
156),M.createElement("circle",{fill:"#FFF",cx:256,cy:170.7,r:80.7}),M.createElement("path",{d:"M234.5 127.5c.9-1.4-19.6-2-19.6-2 1.7-2.5 18.4-10.5 18.4-10.5s-.9-6 2.7-9.8l-4.5-9.8s7-3.4 18.4-3.4 19.9 7 21 13.1l-6.4 3.4c-.1 4.7 1.7 11.6-4.3 17.3-5.9 5.7-8.3 6.9-8.5 18.8 0 3.9 2.3 8.2 8.8 11.7 17.4 9.3 38.6 28.2 44.6 33.9 6.1 5.7 5.1 19.2 2.6 25.2s-12.1 14.3-14.3 13.6c-2.2-.6 1.2-9.2-3.5-11.6 0 0-8.9-7.6-16.8.6s-.2 25.2 3.9 28c4.1 2.8 1.7 5-1.9 5H247c-3.8 0-5.4-2.3-1.9-5 7.6-3.8 12.4-15.3 7.4-20.3-4.9-4.9-18.3 1.5-21.5 6.3-2.8 2.8-8.8 3.6-12.9-1.4s-4.1-10.4-1.1-12.5c7-4.8 0 0 .1-.1 0 0 11.9-8.6 29.9-9 3.9 0 4.8-2.2 2.2-4.8 0 0-30.9-27.4-28.1-44.2 3-18.3 20-26.3 13.4-32.5-1.3-1.8 0 0 0 0z"}))},z9=function(e){var t=e.title,n=Rd(e,FX);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),M.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),M.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},Ie=function(e){var t=e.title,n=Rd(e,FJ);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513v26.3H0zm0 52.7h513v26.3H0zm0 52.6h513v26.3H0zm0 52.6h513V342H0z",fill:"#D80027"}),M.createElement("path",{fill:"#2E52B2",d:"M0 0h256.5v184.1H0z"}),M.createElement("path",{d:"m47.8 138.9-4-12.8-4.4 12.8H26.2l10.7 7.7-4 12.8 10.9-7.9 10.6 7.9-4.1-12.8 10.9-7.7zm56.3 0-4.1-12.8-4.2 12.8H82.6l10.7 7.7-4 12.8 10.7-7.9 10.8 7.9-4-12.8 10.7-7.7zm56.5 0-4.3-12.8-4 12.8h-13.5l11 7.7-4.2 12.8 10.7-7.9 11 7.9-4.2-12.8 10.7-7.7zm56.2 0-4-12.8-4.2 12.8h-13.3l10.8 7.7-4 12.8 10.7-7.9 10.8 7.9-4.3-12.8 11-7.7zM100 75.3l-4.2 12.8H82.6L93.3 96l-4 12.6 10.7-7.8 10.8 7.8-4-12.6 10.7-7.9h-13.4zm-56.2 0-4.4 12.8H26.2L36.9 96l-4 12.6 10.9-7.8 10.6 7.8L50.3 96l10.9-7.9H47.8zm112.5 0-4 12.8h-13.5l11 7.9-4.2 12.6 10.7-7.8 11 7.8-4.2-12.6 10.7-7.9h-13.2zm56.5 0-4.2 12.8h-13.3l10.8 7.9-4 12.6 10.7-7.8 10.8 7.8-4.3-12.6 11-7.9h-13.5zm-169-50.6-4.4 12.6H26.2l10.7 7.9-4 12.7L43.8 50l10.6 7.9-4.1-12.7 10.9-7.9H47.8zm56.2 0-4.2 12.6H82.6l10.7 7.9-4 12.7L100 50l10.8 7.9-4-12.7 10.7-7.9h-13.4zm56.3 0-4 12.6h-13.5l11 7.9-4.2 12.7 10.7-7.9 11 7.9-4.2-12.7 10.7-7.9h-13.2zm56.5 0-4.2 12.6h-13.3l10.8 7.9-4 12.7 10.7-7.9 10.8 7.9-4.3-12.7 11-7.9h-13.5z",fill:"#FFF"}))},It=function(e){var t=e.title,n=Rd(e,F1);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 38h513v38H0zm0 76h513v38H0zm0 76h513v38H0zm0 76h513v38H0z",fill:"#0038a8"}),M.createElement("path",{fill:"#FFF",d:"M0 0h256.5v190H0z"}),M.createElement("path",{fill:"#FED443",d:"m128.3 138.7-15.1 22.6-3.8-26.9L86 148.2l8.2-25.9-27.2 2.2 18.6-19.8L60.3 95l25.4-9.7L67 65.5l27.1 2.3-8.2-25.9 23.4 13.8 3.9-26.9 15.1 22.6 15.1-22.6 3.8 26.9 23.4-13.8-8.2 25.9 27.1-2.2-18.6 19.8 25.4 9.7-25.4 9.7 18.6 19.8-27.1-2.2 8.2 25.9-23.4-13.8-3.9 26.9-15-22.7zm0-.5c23.9.9 44-17.6 44.9-41.5.9-23.9-17.6-44-41.5-44.9h-3.4c-23.9.8-42.6 20.8-41.8 44.6.6 22.8 19 41.1 41.8 41.8zm0-10.6c-18.8 0-34-15.2-34-34s15.2-34 34-34 34 15.2 34 34-15.3 34-34 34z"}))},Ir=function(e){var t=e.title,n=Rd(e,F0);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#6DA544",d:"M0 322.783h512v103.88H0z"}),M.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),M.createElement("path",{fill:"#FFF",d:"M0 210.877h512v89.656H0z"}),M.createElement("path",{fill:"#338AF3",d:"M0 85.337h512v104.515H0z"}),M.createElement("path",{d:"M188.688 137.589c0-15.984 11.234-29.339 26.236-32.614a33.531 33.531 0 0 0-7.155-.777c-18.442 0-33.391 14.949-33.39
1561 33.391s14.949 33.391 33.391 33.391c2.458 0 4.85-.273 7.155-.777-15.002-3.275-26.236-16.63-26.236-32.614zm45.97 15.177 2.261 6.957h7.315l-5.918 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.261-6.956-5.918-4.301h7.315zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm23.347 0 2.26 6.957h7.315l-5.917 4.301 2.26 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.918-4.301h7.315zm23.347 0 2.262 6.957h7.315l-5.919 4.301 2.261 6.956-5.919-4.3-5.918 4.3 2.262-6.956-5.919-4.301h7.314zm23.348 0 2.26 6.957h7.315l-5.918 4.301 2.261 6.956-5.918-4.3-5.918 4.3 2.26-6.956-5.917-4.301h7.314zm-70.042-24.284 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm23.347 0 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.299-5.918 4.299 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.299-5.918 4.299 2.26-6.957-5.917-4.3h7.314zm-46.695-24.284 2.26 6.956h7.315l-5.917 4.3 2.26 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.918-4.3h7.315zm23.347 0 2.262 6.956h7.315l-5.919 4.3 2.261 6.957-5.919-4.3-5.918 4.3 2.262-6.957-5.919-4.3h7.314zm23.348 0 2.26 6.956h7.315l-5.918 4.3 2.261 6.957-5.918-4.3-5.918 4.3 2.26-6.957-5.917-4.3h7.314z",fill:"#FFF"}))},In=function(e){var t=e.title,n=Rd(e,F2);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.326H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 85.331h256v341.337H256z"}),M.createElement("path",{fill:"#ACABB1",d:"m321.353 233.837 32.073 42.43c-5.053 7.651-5.026 17.961.817 25.692 7.414 9.807 21.374 11.748 31.182 4.335 9.807-7.414 11.748-21.374 4.334-31.182-5.843-7.731-15.756-10.568-24.495-7.795l-49.988-66.129-11.838 8.949-17.759 13.424 17.899 23.677 17.775-13.401zm46.175 48.78a7.421 7.421 0 1 1 8.95 11.84 7.421 7.421 0 0 1-8.95-11.84z"}),M.createElement("path",{fill:"#FFDA44",d:"m376.367 247.24 17.899-23.677-17.759-13.424-11.838-8.949-49.988 66.129c-8.74-2.775-18.651.063-24.495 7.795-7.414 9.808-5.473 23.768 4.334 31.182 9.808 7.414 23.768 5.473 31.182-4.335 5.845-7.731 5.871-18.041.817-25.692l32.073-42.43 17.775 13.401zm-62.504 45.771a7.42 7.42 0 1 1-11.84-8.95 7.42 7.42 0 0 1 11.84 8.95z"}))},Ia=function(e){var t=e.title,n=Rd(e,F3);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFDA44",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#338AF3",d:"M0 85.331h170.663v341.337H0z"}),M.createElement("path",{d:"M341.337 85.331H512v341.337H341.337zM214.261 283.82l-33.393-50.086 33.392-50.087 33.392 50.087zm83.478 0-33.391-50.086 33.391-50.087 33.393 50.087zM256 350.603l-33.391-50.087L256 250.429l33.391 50.087z",fill:"#6DA544"}))},Io=function(e){var t=e.title,n=Rd(e,F5);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 22.5 15"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFCE00",d:"M0 0h22.5v5H0z"}),M.createElement("path",{fill:"#203899",d:"M0 5h22.5v5H0z"}),M.createElement("path",{fill:"#D82B2B",d:"M0 10h22.5v5H0z"}),M.createElement("path",{fill:"#FFF",d:"m12.13 5.38.14.46.45.14-.39.27.01.48-.38-.29-.45.15.15-.44-.28-.38h.47zm-1.77 0 .27.39h.47l-.28.38.15.45-.45-.16-.38.28.01-.47-.39-.28.45-.13zm3.44.56-.01.48.39.27-.46.14-.14.45-.27-.38h-.48l.29-.38-.15-.45.45.16zm-5.11.02.4.27.44-.18-.13.46.3.36-.47.02-.26.4-.16-.44-.46-.12.37-.3zm6.55 1.17-.2.44.25.4-.47-.05-.31.36-.1-.46-.43-.18.41-.24.03-.47.35.31zm.19 1.12.21.43.47.07-.34.33.08.46-.42-.22-.42.22.08-.46-.34-.33.47-.07zM7 8.2l.21.43.47.06-.34.33.08.47L7 9.27l-.42.22.08-.47-.34-.33.47-.06zm.31-1.15.45.14.38-.29v.48l.39.26-.45.15-.13.46-.28-.38-.47.01.27-.38z"}))},Ii=function(e){var t=e.title,n=Rd(e,F4);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 85.334h512v341.337H0z"}),M.createElement("path",{fill:"#FFF",d:"M256 85.334V202.66h-46.069L256 233.38v22.617h-22.628L160 207.078v48.919H96v-48.919l-73.372 48.919H0V233.38l46.069-30.72H0v-64h46.069L0 107.951V85.334h22.628L96 134.241V85.334h64v48.907l73.372-48.907z"}),M.createElement("g",{fill:"#D80027"},M.createElement("path",{d:"M144 85.33h-32v69.333H0v32h112v69.334h32v-69.334h112v-32H144z"}),M.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z"})),M.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),M.createElement("path",{d:"M0 85.329v15.083l57.377 38.251H80zm256 0v15.083l-57.377 38.251H176z",f
156ill:"#D80027"}),M.createElement("path",{fill:"#2E52B2",d:"M256 107.951v30.712h-46.069z"}),M.createElement("path",{d:"M0 255.997v-15.082l57.377-38.252H80zm256 0v-15.082l-57.377-38.252H176z",fill:"#D80027"}),M.createElement("path",{fill:"#FFDA44",d:"m384 259.706-46.129 46.129c8.645 16.675 26.051 28.074 46.129 28.074s37.484-11.4 46.129-28.074L384 259.706z"}),M.createElement("path",{fill:"#6DA544",d:"M332.058 178.084v81.624c.001 39.759 51.942 51.941 51.942 51.941s51.941-12.182 51.942-51.942v-81.623H332.058z"}),M.createElement("path",{fill:"#FFF",d:"M372.87 215.181h22.261v59.359H372.87z"}),M.createElement("circle",{fill:"#A2001D",cx:384,cy:215.181,r:11.13}),M.createElement("path",{d:"M346.902 192.92h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84zm59.359-66.783h14.84v14.84h-14.84zm0 33.392h14.84v14.84h-14.84zm0 33.391h14.84v14.84h-14.84z",fill:"#FFDA44"}))},Il=function(e){var t=e.title,n=Rd(e,F6);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.3"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h512v341.3H0z"}),M.createElement("path",{fill:"#1583C4",d:"m397.7 166.3-51 97.7c-1.1 2-.3 4.5 1.8 5.6 2 1.1 4.5.3 5.6-1.8l51-97.7c1-2.1.1-4.6-2-5.5-2-.9-4.3-.2-5.4 1.7z"}),M.createElement("path",{fill:"#1583C4",d:"m404.9 188-57.8 75.4c-1.3 1.9-.8 4.5 1.1 5.8 1.7 1.2 4.1.9 5.5-.7l57.8-75.4c1.4-1.8 1.1-4.4-.8-5.8-1.8-1.5-4.4-1.1-5.8.7z"}),M.createElement("path",{fill:"#1583C4",d:"m379 181.3-32.5 83.1c-.8 2.1.2 4.6 2.4 5.4 2.1.8 4.6-.2 5.4-2.4l32.5-83.1c.7-2.2-.4-4.5-2.6-5.3-2.1-.6-4.3.4-5.2 2.3z"}),M.createElement("path",{fill:"#409347",d:"M122.1 171.9c.4 1.7 1.2 4.7 2.2 8.5 1.7 6.4 3.6 12.8 5.6 18.7 2.3 6.9 14.7 31.4 20.2 39.1 6.9 9.7 14.1 19.3 21.5 28.6 1.6 1.9 4.5 2.1 6.4.5 1.8-1.6 2.1-4.3.7-6.2-7.3-9.2-14.4-18.6-21.2-28.2-4.2-5.8-17.2-31.1-19-36.7-2.9-8.7-5.4-17.6-7.6-26.5-.5-2.4-2.9-4-5.3-3.5s-4 2.9-3.5 5.3c-.1.2 0 .3 0 .4z"}),M.createElement("g",{fill:"#FFD836",stroke:"#231F20",strokeMiterlimit:10},M.createElement("path",{d:"M297.1 114.9S279.5 42.8 261 42.8c-6.9 0-11.9-.6-15.4 6.4-.9 1.7-20.7-1.6-19.1 20.8.5 6.9 1.1-9.8 14.9-3.4 6.3 3-16.4 48.2-16.4 48.2h72.1z"}),M.createElement("path",{d:"m466.1 48.4-90.9 22c-75.3 18.3-42.1 44.4-42.1 44.4l-72.1 12-72.1-12s33.2-26.1-42.1-44.4l-90.9-22C43.1 45.3 38.1 51.8 45.3 63c0 0 106.6 104 126.8 112 20.2 8.1 40.8 0 40.8 0s-14.9 8.7-24 24c-9.2 15.3-4.6 34.7-38.9 40.2-5.5 6.6-5 14 2.9 19.9 7.9 5.8 72.1-48.1 72.1-48.1s-24 24.4-24 36.1c0 5.1 44.1 53.8 60.1 53.8s60.1-48.7 60.1-53.8c0-11.7-24-36.1-24-36.1s64.2 53.9 72.1 48.1 11.4-19.3 2.8-19.9c-28-1.8-29.7-24.9-38.9-40.2-9.2-15.3-24-24-24-24s20.6 8.1 40.8 0S476.7 63 476.7 63c7.2-11.2 2.3-17.7-10.6-14.6z"})),M.createElement("path",{fill:"#FFF",stroke:"#231F20",strokeMiterlimit:10,d:"M201.3 111.8v80.3c0 45.7 59.7 59.7 59.7 59.7s59.7-14 59.7-59.7v-80.3H201.3z"}),M.createElement("path",{d:"M225.2 137.7V235c8.2 6 17 10.2 23.9 12.9V137.7h-23.9zm71.6 0V235c-8.2 6-17 10.2-23.9 12.9V137.7h23.9z",fill:"#D80027"}),M.createElement("path",{fill:"#0052B4",d:"M201.3 111.8h119.4v37.9H201.3z"}),M.createElement("path",{fill:"#1583C4",d:"m60.1 210.5-21.9-58.1H15.7l31.8 80.8h25.2l31.5-80.8H81.7zm391.4-58.6h18.9v81.7h-18.9z"}))},Is=function(e){var t=e.title,n=Rd(e,F7);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M196.641 85.337H0v341.326h512V85.337z"}),M.createElement("path",{fill:"#FFDA44",d:"m256 157.279 22.663 69.747H352l-59.332 43.106 22.664 69.749L256 296.774l-59.332 43.107 22.664-69.749L160 227.026h73.337z"}))},Iu=function(e){var t=e.title,n=Rd(e,F8);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#6DA544",d:"M512 256v170.663H0L215.185 256z"}),M.createElement("path",{fill:"#D80027",d:"M512 85.337V256H215.185L0 85.337z"}),M.createElement("path",{d:"M221.001 239.304 26.868 85.337H8.956l208.168 165.098H512v-11.131zM8.956 426.663h17.912l194.133-153.967H512v-11.131H217.124zM0 92.44v14.206L188.317 256 0 405.354v14.205L206.229 256z"}),M.createElement("g",{fill:"#FFDA44"},M.createElement("path",{d:"M8.956 85.337H0v7.103L206.229 256 0 419.559v7.104h8.956l208.168-165.098H512v-11.13H217.124z"}),M.createElement("path",{d:"M63.718 292.382v-14.295c14.265 0 25.87-11.606 25.87-25.869 0-10.092-8.211-18.303-18.304-18.303-6.875 0-12.469 5.593-12.469 12.469 0 4.397 3.577 7.974 7.974 7.974a4.514 4.514 0 0 0 4.508-4.508h14.295c0 10.368-8.435 18.804-18.802 18.804-12.279-.002-22.269-9.993-22.269-22.271 0-14.758 12.006-26.764 26.764-26.764 17.975 0 32.599 14.623 32.599 32.599 0 22.145-18.018 40.164-40.166 40.164z"})))},Ic=function(e){var t=e.title,n=Rd(e,F9);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 150 100"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80B30",d:"M0 0h150v100H0z"}),M.createElement("path",{fill:"#00318A",d:"M0 0h20v44.33H0z"}),M.createElement("path",{fill:"#FFF",d:"M20 0h20v44.33H20z"}),M.createElement("path",{fill:"none",stroke:"#FFF",strokeWidth:3,d:"M0 44.33h62.75V0"}),M.createElement("path",{fill:"#FFF",d:"M108.08 43.29 87.96 23.17h40.25l-20.13 20.12zm-6.7 6.71L81.25 29.88v40.25L101.38 50zm6.7 6.71L87.96 76.83h40.25l-20.13-20.12zm6.71-6.71 20.13-20.13v40.25L114.79 50z"}))},Id=function(e){var t=e.title,n=Rd(e,Re);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#D80027",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#0052B4",d:"M0 85.331h256v170.663H0z"}),M.createElement("path",{d:"m165.483 181.79 2.764 8.504h8.939l-7.232 5.254 2.763 8.503-7.234-5.255-7.233 5.255 2.763-8.503-7.233-5.254h8.94zm-44.904-66.783 4.606 14.173h14.9l-12.055 8.757 4.605 14.171-12.056-8.758-12.054 8.758 4.605-14.171-12.056-8.757h14.901zm44.522 14.841 4.606 14.172h14.9l-12.055 8.757 4.604 14.173-12.055-8.76-12.054 8.76 4.604-14.173-12.055-8.757h14.9zm-35.192 59.363 4.606 14.172h14.9l-12.055 8.758 4.604 14.171-12.055-8.759-12.054 8.759 4.604-14.171-12.055-8.758h14.9zm-39.01-37.103 4.605 14.173h14.9l-12.055 8.757 4.604 14.173-12.054-8.76-12.055 8.76 4.604-14.173-12.055-8.757h14.9z",fill:"#FFF"}))},If=function(e){var t=e.title,n=Rd(e,Rt);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 513 342"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h513v342H0z"}),M.createElement("path",{d:"M0 0h513v48.8H0zm0 97.5h513v48.8H0zM0 195h513v48.8H0zm0 97.6h513v48.8H0z",fill:"#6DA544"}),M.createElement("path",{fill:"#D80027",d:"M0 0h256.5v146.3H0z"}),M.createElement("path",{fill:"#FFF",d:"m116.9 114.4-7.5-14.8V69.9L128 59l18.6 10.9v22.3l7.4-7.4 4.2 3-4.2 11.8-14.9 14.8z"}
vendor: 4,974 bytes, line 156
156),M.createElement("circle",{fill:"#FFF",cx:82,cy:82.8,r:5.4}),M.createElement("circle",{fill:"#FFF",cx:90.8,cy:61.7,r:5.4}),M.createElement("circle",{fill:"#FFF",cx:106.6,cy:46.2,r:5.4}),M.createElement("circle",{fill:"#FFF",cx:128,cy:40.8,r:5.4}),M.createElement("circle",{fill:"#FFF",cx:149.4,cy:46.2,r:5.4}),M.createElement("circle",{fill:"#FFF",cx:165.2,cy:61.7,r:5.4}),M.createElement("circle",{fill:"#FFF",cx:174,cy:82.8,r:5.4}))},Ih=function(e){var t=e.title,n=Rd(e,Rr);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 900 600",fill:"#e30a17"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 0h900v600H0z",fill:"#fff"}),M.createElement("circle",{cx:300,cy:300,r:150}),M.createElement("circle",{cx:337.5,cy:300,r:120,fill:"#fff"}),M.createElement("path",{d:"M0 60h900v60H0zm0 420h900v60H0zm417.5-180 135.676-44.084-83.852 115.413V228.671l83.852 115.413z"}))},Ip=function(e){var t=e.title,n=Rd(e,Rn);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 341.33"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#0052B4",d:"M0 0h512v341.34H0z"}),M.createElement("path",{d:"m220.72 42.63 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.36-15.9 8.36 3.03-17.7-12.86-12.54 17.78-2.58zm70.56-.06 7.95 16.1 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59zm62.08 11.36 7.95 16.11 17.77 2.58-12.86 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.87-12.54 17.78-2.58zm63.01 18.3 7.95 16.11 17.77 2.59-12.86 12.53 3.04 17.71-15.9-8.36-15.9 8.36 3.03-17.71-12.86-12.53 17.78-2.59zm-257.73-18.3 7.95 16.11 17.78 2.58-12.87 12.54 3.04 17.7-15.9-8.35-15.9 8.35 3.04-17.7-12.86-12.54 17.77-2.58zm-63.01 18.3 7.95 16.11 17.78 2.59-12.86 12.53 3.03 17.71-15.9-8.36-15.9 8.36 3.04-17.71-12.86-12.53 17.77-2.59z",fill:"#FFF"}),M.createElement("path",{fill:"#FFDA44",d:"m217.53 259.33-27.22-13.61-27.22-54.43h27.22l27.22-27.22 13.61-27.22 27.22-13.61 13.61 13.61 27.22 13.61v13.61l13.61 13.61 40.83 27.22L340 245.73l-40.83 40.83-13.61-27.22-40.83 27.22v27.22l-13.61-13.61-13.59-40.84z"}))},Im=function(e){var t=e.title,n=Rd(e,Ra);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 450 300"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h450v300H0z"}),M.createElement("path",{fill:"red",d:"M0 100h450v200H0z"}),M.createElement("path",{fill:"#FFDF00",d:"M0 200h450v100H0z"}))},Ig=function(e){var t=e.title,n=Rd(e,Ro);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{fill:"#D80027",d:"M0 85.337h512v113.775H0z"}),M.createElement("path",{d:"M0 312.888h512v113.775H0z"}))},Iv=function(e){var t=e.title,n=Rd(e,Ri);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 90 60"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 0h90v60H0z"}),M.createElement("path",{stroke:"#7f7f7f",strokeWidth:.25,fill:"#ABABAB",d:"M75.6 39.6c-1.1.7 0 1.8-.6 1.9-.6.1-1.5-1.4-.2-2.5 1.6-1.5 5.8 0 5.9 4.3 0 2.2-.9 6.8-7.2 6.8-7.6 0-11.4-5.7-11.4-11.4 0-4.8 3.7-13.5 6.5-14.6 3.1-1.2 6.7-3.5 6.8-5 0-.5-1.4-.1-3.3.9-3.1 1.7-6.6 2.5-6.6 1.4s2.9-3.1 4-4.6c1.2-1.6.9-5.5 3-5.5 7.6 0 9.9 7.7 7 11.7-1.9 2.6 4.3 1 4.3 1s0 5.3-3.2 7.3c-3 1.8-4.8 3.9-4.8 3.9s.2-4.6-.5-3.9c-.6.7-11.1 4.5-10.3 12 .3 3 4.5 5.4 8.5 5.2s5.7-2.4 5.8-4.9c.1-3.9-3-4.4-3.7-4zm-64.9 4c.1 2.5 1.8 4.7 5.8 4.9s8.2-2.2 8.5-5.2c.8-7.5-9.7-11.3-10.3-12-.7-.7-.5 3.9-.5 3.9s-1.8-2.1-4.8-3.9c-3.2-2-3.2-7.3-3.2-7.3s6.2 1.6 4.3-1c-2.9-4-.6-11.7 7-11.7 2.1 0 1.8 3.9 3 5.5 1.1 1.5 4 3.5 4 4.6s-3.5.3-6.6-1.4c-1.9-1-3.3-1.4-3.3-.9.1 1.5 3.7 3.8 6.8 5 2.8 1.1 6.5 9.8 6.5 14.6 0 5.7-3.8 11.4-11.4 11.4-6.3 0-7.2-4.6-7.2-6.8.1-4.3 4.3-5.8 5.9-4.3 1.2 1.1.4 2.7-.2 2.5-.6-.1.6-1.2-.6-1.9-.6-.4-3.7.1-3.7 4z"}),M.createElement("path",{fill:"#DE393A",d:"M31 28.8v14c0 1.9 2.1 1.6 2.1 1.6h9.3c1.2 0 2.6 2.3 2.6 2.3s1.4-2.3 2.5-2.3h9.6s2 .2 2-1.8V28.7H31z"}),M.createElement("path",{fill:"#3951A3",d:"M31 13.1h28v15.7H31z"}),M.createElement("path",{fill:"#FFF",d:"M50.1 16.5c-.4 2.4-2.5 4.2-5.1 4.2-2.5 0-4.6-1.8-5.1-4.2-.5.9-.8 1.9-.8 3 0 3.3 2.6 5.9 5.9 5.9 3.3 0 5.9-2.6 5.9-5.9 0-1.1-.3-2.1-.8-3z"}),M.createElement("circle",{fill:"#FEE05F",cx:39.1,cy:36.5,r:3}),M.createElement("circle",{fill:"#FEE05F",cx:50.9,cy:36.5,r:3}))},Iy=function(e){var t=e.title,n=Rd(e,Rl);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#FFF",d:"M0 85.337h512v341.326H0z"}),M.createElement("path",{d:"M114.024 256.001 0 141.926v228.17z"}),M.createElement("path",{fill:"#ffb915",d:"M161.192 256 0 94.7v47.226l114.024 114.075L0 370.096v47.138z"}),M.createElement("path",{fill:"#007847",d:"M509.833 289.391c.058
156-.44.804-.878 2.167-1.318v-65.464H222.602L85.33 85.337H0V94.7L161.192 256 0 417.234v9.429h85.33l137.272-137.272h287.231z"}),M.createElement("path",{fill:"#000c8a",d:"M503.181 322.783H236.433l-103.881 103.88H512v-103.88z"}),M.createElement("path",{fill:"#e1392d",d:"M503.181 189.217H512V85.337H132.552l103.881 103.88z"}))},Ib=function(e){var t=e.title,n=Rd(e,Rs);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{fill:"#496E2D",d:"M0 85.331h512v341.337H0z"}),M.createElement("path",{fill:"#FF9811",d:"M490.668 195.476h-48c0-8.836-7.164-16-16-16s-16 7.164-16 16h-48c0 8.836 7.697 16 16.533 16h-.533c0 8.836 7.162 16 16 16 0 8.836 7.162 16 16 16h32c8.836 0 16-7.164 16-16 8.836 0 16-7.164 16-16h-.533c8.837 0 16.533-7.164 16.533-16z"}),M.createElement("path",{fill:"#D80027",d:"M341.337 255.994h56.888v170.663h-56.888z"}),M.createElement("path",{fill:"#FF9811",d:"M455.112 255.994H512v170.663h-56.888z"}),M.createElement("path",{d:"M398.225 255.994h56.888v170.663h-56.888z"}))},Iw=function(e){var t=e.title,n=Rd(e,Ru);return M.createElement("svg",Rc({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 85.333 512 341.333"},n),t&&M.createElement("title",null,t),M.createElement("path",{d:"M0 85.333h512V426.67H0z"}),M.createElement("path",{d:"M0 134.196h512v48.868H0zm0 195.472h512v48.868H0z",fill:"#FFDA44"}),M.createElement("path",{fill:"#057f44",d:"M0 85.333h512v48.868H0z"}),M.createElement("path",{d:"M0 183.069h512v48.868H0zm0 97.737h512v48.868H0z",fill:"#D80027"}),M.createElement("path",{fill:"#057f44",d:"M0 378.542h512v48.128H0z"}),M.createElement("path",{fill:"#FFF",d:"M276.992 255.996 106.329 426.659H0V85.333h106.329z"}),M.createElement("path",{d:"M256 255.996 85.334 426.662h20.987l170.667-170.666L106.321 85.33H85.334z"}),M.createElement("path",{fill:"#D80027",d:"m102.465 202.57 13.259 40.812h42.917l-34.718 25.226 13.26 40.814-34.718-25.224-34.72 25.224 13.262-40.814-34.718-25.226h42.915z"}),M.createElement("path",{fill:"#FFDA44",d:"m138.94 259.335-34.559-12.243s-2.553-23.955-2.708-24.766c-1.173-6.18-6.603-10.851-13.123-10.851-7.376 0-13.357 5.98-13.357 13.357 0 1.223.178 2.402.486 3.528l-9.689 9.755h17.229c0 17.882-13.344 17.882-13.344 35.691l7.402 17.809h44.522l7.422-17.809h-.004a17.782 17.782 0 0 0 1.381-5.231c6.397-2.589 8.342-9.24 8.342-9.24z"}))};let Ix=Object.freeze(Object.defineProperty({__proto__:null,AC:Rf,AD:Rh,AE:Rp,AF:Rm,AG:Rg,AI:Rv,AL:Ry,AM:Rb,AO:Rw,AQ:Rx,AR:RE,AS:RC,AT:Rk,AU:RM,AW:R_,AX:RS,AZ:Rj,BA:RO,BB:RL,BD:RA,BE:RT,BF:RP,BG:RN,BH:RF,BI:RR,BJ:R$,BL:RD,BM:Rz,BN:RI,BO:RH,BQ:RU,BQ_BO:RB,BQ_SA:RW,BQ_SE:RV,BR:Rq,BS:RG,BT:RY,BV:RZ,BW:RK,BY:RQ,BZ:RX,CA:RJ,CC:R1,CD:R0,CF:R2,CG:R3,CH:R5,CI:R4,CK:R6,CL:R7,CM:R8,CN:R9,CO:$e,CR:$t,CU:$r,CV:$n,CW:$a,CX:$o,CY:$i,CZ:$l,DE:$s,DJ:$u,DK:$c,DM:$d,DO:$f,DZ:$h,EC:$p,EE:$m,EG:$g,EH:$v,ER:$y,ES:$w,ES_CT:$b,ET:$x,EU:$E,FI:$C,FJ:$k,FK:$M,FM:$_,FO:$S,FR:$j,GA:$O,GB:$N,GB_ENG:$L,GB_NIR:$A,GB_SCT:$T,GB_WLS:$P,GD:$F,GE:$R,GF:$$,GG:$D,GH:$z,GI:$I,GL:$H,GM:$B,GN:$W,GP:$V,GQ:$U,GR:$q,GS:$G,GT:$Y,GU:$Z,GW:$K,GY:$Q,HK:$X,HM:$J,HN:$1,HR:$0,HT:$2,HU:$3,IC:$5,ID:$4,IE:$6,IL:$7,IM:$8,IN:$9,IO:De,IQ:Dt,IR:Dr,IS:Dn,IT:Da,JE:Do,JM:Di,JO:Dl,JP:Ds,KE:Du,KG:Dc,KH:Dd,KI:Df,KM:Dh,KN:Dp,KP:Dm,KR:Dg,KW:Dv,KY:Dy,KZ:Db,LA:Dw,LB:Dx,LC:DE,LI:DC,LK:Dk,LR:DM,LS:D_,LT:DS,LU:Dj,LV:DO,LY:DL,MA:DA,MC:DT,MD:DP,ME:DN,MF:DF,MG:DR,MH:D$,MK:DD,ML:Dz,MM:DI,MN:DH,MO:DB,MP:DW,MQ:DV,MR:DU,MS:Dq,MT:DG,MU:DY,MV:DZ,MW:DK,MX:DQ,MY:DX,MZ:DJ,NA:D1,NC:D0,NE:D2,NF:D3,NG:D5,NI:D4,NL:D6,NO:D7,NP:D8,NR:D9,NU:ze,NZ:zt,OM:zr,PA:zn,PE:za,PF:zo,PG:zi,PH:zl,PK:zs,PL:zu,PM:zc,PN:zd,PR:zf,PS:zh,PT:zp,PW:zm,PY:zg,QA:zv,RE:zy,RO:zb,RS:zw,RU:zx,RW:zE,SA:zC,SB:zk,SC:zM,SD:z_,SE:zS,SG:zj,SH:zO,SI:zL,SJ:zA,SK:zT,SL:zP,SM:zN,SN:zF,SO:zR,SR:z$,SS:zD,ST:zz,SV:zI,SX:zH,SY:zB,SZ:zW,TA:zV,TC:zU,TD:zq,TF:zG,TG:zY,TH:zZ,TJ:zK,TK:zQ,TL:zX,TM:zJ,TN:z1,TO:z0,TR:z2,TT:z3,TV:z5,TW:z4,TZ:z6,UA:z7,UG:z8,UM:z9,US:Ie,UY:It,UZ:Ir,VA:In,VC:Ia,VE:Io,VG:Ii,VI:Il,VN:Is,VU:Iu,WF:Ic,WS:Id,XA:If,XC:Ih,XK:Ip,XO:Im,YE:Ig,YT:Iv,ZA:Iy,ZM:Ib,ZW:Iw,default:{AC:Rf,AD:Rh,AE:Rp,AF:Rm,AG:Rg,AI:Rv,AL:Ry,AM:Rb,AO:Rw,AQ:Rx,AR:RE,AS:RC,AT:Rk,AU:RM,AW:R_,AX:RS,AZ:Rj,BA:RO,BB:RL,BD:RA,BE:RT,BF:RP,BG:RN,BH:RF,BI:RR,BJ:R$,BL:RD,BM:Rz,BN:RI,BO:RH,BQ_BO:RB,BQ_SA:RW,BQ_SE:RV,BQ:RU,BR:Rq,BS:RG,BT:RY,BV:RZ,BW:RK,BY:RQ,BZ:RX,CA:RJ,CC:R1,CD:R0,CF:R2,CG:R3,CH:R5,CI:R4,CK:R6,CL:R7,CM:R8,CN:R9,CO:$e,CR:$t,CU:$r,CV:$n,CW:$a,CX:$o,CY:$i,CZ:$l,DE:$s,DJ:$u,DK:$c,DM:$d,DO:$f,DZ:$h,EC:$p,EE:$m,EG:$g,EH:$v,ER:$y,ES_CT:$b,ES:$w,ET:$x,EU:$E,FI:$C,FJ:$k,FK:$M,FM:$_,FO:$S,FR:$j,GA:$O,GB_ENG:$L,GB_NIR:$A,GB_SCT:$T,GB_WLS:$P,GB:$N,GD:$F,GE:$R,GF:$$,GG:$D,GH:$z,GI:$I,GL:$H,GM:$B,GN:$W,GP:$V,GQ:$U,GR:$q,GS:$G,GT:$Y,GU:$Z,GW:$K,GY:$Q,HK:$X,HM:$J,HN:$1,HR:$0,HT:$2,HU:$3,IC:$5,ID:$4,IE:$6,IL:$7,IM:$8,IN:$9,IO:De,IQ:Dt,IR:Dr,IS:Dn,IT:Da,JE:Do,JM:Di,JO:Dl,JP:Ds,KE:Du,KG:
156Dc,KH:Dd,KI:Df,KM:Dh,KN:Dp,KP:Dm,KR:Dg,KW:Dv,KY:Dy,KZ:Db,LA:Dw,LB:Dx,LC:DE,LI:DC,LK:Dk,LR:DM,LS:D_,LT:DS,LU:Dj,LV:DO,LY:DL,MA:DA,MC:DT,MD:DP,ME:DN,MF:DF,MG:DR,MH:D$,MK:DD,ML:Dz,MM:DI,MN:DH,MO:DB,MP:DW,MQ:DV,MR:DU,MS:Dq,MT:DG,MU:DY,MV:DZ,MW:DK,MX:DQ,MY:DX,MZ:DJ,NA:D1,NC:D0,NE:D2,NF:D3,NG:D5,NI:D4,NL:D6,NO:D7,NP:D8,NR:D9,NU:ze,NZ:zt,OM:zr,PA:zn,PE:za,PF:zo,PG:zi,PH:zl,PK:zs,PL:zu,PM:zc,PN:zd,PR:zf,PS:zh,PT:zp,PW:zm,PY:zg,QA:zv,RE:zy,RO:zb,RS:zw,RU:zx,RW:zE,SA:zC,SB:zk,SC:zM,SD:z_,SE:zS,SG:zj,SH:zO,SI:zL,SJ:zA,SK:zT,SL:zP,SM:zN,SN:zF,SO:zR,SR:z$,SS:zD,ST:zz,SV:zI,SX:zH,SY:zB,SZ:zW,TA:zV,TC:zU,TD:zq,TF:zG,TG:zY,TH:zZ,TJ:zK,TK:zQ,TL:zX,TM:zJ,TN:z1,TO:z0,TR:z2,TT:z3,TV:z5,TW:z4,TZ:z6,UA:z7,UG:z8,UM:z9,US:Ie,UY:It,UZ:Ir,VA:In,VC:Ia,VE:Io,VG:Ii,VI:Il,VN:Is,VU:Iu,WF:Ic,WS:Id,XA:If,XC:Ih,XK:Ip,XO:Im,YE:Ig,YT:Iv,ZA:Iy,ZM:Ib,ZW:Iw}},Symbol.toStringTag,{value:"Module"}));function IE({name:e,control:t,error:n,excludeBrazil:o=!1}){let[i,l]=(0,M.useState)(!1),[s,u]=(0,M.useState)(""),[c,d]=(0,M.useState)(null),f=(0,M.useRef)(null),h=(0,S.useTranslations)("Countries"),p=yN.filter(e=>(!o||"BR"!==e.code)&&(h(e.code).toLowerCase().includes(s.toLowerCase())||e.code.toLowerCase().includes(s.toLowerCase())));(0,M.useEffect)(()=>{let e=e=>{f.current&&!f.current.contains(e.target)&&l(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let m=(e,t)=>{u(e),l(!0),e.trim()||t("")},g=e=>{d(e),u(""),l(!1)};return $.jsx(C_,{name:e,control:t,render:({field:{onChange:t,value:o}})=>{let u=s||(()=>{if(o){let e=yN.find(e=>e.code===o);return e?h(e.code):""}return""})();return $.jsxs("div",{ref:f,className:"relative",children:[$.jsxs("div",{className:"flex flex-col gap-1",children:[$.jsx("label",{htmlFor:e,className:"text-xxs font-bold text-grey-900 text-left",children:h("country")}),$.jsxs("div",{className:e8(["flex","items-center","h-10","py-2x","px-2x","bg-white","rounded-sm","border","border-grey-300","data-[placeholder]:text-grey-500","text-gray-900","overflow-hidden","focus-within:border-primary-pure","focus-within:shadow-level1","focus-within:shadow-grey-900/semitransparent",{"border-error-500":!!n}]),children:[$.jsx("input",{type:"text",value:u,onChange:e=>m(e.target.value,t),onFocus:()=>l(!0),placeholder:h("countryPlaceholder"),className:e8(["flex-1","h-full","paragraph-xs","outline-none","bg-white","placeholder:text-grey-500"]),onBlur:()=>setTimeout(()=>l(!1),200)}),$.jsx("button",{type:"button",onClick:()=>l(!i),className:"flex-shrink-0 ml-2",children:$.jsx(uu,{className:e8(["size-6","transition-transform","duration-200",i&&"rotate-180"]),strokeWidth:1.5})})]}),n&&$.jsx("span",{className:"text-xxxs text-error-500 text-left",children:n})]}),i&&p.length>0&&$.jsx("div",{className:"absolute z-50 w-full mt-1 bg-white border border-grey-300 rounded-sm shadow-lg max-h-60 overflow-y-auto",children:p.map(e=>{let n=Ix[e.code];return $.jsxs("div",{role:"button",tabIndex:0,onClick:()=>{g(e),t(e.code)},onKeyDown:n=>{("Enter"===n.key||" "===n.key)&&(n.preventDefault(),g(e),t(e.code))},className:e8("flex items-center px-3 py-2 cursor-pointer hover:bg-grey-100 transition-colors",c?.code===e.code&&"bg-grey-100"),children:[$.jsx(n,{className:"w-6 h-4 mr-2"}),$.jsx("span",{className:"font-bold text-[14px]",children:h(e.code)})]},e.code)})})]})}})}function IC({setCurrentPage:e,setFormValue:t,onAfterRegister:n}){let o=_Y(),i=(0,S.useTranslations)("FormErrors"),l=(0,S.useTranslations)("RegisterModal"),{getSigninToken:s,handleReloadUserInfos:u}=yQ(),{config:c,siteName:d}=Q(),f=c?.resources?.marketplaceUrl??"https://www.zig.tickets",{isReadyForCheckout:h,sendToCheckout:p}=jA(),{setLoading:m}=kh(),{executeRecaptchaAction:g,recaptchaRef:v,resetRecaptcha:y}=jI(),{togglePasswordVisibility:b,showPassword:w}=js(),{togglePasswordVisibility:x,showPassword:E}=js(),{control:C,errors:k,onSubmit:_,register:j,isLoading:L,watch:A,setError:T,clearErrors:P,setValue:N}=function(e){let{mutateAsync:t,isLoading:n}=function(){let{mutateAsync:e,isPending:t}=(0,O.useMutation)({mutationFn:async e=>hI(e)});return{mutateAsync:e,isLoading:t}}(),o="j\xe1 existe e precisa ser \xfanico.",i=["informado n\xe3o \xe9 v\xe1lido.","\xe9 obrigat\xf3rio e est\xe1 faltando."],{handleSubmit:l,register:s,control:u,formState:{errors:c},watch:d,setError:f,clearErrors:h,setValue:p}=_J(Te,{mode:"onSubmit",defaultValues:{is_foreign:!1,nationality:"",passport:""}});return{onSubmit:l(async n=>{let l={email:n.email,first_name:n.firstName,last_name:n.lastName,document:n.is_foreign?(n.passport||"").replace(/[-.]/g,""):(n.document||"").replace(/[-.]/g,""),document_type:n.is_foreign?"passport":"cpf",telephone:n.telep
156hone};try{await t({...l,password:n.password,password_confirmation:n.confirmPassword,is_foreign:n.is_foreign,nationality:n.is_foreign?n.nationality:"BR","g-recaptcha-response":n["g-recaptcha-response"]}),v6("sign_up",{method:"Account"}),e?.onAfterRegister&&e.onAfterRegister()}catch(t){t?.errors?.email&&t?.errors?.email[0]===o?f("email",{message:"emailAlreadyRegistered"},{shouldFocus:!0}):t?.errors?.document&&t?.errors?.document[0]===o?f(n.is_foreign?"passport":"document",{message:"documentAlreadyRegisteredSignIn"}):t?.errors?.document&&t?.errors?.document[0]==="informado \xe9 invalido."?f(n.is_foreign?"passport":"document",{message:"invalidDocument"}):t?.errors?.telephone&&t?.errors?.telephone[0]===o?f("telephone",{message:"telephoneAlreadyRegistered"}):t?.errors?.telephone&&i.includes(t.errors.telephone[0])?f("telephone",{message:"phoneNumberError"}):t?.message?.includes("reCAPTCHA")&&f("root",{message:"reCAPTCHA validation failed"}),mb(t,{showToast:!1}),e?.onError&&e.onError()}}),register:s,control:u,errors:c,isLoading:n,watch:d,setError:f,clearErrors:h,setValue:p}}({onAfterRegister:async()=>{if(n){let e=A("email"),i=A("password");t("emailOrDocument",e),t("password",i),mc(l("accountCreated"),{variant:"success",autoHideDuration:3e3,anchorOrigin:{horizontal:o?"center":"right",vertical:o?"bottom":"top"}});try{let t=await s({username:e,password:i,platform:"app"});h&&!t.isMfaEnable&&(m(!0),u(),p()),n(t.isMfaEnable)}catch{}}},setCurrentPage:e,locale:(0,S.useLocale)(),onError:()=>{y()}}),F=()=>i.rich("documentAlreadyRegisteredSignIn",{login:t=>$.jsx("button",{type:"button",onClick:()=>e(OR.LOGIN_EMAIL_CPF),className:"text-error-500 underline font-semibold focus:outline-none",children:t}),recover:t=>$.jsx("button",{type:"button",onClick:()=>e(OR.RECOVER_PASSWORD),className:"text-error-500 underline font-semibold focus:outline-none",children:t})}),R=e=>e?"documentAlreadyRegisteredSignIn"===e?F():i(e):"",D=async e=>{e.preventDefault();try{let e=await g(dd.REGISTER);if(!e){T("root",{message:"reCAPTCHA validation failed"});return}N("g-recaptcha-response",e),_()}catch(e){y(),e?.message?.includes("reCAPTCHA")&&T("root",{message:"reCAPTCHA validation failed"})}};return(0,M.useEffect)(()=>{A("is_foreign")?(P("document"),N("document","")):P(["nationality","passport"]),P("document")},[A("is_foreign"),P,N]),(0,M.useEffect)(()=>{let e=A("nationality");if(A("is_foreign")&&e){let t=yF(e);(A("telephone")||"").startsWith(`+${t}`)||N("telephone",`+${t}`)}},[A("nationality"),A("is_foreign"),N]),$.jsxs("div",{className:"flex flex-col gap-4 w-full justify-center items-center px-2",children:[$.jsx("div",{className:"flex",children:$.jsx(uc,{className:"stroke-grey-900 cursor-pointer absolute top-4 left-4",width:18,height:18,onClick:()=>e(OR.MAIN)})}),$.jsx("div",{className:"flex flex-col w-60 md:w-full",children:$.jsx("h1",{className:"font-semibold text-sm leading-[1.35rem] text-center",children:l("title")})}),$.jsxs("form",{onSubmit:D,className:"w-full flex flex-col gap-4",children:[$.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2",children:$.jsx(ue,{label:"CPF",mask:"cpf",error:A("is_foreign")?"":R(k.document?.message),name:"document",control:C,noGap:!0,disabled:A("is_foreign"),readOnly:A("is_foreign"),className:A("is_foreign")?"opacity-50 pointer-events-none":""})}),$.jsx("div",{className:"md:grid-cols-2",children:$.jsx(ut,{error:k.is_foreign?.message&&i(k.is_foreign?.message),label:l("isForeign"),...j("is_foreign")})}),A("is_foreign")&&$.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[$.jsx(IE,{name:"nationality",control:C,error:k.nationality?.message&&i(k.nationality?.message),excludeBrazil:!0}),$.jsx(oD,{label:l("passportLabel"),placeholder:l("passportPlaceholder"),error:R(k.passport?.message),autoComplete:"passport",maxLength:9,style:{textTransform:"uppercase",color:"inherit"},...j("passport")})]}),$.jsx("div",{className:"md:grid-cols-2",children:$.jsx(oD,{label:l("emailLabel"),placeholder:l("emailPlaceholder"),autoComplete:"email",error:k.email?.message&&i(k.email?.message),...j("email")})}),$.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[$.jsx(oD,{label:l("firstNameLabel"),placeholder:l("firstNamePlaceholder"),error:k.firstName?.message&&i(k.firstName?.message),...j("firstName")}
156),$.jsx(oD,{label:l("lastNameLabel"),placeholder:l("lastNamePlaceholder"),error:k.lastName?.message&&i(k.lastName?.message),...j("lastName")})]}),$.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:$.jsx(io,{name:"telephone",initialValue:"",control:C,error:k.telephone?.message&&i(k.telephone?.message),label:l("phoneNumber")})}),$.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[$.jsx(oD,{label:l("passwordLabel"),type:w?"text":"password",placeholder:l("passwordPlaceholder"),error:k.password?.message&&i(k.password?.message),autoComplete:"new-password",trailingIcon:$.jsx(Az,{showPassword:w,onClick:b}),...j("password")}),$.jsx(oD,{label:l("confirmPasswordLabel"),type:E?"text":"password",placeholder:l("confirmPasswordPlaceholder"),autoComplete:"new-password",error:k.confirmPassword?.message&&i(k.confirmPassword?.message),trailingIcon:$.jsx(Az,{showPassword:E,onClick:x}),...j("confirmPassword")})]}),k.root&&$.jsx("div",{className:"text-red-500 text-sm text-center",children:i(k.root.message||"")}),$.jsx(Ls,{ref:v,onVerify:e=>{e&&k.root?.message?.includes("reCAPTCHA")&&P("root")},onExpire:()=>{},onError:()=>{}}),$.jsx(tt,{type:"submit",variant:"primary",className:"w-full",isLoading:L,children:l("submitButton")})]}),$.jsx(ti,{className:"w-full"}),$.jsx("div",{className:"flex w-full justify-center items-center",children:$.jsxs("span",{className:"text-grey-600 text-center text-xxs leading-[1.313rem] w-80",children:[l("termsAndConditions"),"\xa0",$.jsx(cX,{href:`${f}/termos`,className:"underline",target:"_blank",children:l("termsOfUseLink")}),"\xa0 ",l("andThe"),"\xa0",$.jsx(cX,{href:`${f}/privacidade`,className:"underline",target:"_blank",children:l("privacyPoliciesLink")}),"\xa0",l("companyName",{name:d}),"."]})})]})}function Ik({isOpen:e,onToggle:t,afterCheckout:n=!1,nextTo:o}){let i=ji({schema:O$}),l=(0,S.useTranslations)(),s=(0,_.useRouter)(),{user:u,setUser:c}=yQ(),{isReadyForCheckout:d}=jA(),[f,h]=(0,M.useState)(OR.MAIN);function p(){n&&y_("Lead"),h(OR.MAIN),t()}function m(e){if(e){h(OR.LOGIN_CONFIRMATION);return}p(),o&&!d&&s.push(o)}(0,M.useEffect)(()=>{if(e){let{token:e}=h_();!e&&u&&c(null)}},[e,u,c]);let g={[OR.MAIN]:$.jsx(AW,{setCurrentPage:h,nextTo:o}),[OR.LOGIN_EMAIL_CPF]:$.jsx(AI,{setCurrentPage:h,onAfterSignin:m}),[OR.REGISTER]:$.jsx(IC,{setCurrentPage:h,onAfterRegister:m,setFormValue:i.setValue}),[OR.RECOVER_PASSWORD]:$.jsx(A9,{setCurrentPage:h,onAfterRecover:()=>h(OR.RECOVER_CONFIRMATION)}),[OR.RECOVER_CONFIRMATION]:$.jsx(AV,{onClose:p}),[OR.LOGIN_CONFIRMATION]:$.jsx(OW,{onClose:p,setCurrentPage:h,nextTo:o})};return $.jsx(Cb,{...i,children:$.jsx(is,{open:e,onOpenChange:p,children:$.jsxs(iv,{children:[$.jsx(iu,{className:"z-[60]"}),$.jsxs(id,{className:e8([f===OR.REGISTER?"box-border h-[calc(100svh-16px)] md:h-auto":"","z-[60]"]),children:[$.jsx(ih,{className:"sr-only",children:l("LoginModal.loginTitle")}),$.jsx(ip,{className:"sr-only",children:l("LoginModal.loginDescription")}),$.jsx(ig,{children:$.jsx("div",{className:"flex justify-center items-center gap-6 pb-4",children:g[f]})})]})]})})})}function IM(e){return $.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M20.9959 12H9.91895",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M12.6882 9.23077L9.91895 12L12.6882 14.7692",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M19.5838 16.8462C18.5357 18.4864 16.984 19.7426 15.1615 20.4264C13.3391 21.1102 11.344 21.1847 9.47559 20.6387C7.60718 20.0927 5.96615 18.9557 4.79862 17.3982C3.63109 15.8406 3 13.9465 3 12C3 10.0535 3.63109 8.15937 4.79862 6.60184C5.96615 5.04431 7.60718 3.90728 9.47559 3.36129C11.344 2.8153 13.3391 2.88979 15.1615 3.57357C16.984 4.25736 18.5357 5.51359 19.5838 7.15385",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function I_(){let e=(0,S.useTranslations)("Header"),{currentLanguage:t}=OM(),{open:n,onOpen:o,onToggle:i}=yX(),{user:l}=yQ(),{open:s,onOpen:u,onToggle:c}=yX(),[d,f]=(0,M.useState)(!1);return l?$.jsx(OF,{}):$.jsxs("div",{children:[$.jsx("div",{className:"flex lg:hidden",children:$.jsxs(oA,{open:d,onOpenChange:f,modal:!1,children:[$.jsx(oT,{asChild:!0,children:$.jsx(tt,{className:"hover:bg-transparent active:bg-transparent",variant:"ghost",leadingIcon:$.jsxs(iT,{className:"w-8 h-8",children:[$.jsx(iP,{className:"w-8 h-8",src:""}),$.jsx(iN,{className:"bg-grey-100 border border-grey-300",children:$.jsx(uy,{strokeWidth:1.5,size:16})})]}),children:$.jsx($.Fragment,{})})}),$.jsx(oP,{children:$.jsxs(oN,{align:"end",children:[$.jsxs(oF,{onClick:u,className:"justify-between",children:[$.jsx(Ok,{src:t.icon,alt:t.label,width:18,height:18}),$.jsx("span",{children:t.label}),$.jsx(ud,{size:16,style:{stroke:"var(--color-primary-pure)"}})]}),$.jsxs(oF,{onClick:o,children:[$.jsx(IM,{width:18,height:18}),e("enter")]})]})})]})}),$.jsx("div",{className:"hidden lg:flex",children:$.jsx(tt,{id:"loginOrRegisterButton",variant:"secondary",onClick:o,className:"[&:hover]:!bg-[var(--color-whitelabel-header-hover)]",style:{color:"var(--color-whitelabel-header-text, #171719)"},children:e("enter")})}),$.jsx(Ik,{isOpen:n,onToggle:i}),$.jsx(OA,{open:s,onToggle:c})]})}let IS=(0,M.memo)(function(){let e=(0,S.useTranslations)("SearchInput"),{register:t,onSubmit:n,clearSearch:o,watch:i}=ki(),[l,s]=(0,M.useState)(!1),u=i("search"),c="search-input-header",d=(0,M.useCallback)(e=>{e.preventDefault(),u&&s(!0),n()},[u,n]),f=(0,M.useCallback)(()=>{s(!1),o()},[o]);return $.jsxs($.Fragment,{children:[$.jsx("style",{children:`#${c}::placeholder { color: var(--color-whitelabel-header-text, #171719) !important; }`}),$.jsx("form",{onSubmit:d,children:$.jsx(oD,{type:"text",placeholder:e("searchEvents"),className:"w-full xl:min-w-[400px]",id:c,wrapperStyle:{backgroundColor:"var(--color-whitelabel-header, #FFF)",color:"var(--color-whitelabel-header-text, #171719)"},trailingIcon:u.length>0&&l?$.jsx("button",{type:"button","aria-label":"cancelar",onClick:f,children:$.jsx(ub,{})}):$.jsx("button",{type:"submit","aria-label":"pesquisar",children:$.jsx(uv,{})}),...t("search")})})]})});function Ij(){return $.jsx("div",{className:"hidden lg:flex",children:$.jsx(IS,{})})}let IO=(0,M.memo)(function(){let e=(0,_.useRouter)(),{config:t}=Q(),[n,o]=(0,M.useState)(!1),[i,l]=(0,M.useState)(!1),s=t?.layout?.headerFullWidth||!1;return(0,M.useEffect)(()=>{o(e.pathname.includes("/checkout/")),l(e.pathname.includes("/ingressos"))},[e.pathname]),$.jsx(j2,{children:$.jsx("nav",{className:`flex items-center w-full ${s?"":"max-w-screen-xl"} ${n?"justify-center":"justify-between"}`,children:i?$.jsxs($.Fragment,{children:[$.jsx(O_,{}),$.jsx(OL,{}),$.jsx(I_,{})]}):$.jsxs($.Fragment,{children:[$.jsx(OL,{}),!n&&$.jsxs($.Fragment,{children:[$.jsxs("div",{className:"flex items-center gap-4x",children:[$.jsx(OS,{}),$.jsx(Ij,{})]}),$.jsxs("div",{className:"flex items-center gap-2x",children:[$.jsx(j0,{}),$.jsx(O_,{}),$.jsx(I_,{})]})]})]})})})});function IL(e){return $.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:"var(--color-whitelabel-header-text, #171719)"},...e,children:$.jsx("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259
1560-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"})})}function IA(e){return $.jsx("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{fill:"var(--color-whitelabel-header-text, #171719)"},...e,children:$.jsx("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}function IT({label:e,url:t,target:n,classNames:o}){return $.jsx(cX,{href:t,target:"_self"===n?void 0:n,className:e8(o,"text-xxs block"),style:{color:"inherit"},children:e})}function IP(){let e=(0,S.useTranslations)(),{isThemeLoaded:t}=OO(),{config:n,isLoading:o}=Q(),i=jB();if(!t||o||!n)return null;let{logo:l}=n.assets,s=n.assets.logoAlt||n.name,u=n.company,c=n.footer?.sections??[],d=n.siteName??"Zig";return i?$.jsx("footer",{id:"footer",className:"border-t border-gray-300 w-full py-10x px-6 lg:px-0",style:{backgroundColor:"var(--color-whitelabel-footer, #FFF)",color:"var(--color-whitelabel-footer-text, #171719)"},children:$.jsxs("div",{className:"max-w-[1136px] mx-auto",children:[$.jsxs("div",{className:"flex flex-col lg:flex-row items-center lg:justify-between gap-6 text-center lg:text-left",children:[$.jsxs("div",{className:"flex flex-col lg:flex-row items-center gap-6x",children:[$.jsx("img",{src:l,alt:s,className:"max-w-[200px]"},l),$.jsx(tt,{variant:"secondary",asChild:!0,className:"[&:hover]:!bg-[var(--color-whitelabel-footer-hover)]",children:$.jsx(cX,{href:"https://solucoes.zig.fun/solicite-uma-proposta-eventos/",target:"_blank",rel:"noreferrer",className:"text-xxs no-underline",style:{color:"var(--color-whitelabel-footer-text, #171719)"},children:e("CommonExpressions.createYourEvent")})})]}),$.jsxs("div",{className:"flex flex-col items-center lg:flex-row lg:items-center gap-4x",children:[$.jsx("span",{className:"text-xxs font-semibold font-brand",children:e("Footer.downloadOurApp")}),$.jsxs("div",{className:"flex items-center gap-2x",children:[$.jsx("a",{href:"https://apps.apple.com/br/app/zig/id1154643255",target:"_blank",rel:"noreferrer","aria-label":"Download on the App Store",children:$.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='137'%20height='40'%20viewBox='0%200%20137%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.958008%208C0.958008%203.85786%204.31587%200.5%208.45801%200.5H128.729C132.871%200.5%20136.229%203.85786%20136.229%208V32C136.229%2036.1421%20132.871%2039.5%20128.729%2039.5H8.45801C4.31588%2039.5%200.958008%2036.1421%200.958008%2032V8Z'%20fill='white'/%3e%3cpath%20d='M0.958008%208C0.958008%203.85786%204.31587%200.5%208.45801%200.5H128.729C132.871%200.5%20136.229%203.85786%20136.229%208V32C136.229%2036.1421%20132.871%2039.5%20128.729%2039.5H8.45801C4.31588%2039.5%200.958008%2036.1421%200.958008%2032V8Z'%20stroke='%23D3D2D9'/%3e%3cpath%20d='M32.61%2019.0651C32.5843%2015.9889%2035.1327%2014.4895%2035.2513%2014.4225C33.8069%2012.3201%2031.568%2012.0316%2030.7787%2012.011C28.8957%2011.8152%2027.0746%2013.1343%2026.1151%2013.1343C25.1401%2013.1343%2023.6646%2012.0316%2022.0706%2012.0625C20.0225%2012.0934%2018.1086%2013.2786%2017.0614%2015.113C14.8947%2018.859%2016.5094%2024.3621%2018.5884%2027.392C19.6253%2028.876%2020.8376%2030.53%2022.4266%2030.4733C23.9793%2030.4115%2024.5623%2
156029.484%2026.4349%2029.484C28.2921%2029.484%2028.8389%2030.4733%2030.4588%2030.4373C32.1251%2030.4115%2033.1775%2028.9481%2034.1783%2027.4538C35.3803%2025.7534%2035.8601%2024.0788%2035.8808%2023.9963C35.8395%2023.9705%2032.641%2022.7494%2032.61%2019.0651ZM29.5509%2010.0169C30.3866%208.97086%2030.9592%207.55386%2030.7993%206.11108C29.5921%206.16258%2028.0754%206.94581%2027.2087%207.96608C26.4401%208.86781%2025.7488%2010.3415%2025.9294%2011.7276C27.281%2011.8255%2028.679%2011.0423%2029.5509%2010.0169Z'%20fill='%2317171A'/%3e%3cpath%20d='M55.112%2030.2518H52.9402L51.7485%2026.5212H47.6163L46.4813%2030.2518H44.3662L48.4623%2017.5451H50.9901L55.112%2030.2518ZM51.3925%2024.9547L50.3143%2021.6364C50.2008%2021.2963%2049.9841%2020.4976%2049.6746%2019.2403H49.6385C49.5147%2019.7814%2049.3083%2020.5801%2049.0349%2021.6364L47.9774%2024.9547H51.3925ZM65.626%2025.5576C65.626%2027.1138%2065.2027%2028.3453%2064.3567%2029.2522C63.598%2030.056%2062.6541%2030.4579%2061.5295%2030.4579C60.3119%2030.4579%2059.4404%2030.0251%2058.9092%2029.1594V33.967H56.8712V24.0994C56.8712%2023.1204%2056.8456%2022.1156%2056.7939%2021.0902H58.5888L58.7028%2022.5433H58.7384C59.4198%2021.4509%2060.4515%2020.8995%2061.8337%2020.8995C62.9172%2020.8995%2063.82%2021.3272%2064.5425%2022.1826C65.2644%2023.038%2065.626%2024.1664%2065.626%2025.5576ZM63.5519%2025.6349C63.5519%2024.7435%2063.3505%2024.0067%2062.9484%2023.4296C62.5095%2022.8267%2061.9166%2022.5278%2061.1735%2022.5278C60.6735%2022.5278%2060.2141%2022.6978%2059.8063%2023.0276C59.3992%2023.3626%2059.1306%2023.8006%2059.0071%2024.3364C58.9503%2024.5374%2058.9192%2024.7486%2058.9142%2024.9547V26.4851C58.9142%2027.1498%2059.1205%2027.7115%2059.5282%2028.1752C59.9354%2028.6338%2060.4671%2028.8657%2061.1218%2028.8657C61.8905%2028.8657%2062.4889%2028.5668%2062.9172%2027.9795C63.3349%2027.3817%2063.5519%2026.6036%2063.5519%2025.6349ZM76.1806%2025.5576C76.1806%2027.1138%2075.7579%2028.3453%2074.9113%2029.2522C74.1532%2030.056%2073.2093%2030.4579%2072.0847%2030.4579C70.8671%2030.4579%2069.995%2030.0251%2069.4638%2029.1594V33.967H67.4259V24.0994C67.4259%2023.1204%2067.4003%2022.1156%2067.3485%2021.0902H69.144L69.2574%2022.5433H69.2936C69.9744%2021.4509%2071.0062%2020.8995%2072.3889%2020.8995C73.4724%2020.8995%2074.3751%2021.3272%2075.0971%2022.1826C75.8146%2023.038%2076.1806%2024.1664%2076.1806%2025.5576ZM74.1015%2025.6349C74.1015%2024.7435%2073.9007%2024.0067%2073.498%2023.4296C73.0597%2022.8267%2072.4662%2022.5278%2071.7237%2022.5278C71.2231%2022.5278%2070.7637%2022.6978%2070.351%2023.0276C69.9438%2023.3626%2069.6752%2023.8006%2069.5517%2024.3364C69.4894%2024.5889%2069.4538%2024.795%2069.4538%2024.9547V26.4851C69.4538%2027.1498%2069.6601%2027.7115%2070.0673%2028.1752C70.475%2028.6338%2071.0062%2028.8657%2071.6669%2028.8657C72.4351%2028.8657%2073.0336%2028.5668%2073.4618%2027.9795C73.8901%2027.3817%2074.1015%2026.6036%2074.1015%2025.6349ZM87.9789%2026.6912C87.9789%2027.7733%2087.6023%2028.6545%2086.8492%2029.3295C86.0238%2030.0715%2084.863%2030.4425%2083.3824%2030.4425C82.0152%2030.4425%2080.9167%2030.1797%2080.0857%2029.6489L80.5552%2027.9537C81.4479%2028.4844%2082.4329%2028.7472%2083.5008%2028.7472C84.2695%2028.7472%2084.868%2028.572%2085.2963%2028.2267C85.7246%2027.8815%2085.9409%2027.4178%2085.9409%2026.8407C85.9409%2026.3254%2085.7607%2025.8926%2085.4097%2025.537C85.0588%2025.1866%2084.4759%2024.8568%2083.656%2024.558C81.4273%2023.7284%2080.3127%2022.5123%2080.3127%2020.9202C80.3127%2019.8793%2080.7048%2019.024%2081.494%2018.3592C82.2783%2017.6945%2083.3206%2017.3596%2084.6205%2017.3596C85.7763%2017.3596%2086.7408%2017.5606%2087.5094%2017.9625L86.9988%2019.6217C86.2763%2019.2301%2085.4665%2019.0394%2084.5532%2019.0394C83.8362%2019.0394%2083.2689%2019.2146%2082.8662%2019.565C82.5258%2019.8793%2082.3556%2020.2606%2082.3556%2020.7141C82.3556%2021.2138%2082.5519%2021.6312%2082.9441%2021.9558C83.2845%2022.2547%2083.898%2022.5845%2084.7907%2022.9349C85.8842%2023.378%2086.689%2023.8881%2087.2052%2024.4807C87.7208%2025.0733%2087.9789%2025.8101%2087.9789%2026.6912ZM94.7368%2022.6206H92.4875V27.0674C92.4875%2028.201%2092.8846%2028.7626%2093.6795%2028.7626C94.0455%2028.7626%2094.3447%2028.7317%2094.5872%2028.6699L94.6439%2030.2157C94.2418%2030.3652%2093.7156%2030.4425%2093.0604%2030.4425C92.2556%2030.4425%2091.6259%2030.1951%2091.1721%2029.7056C90.7182%2029.2161%2090.4913%2028.3916%2090.4913%2027.2375V22.6206H89.1553V21.0953H90.4913V19.4156L92.4931%2018.8127V21.0953H94.7418L94.7368%2022.6206ZM104.853%2025.5988C104.853%2027.0056%20104.451%2028.165%20103.646%2029.0667C102.805%2029.9993%20101.686%2030.4631%20100.288%2030.4631C98.9412%2030.4631%2097.8683%2030.0148%2097.0685%2029.1285C96.2692%2028.2371%2095.872%2027.1086%2095.872%2025.7535C95.872%2024.3313%2096.2848%2023.1719%2097.1102%2022.265C97.9356%2021.3581%2099.0447%2020.9098%20100.442%2020.9098C101.789%2020.9098%20102.872%2021.3581%20103.687%2022.2496C104.461%2023.1101%20104.853%2024.2282%20104.853%2025.5988ZM102.738%2025.6452C102.738%2024.8053%20102.5
15658%2024.084%20102.191%2023.4862C101.763%2022.7597%20101.154%2022.3938%20100.36%2022.3938C99.5447%2022.3938%2098.9156%2022.7597%2098.4923%2023.4862C98.1264%2024.0891%2097.9456%2024.8208%2097.9456%2025.6865C97.9456%2026.5263%2098.1264%2027.2477%2098.4923%2027.8506C98.9312%2028.5771%2099.5503%2028.943%20100.345%2028.943C101.124%2028.943%20101.732%2028.572%20102.176%2027.8352C102.553%2027.2117%20102.738%2026.4851%20102.738%2025.6452ZM111.483%2022.8833C111.271%2022.8473%20111.054%2022.8267%20110.837%2022.8267C110.12%2022.8267%20109.569%2023.0946%20109.177%2023.6357C108.836%2024.1148%20108.666%2024.7177%20108.666%2025.4443V30.2518H106.628V23.9757C106.628%2023.0122%20106.612%2022.0537%20106.571%2021.0902H108.346L108.418%2022.8421H108.475C108.692%2022.2392%20109.027%2021.7549%20109.496%2021.3891C109.919%2021.0696%20110.44%2020.8995%20110.971%2020.8995C111.163%2020.8995%20111.327%2020.915%20111.483%2020.9356V22.8833ZM120.598%2025.2382C120.603%2025.5473%20120.577%2025.8565%20120.526%2026.1605H114.408C114.428%2027.0674%20114.728%2027.7578%20115.295%2028.2371C115.81%2028.6647%20116.476%2028.876%20117.297%2028.876C118.204%2028.876%20119.03%2028.7317%20119.773%2028.4432L120.093%2029.855C119.226%2030.2312%20118.199%2030.4218%20117.018%2030.4218C115.594%2030.4218%20114.479%2030.0045%20113.665%2029.1697C112.855%2028.335%20112.447%2027.2117%20112.447%2025.805C112.447%2024.424%20112.824%2023.275%20113.582%2022.3578C114.372%2021.3787%20115.444%2020.8892%20116.791%2020.8892C118.112%2020.8892%20119.112%2021.3787%20119.793%2022.3578C120.325%2023.1358%20120.598%2024.0942%20120.598%2025.2382ZM118.653%2024.7126C118.669%2024.1097%20118.535%2023.5893%20118.256%2023.1461C117.905%2022.5793%20117.358%2022.296%20116.631%2022.296C115.966%2022.296%20115.424%2022.5742%20115.006%2023.1255C114.665%2023.5635%20114.464%2024.0942%20114.402%2024.7075L118.653%2024.7126Z'%20fill='%2317171A'/%3e%3cpath%20d='M48.8848%2012.3593C49.0723%2012.3593%2049.2339%2012.3378%2049.3695%2012.2949C49.5051%2012.2519%2049.6158%2012.192%2049.7017%2012.1152C49.7899%2012.0361%2049.8543%2011.9435%2049.8949%2011.8372C49.9356%2011.7288%2049.956%2011.6101%2049.956%2011.4813C49.956%2011.2305%2049.8667%2011.0327%2049.6882%2010.8881C49.5096%2010.7412%2049.2418%2010.6677%2048.8848%2010.6677H47.8339V12.3593H48.8848ZM47.8339%208.54233V10.2H48.7017C48.887%2010.2%2049.0475%2010.1796%2049.1831%2010.1389C49.3209%2010.0983%2049.4339%2010.0418%2049.5221%209.96944C49.6125%209.89713%2049.6791%209.81012%2049.7221%209.70843C49.765%209.60447%2049.7865%209.49148%2049.7865%209.36944C49.7865%209.08244%2049.7006%208.8734%2049.5288%208.74233C49.3571%208.60899%2049.0904%208.54233%2048.7288%208.54233H47.8339ZM48.7288%208.02368C49.0271%208.02368%2049.2836%208.05306%2049.4983%208.11182C49.7153%208.17057%2049.8927%208.25419%2050.0305%208.36266C50.1706%208.47114%2050.2735%208.60447%2050.339%208.76266C50.4045%208.9186%2050.4373%209.09487%2050.4373%209.29148C50.4373%209.41125%2050.4181%209.52651%2050.3797%209.63724C50.3435%209.74572%2050.2882%209.84741%2050.2136%209.94233C50.139%2010.0372%2050.0441%2010.1231%2049.9288%2010.2C49.8158%2010.2745%2049.6825%2010.3355%2049.5288%2010.383C49.8859%2010.4508%2050.1537%2010.5785%2050.3322%2010.7661C50.513%2010.9514%2050.6034%2011.1954%2050.6034%2011.4983C50.6034%2011.7039%2050.565%2011.8915%2050.4882%2012.061C50.4136%2012.2305%2050.3029%2012.3762%2050.156%2012.4983C50.0113%2012.6203%2049.8328%2012.7152%2049.6204%2012.783C49.4079%2012.8485%2049.1661%2012.8813%2048.8949%2012.8813H47.1797V8.02368H48.7288Z'%20fill='%2317171A'/%3e%3cpath%20d='M55.432%2011.0779L54.6693%209.10165C54.6467%209.04289%2054.623%208.97509%2054.5981%208.89826C54.5733%208.81916%2054.5495%208.73555%2054.5269%208.64741C54.4795%208.83046%2054.4309%208.983%2054.3812%209.10504L53.6185%2011.0779H55.432ZM56.8015%2012.8813H56.293C56.2343%2012.8813%2056.1868%2012.8666%2056.1507%2012.8372C56.1145%2012.8079%2056.0874%2012.7706%2056.0693%2012.7254L55.6151%2011.5525H53.4354L52.9812%2012.7254C52.9676%2012.7661%2052.9416%2012.8022%2052.9032%2012.8339C52.8648%2012.8655%2052.8173%2012.8813%2052.7608%2012.8813H52.2524L54.1947%208.02368H54.8591L56.8015%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M59.4541%2012.8813H58.7965V8.02368H59.4541V12.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M65.7577%2012.8813H65.1068C65.0571%2012.8813%2065.0175%2012.8689%2064.9882%2012.844C64.961%2012.8
156169%2064.9384%2012.7875%2064.9204%2012.7559L63.6187%2010.7152C63.6006%2010.7694%2063.5803%2010.8158%2063.5577%2010.8542L62.2899%2012.7559C62.2673%2012.7875%2062.2424%2012.8169%2062.2153%2012.844C62.1904%2012.8689%2062.1554%2012.8813%2062.1102%2012.8813H61.5L63.1712%2010.3864L61.5678%208.02368H62.2221C62.2695%208.02368%2062.3045%208.03159%2062.3271%208.04741C62.3497%208.06323%2062.3701%208.08583%2062.3882%208.11521L63.656%2010.061C63.6718%2010.0135%2063.6955%209.96153%2063.7271%209.90504L64.9238%208.12877C64.9418%208.09713%2064.9633%208.07227%2064.9882%208.05419C65.013%208.03385%2065.0424%208.02368%2065.0763%208.02368H65.7034L64.0932%2010.3559L65.7577%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M70.391%2011.0779L69.6283%209.10165C69.6057%209.04289%2069.5819%208.97509%2069.5571%208.89826C69.5322%208.81916%2069.5085%208.73555%2069.4859%208.64741C69.4384%208.83046%2069.3898%208.983%2069.3401%209.10504L68.5774%2011.0779H70.391ZM71.7605%2012.8813H71.252C71.1932%2012.8813%2071.1458%2012.8666%2071.1096%2012.8372C71.0735%2012.8079%2071.0463%2012.7706%2071.0283%2012.7254L70.574%2011.5525H68.3944L67.9401%2012.7254C67.9266%2012.7661%2067.9006%2012.8022%2067.8622%2012.8339C67.8237%2012.8655%2067.7763%2012.8813%206
1567.7198%2012.8813H67.2113L69.1537%208.02368H69.8181L71.7605%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M75.1012%2010.3762C75.291%2010.3762%2075.4583%2010.3536%2075.6029%2010.3084C75.7498%2010.261%2075.8718%2010.1954%2075.969%2010.1118C76.0684%2010.0259%2076.143%209.92425%2076.1927%209.80673C76.2424%209.68922%2076.2673%209.55928%2076.2673%209.4169C76.2673%209.12764%2076.1724%208.90956%2075.9825%208.76266C75.7927%208.61577%2075.508%208.54233%2075.1283%208.54233H74.4097V10.3762H75.1012ZM77.3453%2012.8813H76.7622C76.6424%2012.8813%2076.5543%2012.835%2076.4978%2012.7423L75.2368%2011.0067C75.1984%2010.9525%2075.1566%2010.9141%2075.1114%2010.8915C75.0684%2010.8666%2075.0006%2010.8542%2074.908%2010.8542H74.4097V12.8813H73.7554V8.02368H75.1283C75.4357%208.02368%2075.7012%208.05532%2075.9249%208.1186C76.1486%208.17961%2076.3328%208.26888%2076.4775%208.38639C76.6244%208.50391%2076.7328%208.64628%2076.8029%208.81351C76.8729%208.97848%2076.908%209.16379%2076.908%209.36944C76.908%209.5412%2076.8808%209.70165%2076.8266%209.8508C76.7724%209.99995%2076.6933%2010.1344%2076.5893%2010.2542C76.4876%2010.3717%2076.3622%2010.4723%2076.2131%2010.5559C76.0662%2010.6395%2075.8989%2010.7028%2075.7114%2010.7457C75.795%2010.7932%2075.8673%2010.8621%2075.9283%2010.9525L77.3453%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M86.3881%208.02368V12.8813H86.0592C86.0073%2012.8813%2085.9632%2012.8723%2085.927%2012.8542C85.8931%2012.8361%2085.8592%2012.8056%2085.8253%2012.7627L83.0152%209.10165C83.0197%209.15815%2083.0231%209.21351%2083.0253%209.26775C83.0276%209.32199%2083.0287%209.37283%2083.0287%209.42029V12.8813H82.4525V8.02368H82.7914C82.8208%208.02368%2082.8457%208.02594%2082.866%208.03046C82.8864%208.03272%2082.9044%208.03837%2082.9203%208.04741C82.9361%208.05419%2082.9519%208.06549%2082.9677%208.08131C82.9835%208.09487%2083.0005%208.11295%2083.0186%208.13555L85.8287%2011.7932C85.8242%2011.7344%2085.8197%2011.6779%2085.8152%2011.6237C85.8129%2011.5672%2085.8118%2011.5141%2085.8118%2011.4644V8.02368H86.3881Z'%20fill='%2317171A'/%3e%3cpath%20d='M91.5655%2011.0779L90.8028%209.10165C90.7802%209.04289%2090.7564%208.97509%2090.7316%208.89826C90.7067%208.81916%2090.683%208.73555%2090.6604%208.64741C90.6129%208.83046%2090.5644%208.983%2090.5146%209.10504L89.7519%2011.0779H91.5655ZM92.935%2012.8813H92.4265C92.3677%2012.8813%2092.3203%2012.8666%2092.2841%2012.8372C92.248%2012.8079%2092.2209%2012.7706%2092.2028%2012.7254L91.7485%2011.5525H89.5689L89.1146%2012.7254C89.1011%2012.7661%2089.0751%2012.8022%2089.0367%2012.8339C88.9983%2
156012.8655%2088.9508%2012.8813%2088.8943%2012.8813H88.3858L90.3282%208.02368H90.9926L92.935%2012.8813Z'%20fill='%2317171A'/%3e%3c/svg%3e",alt:"App Store",className:"w-[135px]"})}),$.jsx("a",{href:"https://play.google.com/store/apps/details?id=com.cubostecnologia.zigcliente&hl=pt_BR&pli=1",target:"_blank",rel:"noreferrer","aria-label":"Get it on Google Play",children:$.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='137'%20height='40'%20viewBox='0%200%20137%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.22949%208C1.22949%203.85786%204.58736%200.5%208.72949%200.5H129.001C133.143%200.5%20136.501%203.85786%20136.501%208V32C136.501%2036.1421%20133.143%2039.5%20129.001%2039.5H8.7295C4.58736%2039.5%201.22949%2036.1421%201.22949%2032V8Z'%20fill='white'/%3e%3cpath%20d='M1.22949%208C1.22949%203.85786%204.58736%200.5%208.72949%200.5H129.001C133.143%200.5%20136.501%203.85786%20136.501%208V32C136.501%2036.1421%20133.143%2039.5%20129.001%2039.5H8.7295C4.58736%2039.5%201.22949%2036.1421%201.22949%2032V8Z'%20stroke='%23D3D2D9'/%3e%3cpath%20d='M69.2914%2021.4783C66.9926%2021.4783%2065.1727%2023.2006%2065.1727%2025.5926C65.1727%2027.8888%2066.9926%2029.7067%2069.2914%2029.7067C71.5902%2029.7067%2073.4107%2027.9845%2073.4107%2025.5926C73.4107%2023.2006%2071.5902%2021.4783%2069.2914%2021.4783ZM69.2914%2027.9845C68.046%2027.9845%2066.9926%2026.9321%2066.9926%2025.4969C66.9926%2024.0617%2068.046%2023.0092%2069.2914%2023.0092C70.5367%2023.0092%2071.5902%2023.966%2071.5902%2025.4969C71.5902%2027.0277%2070.5367%2027.9845%2069.2914%2027.9845ZM60.3826%2021.4783C58.0838%2021.4783%2056.2638%2023.2006%2056.2638%2025.5926C56.2638%2027.8888%2058.0838%2029.7067%2060.3826%2029.7067C62.682%2029.7067%2064.5019%2027.9845%2064.5019%2025.5926C64.5019%2023.2006%2062.682%2021.4783%2060.3826%2021.4783ZM60.3826%2027.9845C59.1378%2027.9845%2058.0838%2026.9321%2058.0838%2025.4969C58.0838%2024.0617%2059.1378%2023.0092%2060.3826%2023.0092C61.6279%2023.0092%2062.682%2023.966%2062.682%2025.4969C62.682%2027.0277%2061.6279%2027.9845%2060.3826%2027.9845ZM49.75%2022.7222V24.4444H53.869C53.7732%2025.4012%2053.39%2026.1666%2052.9111%2026.645C52.3364%2027.2191%2051.3784%2027.8888%2049.75%2027.8888C47.1636%2027.8888%2045.2478%2025.8796%2045.2478%2023.2963C45.2478%2020.7129%2047.2594%2018.7037%2049.75%2018.7037C51.0911%2018.7037%2052.1448%2019.2777%2052.9111%2019.9475L54.1564%2018.7037C53.1027%2017.7469%2051.7616%2016.9814%2049.8458%2016.9814C46.3973%2016.9814%2043.4277%2019.8518%2043.4277%2023.2963C43.4277%2026.7407%2046.3973%2029.6111%2049.8458%2029.6111C51.7616%2029.6111%2053.1027%2029.037%2054.2522%2027.7932C55.4017%2026.645%2055.7848%2025.0184%2055.7848%2023.7747C55.7848%2023.3919%2055.7848%2023.0092%2055.689%2022.7222H49.75ZM93.2395%2024.0617C92.8563%2023.1049%2091.8979%2021.4783%2089.791%2021.4783C87.6836%2021.4783%2085.9593%2023.1049%2085.9593%2025.5926C85.9593%2027.8888%2087.6836%2029.7067%2089.9824%2029.7067C91.8023%2029.7067%2092.952%2028.5586%2093.3352%2027.8888L91.9942%2026.9321C91.5153%2027.6018%2090.9402%2028.0802%2089.9824%2028.0802C89.0246%2028.0802%2088.4495%2027.6975%2087.9706%2026.8364L93.4309%2024.5401L93.2395%2024.0617ZM87.6836%2025.4012C87.6836%2023.8703%2088.9289%2023.0092%2089.791%2023.0092C90.4613%2023.0092%2091.132%2023.3919%2091.3234%2023.8703L87.6836%2025.4012ZM83.181%2029.324H85.001V17.3642H83.181V29.324ZM80.3077%2022.3394C79.8282%2021.8611%2079.0623%2021.3827%2078.104%2021.3827C76.0927%2021.3827%2074.1766%2023.2006%2074.1766%2025.4969C74.1766%2027.7932%2075.997%2029.5154%2078.104%2029.5154C79.0623%2029.5154%2079.8282%2029.037%2080.2114%2028.5586H80.3077V29.1327C80.3077%2030.6635%2079.4455%2031.5246%2078.104%2031.5246C77.0505%2031.5246%2076.2841%2030.7592%2076.0927%2030.0894L74.5598%2030.7592C75.0387%2031.8117%2076.1884%2033.1512%2078.2002%2033.1512C80.3077%2033.1512%2082.0319%2031.9073%2082.0319%2028.9413V21.6697H80.3077V22.3394ZM78.2002%2027.9845C76.9548%2027.9845%2075.9008%2026.9321%2075.9008%2025.4969C75.9008%2024.0617%2076.9548%2023.0092%2078.2002%2023.0092C79.4455%2023.0092%2080.4033%2024.0617%2080.4033%2025.4969C80.4033%2026.9321%2079.4455%2027.9845%2078.2002%2027.9845ZM101.573%2017.3642H97.2626V29.324H99.0825V24.8271H101.573C103.584%2024.8271%20105.501%2023.3919%20105.501%2021.0957C105.501%2018.7993%20103.584%2017.3642%20101.573%2017.3642ZM101.669%2023.2006H99.0825V19.0864H101.669C103.01%2019.0864%20103.776%2020.2346%20103.776%2021.0957C103.681%2022.0524%20102.914%2023.2006%20101.669%2023.2006ZM112.685%2021.4783C111.344%2021.4783%20110.003%2022.0524%20109.524%2023.2963L111.152%2023.966C111.535%2023.2963%20112.11%2023.1049%20112.781%2023.1049C113.739%2023.1049%20114.601%2023.679%20114.696%2024.6358V24.7314C114.409%2024.5401%20113.643%2024.2531%20112.876%2024.2531C111.152%2024.2531%20109.428%2025.2098%20109.428%2026.9321C109.428%2028.5
156586%20110.865%2029.6111%20112.398%2029.6111C113.643%2029.6111%20114.217%2029.037%20114.696%2028.4629H114.792V29.4197H116.516V24.8271C116.325%2022.6265%20114.696%2021.4783%20112.685%2021.4783ZM112.493%2027.9845C111.919%2027.9845%20111.057%2027.6975%20111.057%2026.9321C111.057%2025.9753%20112.11%2025.6882%20112.972%2025.6882C113.739%2025.6882%20114.122%2025.8796%20114.601%2026.0709C114.409%2027.2191%20113.451%2027.9845%20112.493%2027.9845ZM122.551%2021.6697L120.54%2026.8364H120.444L118.337%2021.6697H116.421L119.582%2028.9413L117.762%2032.9598H119.582L124.467%2021.6697H122.551ZM106.458%2029.324H108.278V17.3642H106.458V29.324Z'%20fill='%2317171A'/%3e%3cpath%20d='M13.5406%2031.716C13.1574%2031.5246%2012.9658%2031.0462%2012.9658%2030.5679C12.9658%2030.4721%2012.9658%2030.2808%2012.9658%2030.1851C12.9658%2023.1049%2012.9658%2016.0246%2012.9658%209.04007C12.9658%208.65735%2013.0616%208.37035%2013.1574%207.98763C13.2532%207.79624%2013.4448%207.60491%2013.6364%207.41357C17.7554%2011.5277%2021.7786%2015.6419%2025.8018%2019.7561C21.6828%2023.5832%2017.6596%2027.6018%2013.5406%2031.716Z'%20fill='%2317171A'/%3e%3cpath%20d='M29.8245%2015.5462C28.675%2016.6944%2027.4297%2017.8425%2026.2802%2019.0863C22.4486%2015.1635%2018.5211%2011.2407%2014.6895%207.31783C14.6895%207.31783%2014.6895%207.22217%2014.7852%207.22217C19.7664%209.99683%2024.7475%2012.7716%2029.8245%2015.5462Z'%20fill='%2317171A'/%3e%3cpath%20d='M14.6895%2031.7159C18.5211%2027.8888%2022.4486%2024.0617%2026.2802%2020.2345C27.3339%2021.2869%2028.4834%2022.3394%2029.7287%2023.4876C24.7475%2026.2623%2019.7664%2029.0369%2014.7852%2031.7159H14.6895Z'%20fill='%2317171A'/%3e%3cpath%20d='M30.3998%2023.1048C29.1545%2021.9567%2028.0051%2020.8086%2026.7598%2019.6605C28.0051%2018.4166%2029.2504%2017.1728%2030.4956%2015.929C30.8788%2016.1203%2031.2619%2016.3117%2031.6451%2016.5987C32.603%2017.1728%2033.6568%2017.6512%2034.6147%2018.2252C34.9021%2018.3209%2035.0936%2018.5123%2035.2852%2018.7993C35.6683%2019.2777%2035.6683%2019.7561%2035.2852%2020.2345C35.0936%2020.4258%2034.9021%2020.6172%2034.6147%2020.7129C33.2736%2021.574%2031.8367%2022.3395%2030.3998%2023.1048Z'%20fill='%2317171A'/%3e%3cpath%20d='M45.7666%2012.3593C45.9542%2012.3593%2046.1158%2012.3378%2046.2514%2012.2949C46.3869%2012.252%2046.4977%2012.1921%2046.5836%2012.1152C46.6717%2012.0361%2046.7361%2011.9435%2046.7768%2011.8373C46.8175%2011.7288%2046.8378%2011.6102%2046.8378%2011.4813C46.8378%2011.2305%2046.7485%2011.0328%2046.57%2010.8881C46.3915%2010.7412%2046.1237%2010.6678%2045.7666%2010.6678H44.7158V12.3593H45.7666ZM44.7158%208.54236V10.2H45.5836C45.7689%2010.2%2045.9293%2010.1797%2046.0649%2010.139C46.2028%2010.0983%2046.3158%2010.0418%2046.4039%209.96948C46.4943%209.89717%2046.561%209.81016%2046.6039%209.70847C46.6468%209.60451%2046.6683%209.49152%2046.6683%209.36948C46.6683%209.08248%2046.5824%208.87344%2046.4107%208.74236C46.2389%208.60903%2045.9723%208.54236%2045.6107%208.54236H44.7158ZM45.6107%208.02372C45.909%208.02372%2046.1655%208.0531%2046.3802%208.11186C46.5971%208.17061%2046.7745%208.25423%2046.9124%208.3627C47.0525%208.47118%2047.1553%208.60451%2047.2208%208.7627C47.2864%208.91864%2047.3192%209.09491%2047.3192%209.29152C47.3192%209.41129%2047.2999%209.52654%2047.2615%209.63728C47.2254%209.74575%2047.17%209.84745%2047.0954%209.94236C47.0208%2010.0373%2046.9259%2010.1232%2046.8107%2010.2C46.6977%2010.2746%2046.5643%2010.3356%2046.4107%2010.383C46.7677%2010.4508%2047.0355%2010.5785%2047.2141%2010.7661C47.3949%2010.9514%2047.4853%2011.1955%2047.4853%2011.4983C47.4853%2011.7039%2047.4468%2011.8915%2047.37%2012.061C47.2954%2012.2305%2047.1847%2012.3763%2047.0378%2012.4983C46.8932%2012.6203%2046.7146%2012.7152%2046.5022%2012.783C46.2898%2012.8486%2046.048%2012.8813%2045.7768%2012.8813H44.0615V8.02372H45.6107Z'%20fill='%2317171A'/%3e%3cpath%20d='M52.3139%2011.078L51.5511%209.10169C51.5285%209.04293%2051.5048%208.97513%2051.48%208.8983C51.4551%208.8192%2051.4314%208.73558%2051.4088%208.64745C51.3613%208.8305%2051.3127%208.98304%2051.263%209.10508L50.5003%2011.078H52.3139ZM53.6833%2012.8813H53.1749C53.1161%2012.8813%2053.0687%2012.8667%2053.0325%2012.8373C52.9963%2012.8079%2052.9692%2012.7706%2052.9511%2012.7254L52.4969%2011.5525H50.3172L49.863%2012.7254C49.8494%2012.7661%2049.8235%2012.8023%2049.785%2012.8339C49.7466%2012.8655%2049.6992%2012.8813%2049.6427%2012.8813H49.1342L51.0766%208.02372H51.741L53.6833%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M56.3359%2012.8813H55.6783V8.02372H56.3359V12.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M62.6395%2012.8813H61.9886C61.9389%2012.8813%2061.8994%2012.8689%2061.87%2012.8441C61.8429%2012.8169%2061.8203%2012.7876%2061.8022%2012.7559L60.5005%2010.7152C60.4824%2010.7695%2060.4621%2010.8158%2060.4395%2010.8542L59.1717%2012.7559C59.1491%2012.7876%2059.1242%2012.8169%2059.0971%2012.8441C59.0723%2012.8689%2059.0372%2012.8813%2058.992%2012.8813H58.3819L60.053%2010.3864L58.4497%208.02372H59.1039C59.1514%208.02372%2059.1864%208.03163%2059.209%208.04745C59.2316%208.06327%2059.2519%208.08587%2059.27%208.11525L60.5378%2010.061C60.5536%2010.0136%2060.5773%209.96157%2060.609%209.90508L61.8056%208.1288C61.8237%208.09717%2061.8451%208.07231%2061.87%208.05423C61.8949%208.03389%2061.9242%208.02372%2061.9581%208.02372H62.5853L60.9751%2010.3559L62.6395%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M67.2728%2011.078L66.5101%209.10169C66.4875%209.04293%2066.4638%208.97513%2066.4389%208.8983C66.414%208.8192%2066.3903%208.73558%2066.3677%208.64745C66.3203%208.8305%2066.2717%208.98304%2066.222%209.10508L65.4592%2011.078H67.2728ZM68.6423%2012.8813H68.1338C68.0751%2012.8813%2068.0276%2012.8667%2067.9914%2012.8373C67.9553%2012.8079%2067.9282%2012.7706%2067.9101%2012.7254L67.4559%2011.5525H65.2762L64.822%2012.7254C64.8084%2012.7661%2064.7824%2012.8023%2064.744%2012.8339C64.7056%2012.8655%2064.6581%2012.8813%2064.6016%2012.8813H64.0931L66.0355%208.02372H66.6999L68.6423%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M71.983%2010.3763C72.1729%2010.3763%2072.3401%2010.3537%2072.4847%2010.3085C72.6316%2010.261%2072.7536%2010.1955%2072.8508%2010.1119C72.9503%2010.026%2073.0248%209.92429%2073.0746%209.80677C73.1243%209.68926%2073.1491%209.55931%2073.1491%209.41694C73.1491%209.12767%2073.0542%208.9096%2072.8644%208.7627C72.6746%208.61581%2072.3898%208.54236%2072.0101%208.54236H71.2915V10.3763H71.983ZM74.2271%2012.8813H73.644C73.5243%2012.8813%2073.4361%2012.835%2073.3796%2012.7424L72.1186%2011.0068C72.0802%2010.9525%2072.0384%2010.9141%2071.9932%2010.8915C71.9503%2010.8667%2071.8825%2010.8542%2071.7898%2010.8542H71.2915V12.8813H70.6373V8.02372H72.0101C72.3175%208.02372%2072.583%208.05536%2072.8068%208.11864C73.0305%208.17965%2073.2147%208.26892%2073.3593%208.38643C73.5062%208.50395%2073.6147%208.64632%2073.6847%208.81355C73.7548%208.97852%2073.7898%209.16383%2073.7898%209.36948C73.7898%209.54123%2073.7627%209.70169%2073.7084%209.85084C73.6542%209.99999%2073.5751%2010.1345%2073.4712%2010.2542C73.3695%2010.3717%2073.244%2010.4723
156%2073.0949%2010.5559C72.948%2010.6395%2072.7808%2010.7028%2072.5932%2010.7458C72.6768%2010.7932%2072.7491%2010.8621%2072.8101%2010.9525L74.2271%2012.8813Z'%20fill='%2317171A'/%3e%3cpath%20d='M83.2699%208.02372V12.8813H82.9411C82.8891%2012.8813%2082.845%2012.8723%2082.8089%2012.8542C82.775%2012.8361%2082.7411%2012.8056%2082.7072%2012.7627L79.897%209.10169C79.9015%209.15818%2079.9049%209.21355%2079.9072%209.26779C79.9094%209.32202%2079.9106%209.37287%2079.9106%209.42033V12.8813H79.3343V8.02372H79.6733C79.7027%208.02372%2079.7275%208.02598%2079.7479%208.0305C79.7682%208.03276%2079.7863%208.03841%2079.8021%208.04745C79.8179%208.05423%2079.8337%208.06553%2079.8495%208.08135C79.8654%208.09491%2079.8823%208.11299%2079.9004%208.13558L82.7106%2011.7932C82.706%2011.7345%2082.7015%2011.678%2082.697%2011.6237C82.6947%2011.5672%2082.6936%2011.5141%2082.6936%2011.4644V8.02372H83.2699Z'%20fill='%2317171A'/%3e%3cpath%20d='M90.3558%2010.4542C90.3558%2010.8181%2090.2982%2011.1525%2090.1829%2011.4576C90.0677%2011.7604%2089.9049%2012.0215%2089.6948%2012.2407C89.4846%2012.4599%2089.2315%2012.6305%2088.9355%2012.7525C88.6417%2012.8723%2088.3162%2012.9322%2087.9592%2012.9322C87.6021%2012.9322%2087.2767%2012.8723%2086.9829%2012.7525C86.6891%2012.6305%2086.4372%2012.4599%2086.227%2012.2407C86.0168%2012.0215%2085.8541%2011.7604%2085.7389%2011.4576C85.6236%2011.1525%2085.566%2010.8181%2085.566%2010.4542C85.566%2010.0904%2085.6236%209.75705%2085.7389%209.45423C85.8541%209.14914%2086.0168%208.887%2086.227%208.66779C86.4372%208.44632%2086.6891%208.27457%2086.9829%208.15253C87.2767%208.0305%2087.6021%207.96948%2087.9592%207.96948C88.3162%207.96948%2088.6417%208.0305%2088.9355%208.15253C89.2315%208.27457%2089.4846%208.44632%2089.6948%208.66779C89.9049%208.887%2090.0677%209.14914%2090.1829%209.45423C90.2982%209.75705%2090.3558%2010.0904%2090.3558%2010.4542ZM89.6812%2010.4542C89.6812%2010.1559%2089.6405%209.88813%2089.5592%209.65084C89.4778%209.41355%2089.3626%209.21355%2089.2134%209.05084C89.0643%208.88587%2088.8835%208.75931%2088.6711%208.67118C88.4586%208.58304%2088.2213%208.53897%2087.9592%208.53897C87.6993%208.53897%2087.4631%208.58304%2087.2507%208.67118C87.0383%208.75931%2086.8564%208.88587%2086.705%209.05084C86.5558%209.21355%2086.4405%209.41355%2086.3592%209.65084C86.2778%209.88813%2086.2372%2010.1559%2086.2372%2010.4542C86.2372%2010.7525%2086.2778%2011.0203%2086.3592%2011.2576C86.4405%2011.4926%2086.5558%2011.6926%2086.705%2011.8576C86.8564%2012.0203%2087.0383%2012.1458%2087.2507%2012.2339C87.4631%2012.3198%2087.6993%2012.3627%2087.9592%2012.3627C88.2213%2012.3627%2088.4586%2012.3198%2088.6711%2012.2339C88.8835%2012.1458%2089.0643%2012.0203%2089.2134%2011.8576C89.3626%2011.6926%2089.4778%2011.4926%2089.5592%2011.2576C89.6405%2011.0203%2089.6812%2010.7525%2089.6812%2010.4542Z'%20fill='%2317171A'/%3e%3c/svg%3e",alt:"Google Play",className:"w-[135px]"})})]})]})]}),$.jsx(ti,{className:"bg-gray-300 my-8x"}),$.jsxs("div",{className:"flex flex-col lg:flex-row items-center lg:justify-between gap-4 text-center lg:text-left",children:[$.jsxs("div",{className:"flex flex-col items-center lg:flex-row lg:items-center gap-2 text-xxs",children:[u?.legalName&&u?.cnpj&&$.jsxs("span",{children:[u.legalName," - CNPJ: ",u.cnpj]}),$.jsx("span",{children:e("Footer.allRightsReserved",{name:d})})]}),$.jsxs("div",{className:"flex flex-col items-center lg:flex-row gap-4x",children:[$.jsxs("div",{className:"flex items-center gap-4",children:[$.jsx(IT,{label:e("Footer.termsAndPolicies"),url:"https://zig-fun.zendesk.com/hc/pt-br/categories/38431945604635-Pol%C3%ADticas-e-termos",target:"_blank",classNames:"underline"}),$.jsx(IT,{label:e("Footer.faq"),url:"https://zig-fun.zendesk.com/hc/pt-br",target:"_blank",classNames:"underline"})]}),$.jsxs("div",{className:"flex items-center gap-3",children:[u?.socialMedia?.instagram&&$.jsx("a",{href:u.socialMedia.instagram,target:"_blank",rel:"noreferrer","aria-label":"instagram link",children:$.jsx(IL,{})}),u?.socialMedia?.linkedin&&$.jsx("a",{href:u.socialMedia.linkedin,target:"_blank",rel:"noreferrer","aria-label":"linkedin link",children:$.jsx(IA,{})})]})]})]})]})}):$.jsx("footer",{id:"footer",className:"border-t border-r-0 border-l-0 border-b-0 border-gray-300 border-solid w-full p-6x mt-20x",style:{backgroundColor:"var(--color-whitelabel-footer, #FFF)",color:"var(--color-whitelabel-footer-text, #171719)"},children:$.jsxs("div",{className:"max-w-[1136px] mx-auto my-0",children:[$.jsx("div",{className:"flex items-center justify-between",children:$.jsx("img",{src:l,alt:s,className:"max-w-[200px]"},l)}),$.jsx(ti,{className:"bg-gray-300 mt-12x mb-6x"}),$.jsxs("div",{className:"flex flex-col lg:flex-row lg:justify-between",children:[$.jsx("div",{className:"flex flex-row items-start justify-between flex-wrap gap-6x",children:c.map(t=>{let n=t.links.filter(e=>!!e.htmlLink).map(e=>({...e,slug:function(e){if(!e)return null;
156let t=e.split("/").filter(Boolean);return t.length>0?t[t.length-1]:null}(e.url)})).filter(e=>!!e.slug);return 0===n.length?null:$.jsxs("div",{children:[$.jsx("h4",{className:"text-xs font-semibold font-brand mb-4",style:{color:"inherit"},children:e(t.titleKey)}),$.jsx("ul",{children:n.map(t=>$.jsx("li",{children:$.jsx(IT,{label:e(t.labelKey),url:`/paginas/${t.slug}`,target:t.target??"_self"})},t.labelKey))})]},t.titleKey)})}),$.jsx(ti,{className:"my-8 lg:hidden"})]}),$.jsx(ti,{className:"my-8"}),$.jsxs("div",{className:"flex flex-wrap content-center xs:justify-center md:justify-between xs:flex-col md:flex-row",children:[$.jsxs("div",{className:"flex content-start justify-start flex-col xs:text-center md:text-start",children:[u?.legalName&&u?.cnpj&&$.jsxs("span",{className:"text-xxs",style:{color:"inherit"},children:[u.legalName," - CNPJ: ",u.cnpj]}),$.jsx("span",{className:"text-xxs",style:{color:"inherit"},children:u?.copyright||e("Footer.allRightsReserved",{name:d})}),u?.privacyText&&u?.cookieText?$.jsxs($.Fragment,{children:[$.jsx("span",{className:"text-xxs font-bold",style:{color:"inherit"},children:u.privacyText}),$.jsx("span",{className:"text-xxs",style:{color:"inherit"},children:u.cookieText})]}):!u?.copyright&&$.jsxs($.Fragment,{children:[$.jsx("span",{className:"text-xxs font-bold",style:{color:"inherit"},children:e("Footer.privacyTitle")}),$.jsxs("span",{className:"text-xxs",style:{color:"inherit"},children:[e("Footer.cookieUsage")," ",e("Footer.cookiePolicy")," ",e("Footer.and")," ",e("Footer.privacyPolicy"),"."]})]})]}),$.jsxs("div",{className:"xs:flex xs:content-center xs:justify-center xs:pt-4",children:[u?.socialMedia?.instagram&&$.jsx("a",{href:u?.socialMedia?.instagram,target:"_blank",rel:"noreferrer","aria-label":"instagram link",className:"mr-[3px] ml-[3px]",children:$.jsx(IL,{})}),u?.socialMedia?.linkedin&&$.jsx("a",{href:u?.socialMedia?.linkedin,target:"_blank",rel:"noreferrer","aria-label":"linkedin link",className:"mr-[3px] ml-[3px]",children:$.jsx(IA,{})})]})]})]})})}function IN(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function IF(e,t){let n=Object.keys(e),o=Object.keys(t);return n.length===o.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let o=e[n],i=t[n];return"function"==typeof o?`${o}`==`${i}`:IN(o)&&IN(i)?IF(o,i):o===i})}function IR(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function I$(e){return"number"==typeof e}function ID(e){return"string"==typeof e}function Iz(e){return"boolean"==typeof e}function II(e){return"[object Object]"===Object.prototype.toString.call(e)}function IH(e){return Math.abs(e)}function IB(e){return Math.sign(e)}function IW(e){return IG(e).map(Number)}function IV(e){return e[IU(e)]}function IU(e){return Math.max(0,e.length-1)}function Iq(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function IG(e){return Object.keys(e)}function IY(e,t){return"u">typeof t.MouseEvent&&e instanceof t.MouseEvent}function IZ(){let e=[],t={add:function(n,o,i,l={passive:!0}){let s;return"addEventListener"in n?(n.addEventListener(o,i,l),s=()=>n.removeEventListener(o,i,l)):(n.addListener(i),s=()=>n.removeListener(i)),e.push(s),t},clear:function(){e=e.filter(e=>e())}};return t}function IK(e=0,t=0){let n=IH(e-t);function o(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return o(n)?n<e?e:t:n},reachedAny:o,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function IQ(e){let t=e;function n(e){return I$(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function IX(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},o=t.style,i=!1;return{clear:function(){i||(o.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){i||(o.transform=n(e.direction(t)))},toggleActive:function(e){i=!e}}}let IJ={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0};function I1(e,t,n){let o;let i=e.ownerDocument,l=i.defaultView,s=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>
156(IG(n).forEach(o=>{let i=t[o],l=n[o],s=II(i)&&II(l);t[o]=s?e(i,l):l}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let o=n.breakpoints||{},i=IG(o).filter(t=>e.matchMedia(t).matches).map(e=>o[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>IG(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(l),u=(o=[],{init:function(e,t){return(o=t.filter(({options:e})=>!1!==s.optionsAtMedia(e).active)).forEach(t=>t.init(e,s)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){o=o.filter(e=>e.destroy())}}),c=IZ(),d=function(){let e={},t,n={init:function(e){t=e},emit:function(o){return(e[o]||[]).forEach(e=>e(t,o)),n},off:function(t,o){return e[t]=(e[t]||[]).filter(e=>e!==o),n},on:function(t,o){return e[t]=(e[t]||[]).concat([o]),n},clear:function(){e={}}};return n}(),{mergeOptions:f,optionsAtMedia:h,optionsMediaQueries:p}=s,{on:m,off:g,emit:v}=d,y=!1,b,w=f(IJ,I1.globalOptions),x=f(w),E=[],C,k,M;function _(t,n){y||(x=h(w=f(w,t)),E=n||E,function(){let{container:t,slides:n}=x;k=(ID(t)?e.querySelector(t):t)||e.children[0];let o=ID(n)?k.querySelectorAll(n):n;M=[].slice.call(o||k.children)}(),b=function t(n){let o=function(e,t,n,o,i,l,s){let u,c;let{align:d,axis:f,direction:h,startIndex:p,loop:m,duration:g,dragFree:v,dragThreshold:y,inViewThreshold:b,slidesToScroll:w,skipSnaps:x,containScroll:E,watchResize:C,watchSlides:k,watchDrag:M}=l,_={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:o,offsetHeight:i}=e;return{top:t,right:n+o,bottom:t+i,left:n,width:o,height:i}}},S=_.measure(t),j=n.map(_.measure),O=function(e,t){let n="rtl"===t,o="y"===e,i=!o&&n?-1:1;return{scroll:o?"y":"x",cross:o?"x":"y",startEdge:o?"top":n?"right":"left",endEdge:o?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return o?t:n},direction:function(e){return e*i}}}(f,h),L=O.measureSize(S),A={measure:function(e){return e/100*L}},T=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(o,i){return ID(e)?n[e](o):e(t,o,i)}}}(d,L),P=!m&&!!E,{slideSizes:N,slideSizesWithGaps:F,startGap:R,endGap:$}=function(e,t,n,o,i,l){let{measureSize:s,startEdge:u,endEdge:c}=e,d=n[0]&&i,f=function(){if(!d)return 0;let e=n[0];return IH(t[u]-e[u])}(),h=d?parseFloat(l.getComputedStyle(IV(o)).getPropertyValue(`margin-${c}`)):0,p=n.map(s),m=n.map((e,t,n)=>{let o=t===IU(n);return t?o?p[t]+h:n[t+1][u]-e[u]:p[t]+f}).map(IH);return{slideSizes:p,slideSizesWithGaps:m,startGap:f,endGap:h}}(O,S,j,n,m||!!E,i),D=function(e,t,n,o,i,l,s,u,c){let{startEdge:d,endEdge:f,direction:h}=e,p=I$(n);return{groupSlides:function(e){return p?IW(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?IW(e).reduce((n,c,p)=>{let m=IV(n)||0,g=c===IU(e),v=i[d]-l[m][d],y=i[d]-l[c][f],b=o||0!==m?0:h(s),w=IH(y-(!o&&g?h(u):0)-(v+b));return p&&w>t+2&&n.push(c),g&&n.push(e.length),n},[]).map((t,n,o)=>{let i=Math.max(o[n-1]||0);return e.slice(i,t)}):[]}}}(O,L,w,m,S,j,R,$,0),{snaps:z,snapsAligned:I}=function(e,t,n,o,i){let{startEdge:l,endEdge:s}=e,{groupSlides:u}=i,c=u(o).map(e=>IV(e)[s]-e[0][l]).map(IH).map(t.measure),d=o.map(e=>n[l]-e[l]).map(e=>-IH(e)),f=u(d).map(e=>e[0]).map((e,t)=>e+c[t]);return{snaps:d,snapsAligned:f}}(O,T,S,j,D),H=-IV(z)+IV(F),{snapsContained:B,scrollContainLimit:W}=function(e,t,n,o,i){let l=IK(-t+e,0),s=n.map((e,t)=>{let{min:o,max:i}=l,s=l.constrain(e),u=t===IU(n);return t?u||1>IH(o-s)?o:1>IH(i-s)?i:s:i}).map(e=>parseFloat(e.toFixed(3))),u=function(){let e=s[0],t=IV(s);return IK(s.lastIndexOf(e),s.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[l.max];if("keepSnaps"===o)return s;let{min:n,max:i}=u;return s.slice(n,i)}(),scrollContainLimit:u}}(L,H,I,E,0),U=P?B:I,{limit:q}=function(e,t,n){let o=t[0];return{limit:IK(n?o-e:IV(t),o)}}(H,U,m),G=function e(t,n,o){let{constrain:i}=IK(0,t),l=t+1,s=u(n);function u(e){return o?IH((l+e)%l):i(e)}function c(){return e(t,s,o)}let d={get:function(){return s},set:function(e){return s=u(e),d},add:function(e){return c().set(s+e)},clone:c};return d}(IU(U),p,m),Y=G.clone(),Z=IW(n),K=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:o}},i)=>{o||n.constrain(e.pointerDown()),t.seek(i)},Q=({scrollBody:e,translate:t,location:n,offsetLocation:o,scrollLooper:i,slideLooper:l,dragHandler:s,animation:u,eventHandler:c,scrollBounds:d,options:{loop:f}},h)=>{let p=e.settled(),m=!d.shouldConstrain(),g=f?p:p&&m;g&&!s.pointerDown()&&(u.stop(),c.emit("settle")),g||c.emit("scroll");let v=n.get()*h+et.get()*(1-h);o.set(v),f&&(i.loop(e.direction()),l.loop()),t.to(o.get())},X=function(e,t,n,o){let i=IZ(),l=1e3/60,s=null,u=0,c=0;function d(e){if(!c)return;s||(s=e);let i=e-s;for(s=e,u+=i;u>=l;)n(l),u-=l;o(u/l),c&&t.requestAnimationFrame(d)}function f(){t.cancelAnimationFrame(c),s=null,u=0,c=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(s=null,u=0)})},destroy:function(){f(),i.clear()},start:function(){c||(c=t.requestAnimationFrame(d))},stop:f,update:()=>n(l),render:o}}(o,i,e=>K(ef,e),e=>Q(ef,e)),J=U[G.get()],ee=IQ(J),et=IQ(J),er=IQ(J),en=IQ(J),ea=function(e,t,n,o,i,l){let s=0,u=0,c=i,d=.68,f=e.get(),h=0;function p(e){return c=e,g}function m(e){return d=e,g}let g={direction:function(){return u},duration:function(){return c},velocity:function(){return s},seek:function(t){let i=t/1e3,l=c*i,p=o.get()-e.get(),m=0;return c?(n.set(e),s+=p/l,s*=d,f+=s,e.add(s*i),m=f-h):(s=0,n.set(o),e.set(o),m=p),u=IB(m),h=f,g},settled:function(){return .001>IH(o.get()-t.get())},useBaseFriction:function(){return m(.68)},useBaseDuration:function(){return p(i)},useFriction:m,useDuration:p};return g}(ee,er,et,en,g,0),eo=function(e,t,n,o,i){let{reachedAny:l,removeOffset:s,constrain:u}=o;function c(e){return e.concat().sort((e,t)=>
156IH(e)-IH(t))[0]}function d(t,o){let i=[t,t+n,t-n];if(!e)return t;if(!o)return c(i);let l=i.filter(e=>IB(e)===o);return l.length?c(l):IV(i)-n}return{byDistance:function(n,o){let c=i.get()+n,{index:f,distance:h}=function(n){let o=e?s(n):u(n),{index:i}=t.map((e,t)=>({diff:d(e-o,0),index:t})).sort((e,t)=>IH(e.diff)-IH(t.diff))[0];return{index:i,distance:o}}(c),p=!e&&l(c);if(!o||p)return{index:f,distance:n};let m=n+d(t[f]-h,0);return{index:f,distance:m}},byIndex:function(e,n){let o=d(t[e]-i.get(),n);return{index:e,distance:o}},shortcut:d}}(m,U,H,q,en),ei=function(e,t,n,o,i,l,s){function u(i){let u=i.distance,c=i.index!==t.get();l.add(u),u&&(o.duration()?e.start():(e.update(),e.render(1),e.update())),c&&(n.set(t.get()),t.set(i.index),s.emit("select"))}return{distance:function(e,t){u(i.byDistance(e,t))},index:function(e,n){let o=t.clone().set(e);u(i.byIndex(o.get(),n))}}}(X,G,Y,ea,eo,en,s),el=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(q),es=IZ(),eu=function(e,t,n,o){let i={},l=null,s=null,u,c=!1;return{init:function(){u=new IntersectionObserver(e=>{c||(e.forEach(e=>{i[t.indexOf(e.target)]=e}),l=null,s=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:o}),t.forEach(e=>u.observe(e))},destroy:function(){u&&u.disconnect(),c=!0},get:function(e=!0){if(e&&l)return l;if(!e&&s)return s;let t=IG(i).reduce((t,n)=>{let o=parseInt(n),{isIntersecting:l}=i[o];return(e&&l||!e&&!l)&&t.push(o),t},[]);return e&&(l=t),e||(s=t),t}}}(t,n,s,b),{slideRegistry:ec}=function(e,t,n,o,i,l){let{groupSlides:s}=i,{min:u,max:c}=o;return{slideRegistry:function(){let o=s(l);return 1===n.length?[l]:e&&"keepSnaps"!==t?o.slice(u,c).map((e,t,n)=>{let o=t===IU(n);return t?o?Iq(IU(l)-IV(n)[0]+1,IV(n)[0]):e:Iq(IV(n[0])+1)}):o}()}}(P,E,U,W,D,Z),ed=function(e,t,n,o,i,l,s){let u=0;function c(e){"Tab"===e.code&&(u=new Date().getTime())}
156function d(c){l.add(c,"focus",()=>{if(new Date().getTime()-u>10)return;e.scrollLeft=0;let l=t.indexOf(c),d=n.findIndex(e=>e.includes(l));I$(d)&&(i.useDuration(0),o.index(d,0),s.emit("slideFocus"))},{passive:!0,capture:!0})}return{init:function(){l.add(document,"keydown",c,!1),t.forEach(d)}}}(e,n,ec,ei,ea,es,s),ef={ownerDocument:o,ownerWindow:i,eventHandler:s,containerRect:S,slideRects:j,animation:X,axis:O,dragHandler:function(e,t,n,o,i,l,s,u,c,d,f,h,p,m,g,v,y,b,w){let{cross:x,direction:E}=e,C=["INPUT","SELECT","TEXTAREA"],k={passive:!1},M=IZ(),_=IZ(),S=IK(50,225).constrain(m.measure(20)),j={mouse:300,touch:400},O={mouse:500,touch:600},L=g?43:25,A=!1,T=0,P=0,N=!1,F=!1,R=!1,$=!1;function D(e){if(!IY(e,o)&&e.touches.length>=2)return z(e);let t=l.readPoint(e),n=l.readPoint(e,x),s=IH(t-T),c=IH(n-P);if(!F&&!$&&(!e.cancelable||!(F=s>c)))return z(e);let f=l.pointerMove(e);s>v&&(R=!0),d.useFriction(.3).useDuration(.75),u.start(),i.add(E(f)),e.preventDefault()}function z(e){let t=f.byDistance(0,!1).index!==h.get(),n=l.pointerUp(e)*(g?O:j)[$?"mouse":"touch"],o=function(e,t){let n=h.add(-1*IB(e)),o=f.byDistance(e,!g).distance;return g||IH(e)<S?o:y&&t?.5*o:f.byIndex(n.get(),0).distance}(E(n),t),i=function(e,t){var n,o;if(0===e||0===t||IH(e)<=IH(t))return 0;let i=(n=IH(e),o=IH(t),IH(n-o));return IH(i/e)}(n,o);F=!1,N=!1,_.clear(),d.useDuration(L-10*i).useFriction(.68+i/50),c.distance(o,!g),$=!1,p.emit("pointerUp")}function I(e){R&&(e.stopPropagation(),e.preventDefault(),R=!1)}return{init:function(e){w&&M.add(t,"dragstart",e=>e.preventDefault(),k).add(t,"touchmove",()=>{},k).add(t,"touchend",()=>{}).add(t,"touchstart",u).add(t,"mousedown",u).add(t,"touchcancel",z).add(t,"contextmenu",z).add(t,"click",I,!0);function u(u){(Iz(w)||w(e,u))&&function(e){let u=IY(e,o);$=u,R=g&&u&&!e.buttons&&A,A=IH(i.get()-s.get())>=2,!(u&&0!==e.button)&&(function(e){let t=e.nodeName||"";return C.includes(t)}(e.target)||(N=!0,l.pointerDown(e),d.useFriction(0).useDuration(0),i.set(s),function(){let e=$?n:t;_.add(e,"touchmove",D,k).add(e,"touchend",z).add(e,"mousemove",D,k).add(e,"mouseup",z)}(),T=l.readPoint(e),P=l.readPoint(e,x),p.emit("pointerDown")))}(u)}},destroy:function(){M.clear(),_.clear()},pointerDown:function(){return N}}}(O,e,o,i,en,function(e,t){let n,o;function i(e){return e.timeStamp}function l(n,o){let i=`client${"x"===(o||e.scroll)?"X":"Y"}`;return(IY(n,t)?n:n.touches[0])[i]}return{pointerDown:function(e){return n=e,o=e,l(e)},pointerMove:function(e){let t=l(e)-l(o),s=i(e)-i(n)>170;return o=e,s&&(n=e),t},pointerUp:function(e){if(!n||!o)return 0;let t=l(o)-l(n),s=i(e)-i(n),u=i(e)-i(o)>170,c=t/s;return s&&!u&&IH(c)>.1?c:0},readPoint:l}}(O,i),ee,X,ei,ea,eo,G,s,A,v,y,x,0,M),eventStore:es,percentOfView:A,index:G,indexPrevious:Y,limit:q,location:ee,offsetLocation:er,previousLocation:et,options:l,resizeHandler:function(e,t,n,o,i,l,s){let u=[e].concat(o),c,d,f=[],h=!1;function p(e){return i.measureSize(s.measure(e))}return{init:function(i){l&&(d=p(e),f=o.map(p),c=new ResizeObserver(n=>{(Iz(l)||l(i,n))&&function(n){for(let l of n){if(h)return;let n=l.target===e,s=o.indexOf(l.target),u=n?d:f[s];if(IH(p(n?e:o[s])-u)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{u.forEach(e=>c.observe(e))}))},destroy:function(){h=!0,c&&c.disconnect()}}}(t,s,i,n,O,C,_),scrollBody:ea,scrollBounds:function(e,t,n,o,i){let l=i.measure(10),s=i.measure(50),u=IK(.1,.99),c=!1;function d(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}return{shouldConstrain:d,constrain:function(i){if(!d())return;let c=e.reachedMin(t.get())?"min":"max",f=IH(e[c]-t.get()),h=n.get()-t.get(),p=u.constrain(f/s);n.subtract(h*p),!i&&IH(h)<l&&(n.set(e.constrain(n.get())),o.useDuration(25).useBaseFriction())},toggleActive:function(e){c=!e}}}(q,er,en,ea,A),scrollLooper:function(e,t,n,o){let{reachedMin:i,reachedMax:l}=IK(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?l(n.get()):-1===t&&i(n.get())))return;let s=-1*t*e;o.forEach(e=>e.add(s))}}}(H,q,er,[ee,er,et,en]),scrollProgress:el,scrollSnapList:U.map(el.get),scrollSnaps:U,scrollTarget:eo,scrollTo:ei,slideLooper:function(e,t,n,o,i,l,s,u,c){let d=IW(i),f=m(p(IW(i).reverse(),s[0]),n,!1).concat(m(p(d,t-s[0]-1),-n,!0));function h(e,t){return e.reduce((e,t)=>
156e-i[t],t)}function p(e,t){return e.reduce((e,n)=>h(e,t)>0?e.concat([n]):e,[])}function m(i,s,d){let f=l.map((e,n)=>({start:e-o[n]+.5+s,end:e+t-.5+s}));return i.map(t=>{let o=d?0:-n,i=d?n:0,l=f[t][d?"end":"start"];return{index:t,loopPoint:l,slideLocation:IQ(-1),translate:IX(e,c[t]),target:()=>u.get()>l?o:i}})}return{canLoop:function(){return f.every(({index:e})=>.1>=h(d.filter(t=>t!==e),t))},clear:function(){f.forEach(e=>e.translate.clear())},loop:function(){f.forEach(e=>{let{target:t,translate:n,slideLocation:o}=e,i=t();i!==o.get()&&(n.to(i),o.set(i))})},loopPoints:f}}(O,L,H,N,F,z,U,er,n),slideFocus:ed,slidesHandler:(c=!1,{init:function(e){k&&(u=new MutationObserver(t=>{c||(Iz(k)||k(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),s.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){u&&u.disconnect(),c=!0}}),slidesInView:eu,slideIndexes:Z,slideRegistry:ec,slidesToScroll:D,target:en,translate:IX(O,t)};return ef}(e,k,M,i,l,n,d);return n.loop&&!o.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):o}(x),p([w,...E.map(({options:e})=>e)]).forEach(e=>c.add(e,"change",S)),x.active&&(b.translate.to(b.location.get()),b.animation.init(),b.slidesInView.init(),b.slideFocus.init(),b.eventHandler.init(A),b.resizeHandler.init(A),b.slidesHandler.init(A),b.options.loop&&b.slideLooper.loop(),k.offsetParent&&M.length&&b.dragHandler.init(A),C=u.init(A,E)))}function S(e,t){let n=L();j(),_(f({startIndex:n},e),t),d.emit("reInit")}function j(){b.dragHandler.destroy(),b.eventStore.clear(),b.translate.clear(),b.slideLooper.clear(),b.resizeHandler.destroy(),b.slidesHandler.destroy(),b.slidesInView.destroy(),b.animation.destroy(),u.destroy(),c.clear()}function O(e,t,n){!x.active||y||(b.scrollBody.useBaseFriction().useDuration(!0===t?0:x.duration),b.scrollTo.index(e,n||0))}function L(){return b.index.get()}let A={canScrollNext:function(){return b.index.add(1).get()!==L()},canScrollPrev:function(){return b.index.add(-1).get()!==L()},containerNode:function(){return k},internalEngine:function(){return b},destroy:function(){y||(y=!0,c.clear(),j(),d.emit("destroy"),d.clear())},off:g,on:m,emit:v,plugins:function(){return C},previousScrollSnap:function(){return b.indexPrevious.get()},reInit:S,rootNode:function(){return e},scrollNext:function(e){O(b.index.add(1).get(),e,-1)},scrollPrev:function(e){O(b.index.add(-1).get(),e,1)},scrollProgress:function(){return b.scrollProgress.get(b.location.get())},scrollSnapList:function(){return b.scrollSnapList},scrollTo:O,selectedScrollSnap:L,slideNodes:function(){return M},slidesInView:function(){return b.slidesInView.get()},slidesNotInView:function(){return b.slidesInView.get(!1)}};return _(t,n),setTimeout(()=>d.emit("init"),0),A}function I0(e={},t=[]){let n=(0,M.useRef)(e),o=(0,M.useRef)(t),[i,l]=(0,M.useState)(),[s,u]=(0,M.useState)(),c=(0,M.useCallback)(()=>{i&&i.reInit(n.current,o.current)},[i]);return(0,M.useEffect)(()=>{if("u">typeof window&&window.document&&window.document.createElement&&s){I1.globalOptions=I0.globalOptions;let e=I1(s,n.current,o.current);return l(e),()=>e.destroy()}l(void 0)},[s,l]),(0,M.useEffect)(()=>{IF(n.current,e)||(n.current=e,c())},[e,c]),(0,M.useEffect)(()=>{(function(e,t){if(e.length!==t.length)return!1;let n=IR(e),o=IR(t);return n.every((e,t)=>IF(e,o[t]))})(o.current,t)||(o.current=t,c())},[t,c]),[u,i]}I1.globalOptions=void 0,I0.globalOptions=void 0;let I2=(0,M.createContext)(null);function I3(){let e=(0,M.useContext)(I2);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let I5=(0,M.forwardRef)(({orientation:e="horizontal",opts:t,setApi:n,plugins:o,className:i,children:l,showIndicators:s=!1,...u},c)=>{let[d,f]=I0({...t,axis:"horizontal"===e?"x":"y"},o),[h,p]=(0,M.useState)(!1),[m,g]=(0,M.useState)(!1),[v,y]=(0,M.useState)(0),[b,w]=(0,M.useState)(0),x=(0,M.useCallback)(e=>{e&&(p(e.canScrollPrev()),g(e.canScrollNext()),y(e.selectedScrollSnap()))},[]),E=(0,M.useCallback)(()=>{f?.scrollPrev()},[f]),C=(0,M.useCallback)(()=>{f?.scrollNext()},[f]),k=(0,M.useCallback)(e=>{"ArrowLeft"===e.key?(e.preventDefault(),E()):"ArrowRight"===e.key&&(e.preventDefault(),C())},[E,C]);(0,M.useEffect)(()=>{f&&n&&n(f)},[f,n]),(0,M.useEffect)(()=>
156{if(f)return w(f.scrollSnapList().length),x(f),f.on("reInit",x),f.on("select",x),()=>{f.off("select",x)}},[f,x]);let _=(0,M.useMemo)(()=>({carouselRef:d,api:f,opts:t,orientation:e||(t?.axis==="y"?"vertical":"horizontal"),scrollPrev:E,scrollNext:C,canScrollPrev:h,canScrollNext:m}),[d,f,t,e,E,C,h,m]);return $.jsx(I2.Provider,{value:_,children:$.jsxs("div",{ref:c,onKeyDownCapture:k,className:e8("relative",i),role:"region","aria-roledescription":"carousel",...u,children:[l,s&&f&&b>1&&$.jsx("div",{className:"mt-4 flex justify-center gap-2",children:f.scrollSnapList().map((e,t)=>$.jsx("button",{type:"button",onClick:()=>f?.scrollTo(t),"aria-label":`Go to slide ${t+1}`,className:e8("h-2 w-2 rounded-full transition-all",t===v?"bg-primary-pure scale-110":"bg-grey-300 hover:bg-grey-400")},e))})]})})});I5.displayName="Carousel",I5.defaultProps={orientation:"horizontal",opts:void 0,setApi:void 0,plugins:void 0,showIndicators:!1};let I4=(0,M.forwardRef)(({className:e,...t},n)=>{let{carouselRef:o,orientation:i}=I3();return $.jsx("div",{ref:o,className:"overflow-hidden",children:$.jsx("div",{ref:n,className:e8("flex","vertical"===i&&"-mt-4 flex-col",e),...t})})});I4.displayName="CarouselContent";let I6=(0,M.forwardRef)(({className:e,...t},n)=>{let{orientation:o}=I3();return $.jsx("div",{ref:n,role:"group","aria-roledescription":"slide",className:e8("min-w-0 shrink-0 grow-1 basis-full","horizontal"===o?"pl-4":"pt-4",e),...t})});I6.displayName="CarouselItem";let I7=(0,M.forwardRef)(({className:e,...t},n)=>{let{orientation:o,scrollPrev:i,canScrollPrev:l}=I3();return $.jsxs("button",{ref:n,type:"button",className:e8("absolute h-8 w-8 rounded-full","horizontal"===o?"left-0 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:i,...t,children:[$.jsx(uc,{className:"stroke-white",size:48}),$.jsx("span",{className:"sr-only",children:"Previous slide"})]})});I7.displayName="CarouselPrevious";let I8=(0,M.forwardRef)(({className:e,...t},n)=>{let{orientation:o,scrollNext:i,canScrollNext:l}=I3();return $.jsxs("button",{ref:n,type:"button",className:e8("absolute h-8 w-8 rounded-full","horizontal"===o?"right-0 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e),disabled:!l,onClick:i,...t,children:[$.jsx(ud,{className:"stroke-white",size:48}),$.jsx("span",{className:"sr-only",children:"Next slide"})]})});function I9(){return $.jsx("div",{className:"inline-block h-16 w-16 animate-spin rounded-full border-4 border-solid border-current border-e-transparent align-[-0.125em] text-surface text-grey-900",role:"status",children:$.jsx("span",{className:"sr-only",children:"Carregando"})})}function He({count:e,children:t,hasError:n=!1}){return $.jsxs("div",{className:"relative inline-block",children:[t,void 0!==e&&e>0&&$.jsx("div",{className:e8("absolute flex items-center justify-center rounded-full text-[12px] font-bold leading-none text-center w-5 h-5 -top-2 -right-2",n?"!bg-[#F3AF00] !text-white":"bg-success-500 !text-success-800"),children:e&&e>99?"99+":e})]})}function Ht({label:e,isSelected:t}){return $.jsxs("div",{className:"w-full flex flex-col items-center",children:[$.jsx("span",{className:"uppercase text-xxs font-normal",children:e.dayOfWeek}),$.jsx("span",{className:e8("heading-xs-heavy"),style:t?{color:"var(--color-primary-light)"}:void 0,children:e.day}),$.jsx("span",{className:"uppercase text-xxs font-normal",children:e.month})]})}function Hr({label:e,isSelected:t}){return $.jsx("span",{className:e8("paragraph-sm",{"font-semibold":t}),style:t?{color:"var(--color-primary-light)"}:void 0,children:e.time})}function Hn({sessionRef:e,isSelected:t,onSelect:n,type:o,id:i,hasError:l=!1}){let s=(0,S.useFormatter)(),{sessions:u,getSelectedCount:c}=E4(),d=(0,M.useMemo)(()=>u?.find(t=>t.id===e.id),[u,e.id]),f=(0,M.useMemo)(()=>"date"===o?c({day:e.hour}):d?c({sessionId:d.id}):0,[o,e,d,c]),h=(0,M.useMemo)(()=>{let[t,n,o]=e.hour.split("-").map(Number);return new Date(Date.UTC(t,n-1,o,12,0,0))},[e.hour]),p=(0,M.useMemo)(()=>"date"===o?{dayOfWeek:s.dateTime(h,{weekday:"short"}).replace(".","").toUpperCase(),day:s.dateTime(h,{day:"2-digit"}),month:s.dateTime(h,{month:"short"}).replace(".","").toUpperCase()}:{time:e.hour},[o,s,h,e.hour]),m=(0,M.useCallback)(()=>{n(e)},[n,e]),g=e8("font-normal font-brand flex flex-col items-center justify-center flex-shrink-0 !p-3",{"border-primary-pure !bg-primary-light/20 !text-primary-light !font-bold":!l&&t,"h-24 w-16 flex-col":"date"===o,"!border-[#F3AF00] !border-2":l});return $.jsx(He,{count:f,hasError:l,children:$.jsx(tt,{onClick:m,className:g,variant:"secondary",id:i,children:"date"===o?$.jsx(Ht,{label:p,isSelected:t}):$.jsx(Hr,{label:p,isSelected:t})})})}function Ha(){let e=(0,S.useTranslations)(),{ticketDetails:t}=E4(),n=t.reduce((e,t)=>
156{let n=0;return t.tickets.forEach(e=>{n+=e.fee*e.quantity}),e+n},0),o=t.reduce((e,t)=>e+t.tickets.reduce((e,t)=>e+(t.discountValue||0),0),0);return $.jsx("div",{className:"flex flex-col gap-2",children:t.length>0&&$.jsxs("div",{className:"flex flex-col justify-start gap-3",children:[t.map(({tickets:e,date:t})=>{let[n,o]=t.split(" ");return $.jsxs("div",{className:"w-full",children:[$.jsxs("div",{className:"flex items-center",children:[$.jsx("span",{className:"label-sm",children:n}),$.jsx("span",{className:"ml-[10px] label-sm",children:o})]}),e.map(({name:e,quantity:t,total:n,discountValue:o})=>$.jsxs("div",{className:"flex justify-between text-grey-600",children:[$.jsx("span",{className:"paragraph-sm",children:`${t}x ${e}`}),$.jsx("span",{className:"paragraph-sm",children:vd(o>0?n+o:n)})]},e))]},t)}),o>0&&$.jsxs("div",{className:"flex justify-between text-green-600",children:[$.jsx("span",{className:"paragraph-sm",children:e("OrderSummaryView.discounts")}),$.jsxs("span",{className:"paragraph-sm",children:["- ",vd(o)]})]}),$.jsx("div",{className:"flex justify-between font-base paragraph-sm text-grey-600 pb-3",children:n>0&&$.jsxs($.Fragment,{children:[$.jsx("span",{children:e("TermsPolitic.serviceFee")}),$.jsx("span",{children:vd(n)})]})})]})})}function Ho(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"17",viewBox:"0 0 18 17",fill:"none",...e,children:[$.jsx("path",{d:"M5.53846 16H15.3462C15.9834 16 16.5 15.4834 16.5 14.8462V5.03846C16.5 4.40121 15.9834 3.88462 15.3462 3.88462L5.53846 3.88462C4.90121 3.88462 4.38462 4.40121 4.38462 5.03846L4.38462 14.8462C4.38462 15.4834 4.90121 16 5.53846 16Z",stroke:"var(--color-primary-light)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M1.5 12.5385V2.15385C1.5 1.84783 1.62157 1.55434 1.83795 1.33795C2.05434 1.12157 2.34783 1 2.65385 1H13.0385",stroke:"var(--color-primary-light)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Hi({onToggle:e,isMobile:t=!1,order:n,isOwner:o=!0}){let[i,l]=function(){let[e,t]=(0,M.useState)(null);return[e,(0,M.useCallback)(async e=>{if(!navigator?.clipboard)return console.warn("Clipboard not supported"),!1;try{return await navigator.clipboard.writeText(e),t(e),!0}catch(e){return console.warn("Copy failed",e),t(null),!1}},[])]}(),s=(0,S.useTranslations)("OrderDetails"),u=(0,S.useLocale)(),c=(0,_.useRouter)();if(!n)return null;let d=new Date(n.createdAt).toLocaleString(u,{dateStyle:"short",timeStyle:"short"}).replace(","," "),f=["estornada","estornado","estornado_parcialmente"].includes(n.status),h=(n.refundOutcome??"").toLowerCase(),p=(n.status??"").toLowerCase(),m="pendente"===h?{label:s("refundPendingBadge"),className:"bg-warning-100 text-[#583F00]"}:"recusado"===h?{label:s(o?"refundedOrder":"canceledOrder"),className:"bg-error-100 text-error-800"}:f?{label:s("refundedOrder"),className:"bg-success-100 text-success-800"}:["pendente_estorno","processando_devolucao","processando"].includes(p)?{label:s("refundProcessingBadge"),className:"bg-[#C8E6FA] text-primary-pure"}:null,g=["cancelado","offline","adiado"].includes((n.eventStatus??"").toLowerCase()),v=async()=>{c.push(`/reembolso/${n.token}`)},y=Object.values(n.tickets.reduce((e,t)=>{let n=t.ticketName??"",o=t.value??null,i=`${n}-${o??"na"}`;return e[i]||(e[i]={id:t.id,ticketName:n,value:o,quantity:0}),e[i].quantity+=1,e},{})),b=dh[(n.paymentMethodLabel??"").toLocaleLowerCase()],w=b?s(b):n.paymentMethodLabel??"-",x=n.wallet&&n.wallet.length>0?`${n.wallet} - ${w}`:w,E=[{label:s("buyer"),value:n.buyerName},{label:s("paymentMethod"),value:x},{label:s("orderDate"),value:d}],C=[{label:s("convenienceFee"),value:vd(n.absorbsConvenienceFee?0:(n.convenienceFee??0)/100)},{label:s("processingFee"),value:vd((n.processingFee??0)/100)},{label:s("installmentInterest"),value:vd((n.installmentFee??0)/100)},{label:s("insurance"),value:vd((n.insuranceFee??0)/100)}];return $.jsxs("div",{className:"flex flex-col gap-4",children:[$.jsxs("div",{className:"flex items-center justify-between gap-2",children:[$.jsx(ih,{className:"text-xs font-bold text-grey-900 leading-[150%]",children:s("title")}),$.jsx("button",{type:"button",onClick:e,"aria-label":s("close"),className:"flex shrink-0 items-center justify-center w-4 h-4 text-grey-900",children:$.jsx(ub,{size:16,strokeWidth:1.5})})]}),$.jsx(ti,{}),m&&$.jsx("div",{className:e8("w-full rounded-lg p-2 text-center font-bold text-xxxs",m.className),children:m.label}),$.jsxs("div",{className:"flex flex-col gap-5",children:[$.jsxs("div",{className:"flex flex-col gap-2",children:[$.jsxs("div",{className:"flex items-center gap-2",children:[$.jsx("span",{className:"text-xxs font-bold text-grey-700",children:s("orderNumber")}),$.jsxs("span",{className:"flex-1 flex items-center justify-end gap-1 text-xxs text-grey-800",children:[$.jsx("span",{className:"truncate",children:n.token}),$.jsx("span",{"aria-hidden":"true","data-tooltip-id":"copy-icon","data-tooltip-place":"top",className:"cursor-pointer shrink-0","data-tooltip-content":s("c
156opied"),onClick:()=>{l(n.token)},children:$.jsx(Ho,{})})]})]}),$.jsx(AD,{id:"copy-icon",place:"top",positionStrategy:"fixed",isOpen:!!i,style:{backgroundColor:"#2F2E33",fontSize:"12px",padding:"0.5rem",borderRadius:"8px",fontWeight:400}}),E.map(e=>$.jsxs("div",{className:"flex items-center gap-2",children:[$.jsx("span",{className:"flex-1 text-xxs font-bold text-grey-700",children:e.label}),$.jsx("span",{className:"flex-1 text-xxs text-grey-800 text-right",children:e.value})]},e.label))]}),$.jsx(ti,{}),$.jsxs("div",{className:"flex flex-col gap-2",children:[$.jsx("span",{className:"text-xxs font-bold text-grey-700",children:s("resume")}),y?.map(e=>$.jsxs("div",{className:"flex items-center gap-2 text-xxs",children:[$.jsx("span",{className:"text-grey-600",children:`${e.quantity}x ${e.ticketName}`}),$.jsx("span",{className:"flex-1 text-grey-800 text-right",children:null==e.value?"-":vd(e.value)})]},e.id)),C.map(e=>$.jsxs("div",{className:"flex items-center gap-2 text-xxs",children:[$.jsx("span",{className:"flex-1 text-grey-600",children:e.label}),$.jsx("span",{className:"flex-1 text-grey-800 text-right",children:e.value})]},e.label)),$.jsxs("div",{className:"flex items-center gap-2 text-xxs",children:[$.jsx("span",{className:"flex-1 font-bold text-grey-700",children:s("total")}),$.jsx("span",{className:"flex-1 text-grey-800 text-right",children:vd(n.totalValue??0)})]})]})]}),g&&n.isRefundable?$.jsx(tt,{variant:"secondary",className:"w-full flex justify-center",onClick:v,children:$.jsx("span",{className:"text-error-500",children:s("requestRefundCta")})}):$.jsxs("div",{className:"flex flex-col gap-2",children:[!g&&(()=>{let e=n.refundBlockReason??"other",t=s(`refundBlocked.${e}`),o=`refund-block-${n.token}`,i=!n.isRefundable;return $.jsxs($.Fragment,{children:[$.jsx(tt,{"data-tooltip-id":i?o:void 0,"data-tooltip-content":i?t:void 0,className:e8("w-fit pl-0 h-auto text-left justify-start !bg-transparent !border-none shadow-none hover:bg-transparent",i&&"opacity-50 cursor-not-allowed"),onClick:i?()=>{v6("clk_refund_order",{result:e})}:v,"aria-disabled":i,children:$.jsx("span",{className:"text-error-500",children:s("requestRefundCta")})}),i&&$.jsx(AD,{id:o,place:"top",style:{backgroundColor:"#2F2E33",fontSize:"12px",padding:"0.5rem",borderRadius:"8px",fontWeight:400,maxWidth:"260px",textAlign:"center",zIndex:9999}})]})})(),$.jsx(tt,{variant:"secondary-ghost",className:e8("w-fit ml-auto",t&&"w-full"),onClick:e,children:s("close")})]})]})}function Hl({isOpen:e=!1,onToggle:t,order:n}){return _Y()?$.jsx(s4,{open:e,onOpenChange:t,children:$.jsx(s6,{children:$.jsx(s8,{className:"px-4 pb-4 bg-white",children:$.jsx(Hi,{onToggle:t,isMobile:!0,order:n})})})}):$.jsx(is,{open:e,onOpenChange:t,children:$.jsxs(iv,{children:[$.jsx(iu,{}),$.jsx(id,{showCloseButton:!1,className:"p-4 rounded-md",children:$.jsx(Hi,{onToggle:t,order:n})})]})})}I8.displayName="CarouselNext";let Hs={fontFamily:"Lato",borderRadius:"8px",border:"1px solid lightgrey",margin:"0 4px",paddingLeft:"18px",width:"48px",height:"48px",fontSize:"18px",color:"black",backgroundColor:"white",textTransform:"uppercase"},Hu={...Hs,width:"36px",height:"36px",paddingLeft:"12px"};function Hc({open:e,onClose:t,onSubmit:n,onResend:o,isLoading:i=!1,errorMessage:l=null,email:s,helpUrl:u,expiresInSeconds:c=600}){let d=(0,S.useTranslations)("TwoFactorModal"),f=_Y(),[h,p]=(0,M.useState)(""),[m,g]=(0,M.useState)(!1),{hasExpiredTime:v,startCountdown:y,resetCountdown:b,minutesFormatted:w,secondsFormatted:x}=jC({initialSeconds:c});(0,M.useEffect)(()=>{e&&(p(""),g(!1),b(),y())},[e,b,y]);let E=async()=>{if(o)try{await o(),p(""),g(!0),b(),y()}catch{}},C=6===h.length,k=(0,M.useMemo)(()=>v?d("resendCode"):d("resendAvailableIn",{minutes:w,seconds:x}),[v,w,x,d]);return $.jsx(is,{open:e,onOpenChange:()=>{},children:$.jsxs(iv,{children:[$.jsx(iu,{}),$.jsxs(id,{className:"max-w-[420px]",showCloseButton:!1,children:[$.jsxs(ic,{className:"absolute top-2x right-2x",onClick:t,children:[$.jsx(ub,{strokeWidth:1.5,width:24,height:24,className:"stroke-grey-900"}),$.jsx("span",{className:"sr-only",children:"Close"})]}),$.jsx(ih,{className:"sr-only",children:d("title")}),$.jsxs(ig,{className:"flex flex-col gap-4x",children:[$.jsxs("div",{className:"flex flex-col gap-2x text-center",children:[$.jsx("h1",{className:"font-semibold text-2xl",children:d("title")}),$.jsxs("p",{className:"text-sm text-grey-600",children:[d("description"),s?$.jsx("span",{className:"font-semibold",children:` ${s}`}):null]})]}),m?$.jsxs("div",{className:"flex w-full p-2x rounded-lg bg-success-100",children:[$.jsx(us,{width:24,height:24,color:"#00C67F"}),$.jsx("h1",{className:"label-sm ml-1x",children:d("resendSuccess")})]}):null,$.jsxs("div",{className:"flex flex-col items-center gap-2x",children:[$.jsx(Oz,{inputMode:"email",type:"text",fields:6,name:"twoFactorCode",value:h,onChange:e=>p(e.toUpperCase()),inputStyle:f?Hu:Hs}),l?$.jsx("p",{className:"text-xxxs text-error-500",children:l}):null]}),$.jsx(tt,{isLoading:i,disabled:!C,onClick:()=>n(h),className:"w-full",children:d("continue")}),$.jsxs("div",{className:"flex flex-col items-center gap-1x",children:[$.jsx("span",{className:"label-sm text-grey-900",children:d("dontReceiveCode")}),o?$.jsx(tt,{variant:"text",disabled:!v,onClick:E,children:k}):null,u?$.jsx(tt,{variant:"text",onClick:()=>window.open(u,"_blank"),children:d("needHelp")}):null]})]})]})]})})}function Hd({html:e,labelKey:t,title:n,fallback:o=null}){let i=(0,S.useTranslations)();return e?$.jsx("div",{className:"container mx-auto w-full min-h-[80vh] p-12 prose prose-slate max-w-none [&_strong]:text-[var(--color-primary-pure)]","aria-label":n??(t?i(t):void 0),dangerouslySetInnerHTML:{__html:e}}):o}let Hf=e=>{let t=g2(e,"dd/MM/yyyy",new Date),n=new Date,o=vt(n);return m9(t,n)&&m9(t,o)},Hh=_D().shape({firstName:__().transform(_H).min(2,"nameMinLength").matches(_I,{message:"invalidName",excludeEmptyString:!0}).required("requiredField"),lastName:__().transform(_H).min(2,"lastNameMinLength").matches(_I,{message:"invalidLastName",excludeEmptyString:!0}).required("requiredField"),is_foreign:_m().transform(e=>1===e||!0===e).default(!1),document:__().when("is_foreign",{is:!1,then:e=>
156e.required("requiredField").test("cpf","invalidDocument",e=>h5.Cpf.isValid(e||"")),otherwise:e=>e.optional().nullable()}),gender:__().transform(e=>e?.toUpperCase()).oneOf(["MALE","FEMALE","NON_BINARY","NOT_INFORM"],"chooseGenderValue").required("requiredField"),birthdate:__().matches(/^(0[1-9]|[12][0-9]|3[01])\/(0[1-9]|1[0-2])\/((19|20)\d{2})$/,"invalidBirthdate").test("birthdate","invalidBirthdate",e=>!!e&&Hf(e)).required("requiredField"),telephone:__().required("requiredField").when("nationality",{is:"BR",then:e=>e.min(10,"phoneNumberError").test("phone","phoneNumberError",e=>!(!e||e.startsWith("55")&&13!==e.length)),otherwise:e=>e.min(5,"phoneNumberError")}),nationality:__().when("is_foreign",{is:!0,then:e=>e.required("nationalityRequired"),otherwise:e=>e.optional()}),passport:__().transform(e=>e?.toUpperCase()).when("is_foreign",{is:!0,then:e=>e.min(6,"passportMinLength").max(9,"passportMaxLength").matches(_U,"passportInvalidCharacters").required("passportRequired"),otherwise:e=>e.optional().nullable()})}),Hp=["firstName","lastName","nationality","passport","document","gender","birthdate","telephone"];function Hm({isOpen:e,onToggle:t,onAfterCompletingRegister:n,onTwoFactorRequired:o}){let{handleReloadUserInfos:i}=yQ(),{config:l,siteName:s}=Q(),u=l?.resources?.marketplaceUrl??"https://www.zig.tickets",c=(0,S.useTranslations)("Gender"),d=(0,S.useTranslations)("FormErrors"),f=(0,S.useTranslations)("RegisterModal"),h=(0,S.useTranslations)("Complete"),[p,m]=(0,M.useState)({firstName:"",lastName:"",document:"",gender:"",birthdate:"",telephone:"",nationality:"",passport:""}),{errors:g,onSubmit:v,control:y,register:b,isLoading:w,getValues:x,watch:E,clearErrors:C,setValue:k}=function(e){let{mutateAsync:t,isLoading:n}=_0(),{user:o}=yQ(),{handleSubmit:i,register:l,control:s,formState:{errors:u},getValues:c,setError:d,reset:f,watch:h,clearErrors:p,setValue:m}=_J(Hh,{defaultValues:{firstName:"",lastName:"",document:"",birthdate:"",telephone:"",nationality:"",passport:"",is_foreign:!1}}),g=i(async n=>{var o;let i=1===(o=n.is_foreign)||!0===o,l=i?n.passport||"":h6(n.document||"")||"",s={first_name:n.firstName,last_name:n.lastName,document:l,document_type:i?"passport":"cpf",birthdate:vr({date:g2(n.birthdate,"dd/MM/yyyy",new Date),pattern:"yyyy-MM-dd"}),gender:n.gender,telephone:n.telephone,nationality:n.nationality||"",is_foreign:i,platform:"marketplace"};try{await t(s),v6("sign_up",{method:"Account"}),e?.onAfterCompletingRegister&&await e.onAfterCompletingRegister()}catch(n){if(n?.status===403&&n?.data?.requires2FA){e?.onTwoFactorRequired?.(s);return}let t=!1;n?.errors?.document&&(d(i?"passport":"document",{message:i?"passportAlreadyRegistered":"documentAlreadyRegistered"},{shouldFocus:!0}),t=!0),n?.errors?.telephone&&(d("telephone",{message:"j\xe1 existe e precisa ser \xfanico."===n.errors.telephone[0]?"telephoneAlreadyRegistered":"phoneNumberError"},{shouldFocus:!0}),t=!0),n?.errors?.email&&(d("root",{message:"emailAlreadyRegistered"}),t=!0),t||(mb(n,{showToast:!1}),d("root",{message:"genericRegisterError"}))}});return(0,M.useEffect)(()=>{if(o){let e=o?.nationality,t="BR"!==e;f({firstName:o?.first_name,lastName:o?.last_name,document:o?.document||"",birthdate:o?.birthdate?vr({date:o.birthdate}):"",gender:o?.gender,telephone:o?.telephone||"",nationality:e,is_foreign:t,passport:t?o?.document:""})}},[o,f]),(0,M.useEffect)(()=>{let e=h("nationality");if(e){let t="BR"!==e;m("is_foreign",t);let n=yF(e),o=h("telephone")||"";!o.startsWith(`+${n}
156`)&&o.length<4&&m("telephone",`+${n}`),t?(m("document",""),p("document")):(m("passport",""),p(["passport","nationality"]))}},[h("nationality"),m,p]),{onSubmit:g,register:l,control:s,errors:u,isLoading:n,getValues:c,watch:h,clearErrors:p,setValue:m}}({onAfterCompletingRegister:async()=>{t(),await i(),n?.()},onTwoFactorRequired:e=>{t(),o?.(e)}});(0,M.useEffect)(()=>{m({firstName:x("firstName"),lastName:x("lastName"),document:x("document")||"",gender:x("gender"),birthdate:x("birthdate"),telephone:x("telephone"),nationality:x("nationality")||"",passport:x("passport")||""})},[x]);let _=E("nationality"),j=function(e){let t=function(e){try{return Hh.validateSync({...e,is_foreign:!!e.nationality&&"BR"!==e.nationality},{abortEarly:!1}),new Set}catch(t){let e=[...t?.inner??[],t].map(e=>e?.path).filter(Boolean);return new Set(e.length>0?e:Hp)}}(e);return new Set(Hp.filter(n=>!e[n]||t.has(n)))}(p),O=e=>j.has(e)||!!g[e],L=O("firstName"),A=O("lastName"),T=O("nationality")||"BR"!==_,P=O("passport")&&!!_&&"BR"!==_,N=O("document")&&!!_&&"BR"===_,F=O("gender"),R=O("birthdate"),D=O("telephone"),z={firstName:L,lastName:A,nationality:T,passport:P,document:N,gender:F,birthdate:R,telephone:D},I=Object.keys(g).some(e=>"root"!==e&&!z[e]);return(0,M.useEffect)(()=>{E("is_foreign")?(C("document"),k("document","")):C(["nationality","passport"]),C("document")},[E("is_foreign"),C,k]),$.jsx(is,{open:e,onOpenChange:e=>{e||t()},children:$.jsxs(iv,{children:[$.jsx(iu,{}),$.jsx(id,{showCloseButton:!0,children:$.jsxs(ig,{children:[$.jsxs("div",{className:"flex flex-col items-center justify-center",children:[$.jsx(ih,{className:"font-semibold text-2xl text-center",children:h("completeRegistration")}),$.jsx(ip,{className:"text-center",children:h("completePurchase")})]}),$.jsxs("div",{className:"flex flex-col gap-4 w-full justify-center items-center px-2",children:[$.jsxs("form",{onSubmit:v,className:"w-full flex flex-col gap-4",children:[$.jsxs("div",{className:`grid gap-4 ${L&&A?"sm:grid-cols-2":"grid-cols-1 justify-center"}`,children:[L&&$.jsx(oD,{label:f("firstNameLabel"),placeholder:f("firstNamePlaceholder"),error:g.firstName?.message&&d(g.firstName?.message),...b("firstName")}),A&&$.jsx(oD,{label:f("lastNameLabel"),placeholder:f("lastNamePlaceholder"),error:g.lastName?.message&&d(g.lastName?.message),...b("lastName")})]}),T&&$.jsx("div",{className:"grid gap-4",children:$.jsx(IE,{name:"nationality",control:y,error:g.nationality?.message&&d(g.nationality?.message)})}),P&&$.jsx("div",{className:"grid gap-4",children:$.jsx(oD,{label:f("passportLabel"),placeholder:f("passportPlaceholder"),error:g.passport?.message&&d(g.passport?.message),autoComplete:"passport",maxLength:9,style:{textTransform:"uppercase",color:"inherit"},...b("passport")})}),$.jsxs("div",{className:`grid gap-4 ${N&&F?"sm:grid-cols-2":"grid-cols-1 justify-center"}`,children:[N&&$.jsx(ue,{label:"CPF",mask:"cpf",error:g.document?.message&&d(g.document?.message),name:"document",control:y}),F&&$.jsx(s9,{label:f("genderLabel"),placeholder:f("genderPlaceholder"),name:"gender",control:y,options:dc.map(({value:e,text:t})=>({value:e,text:c(t)})),error:g.gender?.message&&d(g.gender?.message)})]}),$.jsxs("div",{className:`grid gap-4 ${R&&D?"sm:grid-cols-2":"grid-cols-1 justify-center"}`,children:[R&&$.jsx(ue,{label:f("birthdateLabel"),mask:"birthdate",error:g.birthdate?.message&&d(g.birthdate?.message),name:"birthdate",placeholder:f("birthdatePlaceholder"),control:y}),D&&$.jsx(io,{name:"telephone",initialValue:p.telephone,control:y,error:g.telephone?.message&&d(g.telephone?.message),label:f("phoneNumber")})]}),g.root?.message&&$.jsx("p",{className:"text-xxxs text-error-500 text-center",children:d(g.root.message)}),I&&$.jsx("p",{className:"text-xxxs text-error-500 text-center",children:d("profileDataNeedsReview")}),$.jsx(tt,{type:"submit",variant:"primary",className:"w-full",isLoading:w,children:h("completeInformation")})]}),$.jsx(ti,{className:"w-full"}),$.jsx("div",{className:"flex w-full justify-center items-center",children:$.jsxs("span",{className:"text-grey-600 text-center text-xxs leading-[1.313rem] w-80",children:[f("termsAndConditions"),"\xa0",$.jsx(cX,{href:`${u}/termos`,className:"underline",target:"_blank",children:f("termsOfUseLink")}),"\xa0 ",f("andThe"),"\xa0",$.jsx(cX,{href:`${u}/privacidade`,className:"underline",target:"_blank",children:f("privacyPoliciesLink")}),"\xa0",f("companyName",{name:s}),"."]})})]})]})})]})})}function Hg(){let e=(0,S.useTranslations)("Checkout"),[t,n]=(0,M.useState)(!0),o=()=>{n(!1)};return $.jsx(is,{open:t,onOpenChange:o,children:$.jsxs(iv,{children:[$.jsx(iu,{}),$.jsx(id,{children:$.jsx(ig,{children:$.jsxs("div",{className:"modal-content",children:[$.jsxs("div",{className:"flex flex-col items-center mb-4",children:[$.jsx("img",{src:"data:image/svg+xml,%3csvg%20width='65'%20height='64'%20viewBox='0%200%2065%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.60669%2019.7866V37.3866C4.60669%2040.5333%207.06002%2043.12%2010.1534%2043.6533C10.6334%2043.7333%2011.0867%2043.8133%2011.5667%2043.92C15.22%2044.6133%2019.3267%2045.36%2028.3934%2045.36C37.46%2045.36%2041.5667%2044.5866%2045.22%2043.92C45.7%2043.84%2046.1534%2043.7333%2046.6334%2043.6533C49.7267%2043.0933%2052.18%2040.5066%2052.18%2037.3866V19.7866H4.60669Z'%20fill='%23FFE1D7'/%3e%3cpath%20d='M57.6787%2037.5999L40.9%2054.3999M40.9213%2037.5999L57.7%2054.3999'%20stroke='%23F53C5A'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M52.18%2029.7867V13.6534C52.18%2010.5334%2049.8334%207.9734%2046.8467%207.46673C46.3134%207.36006%2045.78%207.28007%2045.22%207.1734C41.5667%206.48007%2037.46%205.7334%2028.3934%205.7334C19.3267%205.7334%2015.22%206.50673%2011.5667%207.1734C11.0334%207.28007%2010.4734%207.38673%209.94002%207.46673C6.95336%208.00006%204.60669%2010.5601%204.60669%2013.6534V37.3867C4.60669%2040.5334%207.06002%2043.1201%2010.1534%2043.6534C10.6334%2043.7334%2011.0867%2043.8134%2011.5667%2043.9201C15.22%2044.6134%2019.3267%2045.3601%2028.3934%2045.3601'%20stroke='%23F53C5A'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M52.18%2019.7866H4.60669'%20stroke='%23F53C5A'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M10.8733%2033.5198H18.9267'%20stroke='%23F53C5A'%20stroke-width='4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",width:64,height:64,alt:"Payment Refused Icon"}),$.jsx("p",{className:"font-brand heading-sm font-demibold text-center mt-2",children:e("paymentRefused")})]}),$.jsxs("div",{className:"flex flex-col text-center px-2 gap-4",children:[$.jsx(ip,{className:"paragraph-md font-base",children:e("tryOtherPaymentMethod")}),$.jsx(ip,{className:"paragraph-md font-base",children:e("refundWillBeMade")})]}),$.jsx("div",{className:"flex justify-center mt-6",children:$.jsx(tt,{type:"submit",className:"w-full pr-4 pb-2 pl-4 md:w-",variant:"primary",onClick:o,children:e("tryAgain")})})]})})})]})})}function Hv({pixelId:e,id:t=""}){let n=(0,_.useRouter)(),[o,i]=(0,M.useState)(!1);return(0,M.useEffect)(()=>{o&&yM()},[n.pathname,o]),$.jsxs($.Fragment,{children:[$.jsx(vW,{id:t||"facebook-pixel",strategy:"afterInteractive",onLoad:()=>i(!0),"data-pixel-id":e,children:` 157 !function(f,b,e,v,n,t,s) 158 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 159 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 160 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 161 n.queue=[];t=b.createElement(e);t.async=!0; 162 t.src=v;s=b.getElementsByTagName(e)[0]; 163 s.parentNode.insertBefore(t,s)}(window, document,'script', 164 'https://connect.facebook.net/en_US/fbevents.js'); 165 fbq('init', '${e}'); 166 fbq('track', 'PageView'); 167 `}),$.jsx("noscript",{children:$.jsx("img",{alt:"facebook-pixel-img",height:"1",width:"1",style:{display:"none"},src:`https://www.facebook.com/tr?id=${e}&ev=PageView&noscript=1`})})]})}function Hy(e){return $.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M12 8.10284C11.1715 8.10284 10.916 8.77442 10.916 9.60284V13.343C10.916 14.1715 11.1715 14.843 12 14.843C12.8284 14.843 13.084 14.1715 13.084
16713.343V9.60284C13.084 8.77442 12.8284 8.10284 12 8.10284Z",fill:"#F3AF00"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0574 15.7465C11.3369 15.7465 10.7629 16.2524 10.7629 17.0833C10.7629 17.9141 11.3369 18.3771 12.0574 18.3771C12.7778 18.3771 13.299 17.9125 13.299 17.0816C13.299 16.2507 12.7778 15.7465 12.0574 15.7465Z",fill:"#F3AF00"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.25C11.6222 3.25 11.2473 3.34359 10.916 3.52588C10.5843 3.70835 10.304 3.97578 10.1153 4.30724L10.1115 4.31404L2.49378 18.0259L2.49312 18.0271C2.32052 18.3359 2.23549 18.6852 2.25203 19.0404C2.26858 19.396 2.38584 19.7361 2.58504 20.0281C2.78375 20.3195 3.05581 20.5517 3.36871 20.7098C3.6814 20.8679 4.02891 20.9492 4.37903 20.9501L4.38107 20.9501H19.6189L19.621 20.9501C19.9711 20.9492 20.3186 20.8678 20.6313 20.7098C20.9442 20.5517 21.2163 20.3195 21.415 20.0281C21.6142 19.7361 21.7314 19.396 21.748 19.0404C21.7645 18.6852 21.6795 18.3361 21.507 18.0273L21.5062 18.0259L13.8885 4.31404L13.8847 4.30724C13.696 3.97578 13.4157 3.70835 13.084 3.52588C12.7527 3.34359 12.3778 3.25 12 3.25ZM11.639 4.84012C11.7427 4.78306 11.8679 4.75 12 4.75C12.1321 4.75 12.2573 4.78306 12.361 4.84012C12.4632 4.89636 12.5356 4.97064 12.5796 5.04671L20.1962 18.7566L20.1974 18.7587C20.2369 18.8293 20.2528 18.9017 20.2496 18.9707C20.2464 19.0398 20.2236 19.1128 20.1757 19.183C20.1274 19.2539 20.0536 19.3211 19.9547 19.3711C19.8558 19.421 19.7396 19.4496 19.6178 19.4501H4.38224C4.2604 19.4496 4.14416 19.421 4.04529 19.3711C3.9464 19.3211 3.87262 19.2539 3.82428 19.183C3.77642 19.1128 3.75362 19.0398 3.7504 18.9707C3.7472 18.9017 3.76311 18.8293 3.8026 18.7587L3.80381 18.7566L11.4204 5.04675C11.4643 4.97067 11.5368 4.89637 11.639 4.84012Z",fill:"#F3AF00"})]})}function Hb({open:e,onClose:t,isSoldOut:n=!1}){let o=(0,S.useTranslations)("PurchaseLimit");if(!e)return null;let i=o(n?"soldOutTitle":"title"),l=o(n?"soldOutSubtitle":"subtitle"),s=o(n?"soldOutButton":"button");return $.jsx(is,{open:e,onOpenChange:t,children:$.jsxs(iv,{children:[$.jsx(iu,{}),$.jsx(id,{showCloseButton:!1,className:"rounded-2xl",children:$.jsxs("div",{className:"p-4 text-center",children:[$.jsx("div",{className:"flex justify-center mb-6",children:$.jsx(Hy,{width:64,height:64})}),$.jsx("p",{className:"text-[22px] font-bold mb-2",children:i}),$.jsx("p",{className:"text-base text-gray-600 mb-6 mt-2",children:l}),$.jsx("div",{className:"flex justify-center mt-6",children:$.jsx(tt,{onClick:t,variant:"primary",className:"w-full",children:s})})]})})]})})}function Hw(e){return $.jsxs("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",...e,xmlns:"http://www.w3.org/2000/svg",children:[$.jsx("path",{d:"M3.65385 3H12.8846C13.1906 3 13.4841 3.12157 13.7005 3.33795C13.9169 3.55434 14.0385 3.84783 14.0385 4.15385V15.6923C14.0385 16.3043 13.7953 16.8913 13.3626 17.3241C12.9298 17.7569 12.3428 18 11.7308 18H4.80769C4.19565 18 3.60868 17.7569 3.17591 17.3241C2.74313 16.8913 2.5 16.3043 2.5 15.6923V4.15385C2.5 3.84783 2.62157 3.55434 2.83795 3.33795C3.05434 3.12157 3.34783 3 3.65385 3V3Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M14.0381 5.88464H16.3458C16.6518 5.88464 16.9453 6.00621 17.1617 6.2226C17.3781 6.43899 17.4996 6.73247 17.4996 7.03849V12.2308C17.4996 12.5368 17.3781 12.8303 17.1617 13.0467C16.9453 13.2631 16.6518 13.3846 16.3458 13.3846H14.0381",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M6.25 7.03845V13.3846",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M10.2881 7.03845V13.3846",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Hx(e){return $.jsxs("svg",{width:"22",height:"21",viewBox:"0 0 22 21",fill:"none",className:"lucide",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M6.17796 19.5H16.1554C17.211 19.5 18.109 18.7246 18.2697 17.674C18.525 16.0043 18.5843 14.3119 18.447 12.6311H20.3768C20.9986 12.6311 21.3757 11.9402 21.0423 11.4117L20.7085 10.8823C18.7001 7.69869 16.1446 4.90067 13.1615 2.61941L12.1206 1.82338C11.5567 1.39221 10.7766 1.39221 10.2127 1.82338L9.17164 2.6195C6.18856 4.90069 3.63298 7.69866 1.62466 10.8822L1.29068 11.4117C0.957268 11.9402 1.33441 12.6311 1.9563 12.6311H3.88624C3.74899 14.3119 3.80817 16.0043 4.06355 17.674C4.22423 18.7246 5.12216 19.5 6.17796 19.5Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M11.1665 12.0254C12.619 12.0254 13.7964 13.2108 13.7964 14.6731V19.4996H8.53662V14.6731C8.53662 13.2108 9.71407 12.0254 11.1665 12.0254Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HE(e){return $.jsxs("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",...e,xmlns:"http://www.w3.org/2000/svg",children:[$.jsx("path",{d:"M4.21875 12.4269L6.79604 14.9724",stroke:"#0050C3",strokeWidth:"1.5"}),$.jsx("path",{d:"M5.29883 9.89886L9.91348 14.4565",stroke:"#0050C3",strokeWidth:"1.5"}),$.jsx("path",{d:"M3.32662 16.5562C3.2562 16.5797 3.19418 16.5613 3.14825 16.5159C3.10287 16.4711 3.089 16.4169 3.10949 16.3568L6.12973 7.50737C6.16713 7.39777 6.32006 7.35424 6.41293 7.44597L12.3528 13.3125C12.4333 13.392 12.4084 13.5327 12.2867 13.5733L3.32662 16.5562Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.2"}),$.jsx("path",{d:"M17.0215 7.58625C16.7572 7.58625 16.543 7.36341 16.543 7.
16708853C16.543 6.81365 16.7572 6.59082 17.0215 6.59082C17.2858 6.59082 17.5 6.81365 17.5 7.08853C17.5 7.36341 17.2858 7.58625 17.0215 7.58625Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M7.47854 4.82874C7.21428 4.82874 7.00005 4.60591 7.00005 4.33103C7.00005 4.05615 7.21428 3.83331 7.47854 3.83331C7.7428 3.83331 7.95703 4.05615 7.95703 4.33103C7.95703 4.60591 7.7428 4.82874 7.47854 4.82874Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M15.961 14.2037C15.6967 14.2037 15.4825 13.9809 15.4825 13.706C15.4825 13.4311 15.6967 13.2083 15.961 13.2083C16.2252 13.2083 16.4395 13.4311 16.4395 13.706C16.4395 13.9809 16.2252 14.2037 15.961 14.2037Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M11.7174 3.94957C11.6263 5.36778 10.893 6.5239 9.65057 7.20802",stroke:"var(--color-primary-pure)",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M12.9041 10.6835C14.0355 9.91699 15.3935 9.59786 16.7318 9.78404",stroke:"var(--color-primary-pure)",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M11.7715 8.79652C11.7715 8.42887 12.1426 7.63844 13.6271 7.41785C15.4827 7.14212 14.9525 5.48771 15.4827 4.66051C15.9068 3.99875 16.7197 3.83331 17.0732 3.83331",stroke:"var(--color-primary-pure)",strokeWidth:"1.2",strokeLinecap:"round"})]})}function HC(e){return $.jsxs("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",...e,xmlns:"http://www.w3.org/2000/svg",children:[$.jsx("path",{d:"M7.29623 5.40076L6.8463 5.49748C6.88705 5.66266 6.89214 5.83375 6.86128 6.00078C6.83042 6.16782 6.76422 6.32747 6.66654 6.47047C6.56885 6.61346 6.44162 6.73694 6.29225 6.83372C6.14288 6.93051 5.97435 6.99867 5.79645 7.03425C5.4357 7.10493 5.05959 7.04096 4.74893 6.85609C4.43828 6.67121 4.2179 6.38018 4.13514 6.04556L3.23527 6.2175C3.11187 6.24258 2.9952 6.29071 2.89232 6.35897C2.78944 6.42723 2.70249 6.51422 2.63671 6.61466C2.57093 6.71511 2.5277 6.82693 2.50962 6.94338C2.49154 7.05983 2.49899 7.17848 2.53153 7.29217C2.53153 7.29217 2.94685 9.08686 3.4314 11.1072",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M15.9492 5.38995C15.8802 5.5709 15.7726 5.73693 15.6327 5.87799C15.4929 6.01904 15.3237 6.13217 15.1355 6.21054C14.9474 6.28891 14.7441 6.33087 14.538 6.33389C14.3319 6.33691 14.1272 6.30092 13.9365 6.2281C13.7458 6.15529 13.5729 6.04716 13.4284 5.91028C13.2838 5.77339 13.1706 5.61059 13.0956 5.43175C13.0206 5.25291 12.9853 5.06174 12.9919 4.86983C12.9986 4.67792 13.047 4.48926 13.1342 4.31528L12.1997 3.90691C11.9502 3.81004 11.6697 3.80875 11.4192 3.90331C11.1686 3.99787 10.9682 4.18066 10.8614 4.412L6.98507 12.9126L6.47745 13.9873C6.37346 14.2197 6.37207 14.481 6.47358 14.7144C6.5751 14.9477 6.77132 15.1344 7.01968 15.2339L11.7036 17.093C11.9532 17.1899 12.2336 17.1912 12.4842 17.0966C12.7347 17.0021 12.9351 16.8193 13.0419 16.588L17.4259 6.98045C17.5226 6.75704 17.5252 6.50788 17.4332 6.28275C17.3412 6.05763 17.1615 5.87311 16.9298 5.76608L15.9492 5.38995Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Hk(e){return $.jsx("svg",{width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",className:"lucide",xmlns:"http://www.w3.org/2000/svg",...e,children:$.jsx("path",{d:"M17.0128 6.37845C16.1683 7.22298 14.799 7.22298 13.9545 6.37845C13.11 5.53391 13.11 4.16468 13.9545 3.32015C14.1887 3.086 14.2534 2.68727 14.0193 2.45313L13.9107 2.34452C12.7847 1.21849 11.6784 1.21849 9.83299 2.34452L9.2235 2.77042C6.45093 4.70777 4.04085 7.11783 2.10348 9.8904L1.67753 10.5C0.551499 12.3453 0.551499 13.4517 1.67753 14.5777L1.78607 14.6863C2.02025 14.9204 2.41907 14.8555 2.65326 14.6214C3.49778 13.7769 4.86703 13.7769 5.71156 14.6214C6.55607 15.466 6.55607 16.8351 5.71156 17.6797C5.47737 17.914 5.41252 18.3127 5.64671 18.5469L5.75527 18.6554C6.88129 19.7815 7.98768 19.7815 9.83299 18.6554L10.4425 18.2295C13.2151 16.2922 15.6252 13.882 17.5626 11.1094L17.9884 10.5C19.1146 8.65458 19.1146 7.54829 17.9884
1676.42226L17.8799 6.31363C17.6458 6.07948 17.247 6.1443 17.0128 6.37845Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function HM(e){return $.jsxs("svg",{width:"152",height:"130",viewBox:"0 0 152 130",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M69.0783 78.3076L81.9354 72.9766L71.2053 68.2681C70.2066 67.8299 69.7073 67.6107 69.1776 67.6069C68.6479 67.6031 68.1455 67.815 67.1405 68.2387L56.2211 72.8433L69.0783 78.3076Z",fill:"var(--color-primary-light)",fillOpacity:"0.5",stroke:"var(--color-primary-light)",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M84.5386 33.8739V50.6648",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M116.765 91.0514C117.412 91.3428 118.174 91.0541 118.465 90.4066C118.756 89.759 118.468 88.9979 117.82 88.7065L116.765 91.0514ZM103.908 85.2657L116.765 91.0514L117.82 88.7065L104.963 82.9208L103.908 85.2657Z",fill:"#D3D2D9"}),$.jsx("path",{d:"M66.8364 35.858L66.8364 30.0458L99.3434 16.0898L99.3434 27.6059",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M149.705 76.3695L117.202 89.9902V47.9214L149.705 34.0747V76.3695Z",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M34.3319 30.07V16.2233L66.8358 30.07V47.0772",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M117.201 47.8968L149.864 34.216L117.458 19.8512L84.5386 33.874L117.201 47.8968Z",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M66.836 30.0456L34.3881 16.2055L66.5795 2L99.4988 16.0228L66.836 30.0456Z",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M96.8514 28.6292L129.39 42.7919L129.685 53.1126L138.789 49.3562L138.514 38.9703L105.013 25.1526L96.8514 28.6292Z",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M87.1866 10.7776L54.6483 24.9403L54.3528 35.2611L45.2489 31.5046L45.5242 21.1187L79.0251 7.30103L87.1866 10.7776Z",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M104.597 77.1309L111.453 71.879C114.235 72.3084 115.688 75.4258 114.228 77.8317L112.373 80.8882C111.772 81.8797 111.453 83.0172 111.453 84.177V92.9289V110.473C111.453 112.588 110.159 114.487 108.191 115.26L73.1804 129.011C71.9927 129.478 70.674 129.486 69.4805 129.035L43.4729 119.196C41.4729 118.439 40.1497 116.524 40.1497 114.385V109.13L68.4229 121.218C70.2887 122.016 72.3937 122.047 74.2819 121.303L99.1369 111.516C102.086 110.355 104.023 107.512 104.056 104.343C104.174 92.7903 104.597 77.1309 104.597 77.1309Z",fill:"#525059"}),$.jsx("path",{d:"M55.5783 86.76L44.0069 81.5219V113.01L55.5783 118.165V86.76Z",fill:"#1C70E9",fillOpacity:"0.5"}),$.jsx("path",{d:"M34.0626 45.4238L34.0626 36.5219",stroke:"var(--color-primary-light)",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M22.6946 56.1888L13.7926 56.1888",stroke:"var(--color-primary-light)",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M24.6232 47.3816L18.3285 41.087",stroke:"var(--color-primary-light)",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M2.1358 111.885L24.9381 111.885",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M55.5783 87.3076L55.5783 116.879",stroke:"#171719",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M44.0069 82.1647V111.736",stroke:"#171719",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M114.012 111.885H121.005",stroke:"#D3D2D9",strokeWidth:"2.57143",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M34.5296 63.5219L69.0783 78.4146V123.308L34.364 108.252L34.4468 85.8872L34.4882 76.7896",stroke:"#171719",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M103.793 64.1647L69.0783 78.8107V123.308L103.793 108.901V86.5327V80.9407V76.1505",stroke:"#171719",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M69.0783 78.3076L103.793 63.8825L70.3658 49.1825C69.7181 48.8977 68.9815 48.8923 68.3297 49.1678L34.364 63.522L69.0783 78.3076Z",stroke:"#171719",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M58.4319 87.8255C59.4565 88.2857 60.6472 88.0246 61.3923 87.1841C63.5258 84.7776 67.7675 79.9895 69.0783 78.4849L34.4446 63.5219C33.5767 64.1767 29.9976 67.4649 27.434 69.8402C26.1181 71.0595 26.4291 73.2011 28.0512 73.9673C36.4758 77.9464 53.0742 85.4188 58.4319 87.8255Z",stroke:"#171719",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M69.7212 78.6372C71.0239 80.11 75.2214 84.777 77.3674 87.1612C78.1327 88.0115 79.3549 88.2554 80.3846 87.7568C85.6606 85.2027 101.721 77.4262 110.271 73.2652C112.007 72.4201 112.217 70.0389 110.662 68.8941C108.15 67.0453 105.041 64.7558 104.246 64.1647",stroke:"#171719",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M69.0783 48.5541C67.0827 48.4263 58.7955 48.0933 58.7955 48.0933L29.3708 60.8236C28.194 61.3327 28.4052 63.0657 29.6693 63.2806C31.852 63.6517 34.1439 64.0496 34.6284 64.1647",stroke:"#171719",strokeWidth:"2.57143",strokeLinejoin:"round"}),$.jsx("path",{d:"M69.0783 48.5541C71.0739 48.4263 79.3611 48.0933 79.3611 48.0933L108.786 60.8236C109.963 61.3327 109.751 63.0657 108.487 63.2806C106.305 63.6517 104.013 64.0496 103.528 64.1647",stroke:"#171719",strokeWidth:"2.57143",strokeLinejoin:"round"})]})}function H_(e){return $.jsxs("svg",{width:"153",height:"119",viewBox:"0 0 153 119",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M47.5225 45.2719L47.5225 78.1077",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M60.209 39.3018L60.209 71.3913",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M74.3882 34.0778L74.3882 66.1674",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M33.3433 61.6898L86.3283 38.5555",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M33.3433 70.645L86.3283 48.257",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M33.3434 33.3188L85.7756 10.9435L87.0747 23.944L79.2263 27.6371L79.2263 21.7897L76.8114 20.2509L42.0972 34.7156L39.6823 38.7164L39.6823 45.4871L33.3434 48.257L33.3434 33.3188Z",fill:"var(--color-primary-light)",fillOpacity:"0.5"}),$.jsx("path",{d:"M33.7163 33.4775L12.8208 26.6269L12.8208 40.1009L33.7163 47.5224L33.7163 33.4775Z",fill:"var(--color-primary-light)",fillOpacity:"0.5"}),$.jsx("path",{opacity:"0.5",d:"M93.791 19.011V61.5157C93.791 64.9682 91.7197 68.0836 88.5362 69.4195L56.2987 82.9471C52.4833 84.5481 48.2686 81.746 48.2686 77.6083L81.9778 63.3796C85.1525 62.0396 87.216 58.9383 87.216 55.4924L87.216 12.436C90.8473 12.436 93.791 15.3798 93.791 19.011Z",fill:"#969CAA"}),$.jsx("path",{d:"M113.021 52.6827L113.47 48.8024",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M116.347 53.0682L116.796 49.1879",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M42.731 34.5941L75.6063 20.1643C77.4944 19.3356 79.6118 20.7186 79.6118 22.7805L79.6118 28.5159C79.6118 30.2168 78.606 31.7567 77.0486 32.4403L43.3188 47.2451C41.4307 48.0738 39.3133 46.6908 39.3133 44.6289L39.3133 39.8265C39.3133 37.5587 40.6544 35.5055 42.731 34.5941Z",stroke:"#171719",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M111.572 40.9377L110.916 46.6031C110.832 47.3347 111.36 47.9969 112.096 48.0821L118.299 48.8001C119.035 48.8853 119.701 48.3612 119.786 47.6296L120.441 41.9642C120.526 41.2326 119.998 40.5704 119.262 40.4852L113.058 39.7672C112.322 39.682 111.657 40.206 111.572 40.9377Z",stroke:"#171719",strokeWidth:"2.85714"}),$.jsx("path",{d:"M33.3433 32.7689V83.3316L86.3283 61.0316V10.1973",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M32.6315 33.3316L86.3284 9.76553L67.5021 3.10789C66.8234 2.86789 66.0792 2.89291 65.4181 3.17794L12.4478 26.0194L32.6315 33.3316Z",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M12.4478 25.8806V76.1929L32.3802 83.3316L71.403 67.2594",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M87.0746 24.3763L79.8055 27.5853M12.4478 41.1319L32.7515 48.2569L39.3963 45.3838",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M78.1194 98.257L89.3134 98.257",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M6.47754 98.257L52.7462 98.257",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("circle",{cx:"2.98817",cy:"2.98817",r:"1.5596",transform:"matrix(0.960714 -0.27754 0 1 44.2114 36.9978)",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("circle",{cx:"2.98817",cy:"2.98817",r:"1.5596",transform:"matrix(0.960714 -0.27754 0 1 51.5383 33.945)",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("circle",{cx:"2.98817",cy:"2.98817",r:"1.5596",transform:"matrix(0.960714 -0.27754 0 1 70.4658 25.3972)",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M20.6832 72.8838C0.725881 72.8838 -5.07466 52.3779 12.327 34.9054M116.552 39.6866C118.595 24.0961 115.701 3.34659 98.1145 2.10559C91.1898 1.61694 85.1804 2.8451 75.1343 5.3582",stroke:"#171719",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M128.086 36.5554L132.314 29.2334",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M132.324 50.8083L139.646 55.0357",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M134.921 42.6483L143.087 40.4601",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M138.071 93.8277L143.423 92.1305C144.344 91.8384 145.284 92.526 145.284 93.4922L145.284 95.3543C145.284 95.9769 144.88 96.5278 144.287 96.716L138.935 98.4132C138.014 98.7053 137.075 98.0178 137.075 97.0515L137.075 95.1894C137.075 94.5668 137.478 94.0159 138.071 93.8277Z",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M129.387 92.2868L86.3284 73.7603L107.576 66.5176C108.238 66.292 108.96 66.3169 109.604 66.5876L1
16752 84.3903L129.387 92.2868Z",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M109.339 78.854L100.507 74.8957L109.129 71.7739C109.808 71.528 110.555 71.5484 111.22 71.8311L119.164 75.2094L109.339 78.854Z",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M128.035 86.3166L119.911 83.15L127.882 80.64C128.487 80.4498 129.137 80.4657 129.731 80.6855L137.075 83.401L128.035 86.3166Z",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M129.077 92.5623V105.108M86.3284 74.3763V87.2187L130.006 105.72L152 97.7639V84.6065",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M141.851 95.9369C157.776 125.091 116.626 120 104.962 110.438",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HS({showBackground:e=!0,backgroundColor:t="#F5F5F7",color:n="var(--color-primary-pure)",width:o=41,height:i=40,...l}){return $.jsxs("svg",{width:o,height:i,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid slice",...l,children:[e&&$.jsx("path",{d:"M0.5 8C0.5 3.58172 4.08172 0 8.5 0H32.5C36.9183 0 40.5 3.58172 40.5 8V32C40.5 36.4183 36.9183 40 32.5 40H8.5C4.08172 40 0.5 36.4183 0.5 32V8Z",fill:t}),$.jsx("path",{d:"M20.5001 20C22.6784 20 24.4443 18.3211 24.4443 16.25C24.4443 14.179 22.6784 12.5 20.5001 12.5C18.3218 12.5 16.5559 14.179 16.5559 16.25C16.5559 18.3211 18.3218 20 20.5001 20Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M26.6074 27.5001C27.2914 27.5001 27.7693 26.8259 27.4316 26.231C26.8765 25.2527 26.0961 24.3989 25.1417 23.737C23.7938 22.8021 22.1685 22.2984 20.5 22.2984C18.8315 22.2984 17.2062 22.8021 15.8583 23.737C14.9039 24.3989 14.1235 25.2527 13.5684 26.231C13.2307 26.8259 13.7086 27.5001 14.3926 27.5001H26.6074Z",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Hj(e){return $.jsxs("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M0.5 8C0.5 3.58172 4.08172 0 8.5 0H32.5C36.9183 0 40.5 3.58172 40.5 8V32C40.5 36.4183 36.9183 40 32.5 40H8.5C4.08172 40 0.5 36.4183 0.5 32V8Z",fill:"#F5F5F7"}),$.jsx("path",{d:"M26 17.6923C26 19.869 22.9866 24.377 21.5258 26.4344C21.142 26.9749 20.358 26.9749 19.9742 26.4344C18.5134 24.377 15.5 19.869 15.5 17.6923C15.5 16.3152 16.0531 14.9945 17.0377 14.0208C18.0223 13.047 19.3576 12.5 20.75 12.5C22.1424 12.5 23.4777 13.047 24.4623 14.0208C25.4469 14.9945 26 16.3152 26 17.6923Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M20.75 19.25C21.5784 19.25 22.25 18.5784 22.25 17.75C22.25 16.9216 21.5784 16.25 20.75 16.25C19.9216 16.25 19.25 16.9216 19.25 17.75C19.25 18.5784 19.9216 19.25 20.75 19.25Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HO(e){return $.jsxs("svg",{width:"41",height:"40",viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M0.5 8C0.5 3.58172 4.08172 0 8.5 0H32.5C36.9183 0 40.5 3.58172 40.5 8V32C40.5 36.4183 36.9183 40 32.5 40H8.5C4.08172 40 0.5 36.4183 0.5 32V8Z",fill:"#F5F5F7"}),$.jsx("path",{d:"M25.4667 18.2692H15.8667C15.204 18.2692 14.6667 18.7858 14.6667 19.4231V26.3461C14.6667 26.9834 15.204 27.5 15.8667 27.5H25.4667C26.1295 27.5 26.6667 26.9834 26.6667 26.3461V19.4231C26.6667 18.7858 26.1295 18.2692 25.4667 18.2692Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M24.8668 18.2692V16.5385C24.8668 15.4674 24.4243 14.4402 23.6366 13.6828C22.849 12.9255 21.7807 12.5 20.6668 12.5C19.5529 12.5 18.4846 12.9255 17.6969 13.6828C16.9093 14.4402 16.4668 15.4674 16.4668 16.5385V18.2692",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M20.6667 23.4615C20.998 23.4615 21.2667 23.2032 21.2667 22.8846C21.2667 22.566 20.998 22.3077 20.6667 22.3077C20.3353 22.3077 20.0667 22.566 20.0667 22.8846C20.0667 23.2032 20.3353 23.4615 20.6667 23.4615Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HL({stroke:e,...t}){return $.jsxs("svg",{width:"current",height:"current",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[$.jsx("path",{d:"M8.75548 5.88091L8.21556 5.99697C8.26446 6.19519 8.27057 6.40049 8.23353 6.60094C8.1965 6.80138 8.11707 6.99297 7.99984 7.16456C7.88262 7.33615 7.72995 7.48432 7.5507 7.60047C7.37146 7.71661 7.16922 7.7984 6.95574 7.84109C6.52284 7.92592 6.0715 7.84915 5.69872 7.6273C5.32594 7.40545 5.06148 7.05622 4.962
16717 6.65466L3.88233 6.861C3.73424 6.8911 3.59424 6.94885 3.47079 7.03076C3.34733 7.11268 3.24299 7.21706 3.16405 7.33759C3.08512 7.45813 3.03324 7.59231 3.01155 7.73205C2.98985 7.87179 2.99879 8.01417 3.03783 8.1506C3.03783 8.1506 3.53622 10.3042 4.11768 12.7287",stroke:e||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M19.1386 5.86796C19.0559 6.0851 18.9267 6.28434 18.7589 6.45361C18.591 6.62287 18.3881 6.75863 18.1623 6.85267C17.9364 6.94671 17.6925 6.99707 17.4452 7.00069C17.1978 7.00431 16.9523 6.96113 16.7234 6.87375C16.4945 6.78637 16.2871 6.65662 16.1136 6.49236C15.9402 6.32809 15.8043 6.13274 15.7143 5.91812C15.6243 5.70351 15.582 5.47411 15.5899 5.24382C15.5979 5.01352 15.656 4.78713 15.7606 4.57836L14.6393 4.08832C14.3398 3.97208 14.0033 3.97052 13.7026 4.084C13.4019 4.19747 13.1615 4.41682 13.0333 4.69443L8.38169 14.8951L7.77254 16.1847C7.64776 16.4637 7.64609 16.7772 7.76791 17.0573C7.88973 17.3373 8.1252 17.5613 8.42322 17.6807L14.044 19.9117C14.3434 20.0279 14.68 20.0295 14.9806 19.916C15.2813 19.8025 15.5218 19.5832 15.6499 19.3056L20.9107 7.77657C21.0267 7.50847 21.0298 7.20948 20.9194 6.93933C20.8091 6.66918 20.5934 6.44776 20.3154 6.31932L19.1386 5.86796Z",stroke:e||"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HA({color:e="var(--color-primary-pure)",...t}){return $.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...t,children:[$.jsx("path",{d:"M2.5 12.6516H12.8846C14.1087 12.6516 15.2826 12.2046 16.1482 11.409C17.0137 10.6134 17.5 9.53433 17.5 8.40917C17.5 7.28401 17.0137 6.20493 16.1482 5.40933C15.2826 4.61372 14.1087 4.16675 12.8846 4.16675H9.42308",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M5.96154 9.46973L2.5 12.6515L5.96154 15.8334",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HT({color:e="white",width:t=17,height:n=16,...o}){return $.jsxs("svg",{width:t,height:n,viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[$.jsx("path",{d:"M7.40786 11.2754L9.42235 13.0633C9.5474 13.1744 9.70235 13.2553 9.87247 13.2983C10.0426 13.3413 10.2222 13.3449 10.3944 13.3088C10.5665 13.2727 10.7254 13.1981 10.856 13.0921C10.9866 12.9861 11.0845 12.8522 11.1405 12.7031L14.4466 3.88018C14.5076 3.71777 14.5165 3.54346 14.4723 3.37679C14.4281 3.21013 14.3326 3.05771 14.1963 2.93663C14.0601 2.81555 13.8886 2.7306 13.7011 2.69132C13.5135 2.65204 13.3174 2.65998 13.1347 2.71424L3.20717 5.65494C3.03994 5.70488 2.88979 5.79189 2.77092 5.90775C2.65205 6.02361 2.56837 6.16449 2.52781 6.31708C2.48724 6.46967 2.49112 6.62894 2.53907 6.77983C2.58703 6.93072 2.67747 7.06825 2.80187 7.17944L5.33244 9.43091L5.24658 12.274L7.40786 11.2754Z",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M14.1498 2.89795L5.33203 9.43082",stroke:e,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HP(e){return $.jsxs("svg",{width:"current",height:"current",viewBox:"0 0 199 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("ellipse",{opacity:"0.4",cx:"9.59773",cy:"17.3497",rx:"9.09382",ry:"9.09382",fill:"#0050C3"}),$.jsx("circle",{cx:"9.59813",cy:"17.3497",r:"6.49559",fill:"#0050C3"}),$.jsx("path",{d:"M180.885 21.9234L185.603 26.1109C185.896 26.3712 186.259 26.5607 186.657 26.6613C187.056 26.762 187.477 26.7704 187.88 26.6859C188.283 26.6014 188.655 26.4267 188.961 26.1784C189.267 25.9301 189.496 25.6165 189.627 25.2673L197.371 4.60241C197.514 4.22202 197.535 3.81375 197.431 3.42339C197.328 3.03303 197.104 2.67603 196.785 2.39244C196.465 2.10885 196.064 1.90989 195.625 1.81789C195.185 1.72588 194.726 1.74447 194.298 1.87157L171.046 8.75921C170.654 8.87618 170.303 9.07998 170.024 9.35134C169.746 9.62271 169.55 9.95268 169.455 10.3101C169.36 10.6675 169.369 11.0405 169.481 11.3939C169.593 11.7473 169.805 12.0695 170.097 12.3299L176.024 17.6032L175.823 24.2622L180.885 21.9234Z",fill:"var(--color-primary-pure)",stroke:"#85ABE3",strokeWidth:"1.5375",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M196.792 2.43446L177.01 23.7233L175.804 24.2807L176.003 17.692L196.701 2.35572C196.723 2.37376 196.745 2.39217 196.766 2.41095C196.774 2.41873 196.783 2.42657 196.792 2.43446Z",fill:"var(--color-secondary-dark)"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M196.803 2.40929C196.797 2.40363 196.791 2.398 196.785 2.39241C196.466 2.10882 196.064 1.90986 195.625 1.81785C195.185 1.72585 194.726 1.74444 194.298 1.87153L171.046 8.75918C170.654 8.87615 170.303 9.07995 170.024 9.35131C169.746 9.62268 169.55 9.95264 169.455 10.31C169.36 10.6674 169.369 11.0405 169.481 11.3939C169.594 11.7473 169.805 12.0694 170.097 12.3298L176.024 17.6032L176.018 17.8103L196.803 2.40929Z",fill:"var(--color-primary-pure)"}),$.jsx("path",{d:"M196.803 2.40929L197.261 3.02696C197.446 2.88999 197.56 2.67742 197.571 2.44763C197.583 2.21784 197.491 1.99499 197.32 1.84028L196.803 2.40929ZM196.785 2.39241L196.274 2.96702L196.274 2.96703L196.785 2.39241ZM195.625 1.81785L195.467 2.57027V2.57027L195.625 1.81785ZM194.298 1.87153L194.516 2.60862L194.517 2.60848L194.298 1.87153ZM171.046 8.75918L170.828 8.02208L170.826 8.02257L171.046 8.75918ZM170.024 9.35131L169.488 8.80079L169.488 8.80079L170.024 9.35131ZM169.455 10.31L168.712 10.1125L169.455 10.31ZM169.481 11.3939L168.749 11.6267L168.749 11.6267L169.481 11.3939ZM170.097 12.3298L169.584 12.903L169.586 12.9042L170.097 12.3298ZM176.024 17.6032L176.792 17.6264C176.799 17.3989 176.70
1675 17.1801 176.535 17.0289L176.024 17.6032ZM176.018 17.8103L175.249 17.7871C175.24 18.0815 175.4 18.3551 175.661 18.4916C175.922 18.628 176.239 18.6033 176.475 18.428L176.018 17.8103ZM197.32 1.84028C197.312 1.83277 197.304 1.82527 197.295 1.81778L196.274 2.96703C196.278 2.97074 196.282 2.97449 196.286 2.97829L197.32 1.84028ZM197.295 1.81779C196.871 1.44055 196.346 1.18345 195.782 1.06544L195.467 2.57027C195.782 2.63626 196.06 2.77708 196.274 2.96702L197.295 1.81779ZM195.782 1.06544C195.219 0.947424 194.63 0.970996 194.079 1.13459L194.517 2.60848C194.822 2.51788 195.152 2.50427 195.467 2.57027L195.782 1.06544ZM194.08 1.13444L170.828 8.02209L171.264 9.49627L194.516 2.60862L194.08 1.13444ZM170.826 8.02257C170.322 8.1732 169.86 8.43825 169.488 8.80079L170.561 9.90183C170.746 9.72165 170.987 9.5791 171.266 9.49578L170.826 8.02257ZM169.488 8.80079C169.115 9.16385 168.844 9.61399 168.712 10.1125L170.198 10.5076C170.255 10.2913 170.376 10.0815 170.561 9.90183L169.488 8.80079ZM168.712 10.1125C168.579 10.6118 168.592 11.1342 168.749 11.6267L170.214 11.161C170.146 10.9468 170.14 10.723 170.198 10.5076L168.712 10.1125ZM168.749 11.6267C168.905 12.1184 169.196 12.5561 169.584 12.903L170.609 11.7567C170.414 11.5828 170.282 11.3762 170.214 11.161L168.749 11.6267ZM169.586 12.9042L175.513 18.1775L176.535 17.0289L170.608 11.7555L169.586 12.9042ZM175.255 17.58L175.249 17.7871L176.786 17.8335L176.792 17.6264L175.255 17.58ZM176.475 18.428L197.261 3.02696L196.346 1.79161L175.56 17.1926L176.475 18.428Z",fill:"#85ABE3"}),$.jsx("path",{d:"M180.707 21.8496L196.735 2.75715L195.655 3.52851L185.936 12.7849L175.803 24.3018L180.707 21.8496Z",fill:"#41096F"}),$.jsx("path",{d:"M16.0938 16.9264C22.2693 18.8924 36.7045 31.868 45.0415 68.0426C55.4627 113.261 87.3051 93.6007 93.6736 70.6639C100.042 47.7272 112.2 14.9604 133.622 12.339C155.043 9.7177 149.668 35.6556 157.359 38.5525C164.306 41.1694 174.148 30.4699 175.885 24.7903",stroke:"var(--color-primary-pure)",strokeWidth:"1.5375",strokeLinecap:"round",strokeDasharray:"3.07 3.07"}),$.jsx("path",{d:"M128.059 75.8515C130.9 74.2115 131.671 70.2294 129.782 66.9574L94.9344 6.59935C93.0455 3.32774 89.2111 2.00411 86.3704 3.64416L76.9083 9.10714C78.5503 14.5602 76.7799 20.2904 72.255 22.9029C67.7301 25.5154 61.8824 24.1834 57.9809 20.0349L48.5188 25.4978C45.6783 27.1378 44.9073 31.1204 46.7961 34.392L81.6438 94.75C83.533 98.0221 87.3672 99.3452 90.2078 97.7052L99.6484 92.2546C97.9519 86.7706 99.7159 80.9835 104.27 78.3542C108.824 75.725 114.718 77.0909 118.619 81.3021L128.059 75.8515Z",fill:"#00F0FA",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M57.0449 52.0506L65.4832 47.1787",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M76.8555 40.6135L85.2937 35.7417",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M96.7051 29.1529L105.143 24.2812",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M124.123 92.1464C126.483 93.0526 129.242 91.5838 130.285 88.8658L149.54 38.7293C150.584 36.0117 149.518 33.0733 147.158 32.1671L139.298 29.1486C136.828 32.776 132.538 34.494 128.779 33.0504C125.021 31.6069 122.983 27.4587 123.576 23.1105L115.717 20.092C113.357 19.1858 110.598 20.655 109.554 23.3725L90.2992 73.5091C89.2554 76.2271 90.322 79.1651 92.6815 80.0712L100.523 83.0829C102.985 79.4079 107.307 77.6585 111.09 79.1113C114.872 80.5641 116.912 84.7563 116.281 89.1347L124.123 92.1464Z",fill:"#00F0FA",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M103.946 38.0726L110.956 40.7645",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M120.402 44.3919L127.412 47.0838",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M136.89 50.7243L143.899 53.4162",stroke:"#00575A",strokeWidth:"2.30625",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HN(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"198",height:"101",viewBox:"0 0 198 101",fill:"none",...e,children:[$.jsx("ellipse",{opacity:"0.4",cx:"9.09785",cy:"17.1751",rx:"9.09382",ry:"9.09382",fill:"#0F77F0"}),$.jsx("circle",{cx:"9.09825",cy:"17.1753",r:"6.49559",fill:"#0F77F0"}),$.jsx("path",{d:"M180.385 21.7487L185.103 25.9363C185.396 26.1966 185.759 26.3861 186.157 26.4867C186.556 26.5873 186.977 26.5958 187.38 26.5113C187.783 26.4267 188.155 26.252 188.461 26.0038C188.767 25.7555 188.996 25.4418 189.127 25.0926L196.871 4.42777C197.014 4.04739 197.035 3.63911 196.931 3.24875C196.828 2.85839 196.604 2.50139 196.285 2.2178C195.966 1.93421 195.564 1.73526 195.125 1.64325C194.685 1.55125 194.226 1.56983 193.798 1.69693L170.546 8.58457C170.154 8.70155 169.803 8.90534 169.524 9.17671C169.246 9.44807 169.05 9.77804 168.955 10.
1671354C168.86 10.4928 168.869 10.8659 168.981 11.2193C169.094 11.5727 169.305 11.8948 169.597 12.1552L175.524 17.4286L175.323 24.0875L180.385 21.7487Z",fill:"var(--color-primary-light)",stroke:"#171719",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M196.303 2.23468C196.297 2.22903 196.291 2.2234 196.285 2.2178C195.966 1.93421 195.564 1.73526 195.125 1.64325C194.685 1.55125 194.226 1.56983 193.798 1.69693L170.546 8.58457C170.154 8.70155 169.803 8.90534 169.524 9.17671C169.246 9.44807 169.05 9.77804 168.955 10.1354C168.86 10.4928 168.869 10.8659 168.981 11.2193C169.094 11.5727 169.305 11.8948 169.597 12.1552L175.524 17.4286L175.518 17.6357L196.303 2.23468Z",fill:"white",fillOpacity:"0.5"}),$.jsx("path",{d:"M196.303 2.23468L196.601 2.63643C196.721 2.54734 196.795 2.40908 196.803 2.25962C196.81 2.11017 196.75 1.96522 196.64 1.8646L196.303 2.23468ZM196.285 2.2178L195.953 2.59153L195.953 2.59154L196.285 2.2178ZM195.125 1.64325L195.227 1.15387V1.15387L195.125 1.64325ZM193.798 1.69693L193.94 2.17634L193.94 2.17624L193.798 1.69693ZM170.546 8.58457L170.404 8.10516L170.403 8.10548L170.546 8.58457ZM169.524 9.17671L169.873 9.53477L169.524 9.17671ZM168.955 10.1354L168.472 10.007H168.472L168.955 10.1354ZM168.981 11.2193L169.458 11.0678L169.458 11.0678L168.981 11.2193ZM169.597 12.1552L169.264 12.528L169.264 12.5288L169.597 12.1552ZM175.524 17.4286L176.024 17.4437C176.028 17.2957 175.967 17.1534 175.856 17.055L175.524 17.4286ZM175.518 17.6357L175.018 17.6206C175.012 17.8121 175.116 17.99 175.286 18.0788C175.456 18.1675 175.661 18.1515 175.815 18.0374L175.518 17.6357ZM196.303 2.23468L196.64 1.8646C196.632 1.85774 196.625 1.85089 196.617 1.84406L196.285 2.2178L195.953 2.59154C195.957 2.59591 195.962 2.60032 195.967 2.60477L196.303 2.23468ZM196.285 2.2178L196.617 1.84407C196.229 1.49957 195.747 1.2628 195.227 1.15387L195.125 1.64325L195.022 2.13263C195.381 2.20771 195.702 2.36886 195.953 2.59153L196.285 2.2178ZM195.125 1.64325L195.227 1.15387C194.707 1.04495 194.164 1.06678 193.656 1.21762L193.798 1.69693L193.94 2.17624C194.288 2.07289 194.664 2.05754 195.022 2.13263L195.125 1.64325ZM193.798 1.69693L193.656 1.21752L170.404 8.10516L170.546 8.58457L170.688 9.06398L193.94 2.17634L193.798 1.69693ZM170.546 8.58457L170.403 8.10548C169.938 8.24435 169.515 8.48798 169.175 8.81865L169.524 9.17671L169.873 9.53477C170.091 9.32271 170.371 9.15875 170.689 9.06366L170.546 8.58457ZM169.524 9.17671L169.175 8.81865C168.836 9.14965 168.591 9.55778 168.472 10.007L168.955 10.1354L169.438 10.2639C169.509 9.99831 169.656 9.74649 169.873 9.53477L169.524 9.17671ZM168.955 10.1354L168.472 10.007C168.352 10.4567 168.364 10.9268 168.505 11.3707L168.981 11.2193L169.458 11.0678C169.374 10.8049 169.368 10.529 169.438 10.2639L168.955 10.1354ZM168.981 11.2193L168.505 11.3707C168.646 11.8141 168.909 12.2113 169.264 12.528L169.597 12.1552L169.93 11.7824C169.702 11.5783 169.542 11.3313 169.458 11.0678L168.981 11.2193ZM169.597 12.1552L169.264 12.5288L175.192 17.8021L175.524 17.4286L175.856 17.055L169.929 11.7817L169.597 12.1552ZM175.524 17.4286L175.024 17.4135L175.018 17.6206L175.518 17.6357L176.017 17.6508L176.024 17.4437L175.524 17.4286ZM175.518 17.6357L175.815 18.0374L196.601 2.63643L196.303 2.23468L196.006 1.83294L175.22 17.2339L175.518 17.6357Z",fill:"#171719"}),$.jsx("path",{d:"M180.207 21.675L196.235 2.58252L195.155 3.35388L185.5 13.5001L175.303 24.1272L180.207 21.675Z",fill:"white",fillOpacity:"0.2",stroke:"#171719"}),$.jsx("path",{d:"M15.5939 16.7516C21.7694 18.7177 36.2047 31.6933 44.5416 67.8678C54.9628 113.086 86.8053 93.4259 93.1738 70.4892C99.5423 47.5524 111.7 14.7856 133.122 12.1643C154.543 9.54295 149.168 35.4808 156.859 38.3777C163.806 40.9946 173.648 30.2951 175.385 24.6155",stroke:"#171719",strokeOpacity:"0.2",strokeLinecap:"round",strokeDasharray:"3.07 3.07"}),$.jsx("path",{d:"M127.56 75.6769C130.4 74.0368 131.171 70.0548 129.282 66.7827L94.4345 6.42468C92.5456 3.15307 88.7112 1.82944 85.8706 3.4695L76.4084 8.93247C78.0504 14.3855 76.2801 20.1157 71.7551 22.7282C67.2302 25.3407 61.3825 24.0087 57.481 19.8602L48.0189 25.3231C45.1784 26.9631 44.4074 30.9457 46.2962 34.2173L81.144 94.5753C83.0331 97.8474 86.8673 99.1705 89.7079 97.5305L99.1485 92.0799C97.4521 86.5959 99.216 80.8088 103.77 78.1796C108.324 75.5503 114.218 76.9162 118.119 81.1275L127.56 75.6769Z",fill:"white",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M56.5449 51.876L64.9831 47.0041L56.5449 51.876Z",fill:"white"}),$.jsx("path",{d:"M56.5449 51.876L64.9831 47.0041",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M76.3552 40.4387L84.7934 35.5669L76.3552 40.4387Z",fill:"white"}),$.jsx("path",{d:"M76.3552 40.4387L84.7934 35.5669",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M96.205 28.9783L104.643 24.1065L96.205 28.9783Z",fill:"white"}),$.jsx("path",{d:"M96.205 28.9783L104.643 24.1065",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("mask",{id:"mask0_3781_29162",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"44",y:"1",width:"88",height:"99",children:$.jsx("path",{d:"M127.56 75.6769C130.401 74.0368 131.172 70.0548 129.283 66.7827L94.435 6.42468C92.5461 3.15307 88.7117 1.82944 85.8711 3.4695L76.4089 8.93247C78.0509 14.3855 76.2806 20.1157 71.7556 22.7282C67.2307 25.3407 61.383 24.0087 57.4815 19.8602L48.0194 25.3231C45.1789 26.9631 44.4079 30.9457 46.2967 34.2173L81.1444 94.5753C83.0336 97.8474 86.8678 99.1705 89.7084 97.5305L99.149 92.0799C97.4526 86.5959 99.2165 80.8088 103.77 78.1796C108.324 75.5503 114.218 76.9162 118.119 81.1275L127.56 75.6769Z",fill:"white",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),$.jsx("g",{mask:"url(#mask0_3781_29162)",children:$.jsx("path",{d:"M71.7472 109.502L66.8941 107.755L109.216 5.21107L110.314 2.40586L113.954 3.71682L131.485 101.569C112.988 104.723 75.1449 110.726 71.7472 109.502Z",fill:"black",fillOpacity:"0.1"})}),$.jsx("path",{d:"M123.623 91.9718C125.983 92.878 128.742 91.4092 129.786 88.6912L149.041 38.5547C150.084 35.8371 149.018 32.8987 146.658 31.9925L138.798 28.974C136.329 32.6014 132.038 34.3194 128.279 32.8758C124.521 31.4323 122.483 27.2841 123.076 22.9359L115.217 19.9174C112.857 19.0112 110.098 20.4804 109.054 23.1979L89.7994 73.3345C88.7555 76.0525 89.8221 78.9905 92.1816 79.8966L100.024 82.9083C102.486 79.2333 106.807 77.4839 110.59 78.9367C114.373 80.3895 116.412 84.5817 115.781 88.9601L123.623 91.9718Z",fill:"var(--color-primary-light)",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M103.447 37.8979L110.456 40.5899L103.447 37.8979Z",fill:"#1C70E9"}),$.jsx("path",{d:"M103.447 37.8979L110.456 40.5899",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M119.902 44.2173L126.911 46.9092L119.902 44.2173Z",fill:"#1C70E9"}),$.jsx("path",{d:"M119.902 44.2173L126.911 46.9092",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M136.39 50.5498L143.399 53.2417L136.39 50.5498Z",fill:"#1C70E9"}),$.jsx("path",{d:"M136.39 50.5498L143.399 53.2417",stroke:"#171719",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HF(e){return $.jsxs("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("rect",{y:"0.5",width:"32",height:"32",rx:"16",fill:"#C8E6FA"}),$.jsx("path",{d:"M9.65385 11.3077C9.34783 11.3077 9.05434 11.4292 8.83795 11.6456C8.62157 11.862 8.5 12.1555 8.5 12.4615V22.8461C8.5 23.1522 8.62157 23.4456 8.83795 23.662C9.05434 23.8784 9.34783 24 9.65385 24H22.3462C22.6522 24 22.9457 23.8784 23.162 23.662C23.3784 23.4456 23.5 23.1522 23.5 22.8461V12.4615C23.5 12.1555 23.3784 11.862 23.162 11.6456C22.9457 11.4292 22.6522 11.3077 22.3462 11.3077H20.0385",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M8.5 15.9231H23.5",stroke:"#0050C3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M11.9619 9V13.6154",stroke:"#0050C3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M20.0381 9V13.6154",stroke:"#0050C3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M11.9619 11.3077H17.7311",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HR(e){return $.jsxs("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("rect",{y:"0.5",width:"32",height:"32",rx:"16",fill:"#00F0FA"}),$.jsx("path",{d:"M9.33301 15.6667L13.9997 20.3333L22.6663 12.3333",stroke:"var(--color-secondary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function H$(e){return $.jsxs("svg",{width:"32",height:"33",viewBox:"0 0 32 33",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("rect",{y:"0.5",width:"32",height:"32",rx:"16",fill:"#C8E6FA"}),$.jsx("path",{d:"M8.5 11.5H23.5V22H8.5V11.5Z",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M8.5 13L15.2558 18.0108C15.4639 18.1653 15.7276 18.25 16 18.25C16.2724 18.25 16.5361 18.1653 16.7442 18.0108L23.5 13",stroke:"var(--color-primary-pure)",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HD(e){return $.jsxs("svg",{width:"153",height:"119",viewBox:"0 0 153 119",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M47.5225 45.2719L47.5225 78.1077",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M60.209 39.3018L60.209 71.3913",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M74.3882 34.0778L74.3882 66.1674",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M33.3433 61.6898L86.3283 38.5555",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M33.3433 70.645L86.3283 48.257",stroke:"#1C70E9",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M33.3434 33.3188L85.7756 10.9435L87.0747 23.944L79.2263 27.6371L79.2263 21.7897L76.8114 20.2509L42.0972 34.7156L39.6823 38.7164L39.6823 45.4871L33.3434 48.257L33.3434 33.3188Z",fill:"var(--color-primary-light)",fillOpacity:"0.5"}),$.jsx("path",{d:"M33.7163 33.4775L12.8208 26.6269L12.8208 40.1009L33.7163 47.5224L33.7163 33.4775Z",fill:"var(--color-primary-light)",fillOpacity:"0.5"}),$.jsx("path",{opacity:"0.5",d:"M93.791 19.011V61.5157C93.791 64.9682 91.7197 68.0836 88.5362 69.4195L56.2987 82.9471C52.4833 84.5481 48.2686 81.746 48.2686 77.6083L81.9778 63.3796C85.1525 62.0396 87.216 58.9383 87.216 55.4924L87.216 12.436C90.8473 12.436 93.791 15.3798 93.791 19.011Z",fill:"#969CAA"}),$.jsx("path",{d:"M113.021 52.6827L113.47 48.8024",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M116.347 53.0682L116.796 49.1879",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M42.731 34.5941L75.6063 20.1643C77.4944 19.3356 79.6118 20.7186 79.6118 22.7805L79.6118 28.5159C79.6118 30.2168 78.606 31.7567 77.0486 32.4403L43.3188 47.2451C41.4307 48.0738 39.3133 46.6908 39.3133 44.6289L39.3133 39.8265C39.3133 37.5587 40.6544 35.5055 42.731 34.5941Z",stroke:"#171719",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M111.572 40.9377L110.916 46.6031C110.832 47.3347 111.36 47.9969 112.096 48.0821L118.299 48.8001C119.035 48.8853 119.701 48.3612 119.786 47.6296L120.441 41.9642C120.526 41.2326 119.998 40.5704 119.262 40.4852L113.058 39.7672C112.322 39.682 111.657 40.206 111.572 40.9377Z",stroke:"#171719",strokeWidth:"2.85714"}),$.jsx("path",{d:"M33.3433 32.7689V83.3316L86.3283 61.0316V10.1973",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M32.6315 33.3316L86.3284 9.76553L67.5021 3.10789C66.8234 2.86789 66.0792 2.89291 65.4181 3.17794L12.4478 26.0194L32.6315 33.3316Z",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M12.4478 25.8806V76.1929L32.3802 83.3316L71.403 67.2594",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M87.0746 24.3763L79.8055 27.5853M12.4478 41.1319L32.7515 48.2569L39.3963 45.3838",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M78.1194 98.257L89.3134 98.257",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M6.47754 98.257L52.7462 98.257",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("circle",{cx:"2.98817",cy:"2.98817",r:"1.5596",transform:"matrix(0.960714 -0.27754 0 1 44.2114 36.9978)",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("circle",{cx:"2.98817",cy:"2.98817",r:"1.5596",transform:"matrix(0.960714 -0.27754 0 1 51.5383 33.945)",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("circle",{cx:"2.98817",cy:"2.98817",r:"1.5596",transform:"matrix(0.960714 -0.27754 0 1 70.4658 25.3972)",stroke:"#171719",strokeWidth:"2.85714",strokeLinejoin:"round"}),$.jsx("path",{d:"M20.6832 72.8838C0.725881 72.8838 -5.07466 52.3779 12.327 34.9054M116.552 39.6866C118.595 24.0961 115.701 3.34659 98.1145 2.10559C91.1898 1.61694 85.1804 2.8451 75.1343 5.3582",stroke:"#171719",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M128.086 36.5554L132.314 29.2334",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M132.324 50.8083L139.646 55.0357",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M134.921 42.6483L143.087 40.4601",stroke:"var(--color-primary-light)",strokeWidth:"2.85714",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M138.071 93.8277L143.423 92.1305C144.344 91.8384 145.284 92.526 145.284 93.4922L145.284 95.3543C145.284 95.9769 144.88 96.5278 144.287 96.716L138.935 98.4132C138.014 98.7053 137.075 98.0178 137.075 97.0515L137.075 95.1894C137.075 94.5668 137.478 94.0159 138.071 93.8277Z",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M129.387 92.2868L86.3284 73.7603L107.576 66.5176C108.238 66.292 108.96 66.3169 109.604 66.5876L1
16752 84.3903L129.387 92.2868Z",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M109.339 78.854L100.507 74.8957L109.129 71.7739C109.808 71.528 110.555 71.5484 111.22 71.8311L119.164 75.2094L109.339 78.854Z",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M128.035 86.3166L119.911 83.15L127.882 80.64C128.487 80.4498 129.137 80.4657 129.731 80.6855L137.075 83.401L128.035 86.3166Z",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M129.077 92.5623V105.108M86.3284 74.3763V87.2187L130.006 105.72L152 97.7639V84.6065",stroke:"#969CAA",strokeWidth:"2",strokeLinejoin:"round"}),$.jsx("path",{d:"M141.851 95.9369C157.776 125.091 116.626 120 104.962 110.438",stroke:"#969CAA",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Hz(e){return $.jsx("svg",{width:"current",height:"current",viewBox:"0 0 7 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:$.jsx("path",{d:"M1 11.5L5.88329 6.77231C5.92028 6.73658 5.94964 6.69414 5.96966 6.64741C5.98969 6.60068 6 6.55059 6 6.5C6 6.44941 5.98969 6.39932 5.96966 6.35259C5.94964 6.30586 5.92028 6.26342 5.88329 6.22769L1 1.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function HI(e){return $.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{stroke:"var(--color-whitelabel-header-text, #171719)",fill:"var(--color-whitelabel-header-text, #171719)"},...e,children:[$.jsx("path",{d:"M16 28C22.6274 28 28 22.6274 28 16C28 9.37258 22.6274 4 16 4C9.37258 4 4 9.37258 4 16C4 22.6274 9.37258 28 16 28Z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),$.jsx("path",{d:"M13.2307 13.2308C13.2307 12.6831 13.3931 12.1477 13.6974 11.6923C14.0017 11.2369 14.4342 10.8819 14.9402 10.6723C15.4462 10.4627 16.003 10.4079 16.5402 10.5148C17.0774 10.6216 17.5708 10.8854 17.9581 11.2726C18.3454 11.6599 18.6091 12.1534 18.716 12.6905C18.8228 13.2277 18.768 13.7845 18.5584 14.2905C18.3488 14.7965 17.9938 15.229 17.5384 15.5333C17.083 15.8376 16.5476 16 15.9999 16V17.8462",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"}),$.jsx("path",{d:"M16 20.6155C15.7261 20.6155 15.4584 20.6967 15.2307 20.8488C15.003 21.001 14.8256 21.2172 14.7208 21.4702C14.616 21.7232 14.5885 22.0016 14.642 22.2702C14.6954 22.5388 14.8273 22.7855 15.0209 22.9792C15.2145 23.1728 15.4613 23.3047 15.7298 23.3581C15.9984 23.4115 16.2768 23.3841 16.5298 23.2793C16.7828 23.1745 16.9991 22.997 17.1512 22.7693C17.3034 22.5416 17.3846 22.2739 17.3846 22.0001C17.3798 21.6344 17.2324 21.2849 16.9738 21.0263C16.7151 20.7677 16.3657 20.6203 16 20.6155Z"})]})}function HH(e){return $.jsxs("svg",{width:"49",height:"48",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("circle",{cx:"24.5",cy:"24",r:"23",fill:"#CEF2E5",stroke:"#00C67F",strokeWidth:"2"}),$.jsx("path",{d:"M17.0983 25.8505L22.4814 31.4019C25.0146 24.1253 27.1242 20.9323 31.902 16.5981",stroke:"#00C67F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HB(e){return $.jsxs("svg",{width:"49",height:"48",viewBox:"0 0 49 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("circle",{cx:"24.5",cy:"24",r:"23",fill:"#FFE1D7",stroke:"#F53C5A",strokeWidth:"2"}),$.jsx("path",{d:"M32.5 16L16.5 32M16.5 16L32.5 32",stroke:"#F53C47",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HW(e){return $.jsxs("svg",{width:41,height:40,viewBox:"0 0 41 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsxs("g",{clipPath:"url(#clip0_2215_17730)",children:[$.jsx("path",{d:"M34.7919 11.9864C33.1106 13.6285 30.3846 13.6285 28.7035 11.9864C27.0223 10.3442 27.0223 7.68181 28.7035 6.03967C29.1697 5.58438 29.2986 4.80908 28.8325 4.35379L28.6163 4.14262C26.3747 1.95311 24.1724 1.95311 20.4986 4.14262L19.2853 4.97074C13.7658 8.73781 8.968 13.4241 5.11122 18.8152L4.26326 20.0004C2.02162 23.5886 2.02162 25.7399 4.26326 27.9294L4.47932 28.1404C4.94553 28.5957 5.73947 28.4696 6.20568 28.0143C7.88689 26.3722 10.6127 26.3722 12.2939 28.0143C13.9752 29.6565 13.9752 32.3
167188 12.2939 33.961C11.8277 34.4165 11.6986 35.1919 12.1649 35.6472L12.381 35.8582C14.6226 38.0479 16.8251 38.0479 20.4986 35.8582L21.712 35.0302C27.2316 31.2631 32.0295 26.5767 35.8862 21.1854L36.734 20.0004C38.9758 16.4122 38.9758 14.2611 36.734 12.0715L36.5179 11.8603C36.0518 11.405 35.258 11.5311 34.7919 11.9864Z",stroke:"#767380",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("circle",{cx:29.5625,cy:29.3755,r:9.875,fill:"white",stroke:"#767380",strokeWidth:1.5}),$.jsx("path",{d:"M33.303 25.6255L25.8125 33.1255M25.822 25.6255L33.3125 33.1255",stroke:"#767380",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})]}),$.jsx("defs",{children:$.jsx("clipPath",{children:$.jsx("rect",{width:40,height:40,fill:"white",transform:"translate(0.5)"})})})]})}function HV(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"111",height:"77",viewBox:"0 0 111 77",fill:"none",...e,children:[$.jsx("path",{d:"M79.6348 74.5613C78.1074 74.6726 76.711 74.1316 75.1714 72.8226L74.8575 72.5557C74.5771 72.3173 74.51 71.7554 74.8597 71.2807L74.9352 71.187C77.3023 68.4966 77.0096 64.431 74.2823 62.1119C71.5614 59.7984 67.4456 60.0986 65.084 62.7825C64.6497 63.2762 63.9954 63.3207 63.6851 63.0568L63.6851 63.0578L63.3712 62.7899C61.8303 61.48 61.0899 60.2044 60.9827 58.7145C60.8725 57.1829 61.4207 55.3054 62.7449 52.7806L63.763 51.1045C68.4282 43.4219 74.429 36.6006 81.4915 30.9544L83.0414 29.7163C85.3882 28.068 87.2028 27.2617 88.7683 27.1476C90.2955 27.0363 91.6915 27.5776 93.2308 28.8863L93.5448 29.1542L93.5457 29.1541C93.8256 29.3925 93.8924 29.9541 93.5425 30.4292L93.467 30.5228C91.1001 33.2133 91.3927 37.2789 94.12 39.598L94.121 39.5979C96.842 41.9112 100.957 41.6112 103.318 38.9273C103.753 38.4335 104.408 38.3881 104.718 38.652L105.032 38.9189C106.573 40.2287 107.312 41.5046 107.42 42.9944C107.53 44.5249 106.984 46.4013 105.662 48.923L104.639 50.6054C99.974 58.2877 93.973 65.1083 86.9107 70.7545L85.359 71.9956C83.0134 73.6426 81.1997 74.4471 79.6348 74.5613Z",fill:"white",stroke:"#D3D2D9",strokeWidth:"1.33333"}),$.jsx("path",{d:"M65.5834 63.2223C67.7045 60.8116 71.4055 60.5418 73.8494 62.6196C76.2934 64.6975 76.5552 68.3362 74.4341 70.7469C73.846 71.4153 73.7472 72.4876 74.4248 73.0637L74.7391 73.3309C77.9978 76.1014 80.9878 75.8834 85.7603 72.5274L87.3261 71.2755C94.4493 65.5807 100.502 58.7012 105.208 50.9515L106.243 49.2476C108.934 44.1218 108.722 41.1817 105.463 38.4113L105.149 38.1442C104.472 37.5681 103.406 37.8191 102.818 38.4874C100.697 40.8981 96.9961 41.168 94.5521 39.0901C92.1081 37.0122 91.8463 33.3737 93.9673 30.9629C94.5555 30.2942 94.6545 29.2217 93.9768 28.6457L93.6626 28.3786C90.4039 25.6079 87.4136 25.8259 82.6414 29.1821L81.0755 30.434C73.9522 36.1288 67.8991 43.0085 63.193 50.7584L62.1585 52.4619C59.4678 57.5878 59.6793 60.5277 62.9382 63.2981L63.2524 63.5654C63.93 64.1415 64.9954 63.8907 65.5834 63.2223Z",fill:"white",stroke:"#D3D2D9",strokeWidth:"2.57",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M77.2988 34.71L101.313 56.9851",stroke:"#D3D2D9",strokeWidth:"2.57",strokeLinecap:"round",strokeDasharray:"6 6"}),$.jsx("path",{d:"M29.7306 69.4584C28.0433 66.9419 28.6694 63.4771 31.1289 61.7201C33.5884 59.9628 36.95 60.5784 38.6373 63.0949C39.1051 63.7927 40.0545 64.1357 40.7363 63.6486L41.0526 63.4226C44.332 61.0797 44.8378 58.2805 42.917 53.1049L42.15 51.3713C38.6612 43.4851 33.8461 36.3036 27.9248 30.1552L26.623 28.8035C22.6073 25.1248 19.8911 24.6274 16.6117 26.9704L16.2956 27.1962C15.6136 27.6835 15.5906 28.7218 16.0583 29.4196C17.7456 31.9361 17.1196 35.4006 14.6601 37.1579C12.2005 38.915 8.83901 38.2996 7.15166 35.7831C6.68356 35.0852 5.73417 34.7419 5.05228 35.2292L4.73612 35.4551C1.45658 37.798 0.950747 40.5974 2.87181 45.7727L3.63872 47.5064C7.1275 55.3927 11.9428 62.5743 17.8642 68.7227L19.1657 70.0742C23.1815 73.7531 25.8976 74.2504 29.177 71.9072L29.4933 71.6814C30.1752 71.1942 30.1984 70.1561 29.7306 69.4584Z",stroke:"#D3D2D9",strokeWidth:"2.57",strokeLinecap:"round"}),$.jsx("path",{d:"M5.00293 50.9126L30.8552 34.0843",stroke:"#D3D2D9",strokeWidth:"2.57",strokeLinecap:"round",strokeDasharray:"6 6"}),$.jsx("path",{d:"M51.4241 70.2156C51.3599 66.2284 54.5169 62.8676 58.4749 62.7094C62.4332 62.5509 65.694 65.6547 65.7582 69.6418C65.7759 70.7474 66.5762 71.8101 67.6736 71.7663L68.1826 71.7459C73.4603 71.5347 76.0107 68.8195 77.5836 61.7376L77.9745 59.2763C79.7528 48.0799 79.5696 36.7016 77.4333 25.6618L76.9636 23.2346C75.165 16.2879 72.5302 13.78 67.2526 13.9912L66.7439 14.0115C65.6463 14.0555 64.8813 15.1814 64.899 16.2869C64.9633 20.2741 61.8065 23.6347 57.8483 23.7931C53.89 23.9515 50.6293 20.8478 50.5651 16.8607C50.547 15.7548 49.74
16769 14.6917 48.6494 14.7358L48.1406 14.7562C42.8628 14.9672 40.3121 17.6827 38.7396 24.7644L38.3486 27.2257C36.5702 38.4223 36.7536 49.8008 38.8901 60.8407L39.3596 63.2674C41.1582 70.2144 43.7928 72.7221 49.0706 72.5107L49.5796 72.4905C50.677 72.4467 51.442 71.321 51.4241 70.2156Z",fill:"#525059"}),$.jsx("path",{d:"M47.0374 62.9163C46.9732 58.9291 50.1301 55.5683 54.0882 55.41C58.0465 55.2516 61.3073 58.3554 61.3715 62.3425C61.3892 63.4481 62.1895 64.5108 63.2869 64.4669L63.7959 64.4466C69.0735 64.2353 71.624 61.5202 73.1969 54.4383L73.5878 51.977C75.3661 40.7806 75.1829 29.4023 73.0466 18.3625L72.5769 15.9352C70.7783 8.98855 68.1435 6.48068 62.8658 6.69189L62.3571 6.71222C61.2596 6.75621 60.4946 7.88211 60.5123 8.98762C60.5765 12.9747 57.4198 16.3354 53.4615 16.4938C49.5033 16.6521 46.2426 13.5485 46.1783 9.56135C46.1603 8.45552 45.3602 7.39243 44.2627 7.43649L43.7539 7.45685C38.4761 7.66787 35.9253 10.3833 34.3529 17.465L33.9619 19.9264C32.1835 31.123 32.3669 42.5015 34.5034 53.5414L34.9729 55.9681C36.7715 62.9151 39.4061 65.4228 44.6839 65.2114L45.1929 65.1912C46.2902 65.1473 47.0552 64.0217 47.0374 62.9163Z",fill:"#ABCDFF"}),$.jsx("path",{d:"M47.0374 62.9163C46.9732 58.9291 50.1301 55.5683 54.0882 55.41C58.0465 55.2516 61.3073 58.3554 61.3715 62.3425C61.3892 63.4481 62.1895 64.5108 63.2869 64.4669L63.7959 64.4466C69.0735 64.2353 71.624 61.5202 73.1969 54.4383L73.5878 51.977C75.3661 40.7806 75.1829 29.4023 73.0466 18.3625L72.5769 15.9352C70.7783 8.98855 68.1435 6.48068 62.8658 6.69189L62.3571 6.71222C61.2596 6.75621 60.4946 7.88211 60.5123 8.98762C60.5765 12.9747 57.4198 16.3354 53.4615 16.4938C49.5033 16.6521 46.2426 13.5485 46.1783 9.56135C46.1603 8.45552 45.3602 7.39243 44.2627 7.43649L43.7539 7.45685C38.4761 7.66787 35.9253 10.3833 34.3529 17.465L33.9619 19.9264C32.1835 31.123 32.3669 42.5015 34.5034 53.5414L34.9729 55.9681C36.7715 62.9151 39.4061 65.4228 44.6839 65.2114L45.1929 65.1912C46.2902 65.1473 47.0552 64.0217 47.0374 62.9163Z",fill:"white",stroke:"#171719",strokeWidth:"2.57",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M33.9209 26.8052L73.4205 24.8338",stroke:"#171719",strokeWidth:"2.57",strokeLinecap:"round",strokeDasharray:"6 6"}),$.jsx("circle",{cx:"67.6768",cy:"14",r:"12.9053",fill:"#FDE0E1",stroke:"#F53C47",strokeWidth:"2.18948"}),$.jsx("path",{d:"M72.6641 9L62.6768 19M62.6894 9L72.6768 19",stroke:"#F53C47",strokeWidth:"2.18948",strokeLinecap:"round",strokeLinejoin:"round"})]})}function HU(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",...e,children:[$.jsx("path",{d:"M1 10.5449C1 12.325 1.52784 14.065 2.51677 15.5451C3.5057 17.0251 4.91131 18.1786 6.55585 18.8598C8.20038 19.541 10.01 19.7193 11.7558 19.372C13.5016 19.0247 15.1053 18.1676 16.364 16.9089C17.6226 15.6502 18.4798 14.0466 18.8271 12.3007C19.1743 10.5549 18.9961 8.74531 18.3149 7.10077C17.6337 5.45624 16.4802 4.05063 15.0001 3.0617C13.5201 2.07277 11.78 1.54493 9.99999 1.54493C7.42181 1.54207 4.94192 2.53403 3.07692 4.31416",stroke:"#767380",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M3.76946 1.54492L3.07715 4.31415L5.84638 5.00646",stroke:"#767380",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M8 12.4199C8 13.3574 8.89333 13.6699 10 13.6699C11.1067 13.6699 12 13.6699 12 12.4199C12 10.5449 8 10.5449 8 8.66991C8 7.41992 8.89333 7.41992 10 7.41992C11.1067 7.41992 12 7.89492 12 8.66991",stroke:"#767380",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M10 13.6699V15.5449",stroke:"#767380",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M10 7.4199V5.54492",stroke:"#767380",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function Hq(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"138",height:"97",viewBox:"0 0 138 97",fill:"none",...e,children:[$.jsx("path",{d:"M129.928 25.4015L130.31 58.7583C130.37 64.0249 126.989 68.7152 121.973 70.3229L110.506 73.9986C107.835 74.8545 104.95 74.7482 102.349 73.6981L82.1219 65.5293C77.6915 63.7401 74.7909 59.4405 74.7909 54.6625L101.773 65.9101C104.417 67.0124 107.369 67.1323 110.094 66.2481L115.657 64.4428C120.604 62.8377 123.953 58.2365 123.953 53.0361C123.953 39.4593 123.952 19.4934 123.952 19.4934C127.226 19.4934 129.891 22.1277 129.928 25.4015Z",fill:"#525059"}),$.jsx("path",{d:"M105.646 22.8908L72.2906 9.13354L71.2949 16.7492L76.0244 18.4688L78.2647 16.2578L99.4231 25.5931L100.17 29.2781L105.646 31.4891L105.646 22.8908Z",fill:"var(--color-primary-light)",fillOpacity:"0.5"}),$.jsx("path",{d:"M106.191 23.3011L123.64 17.3125L123.64 25.5468L106.191 32.0344L106.191 23.3011Z",fill:"var(--color-primary-light)",fillOpacity:"0.5"}),$.jsx("path",{d:"M34.3818 40.4346L33.9808 36.9693",stroke:"var(--color-primary-light)",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M31.4111 40.7788L31.0101 37.3135",stroke:"var(--color-primary-light)",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M97.281 24.3L80.6541 16.8759C78.8183 16.0562 76.7471 17.3996 76.7471 19.4102C76.7471 21.0528 77.713 22.5419 79.2129 23.2117L96.7324 31.0343C98.3585 31.7604 100.193 30.5704 100.193 28.7895C100.193 26.8496 99.0524 25.0909 97.281 24.3Z",stroke:"#171719",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M111.894 55.9002L118.254 53.6816C119.554 53.2281 120.913 54.1932 120.913 55.57L120.913 58.0796C120.913 58.9302 120.375 59.6878 119.572 59.968L113.212 62.1866C111.912 62.64 110.553 61.675 110.553 60.2982L110.553 57.7886C110.553 56.9379 111.091 56.1804 111.894 55.9002Z",stroke:"#171719",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M12.7018 73.6527L10.1588 72.7656C8.85877 72.3121 7.50002 73.2933 7.50001 74.6701C7.5 75.5207 8.03808 76.2864 8.84126 76.5666L11.3843 77.4537C12.6843 77.9072 14.0431 76.9261 14.0431 75.5492C14.0431 74.6986 13.505 73.9329 12.7018 73.6527Z",stroke:"#D3D2D9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}
167),$.jsx("path",{d:"M35.6759 29.946L36.2615 35.0054C36.3371 35.6588 35.8655 36.2502 35.2081 36.3262L29.6681 36.9674C29.0107 37.0435 28.4165 36.5755 28.3409 35.9221L27.7553 30.8627C27.6797 30.2093 28.1513 29.6179 28.8087 29.5418L34.3487 28.9006C35.0061 28.8246 35.6003 29.2926 35.6759 29.946Z",stroke:"#171719",strokeWidth:"2.5"}),$.jsx("path",{d:"M105.646 22.3507V67.4761L71.2953 52.8657V30.1817V16.5136V7.4978",stroke:"#171719",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M105.615 22.765L71.295 7.68169L87.5841 2.0103C88.527 1.68202 89.5585 1.71821 90.4761 2.11176L123.64 16.3361L105.615 22.765Z",stroke:"#171719",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M123.64 16.7671V61.57L106.127 68.0212L76.1541 54.9351",stroke:"#171719",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M21.4038 72.9287L59.2992 56.2984L41.1587 49.9916C40.217 49.6642 39.1869 49.7003 38.2704 50.0928L1.50195 65.8404L21.4038 72.9287Z",stroke:"#D3D2D9",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M39.512 60.3877L47.2552 57.2064L40.1384 54.8443C39.2536 54.5506 38.2941 54.5752 37.4255 54.9138L30.8975 57.4586L39.512 60.3877Z",stroke:"#D3D2D9",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M22.6087 67.4761L30.3518 64.2948L23.2351 61.9326C22.3503 61.639 21.3908 61.6636 20.5222 62.0022L13.9941 64.5469L22.6087 67.4761Z",stroke:"#D3D2D9",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M71.295 16.7671L76.6575 19.1526M123.64 25.527L105.615 32.0343L99.7165 29.4102",stroke:"#171719",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M21.6761 72.656V83.8336M59.2988 56.4529V67.895L20.8582 84.3788L1.5016 77.2905V65.5676",stroke:"#D3D2D9",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M71.2949 80.5623L30.4007 80.5623",stroke:"#D3D2D9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M78.5522 39.7774C78.5522 45.3531 82.8946 51.1275 88.2512 52.675C93.6078 54.2224 97.9502 50.9569 97.9502 45.3813C97.9502 39.8056 93.6078 34.0312 88.2512 32.4837C82.8946 30.9362 78.5522 34.2017 78.5522 39.7774Z",fill:"var(--color-primary-light)",fillOpacity:"0.5",stroke:"var(--color-primary-light)",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("circle",{cx:"2.66857",cy:"2.66857",r:"2.66857",transform:"matrix(-0.960714 -0.27754 0 1 90.8154 40.6519)",stroke:"var(--color-primary-light)",strokeWidth:"2.5",strokeLinejoin:"round"}),$.jsx("path",{d:"M116.509 57.9872C144.583 57.9873 136.132 27.1269 123.591 27.127",stroke:"#171719",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M10.2711 75.7911C-3.95038 101.827 32.798 97.2807 43.2144 88.741",stroke:"#D3D2D9",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M31.4912 29.0357C31.4912 -5.86083 59.5237 24.1281 70.9743 24.1281",stroke:"#171719",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M20.9287 26.0322L17.1535 19.4933",stroke:"var(--color-primary-light)",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M17.1436 38.7607L10.6047 42.536",stroke:"var(--color-primary-light)",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M14.8252 31.4736L7.53202 29.5194",stroke:"var(--color-primary-light)",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}let HG={},HY={};function HZ(e,t){try{let n=(HG[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(t).split("GMT")[1];return n in HY?HY[n]:HQ(n,n.split(":"))}catch{if(e in HY)return HY[e];let t=e?.match(HK);return t?HQ(e,t.slice(1)):NaN}}let HK=/([+-]\d\d):?(\d\d)?/;function HQ(e,t){let n=+(t[0]||0),o=+(t[1]||0),i=+(t[2]||0)/60;return HY[e]=60*n+o>0?60*n+o+i:60*n-o-i}class HX extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(HZ(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),H0(this),H1(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new HX(...t,e):new HX(Date.now(),e)}withTimeZone(e){return new HX(+this,e)}getTimezoneOffset(){let e=-HZ(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),H1(this),+this}[Symbol.for("constructDateFrom")](e){return new HX(+new Date(e),this.timeZone)}}let HJ=/^(get|set)(?!UTC)/;function H1(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*HZ(e.timeZone,e))))}function H0(e){let t=HZ(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),o=new Date(+e);o.setUTCHours(o.getUTCHours()-1);let i=-new Date(+e).getTimezoneOffset(),l=i- -new Date(+o).getTimezoneOffset(),s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();l&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+l);let u=i-n;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);let c=new Date(+e);c.setUTCSeconds(0);let d=i>0?c.getSeconds():(c.getSeconds()-60)%60,f=Math.round(-(60*HZ(e.timeZone,e)))%60;(f||d)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+f),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+f+
167d));let h=HZ(e.timeZone,e),p=h>0?Math.floor(h):Math.ceil(h),m=-new Date(+e).getTimezoneOffset()-p-u;if(p!==n&&m){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+m);let t=HZ(e.timeZone,e),n=p-(t>0?Math.floor(t):Math.ceil(t));n&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+n),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n))}}Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!HJ.test(e))return;let t=e.replace(HJ,"$1UTC");HX.prototype[t]&&(e.startsWith("get")?HX.prototype[e]=function(){return this.internal[t]()}:(HX.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),Date.prototype.setFullYear.call(this,this.internal.getUTCFullYear(),this.internal.getUTCMonth(),this.internal.getUTCDate()),Date.prototype.setHours.call(this,this.internal.getUTCHours(),this.internal.getUTCMinutes(),this.internal.getUTCSeconds(),this.internal.getUTCMilliseconds()),H0(this),+this},HX.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),H1(this),+this}))});class H2 extends HX{static tz(e,...t){return t.length?new H2(...t,e):new H2(Date.now(),e)}toISOString(){let[e,t,n]=this.tzComponents(),o=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,n,o]=this.internal.toUTCString().split(" ");return`${e?.slice(0,-1)} ${n} ${t} ${o}`}
167toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,n,o]=this.tzComponents();return`${e} GMT${t}${n}${o} (${function(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:t?.timeZone||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),n=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,n]}withTimeZone(e){return new H2(+this,e)}[Symbol.for("constructDateFrom")](e){return new H2(+new Date(e),this.timeZone)}}let H3=Symbol.for("constructDateFrom");function H5(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&H3 in e?e[H3](t):e instanceof Date?new e.constructor(t):new Date(t)}function H4(e,t){return H5(t||e,e)}function H6(e,t,n){let o=H4(e,n?.in);return isNaN(t)?H5(e,NaN):(t&&o.setDate(o.getDate()+t),o)}function H7(e,t,n){let o=H4(e,n?.in);if(isNaN(t))return H5(e,NaN);if(!t)return o;let i=o.getDate(),l=H5(e,o.getTime());return l.setMonth(o.getMonth()+t+1,0),i>=l.getDate()?l:(o.setFullYear(l.getFullYear(),l.getMonth(),i),o)}let H8={};function H9(e,t){let n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??H8.weekStartsOn??H8.locale?.options?.weekStartsOn??0,o=H4(e,t?.in),i=o.getDay();return o.setDate(o.getDate()-((i<n?7:0)+i-n)),o.setHours(0,0,0,0),o}function Be(e,t){return H9(e,{...t,weekStartsOn:1})}function Bt(e,t){let n=H4(e,t?.in),o=n.getFullYear(),i=H5(n,0);i.setFullYear(o+1,0,4),i.setHours(0,0,0,0);let l=Be(i),s=H5(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);let u=Be(s);return n.getTime()>=l.getTime()?o+1:n.getTime()>=u.getTime()?o:o-1}function Br(e){let t=H4(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Bn(e,...t){let n=H5.bind(null,t.find(e=>"object"==typeof e));return t.map(n)}function Ba(e,t){let n=H4(e,t?.in);return n.setHours(0,0,0,0),n}function Bo(e,t,n){let[o,i]=Bn(n?.in,e,t),l=Ba(o),s=Ba(i);return Math.round((+l-Br(l)-(+s-Br(s)))/864e5)}function Bi(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function Bl(e,t){let[n,o]=Bn(e,t.start,t.end);return{start:n,end:o}}function Bs(e,t){let n=H4(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Bu(e,t){let n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??H8.weekStartsOn??H8.locale?.options?.weekStartsOn??0,o=H4(e,t?.in),i=o.getDay();return o.setDate(o.getDate()+((i<n?-7:0)+6-(i-n))),o.setHours(23,59,59,999),o}let Bc={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function Bd(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let Bf={date:Bd({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:Bd({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}
167),dateTime:Bd({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},Bh={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Bp(e){return(t,n)=>{let o;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=n?.width?String(n.width):t;o=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=n?.width?String(n.width):e.defaultWidth;o=e.values[i]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function Bm(e){return(t,n={})=>{let o;let i=n.width,l=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(l);if(!s)return null;let u=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(c,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(c,e=>e.test(u));return o=e.valueCallback?e.valueCallback(d):d,{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(u.length)}}}let Bg={code:"en-US",formatDistance:(e,t,n)=>{let o;let i=Bc[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:Bf,formatRelative:(e,t,n,o)=>Bh[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Bp({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Bp({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:Bp({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Bp({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Bp({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(WH={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(WH.matchPattern);if(!n)return null;let o=n[0],i=e.match(WH.parsePattern);if(!i)return null;let l=WH.valueCallback?WH.valueCallback(i[0]):i[0];return{value:l=t.valueCallback?t.valueCallback(l):l,rest:e.slice(o.length)}}),era:Bm({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:Bm({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:Bm({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:Bm({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:Bm({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};function Bv(e,t){let n=H4(e,t?.in);return Math.round((+Be(n)-+function(e,t){let n=Bt(e,void 0),o=H5(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),Be(o)}(n))/6048e5)+1}function By(e,t){let n=H4(e,t?.in),o=n.getFullYear(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??H8.firstWeekContainsDate??H8.locale?.options?.firstWeekContainsDate??1,l=H5(t?.in||e,0);l.setFullYear(o+1,0,i),l.setHours(0,0,0,0);let s=H9(l,t),u=H5(t?.in||e,0);u.setFullYear(o,0,i),u.setHours(0,0,0,0);let c=H9(u,t);return+n>=+s?o+1:+n>=+c?o:o-1}function Bb(e,t){let n=H4(e,t?.in);return Math.round((+H9(n,t)-+function(e,t){let n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??H8.firstWeekContainsDate??H8.locale?.options?.firstWeekContainsDate??1,o=By(e,t),i=H5(t?.in||e,0);return i.setFullYear(o,0,n),i.setHours(0,0,0,0),H9(i,t)}(n,t))/6048e5)+1}function Bw(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let Bx={y(e,t){let n=e.getFullYear(),o=n>0?n:1-n;return Bw("yy"===t?o%100:o,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):Bw(n+1,2)},d:(e,t)=>Bw(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];
167default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>Bw(e.getHours()%12||12,t.length),H:(e,t)=>Bw(e.getHours(),t.length),m:(e,t)=>Bw(e.getMinutes(),t.length),s:(e,t)=>Bw(e.getSeconds(),t.length),S(e,t){let n=t.length;return Bw(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},BE={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},BC={G:function(e,t,n){let o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return Bx.y(e,t)},Y:function(e,t,n,o){let i=By(e,o),l=i>0?i:1-i;return"YY"===t?Bw(l%100,2):"Yo"===t?n.ordinalNumber(l,{unit:"year"}):Bw(l,t.length)},R:function(e,t){return Bw(Bt(e),t.length)},u:function(e,t){return Bw(e.getFullYear(),t.length)},Q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return Bw(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return Bw(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){let o=e.getMonth();switch(t){case"M":case"MM":return Bx.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){let o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return Bw(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){let i=Bb(e,o);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):Bw(i,t.length)},I:function(e,t,n){let o=Bv(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):Bw(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):Bx.d(e,t)},D:function(e,t,n){let o=function(e,t){let n=H4(e,void 0);return Bo(n,Bs(n))+1}(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):Bw(o,t.length)},E:function(e,t,n){let o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(l);case"ee":return Bw(l,2);case"eo":return n.ordinalNumber(l,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(l);case"cc":return Bw(l,t.length);case"co":return n.ordinalNumber(l,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let o=e.getDay(),i=0===o?7:o;switch(t){case"i":return String(i);case"ii":return Bw(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){let o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){let o;let i=e.getHours();switch(o=12===i?BE.noon:0===i?BE.midnight:i/12>
167=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){let o;let i=e.getHours();switch(o=i>=17?BE.evening:i>=12?BE.afternoon:i>=4?BE.morning:BE.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return Bx.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):Bx.H(e,t)},K:function(e,t,n){let o=e.getHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):Bw(o,t.length)},k:function(e,t,n){let o=e.getHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):Bw(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Bx.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Bx.s(e,t)},S:function(e,t){return Bx.S(e,t)},X:function(e,t,n){let o=e.getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return BM(o);case"XXXX":case"XX":return B_(o);default:return B_(o,":")}},x:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"x":return BM(o);case"xxxx":case"xx":return B_(o);default:return B_(o,":")}},O:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Bk(o,":");default:return"GMT"+B_(o,":")}},z:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Bk(o,":");default:return"GMT"+B_(o,":")}},t:function(e,t,n){return Bw(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return Bw(+e,t.length)}};function Bk(e,t=""){let n=e>0?"-":"+",o=Math.abs(e),i=Math.trunc(o/60),l=o%60;return 0===l?n+String(i):n+String(i)+t+Bw(l,2)}function BM(e,t){return e%60==0?(e>0?"-":"+")+Bw(Math.abs(e)/60,2):B_(e,t)}function B_(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+Bw(Math.trunc(n/60),2)+t+Bw(n%60,2)}let BS=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Bj=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},BO={p:Bj,P:(e,t)=>{let n;let o=e.match(/(P+)(p+)?/)||[],i=o[1],l=o[2];if(!l)return BS(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",BS(i,t)).replace("{{time}}",Bj(l,t))}},BL=/^D+$/,BA=/^Y+$/,BT=["D","DD","YY","YYYY"],BP=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,BN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,BF=/^'([^]*?)'?$/,BR=/''/g,B$=/[a-zA-Z]/;function BD(e,t,n){let o=n?.locale??H8.locale??Bg,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??H8.firstWeekContainsDate??H8.locale?.options?.firstWeekContainsDate??1,l=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??H8.weekStartsOn??H8.locale?.options?.weekStartsOn??0,s=H4(e,n?.in);if(!Bi(s)&&"number"!=typeof s||isNaN(+H4(s)))throw RangeError("Invalid time value");let u=t.match(BN).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,BO[t])(e,o.formatLong):e}).join("").match(BP).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(BF);return t?t[1].replace(BR,"'"):e}(e)};if(BC[t])return{isToken:!0,value:e};if(t.match(B$))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});o.localize.preprocessor&&(u=o.localize.preprocessor(s,u));let c={firstWeekContainsDate:i,weekStartsOn:l,locale:o};return u.map(i=>{if(!i.isToken)return i.value;let l=i.value;return(!n?.useAdditionalWeekYearTokens&&BA.test(l)||!n?.useAdditionalDayOfYearTokens&&BL.test(l))&&function(e,t,n){let o=function(e,t,n){let o="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(o),BT.includes(e))throw RangeError(o)}(l,t,String(e)),(0,BC[l[0]])(s,l,o.localize,c)}).join("")}function Bz(e,t){let n=t.startOfMonth(e),o=n.getDay();return 1===o?n:0===o?t.addDays(n,-6):t.addDays(n,-1*(o-1))}let BI={...Bg,labels:{labelDayButton:(e,t,n,o)=>{let i=(o&&"function"==typeof o.format?o.format.bind(o):(e,t)=>BD(e,t,{locale:Bg,...n}))(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>(n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>BD(e,n,{locale:Bg,...t}))(e,"LLLL yyyy"),labelGridcell:(e,t,n,o)=>{let i=(o&&"function"==typeof o.format?o.format.bind(o):(e,t)=>BD(e,t,{locale:Bg,...n}))(e,"PPPP");return t?.today&&(i=`Today, ${i}`),i},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>(n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>BD(e,n,{locale:Bg,...t}))(e,"cccc")}};class BH{constructor(e,t){this.Date=Date,this.today=()=>this.overrides?.today?this.overrides.today():this.options.timeZone?H2.tz(this.options.timeZone):new this.Date,this.newDate=(e,t,n
167)=>this.overrides?.newDate?this.overrides.newDate(e,t,n):this.options.timeZone?new H2(e,t,n,this.options.timeZone):new Date(e,t,n),this.addDays=(e,t)=>this.overrides?.addDays?this.overrides.addDays(e,t):H6(e,t),this.addMonths=(e,t)=>this.overrides?.addMonths?this.overrides.addMonths(e,t):H7(e,t),this.addWeeks=(e,t)=>this.overrides?.addWeeks?this.overrides.addWeeks(e,t):H6(e,7*t,void 0),this.addYears=(e,t)=>this.overrides?.addYears?this.overrides.addYears(e,t):H7(e,12*t,void 0),this.differenceInCalendarDays=(e,t)=>this.overrides?.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):Bo(e,t),this.differenceInCalendarMonths=(e,t)=>this.overrides?.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):function(e,t,n){let[o,i]=Bn(void 0,e,t);return 12*(o.getFullYear()-i.getFullYear())+(o.getMonth()-i.getMonth())}(e,t),this.eachMonthOfInterval=e=>this.overrides?.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):function(e,t){let{start:n,end:o}=Bl(void 0,e),i=+n>+o,l=i?+n:+o,s=i?o:n;s.setHours(0,0,0,0),s.setDate(1);let u=[];for(;+s<=l;)u.push(H5(n,s)),s.setMonth(s.getMonth()+1);return i?u.reverse():u}(e),this.eachYearOfInterval=e=>{let t=this.overrides?.eachYearOfInterval?this.overrides.eachYearOfInterval(e):function(e,t){let{start:n,end:o}=Bl(void 0,e),i=+n>+o,l=i?+n:+o,s=i?o:n;s.setHours(0,0,0,0),s.setMonth(0,1);let u=[];for(;+s<=l;)u.push(H5(n,s)),s.setFullYear(s.getFullYear()+1);return i?u.reverse():u}(e),n=new Set(t.map(e=>this.getYear(e)));if(n.size===t.length)return t;let o=[];return n.forEach(e=>{o.push(new Date(e,0,1))}),o},this.endOfBroadcastWeek=e=>this.overrides?.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):function(e,t){let n=Bz(e,t),o=function(e,t){let n=t.startOfMonth(e),o=n.getDay()>0?n.getDay():7,i=t.addDays(e,-o+1),l=t.addDays(i,34);return t.getMonth(e)===t.getMonth(l)?5:4}(e,t);return t.addDays(n,7*o-1)}(e,this),this.endOfISOWeek=e=>this.overrides?.endOfISOWeek?this.overrides.endOfISOWeek(e):Bu(e,{weekStartsOn:1}),this.endOfMonth=e=>this.overrides?.endOfMonth?this.overrides.endOfMonth(e):function(e,t){let n=H4(e,void 0),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(23,59,59,999),n}(e),this.endOfWeek=(e,t)=>this.overrides?.endOfWeek?this.overrides.endOfWeek(e,t):Bu(e,this.options),this.endOfYear=e=>this.overrides?.endOfYear?this.overrides.endOfYear(e):function(e,t){let n=H4(e,void 0),o=n.getFullYear();return n.setFullYear(o+1,0,0),n.setHours(23,59,59,999),n}(e),this.format=(e,t,n)=>{let o=this.overrides?.format?this.overrides.format(e,t,this.options):BD(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(o):o},this.getISOWeek=e=>this.overrides?.getISOWeek?this.overrides.getISOWeek(e):Bv(e),this.getMonth=(e,t)=>{var n;return this.overrides?.getMonth?this.overrides.getMonth(e,this.options):(n=this.options,H4(e,n?.in).getMonth())},this.getYear=(e,t)=>{var n;return this.overrides?.getYear?this.overrides.getYear(e,this.options):(n=this.options,H4(e,n?.in).getFullYear())},this.getWeek=(e,t)=>this.overrides?.getWeek?this.overrides.getWeek(e,this.options):Bb(e,this.options),this.isAfter=(e,t)=>this.overrides?.isAfter?this.overrides.isAfter(e,t):+H4(e)>+H4(t),this.isBefore=(e,t)=>this.overrides?.isBefore?this.overrides.isBefore(e,t):+H4(e)<+H4(t),this.isDate=e=>this.overrides?.isDate?this.overrides.isDate(e):Bi(e),this.isSameDay=(e,t)=>this.overrides?.isSameDay?this.overrides.isSameDay(e,t):function(e,t,n){let[o,i]=Bn(void 0,e,t);return+Ba(o)==+Ba(i)}(e,t),this.isSameMonth=(e,t)=>this.overrides?.isSameMonth?this.overrides.isSameMonth(e,t):function(e,t,n){let[o,i]=Bn(void 0,e,t);return o.getFullYear()===i.getFullYear()&&o.getMonth()===i.getMonth()}(e,t),this.isSameYear=(e,t)=>this.overrides?.isSameYear?this.overrides.isSameYear(e,t):function(e,t,n){let[o,i]=Bn(void 0,e,t);return o.getFullYear()===i.getFullYear()}(e,t),this.max=e=>{let t,n;return this.overrides?.max?this.overrides.max(e):(n=void 0,e.forEach(e=>{n||"object"!=typeof e||(n=H5.bind(null,e));let o=H4(e,n);(!t||t<o||isNaN(+o))&&(t=o)}),H5(n,t||NaN))},this.min=e=>{let t,n;return this.overrides?.min?this.overrides.min(e):(n=void 0,e.forEach(e
167=>{n||"object"!=typeof e||(n=H5.bind(null,e));let o=H4(e,n);(!t||t>o||isNaN(+o))&&(t=o)}),H5(n,t||NaN))},this.setMonth=(e,t)=>this.overrides?.setMonth?this.overrides.setMonth(e,t):function(e,t,n){let o=H4(e,void 0),i=o.getFullYear(),l=o.getDate(),s=H5(e,0);s.setFullYear(i,t,15),s.setHours(0,0,0,0);let u=function(e,t){let n=H4(e,void 0),o=n.getFullYear(),i=n.getMonth(),l=H5(n,0);return l.setFullYear(o,i+1,0),l.setHours(0,0,0,0),l.getDate()}(s);return o.setMonth(t,Math.min(l,u)),o}(e,t),this.setYear=(e,t)=>this.overrides?.setYear?this.overrides.setYear(e,t):function(e,t,n){let o=H4(e,void 0);return isNaN(+o)?H5(e,NaN):(o.setFullYear(t),o)}(e,t),this.startOfBroadcastWeek=(e,t)=>this.overrides?.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):Bz(e,this),this.startOfDay=e=>this.overrides?.startOfDay?this.overrides.startOfDay(e):Ba(e),this.startOfISOWeek=e=>this.overrides?.startOfISOWeek?this.overrides.startOfISOWeek(e):Be(e),this.startOfMonth=e=>this.overrides?.startOfMonth?this.overrides.startOfMonth(e):function(e,t){let n=H4(e,void 0);return n.setDate(1),n.setHours(0,0,0,0),n}(e),this.startOfWeek=(e,t)=>this.overrides?.startOfWeek?this.overrides.startOfWeek(e,this.options):H9(e,this.options),this.startOfYear=e=>this.overrides?.startOfYear?this.overrides.startOfYear(e):Bs(e),this.options={locale:BI,...e},this.overrides=t}getDigitMap(){let{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),n={};for(let e=0;e<10;e++)n[e.toString()]=t.format(e);return n}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){let e=this.options.locale?.code;return e&&BH.yearFirstLocales.has(e)?"year-first":"month-first"}formatMonthYear(e){let{locale:t,timeZone:n,numerals:o}=this.options,i=t?.code;if(i&&BH.yearFirstLocales.has(i))try{return new Intl.DateTimeFormat(i,{month:"long",year:"numeric",timeZone:n,numberingSystem:o}).format(e)}catch{}let l="year-first"===this.getMonthYearOrder()?"y LLLL":"LLLL y";return this.format(e,l)}}BH.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);let BB=new BH;class BW{constructor(e,t,n=BB){this.date=e,this.displayMonth=t,this.outside=!!(t&&!n.isSameMonth(e,t)),this.dateLib=n,this.isoDate=n.format(e,"yyyy-MM-dd"),this.displayMonthId=n.format(t,"yyyy-MM"),this.dateMonthId=n.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class BV{constructor(e,t){this.date=e,this.weeks=t}}class BU{constructor(e,t){this.days=t,this.weekNumber=e}}(WB=W1||(W1={})).Root="root",WB.Chevron="chevron",WB.Day="day",WB.DayButton="day_button",WB.CaptionLabel="caption_label",WB.Dropdowns="dropdowns",WB.Dropdown="dropdown",WB.DropdownRoot="dropdown_root",WB.Footer="footer",WB.MonthGrid="month_grid",WB.MonthCaption="month_caption",WB.MonthsDropdown="months_dropdown",WB.Month="month",WB.Months="months",WB.Nav="nav",WB.NextMonthButton="button_next",WB.PreviousMonthButton="button_previous",WB.Week="week",WB.Weeks="weeks",WB.Weekday="weekday",WB.Weekdays="weekdays",WB.WeekNumber="week_number",WB.WeekNumberHeader="week_number_header",WB.YearsDropdown="years_dropdown",(WW=W0||(W0={})).disabled="disabled",WW.hidden="hidden",WW.outside="outside",WW.focused="focused",WW.today="today",(WV=W2||(W2={})).range_end="range_end",WV.range_middle="range_middle",WV.range_start="range_start",WV.selected="selected",(WU=W3||(W3={})).weeks_before_enter="weeks_before_enter",WU.weeks_before_exit="weeks_before_exit",WU.weeks_after_enter="weeks_after_enter",WU.weeks_after_exit="weeks_after_exit",WU.caption_after_enter="caption_after_enter",WU.caption_after_exit="caption_after_exit",WU.caption_before_enter="caption_before_enter",WU.caption_before_exit="caption_before_exit";let Bq=(0,M.createContext)(void 0);function BG(){let e=(0,M.useContext)(Bq);if(void 0===e)throw Error("useDayPicker() must be used within a custom component.");return e}let BY=Object.freeze(Object.defineProperty({__proto__:null,Button:function(e){return M.createElement("button",{...e})},CaptionLabel:function(e){return M.createElement("span",{...e})},Chevron:function(e){let{size:t=24,orientation:n="left",className:o}=e;return M.createElement("svg",{className:o,width:t,height:t,viewBox:"0 0 24 24"},"up"===n&&M.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===n&&M.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===n&&M.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===n&&M.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))},Day:function(e){let{day:t,modifiers:n,...o}=e;return M.createElement("td",{...o})},DayButton:function(e){let{day:t,modifiers:n,...o}=e,i=M.useRef(null);return M.useEffect(()=>{n.focused&&i.current?.focus()},[n.focused]),M.createElement("button",{ref:i,...o})},Dropdown:function(e){let{options:t,className:n,components:o,classNames:i,...l}=e,s=[i[W1.Dropdown],n].join(" "),u=t?.find(({value:e})=>e===l.value);return M.createElement("span",{"data-disabled":l.disabled,className:i[W1.DropdownRoot]},M.createElement(o.Select,{className:s,...l},t?.map(({value:e,label:t,disabled:n})=>M.createElement(o.Option,{key:e,value:e,disabled:n},t))),M.createElement("span",{className:i[W1.CaptionLabel],"aria-hidden":!0},u?.label,M.createElement(o.Chevron,{orientation:"down",size:18,className:i[W1.Chevron]}
167)))},DropdownNav:function(e){return M.createElement("div",{...e})},Footer:function(e){return M.createElement("div",{...e})},Month:function(e){let{calendarMonth:t,displayIndex:n,...o}=e;return M.createElement("div",{...o},e.children)},MonthCaption:function(e){let{calendarMonth:t,displayIndex:n,...o}=e;return M.createElement("div",{...o})},MonthGrid:function(e){return M.createElement("table",{...e})},Months:function(e){return M.createElement("div",{...e})},MonthsDropdown:function(e){let{components:t}=BG();return M.createElement(t.Dropdown,{...e})},Nav:function(e){let{onPreviousClick:t,onNextClick:n,previousMonth:o,nextMonth:i,...l}=e,{components:s,classNames:u,labels:{labelPrevious:c,labelNext:d}}=BG(),f=(0,M.useCallback)(e=>{i&&n?.(e)},[i,n]),h=(0,M.useCallback)(e=>{o&&t?.(e)},[o,t]);return M.createElement("nav",{...l},M.createElement(s.PreviousMonthButton,{type:"button",className:u[W1.PreviousMonthButton],tabIndex:o?void 0:-1,"aria-disabled":!o||void 0,"aria-label":c(o),onClick:h},M.createElement(s.Chevron,{disabled:!o||void 0,className:u[W1.Chevron],orientation:"left"})),M.createElement(s.NextMonthButton,{type:"button",className:u[W1.NextMonthButton],tabIndex:i?void 0:-1,"aria-disabled":!i||void 0,"aria-label":d(i),onClick:f},M.createElement(s.Chevron,{disabled:!i||void 0,orientation:"right",className:u[W1.Chevron]})))},NextMonthButton:function(e){let{components:t}=BG();return M.createElement(t.Button,{...e})},Option:function(e){return M.createElement("option",{...e})},PreviousMonthButton:function(e){let{components:t}=BG();return M.createElement(t.Button,{...e})},Root:function(e){let{rootRef:t,...n}=e;return M.createElement("div",{...n,ref:t})},Select:function(e){return M.createElement("select",{...e})},Week:function(e){let{week:t,...n}=e;return M.createElement("tr",{...n})},WeekNumber:function(e){let{week:t,...n}=e;return M.createElement("th",{...n})},WeekNumberHeader:function(e){return M.createElement("th",{...e})},Weekday:function(e){return M.createElement("th",{...e})},Weekdays:function(e){return M.createElement("thead",{"aria-hidden":!0},M.createElement("tr",{...e}))},Weeks:function(e){return M.createElement("tbody",{...e})},YearsDropdown:function(e){let{components:t}=BG();return M.createElement(t.Dropdown,{...e})}},Symbol.toStringTag,{value:"Module"}));function BZ(e,t,n=!1,o=BB){let{from:i,to:l}=e,{differenceInCalendarDays:s,isSameDay:u}=o;return i&&l?(0>s(l,i)&&([i,l]=[l,i]),s(t,i)>=(n?1:0)&&s(l,t)>=(n?1:0)):!n&&l?u(l,t):!n&&!!i&&u(i,t)}function BK(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function BQ(e){return!!(e&&"object"==typeof e&&"from"in e)}function BX(e){return!!(e&&"object"==typeof e&&"after"in e)}function BJ(e){return!!(e&&"object"==typeof e&&"before"in e)}function B1(e){return!!(e&&"object"==typeof e&&"dayOfWeek"in e)}function B0(e,t){return Array.isArray(e)&&e.every(t.isDate)}function B2(e,t,n=BB){let o=Array.isArray(t)?t:[t],{isSameDay:i,differenceInCalendarDays:l,isAfter:s}=n;return o.some(t=>{if("boolean"==typeof t)return t;if(n.isDate(t))return i(e,t);if(B0(t,n))return t.some(t=>i(e,t));if(BQ(t))return BZ(t,e,!1,n);if(B1(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(BK(t)){let n=l(t.before,e),o=l(t.after,e),i=n>0,u=o<0;return s(t.before,t.after)?u&&i:i||u}return BX(t)?l(e,t.after)>0:BJ(t)?l(t.before,e)>0:"function"==typeof t&&t(e)})}function B3(){let e={};for(let t in W1)e[W1[t]]=`rdp-${W1[t]}`;for(let t in W0)e[W0[t]]=`rdp-${W0[t]}`;for(let t in W2)e[W2[t]]=`rdp-${W2[t]}`;for(let t in W3)e[W3[t]]=`rdp-${W3[t]}`;return e}function B5(e,t,n){return(n??new BH(t)).formatMonthYear(e)}function B4(e,t=BB){return t.format(e,"yyyy")}let B6=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:B5,formatDay:function(e,t,n){return(n??new BH(t)).format(e,"d")},formatMonthCaption:B5,formatMonthDropdown:function(e,t=BB){return t.format(e,"LLLL")},formatWeekNumber:function(e,t=BB){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)},formatWeekNumberHeader:function(){return""},formatWeekdayName:function(e,t,n){return(n??new BH(t)).format(e,"cccccc")}
167,formatYearCaption:B4,formatYearDropdown:B4},Symbol.toStringTag,{value:"Module"}));function B7(e,t,n,o){let i=(o??new BH(n)).format(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i}function B8(e,t,n){return(n??new BH(t)).formatMonthYear(e)}function B9(e,t,n,o){let i=(o??new BH(n)).format(e,"PPPP");return t?.today&&(i=`Today, ${i}`),i}function We(e){return"Choose the Month"}function Wt(){return""}function Wr(e,t){return"Go to the Next Month"}function Wn(e){return"Go to the Previous Month"}function Wa(e,t,n){return(n??new BH(t)).format(e,"cccc")}function Wo(e,t){return`Week ${e}`}function Wi(e){return"Week Number"}function Wl(e){return"Choose the Year"}let Ws=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:B8,labelDay:B7,labelDayButton:B7,labelGrid:B8,labelGridcell:B9,labelMonthDropdown:We,labelNav:Wt,labelNext:Wr,labelPrevious:Wn,labelWeekNumber:Wo,labelWeekNumberHeader:Wi,labelWeekday:Wa,labelYearDropdown:Wl},Symbol.toStringTag,{value:"Module"})),Wu=(e,t,n)=>t||(n?"function"==typeof n?n:(...e)=>n:e),Wc=e=>e instanceof HTMLElement?e:null,Wd=e=>[...e.querySelectorAll("[data-animated-month]")??[]],Wf=e=>Wc(e.querySelector("[data-animated-month]")),Wh=e=>Wc(e.querySelector("[data-animated-caption]")),Wp=e=>Wc(e.querySelector("[data-animated-weeks]")),Wm=e=>Wc(e.querySelector("[data-animated-nav]")),Wg=e=>Wc(e.querySelector("[data-animated-weekdays]"));function Wv(e,t,n,o){let{month:i,defaultMonth:l,today:s=o.today(),numberOfMonths:u=1}=e,c=i||l||s,{differenceInCalendarMonths:d,addMonths:f,startOfMonth:h}=o;return n&&d(n,c)<u-1&&(c=f(n,-1*(u-1))),t&&0>d(c,t)&&(c=t),h(c)}function Wy(e,t){let[n,o]=(0,M.useState)(e);return[void 0===t?n:t,o]}function Wb(e){return!e[W0.disabled]&&!e[W0.hidden]&&!e[W0.outside]}function Ww(e,t,n=BB){return BZ(e,t.from,!1,n)||BZ(e,t.to,!1,n)||BZ(t,e.from,!1,n)||BZ(t,e.to,!1,n)}function Wx(e,t){return e instanceof H2&&e.timeZone===t?e:new H2(e,t)}function WE(e,t){return"boolean"==typeof e||"function"==typeof e?e:e instanceof Date?Wx(e,t):Array.isArray(e)?e.map(e=>e instanceof Date?Wx(e,t):e):BQ(e)?{...e,from:e.from?Wx(e.from,t):e.from,to:e.to?Wx(e.to,t):e.to}:BK(e)?{before:Wx(e.before,t),after:Wx(e.after,t)}:BX(e)?{after:Wx(e.after,t)}:BJ(e)?{before:Wx(e.before,t)}:e}function WC(e,t){return e&&(Array.isArray(e)?e.map(e=>WE(e,t)):WE(e,t))}function Wk(e){let t=e,n=t.timeZone;if(n&&((t={...e,timeZone:n}).today&&(t.today=Wx(t.today,n)),t.month&&(t.month=Wx(t.month,n)),t.defaultMonth&&(t.defaultMonth=Wx(t.defaultMonth,n)),t.startMonth&&(t.startMonth=Wx(t.startMonth,n)),t.endMonth&&(t.endMonth=Wx(t.endMonth,n)),"single"===t.mode&&t.selected?t.selected=Wx(t.selected,n):"multiple"===t.mode&&t.selected?t.selected=t.selected?.map(e=>Wx(e,n)):"range"===t.mode&&t.selected&&(t.selected={from:t.selected.from?Wx(t.selected.from,n):t.selected.from,to:t.selected.to?Wx(t.selected.to,n):t.selected.to}),void 0!==t.disabled&&(t.disabled=WC(t.disabled,n)),void 0!==t.hidden&&(t.hidden=WC(t.hidden,n)),t.modifiers)){let e={};Object.keys(t.modifiers).forEach(o=>{e[o]=WC(t.modifiers?.[o],n)}),t.modifiers=e}let{components:o,formatters:i,labels:l,dateLib:s,locale:u,classNames:c}=(0,M.useMemo)(()=>{var e,n;let o={...BI,...t.locale},i=new BH({locale:o,weekStartsOn:t.broadcastCalendar?1:t.weekStartsOn,firstWeekContainsDate:t.firstWeekContainsDate,useAdditionalWeekYearTokens:t.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:t.useAdditionalDayOfYearTokens,timeZone:t.timeZone,numerals:t.numerals},t.dateLib);return{dateLib:i,components:(e=t.components,{...BY,...e}),formatters:(n=t.formatters,n?.formatMonthCaption&&!n.formatCaption&&(n.formatCaption=n.formatMonthCaption),n?.formatYearCaption&&!n.formatYearDropdown&&(n.formatYearDropdown=n.formatYearCaption),{...B6,...n}),labels:function(e,t){let n=t.locale?.labels??{};return{...Ws,...e??{},labelDayButton:Wu(B7,e?.labelDayButton,n.labelDayButton),labelMonthDropdown:Wu(We,e?.labelMonthDropdown,n.labelMonthDropdown),labelNext:Wu(Wr,e?.labelNext,n.labelNext),labelPrevious:Wu(Wn,e?.labelPrevious,n.labelPrevious),labelWeekNumber:Wu(Wo,e?.labelWeekNumber,n.labelWeekNumber),labelYearDropdown:Wu(Wl,e?.labelYearDropdown,n.labelYearDropdown),labelGrid:Wu(B8,e?.labelGrid,n.labelGrid),labelGridcell:Wu(B9,e?.labelGridcell,n.labelGridcell),labelNav:Wu(Wt,e?.labelNav,n.labelNav),labelWeekNumberHeader:Wu(Wi,e?.labelWeekNumberHeader,n.labelWeekNumberHeader),labelWeekday:Wu(Wa,e?.labelWeekday,n.labelWeekday)}}(t.labels,i.options),locale:o,classNames:{...B3(),...t.classNames}}},[t.locale,t.broadcastCalendar,t.weekStartsOn,t.firstWeekContainsDate,t.useAdditionalWeekYearTokens,t.useAdditionalDayOfYearTokens,t.timeZone,t.numerals,t.dateLib,t.components,t.formatters,t.labels,t.classNames]);t.today||(t={...t,today:s.today()});let{captionLayout:d,mode:f,navLayout:h,numberOfMonths:p=1,onDayBlur:m,onDayClick:g,onDayFocus:v,onDayKeyDown:y,onDayMouseEnter:b,onDayMouseLeave:w,onNextClick:x,onPrevClick:E,showWeekNumber:C,styles:k}=t,{formatCaption:_,formatDay:S,formatMonthDropdown:j,formatWeekNumber:O,formatWeekNumberHeader:L,formatWeekdayName:A,formatYearDropdown:T}=i,P=function(e,t){let[n,o]=function(e,t){let{startMonth:n,endMonth:o}=e,{startOfYear:i,startOfDay:l,startOfMonth:s,endOfMonth:u,addYears:c,endOfYear:d,newDate:f,today:h}=t,{fromYear:p,toYear:m,fromMonth:g,toMonth:v}=e;!n&&g&&(n=g),!n&&p&&(n=t.newDate(p,0,1)),!o&&v&&(o=v),!o&&m&&(o=f(m,11,31));let y="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return n?n=s(n):p?n=f(p,0,1):!n&&y&&(n=i(c(e.today??h(),-100))),o?o=u(o):m?o=f(m,11,31):!o&&y&&(o=d(e.today??h())),[n&&l(n),o&&l(o)]}(e,t),{startOfMonth:i,endOfMonth:l}=t,s=Wv(e,n,o,t),[u,c]=Wy(s,e.month?s:void 0);(0,M.useEffect)(()=>{c(Wv(e,n,o,t))},[e.timeZone]);let{months:d,weeks:f,days:h,previousMonth:p,nextMonth:m}=(0,M.useMemo)(()=>{let i=function(e,t,n,o){let{numberOfMonths:i=1}=n,l=[];for(let n=0;n<i;n++){let i=o.addMonths(e,n);if(t&&i>t)break;l.push(i)}return l}(u,o,{numberOfMonths:e.numberOfMonths},t),s=function(e,t,n,o){let i=e[0],l=e[e.length-1],{ISOWeek:s,fixedWeeks:u,broadcastCalendar:c}=n??{}
167,{addDays:d,differenceInCalendarDays:f,differenceInCalendarMonths:h,endOfBroadcastWeek:p,endOfISOWeek:m,endOfMonth:g,endOfWeek:v,isAfter:y,startOfBroadcastWeek:b,startOfISOWeek:w,startOfWeek:x}=o,E=c?b(i,o):s?w(i):x(i),C=c?p(l):s?m(g(l)):v(g(l)),k=t&&(c?p(t):s?m(t):v(t)),M=f(k&&y(C,k)?k:C,E),_=h(l,i)+1,S=[];for(let e=0;e<=M;e++){let t=d(E,e);S.push(t)}let j=(c?35:42)*_;if(u&&S.length<j){let e=j-S.length;for(let t=0;t<e;t++){let e=d(S[S.length-1],1);S.push(e)}}return S}(i,e.endMonth?l(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),c=function(e,t,n,o){let{addDays:i,endOfBroadcastWeek:l,endOfISOWeek:s,endOfMonth:u,endOfWeek:c,getISOWeek:d,getWeek:f,startOfBroadcastWeek:h,startOfISOWeek:p,startOfWeek:m}=o,g=e.reduce((e,g)=>{let v=n.broadcastCalendar?h(g,o):n.ISOWeek?p(g):m(g),y=n.broadcastCalendar?l(g):n.ISOWeek?s(u(g)):c(u(g)),b=t.filter(e=>e>=v&&e<=y),w=n.broadcastCalendar?35:42;if(n.fixedWeeks&&b.length<w){let e=t.filter(e=>{let t=w-b.length;return e>y&&e<=i(y,t)});b.push(...e)}let x=b.reduce((e,t)=>{let i=n.ISOWeek?d(t):f(t),l=e.find(e=>e.weekNumber===i),s=new BW(t,g,o);return l?l.days.push(s):e.push(new BU(i,[s])),e},[]),E=new BV(g,x);return e.push(E),e},[]);return n.reverseMonths?g.reverse():g}(i,s,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),d=c.reduce((e,t)=>e.concat(t.weeks.slice()),[]),f=function(e){let t=[];return e.reduce((e,n)=>{let o=n.weeks.reduce((e,t)=>e.concat(t.days.slice()),t.slice());return e.concat(o.slice())},t.slice())}(c);return{months:c,weeks:d,days:f,previousMonth:function(e,t,n,o){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:l}=n,{startOfMonth:s,addMonths:u,differenceInCalendarMonths:c}=o,d=s(e);if(!t||!(0>=c(d,t)))return u(d,-(i?l??1:1))}(u,n,e,t),nextMonth:function(e,t,n,o){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:l=1}=n,{startOfMonth:s,addMonths:u,differenceInCalendarMonths:c}=o,d=s(e);if(!t||!(c(t,e)<l))return u(d,i?l:1)}(u,o,e,t)}},[t,u.getTime(),o?.getTime(),n?.getTime(),e.disableNavigation,e.broadcastCalendar,e.endMonth?.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:g,onMonthChange:v}=e,y=e=>f.some(t=>t.days.some(t=>t.isEqualTo(e))),b=e=>{if(g)return;let t=i(e);n&&t<i(n)&&(t=i(n)),o&&t>i(o)&&(t=i(o)),c(t),v?.(t)};return{months:d,weeks:f,days:h,navStart:n,navEnd:o,previousMonth:p,nextMonth:m,goToMonth:b,goToDay:e=>{y(e)||b(e.date)}}}(t,s),{days:N,months:F,navStart:R,navEnd:$,previousMonth:D,nextMonth:z,goToMonth:I}=P,H=function(e,t,n,o,i){let{disabled:l,hidden:s,modifiers:u,showOutsideDays:c,broadcastCalendar:d,today:f=i.today()}=t,{isSameDay:h,isSameMonth:p,startOfMonth:m,isBefore:g,endOfMonth:v,isAfter:y}=i,b=n&&m(n),w=o&&v(o),x={[W0.focused]:[],[W0.outside]:[],[W0.disabled]:[],[W0.hidden]:[],[W0.today]:[]},E={};for(let t of e){let{date:e,displayMonth:n}=t,o=!!(n&&!p(e,n)),m=!!(b&&g(e,b)),v=!!(w&&y(e,w)),C=!!(l&&B2(e,l,i)),k=!!(s&&B2(e,s,i))||m||v||!d&&!c&&o||d&&!1===c&&o,M=h(e,f);o&&x.outside.push(t),C&&x.disabled.push(t),k&&x.hidden.push(t),M&&x.today.push(t),u&&Object.keys(u).forEach(n=>{let o=u?.[n];o&&B2(e,o,i)&&(E[n]?E[n].push(t):E[n]=[t])})}return e=>{let t={[W0.focused]:!1,[W0.disabled]:!1,[W0.hidden]:!1,[W0.outside]:!1,[W0.today]:!1},n={};for(let n in x){let o=x[n];t[n]=o.some(t=>t===e)}for(let t in E)n[t]=E[t].some(t=>t===e);return{...t,...n}}}(N,t,R,$,s),{isSelected:B,select:W,selected:U}=function(e,t){let n=function(e,t){let{selected:n,required:o,onSelect:i}=e,[l,s]=Wy(n,i?n:void 0),u=i?n:l,{isSameDay:c}=t;return{selected:u,select:(e,t,n)=>{let l=e;return!o&&u&&u&&c(e,u)&&(l=void 0),i||s(l),i?.(l,e,t,n),l},isSelected:e=>!!u&&c(u,e)}}(e,t),o=function(e,t){let{selected:n,required:o,onSelect:i}=e,[l,s]=Wy(n,i?n:void 0),u=i?n:l,{isSameDay:c}=t,d=e=>u?.some(t=>c(t,e))??!1,{min:f,max:h}=e;return{selected:u,select:(e,t,n)=>{let l=[...u??[]];if(d(e)){if(u?.length===f||o&&u?.length===1)return;l=u?.filter(t=>!c(t,e))}else l=u?.length===h?[e]:[...l,e];return i||s(l),i?.(l,e,t,n),l},isSelected:d}}(e,t),i=function(e,t){let{disabled:n,excludeDisabled:o,selected:i,required:l,onSelect:s}=e,[u,c]=Wy(i,s?i:void 0),d=s?i:u;return{selected:d,select:(i,u,f)=>{let{min:h,max:p}=e,m=i?function(e,t,n=0,o=0,i=!1,l=BB){let s;let{from:u,to:c}=t||{},{isSameDay:d,isAfter:f,isBefore:h}=l;if(u||c){if(u&&!c)s=d(u,e)?0===n?{from:u,to:e}:i?{from:u,to:void 0}:void 0:h(e,u)?{from:e,to:u}:{from:u,to:e};else if(u&&c){if(d(u,e)&&d(c,e))s=i?{from:u,to:c}:void 0;else if(d(u,e))s={from:u,to:n>0?void 0:e};else if(d(c,e))s={from:e,to:n>0?void 0:e};else if(h(e,u))s={from:e,to:c};else if(f(e,u))s={from:u,to:e};else if(f(e,c))s={from:u,to:e};else throw Error("Invalid range")}}else s={from:e,to:n>0?void 0:e};if(s?.from&&s?.to){let t=l.differenceInCalendarDays(s.to,s.from);o>0&&t>o?s={from:e,to:void 0}:n>1&&t<n&&(s={from:e,to:void 0})}return s}(i,d,h,p,l,t):void 0;return o&&n&&m?.from&&m.to&&function(e,t,n=BB){let o=Array.isArray(t)?t:[t];if(o.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:n.isDate(t)?BZ(e,t,!1,n):B0(t,n)?t.some(t=>BZ(e,t,!1,n)):BQ(t)?!!t.from&&!!t.to&&Ww(e,{from:t.from,to:t.to},n):B1(t)?function(e,t,n=BB){let o=Array.isArray(t)?t:[t],i=e.from,l=Math.min(n.differenceInCalendarDays(e.to,e.from),6);for(let e=0;e<=l;e++){if(o.includes(i.getDay()))return!0;
167i=n.addDays(i,1)}return!1}(e,t.dayOfWeek,n):BK(t)?n.isAfter(t.before,t.after)?Ww(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):B2(e.from,t,n)||B2(e.to,t,n):!!(BX(t)||BJ(t))&&(B2(e.from,t,n)||B2(e.to,t,n))))return!0;let i=o.filter(e=>"function"==typeof e);if(i.length){let t=e.from,o=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=o;e++){if(i.some(e=>e(t)))return!0;t=n.addDays(t,1)}}return!1}({from:m.from,to:m.to},n,t)&&(m.from=i,m.to=void 0),s||c(m),s?.(m,i,u,f),m},isSelected:e=>d&&BZ(d,e,!1,t)}}(e,t);switch(e.mode){case"single":return n;case"multiple":return o;case"range":return i;default:return}}(t,s)??{},{blur:q,focused:G,isFocusTarget:Y,moveFocus:Z,setFocused:K}=function(e,t,n,o,i){let{autoFocus:l}=e,[s,u]=(0,M.useState)(),c=function(e,t,n,o){let i,l=-1;for(let s of e){let e=t(s);Wb(e)&&(e[W0.focused]&&l<W5.FocusedModifier?(i=s,l=W5.FocusedModifier):o?.isEqualTo(s)&&l<W5.LastFocused?(i=s,l=W5.LastFocused):n(s.date)&&l<W5.Selected?(i=s,l=W5.Selected):e[W0.today]&&l<W5.Today&&(i=s,l=W5.Today))}return i||(i=e.find(e=>Wb(t(e)))),i}(t.days,n,o||(()=>!1),s),[d,f]=(0,M.useState)(l?c:void 0);return{isFocusTarget:e=>!!c?.isEqualTo(e),setFocused:f,focused:d,blur:()=>{u(d),f(void 0)},moveFocus:(n,o)=>{if(!d)return;let l=function e(t,n,o,i,l,s,u,c=0){if(c>365)return;let d=function(e,t,n,o,i,l,s){let{ISOWeek:u,broadcastCalendar:c}=l,{addDays:d,addMonths:f,addWeeks:h,addYears:p,endOfBroadcastWeek:m,endOfISOWeek:g,endOfWeek:v,max:y,min:b,startOfBroadcastWeek:w,startOfISOWeek:x,startOfWeek:E}=s,C=({day:d,week:h,month:f,year:p,startOfWeek:e=>c?w(e,s):u?x(e):E(e),endOfWeek:e=>c?m(e):u?g(e):v(e)})[e](n,"after"===t?1:-1);return"before"===t&&o?C=y([o,C]):"after"===t&&i&&(C=b([i,C])),C}(t,n,o.date,i,l,s,u),f=!!(s.disabled&&B2(d,s.disabled,u)),h=!!(s.hidden&&B2(d,s.hidden,u)),p=new BW(d,d,u);return f||h?e(t,n,p,i,l,s,u,c+1):p}(n,o,d,t.navStart,t.navEnd,e,i);l&&(e.disableNavigation&&!t.days.some(e=>e.isEqualTo(l))||(t.goToDay(l),f(l)))}}}(t,P,H,B??(()=>!1),s),{labelDayButton:Q,labelGridcell:X,labelGrid:J,labelMonthDropdown:ee,labelNav:et,labelPrevious:er,labelNext:en,labelWeekday:ea,labelWeekNumber:eo,labelWeekNumberHeader:ei,labelYearDropdown:el}=l,es=(0,M.useMemo)(()=>(function(e,t,n,o){let i=o??e.today(),l=n?e.startOfBroadcastWeek(i,e):t?e.startOfISOWeek(i):e.startOfWeek(i),s=[];for(let t=0;t<7;t++){let n=e.addDays(l,t);s.push(n)}return s})(s,t.ISOWeek,t.broadcastCalendar,t.today),[s,t.ISOWeek,t.broadcastCalendar,t.today]),eu=void 0!==f||void 0!==g,ec=(0,M.useCallback)(()=>{D&&(I(D),E?.(D))},[D,I,E]),ed=(0,M.useCallback)(()=>{z&&(I(z),x?.(z))},[I,z,x]),ef=(0,M.useCallback)((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),K(e),t.disabled||(W?.(e.date,t,n),g?.(e.date,t,n))},[W,g,K]),eh=(0,M.useCallback)((e,t)=>n=>{K(e),v?.(e.date,t,n)},[v,K]),ep=(0,M.useCallback)((e,t)=>n=>{q(),m?.(e.date,t,n)},[q,m]),em=(0,M.useCallback)((e,n)=>o=>{let i={ArrowLeft:[o.shiftKey?"month":"day","rtl"===t.dir?"after":"before"],ArrowRight:[o.shiftKey?"month":"day","rtl"===t.dir?"before":"after"],ArrowDown:[o.shiftKey?"year":"week","after"],ArrowUp:[o.shiftKey?"year":"week","before"],PageUp:[o.shiftKey?"year":"month","before"],PageDown:[o.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(i[o.key]){o.preventDefault(),o.stopPropagation();let[e,t]=i[o.key];Z(e,t)}y?.(e.date,n,o)},[Z,y,t.dir]),eg=(0,M.useCallback)((e,t)=>n=>{b?.(e.date,t,n)},[b]),ev=(0,M.useCallback)((e,t)=>n=>{w?.(e.date,t,n)},[w]),ey=(0,M.useCallback)(e=>t=>{let n=Number(t.target.value);I(s.setMonth(s.startOfMonth(e),n))},[s,I]),eb=(0,M.useCallback)(e=>t=>{let n=Number(t.target.value);I(s.setYear(s.startOfMonth(e),n))},[s,I]),{className:ew,style:ex}=(0,M.useMemo)(()=>({className:[c[W1.Root],t.className].filter(Boolean).join(" "),style:{...k?.[W1.Root],...t.style}}),[c,t.className,t.style,k]),eE=function(e){let t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([e,n])=>{e.startsWith("data-")&&(t[e]=n)}),t}(t),eC=(0,M.useRef)(null);!function(e,t,{classNames:n,months:o,focused:i,dateLib:l}){let s=(0,M.useRef)(null),u=(0,M.useRef)(o),c=(0,M.useRef)(!1);(0,M.useLayoutEffect)(()=>{let d=u.current;if(u.current=o,!t||!e.current||!(e.current instanceof HTMLElement)||0===o.length||0===d.length||o.length!==d.length)return;let f=l.isSameMonth(o[0].date,d[0].date),h=l.isAfter(o[0].date,d[0].date),p=h?n[W3.caption_after_enter]:n[W3.caption_before_enter],m=h?n[W3.weeks_after_enter]:n[W3.weeks_before_enter],g=s.current,v=e.current.cloneNode(!0);
167if(v instanceof HTMLElement?(Wd(v).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=Wf(e);t&&e.contains(t)&&e.removeChild(t);let n=Wh(e);n&&n.classList.remove(p);let o=Wp(e);o&&o.classList.remove(m)}),s.current=v):s.current=null,c.current||f||i)return;let y=g instanceof HTMLElement?Wd(g):[],b=Wd(e.current);if(b?.every(e=>e instanceof HTMLElement)&&y&&y.every(e=>e instanceof HTMLElement)){c.current=!0,e.current.style.isolation="isolate";let t=Wm(e.current);t&&(t.style.zIndex="1"),b.forEach((o,i)=>{let l=y[i];if(!l)return;o.style.position="relative",o.style.overflow="hidden";let s=Wh(o);s&&s.classList.add(p);let u=Wp(o);u&&u.classList.add(m),l.style.pointerEvents="none",l.style.position="absolute",l.style.overflow="hidden",l.setAttribute("aria-hidden","true");let d=Wg(l);d&&(d.style.opacity="0");let f=Wh(l);f&&(f.classList.add(h?n[W3.caption_before_exit]:n[W3.caption_after_exit]),f.addEventListener("animationend",()=>{c.current=!1,e.current&&(e.current.style.isolation=""),t&&(t.style.zIndex=""),s&&s.classList.remove(p),u&&u.classList.remove(m),o.style.position="",o.style.overflow="",o.contains(l)&&o.removeChild(l)}));let g=Wp(l);g&&g.classList.add(h?n[W3.weeks_before_exit]:n[W3.weeks_after_exit]),o.insertBefore(l,o.firstChild)})}})}(eC,!!t.animate,{classNames:c,months:F,focused:G,dateLib:s});let ek={dayPickerProps:t,selected:U,select:W,isSelected:B,months:F,nextMonth:z,previousMonth:D,goToMonth:I,getModifiers:H,components:o,classNames:c,styles:k,labels:l,formatters:i};return M.createElement(Bq.Provider,{value:ek},M.createElement(o.Root,{rootRef:t.animate?eC:void 0,className:ew,style:ex,dir:t.dir,id:t.id,lang:t.lang,nonce:t.nonce,title:t.title,role:t.role,"aria-label":t["aria-label"],"aria-labelledby":t["aria-labelledby"],...eE},M.createElement(o.Months,{className:c[W1.Months],style:k?.[W1.Months]},!t.hideNavigation&&!h&&M.createElement(o.Nav,{"data-animated-nav":t.animate?"true":void 0,className:c[W1.Nav],style:k?.[W1.Nav],"aria-label":et(),onPreviousClick:ec,onNextClick:ed,previousMonth:D,nextMonth:z}),F.map((e,n)=>M.createElement(o.Month,{"data-animated-month":t.animate?"true":void 0,className:c[W1.Month],style:k?.[W1.Month],key:n,displayIndex:n,calendarMonth:e},"around"===h&&!t.hideNavigation&&0===n&&M.createElement(o.PreviousMonthButton,{type:"button",className:c[W1.PreviousMonthButton],tabIndex:D?void 0:-1,"aria-disabled":!D||void 0,"aria-label":er(D),onClick:ec,"data-animated-button":t.animate?"true":void 0},M.createElement(o.Chevron,{disabled:!D||void 0,className:c[W1.Chevron],orientation:"rtl"===t.dir?"right":"left"})),M.createElement(o.MonthCaption,{"data-animated-caption":t.animate?"true":void 0,className:c[W1.MonthCaption],style:k?.[W1.MonthCaption],calendarMonth:e,displayIndex:n},d?.startsWith("dropdown")?M.createElement(o.DropdownNav,{className:c[W1.Dropdowns],style:k?.[W1.Dropdowns]},(()=>{let n="dropdown"===d||"dropdown-months"===d?M.createElement(o.MonthsDropdown,{key:"month",className:c[W1.MonthsDropdown],"aria-label":ee(),classNames:c,components:o,disabled:!!t.disableNavigation,onChange:ey(e.date),options:function(e,t,n,o,i){let{startOfMonth:l,startOfYear:s,endOfYear:u,eachMonthOfInterval:c,getMonth:d}=i;return c({start:s(e),end:u(e)}).map(e=>{let s=o.formatMonthDropdown(e,i);return{value:d(e),label:s,disabled:t&&e<l(t)||n&&e>l(n)||!1}})}(e.date,R,$,i,s),style:k?.[W1.Dropdown],value:s.getMonth(e.date)}):M.createElement("span",{key:"month"},j(e.date,s)),l="dropdown"===d||"dropdown-years"===d?M.createElement(o.YearsDropdown,{key:"year",className:c[W1.YearsDropdown],"aria-label":el(s.options),classNames:c,components:o,disabled:!!t.disableNavigation,onChange:eb(e.date),options:function(e,t,n,o,i=!1){if(!e||!t)return;let{startOfYear:l,endOfYear:s,eachYearOfInterval:u,getYear:c}=o,d=u({start:l(e),end:s(t)});return i&&d.reverse(),d.map(e=>{let t=n.formatYearDropdown(e,o);return{value:c(e),label:t,disabled:!1}})}(R,$,i,s,!!t.reverseYears),style:k?.[W1.Dropdown],value:s.getYear(e.date)}):M.createElement("span",{key:"year"},T(e.date,s));return"year-first"===s.getMonthYearOrder()?[l,n]:[n,l]})(),M.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},_(e.date,s.options,s))):M.createElement(o.CaptionLabel,{className:c[W1.CaptionLabel],role:"status","aria-live":"polite"},_(e.date,s.options,s))),"around"===h&&!t.hideNavigation&&n===p-1&&M.createElement(o.NextMonthButton,{type:"button",className:c[W1.NextMonthButton],tabIndex:z?void 0:-1,"aria-disabled":!z||void 0,"aria-label":en(z),onClick:ed,"data-animated-button":t.animate?"true":void 0},M.createElement(o.Chevron,{disabled:!z||void 0,className:c[W1.Chevron],orientation:"rtl"===t.dir?"left":"right"})),n===p-1&&"after"===h&&!t.hideNavigation&&M.createElement(o.Nav,{"data-animated-nav":t.animate?"true":void 0,className:c[W1.Nav],style:k?.[W1.Nav],"aria-label":et(),onPreviousClick:ec,onNextClick:ed,previousMonth:D,nextMonth:z}),M.createElement(o.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===f||"range"===f,"aria-label":J(e.date,s.options,s)||void 0,className:c[W1.MonthGrid],style:k?.[W1.MonthGrid]},!t.hideWeekdays&&M.createElement(o.Weekdays,{"data-animated-weekdays":t.animate?"true":void 0,className:c[W1.Weekdays],style:k?.[W1.Week
167days]},C&&M.createElement(o.WeekNumberHeader,{"aria-label":ei(s.options),className:c[W1.WeekNumberHeader],style:k?.[W1.WeekNumberHeader],scope:"col"},L()),es.map(e=>M.createElement(o.Weekday,{"aria-label":ea(e,s.options,s),className:c[W1.Weekday],key:String(e),style:k?.[W1.Weekday],scope:"col"},A(e,s.options,s)))),M.createElement(o.Weeks,{"data-animated-weeks":t.animate?"true":void 0,className:c[W1.Weeks],style:k?.[W1.Weeks]},e.weeks.map(e=>M.createElement(o.Week,{className:c[W1.Week],key:e.weekNumber,style:k?.[W1.Week],week:e},C&&M.createElement(o.WeekNumber,{week:e,style:k?.[W1.WeekNumber],"aria-label":eo(e.weekNumber,{locale:u}),className:c[W1.WeekNumber],scope:"row",role:"rowheader"},O(e.weekNumber,s)),e.days.map(e=>{let{date:n}=e,i=H(e);if(i[W0.focused]=!i.hidden&&!!G?.isEqualTo(e),i[W2.selected]=B?.(n)||i.selected,BQ(U)){let{from:e,to:t}=U;i[W2.range_start]=!!(e&&t&&s.isSameDay(n,e)),i[W2.range_end]=!!(e&&t&&s.isSameDay(n,t)),i[W2.range_middle]=BZ(U,n,!0,s)}let l=function(e,t={},n={}){let o={...t?.[W1.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{o={...o,...n?.[e]}}),o}(i,k,t.modifiersStyles),u=function(e,t,n={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[o])=>(n[o]?e.push(n[o]):t[W0[o]]?e.push(t[W0[o]]):t[W2[o]]&&e.push(t[W2[o]]),e),[t[W1.Day]])}(i,c,t.modifiersClassNames),d=eu||i.hidden?void 0:X(n,i,s.options,s);return M.createElement(o.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:i,className:u.join(" "),style:l,role:"gridcell","aria-selected":i.selected||void 0,"aria-label":d,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":i.selected||void 0,"data-disabled":i.disabled||void 0,"data-hidden":i.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":i.focused||void 0,"data-today":i.today||void 0},!i.hidden&&eu?M.createElement(o.DayButton,{className:c[W1.DayButton],style:k?.[W1.DayButton],type:"button",day:e,modifiers:i,disabled:!i.focused&&i.disabled||void 0,"aria-disabled":i.focused&&i.disabled||void 0,tabIndex:Y(e)?0:-1,"aria-label":Q(n,i,s.options,s),onClick:ef(e,i),onBlur:ep(e,i),onFocus:eh(e,i),onKeyDown:em(e,i),onMouseEnter:eg(e,i),onMouseLeave:ev(e,i)},S(n,s.options,s)):!i.hidden&&S(e.date,s.options,s))})))))))),t.footer&&M.createElement(o.Footer,{className:c[W1.Footer],style:k?.[W1.Footer],role:"status","aria-live":"polite"},t.footer)))}function WM({className:e,children:t,day:n,modifiers:o,...i}){let l=B3(),s=(0,M.useRef)(null);return(0,M.useEffect)(()=>{o.focused&&s.current?.focus()},[o.focused]),$.jsx(tt,{ref:s,variant:"ghost",size:"small","data-day":n.date.toLocaleDateString(),"data-selected-single":o.selected&&!o.range_start&&!o.range_end&&!o.range_middle,"data-range-start":o.range_start,"data-range-end":o.range_end,"data-range-middle":o.range_middle,className:e8({border:!o.disabled,"justify-between":!o.disabled,"cursor-pointer":!o.disabled,"hover:bg-[#F5F5F7] hover:border-[#0050C3]":!o.selected,"!bg-transparent":o.disabled},"data-[selected-single=true]:bg-[#C8E6FA] h-full min-h-10 sm:min-h-12 w-full min-w-0 rounded-[8px] px-1.5 sm:px-2 py-1 sm:py-[5px] data-[selected-single=true]:text-[#1C70E9] data-[selected-single=true]:border-[#0050C3] data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground dark:hover:text-accent-foreground flex flex-col gap-0.5 sm:gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md",l.day,e),...i,children:t??n.date.getDate()})}function W_({className:e,classNames:t,showOutsideDays:n=!0,captionLayout:o="label",formatters:i,components:l,...s}){let u=B3();return $.jsx(Wk,{showOutsideDays:n,className:e8("bg-background group/calendar w-full max-w-full h-auto overflow-hidden [--cell-size:--spacing(8)] in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,e),captionLayout:o,fixedWeeks:!1,formatters:{...i},classNames:{root:e8("w-full max-w-full min-w-0 h-auto [--rdp-day-width:auto] [--rdp-day-height:auto] [--rdp-day_button-width:100%] [--rdp-day_button-height:100%] [--rdp-months-gap:0]",u.root),months:e8("relative flex w-full max-w-full flex-col gap-4 md:flex-row",u.months),month:e8("flex min-w-0 flex-col w-full h-auto",u.month),nav:e8("z-20 pointer-events-auto flex items-center gap-1 w-full h-[37px] max-h-[37px] absolute top-0 inset-x-0 justify-between border border-[#D3D2D9] rounded-[8px]",u.nav),button_previous:e8("hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50","size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",u.button_previous,"hover:bg-transparent cursor-pointer pl-4"),button_next:e8("hover:bg-none","hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50","size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",u.button_next,"hover:bg-transparent cursor-pointer pr-4"),month_caption:e8("pointer-events-none relative flex items-center justify-center h-[35px] sm:h-[37px] w-full px-8 sm:px-10 text-center",u.month_caption),dropdowns:e8("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",u.dropdowns),dropdown_root:e8("relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",u.dropdown_root),dropdown:e8("absolute bg-popover inset-0 opacity-0",u.dropdown),caption_label:e8("pointer-events-none w-full select-none justify-center text-center font-bold text-[#171719] text-[14px]","label"===o?"flex items-center":"rounded-md pl-2 pr-1 flex items-center gap-1 h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",u.caption_label),table:"w-full h-auto table-fixed border-collapse",weekdays:e8("flex w-full gap-0.5 sm:gap-1 py-1.5
167sm:py-2 px-1.5 sm:px-3",u.weekdays),weekday:e8("px-1 sm:px-2 py-1 rounded-md flex-1 text-center font-bold text-[10px] sm:text-[12px] select-none",u.weekday),weeks:e8("flex flex-col gap-0.5 sm:gap-1",u.weeks),week:e8("flex w-full gap-0.5 sm:gap-1",u.week),week_number_header:e8("select-none w-(--cell-size)",u.week_number_header),week_number:e8("text-[0.8rem] select-none text-muted-foreground",u.week_number),day:e8("relative !w-auto !h-auto flex-1 min-h-10 sm:min-h-12 min-w-0 p-0 text-center group/day select-none",u.day),day_button:e8("!w-full !h-full",u.day_button),range_start:e8("rounded-l-md bg-accent",u.range_start),range_middle:e8("rounded-none",u.range_middle),range_end:e8("rounded-r-md bg-accent",u.range_end),today:e8("rounded-md data-[selected=true]:rounded-none",u.today),outside:e8("text-muted-foreground aria-selected:text-muted-foreground",u.outside),disabled:e8("text-muted-foreground opacity-50",u.disabled),hidden:"invisible",...t},components:{Root:({className:e,rootRef:t,...n})=>$.jsx("div",{"data-slot":"calendar",ref:t,className:e8(e),...n}),Chevron:({className:e,orientation:t,...n})=>"left"===t?$.jsx(uc,{className:e8("text-[#171719] size-4",e),...n}):"right"===t?$.jsx(ud,{className:e8("size-4 text-[#171719]",e),...n}):$.jsx(uu,{className:e8("size-4",e),...n}),DayButton:WM,WeekNumber:({children:e,...t})=>$.jsx("td",{...t,children:$.jsx("div",{className:"flex size-(--cell-size) items-center justify-center text-center",children:e})}),...l},...s})}(Wq=W5||(W5={}))[Wq.Today=0]="Today",Wq[Wq.Selected=1]="Selected",Wq[Wq.LastFocused=2]="LastFocused",Wq[Wq.FocusedModifier=3]="FocusedModifier";let WS={"pt-BR":ys,"en-US":mz,"es-ES":ya},Wj={"pt-BR":"pt-BR","en-US":"en-US","es-ES":"es-ES"},WO=e=>new Date(e.getFullYear(),e.getMonth(),e.getDate()),WL=e=>`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-${String(e.getDate()).padStart(2,"0")}`;function WA({sessions:e,language:t="pt-BR",currency:n="BRL",className:o,initialSelectedDate:i,selectedDate:l,onSelectDate:s}){let u=WS[t]??ys,c=Wj[t]??"pt-BR",{range:d,sessionDateKeys:f,unavailableDates:h,minPriceByDateKey:p,initialSelectedDate:m,initialMonth:g,hasSessions:v}=(0,M.useMemo)(()=>{let t=new Set,n=new Set,o=new Map,i=new Map;e.forEach(e=>{if(!e.sessionSectorLots?.some(e=>!!e.status)||1!==e.status)return;let l=e.start_date.split("T")[0],[s,u,c]=l.split("-").map(Number),d=new Date(s,u-1,c);t.add(l),i.has(l)||i.set(l,d);let f=new Map(e.session_tickets?.map(e=>[e.id,e])??[]),h=new Map(e.session_tickets?.map(e=>[e.ticket_type_id,e])??[]),p=(e.ticketLots??[]).filter(e=>{let t=f.get(e.id)??h.get(e.ticket_type_id),n=1===e.status,o=!t||1===t.status,i=e.ticketType?.active===1;return n&&o&&i}).map(e=>"number"==typeof e.price?e.price:"number"==typeof e.ticketType?.amount?e.ticketType.amount:void 0).filter(e=>"number"==typeof e);if(0===p.length)return;n.add(l);let m=Math.min(...p),g=o.get(l);(void 0===g||m<g)&&o.set(l,m)});let l=Array.from(i.values()).sort((e,t)=>e.getTime()-t.getTime()),s=l.filter(e=>n.has(WL(e))),u=l.filter(e=>!n.has(WL(e))),c=l.length>0,d=c?{from:l[0],to:l[l.length-1]}:{from:void 0,to:void 0},f=WO(new Date),h=WL(f),p=n.has(h)?f:s[0],m=p??l[0]??new Date;return{range:d,sessionDateKeys:t,unavailableDates:u,minPriceByDateKey:o,initialSelectedDate:p,initialMonth:m,hasSessions:c}},[e]),[y,b]=(0,M.useState)(()=>l??i??m),[w,x]=(0,M.useState)(()=>l??i??m??g);(0,M.useEffect)(()=>{if(!l)return;let e=WO(l);b(e),x(e)},[l]);let E=(0,M.useMemo)(()=>new Intl.NumberFormat(c,{style:"currency",currency:n,maximumFractionDigits:0}),[n,c]),C=(0,M.useMemo)(()=>WO(new Date),[]),k=(0,M.useMemo)(()=>v?[{before:d.from,after:d.to},e=>WO(e)<C||!f.has(WL(e)),...h]:[],[v,d.from,d.to,f,h,C,e]);return $.jsx(W_,{mode:"single",required:!0,defaultMonth:y??g,selected:y,month:w,onMonthChange:x,onSelect:e=>{e?(b(e),x(e)):b(void 0),s?.(e)},disabled:k,captionLayout:"label",showOutsideDays:!0,startMonth:d.from,endMonth:d.to,className:e8("w-full max-w-full overflow-hidden box-border [--cell-size:--spacing(7)] sm:[--cell-size:--spacing(8)]","md:[--cell-size:--spacing(9)]",o),formatters:{formatWeekdayName:e=>
167e.toLocaleString(c,{weekday:"narrow"}),formatCaption:e=>{let t=m8(e,"MMMM yyyy",{locale:u});return t.charAt(0).toUpperCase()+t.slice(1)}},locale:u,components:{DayButton:({children:e,modifiers:t,day:n,...o})=>{let i=WL(n.date),l=p.get(i);return $.jsxs(WM,{day:n,modifiers:t,...o,children:[$.jsx("span",{className:"font-bold text-[11px] sm:text-[12px]",children:e}),!t.disabled&&void 0!==l&&$.jsx("span",{className:"text-[#171719] text-[7px] sm:text-[8px]",children:E.format(l)}),!t.disabled&&$.jsx("div",{className:e8("relative w-full h-0.5 bg-[#1C70E9] rounded-[8px] mx-auto",t.outside&&"bg-[#0050C352]")})]})}}})}function WT(e){return $.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("rect",{width:"32",height:"32",rx:"16",fill:"#C8E6FA"}),$.jsx("path",{d:"M14.6862 21.3866L10.1073 19.5797C9.86452 19.4831 9.6727 19.3017 9.57346 19.0748C9.47422 18.848 9.47558 18.5941 9.57724 18.3682L10.0735 17.3238L13.8629 9.0624C13.9673 8.83757 14.1632 8.65993 14.4081 8.56803C14.6531 8.47613 14.9272 8.47738 15.1712 8.57153L16.0847 8.96841C15.9995 9.13749 15.9521 9.32084 15.9457 9.50735C15.9392 9.69386 15.9736 9.87964 16.047 10.0535C16.1203 10.2273 16.231 10.3855 16.3723 10.5185C16.5136 10.6516 16.6826 10.7566 16.869 10.8274C17.0555 10.8982 17.2555 10.9331 17.457 10.9302C17.6585 10.9273 17.8572 10.8865 18.0412 10.8103C18.2251 10.7342 18.3905 10.6242 18.5272 10.4871C18.6639 10.3501 18.7692 10.1887 18.8366 10.0128L19.7952 10.3784C20.0217 10.4824 20.1974 10.6617 20.2873 10.8805C20.3772 11.0993 20.3747 11.3415 20.2802 11.5586L18.5272 15.2105",stroke:"#0050C3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.2213 21.6069L16.2568 19.8787C15.9143 19.5773 15.9144 19.0887 16.257 18.7874C16.5996 18.4861 17.155 18.4862 17.4975 18.7876L18.7475 19.8869L21.0879 17.1421C21.276 16.9216 21.5835 16.806 21.8946 16.8391C22.2057 16.8721 22.4731 17.0486 22.5962 17.3021C22.7193 17.5556 22.6792 17.8477 22.4912 18.0682L19.5437 21.5246C19.3911 21.7037 19.1577 21.8158 18.9039 21.8316C18.6501 21.8474 18.401 21.7654 18.2213 21.6069Z",fill:"#0050C3"})]})}function WP(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",...e,children:[$.jsx("path",{d:"M3 8C3 6.89543 3.89543 6 5 6H19C20.1046 6 21 6.89543 21 8V16.6C21 17.7046 20.1046 18.6 19 18.6H5C3.89543 18.6 3 17.7046 3 16.6V8Z",stroke:"#0050C3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M3 7.7998L11.1069 13.8128C11.3567 13.9981 11.6731 14.0998 12 14.0998C12.3269 14.0998 12.6433 13.9981 12.8931 13.8128L21 7.7998",stroke:"#0050C3",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function WN(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:[$.jsx("path",{d:"M11.1112 17.0557C15.0999 17.0557 18.3334 13.8222 18.3334 9.8335C18.3334 5.84481 15.0999 2.61133 11.1112 2.61133C7.12252 2.61133 3.88904 5.84481 3.88904 9.8335V10.3891",stroke:"#F3AF00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M1.66669 8.16455L3.88889 10.3868L6.1111 8.16455",stroke:"#F3AF00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M10.5554 5.38672V10.3867H14.4443",stroke:"#F3AF00",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function WF(e){return $.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:[$.jsx("path",{d:"M14.3128 8.02868C14.5664 7.79455 14.5823 7.39914 14.3481 7.1455C14.114 6.89186 13.7186 6.87605 13.465 7.11018L8.85065 11.3695L6.55305 9.07193C6.30897 8.82785 5.91324 8.82785 5.66916 9.07193C5.42509 9.31601 5.42509 9.71174 5.66916 9.95581L8.39139 12.678C8.62859 12.9152 9.01076 12.9229 9.25725 12.6953L14.3128 8.02868Z",fill:"#F3AF00"}),$.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 1.875C5.51269 1.875 1.875 5.51269 1.875 10C1.875 14.4873 5.51269 18.125 10 18.125C14.4873 18.125 18.125 14.4873 18.125 10C18.125 5.51269 14.4873 1.875 10 1.875ZM3.125 10C3.125 6.20304 6.20304 3.125 10 3.125C13.797 3.125 16.875 6.20304 16.875 10C16.875 13.797 13.797 16.875 10 16.875C6.20304 16.875 3.125 13.797 3.125 10Z",fill:"#F3AF00"})]})}function WR(e){return $.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M10.6154 6.46191H7.84616C7.08146 6.46191 6.46155 7.08183 6.46155 7.84653V10.6158C6.46155 11.3805 7.08146 12.0004 7.84616 12.0004H10.6154C11.3801 12.0004 12 11.3805 12 10.6158V7.84653C12 7.08183 11.3801 6.46191 10.6154 6.46191Z",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M6.46154 3H4.38462C4.01739 3 3.66521 3.14588 3.40554 3.40554C3.14588 3.66521 3 4.01739 3 4.38462V6.46154",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M17.5385 3H19.6154C19.9826 3 20.3348 3.14588 20.5944 3.40554C2
1670.8541 3.66521 21 4.01739 21 4.38462V6.46154",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M6.46154 20.9996H4.38462C4.01739 20.9996 3.66521 20.8537 3.40554 20.5941C3.14588 20.3344 3 19.9822 3 19.615V17.5381",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M17.5385 20.9996H19.6154C19.9826 20.9996 20.3348 20.8537 20.5944 20.5941C20.8541 20.3344 21 19.9822 21 19.615V17.5381",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M6.46155 15.4619V17.5388H8.53847",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M12 17.5388V15.4619H9.9231",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M17.5385 8.53884H15.4615V6.46191",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M17.5385 13.3845V11.3076H15.4615",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M15.4615 15.4619V17.5388H17.5385",stroke:"#171719",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}function W$(e){return $.jsx(cX,{...e})}var WD,Wz,WI,WH,WB,WW,WV,WU,Wq,WG,WY,WZ,WK,WQ,WX,WJ,W1,W0,W2,W3,W5,W4,W6="https://js.stripe.com/v3",W7=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,W8=function(){for(var e=document.querySelectorAll('script[src^="'.concat(W6,'"]')),t=0;t<e.length;t++){var n=e[t];if(W7.test(n.src))return n}return null},W9=function(e){var t=document.createElement("script");t.src="".concat(W6).concat("");var n=document.head||document.body;if(!n)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return n.appendChild(t),t},Ve=null,Vt=null,Vr=null;Promise.resolve().then(function(){return W4||(W4=(null!==Ve?Ve:(Ve=new Promise(function(e,t){if(typeof window>"u"||typeof document>"u"){e(null);return}if(window.Stripe){e(window.Stripe);return}try{var n,o=W8();o?o&&null!==Vr&&null!==Vt&&(o.removeEventListener("load",Vr),o.removeEventListener("error",Vt),null===(n=o.parentNode)||void 0===n||n.removeChild(o),o=W9(null)):o=W9(null),Vr=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},Vt=function(){t(Error("Failed to load Stripe.js"))},o.addEventListener("load",Vr),o.addEventListener("error",Vt)}catch(e){t(e);return}})).catch(function(e){return Ve=null,Promise.reject(e)})).catch(function(e){return W4=null,Promise.reject(e)}))}).catch(function(e){console.warn(e)});let Vn=(0,M.createContext)(void 0);function Va({children:e}){let[t,n]=(0,M.useState)(null),[o,i]=(0,M.useState)(null),l=(0,M.useCallback)(()=>new Promise(e=>{let t=()=>{window.Yuno?e(window.Yuno):setTimeout(t,100)};t()}),[]);(0,M.useEffect)(()=>{},[]),(0,M.useEffect)(()=>
167{l().then(e=>{n(e.initialize("prod_gAAAAABlSp0Yy03Jrcc62oOaVcB1Qps7ipszbgtYexplgiACN5rNFvMuf2U1asEnPQEjvV0k7PY3uro-wCn82h9ZfPiJV69ZC87ruBy5d-JLotsfZ9uD0YxfSaPWqcjNCAFaLXwRqzcYgu715dx5mwFAUgou1TLw38AHXkaN3InjKoSe6B0wLFg="))})},[l]);let s=(0,M.useMemo)(()=>({yuno:t,stripe:o}),[t,o]);return $.jsx(Vn.Provider,{value:s,children:e})}let Vo={default:void 0,info:void 0,warning:$.jsx(Hy,{}),success:$.jsx(function(e){return $.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:$.jsx("path",{d:"M4 11L9.6 16.6L20 7",stroke:"#00C67F",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},{}),error:$.jsx(function(e){return $.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[$.jsx("path",{d:"M3 12C3 14.3869 3.94821 16.6761 5.63604 18.364C7.32387 20.0518 9.61305 21 12 21C14.3869 21 16.6761 20.0518 18.364 18.364C20.0518 16.6761 21 14.3869 21 12C21 9.61305 20.0518 7.32387 18.364 5.63604C16.6761 3.94821 14.3869 3 12 3C9.61305 3 7.32387 3.94821 5.63604 5.63604C3.94821 7.32387 3 9.61305 3 12V12Z",stroke:"#F53C5A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M11.9998 12.6924L11.9998 7.84623",stroke:"#F53C5A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),$.jsx("path",{d:"M12.6921 16.1539C12.6921 15.9703 12.6192 15.7942 12.4894 15.6643C12.3595 15.5345 12.1834 15.4616 11.9998 15.4616C11.8162 15.4616 11.6401 15.5345 11.5103 15.6643C11.3805 15.7942 11.3075 15.9703 11.3075 16.1539C11.3075 16.3375 11.3805 16.5136 11.5103 16.6434C11.6401 16.7733 11.8162 16.8462 11.9998 16.8462C12.1834 16.8462 12.3595 16.7733 12.4894 16.6434C12.6192 16.5136 12.6921 16.3375 12.6921 16.1539Z",stroke:"#F53C5A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})},{})},Vi={default:void 0,info:void 0,success:"bg-[#CEF2E5] border-[#00C67F]",warning:"bg-[#FFEAB5] border-[#F3AF00]",error:"bg-[#FFE1D7] border-[#F53C5A]"},Vl=(0,M.forwardRef)(({variant:e,className:t,icon:n,...o},i)=>$.jsx(mt,{ref:i,className:e8(["flex flex-row items-center justify-center border rounded-lg p-4 md:w-[327px] translate-y-[-110%] md:translate-y-0"],t,Vi[e]),children:$.jsxs("div",{className:"flex w-full gap-2",children:[n||Vo[e],$.jsx("div",{className:e8(["font-bold text-xxs leading-[21px]"]),children:$.jsx("span",{children:o.message})})]})}));function Vs({children:e}){return $.jsx(my,{Components:{success:Vl,error:Vl,warning:Vl},children:e})}let Vu={grey:{900:"#171719",800:"#2F2E33",700:"#3A3940",600:"#525059",500:"#767380",400:"#B7B6BF",300:"#D3D2D9",200:"#EAE9ED",100:"#F5F5F7"},aqua:{800:"#004B78",700:"#008CB4",500:"#00F0FA",300:"#9BFAFF",100:"#CDFAFF"},white:"#FFFFFF",error:{800:"#730A46",700:"#AF1E50",500:"#F53C5A",300:"#FA8C8C",100:"#FFE1D7"},warning:{800:"#694C00",700:"#BC8700",500:"#F3AF00",300:"#FACD59",100:"#FFEAB5"},success:{800:"#00422A",700:"#008D5A",500:"#00C67F",300:"#67E1B5",100:"#CEF2E5"},info:{800:"#003C4B",700:"#00505A",500:"#2DAFB4",300:"#7DE6DC",100:"#D7FAF0"}};function Vc(e,t=20){let n=e.match(/rgb\((\d+),\s*(\d+),\s*(\d+)\)/);if(n){let e=Math.max(0,parseInt(n[1],10)*(1-t/100)),o=Math.max(0,parseInt(n[2],10)*(1-t/100)),i=Math.max(0,parseInt(n[3],10)*(1-t/100));return`rgb(${Math.round(e)}, ${Math.round(o)}, ${Math.round(i)})`}let o=parseInt(e.replace("#",""),16);return`rgb(${Math.round(Math.max(0,(o>>16&255)*(1-t/100)))}, ${Math.round(Math.max(0,(o>>8&255)*(1-t/100)))}, ${Math.round(Math.max(0,(255&o)*(1-t/100)))})`}function Vd(e){let t={blue:{800:e.primary.dark,600:"#002D8C",500:e.primary.pure,300:e.primary.light,lightest:"#EAE9ED"},purple:{800:e.secondary.dark,600:"#41096F",500:e.secondary.pure,300:e.secondary.light,100:"#F3ECF8"},aqua:Vu.aqua,grey:Vu.grey,white:Vu.white,error:Vu.error,warning:Vu.warning,success:Vu.success,info:Vu.info};return{"--color-primary-light":e.primary.light,"--color-primary-pure":e.primary.pure,"--color-primary-dark":e.primary.dark,"--color-secondary-light":e.secondary.light,"--color-secondary-pure":e.secondary.pure,"--color-secondary-dark":e.secondary.dark,"--color-whitelabel-header":e.whitelabel.header,"--color-whitelabel-footer":e.whitelabel.footer,"--color-whitelabel-header-text":e.whitelabel.headerTextColor,"--color-whitelabel-footer-text":e.whitelabel.footerTextColor,"--color-whitelabel-header-hover":Vc(e.whitelabel.header,15),"--color-whitelabel-footer-hover":Vc(e.whitelabel.footer,15),"--color-primitive-blue-800":t.blue[800],"--color-primitive-blue-600":t.blue[600],"--color-primitive-blue-500":t.blue[500],"--color-primitive-blue-300":t.blue[300],"--color-primitive-blue-lightest":t.blue.lightest,"--color-purple-800":t.purple[800],"--color-purple-600":t.purple[600],"--color-purple-500":t.purple[500],"--color-purple-300":t.purple[300],"--color-purple-100":t.purple[100],"--color-aqua-800":t.aqua[800],"--color-aqua-700":t.aqua[700],"--color-aqua-500":t.aqua[500],"--color-aqua-300":t.aqua[300],"--color-aqua-100":t.aqua[100],"--color-grey-900":t.grey[900],"--color-grey-800":t.grey[800],"--color-grey-700":t.grey[700],"--color-grey-600":t.grey[600],"--color-grey-500":t.grey[500],"--color-grey-400":t.grey[400],"--color-grey-300":t.grey[300],"--color-grey-200":t.grey[200],"--color-grey-100":t.grey[100],"--color-white":t.white,"--color-error-800":t.error[800],"--color-error-700":t.error[700],"--color-error-500":t.error[500],"--color-error-300":t.error[300],"--color-error-100":t.error[100],"--color-warning-800":t.warning[800],"--color-warning-700":t.warning[700],"--color-warning-500":t.warning[500],"--color-warning-300":t.warning[300],"--color-warning-100":t.warning[100],"--color-success-800":t.success[800],"--color-success-700":t.success[700],"--color-success-500":t.success[500],"--color-success-300":t.success[300],"--color-success-100":t.success[100],"--color-info-800":t.info[800],"--color-info-700":t.info[700],"--color-info-500":t.info[500],"--color-info-300":t.info[300],"--color-info-100":t.info[100]}}let Vf={container:{position:"fixed",top:0,left:0,width:"100vw",height:"100vh",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:"#ffffff",zIndex:9999},spinner:{width:"48px",height:"48px",border:"4px solid #f3f3f3",borderTop:"4px solid #0050C3",borderRadius:"50%",animation:"spin 1s linear infinite"}};function Vh({children:e}){let{config:t,isLoading:n}=Q(),[o,i]=(0,M.useState)(!1);(0,M.useEffect)(()=>
167{if(!(typeof document>"u"||n||!t))try{let e=Vd(t),n=document.documentElement;Object.entries(e).forEach(([e,t])=>{n.style.setProperty(e,t)}),i(!0)}catch(e){console.error("Error applying theme:",e),i(!0)}},[t,n]);let l=(0,M.useMemo)(()=>({isThemeLoaded:o}),[o]);return $.jsxs(Oj.Provider,{value:l,children:[!o&&$.jsx("div",{style:Vf.container,children:$.jsx("div",{style:Vf.spinner})}),e]})}function Vp(){let{config:e}=Q(),t=e?.assets?.favicon;return t?$.jsx(L,{children:$.jsx("link",{rel:"icon",href:t})}):null}function Vm({children:e,pageProps:t,slug:n,hideChrome:o}){let{isInZigApp:i}=jP(),l=(0,_.useRouter)().locale||"pt-BR",s=!i&&!o;return $.jsx(y1,{value:t,children:$.jsx(kf,{children:$.jsx(yK,{children:$.jsx(E5,{eventSlug:n,children:$.jsx(jL,{eventSlug:n,children:$.jsx(Va,{children:$.jsx(EY,{children:$.jsx(Vs,{children:$.jsxs(jy,{locale:l,children:[$.jsx(Hv,{pixelId:yk}),$.jsx(vh.GoogleTagManager,{gtmId:v4}),$.jsx(v2,{id:"ga-init-standard",gaId:v5}),$.jsxs("div",{className:e8("min-h-screen flex flex-col",""),children:[s&&$.jsx(IO,{}),$.jsx("main",{className:e8("flex-1",s&&"mt-12x md:mt-16x"),children:e}),s&&$.jsx(IP,{})]})]})})})})})})})})})}function Vg({children:e,pageProps:t,hideChrome:n,initialWhitelabelConfig:o=null}){let i=(0,_.useRouter)(),{slug:l}=i.query,s=i.pathname.startsWith("/eventos/[slug]")?l:"",[u]=(0,M.useState)(new O.QueryClient),c=t.messages||{},d=i.locale||"pt-BR";return $.jsxs(K,{initialConfig:o,children:[$.jsx(Vp,{}),$.jsx(Vh,{children:$.jsx(O.QueryClientProvider,{client:u,children:$.jsx(S.NextIntlClientProvider,{locale:d,messages:c,timeZone:"America/Sao_Paulo",onError:e=>{console.warn("Translation error:",e)},children:$.jsx(Vm,{pageProps:t,slug:s,hideChrome:n,children:e})})})})]})}let Vv=/^[A-Z0-9]{6}$/,Vy=jr({code:je().regex(Vv,{message:"invalidCourtesyTokenFormat"})}),Vb=6,Vw=/^[A-Z0-9]{6}$/,Vx=jr({otp:je().regex(Vw,{message:"invalidCourtesyOtpFormat"})})},35887:function(e,t){"use strict";function n(e,t){void 0===t&&(t={});for(var n=function(e){for(var t=[],n=0;n<e.length;){var o=e[n];if("*"===o||"+"===o||"?"===o){t.push({type:"MODIFIER",index:n,value:e[n++]});continue}if("\\"===o){t.push({type:"ESCAPED_CHAR",index:n++,value:e[n++]});continue}if("{"===o){t.push({type:"OPEN",index:n,value:e[n++]});continue}if("}"===o){t.push({type:"CLOSE",index:n,value:e[n++]});continue}if(":"===o){for(var i="",l=n+1;l<e.length;){var s=e.charCodeAt(l);if(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||95===s){i+=e[l++];continue}break}if(!i)throw TypeError("Missing parameter name at "+n);t.push({type:"NAME",index:n,value:i}),n=l;continue}if("("===o){var u=1,c="",l=n+1;if("?"===e[l])throw TypeError('Pattern cannot start with "?" at '+l);for(;l<e.length;){if("\\"===e[l]){c+=e[l++]+e[l++];continue}if(")"===e[l]){if(0==--u){l++;break}}else if("("===e[l]&&(u++,"?"!==e[l+1]))throw TypeError("Capturing groups are not allowed at "+l);c+=e[l++]}if(u)throw TypeError("Unbalanced pattern at "+n);if(!c)throw TypeError("Missing pattern at "+n);t.push({type:"PATTERN",index:n,value:c}),n=l;continue}t.push({type:"CHAR",index:n,value:e[n++]})}return t.push({type:"END",index:n,value:""}),t}(e),o=t.prefixes,i=void 0===o?"./":o,s="[^"+l(t.delimiter||"/#?")+"]+?",u=[],c=0,d=0,f="",h=function(e){if(d<n.length&&n[d].type===e)return n[d++].value},p=function(e){var t=h(e);if(void 0!==t)return t;var o=n[d];throw TypeError("Unexpected "+o.type+" at "+o.index+", expected "+e)},m=function(){for(var e,t="";e=h("CHAR")||h("ESCAPED_CHAR");)t+=e;return t};d<n.length;){var g=h("CHAR"),v=h("NAME"),y=h("PATTERN");if(v||y){var b=g||"";-1===i.indexOf(b)&&(f+=b,b=""),f&&(u.push(f),f=""),u.push({name:v||c++,prefix:b,suffix:"",pattern:y||s,modifier:h("MODIFIER")||""});continue}var w=g||h("ESCAPED_CHAR");if(w){f+=w;continue}if(f&&(u.push(f),f=""),h("OPEN")){var b=m(),x=h("NAME")||"",E=h("PATTERN")||"",C=m();p("CLOSE"),u.push({name:x||(E?c++:""),pattern:x&&!E?s:E,prefix:b,suffix:C,modifier:h("MODIFIER")||""});continue}p("END")}return u}function o(e,t){void 0===t&&(t={});var n=s(t),o=t.encode,i=void 0===o?function(e){return e}:o,l=t.validate,u=void 0===l||l,c=e.map(function(e){if("object"==typeof e)return RegExp("^(?:"+e.pattern+")$",n)});return function(t){for(var n="",o=0;o<e.length;o++){var l=e[o];if("string"==typeof l){n+=l;continue}var s=t?t[l.name]:void 0,d="?"===l.modifier||"*"===l.modifier,f="*"===l.modifier||"+"===l.modifier;if(Array.isArray(s)){if(!f)throw TypeError('Expected "'+l.name+'" to not repeat, but got an array');if(0===s.length){if(d)continue;throw TypeError('Expected "'+l.name+'" to not be empty')}for(var h=0;h<s.length;h++){var p=i(s[h],l);
167if(u&&!c[o].test(p))throw TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but got "'+p+'"');n+=l.prefix+p+l.suffix}continue}if("string"==typeof s||"number"==typeof s){var p=i(String(s),l);if(u&&!c[o].test(p))throw TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but got "'+p+'"');n+=l.prefix+p+l.suffix;continue}if(!d){var m=f?"an array":"a string";throw TypeError('Expected "'+l.name+'" to be '+m)}}return n}}function i(e,t,n){void 0===n&&(n={});var o=n.decode,i=void 0===o?function(e){return e}:o;return function(n){var o=e.exec(n);if(!o)return!1;for(var l=o[0],s=o.index,u=Object.create(null),c=1;c<o.length;c++)!function(e){if(void 0!==o[e]){var n=t[e-1];"*"===n.modifier||"+"===n.modifier?u[n.name]=o[e].split(n.prefix+n.suffix).map(function(e){return i(e,n)}):u[n.name]=i(o[e],n)}}(c);return{path:l,index:s,params:u}}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function s(e){return e&&e.sensitive?"":"i"}function u(e,t,n){void 0===n&&(n={});for(var o=n.strict,i=void 0!==o&&o,u=n.start,c=n.end,d=n.encode,f=void 0===d?function(e){return e}:d,h="["+l(n.endsWith||"")+"]|$",p="["+l(n.delimiter||"/#?")+"]",m=void 0===u||u?"^":"",g=0;g<e.length;g++){var v=e[g];if("string"==typeof v)m+=l(f(v));else{var y=l(f(v.prefix)),b=l(f(v.suffix));if(v.pattern){if(t&&t.push(v),y||b){if("+"===v.modifier||"*"===v.modifier){var w="*"===v.modifier?"?":"";m+="(?:"+y+"((?:"+v.pattern+")(?:"+b+y+"(?:"+v.pattern+"))*)"+b+")"+w}else m+="(?:"+y+"("+v.pattern+")"+b+")"+v.modifier}else m+="("+v.pattern+")"+v.modifier}else m+="(?:"+y+b+")"+v.modifier}}if(void 0===c||c)i||(m+=p+"?"),m+=n.endsWith?"(?="+h+")":"$";else{var x=e[e.length-1],E="string"==typeof x?p.indexOf(x[x.length-1])>-1:void 0===x;i||(m+="(?:"+p+"(?="+h+"))?"),E||(m+="(?="+p+"|"+h+")")}return new RegExp(m,s(n))}function c(e,t,o){return e instanceof RegExp?function(e,t){if(!t)return e;var n=e.source.match(/\((?!\?)/g);if(n)for(var o=0;o<n.length;o++)t.push({name:o,prefix:"",suffix:"",modifier:"",pattern:""});return e}(e,t):Array.isArray(e)?RegExp("(?:"+e.map(function(e){return c(e,t,o).source}).join("|")+")",s(o)):u(n(e,o),t,o)}Object.defineProperty(t,"__esModule",{value:!0}),t.parse=n,t.compile=function(e,t){return o(n(e,t),t)},t.tokensToFunction=o,t.match=function(e,t){var n=[];return i(c(e,n,t),n,t)},t.regexpToFunction=i,t.tokensToRegexp=u,t.pathToRegexp=c},36064:function(e,t,n){"use strict";let o;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{addMessageListener:function(){return s},connectHMR:function(){return d},sendMessage:function(){return u}});let i=n(25390),l=[];function s(e){l.push(e)}function u(e){if(o&&o.readyState===o.OPEN)return o.send(e)}let c=0;function d(e){!function t(){let n;function s(){if(o.onerror=null,o.onclose=null,o.close(),++c>25){window.location.reload();return}clearTimeout(n),n=setTimeout(t,c>5?5e3:1e3)}o&&o.close();let u=(0,i.getSocketUrl)(e.assetPrefix);(o=new window.WebSocket(""+u+e.path)).onopen=function(){c=0,window.console.log("[HMR] connected")},o.onerror=s,o.onclose=s,o.onmessage=function(e){let t=JSON.parse(e.data);for(let e of l)e(t)}}()}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},36077:function(e){"use strict";e.exports=["chrome 64","edge 79","firefox 67","opera 51","safari 12"]},36243:function(e,t){"use strict";function n(e){let t=(null==e?void 0:e.replace(/^\/+/,""))||!1;return t&&t.startsWith("://")?t.split("://",2)[1]:t?"/"+t:""}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizedAssetPrefix",{enumerable:!0,get:function(){return n}})},36974:function(e,t,n){"use strict";let o,i,l,s,u,c,d,f,h,p,m,g;Object.defineProperty(t,"__esModule",{value:!0});let v=n(2438);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{emitter:function(){return Y},hydrate:function(){return ep},initialize:function(){return X},router:function(){return o},version:function(){return G}});let y=n(77223),b=n(23078);n(25169);let w=y._(n(59065)),x=y._(n(83134)),E=n(45140),C=y._(n(83108)),k=n(60019),M=n(76791),_=n(62592),S=n(17587),j=n(22802),O=n(22101),L=n(99861),A=y._(n(2484)),T=y._(n(4415)),P=y._(n(18711)),N=n(52877),F=n(81901),R=n(58492),$=n(92298),D=n(65670),z=n(69404),I=n(37661),H=n(6126),B=n(95124),W=y._(n(42687)),U=y._(n(97922)),q=y._(n(96517)),G="14.2.7",Y=(0,C.default)(),Z=e
167=>[].slice.call(e),K=!1;class Q extends w.default.Component{componentDidCatch(e,t){this.props.fn(e,t)}componentDidMount(){this.scrollToHash(),o.isSsr&&(i.isFallback||i.nextExport&&((0,_.isDynamicRoute)(o.pathname)||location.search,1)||i.props&&i.props.__N_SSG&&(location.search,1))&&o.replace(o.pathname+"?"+String((0,S.assign)((0,S.urlQueryToSearchParams)(o.query),new URLSearchParams(location.search))),l,{_h:1,shallow:!i.isFallback&&!K}).catch(e=>{if(!e.cancelled)throw e})}componentDidUpdate(){this.scrollToHash()}scrollToHash(){let{hash:e}=location;if(!(e=e&&e.substring(1)))return;let t=document.getElementById(e);t&&setTimeout(()=>t.scrollIntoView(),0)}render(){return this.props.children}}async function X(e){void 0===e&&(e={}),U.default.onSpanEnd(q.default),i=JSON.parse(document.getElementById("__NEXT_DATA__").textContent),window.__NEXT_DATA__=i,g=i.defaultLocale;let t=i.assetPrefix||"";self.__next_set_public_path__(""+t+"/_next/"),(0,j.setConfig)({serverRuntimeConfig:{},publicRuntimeConfig:i.runtimeConfig||{}}),l=(0,O.getURL)(),(0,z.hasBasePath)(l)&&(l=(0,D.removeBasePath)(l));{let{normalizeLocalePath:e}=n(58673),{detectDomainLocale:t}=n(52194),{parseRelativeUrl:o}=n(20638),{formatUrl:s}=n(69939);if(i.locales){let n=o(l),u=e(n.pathname,i.locales);u.detectedLocale?(n.pathname=u.pathname,l=s(n)):g=i.locale;let c=t(!1,window.location.hostname);c&&(g=c.defaultLocale)}}if(i.scriptLoader){let{initScriptLoader:e}=n(53735);e(i.scriptLoader)}s=new T.default(i.buildId,t);let d=e=>{let[t,n]=e;return s.routeLoader.onEntrypoint(t,n)};return window.__NEXT_P&&window.__NEXT_P.map(e=>setTimeout(()=>d(e),0)),window.__NEXT_P=[],window.__NEXT_P.push=d,(c=(0,A.default)()).getIsSsr=()=>o.isSsr,u=document.getElementById("__next"),{assetPrefix:t}}function J(e,t){return(0,b.jsx)(e,{...t})}function ee(e){var t;let{children:n}=e,i=w.default.useMemo(()=>(0,H.adaptForAppRouterInstance)(o),[]);return(0,b.jsx)(Q,{fn:e=>er({App:h,err:e}).catch(e=>console.error("Error rendering page: ",e)),children:(0,b.jsx)(I.AppRouterContext.Provider,{value:i,children:(0,b.jsx)(B.SearchParamsContext.Provider,{value:(0,H.adaptForSearchParams)(o),children:(0,b.jsx)(H.PathnameContextProviderAdapter,{router:o,isAutoExport:null!=(t=self.__NEXT_DATA__.autoExport)&&t,children:(0,b.jsx)(B.PathParamsContext.Provider,{value:(0,H.adaptForPathParams)(o),children:(0,b.jsx)(k.RouterContext.Provider,{value:(0,F.makePublicRouterInstance)(o),children:(0,b.jsx)(E.HeadManagerContext.Provider,{value:c,children:(0,b.jsx)($.ImageConfigContext.Provider,{value:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1},children:n})})})})})})})})}let et=e=>t=>{let n={...t,Component:m,err:i.err,router:o};return(0,b.jsx)(ee,{children:J(e,n)})};function er(e){let{App:t,err:u}=e;return console.error(u),console.error("A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred"),s.loadPage("/_error").then(o=>{let{page:i,styleSheets:l}=o;return(null==d?void 0:d.Component)===i?Promise.resolve().then(()=>v._(n(67966))).then(o=>Promise.resolve().then(()=>v._(n(85623))).then(n=>(t=n.default,e.App=t,o))).then(e=>({ErrorComponent:e.default,styleSheets:[]})):{ErrorComponent:i,styleSheets:l}}).then(n=>{var s;let{ErrorComponent:c,styleSheets:d}=n,f=et(t),h={Component:c,AppTree:f,router:o,ctx:{err:u,pathname:i.page,query:i.query,asPath:l,AppTree:f}};return Promise.resolve((null==(s=e.props)?void 0:s.err)?e.props:(0,O.loadGetInitialProps)(t,h)).then(t=>ef({...e,err:u,Component:c,styleSheets:d,props:t}))})}function en(e){let{callback:t}=e;return w.default.useLayoutEffect(()=>t(),[t]),null}let ea={navigationStart:"navigationStart",beforeRender:"beforeRender",afterRender:"afterRender",afterHydrate:"afterHydrate",routeChange:"routeChange"},eo={hydration:"Next.js-hydration",beforeHydration:"Next.js-before-hydration",routeChangeToRender:"Next.js-route-change-to-render",render:"Next.js-render"},ei=null,el=!0;function es(){[ea.beforeRender,ea.afterHydrate,ea.afterRender,ea.routeChange].forEach(e
167=>performance.clearMarks(e))}function eu(){O.ST&&(performance.mark(ea.afterHydrate),performance.getEntriesByName(ea.beforeRender,"mark").length&&(performance.measure(eo.beforeHydration,ea.navigationStart,ea.beforeRender),performance.measure(eo.hydration,ea.beforeRender,ea.afterHydrate)),p&&performance.getEntriesByName(eo.hydration).forEach(p),es())}function ec(){if(!O.ST)return;performance.mark(ea.afterRender);let e=performance.getEntriesByName(ea.routeChange,"mark");e.length&&(performance.getEntriesByName(ea.beforeRender,"mark").length&&(performance.measure(eo.routeChangeToRender,e[0].name,ea.beforeRender),performance.measure(eo.render,ea.beforeRender,ea.afterRender),p&&(performance.getEntriesByName(eo.render).forEach(p),performance.getEntriesByName(eo.routeChangeToRender).forEach(p))),es(),[eo.routeChangeToRender,eo.render].forEach(e=>performance.clearMeasures(e)))}function ed(e){let{callbacks:t,children:n}=e;return w.default.useLayoutEffect(()=>t.forEach(e=>e()),[t]),w.default.useEffect(()=>{(0,P.default)(p)},[]),n}function ef(e){let t,{App:n,Component:i,props:l,err:s}=e,c="initial"in e?void 0:e.styleSheets;i=i||d.Component;let h={...l=l||d.props,Component:i,err:s,router:o};d=h;let p=!1,m=new Promise((e,n)=>{f&&f(),t=()=>{f=null,e()},f=()=>{p=!0,f=null;let e=Error("Cancel rendering route");e.cancelled=!0,n(e)}});function g(){t()}!function(){if(!c)return;let e=new Set(Z(document.querySelectorAll("style[data-n-href]")).map(e=>e.getAttribute("data-n-href"))),t=document.querySelector("noscript[data-n-css]"),n=null==t?void 0:t.getAttribute("data-n-css");
167c.forEach(t=>{let{href:o,text:i}=t;if(!e.has(o)){let e=document.createElement("style");e.setAttribute("data-n-href",o),e.setAttribute("media","x"),n&&e.setAttribute("nonce",n),document.head.appendChild(e),e.appendChild(document.createTextNode(i))}})}();let v=(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(en,{callback:function(){if(c&&!p){let e=new Set(c.map(e=>e.href)),t=Z(document.querySelectorAll("style[data-n-href]")),n=t.map(e=>e.getAttribute("data-n-href"));for(let o=0;o<n.length;++o)e.has(n[o])?t[o].removeAttribute("media"):t[o].setAttribute("media","x");let o=document.querySelector("noscript[data-n-css]");o&&c.forEach(e=>{let{href:t}=e,n=document.querySelector('style[data-n-href="'+t+'"]');n&&(o.parentNode.insertBefore(n,o.nextSibling),o=n)}),Z(document.querySelectorAll("link[data-n-p]")).forEach(e=>{e.parentNode.removeChild(e)})}if(e.scroll){let{x:t,y:n}=e.scroll;(0,M.handleSmoothScroll)(()=>{window.scrollTo(t,n)})}}}),(0,b.jsxs)(ee,{children:[J(n,h),(0,b.jsx)(L.Portal,{type:"next-route-announcer",children:(0,b.jsx)(N.RouteAnnouncer,{})})]})]});return!function(e,t){O.ST&&performance.mark(ea.beforeRender);let n=t(el?eu:ec);ei?(0,w.default.startTransition)(()=>{ei.render(n)}):(ei=x.default.hydrateRoot(e,n,{onRecoverableError:W.default}),el=!1)}(u,e=>(0,b.jsx)(ed,{callbacks:[e,g],children:(0,b.jsx)(w.default.StrictMode,{children:v})})),m}async function eh(e){if(e.err&&(void 0===e.Component||!e.isHydratePass)){await er(e);return}try{await ef(e)}catch(n){let t=(0,R.getProperError)(n);if(t.cancelled)throw t;await er({...e,err:t})}}async function ep(e){let t=i.err;try{let e=await s.routeLoader.whenEntrypoint("/_app");if("error"in e)throw e.error;let{component:t,exports:n}=e;h=t,n&&n.reportWebVitals&&(p=e=>{let t,{id:o,name:i,startTime:l,value:s,duration:u,entryType:c,entries:d,attribution:f}=e,h=Date.now()+"-"+(Math.floor(Math.random()*(9e12-1))+1e12);d&&d.length&&(t=d[0].startTime);let p={id:o||h,name:i,startTime:l||t,value:null==s?u:s,label:"mark"===c||"measure"===c?"custom":"web-vital"};f&&(p.attribution=f),n.reportWebVitals(p)});let o=await s.routeLoader.whenEntrypoint(i.page);if("error"in o)throw o.error;m=o.component}catch(e){t=(0,R.getProperError)(e)}window.__NEXT_PRELOADREADY&&await window.__NEXT_PRELOADREADY(i.dynamicIds),o=(0,F.createRouter)(i.page,i.query,l,{initialProps:i.props,pageLoader:s,App:h,Component:m,wrapApp:et,err:t,isFallback:!!i.isFallback,subscription:(e,t,n)=>eh(Object.assign({},e,{App:t,scroll:n})),locale:i.locale,locales:i.locales,defaultLocale:g,domainLocales:i.domainLocales,isPreview:i.isPreview}),K=await o._initialMatchesMiddlewarePromise;let n={App:h,initial:!0,Component:m,props:i.props,err:t,isHydratePass:!0};(null==e?void 0:e.beforeRender)&&await e.beforeRender(),eh(n)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},37416:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(50607),i=n(85121),l=n(69535),s=n(60863),u=n(54931),c=n(74967);n(22715),n(59065),n(9991),n(10686),t.IntlError=o.IntlError,t.IntlErrorCode=o.IntlErrorCode,t.createFormatter=o.createFormatter,t.createTranslator=i.createTranslator,t._createCache=l.createCache,t._createIntlFormatters=l.createIntlFormatters,t.initializeConfig=l.initializeConfig,t.IntlProvider=s.IntlProvider,t.useFormatter=u.useFormatter,t.useMessages=u.useMessages,t.useNow=u.useNow,t.useTimeZone=u.useTimeZone,t.useTranslations=u.useTranslations,t.useLocale=c.useLocale}
167,37654:function(e){var t,n,o,i,l;"undefined"!=typeof __nccwpck_require__&&(__nccwpck_require__.ab="//"),/*! 168 * cookie 169 * Copyright(c) 2012-2014 Roman Shtylman 170 * Copyright(c) 2015 Douglas Christopher Wilson 171 * MIT Licensed 172 */(t={}).parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");for(var o={},l=e.split(i),s=(t||{}).decode||n,u=0;u<l.length;u++){var c=l[u],d=c.indexOf("=");if(!(d<0)){var f=c.substr(0,d).trim(),h=c.substr(++d,c.length).trim();'"'==h[0]&&(h=h.slice(1,-1)),void 0==o[f]&&(o[f]=function(e,t){try{return t(e)}catch(t){return e}}(h,s))}}return o},t.serialize=function(e,t,n){var i=n||{},s=i.encode||o;if("function"!=typeof s)throw TypeError("option encode is invalid");if(!l.test(e))throw TypeError("argument name is invalid");var u=s(t);if(u&&!l.test(u))throw TypeError("argument val is invalid");var c=e+"="+u;if(null!=i.maxAge){var d=i.maxAge-0;if(isNaN(d)||!isFinite(d))throw TypeError("option maxAge is invalid");c+="; Max-Age="+Math.floor(d)}if(i.domain){if(!l.test(i.domain))throw TypeError("option domain is invalid");c+="; Domain="+i.domain}if(i.path){if(!l.test(i.path))throw TypeError("option path is invalid");c+="; Path="+i.path}if(i.expires){if("function"!=typeof i.expires.toUTCString)throw TypeError("option expires is invali
172d");c+="; Expires="+i.expires.toUTCString()}if(i.httpOnly&&(c+="; HttpOnly"),i.secure&&(c+="; Secure"),i.sameSite)switch("string"==typeof i.sameSite?i.sameSite.toLowerCase():i.sameSite){case!0:case"strict":c+="; SameSite=Strict";break;case"lax":c+="; SameSite=Lax";break;case"none":c+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return c},n=decodeURIComponent,o=encodeURIComponent,i=/; */,l=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,e.exports=t},37661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{AppRouterContext:function(){return i},GlobalLayoutRouterContext:function(){return s},LayoutRouterContext:function(){return l},MissingSlotContext:function(){return c},TemplateContext:function(){return u}});let o=n(77223)._(n(59065)),i=o.default.createContext(null),l=o.default.createContext(null),s=o.default.createContext(null),u=o.default.createContext(null),c=o.default.createContext(new Set)},37725:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});var o=n(59065),i=null!=globalThis&&globalThis.document?o.useLayoutEffect:()=>{}},37815:function(e,t,n){"use strict";function o(e){return(t,n)=>{let o;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):t;o=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=null!=n&&n.width?String(n.width):e.defaultWidth;o=e.values[i]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{o:function(){return o}})},37916:function(e,t){"use strict";function n(e){return e.replace(/\\/g,"/")}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathSep",{enumerable:!0,get:function(){return n}})},38555:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});/** 173 * @license lucide-react v0.436.0 - ISC 174 * 175 * This source code is licensed under the ISC license. 176 * See the LICENSE file in the root directory of this source tree. 177 */let o=(0,n(60454).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},39715:function(e,t,n){"use strict";n.d(t,{_s:function(){return eL}});var o=n(59065),i=n(95339),l=n(32964),s=n(82450),u=n(25071),c=n(85859),d=n(79094),f=n(49239),h=n(2381),p=n(10005),m=n(46475),g=n(29937),v=n(57122),y=n(97708),b=n(11502),w=n(72370),x="Dialog",[E]=(0,s.A)(x),[C,k]=E(x),M=e=>{let{__scopeDialog:t,children:n,open:i,defaultOpen:l,onOpenChange:s,modal:d=!0}=e,f=o.useRef(null),h=o.useRef(null),[p,m]=(0,c.i)({prop:i,defaultProp:l??!1,onChange:s,caller:x});return w.j.jsx(C,{scope:t,triggerRef:f,contentRef:h,contentId:(0,u.B)(),titleId:(0,u.B)(),descriptionId:(0,u.B)(),open:p,onOpenChange:m,onOpenToggle:o.useCallback(()=>m(e=>!e),[m]),modal:d,children:n})};M.displayName=x;var _="DialogTrigger",S=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,s=k(_,n),u=(0,l.s)(t,s.triggerRef);return w.j.jsx(m.s.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Y(s.open
177),...o,ref:u,onClick:(0,i.m)(e.onClick,s.onOpenToggle)})});S.displayName=_;var j="DialogPortal",[O,L]=E(j,{forceMount:void 0}),A=e=>{let{__scopeDialog:t,forceMount:n,children:i,container:l}=e,s=k(j,t);return w.j.jsx(O,{scope:t,forceMount:n,children:o.Children.map(i,e=>w.j.jsx(p.C,{present:n||s.open,children:w.j.jsx(h.Z,{asChild:!0,container:l,children:e})}))})};A.displayName=j;var T="DialogOverlay",P=o.forwardRef((e,t)=>{let n=L(T,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,l=k(T,e.__scopeDialog);return l.modal?w.j.jsx(p.C,{present:o||l.open,children:w.j.jsx(F,{...i,ref:t})}):null});P.displayName=T;var N=(0,b.T)("DialogOverlay.RemoveScroll"),F=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=k(T,n);return w.j.jsx(v.A,{as:N,allowPinchZoom:!0,shards:[i.contentRef],children:w.j.jsx(m.s.div,{"data-state":Y(i.open),...o,ref:t,style:{pointerEvents:"auto",...o.style}})})}),R="DialogContent",$=o.forwardRef((e,t)=>{let n=L(R,e.__scopeDialog),{forceMount:o=n.forceMount,...i}=e,l=k(R,e.__scopeDialog);return w.j.jsx(p.C,{present:o||l.open,children:l.modal?w.j.jsx(D,{...i,ref:t}):w.j.jsx(z,{...i,ref:t})})});$.displayName=R;var D=o.forwardRef((e,t)=>{let n=k(R,e.__scopeDialog),s=o.useRef(null),u=(0,l.s)(t,n.contentRef,s);return o.useEffect(()=>{let e=s.current;if(e)return(0,y.E)(e)},[]),w.j.jsx(I,{...e,ref:u,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault())})}),z=o.forwardRef((e,t)=>{let n=k(R,e.__scopeDialog),i=o.useRef(!1),l=o.useRef(!1);return w.j.jsx(I,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,s;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(i.current||null==(s=n.triggerRef.current)||s.focus(),t.preventDefault()),i.current=!1,l.current=!1},onInteractOutside:t=>{var o,s;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let u=t.target;(null==(s=n.triggerRef.current)?void 0:s.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),I=o.forwardRef((e,t)=>{let{__scopeDialog:n,trapFocus:i,onOpenAutoFocus:s,onCloseAutoFocus:u,...c}=e,h=k(R,n),p=o.useRef(null),m=(0,l.s)(t,p);return(0,g.O)(),w.j.jsxs(w.j.Fragment,{children:[w.j.jsx(f.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:s,onUnmountAutoFocus:u,children:w.j.jsx(d.q,{role:"dialog",id:h.contentId,"aria-describedby":h.descriptionId,"aria-labelledby":h.titleId,"data-state":Y(h.open),...c,ref:m,onDismiss:()=>h.onOpenChange(!1)})}),w.j.jsxs(w.j.Fragment,{children:[w.j.jsx(X,{titleId:h.titleId}),w.j.jsx(J,{contentRef:p,descriptionId:h.descriptionId})]})]})}),H="DialogTitle",B=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=k(H,n);return w.j.jsx(m.s.h2,{id:i.titleId,...o,ref:t})});B.displayName=H;var W="DialogDescription",U=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,i=k(W,n);return w.j.jsx(m.s.p,{id:i.descriptionId,...o,ref:t})});U.displayName=W;var q="DialogClose",G=o.forwardRef((e,t)=>{let{__scopeDialog:n,...o}=e,l=k(q,n);return w.j.jsx(m.s.button,{type:"button",...o,ref:t,onClick:(0,i.m)(e.onClick,()=>l.onOpenChange(!1))})});function Y(e){return e?"open":"closed"}G.displayName=q;var Z="DialogTitleWarning",[K,Q]=(0,s.q)(Z,{contentName:R,titleName:H,docsSlug:"dialog"}),X=({titleId:e})=>{let t=Q(Z),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. 178 179If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. 180 181For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return o.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},J=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Q("DialogDescriptionWarning").contentName}}.`;return o.useEffect(()=>{var o;let i=null==(o=e.current)?void 0:o.getAttribute("aria-describedby");t&&i&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null};let ee=o.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{}
181,openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),et=()=>{let e=o.useContext(ee);if(!e)throw Error("useDrawerContext must be used within a Drawer.Root");return e};function er(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function en(){return ea(/^iPhone/)||ea(/^iPad/)||ea(/^Mac/)&&navigator.maxTouchPoints>1}function ea(e){return"u">typeof window&&null!=window.navigator?e.test(window.navigator.platform):void 0}!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not( 182[data-state=closed] 183){opacity:0}
183[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);let eo="u">typeof window?o.useLayoutEffect:o.useEffect;function ei(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}let el="u">typeof document&&window.visualViewport;function es(e){let t=window.getComputedStyle(e);return/(auto|scroll)/.test(t.overflow+t.overflowX+t.overflowY)}function eu(e){for(es(e)&&(e=e.parentElement);e&&!es(e);)e=e.parentElement;return e||document.scrollingElement||document.documentElement}let ec=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),ed=0,ef;function eh(e,t,n,o){return e.addEventListener(t,n,o),()=>{e.removeEventListener(t,n,o)}}function ep(e){let t=document.scrollingElement||document.documentElement;for(;e&&e!==t;){let t=eu(e);if(t!==document.documentElement&&t!==document.body&&t!==e){let n=t.getBoundingClientRect().top,o=e.getBoundingClientRect().top;e.getBoundingClientRect().bottom>t.getBoundingClientRect().bottom+24&&(t.scrollTop+=o-n)}e=t.parentElement}}function em(e){return e instanceof HTMLInputElement&&!ec.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}function eg(...e){return o.useCallback(function(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}(...e),e)}let ev=new WeakMap;function ey(e,t,n=!1){if(!e||!(e instanceof HTMLElement))return;let o={};Object.entries(t).forEach(([t,n])=>{if(t.startsWith("--")){e.style.setProperty(t,n);return}o[t]=e.style[t],e.style[t]=n}),n||ev.set(e,o)}let eb=e=>{switch(e){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return e}};function ew(e,t){if(!e)return null;let n=window.getComputedStyle(e),o=n.transform||n.webkitTransform||n.mozTransform,i=o.match(/^matrix3d\((.+)\)$/);return i?parseFloat(i[1].split(", ")[eb(t)?13:12]):(i=o.match(/^matrix\((.+)\)$/))?parseFloat(i[1].split(", ")[eb(t)?5:4]):null}function ex(e,t){if(!e)return()=>{};let n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}}let eE={DURATION:.5,EASE:[.32,.72,0,1]},eC="vaul-dragging";function ek(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>null==t.current?void 0:t.current.call(t,...e),[])}function eM({prop:e,defaultProp:t,onChange:n=()=>{}}){let[i,l]=function({defaultProp:e,onChange:t}){let n=o.useState(e),[i]=n,l=o.useRef(i),s=ek(t);return o.useEffect(()=>{l.current!==i&&(s(i),l.current=i)},[i,l,s]),n}({defaultProp:t,onChange:n}),s=void 0!==e,u=s?e:i,c=ek(n);return[u,o.useCallback(t=>{if(s){let n="function"==typeof t?t(e):t;n!==e&&c(n)}else l(t)},[s,e,l,c])]}let e_=()=>()=>{},eS=null,ej=o.forwardRef(function({...e},t){let{overlayRef:n,snapPoints:i,onRelease:l,shouldFade:s,isOpen:u,modal:c,shouldAnimate:d}=et(),f=eg(t,n),h=i&&i.length>0;if(!c)return null;let p=o.useCallback(e=>l(e),[l]);return o.createElement(P,{onMouseUp:p,ref:f,"data-vaul-overlay":"","data-vaul-snap-points":u&&h?"true":"false","data-vaul-snap-points-overlay":u&&s?"true":"false","data-vaul-animate":null!=d&&d.current?"true":"false",...e})});ej.displayName="Drawer.Overlay";let eO=o.forwardRef(function({onPointerDownOutside:e,style:t,onOpenAutoFocus:n,...i},l){let{drawerRef:s,onPress:u,onRelease:c,onDrag:d,keyboardIsOpen:f,snapPointsOffset:h,activeSnapPointIndex:p,modal:m,isOpen:g,direction:v,snapPoints:y,container:b,handleOnly:w,shouldAnimate:x,autoFocus:E}=et(),[C,k]=o.useState(!1),M=eg(l,s),_=o.useRef(null),S=o.useRef(null),j=o.useRef(!1),O=y&&y.length>0;
183!function(){let{direction:e,isOpen:t,shouldScaleBackground:n,setBackgroundColorOnScale:i,noBodyStyles:l}=et(),s=o.useRef(null),u=(0,o.useMemo)(()=>document.body.style.backgroundColor,[]);function c(){return(window.innerWidth-26)/window.innerWidth}o.useEffect(()=>{if(t&&n){s.current&&clearTimeout(s.current);let t=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!t)return;!function(...e){}(i&&!l?ex(document.body,{background:"black"}):e_,ex(t,{transformOrigin:eb(e)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${eE.DURATION}s`,transitionTimingFunction:`cubic-bezier(${eE.EASE.join(",")})`}));let n=ex(t,{borderRadius:"8px",overflow:"hidden",...eb(e)?{transform:`scale(${c()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${c()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{n(),s.current=window.setTimeout(()=>{u?document.body.style.background=u:document.body.style.removeProperty("background")},1e3*eE.DURATION)}}},[t,n,u])}();let L=(e,t,n=0)=>
183{if(j.current)return!0;let o=Math.abs(e.y),i=Math.abs(e.x),l=i>o,s=["bottom","right"].includes(t)?1:-1;if("left"===t||"right"===t){if(!(e.x*s<0)&&i>=0&&i<=n)return l}else if(!(e.y*s<0)&&o>=0&&o<=n)return!l;return j.current=!0,!0};function A(e){_.current=null,j.current=!1,c(e)}return o.useEffect(()=>{O&&window.requestAnimationFrame(()=>{k(!0)})},[]),o.createElement($,{"data-vaul-drawer-direction":v,"data-vaul-drawer":"","data-vaul-delayed-snap-points":C?"true":"false","data-vaul-snap-points":g&&O?"true":"false","data-vaul-custom-container":b?"true":"false","data-vaul-animate":null!=x&&x.current?"true":"false",...i,ref:M,style:h&&h.length>0?{"--snap-point-height":`${h[p??0]}px`,...t}:t,onPointerDown:e=>{w||(null==i.onPointerDown||i.onPointerDown.call(i,e),_.current={x:e.pageX,y:e.pageY},u(e))},onOpenAutoFocus:e=>{null==n||n(e),E||e.preventDefault()},onPointerDownOutside:t=>{if(null==e||e(t),!m||t.defaultPrevented){t.preventDefault();return}f.current&&(f.current=!1)},onFocusOutside:e=>{if(!m){e.preventDefault();return}},onPointerMove:e=>{if(S.current=e,w||(null==i.onPointerMove||i.onPointerMove.call(i,e),!_.current))return;let t=e.pageY-_.current.y,n=e.pageX-_.current.x,o="touch"===e.pointerType?10:2;L({x:n,y:t},v,o)?d(e):(Math.abs(n)>o||Math.abs(t)>o)&&(_.current=null)},onPointerUp:e=>{null==i.onPointerUp||i.onPointerUp.call(i,e),_.current=null,j.current=!1,c(e)},onPointerOut:e=>{null==i.onPointerOut||i.onPointerOut.call(i,e),A(S.current)},onContextMenu:e=>{null==i.onContextMenu||i.onContextMenu.call(i,e),S.current&&A(S.current)}})});eO.displayName="Drawer.Content",o.forwardRef(function({preventCycle:e=!1,children:t,...n},i){let{closeDrawer:l,isDragging:s,snapPoints:u,activeSnapPoint:c,setActiveSnapPoint:d,dismissible:f,handleOnly:h,isOpen:p,onPress:m,onDrag:g}=et(),v=o.useRef(null),y=o.useRef(!1);function b(){v.current&&window.clearTimeout(v.current),y.current=!1}return o.createElement("div",{onClick:function(){if(y.current){b();return}window.setTimeout(()=>{(function(){if(s||e||y.current){b();return}if(b(),!u||0===u.length){f||l();return}if(c===u[u.length-1]&&f){l();return}let t=u.findIndex(e=>e===c);-1!==t&&d(u[t+1])})()},120)},onPointerCancel:b,onPointerDown:e=>{h&&m(e),v.current=window.setTimeout(()=>{y.current=!0},250)},onPointerMove:e=>{h&&g(e)},ref:i,"data-vaul-drawer-visible":p?"true":"false","data-vaul-handle":"","aria-hidden":"true",...n},o.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},t))}).displayName="Drawer.Handle";let eL={Root:function({open:e,onOpenChange:t,children:n,onDrag:i,onRelease:l,snapPoints:s,shouldScaleBackground:u=!1,setBackgroundColorOnScale:c=!0,closeThreshold:d=.25,scrollLockTimeout:f=100,dismissible:h=!0,handleOnly:p=!1,fadeFromIndex:m=s&&s.length-1,activeSnapPoint:g,setActiveSnapPoint:v,fixed:y,modal:b=!0,onClose:w,nested:x,noBodyStyles:E=!1,direction:C="bottom",defaultOpen:k=!1,disablePreventScroll:_=!0,snapToSequentialPoint:S=!1,preventScrollRestoration:j=!1,repositionInputs:O=!0,onAnimationEnd:L,container:A,autoFocus:T=!1}){var P,N;let[F=!1,R]=eM({defaultProp:k,prop:e,onChange:e=>{null==t||t(e),e||x||eN(),setTimeout(()=>{null==L||L(e)},1e3*eE.DURATION),e&&!b&&"u">typeof window&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),e||(document.body.style.pointerEvents="auto")}}),[$,D]=o.useState(!1),[z,I]=o.useState(!1),[H,B]=o.useState(!1),W=o.useRef(null),U=o.useRef(null),q=o.useRef(null),G=o.useRef(null),Y=o.useRef(null),Z=o.useRef(!1),K=o.useRef(null),Q=o.useRef(0),X=o.useRef(!1),J=o.useRef(!k),et=o.useRef(0),ea=o.useRef(null),es=o.useRef((null==(P=ea.current)?void 0:P.getBoundingClientRect().height)||0),ec=o.useRef((null==(N=ea.current)?void 0:N.getBoundingClientRect().width)||0),eg=o.useRef(0),ex=o.useCallback(e=>{s&&e===eL.length-1&&(U.current=new Date)},[]),{activeSnapPoint:ek,activeSnapPointIndex:e_,setActiveSnapPoint:ej,onRelease:eO,snapPointsOffset:eL,onDrag:eA,shouldFade:eT,getPercentageDragged:eP}=function({activeSnapPointProp:e,setActiveSnapPointProp:t,snapPoints:n,drawerRef:i,overlayRef:l,fadeFromIndex:s,onSnapPointChange:u,direction:c="bottom",container:d,snapToSequentialPoint:f}){let[h,p]=eM({prop:e,defaultProp:null==n?void 0:n[0],onChange:t}),[m,g]=o.useState("u">typeof window?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);o.useEffect(()=>{function e(){g({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let v=o.useMemo(()=>h===(null==n?void 0:n[n.length-1])||null,[n,h]),y=o.useMemo(()=>{var e;return null!=(e=null==n?void 0:n.findIndex(e=>e===h))?e:null},[n,h]),b=n&&n.length>0&&(s||0===s)&&!Number.isNaN(s)&&n[s]===h||!n,w=o.useMemo(()=>{var e;let t=d?{width:d.getBoundingClientRect().width,height:d.getBoundingClientRect().height}:"u">typeof window?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};return null!=(e=null==n?void 0:n.map(e=>{let n="string"==typeof e,o=0;if(n&&(o=parseInt(e,10)),eb(c)){let i=n?o:m?e*t.height:0;return m?"bottom"===c?t.height-i:-t.height+i:i}let i=n?o:m?e*t.width:0;return m?"right"===c?t.width-i:-t.width+i:i}))?e:[]},[n,m,d]),x=o.useMemo(()=>null!==y?null==w?void 0:w[y]:null,[w,y]),E=o.useCallback(e=>{var t;let o=null!=(t=null==w?void 0:w.findIndex(t=>t===e))?t:null;u(o),ey(i.current,{transition:`transform ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`,transform:eb(c)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`}),w&&o!==w.length-1&&void 0!==s&&o!==s&&o<s?ey(l.current,{transition:`opacity ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`,opacity:"0"}):ey(l.current,{transition:`opacity ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`,opacity:"1"}),p(null==n?void 0:n[Math.max(o,0)])},[i.current,n,w,s,l,p]);return o.useEffect(()=>{if(h||e){var t;let o=null!=(t=null==n?void 0:n.findIndex(t=>t===e||t===h))?t:-1;w&&-1!==o&&"number"==typeof w[o]&&E(w[o])}},[h,e,n,w,E]),{isLastSnapPoint:v,activeSnapPoint:h,shouldFade:b,getPercentageDragged:function(e,t){if(!n||"number"!=typeof y||!w||void 0===s)return null;let o=y===s-1;if(y>=s&&t)return 0;if(o&&!t)return 1;if(!b&&!o)return null;let i=o?y+1:y-1,l=e/Math.abs(o?w[i]-w[i-1]:w[i+1]-w[i]);return o?1-l:l},setActiveSnapPoint:p,activeSnapPointIndex:y,onRelease:function({draggedDistance:e,closeDrawer:t,velocity:o,dism
183issible:i}){if(void 0===s)return;let u="bottom"===c||"right"===c?(x??0)-e:(x??0)+e,d=y===s-1,h=0===y,p=e>0;if(d&&ey(l.current,{transition:`opacity ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`}),!f&&o>2&&!p){i?t():E(w[0]);return}if(!f&&o>2&&p&&w&&n){E(w[n.length-1]);return}let m=null==w?void 0:w.reduce((e,t)=>"number"!=typeof e||"number"!=typeof t?e:Math.abs(t-u)<Math.abs(e-u)?t:e),g=eb(c)?window.innerHeight:window.innerWidth;if(o>.4&&Math.abs(e)<.4*g){let e=p?1:-1;if(e>0&&v&&n){E(w[n.length-1]);return}if(h&&e<0&&i&&t(),null===y)return;E(w[y+e]);return}E(m)},onDrag:function({draggedDistance:e}){if(null===x)return;let t="bottom"===c||"right"===c?x-e:x+e;("bottom"===c||"right"===c)&&t<w[w.length-1]||("top"===c||"left"===c)&&t>w[w.length-1]||ey(i.current,{transform:eb(c)?`translate3d(0, ${t}px, 0)`:`translate3d(${t}px, 0, 0)`})},snapPointsOffset:w}}({snapPoints:s,activeSnapPointProp:g,setActiveSnapPointProp:v,drawerRef:ea,fadeFromIndex:m,overlayRef:W,onSnapPointChange:ex,direction:C,container:A,snapToSequentialPoint:S});!function(e={}){let{isDisabled:t}=e;eo(()=>{if(!t){var e,n,o;let t,i,l,s,u,c,d;return 1==++ed&&en()&&(l=0,s=window.pageXOffset,u=window.pageYOffset,c=ei((e=document.documentElement,n="paddingRight",o=`${window.innerWidth-document.documentElement.clientWidth}px`,t=e.style[n],e.style[n]=o,()=>{e.style[n]=t})),window.scrollTo(0,0),d=ei(eh(document,"touchstart",e=>{(i=eu(e.target))===document.documentElement&&i===document.body||(l=e.changedTouches[0].pageY)},{passive:!1,capture:!0}),eh(document,"touchmove",e=>{if(!i||i===document.documentElement||i===document.body){e.preventDefault();return}let t=e.changedTouches[0].pageY,n=i.scrollTop,o=i.scrollHeight-i.clientHeight;0!==o&&((n<=0&&t>l||n>=o&&t<l)&&e.preventDefault(),l=t)},{passive:!1,capture:!0}),eh(document,"touchend",e=>{let t=e.target;em(t)&&t!==document.activeElement&&(e.preventDefault(),t.style.transform="translateY(-2000px)",t.focus(),requestAnimationFrame(()=>{t.style.transform=""}))},{passive:!1,capture:!0}),eh(document,"focus",e=>{let t=e.target;em(t)&&(t.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{t.style.transform="",el&&(el.height<window.innerHeight?requestAnimationFrame(()=>{ep(t)}):el.addEventListener("resize",()=>ep(t),{once:!0}))}))},!0),eh(window,"scroll",()=>{window.scrollTo(0,0)})),ef=()=>{c(),d(),window.scrollTo(s,u)}),()=>{0==--ed&&(null==ef||ef())}}},[t])}({isDisabled:!F||z||!b||H||!$||!O||!_});let{restorePositionSetting:eN}=function({isOpen:e,modal:t,nested:n,hasBeenOpened:i,preventScrollRestoration:l,noBodyStyles:s}){let[u,c]=o.useState(()=>"u">typeof window?window.location.href:""),d=o.useRef(0),f=o.useCallback(()=>{if(er()&&null===eS&&e&&!s){eS={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};let{scrollX:e,innerHeight:t}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-d.current}px`,left:`${-e}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{let e=t-window.innerHeight;e&&d.current>=t&&(document.body.style.top=`${-(d.current+e)}px`)}),300)}},[e]),h=o.useCallback(()=>{if(er()&&null!==eS&&!s){let e=-parseInt(document.body.style.top,10),t=-parseInt(document.body.style.left,10);Object.assign(document.body.style,eS),window.requestAnimationFrame(()=>{if(l&&u!==window.location.href){c(window.location.href);return}window.scrollTo(t,e)}),eS=null}},[u]);return o.useEffect(()=>{function e(){d.current=window.scrollY}return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[]),o.useEffect(()=>{if(t)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||h()}},[t,h]),o.useEffect(()=>{n||!i||(e?(window.matchMedia("(display-mode: standalone)").matches||f(),t||window.setTimeout(()=>{h()},500)):h())},[e,i,u,t,n,f,h]),{restorePositionSetting:h}}({isOpen:F,modal:b,nested:x??!1,hasBeenOpened:$,preventScrollRestoration:j,noBodyStyles:E});function eF(){return(window.innerWidth-26)/window.innerWidth}function eR(e,t){var n;let o=e,i=null==(n=window.getSelection())?void 0:n.toString(),l=ea.current?ew(ea.current,C):null,
183s=new Date;if("SELECT"===o.tagName||o.hasAttribute("data-vaul-no-drag")||o.closest("[data-vaul-no-drag]"))return!1;if("right"===C||"left"===C)return!0;if(U.current&&s.getTime()-U.current.getTime()<500)return!1;if(null!==l&&("bottom"===C?l>0:l<0))return!0;if(i&&i.length>0)return!1;if(Y.current&&s.getTime()-Y.current.getTime()<f&&0===l||t)return Y.current=s,!1;for(;o;){if(o.scrollHeight>o.clientHeight){if(0!==o.scrollTop)return Y.current=new Date,!1;if("dialog"===o.getAttribute("role"))break}o=o.parentNode}return!0}function e$(e){z&&ea.current&&(ea.current.classList.remove(eC),Z.current=!1,I(!1),G.current=new Date),null==w||w(),e||R(!1),setTimeout(()=>{s&&ej(s[0])},1e3*eE.DURATION)}function eD(){if(!ea.current)return;let e=document.querySelector("[data-vaul-drawer-wrapper]"),t=ew(ea.current,C);ey(ea.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`}),ey(W.current,{transition:`opacity ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`,opacity:"1"}),u&&t&&t>0&&F&&ey(e,{borderRadius:"8px",overflow:"hidden",...eb(C)?{transform:`scale(${eF()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${eF()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${eE.DURATION}s`,transitionTimingFunction:`cubic-bezier(${eE.EASE.join(",")})`},!0)}return o.useEffect(()=>{window.requestAnimationFrame(()=>{J.current=!0})},[]),o.useEffect(()=>{var e;function t(){if(ea.current&&O&&(em(document.activeElement)||X.current)){var e;let t=(null==(e=window.visualViewport)?void 0:e.height)||0,n=window.innerHeight,o=n-t,i=ea.current.getBoundingClientRect().height||0;eg.current||(eg.current=i);let l=ea.current.getBoundingClientRect().top;if(Math.abs(et.current-o)>60&&(X.current=!X.current),s&&s.length>0&&eL&&e_&&(o+=eL[e_]||0),et.current=o,i>t||X.current){let e=ea.current.getBoundingClientRect().height,s=e;e>t&&(s=t-(i>.8*n?l:26)),y?ea.current.style.height=`${e-Math.max(o,0)}px`:ea.current.style.height=`${Math.max(s,t-l)}px`}else(function(){let e=navigator.userAgent;return"u">typeof window&&(/Firefox/.test(e)&&/Mobile/.test(e)||/FxiOS/.test(e))})()||(ea.current.style.height=`${eg.current}px`);s&&s.length>0&&!X.current?ea.current.style.bottom="0px":ea.current.style.bottom=`${Math.max(o,0)}px`}}return null==(e=window.visualViewport)||e.addEventListener("resize",t),()=>{var e;return null==(e=window.visualViewport)?void 0:e.removeEventListener("resize",t)}},[e_,s,eL]),o.useEffect(()=>(F&&(ey(document.documentElement,{scrollBehavior:"auto"}),U.current=new Date),()=>{(function(e,t){if(!e||!(e instanceof HTMLElement))return;let n=ev.get(e);n&&(e.style[t]=n[t])})(document.documentElement,"scrollBehavior")}),[F]),o.useEffect(()=>{b||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[b]),o.createElement(M,{defaultOpen:k,onOpenChange:e=>{(h||e)&&(e?D(!0):e$(!0),R(e))},open:F},o.createElement(ee.Provider,{value:{activeSnapPoint:ek,snapPoints:s,setActiveSnapPoint:ej,drawerRef:ea,overlayRef:W,onOpenChange:t,onPress:function(e){var t,n;(h||s)&&(!ea.current||ea.current.contains(e.target))&&(es.current=(null==(t=ea.current)?void 0:t.getBoundingClientRect().height)||0,ec.current=(null==(n=ea.current)?void 0:n.getBoundingClientRect().width)||0,I(!0),q.current=new Date,en()&&window.addEventListener("touchend",()=>Z.current=!1,{once:!0}),e.target.setPointerCapture(e.pointerId),Q.current=eb(C)?e.pageY:e.pageX)},onRelease:function(e){var t,n;if(!z||!ea.current)return;ea.current.classList.remove(eC),Z.current=!1,I(!1),G.current=new Date;let o=ew(ea.current,C);
183if(!e||!eR(e.target,!1)||!o||Number.isNaN(o)||null===q.current)return;let i=G.current.getTime()-q.current.getTime(),u=Q.current-(eb(C)?e.pageY:e.pageX),c=Math.abs(u)/i;if(c>.05&&(B(!0),setTimeout(()=>{B(!1)},200)),s){eO({draggedDistance:u*("bottom"===C||"right"===C?1:-1),closeDrawer:e$,velocity:c,dismissible:h}),null==l||l(e,!0);return}if("bottom"===C||"right"===C?u>0:u<0){eD(),null==l||l(e,!0);return}if(c>.4){e$(),null==l||l(e,!1);return}let f=Math.min(null!=(t=ea.current.getBoundingClientRect().height)?t:0,window.innerHeight),p=Math.min(null!=(n=ea.current.getBoundingClientRect().width)?n:0,window.innerWidth);if(Math.abs(o)>=("left"===C||"right"===C?p:f)*d){e$(),null==l||l(e,!1);return}null==l||l(e,!0),eD()},onDrag:function(e){if(ea.current&&z){let t="bottom"===C||"right"===C?1:-1,n=(Q.current-(eb(C)?e.pageY:e.pageX))*t,o=n>0,l=s&&!h&&!o;if(l&&0===e_)return;let c=Math.abs(n),d=document.querySelector("[data-vaul-drawer-wrapper]"),f=c/("bottom"===C||"top"===C?es.current:ec.current),p=eP(c,o);if(null!==p&&(f=p),l&&f>=1||!Z.current&&!eR(e.target,o))return;if(ea.current.classList.add(eC),Z.current=!0,ey(ea.current,{transition:"none"}),ey(W.current,{transition:"none"}),s&&eA({draggedDistance:n}),o&&!s){let e=Math.min(-(8*(Math.log(n+1)-2)*1),0)*t;ey(ea.current,{transform:eb(C)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`});return}let g=1-f;if((eT||m&&e_===m-1)&&(null==i||i(e,f),ey(W.current,{opacity:`${g}`,transition:"none"},!0)),d&&W.current&&u){let e=Math.min(eF()+f*(1-eF()),1),t=8-8*f,n=Math.max(0,14-14*f);ey(d,{borderRadius:`${t}px`,transform:eb(C)?`scale(${e}) translate3d(0, ${n}px, 0)`:`scale(${e}) translate3d(${n}px, 0, 0)`,transition:"none"},!0)}if(!s){let e=c*t;ey(ea.current,{transform:eb(C)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})}}},dismissible:h,shouldAnimate:J,handleOnly:p,isOpen:F,isDragging:z,shouldFade:eT,closeDrawer:e$,onNestedDrag:function(e,t){if(t<0)return;let n=(window.innerWidth-16)/window.innerWidth,o=n+t*(1-n),i=-16+16*t;ey(ea.current,{transform:eb(C)?`scale(${o}) translate3d(0, ${i}px, 0)`:`scale(${o}) translate3d(${i}px, 0, 0)`,transition:"none"})},onNestedOpenChange:function(e){let t=e?(window.innerWidth-16)/window.innerWidth:1,n=e?-16:0;K.current&&window.clearTimeout(K.current),ey(ea.current,{transition:`transform ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`,transform:eb(C)?`scale(${t}) translate3d(0, ${n}px, 0)`:`scale(${t}) translate3d(${n}px, 0, 0)`}),!e&&ea.current&&(K.current=setTimeout(()=>{let e=ew(ea.current,C);ey(ea.current,{transition:"none",transform:eb(C)?`translate3d(0, ${e}px, 0)`:`translate3d(${e}px, 0, 0)`})},500))},onNestedRelease:function(e,t){let n=eb(C)?window.innerHeight:window.innerWidth,o=t?(n-16)/n:1,i=t?-16:0;t&&ey(ea.current,{transition:`transform ${eE.DURATION}s cubic-bezier(${eE.EASE.join(",")})`,transform:eb(C)?`scale(${o}) translate3d(0, ${i}px, 0)`:`scale(${o}) translate3d(${i}px, 0, 0)`})},keyboardIsOpen:X,modal:b,snapPointsOffset:eL,activeSnapPointIndex:e_,direction:C,shouldScaleBackground:u,setBackgroundColorOnScale:c,noBodyStyles:E,container:A,autoFocus:T}},n))},Content:eO,Overlay:ej,Trigger:S,Portal:function(e){let t=et(),{container:n=t.container,...i}=e;return o.createElement(A,{container:n,...i})},Close:G,Title:B,Description:U}},39960:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},40838:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(97995),i=n(13926),l=n(89879),s=n(18214);t.useFormatter=o.useFormatter,t.useTranslations=o.useTranslations,t.useLocale=i.default,t.NextIntlClientProvider=l.default,Object.keys(s).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})})},40917:function(e,t){"use strict";function n(e){let t=e.indexOf("#"),n=e.indexOf("?"),o=n>-1&&(t<0||n<t);return o||t>-1?{pathname:e.substring(0,o?n:t),query:o?e.substring(n,t>-1?t:void 0):"",hash:t>-1?e.slice(t):""}:{pathname:e,query:"",hash:""}}
183Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parsePath",{enumerable:!0,get:function(){return n}})},41153:function(e,t){"use strict";function n(e){return e.replace(/\/$/,"")||"/"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeTrailingSlash",{enumerable:!0,get:function(){return n}})},42687:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let o=n(93380);function i(e){let t="function"==typeof reportError?reportError:e=>{window.console.error(e)};(0,o.isBailoutToCSRError)(e)||t(e)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43036:function(e,t){"use strict";function n(e,t){let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let o=n.length;o--;){let i=n[o];if("query"===i){let n=Object.keys(e.query);if(n.length!==Object.keys(t.query).length)return!1;for(let o=n.length;o--;){let i=n[o];if(!t.query.hasOwnProperty(i)||e.query[i]!==t.query[i])return!1}}else if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"compareRouterStates",{enumerable:!0,get:function(){return n}})},43127:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});/** 184 * @license lucide-react v0.436.0 - ISC 185 * 186 * This source code is licensed under the ISC license. 187 * See the LICENSE file in the root directory of this source tree. 188 */let o=(0,n(60454).A)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},43402:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BloomFilter",{enumerable:!0,get:function(){return n}});class n{static from(e,t){void 0===t&&(t=1e-4);let o=new n(e.length,t);for(let t of e)o.add(t);return o}export(){return{numItems:this.numItems,errorRate:this.errorRate,numBits:this.numBits,numHashes:this.numHashes,bitArray:this.bitArray}}import(e){this.numItems=e.numItems,this.errorRate=e.errorRate,this.numBits=e.numBits,this.numHashes=e.numHashes,this.bitArray=e.bitArray}add(e){this.getHashValues(e).forEach(e=>{this.bitArray[e]=1})}contains(e){return this.getHashValues(e).every(e=>this.bitArray[e])}getHashValues(e){let t=[];for(let n=1;n<=this.numHashes;n++){let o=function(e){let t=0;for(let n=0;n<e.length;n++)t=Math.imul(t^e.charCodeAt(n),1540483477),t^=t>>>13,t=Math.imul(t,1540483477);return t>>>0}(""+e+n)%this.numBits;t.push(o)}return t}constructor(e,t=1e-4){this.numItems=e,this.errorRate=t,this.numBits=Math.ceil(-(e*Math.log(t))/(Math.log(2)*Math.log(2))),this.numHashes=Math.ceil(this.numBits/e*Math.log(2)),this.bitArray=Array(this.numBits).fill(0)}}},45140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HeadManagerContext",{enumerable:!0,get:function(){return o}});let o=n(77223)._(n(59065)).default.createContext({})},45283:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeLocale",{enumerable:!0,get:function(){return i}});let o=n(40917);function i(e,t){{let{pathname:n}=(0,o.parsePath)(e),i=n.toLowerCase(),l=null==t?void 0:t.toLowerCase();return t&&(i.startsWith("/"+l+"/")||i==="/"+l)?(n.length===t.length+1?"/":"")+e.slice(t.length+1):e}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45584:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{VALID_LOADERS:function(){return n},imageConfigDefault:function(){return o}});let n=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:60,formats:["image/webp"],dangerouslyAllowSVG:!1,
188contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"inline",remotePatterns:[],unoptimized:!1}},45781:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return l}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class o{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let i=globalThis.AsyncLocalStorage;function l(){return i?new i:new o}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},45901:function(e,t,n){"use strict";n.d(t,{N:function(){return c}});var o=n(59065),i=n(82450),l=n(32964),s=n(11502),u=n(72370);function c(e){let t=e+"CollectionProvider",[n,c]=(0,i.A)(t),[d,f]=n(t,{collectionRef:{current:null},itemMap:new Map}),h=e=>{let{scope:t,children:n}=e,i=o.useRef(null),l=o.useRef(new Map).current;return u.j.jsx(d,{scope:t,itemMap:l,collectionRef:i,children:n})};h.displayName=t;let p=e+"CollectionSlot",m=(0,s.T)(p),g=o.forwardRef((e,t)=>{let{scope:n,children:o}=e,i=f(p,n),s=(0,l.s)(t,i.collectionRef);return u.j.jsx(m,{ref:s,children:o})});g.displayName=p;let v=e+"CollectionItemSlot",y="data-radix-collection-item",b=(0,s.T)(v),w=o.forwardRef((e,t)=>{let{scope:n,children:i,...s}=e,c=o.useRef(null),d=(0,l.s)(t,c),h=f(v,n);return o.useEffect(()=>(h.itemMap.set(c,{ref:c,...s}),()=>void h.itemMap.delete(c))),u.j.jsx(b,{[y]:"",ref:d,children:i})});return w.displayName=v,[{Provider:h,Slot:g,ItemSlot:w},function(t){let n=f(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${y}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},c]}},45978:function(e,t,n){"use strict";n.d(t,{F:function(){return s}});var o=n(64164);let i=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,l=o.$,s=(e,t)=>n=>{var o;if((null==t?void 0:t.variants)==null)return l(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:s,defaultVariants:u}=t,c=Object.keys(s).map(e=>{let t=null==n?void 0:n[e],o=null==u?void 0:u[e];if(null===t)return null;let l=i(t)||i(o);return s[e][l]}),d=n&&Object.entries(n).reduce((e,t)=>{let[n,o]=t;return void 0===o||(e[n]=o),e},{});return l(e,c,null==t||null===(o=t.compoundVariants)||void 0===o?void 0:o.reduce((e,t)=>{let{class:n,className:o,...i}=t;return Object.entries(i).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...u,...d}[t]):({...u,...d})[t]===n})?[...e,n,o]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},46475:function(e,t,n){"use strict";n.d(t,{h:function(){return c},s:function(){return u}});var o=n(59065),i=n(3517),l=n(11502),s=n(72370),u=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,l.T)(`Primitive.${t}`),i=o.forwardRef((e,o)=>{let{asChild:i,...l}=e,u=i?n:t;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),s.j.jsx(u,{...l,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function c(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},46927:function(e,t){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)({}).hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e}).apply(null,arguments)}Object.defineProperty(t,"__esModule",{value:!0}),t.extends=n},47715:function(e,t,n){"use strict";n.d(t,{c:function(){return i}});var o=n(59065);function i(e){let t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>{var n;return null==(n=t.current)?void 0:n.call(t,...e)},[])}},48769:function(e,t){"use strict";function n(e){return e.startsWith("/")?e:"/"+e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ensureLeadingSlash",{enumerable:!0,get:function(){return n}})},49239:function(e,t,n){"use strict";let o;n.d(t,{n:function(){return p}});var i=n(59065),l=n(32964),s=n(46475),u=n(47715),c=n(72370),d="focusScope.autoFocusOnMount",f="focusScope.autoFocusOnUnmount",h={bubbles:!1,cancelable:!0},p=i.forwardRef((e,t)=>
188{let{loop:n=!1,trapped:o=!1,onMountAutoFocus:p,onUnmountAutoFocus:b,...w}=e,[x,E]=i.useState(null),C=(0,u.c)(p),k=(0,u.c)(b),M=i.useRef(null),_=(0,l.s)(t,e=>E(e)),S=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(o){let e=function(e){if(S.paused||!x)return;let t=e.target;x.contains(t)?M.current=t:v(M.current,{select:!0})},t=function(e){if(S.paused||!x)return;let t=e.relatedTarget;null!==t&&(x.contains(t)||v(M.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&v(x)});return x&&n.observe(x,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[o,x,S.paused]),i.useEffect(()=>{if(x){y.add(S);let e=document.activeElement;if(!x.contains(e)){let t=new CustomEvent(d,h);x.addEventListener(d,C),x.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let o of e)if(v(o,{select:t}),document.activeElement!==n)return}(m(x).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&v(x))}return()=>{x.removeEventListener(d,C),setTimeout(()=>{let t=new CustomEvent(f,h);x.addEventListener(f,k),x.dispatchEvent(t),t.defaultPrevented||v(e??document.body,{select:!0}),x.removeEventListener(f,k),y.remove(S)},0)}}},[x,C,k,S]);let j=i.useCallback(e=>{if(!n&&!o||S.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){let t=e.currentTarget,[o,l]=function(e){let t=m(e);return[g(t,e),g(t.reverse(),e)]}(t);o&&l?e.shiftKey||i!==l?e.shiftKey&&i===o&&(e.preventDefault(),n&&v(l,{select:!0})):(e.preventDefault(),n&&v(o,{select:!0})):i===t&&e.preventDefault()}},[n,o,S.paused]);return c.j.jsx(s.s.div,{tabIndex:-1,...w,ref:_,onKeyDown:j})});function m(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let 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 g(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function v(e,{select:t=!1}={}){if(e&&e.focus){var n;let o=document.activeElement;e.focus({preventScroll:!0}),e!==o&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}p.displayName="FocusScope";var y=(o=[],{add(e){let t=o[0];e!==t&&(null==t||t.pause()),(o=b(o,e)).unshift(e)},remove(e){var t;null==(t=(o=b(o,e))[0])||t.resume()}});function b(e,t){let n=[...e],o=n.indexOf(t);return -1!==o&&n.splice(o,1),n}},49538:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizePathTrailingSlash",{enumerable:!0,get:function(){return l}});let o=n(41153),i=n(40917),l=e=>{if(!e.startsWith("/"))return e;let{pathname:t,query:n,hash:l}=(0,i.parsePath)(e);return""+(0,o.removeTrailingSlash)(t)+n+l};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50002:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathPrefix",{enumerable:!0,get:function(){return i}});let o=n(40917);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:i,hash:l}=(0,o.parsePath)(e);return""+t+n+i+l}},50514:function(e,t,n){e.exports=n(62617)},50607:function(e,t,n){"use strict";var o,i=n(22715),l=n(59065),s=n(69535),u=i&&i.__esModule?i:{default:i};function c(e,t,n){var o;return(t="symbol"==typeof(o=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=typeof o)return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?o:o+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}let d=((o={}).MISSING_MESSAGE="MISSING_MESSAGE",o.MISSING_FORMAT="MISSING_FORMAT",o.ENVIRONMENT_FALLBACK="ENVIRONMENT_FALLBACK",o.INSUFFICIENT_PATH="INSUFFICIENT_PATH",o.INVALID_MESSAGE="INVALID_MESSAGE",o.INVALID_KEY="INVALID_KEY",o.FORMATTING_ERROR="FORMATTING_ERROR",o);
188class f extends Error{constructor(e,t){let n=e;t&&(n+=": "+t),super(n),c(this,"code",void 0),c(this,"originalMessage",void 0),this.code=e,t&&(this.originalMessage=t)}}function h(e,t){return e?Object.keys(e).reduce((n,o)=>(n[o]={timeZone:t,...e[o]},n),{}):e}function p(e,t,n,o){let i=s.joinPath(o,n);if(!t)throw Error(i);let l=t;return n.split(".").forEach(t=>{let n=l[t];if(null==t||null==n)throw Error(i+" (".concat(e,")"));l=n}),l}let m=365/12*86400,g={second:1,seconds:1,minute:60,minutes:60,hour:3600,hours:3600,day:86400,days:86400,week:604800,weeks:604800,month:365/12*86400,months:365/12*86400,quarter:365/12*259200,quarters:365/12*259200,year:31536e3,years:31536e3};t.IntlError=f,t.IntlErrorCode=d,t.createBaseTranslator=function(e){let t=function(e,t,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:s.defaultOnError;try{if(!t)throw Error(void 0);let o=n?p(e,t,n):t;if(!o)throw Error(n);return o}catch(t){let e=new f(d.MISSING_MESSAGE,t.message);return o(e),e}}(e.locale,e.messages,e.namespace,e.onError);return function(e){let{cache:t,defaultTranslationValues:n,formats:o,formatters:i,getMessageFallback:c=s.defaultGetMessageFallback,locale:m,messagesOrError:g,namespace:v,onError:y,timeZone:b}=e,w=g instanceof f;function x(e,t,n){let o=new f(t,n);return y(o),c({error:o,key:e,namespace:v})}function E(e,f,y){let E,C;if(w)return c({error:g,key:e,namespace:v});try{E=p(m,g,e,v)}catch(t){return x(e,d.MISSING_MESSAGE,t.message)}if("object"==typeof E){let t;return x(e,Array.isArray(E)?d.INVALID_MESSAGE:d.INSUFFICIENT_PATH,t)}let k=function(e,t){if(t)return;let n=e.replace(/'([{}])/gi,"$1");return/<|{/.test(n)?void 0:n}(E,f);if(k)return k;i.getMessageFormat||(i.getMessageFormat=s.memoFn(function(){return new u.default(arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],{formatters:i,...arguments.length<=3?void 0:arguments[3]})},t.message));try{C=i.getMessageFormat(E,m,function(e,t){let n=t?{...e,dateTime:h(e.dateTime,t)}:e,o=u.default.formats.date,i=t?h(o,t):o,l=u.default.formats.time,s=t?h(l,t):l;return{...n,date:{...i,...n.dateTime},time:{...s,...n.dateTime}}}({...o,...y},b),{formatters:{...i,getDateTimeFormat:(e,t)=>i.getDateTimeFormat(e,{timeZone:b,...t})}})}catch(t){return x(e,d.INVALID_MESSAGE,t.message)}try{let e=C.format(function(e){if(0===Object.keys(e).length)return;let t={};return Object.keys(e).forEach(n=>{let o,i=0,s=e[n];o="function"==typeof s?e=>{let t=s(e);return l.isValidElement(t)?l.cloneElement(t,{key:n+i++}):t}:s,t[n]=o}),t}({...n,...f}));if(null==e)throw Error(void 0);return l.isValidElement(e)||Array.isArray(e)||"string"==typeof e?e:String(e)}catch(t){return x(e,d.FORMATTING_ERROR,t.message)}}function C(e,t,n){let o=E(e,t,n);return"string"!=typeof o?x(e,d.INVALID_MESSAGE,void 0):o}return C.rich=E,C.markup=(e,t,n)=>{let o=E(e,t,n);if("string"!=typeof o){let t=new f(d.FORMATTING_ERROR,void 0);return y(t),c({error:t,key:e,namespace:v})}return o},C.raw=e=>{if(w)return c({error:g,key:e,namespace:v});try{return p(m,g,e,v)}catch(t){return x(e,d.MISSING_MESSAGE,t.message)}},C.has=e=>{if(w)return!1;try{return p(m,g,e,v),!0}catch(e){return!1}},C}({...e,messagesOrError:t})},t.createFormatter=function(e){let{_cache:t=s.createCache(),_formatters:n=s.createIntlFormatters(t),formats:o,locale:i,now:l,onError:u=s.defaultOnError,timeZone:c}=e;function h(e){var t;return null!==(t=e)&&void 0!==t&&t.timeZone||(c?e={...e,timeZone:c}:u(new f(d.ENVIRONMENT_FALLBACK,void 0))),e}function p(e,t,n,o){let i;try{i=function(e,t){let n;if("string"==typeof t){if(!(n=null==e?void 0:e[t])){let e=new f(d.MISSING_FORMAT,void 0);throw u(e),e}}else n=t;return n}(t,e)}catch(e){return o()}try{return n(i)}catch(e){return u(new f(d.FORMATTING_ERROR,e.message)),o()}}function v(e,t){return p(t,null==o?void 0:o.dateTime,t=>(t=h(t),n.getDateTimeFormat(i,t).format(e)),()=>String(e))}function y(){return l||(u(new f(d.ENVIRONMENT_FALLBACK,void 0)),new Date)}return{dateTime:v,number:function(e,t){return p(t,null==o?void 0:o.number,t=>n.getNumberFormat(i,t).format(e),()=>String(e))},relativeTime:function(e,t){try{var o;let l,s;let u={};t instanceof Date||"number"==typeof t?l=new Date(t):t&&(l=null!=t.now?new Date(t.now):y(),s=t.unit,u.style=t.style,u.numberingSystem=t.numberingSystem),l||(l=y());let c=(new Date(e).getTime()-l.getTime())/1e3;s||(s=function(e){let t=Math.abs(e);return t<60?"second":t<3600?"minute":t<86400?"hour":t<604800?"day":t<m?"week":t<31536e3?"month":"year"}(c)),u.numeric="second"===s?"auto":"always";let d=(o=s,Math.round(c/g[o]));return n.getRelativeTimeFormat(i,u).format(d,s)}catch(t){return u(new f(d.FORMATTING_ERROR,t.message)),String(e)}},list:function(e,t){let l=[],s=new Map,u=0;for(let t of e){let e;"object"==typeof t?(e=String(u),s.set(e,t)):e=String(t),l.push(e),u++}return p(t,null==o?void 0:o.list,e=>{let t=n.getListFormat(i,e).formatToParts(l).map(e=>
188"literal"===e.type?e.value:s.get(e.value)||e.value);return s.size>0?t:t.join("")},()=>String(e))},dateTimeRange:function(e,t,l){return p(l,null==o?void 0:o.dateTime,o=>(o=h(o),n.getDateTimeFormat(i,o).formatRange(e,t)),()=>[v(e),v(t)].join("âââ"))}}},t.resolveNamespace=function(e,t){return e===t?void 0:e.slice((t+".").length)}},51442:function(e){!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=c(e),n=t[0],o=t[1];return(n+o)*3/4-o},t.toByteArray=function(e){var t,n,l=c(e),s=l[0],u=l[1],d=new i((s+u)*3/4-u),f=0,h=u>0?s-4:s;for(n=0;n<h;n+=4)t=o[e.charCodeAt(n)]<<18|o[e.charCodeAt(n+1)]<<12|o[e.charCodeAt(n+2)]<<6|o[e.charCodeAt(n+3)],d[f++]=t>>16&255,d[f++]=t>>8&255,d[f++]=255&t;return 2===u&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,d[f++]=255&t),1===u&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,d[f++]=t>>8&255,d[f++]=255&t),d},t.fromByteArray=function(e){for(var t,o=e.length,i=o%3,l=[],s=0,u=o-i;s<u;s+=16383)l.push(function(e,t,o){for(var i,l=[],s=t;s<o;s+=3)l.push(n[(i=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return l.join("")}(e,s,s+16383>u?u:s+16383));return 1===i?l.push(n[(t=e[o-1])>>2]+n[t<<4&63]+"=="):2===i&&l.push(n[(t=(e[o-2]<<8)+e[o-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),l.join("")};for(var n=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,u=l.length;s<u;++s)n[s]=l[s],o[l.charCodeAt(s)]=s;function c(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var o=n===t?0:4-n%4;return[n,o]}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";/*! 189 * The buffer module from node.js, for the browser. 190 * 191 * @author Feross Aboukhadijeh <https://feross.org> 192 * @license MIT 193 */var o=n(675),i=n(783),l="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,u.prototype),t}function u(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return f(e)}return c(e,t,n)}function c(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!u.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|m(e,t),o=s(n),i=o.write(e,t);return i!==n&&(o=o.slice(0,i)),o}(e,t);if(ArrayBuffer.isView(e))return h(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(A(e,ArrayBuffer)||e&&A(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(A(e,SharedArrayBuffer)||e&&A(e.buffer,SharedArrayBuffer)))return function(e,t,n){var o;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(o=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),u.prototype),o}(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var o=e.valueOf&&e.valueOf();if(null!=o&&o!==e)return u.from(o,t,n);var i=function(e){if(u.isBuffer(e)){var t,n=0|p(e.length),o=s(n);return 0===o.length||e.copy(o,0,0,n),o}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?s(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return u.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function d(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 18,086 bytes, line 193
193if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function f(e){return d(e),s(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),n=s(t),o=0;o<t;o+=1)n[o]=255&e[o];return n}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function m(e,t){if(u.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||A(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,o=arguments.length>2&&!0===arguments[2];if(!o&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return S(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return O(e).length;default:if(i)return o?-1:S(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,n){var i,l,s=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var o=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>o)&&(n=o);for(var i="",l=t;l<n;++l)i+=T[e[l]];return i}(this,t,n);case"utf8":case"utf-8":return w(this,t,n);case"ascii":return function(e,t,n){var o="";n=Math.min(e.length,n);for(var i=t;i<n;++i)o+=String.fromCharCode(127&e[i]);return o}(this,t,n);case"latin1":case"binary":return function(e,t,n){var o="";n=Math.min(e.length,n);for(var i=t;i<n;++i)o+=String.fromCharCode(e[i]);return o}(this,t,n);case"base64":return i=t,l=n,0===i&&l===this.length?o.fromByteArray(this):o.fromByteArray(this.slice(i,l));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var o=e.slice(t,n),i="",l=0;l<o.length;l+=2)i+=String.fromCharCode(o[l]+256*o[l+1]);return i}(this,t,n);default:if(s)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),s=!0}}function v(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function y(e,t,n,o,i){var l;if(0===e.length)return -1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(l=n=+n)!=l&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=u.from(t,o)),u.isBuffer(t))return 0===t.length?-1:b(e,t,n,o,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,o,i);throw TypeError("val must be string, number or Buffer")}function b(e,t,n,o,i){var l,s=1,u=e.length,c=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return -1;s=2,u/=2,c/=2,n/=2}function d(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var f=-1;for(l=n;l<u;l++)if(d(e,l)===d(t,-1===f?0:l-f)){if(-1===f&&(f=l),l-f+1===c)return f*s}else -1!==f&&(l-=l-f),f=-1}else for(n+c>u&&(n=u-c),l=n;l>=0;l--){for(var h=!0,p=0;p<c;p++)if(d(e,l+p)!==d(t,p)){h=!1;break}if(h)return l}return -1}function w(e,t,n){n=Math.min(e.length,n);for(var o=[],i=t;i<n;){var l,s,u,c,d=e[i],f=null,h=d>239?4:d>223?3:d>191?2:1;if(i+h<=n)switch(h){case 1:d<128&&(f=d);break;case 2:(192&(l=e[i+1]))==128&&(c=(31&d)<<6|63&l)>127&&(f=c);break;case 3:l=e[i+1],s=e[i+2],(192&l)==128&&(192&s)==128&&(c=(15&d)<<12|(63&l)<<6|63&s)>2047&&(c<55296||c>57343)&&(f=c);break;case 4:l=e[i+1],s=e[i+2],u=e[i+3],(192&l)==128&&(192&s)==128&&(192&u)==128&&(c=(15&d)<<18|(63&l)<<12|(63&s)<<6|63&u)>65535&&c<1114112&&(f=c)}null===f?(f=65533,h=1):f>65535&&(f-=65536,o.push(f>>>10&1023|55296),f=56320|1023&f),o.push(f),i+=h}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",o=0;o<t;)n+=String.fromCharCode.apply(String,e.slice(o,o+=4096));return n}(o)}function x(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function E(e,t,n,o,i,l){if(!u.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<l)throw RangeError('"value" argument is out of bounds');if(n+o>e.length)throw RangeError("Index out of range")}function C(e,t,n,o,i,l){if(n+o>e.length||n<0)throw RangeError("Index out of range")}function k(e,t,n,o,l){return t=+t,n>>>=0,l||C(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,o,23,4),n+4}function M(e,t,n,o,l){return t=+t,n>>>=0,l||C(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,o,52,8),n+8}t.Buffer=u,t.SlowBuffer=function(e){return+e!=e&&(e=0),u.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,u.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),u.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}}),u.poolSize=8192,u.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(u.prototype,Uint8Array.prototype),Object.setPrototypeOf(u,Uint8Array),u.alloc=function(e,t,n){return(d(e),e<=0)?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)},u.allocUnsafe=function(e){return f(e)},u.allocUnsafeSlow=function(e){return f(e)},u.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==u.prototype},u.compare=function(e,t){if(A(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),A(t,Uint8Array)&&(t=u.from(t,t.offset,t.byteLength)),!u.isBuffer(e)||!u.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,o=t.length,i=0,l=Math.min(n,o);i<l;++i)if(e[i]!==t[i]){n=e[i],o=t[i];break}return n<o?-1:o<n?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,o=u.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var l=e[n];if(A(l,Uint8Array)&&(l=u.from(l)),!u.isBuffer(l))throw TypeError('"list" argument must be an Array of Buffers');l.copy(o,i),i+=l.length}return o},u.byteLength=m,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?w(this,0,e):g.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function(e){if(!u.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},l&&(u.prototype[l]=u.prototype.inspect),u.prototype.compare=function(e,t,n,o,i){if(A(e,Uint8Array)&&(e=u.from(e,e.offset,e.byteLength)),!u.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===i&&(i=this.length),t<0||n>e.length||o<0||i>this.length)throw RangeError("out of range index");if(o>=i&&t>=n)return 0;if(o>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,o>>>=0,i>>>=0,this===e)return 0;for(var l=i-o,s=n-t,c=Math.min(l,s),d=this.slice(o,i),f=e.slice(t,n),h=0;h<c;++h)if(d[h]!==f[h]){l=d[h],s=f[h];break}return l<s?-1:s<l?1:0},u.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},u.prototype.indexOf=function(e,t,n){return y(this,e,t,n,!0)},u.prototype.lastIndexOf=function(e,t,n){return y(this,e,t,n,!1)},u.prototype.write=function(e,t,n,o){if(void 0===t)o="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)o=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===o&&(o="utf8")):(o=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,l,s,u,c,d,f,h,p,m,g,v,y=this.length-t;if((void 0===n||n>y)&&(n=y),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var b=!1;;)switch(o){case"hex":return function(e,t,n,o){n=Number(n)||0;var i=e.length-n;o?(o=Number(o))>i&&(o=i):o=i;var l=t.length;o>l/2&&(o=l/2);for(var s=0;s<o;++s){var u=parseInt(t.substr(2*s,2),16);if(u!=u)break;e[n+s]=u}return s}(this,e,t,n);case"utf8":case"utf-8":return c=t,d=n,L(S(e,this.length-c),this,c,d);case"ascii":return f=t,h=n,L(j(e),this,f,h);case"latin1":case"binary":return i=this,l=e,s=t,u=n,L(j(l),i,s,u);case"base64":return p=t,m=n,L(O(e),this,p,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return g=t,v=n,L(function(e,t){for(var n,o,i=[],l=0;l<e.length&&!((t-=2)<0);++l)o=(n=e.charCodeAt(l))>>8,i.push(n%256),i.push(o);return i}(e,this.length-g),this,g,v);default:if(b)throw TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),b=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},u.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var o=this.subarray(e,t);return Object.setPrototypeOf(o,u.prototype),o},u.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var o=this[e],i=1,l=0;++l<t&&(i*=256);)o+=this[e+l]*i;return o},u.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var o=this[e+--t],i=1;t>0&&(i*=256);)o+=this[e+--t]*i;return o},u.prototype.readUInt8=function(e,t){return e>>>=0,t||x(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return e>>>=0,t||x(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var o=this[e],i=1,l=0;++l<t&&(i*=256);)o+=this[e+l]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},u.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||x(e,t,this.length);for(var o=t,i=1,l=this[e+--o];o>0&&(i*=256);)l+=this[e+--o]*i;return l>=(i*=128)&&(l-=Math.pow(2,8*t)),l},u.prototype.readInt8=function(e,t){return(e>>>=0,t||x(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},u.prototype.readInt16LE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(e,t){e>>>=0,t||x(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return e>>>=0,t||x(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return e>>>=0,t||x(e,4,this.length),i.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return e>>>=0,t||x(e,8,this.length),i.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,n,o){if(e=+e,t>>>=0,n>>>=0,!o){var i=Math.pow(2,8*n)-1;E(this,e,t,n,i,0)}var l=1,s=0;for(this[t]=255&e;++s<n&&(l*=256);)this[t+s]=e/l&255;return t+n},u.prototype.writeUIntBE=function(e,t,n,o){if(e=+e,t>>>=0,n>>>=0,!o){var i=Math.pow(2,8*n)-1;E(this,e,t,n,i,0)}var l=n-1,s=1;for(this[t+l]=255&e;--l>=0&&(s*=256);)this[t+l]=e/s&255;return t+n},u.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,1,255,0),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},u.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t>>>=0,!o){var i=Math.pow(2,8*n-1);E(this,e,t,n,i-1,-i)}var l=0,s=1,u=0;for(this[t]=255&e;++l<n&&(s*=256);)e<0&&0===u&&0!==this[t+l-1]&&(u=1),this[t+l]=(e/s>>0)-u&255;return t+n},u.prototype.writeIntBE=function(e,t,n,o){if(e=+e,t>>>=0,!o){var i=Math.pow(2,8*n-1);E(this,e,t,n,i-1,-i)}var l=n-1,s=1,u=0;for(this[t+l]=255&e;--l>=0&&(s*=256);)e<0&&0===u&&0!==this[t+l+1]&&(u=1),this[t+l]=(e/s>>0)-u&255;return t+n},u.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},u.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},u.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},u.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||E(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},u.prototype.writeFloatLE=function(e,t,n){return k(this,e,t,!0,n)},u.prototype.writeFloatBE=function(e,t,n){return k(this,e,t,!1,n)},u.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},u.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},u.prototype.copy=function(e,t,n,o){if(!u.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o<n&&(o=n),o===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(o<0)throw RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t<o-n&&(o=e.length-t+n);var i=o-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,o);else if(this===e&&n<t&&t<o)for(var l=i-1;l>=0;--l)e[l+t]=this[l+n];else Uint8Array.prototype.set.call(e,this.subarray(n,o),t);return i},u.prototype.fill=function(e,t,n,o){if("string"==typeof e){if("string"==typeof t?(o=t,t=0,n=this.length):"string"==typeof n&&(o=n,n=this.length),void 0!==o&&"string"!=typeof o)throw TypeError("encoding must be a string");if("string"==typeof o&&!u.isEncoding(o))throw TypeError("Unknown encoding: "+o);if(1===e.length){var i,l=e.charCodeAt(0);("utf8"===o&&l<128||"latin1"===o)&&(e=l)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var s=u.isBuffer(e)?e:u.from(e,o),c=s.length;if(0===c)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=s[i%c]}return this};var _=/[^+/0-9A-Za-z-_]/g;function S(e,t){t=t||1/0;for(var n,o=e.length,i=null,l=[],s=0;s<o;++s){if((n=e.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319||s+1===o){(t-=3)>-1&&l.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&l.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&l.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;l.push(n)}else if(n<2048){if((t-=2)<0)break;l.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;l.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;l.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return l}function j(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function O(e){return o.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(_,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function L(e,t,n,o){for(var i=0;i<o&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function A(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var T=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var o=16*n,i=0;i<16;++i)t[o+i]=e[n]+e[i];return t}()},783:function(e,t){/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */t.read=function(e,t,n,o,i){var l,s,u=8*i-o-1,c=(1<<u)-1,d=c>>1,f=-7,h=n?i-1:0,p=n?-1:1,m=e[t+h];for(h+=p,l=m&(1<<-f)-1,m>>
193=-f,f+=u;f>0;l=256*l+e[t+h],h+=p,f-=8);for(s=l&(1<<-f)-1,l>>=-f,f+=o;f>0;s=256*s+e[t+h],h+=p,f-=8);if(0===l)l=1-d;else{if(l===c)return s?NaN:1/0*(m?-1:1);s+=Math.pow(2,o),l-=d}return(m?-1:1)*s*Math.pow(2,l-o)},t.write=function(e,t,n,o,i,l){var s,u,c,d=8*l-i-1,f=(1<<d)-1,h=f>>1,p=23===i?5960464477539062e-23:0,m=o?0:l-1,g=o?1:-1,v=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(u=isNaN(t)?1:0,s=f):(s=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-s))<1&&(s--,c*=2),s+h>=1?t+=p/c:t+=p*Math.pow(2,1-h),t*c>=2&&(s++,c/=2),s+h>=f?(u=0,s=f):s+h>=1?(u=(t*c-1)*Math.pow(2,i),s+=h):(u=t*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;e[n+m]=255&u,m+=g,u/=256,i-=8);for(s=s<<i|u,d+=i;d>0;e[n+m]=255&s,m+=g,s/=256,d-=8);e[n+m-g]|=128*v}}},n={};function o(e){var i=n[e];if(void 0!==i)return i.exports;var l=n[e]={exports:{}},s=!0;try{t[e](l,l.exports,o),s=!1}finally{s&&delete n[e]}return l.exports}o.ab="//";var i=o(72);e.exports=i}()},52194:function(e,t){"use strict";function n(e,t,n){if(e)for(let l of(n&&(n=n.toLowerCase()),e)){var o,i;if(t===(null==(o=l.domain)?void 0:o.split(":",1)[0].toLowerCase())||n===l.defaultLocale.toLowerCase()||(null==(i=l.locales)?void 0:i.some(e=>e.toLowerCase()===n)))return l}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return n}})},52544:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getNextPathnameInfo",{enumerable:!0,get:function(){return s}});let o=n(58673),i=n(91603),l=n(53519);function s(e,t){var n,s;let{basePath:u,i18n:c,trailingSlash:d}=null!=(n=t.nextConfig)?n:{},f={pathname:e,trailingSlash:"/"!==e?e.endsWith("/"):d};u&&(0,l.pathHasPrefix)(f.pathname,u)&&(f.pathname=(0,i.removePathPrefix)(f.pathname,u),f.basePath=u);let h=f.pathname;if(f.pathname.startsWith("/_next/data/")&&f.pathname.endsWith(".json")){let e=f.pathname.replace(/^\/_next\/data\//,"").replace(/\.json$/,"").split("/"),n=e[0];f.buildId=n,h="index"!==e[1]?"/"+e.slice(1).join("/"):"/",!0===t.parseData&&(f.pathname=h)}if(c){let e=t.i18nProvider?t.i18nProvider.analyze(f.pathname):(0,o.normalizeLocalePath)(f.pathname,c.locales);f.locale=e.detectedLocale,f.pathname=null!=(s=e.pathname)?s:f.pathname,!e.detectedLocale&&f.buildId&&(e=t.i18nProvider?t.i18nProvider.analyze(h):(0,o.normalizeLocalePath)(h,c.locales)).detectedLocale&&(f.locale=e.detectedLocale)}return f}},52877:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RouteAnnouncer:function(){return c},default:function(){return d}});let o=n(77223),i=n(23078),l=o._(n(59065)),s=n(81901),u={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",top:0,width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},c=()=>{let{asPath:e}=(0,s.useRouter)(),[t,n]=l.default.useState(""),o=l.default.useRef(e);return l.default.useEffect(()=>{if(o.current!==e){if(o.current=e,document.title)n(document.title);else{var t;let o=document.querySelector("h1");n((null!=(t=null==o?void 0:o.innerText)?t:null==o?void 0:o.textContent)||e)}}},[e]),(0,i.jsx)("p",{"aria-live":"assertive",id:"__next-route-announcer__",role:"alert",style:u,children:t})},d=c;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"pathHasPrefix",{enumerable:!0,get:function(){return i}});let o=n(40917);function i(e,t){if("string"!=typeof e)return!1;let{pathname:n}=(0,o.parsePath)(e);return n===t||n.startsWith(t+"/")}},53580:function(e,t,n){"use strict";n.d(t,{w:function(){return o}});var o={}},53735:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return x},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return b}});let o=n(77223),i=n(2438),l=n(23078),s=o._(n(3517)),u=i._(n(59065)),c=n(45140),d=n(2484),f=n(93456),h=new Map,p=new Set,m=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],g=e=>
193{if(s.default.preinit){e.forEach(e=>{s.default.preinit(e,{as:"style"})});return}{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}},v=e=>{let{src:t,id:n,onLoad:o=()=>{},onReady:i=null,dangerouslySetInnerHTML:l,children:s="",strategy:u="afterInteractive",onError:c,stylesheets:f}=e,v=n||t;if(v&&p.has(v))return;if(h.has(t)){p.add(v),h.get(t).then(o,c);return}let y=()=>{i&&i(),p.add(v)},b=document.createElement("script"),w=new Promise((e,t)=>{b.addEventListener("load",function(t){e(),o&&o.call(this,t),y()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});for(let[n,o]of(l?(b.innerHTML=l.__html||"",y()):s?(b.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",y()):t&&(b.src=t,h.set(t,w)),Object.entries(e))){if(void 0===o||m.includes(n))continue;let e=d.DOMAttributeNames[n]||n.toLowerCase();b.setAttribute(e,o)}"worker"===u&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",u),f&&g(f),document.body.appendChild(b)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>v(e))}):v(e)}function b(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function w(e){let{id:t,src:n="",onLoad:o=()=>{},onReady:i=null,strategy:d="afterInteractive",onError:h,stylesheets:m,...g}=e,{updateScripts:y,scripts:b,getIsSsr:w,appDir:x,nonce:E}=(0,u.useContext)(c.HeadManagerContext),C=(0,u.useRef)(!1);(0,u.useEffect)(()=>{let e=t||n;C.current||(i&&e&&p.has(e)&&i(),C.current=!0)},[i,t,n]);let k=(0,u.useRef)(!1);if((0,u.useEffect)(()=>{!k.current&&("afterInteractive"===d?v(e):"lazyOnload"===d&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>v(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>v(e))})),k.current=!0)},[e,d]),("beforeInteractive"===d||"worker"===d)&&(y?(b[d]=(b[d]||[]).concat([{id:t,src:n,onLoad:o,onReady:i,onError:h,...g}]),y(b)):w&&w()?p.add(t||n):w&&!w()&&v(e)),x){if(m&&m.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===d)return n?(s.default.preload(n,g.integrity?{as:"script",integrity:g.integrity,nonce:E,crossOrigin:g.crossOrigin}:{as:"script",nonce:E,crossOrigin:g.crossOrigin}),(0,l.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([n,{...g,id:t}])+")"}})):(g.dangerouslySetInnerHTML&&(g.children=g.dangerouslySetInnerHTML.__html,delete g.dangerouslySetInnerHTML),(0,l.jsx)("script",{nonce:E,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...g,id:t}])+")"}}));"afterInteractive"===d&&n&&s.default.preload(n,g.integrity?{as:"script",integrity:g.integrity,nonce:E,crossOrigin:g.crossOrigin}:{as:"script",nonce:E,crossOrigin:g.crossOrigin})}return null}Object.defineProperty(w,"__nextScript",{value:!0});let x=w;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},54931:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(60863),i=n(74967),l=n(59065),s=n(50607);n(69535),n(9991),n(10686),n(22715);let u=!1,c="undefined"==typeof window;t.IntlProvider=o.IntlProvider,t.useLocale=i.useLocale,t.useFormatter=function(){let{formats:e,formatters:t,locale:n,now:o,onError:u,timeZone:c}=i.useIntlContext();return l.useMemo(()=>s.createFormatter({formats:e,locale:n,now:o,onError:u,timeZone:c,_formatters:t}),[e,t,o,n,u,c])},t.useMessages=function(){let e=i.useIntlContext();if(!e.messages)throw Error(void 0);return e.messages},t.useNow=function(e){let t=null==e?void 0:e.updateInterval,{now:n}=i.useIntlContext(),[o,s]=l.useState(n||new Date);return l.useEffect(()=>{if(!t)return;let e=setInterval(()=>{s(new Date)},t);return()=>{clearInterval(e)}},[n,t]),null==t&&n?n:o},t.useTimeZone=function(){return i.useIntlContext().timeZone},t.useTranslations=function(e){return function(e,t,n){let{cache:o,defaultTranslationValues:d,formats:f,formatters:h,getMessageFallback:p,locale:m,onError:g,timeZone:v}=i.useIntlContext(),y=e["!"],b=s.resolveNamespace(t,"!");return v||u||!c||(u=!0,g(new s.IntlError(s.IntlErrorCode.ENVIRONMENT_FALLBACK,void 0))),l.useMemo(()=>s.createBaseTranslator({cache:o,formatters:h,getMessageFallback:p,messages:y,defaultTranslationValues:d,namespace:b,onError:g,formats:f,locale:m,timeZone:v}),[o,h,p,y,d,b,g,f,m,v])}({"!":i.useIntlContext().messages},e?"!.".concat(e):"!",0)}},55445:function(e,t,n){"use strict";n.d(t,{TL:function(){return f},bL:function(){return h},xV:function(){return m}});var o,i=n(59065),l=n(32964),s=n(72370),u=Symbol.for("react.lazy"),c=(o||(o=n.t(i,2)))[" use ".trim().toString()];function d(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===u&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function f(e){let t=function(e){let t=i.forwardRef((e,t)=>
193{let{children:n,...o}=e;if(d(n)&&"function"==typeof c&&(n=c(n._payload)),i.isValidElement(n)){var s,u,f;let e,c;let d=(e=null==(u=Object.getOwnPropertyDescriptor((s=n).props,"ref"))?void 0:u.get)&&"isReactWarning"in e&&e.isReactWarning?s.ref:(e=null==(f=Object.getOwnPropertyDescriptor(s,"ref"))?void 0:f.get)&&"isReactWarning"in e&&e.isReactWarning?s.props.ref:s.props.ref||s.ref,h=function(e,t){let n={...t};for(let o in t){let i=e[o],l=t[o];/^on[A-Z]/.test(o)?i&&l?n[o]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(n[o]=i):"style"===o?n[o]={...i,...l}:"className"===o&&(n[o]=[i,l].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==i.Fragment&&(h.ref=t?(0,l.t)(t,d):d),i.cloneElement(n,h)}return i.Children.count(n)>1?i.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=i.forwardRef((e,n)=>{let{children:o,...l}=e;d(o)&&"function"==typeof c&&(o=c(o._payload));let u=i.Children.toArray(o),f=u.find(g);if(f){let e=f.props.children,o=u.map(t=>t===f?i.Children.count(e)>1?i.Children.only(null):i.isValidElement(e)?e.props.children:null:t);return s.j.jsx(t,{...l,ref:n,children:i.isValidElement(e)?i.cloneElement(e,void 0,o):null})}return s.j.jsx(t,{...l,ref:n,children:o})});return n.displayName=`${e}.Slot`,n}var h=f("Slot"),p=Symbol("radix.slottable"),m=function(e){let t=({children:e})=>s.j.jsx(s.j.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=p,t}("Slottable");function g(e){return i.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}},56458:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return o}});let o=(0,n(45781).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},56783:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"escapeStringRegexp",{enumerable:!0,get:function(){return i}});let n=/[|\\{}()[\]^$+*?.-]/,o=/[|\\{}()[\]^$+*?.-]/g;function i(e){return n.test(e)?e.replace(o,"\\$&"):e}},57122:function(e,t,n){"use strict";n.d(t,{A:function(){return Q}});var o,i,l,s,u,c,d=function(){return(d=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function f(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)0>t.indexOf(o[i])&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]]);return n}var h=n(59065),p="right-scroll-bar-position",m="width-before-scroll-bar",g=(void 0===o&&(o={}),(void 0===i&&(i=function(e){return e}),l=[],s=!1,u={read:function(){if(s)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return l.length?l[l.length-1]:null},useMedium:function(e){var t=i(e,s);return l.push(t),function(){l=l.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(s=!0;l.length;){var t=l;l=[],t.forEach(e)}l={push:function(t){return e(t)},filter:function(){return l}}},assignMedium:function(e){s=!0;var t=[];if(l.length){var n=l;l=[],n.forEach(e),t=l}var o=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(o)};i(),l={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),l}}}}).options=d({async:!0,ssr:!1},o),u);function v(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var y="u">typeof window?h.useLayoutEffect:h.useEffect,b=new WeakMap,w=function(){},x=h.forwardRef(function(e,t){var n,o,i,l,s=h.useRef(null),u=h.useState({onScrollCapture:w,onWheelCapture:w,onTouchMoveCapture:w}),c=u[0],p=u[1],m=e.forwardProps,x=e.children,E=e.className,C=e.removeScrollBar,k=e.enabled,M=e.shards,_=e.sideCar,S=e.noRelative,j=e.noIsolation,O=e.inert,L=e.allowPinchZoom,A=e.as,T=e.gapMode,P=f(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),N=(n=[s,t],o=function(e){return n.forEac
193h(function(t){return v(t,e)})},(i=(0,h.useState)(function(){return{value:null,callback:o,facade:{get current(){return i.value},set current(a){var e=i.value;e!==a&&(i.value=a,i.callback(a,e))}}}})[0]).callback=o,l=i.facade,y(function(){var e=b.get(l);if(e){var t=new Set(e),o=new Set(n),i=l.current;t.forEach(function(e){o.has(e)||v(e,null)}),o.forEach(function(e){t.has(e)||v(e,i)})}b.set(l,n)},[n]),l),F=d(d({},P),c);return h.createElement(h.Fragment,null,k&&h.createElement(_,{sideCar:g,removeScrollBar:C,shards:M,noRelative:S,noIsolation:j,inert:O,setCallbacks:p,allowPinchZoom:!!L,lockRef:s,gapMode:T}),m?h.cloneElement(h.Children.only(x),d(d({},F),{ref:N})):h.createElement(void 0===A?"div":A,d({},F,{className:E,ref:N}),x))});x.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},x.classNames={fullWidth:m,zeroRight:p};var E=function(){var e=0,t=null;return{add:function(o){var i,l;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}())&&((i=t).styleSheet?i.styleSheet.cssText=o:i.appendChild(document.createTextNode(o)),l=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(l)),e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},C=function(){var e=E();return function(t,n){h.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},k=function(){var e=C();return function(t){return e(t.styles,t.dynamic),null}},M={left:0,top:0,right:0,gap:0},_=function(e){return parseInt(e||"",10)||0},S=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],o=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[_(n),_(o),_(i)]},j=function(e){if(void 0===e&&(e="margin"),typeof window>"u")return M;var t=S(e),n=document.documentElement.clientWidth,o=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,o-n+t[2]-t[0])}},O=k(),L="data-scroll-locked",A=function(e,t,n,o){var i=e.left,l=e.top,s=e.right,u=e.gap;return void 0===n&&(n="margin"),` 194 .`.concat("with-scroll-bars-hidden",` { 195 overflow: hidden `).concat(o,`; 196 padding-right: `).concat(u,"px ").concat(o,`; 197 } 198 body[`).concat(L,`] { 199 overflow: hidden `).concat(o,`; 200 overscroll-behavior: contain; 201 `).concat([t&&"position: relative ".concat(o,";"),"margin"===n&&` 202 padding-left: `.concat(i,`px; 203 padding-top: `).concat(l,`px; 204 padding-right: `).concat(s,`px; 205 margin-left:0; 206 margin-top:0; 207 margin-right: `).concat(u,"px ").concat(o,`; 208 `),"padding"===n&&"padding-right: ".concat(u,"px ").concat(o,";")].filter(Boolean).join(""),` 209 } 210 211 .`).concat(p,` { 212 right: `).concat(u,"px ").concat(o,`; 213 } 214 215 .`).concat(m,` { 216 margin-right: `).concat(u,"px ").concat(o,`; 217 } 218 219 .`).concat(p," .").concat(p,` { 220 right: 0 `).concat(o,`; 221 } 222 223 .`).concat(m," .").concat(m,` { 224 margin-right: 0 `).concat(o,`; 225 } 226 227 body[`).concat(L,`] { 228 `).concat("--removed-body-scroll-bar-size",": ").concat(u,`px; 229 } 230`)},T=function(){var e=parseInt(document.body.getAttribute(L)||"0",10);return isFinite(e)?e:0},P=function(){h.useEffect(function(){return document.body.setAttribute(L,(T()+1).toString()),function(){var e=T()-1;e<=0?document.body.removeAttribute(L):document.body.setAttribute(L,e.toString())}},[])},N=function(e){var t=e.noRelative,n=e.noImportant,o=e.gapMode,i=void 0===o?"margin":o;P();var l=h.useMemo(function(){return j(i)},[i]);return h.createElement(O,{styles:A(l,!t,i,n?"":"!important")})},F=!1;if("u">typeof window)try{var R=Object.defineProperty({},"passive",{get:function(){return F=!0,!0}});window.addEventListener("test",R,R),window.removeEventListener("test",R,R)}catch{F=!1}var $=!!F&&{passive:!1},D=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===n[t])},z=function(e,t){var n=t.ownerDocument,o=t;do{if("u">typeof ShadowRoot&&o instanceof ShadowRoot&&(o=o.host),I(e,o)){var i=H(e,o);if(i[1]>i[2])return!0}o=o.parentNode}while(o&&o!==n.body);return!1},I=function(e,t){return"v"===e?D(t,"overflowY"):D(t,"overflowX")},H=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,o,i){var l,s=(l=window.getComputedStyle(t).direction,"h"===e&&"rtl"===l?-1:1),u=n.target,c=t.contains(u),d=!1,f=s*o>0,h=0,p=0;
230do{if(!u)break;var m=H(e,u),g=m[0],v=m[1]-m[2]-s*g;(g||v)&&I(e,u)&&(h+=v,p+=g);var y=u.parentNode;u=y&&y.nodeType===Node.DOCUMENT_FRAGMENT_NODE?y.host:y}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return(f&&1>Math.abs(h)||!f&&1>Math.abs(p))&&(d=!0),d},W=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},U=function(e){return[e.deltaX,e.deltaY]},q=function(e){return e&&"current"in e?e.current:e},G=0,Y=[],Z=function(e){var t=e.sideCar,n=f(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var o=t.read();if(!o)throw Error("Sidecar medium not found");return h.createElement(o,d({},n))};Z.isSideCarExport=!0;let K=(c=function(e){var t=h.useRef([]),n=h.useRef([0,0]),o=h.useRef(),i=h.useState(G++)[0],l=h.useState(k)[0],s=h.useRef(e);h.useEffect(function(){s.current=e},[e]),h.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(function(e,t,n){if(n||2==arguments.length)for(var o,i=0,l=t.length;i<l;i++)!o&&i in t||(o||(o=Array.prototype.slice.call(t,0,i)),o[i]=t[i]);return e.concat(o||Array.prototype.slice.call(t))})([e.lockRef.current],(e.shards||[]).map(q),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var u=h.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var i,l=W(e),u=n.current,c="deltaX"in e?e.deltaX:u[0]-l[0],d="deltaY"in e?e.deltaY:u[1]-l[1],f=e.target,h=Math.abs(c)>Math.abs(d)?"h":"v";if("touches"in e&&"h"===h&&"range"===f.type)return!1;var p=window.getSelection(),m=p&&p.anchorNode;if(m&&(m===f||m.contains(f)))return!1;var g=z(h,f);if(!g)return!0;if(g?i=h:(i="v"===h?"h":"v",g=z(h,f)),!g)return!1;if(!o.current&&"changedTouches"in e&&(c||d)&&(o.current=i),!i)return!0;var v=o.current||i;return B(v,t,e,"h"===v?c:d)},[]),c=h.useCallback(function(e){if(!(!Y.length||Y[Y.length-1]!==l)){var n="deltaY"in e?U(e):W(e),o=t.current.filter(function(t){var o;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(o=t.delta)[0]===n[0]&&o[1]===n[1]})[0];if(o&&o.should){e.cancelable&&e.preventDefault();return}if(!o){var i=(s.current.shards||[]).map(q).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?u(e,i[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),d=h.useCallback(function(e,n,o,i){var l={name:e,delta:n,target:o,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(o)};t.current.push(l),setTimeout(function(){t.current=t.current.filter(function(e){return e!==l})},1)},[]),f=h.useCallback(function(e){n.current=W(e),o.current=void 0},[]),p=h.useCallback(function(t){d(t.type,U(t),t.target,u(t,e.lockRef.current))},[]),m=h.useCallback(function(t){d(t.type,W(t),t.target,u(t,e.lockRef.current))},[]);h.useEffect(function(){return Y.push(l),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:m}),document.addEventListener("wheel",c,$),document.addEventListener("touchmove",c,$),document.addEventListener("touchstart",f,$),function(){Y=Y.filter(function(e){return e!==l}),document.removeEventListener("wheel",c,$),document.removeEventListener("touchmove",c,$),document.removeEventListener("touchstart",f,$)}},[]);var g=e.removeScrollBar,v=e.inert;return h.createElement(h.Fragment,null,v?h.createElement(l,{styles:` 231 .block-interactivity-`.concat(i,` {pointer-events: none;} 232 .allow-interactivity-`).concat(i,` {pointer-events: all;} 233`)}):null,g?h.createElement(N,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},g.useMedium(c),Z);var Q=h.forwardRef(function(e,t){return h.createElement(x,d({},e,{ref:t,sideCar:K}))});Q.classNames=x.classNames},57339:function(e,t){"use strict";function n(){return""}
233Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDeploymentIdQueryOrEmptyString",{enumerable:!0,get:function(){return n}})},57840:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addLocale",{enumerable:!0,get:function(){return l}});let o=n(50002),i=n(53519);function l(e,t,n,l){if(!t||t===n)return e;let s=e.toLowerCase();return!l&&((0,i.pathHasPrefix)(s,"/api")||(0,i.pathHasPrefix)(s,"/"+t.toLowerCase()))?e:(0,o.addPathPrefix)(e,"/"+t)}},58492:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return i},getProperError:function(){return l}});let o=n(72995);function i(e){return"object"==typeof e&&null!==e&&"name"in e&&"message"in e}function l(e){return i(e)?e:Error((0,o.isPlainObject)(e)?JSON.stringify(e):e+"")}},58673:function(e,t){"use strict";function n(e,t){let n;let o=e.split("/");return(t||[]).some(t=>!!o[1]&&o[1].toLowerCase()===t.toLowerCase()&&(n=t,o.splice(1,1),e=o.join("/")||"/",!0)),{pathname:e,detectedLocale:n}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}})},59689:function(e,t,n){"use strict";n.d(t,{h:function(){return tz}});var o,i,l,s,u,c,d,f,h,p,m,g={};n.r(g),n.d(g,{Button:function(){return eF},CaptionLabel:function(){return eR},Chevron:function(){return e$},Day:function(){return eD},DayButton:function(){return ez},Dropdown:function(){return eI},DropdownNav:function(){return eH},Footer:function(){return eB},Month:function(){return eW},MonthCaption:function(){return eV},MonthGrid:function(){return eU},Months:function(){return eq},MonthsDropdown:function(){return eZ},Nav:function(){return eK},NextMonthButton:function(){return eQ},Option:function(){return eX},PreviousMonthButton:function(){return eJ},Root:function(){return e1},Select:function(){return e0},Week:function(){return e2},WeekNumber:function(){return e4},WeekNumberHeader:function(){return e6},Weekday:function(){return e3},Weekdays:function(){return e5},Weeks:function(){return e7},YearsDropdown:function(){return e8}});var v={};n.r(v),n.d(v,{formatCaption:function(){return e9},formatDay:function(){return tt},formatMonthCaption:function(){return te},formatMonthDropdown:function(){return tr},formatWeekNumber:function(){return ta},formatWeekNumberHeader:function(){return to},formatWeekdayName:function(){return tn},formatYearCaption:function(){return tl},formatYearDropdown:function(){return ti}});var y={};n.r(y),n.d(y,{labelCaption:function(){return td},labelDay:function(){return tu},labelDayButton:function(){return ts},labelGrid:function(){return tc},labelGridcell:function(){return tf},labelMonthDropdown:function(){return th},labelNav:function(){return tp},labelNext:function(){return tm},labelPrevious:function(){return tg},labelWeekNumber:function(){return ty},labelWeekNumberHeader:function(){return tb},labelWeekday:function(){return tv},labelYearDropdown:function(){return tw}});var b=n(59065);let w={},x={};function E(e,t){try{let n=(w[e]||(w[e]=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format))(t).split("GMT")[1];return n in x?x[n]:k(n,n.split(":"))}catch{if(e in x)return x[e];let t=null==e?void 0:e.match(C);return t?k(e,t.slice(1)):NaN}}let C=/([+-]\d\d):?(\d\d)?/;function k(e,t){let n=+(t[0]||0),o=+(t[1]||0),i=+(t[2]||0)/60;return x[e]=60*n+o>0?60*n+o+i:60*n-o-i}class M extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(E(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),j(this),S(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new M(...t,e):new M(Date.now(),e)}withTimeZone(e){return new M(+this,e)}getTimezoneOffset(){let e=-E(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),S(this),+this}[Symbol.for("constructDateFrom")](e){return new M(+new Date(e),this.timeZone)}}let _=/^(get|set)(?!UTC)/;function S(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*E(e.timeZone,e))))}function j(e){let t=E(e.timeZone,e),n=t>0?Math.floor(t):Math.ceil(t),o=new Date(+e);o.setUTCHours(o.getUTCHours()-1);let i=-new Date(+e).getTimezoneOffset(),l=i- -new Date(+o).getTimezoneOffset(),s=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();l&&s&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+l);let u=i-n;u&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+u);let c=new Date(+e);c.setUTCSeconds(0);let d=i>0?c.getSeconds():(c.getSeconds()-60)%60,f=Math.round(-(60*E(e.timeZone,e)))%60;(f||d)&&(e.internal.setUTCSeconds(e.internal.getUTCSeconds()+f),Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+f+
233d));let h=E(e.timeZone,e),p=h>0?Math.floor(h):Math.ceil(h),m=-new Date(+e).getTimezoneOffset()-p-u;if(p!==n&&m){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+m);let t=E(e.timeZone,e),n=p-(t>0?Math.floor(t):Math.ceil(t));n&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+n),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+n))}}Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!_.test(e))return;let t=e.replace(_,"$1UTC");M.prototype[t]&&(e.startsWith("get")?M.prototype[e]=function(){return this.internal[t]()}:(M.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),Date.prototype.setFullYear.call(this,this.internal.getUTCFullYear(),this.internal.getUTCMonth(),this.internal.getUTCDate()),Date.prototype.setHours.call(this,this.internal.getUTCHours(),this.internal.getUTCMinutes(),this.internal.getUTCSeconds(),this.internal.getUTCMilliseconds()),j(this),+this},M.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),S(this),+this}))});class O extends M{static tz(e,...t){return t.length?new O(...t,e):new O(Date.now(),e)}toISOString(){let[e,t,n]=this.tzComponents(),o=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,n,o]=this.internal.toUTCString().split(" ");return`${null==e?void 0:e.slice(0,-1)} ${n} ${t} ${o}`}
233toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,n,o]=this.tzComponents();return`${e} GMT${t}${n}${o} (${function(e,t,n="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:n}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),n=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,n]}withTimeZone(e){return new O(+this,e)}[Symbol.for("constructDateFrom")](e){return new O(+new Date(e),this.timeZone)}}function L(e,t){let n=t.startOfMonth(e),o=n.getDay();return 1===o?n:0===o?t.addDays(n,-6):t.addDays(n,-1*(o-1))}let A={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function T(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}let P={date:T({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:T({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:T({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},N={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function F(e){return(t,n)=>{let o;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):t;o=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=null!=n&&n.width?String(n.width):e.defaultWidth;o=e.values[i]||e.values[t]}return o[e.argumentCallback?e.argumentCallback(t):t]}}function R(e){return(t,n={})=>{let o;let i=n.width,l=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(l);if(!s)return null;let u=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(c,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(c,e=>e.test(u));return o=e.valueCallback?e.valueCallback(d):d,{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(u.length)}}}let $={code:"en-US",formatDistance:(e,t,n)=>{let o;let i=A[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:P,formatRelative:(e,t,n,o)=>N[e],localize:{ordinalNumber:(e,t)=>{let n=Number(e),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:F({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:F({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:F({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:F({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
233ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:F({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(o={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{let n=e.match(o.matchPattern);if(!n)return null;let i=n[0],l=e.match(o.parsePattern);if(!l)return null;let s=o.valueCallback?o.valueCallback(l[0]):l[0];return{value:s=t.valueCallback?t.valueCallback(s):s,rest:e.slice(i.length)}}),era:R({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:R({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:R({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:R({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:R({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}},D={},z=Symbol.for("constructDateFrom");function I(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&z in e?e[z](t):e instanceof Date?new e.constructor(t):new Date(t)}function H(e,t){return I(t||e,e)}function B(e){let t=H(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function W(e,...t){let n=I.bind(null,t.find(e=>"object"==typeof e));return t.map(n)}function U(e,t){let n=H(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}function q(e,t,n){let[o,i]=W(null==n?void 0:n.in,e,t),l=U(o),s=U(i);return Math.round((+l-B(l)-(+s-B(s)))/864e5)}function G(e,t){let n=H(e,null==t?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Y(e,t){var n,o,i,l;let s=(null==t?void 0:t.weekStartsOn)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.weekStartsOn)??D.weekStartsOn??(null==(l=null==(i=D.locale)?void 0:i.options)?void 0:l.weekStartsOn)??0,u=H(e,null==t?void 0:t.in),c=u.getDay();return u.setDate(u.getDate()-((c<s?7:0)+c-s)),u.setHours(0,0,0,0),u}function Z(e,t){return Y(e,{...t,weekStartsOn:1}
233)}function K(e,t){let n=H(e,null==t?void 0:t.in),o=n.getFullYear(),i=I(n,0);i.setFullYear(o+1,0,4),i.setHours(0,0,0,0);let l=Z(i),s=I(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);let u=Z(s);return n.getTime()>=l.getTime()?o+1:n.getTime()>=u.getTime()?o:o-1}function Q(e,t){let n=H(e,null==t?void 0:t.in);return Math.round((+Z(n)-+function(e,t){let n=K(e,void 0),o=I(e,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),Z(o)}(n))/6048e5)+1}function X(e,t){var n,o,i,l;let s=H(e,null==t?void 0:t.in),u=s.getFullYear(),c=(null==t?void 0:t.firstWeekContainsDate)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.firstWeekContainsDate)??D.firstWeekContainsDate??(null==(l=null==(i=D.locale)?void 0:i.options)?void 0:l.firstWeekContainsDate)??1,d=I((null==t?void 0:t.in)||e,0);d.setFullYear(u+1,0,c),d.setHours(0,0,0,0);let f=Y(d,t),h=I((null==t?void 0:t.in)||e,0);h.setFullYear(u,0,c),h.setHours(0,0,0,0);let p=Y(h,t);return+s>=+f?u+1:+s>=+p?u:u-1}function J(e,t){let n=H(e,null==t?void 0:t.in);return Math.round((+Y(n,t)-+function(e,t){var n,o,i,l;let s=(null==t?void 0:t.firstWeekContainsDate)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.firstWeekContainsDate)??D.firstWeekContainsDate??(null==(l=null==(i=D.locale)?void 0:i.options)?void 0:l.firstWeekContainsDate)??1,u=X(e,t),c=I((null==t?void 0:t.in)||e,0);return c.setFullYear(u,0,s),c.setHours(0,0,0,0),Y(c,t)}(n,t))/6048e5)+1}function ee(e,t){let n=Math.abs(e).toString().padStart(t,"0");return(e<0?"-":"")+n}let et={y(e,t){let n=e.getFullYear(),o=n>0?n:1-n;return ee("yy"===t?o%100:o,t.length)},M(e,t){let n=e.getMonth();return"M"===t?String(n+1):ee(n+1,2)},d:(e,t)=>ee(e.getDate(),t.length),a(e,t){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>ee(e.getHours()%12||12,t.length),H:(e,t)=>ee(e.getHours(),t.length),m:(e,t)=>ee(e.getMinutes(),t.length),s:(e,t)=>ee(e.getSeconds(),t.length),S(e,t){let n=t.length;return ee(Math.trunc(e.getMilliseconds()*Math.pow(10,n-3)),t.length)}},er={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},en={G:function(e,t,n){let o=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});default:return n.era(o,{width:"wide"})}},y:function(e,t,n){if("yo"===t){let t=e.getFullYear();return n.ordinalNumber(t>0?t:1-t,{unit:"year"})}return et.y(e,t)},Y:function(e,t,n,o){let i=X(e,o),l=i>0?i:1-i;return"YY"===t?ee(l%100,2):"Yo"===t?n.ordinalNumber(l,{unit:"year"}):ee(l,t.length)},R:function(e,t){return ee(K(e),t.length)},u:function(e,t){return ee(e.getFullYear(),t.length)},Q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(o);case"QQ":return ee(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(e,t,n){let o=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(o);case"qq":return ee(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(e,t,n){let o=e.getMonth();switch(t){case"M":case"MM":return et.M(e,t);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(e,t,n){let o=e.getMonth();switch(t){case"L":return String(o+1);case"LL":return ee(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(e,t,n,o){let i=J(e,o);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):ee(i,t.length)},I:function(e,t,n){let o=Q(e);return"Io"===t?n.ordinalNumber(o,{unit:"week"}):ee(o,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):et.d(e,t)},D:function(e,t,n){let o=function(e,t){let n=H(e,void 0);return q(n,G(n))+1}(e);return"Do"===t?n.ordinalNumber(o,{unit:"dayOfYear"}):ee(o,t.length)},E:function(e,t,n){let o=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"e":return String(l);case"ee":return ee(l,2);case"eo":return n.ordinalNumber(l,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,o){let i=e.getDay(),l=(i-o.weekStartsOn+8)%7||7;switch(t){case"c":return String(l);case"cc":return ee(l,t.length);case"co":return n.ordinalNumber(l,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){let o=e.getDay(),i=0===o?7:o;switch(t){case"i":return String(i);case"ii":return ee(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(e,t,n){let o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){let o;let i=e.getHours();switch(o=12===i?er.noon:0===i?er.midnight:i/12>
233=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){let o;let i=e.getHours();switch(o=i>=17?er.evening:i>=12?er.afternoon:i>=4?er.morning:er.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return et.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):et.H(e,t)},K:function(e,t,n){let o=e.getHours()%12;return"Ko"===t?n.ordinalNumber(o,{unit:"hour"}):ee(o,t.length)},k:function(e,t,n){let o=e.getHours();return 0===o&&(o=24),"ko"===t?n.ordinalNumber(o,{unit:"hour"}):ee(o,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):et.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):et.s(e,t)},S:function(e,t){return et.S(e,t)},X:function(e,t,n){let o=e.getTimezoneOffset();if(0===o)return"Z";switch(t){case"X":return eo(o);case"XXXX":case"XX":return ei(o);default:return ei(o,":")}},x:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"x":return eo(o);case"xxxx":case"xx":return ei(o);default:return ei(o,":")}},O:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ea(o,":");default:return"GMT"+ei(o,":")}},z:function(e,t,n){let o=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ea(o,":");default:return"GMT"+ei(o,":")}},t:function(e,t,n){return ee(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return ee(+e,t.length)}};function ea(e,t=""){let n=e>0?"-":"+",o=Math.abs(e),i=Math.trunc(o/60),l=o%60;return 0===l?n+String(i):n+String(i)+t+ee(l,2)}function eo(e,t){return e%60==0?(e>0?"-":"+")+ee(Math.abs(e)/60,2):ei(e,t)}function ei(e,t=""){let n=Math.abs(e);return(e>0?"-":"+")+ee(Math.trunc(n/60),2)+t+ee(n%60,2)}let el=(e,t)=>
233{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},es=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},eu={p:es,P:(e,t)=>{let n;let o=e.match(/(P+)(p+)?/)||[],i=o[1],l=o[2];if(!l)return el(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",el(i,t)).replace("{{time}}",es(l,t))}},ec=/^D+$/,ed=/^Y+$/,ef=["D","DD","YY","YYYY"];function eh(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}let ep=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,em=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,eg=/^'([^]*?)'?$/,ev=/''/g,ey=/[a-zA-Z]/;function eb(e,t,n){var o,i,l,s,u,c,d,f;let h=(null==n?void 0:n.locale)??D.locale??$,p=(null==n?void 0:n.firstWeekContainsDate)??(null==(i=null==(o=null==n?void 0:n.locale)?void 0:o.options)?void 0:i.firstWeekContainsDate)??D.firstWeekContainsDate??(null==(s=null==(l=D.locale)?void 0:l.options)?void 0:s.firstWeekContainsDate)??1,m=(null==n?void 0:n.weekStartsOn)??(null==(c=null==(u=null==n?void 0:n.locale)?void 0:u.options)?void 0:c.weekStartsOn)??D.weekStartsOn??(null==(f=null==(d=D.locale)?void 0:d.options)?void 0:f.weekStartsOn)??0,g=H(e,null==n?void 0:n.in);if(!eh(g)&&"number"!=typeof g||isNaN(+H(g)))throw RangeError("Invalid time value");let v=t.match(em).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,eu[t])(e,h.formatLong):e}).join("").match(ep).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:function(e){let t=e.match(eg);return t?t[1].replace(ev,"'"):e}(e)};if(en[t])return{isToken:!0,value:e};if(t.match(ey))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});h.localize.preprocessor&&(v=h.localize.preprocessor(g,v));let y={firstWeekContainsDate:p,weekStartsOn:m,locale:h};return v.map(o=>{if(!o.isToken)return o.value;let i=o.value;return(!(null!=n&&n.useAdditionalWeekYearTokens)&&ed.test(i)||!(null!=n&&n.useAdditionalDayOfYearTokens)&&ec.test(i))&&function(e,t,n){let o=function(e,t,n){let o="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(o),ef.includes(e))throw RangeError(o)}(i,t,String(e)),(0,en[i[0]])(g,i,h.localize,y)}).join("")}let ew={...$,labels:{labelDayButton:(e,t,n,o)=>{let i=(o&&"function"==typeof o.format?o.format.bind(o):(e,t)=>eb(e,t,{locale:$,...n}))(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i},labelMonthDropdown:"Choose the Month",labelNext:"Go to the Next Month",labelPrevious:"Go to the Previous Month",labelWeekNumber:e=>`Week ${e}`,labelYearDropdown:"Choose the Year",labelGrid:(e,t,n)=>(n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>eb(e,n,{locale:$,...t}))(e,"LLLL yyyy"),labelGridcell:(e,t,n,o)=>{let i=(o&&"function"==typeof o.format?o.format.bind(o):(e,t)=>eb(e,t,{locale:$,...n}))(e,"PPPP");return null!=t&&t.today&&(i=`Today, ${i}`),i},labelNav:"Navigation bar",labelWeekNumberHeader:"Week Number",labelWeekday:(e,t,n)=>(n&&"function"==typeof n.format?n.format.bind(n):(e,n)=>eb(e,n,{locale:$,...t}))(e,"cccc")}};function ex(e,t,n){let o=H(e,null==n?void 0:n.in);return isNaN(t)?I(e,NaN):(t&&o.setDate(o.getDate()+t),o)}function eE(e,t,n){let o=H(e,null==n?void 0:n.in);if(isNaN(t))return I(e,NaN);if(!t)return o;let i=o.getDate(),l=I(e,o.getTime());return l.setMonth(o.getMonth()+t+1,0),i>=l.getDate()?l:(o.setFullYear(l.getFullYear(),l.getMonth(),i),o)}function eC(e,t){let[n,o]=W(e,t.start,t.end);return{start:n,end:o}}function ek(e,t){var n,o,i,l;let s=(null==t?void 0:t.weekStartsOn)??(null==(o=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:o.weekStartsOn)??D.weekStartsOn??(null==(l=null==(i=D.locale)?void 0:i.options)?void 0:l.weekStartsOn)??0,u=H(e,null==t?void 0:t.in),c=u.getDay();return u.setDate(u.getDate()+((c<s?-7:0)+6-(c-s))),u.setHours(23,59,59,999),u}class eM{constructor(e,t){this.Date=Date,this.today=()=>{var e;return null!=(e=this.overrides)&&e.today?this.overrides.today():this.options.timeZone?O.tz(this.options.timeZone):new this.Date}
233,this.newDate=(e,t,n)=>{var o;return null!=(o=this.overrides)&&o.newDate?this.overrides.newDate(e,t,n):this.options.timeZone?new O(e,t,n,this.options.timeZone):new Date(e,t,n)},this.addDays=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addDays?this.overrides.addDays(e,t):ex(e,t)},this.addMonths=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addMonths?this.overrides.addMonths(e,t):eE(e,t)},this.addWeeks=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addWeeks?this.overrides.addWeeks(e,t):ex(e,7*t,void 0)},this.addYears=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addYears?this.overrides.addYears(e,t):eE(e,12*t,void 0)},this.differenceInCalendarDays=(e,t)=>{var n;return null!=(n=this.overrides)&&n.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):q(e,t)},this.differenceInCalendarMonths=(e,t)=>{var n;return null!=(n=this.overrides)&&n.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):function(e,t,n){let[o,i]=W(void 0,e,t);return 12*(o.getFullYear()-i.getFullYear())+(o.getMonth()-i.getMonth())}(e,t)},this.eachMonthOfInterval=e=>{var t;return null!=(t=this.overrides)&&t.eachMonthOfInterval?this.overrides.eachMonthOfInterval(e):function(e,t){let{start:n,end:o}=eC(void 0,e),i=+n>+o,l=i?+n:+o,s=i?o:n;s.setHours(0,0,0,0),s.setDate(1);let u=[];for(;+s<=l;)u.push(I(n,s)),s.setMonth(s.getMonth()+1);return i?u.reverse():u}(e)},this.eachYearOfInterval=e=>{var t;let n=null!=(t=this.overrides)&&t.eachYearOfInterval?this.overrides.eachYearOfInterval(e):function(e,t){let{start:n,end:o}=eC(void 0,e),i=+n>+o,l=i?+n:+o,s=i?o:n;s.setHours(0,0,0,0),s.setMonth(0,1);let u=[];for(;+s<=l;)u.push(I(n,s)),s.setFullYear(s.getFullYear()+1);return i?u.reverse():u}(e),o=new Set(n.map(e=>this.getYear(e)));if(o.size===n.length)return n;let i=[];return o.forEach(e=>{i.push(new Date(e,0,1))}),i},this.endOfBroadcastWeek=e=>{var t;return null!=(t=this.overrides)&&t.endOfBroadcastWeek?this.overrides.endOfBroadcastWeek(e):function(e,t){let n=L(e,t),o=function(e,t){let n=t.startOfMonth(e),o=n.getDay()>0?n.getDay():7,i=t.addDays(e,-o+1),l=t.addDays(i,34);return t.getMonth(e)===t.getMonth(l)?5:4}(e,t);return t.addDays(n,7*o-1)}(e,this)},this.endOfISOWeek=e=>{var t;return null!=(t=this.overrides)&&t.endOfISOWeek?this.overrides.endOfISOWeek(e):ek(e,{weekStartsOn:1})},this.endOfMonth=e=>{var t;return null!=(t=this.overrides)&&t.endOfMonth?this.overrides.endOfMonth(e):function(e,t){let n=H(e,void 0),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(23,59,59,999),n}(e)},this.endOfWeek=(e,t)=>{var n;return null!=(n=this.overrides)&&n.endOfWeek?this.overrides.endOfWeek(e,t):ek(e,this.options)},this.endOfYear=e=>{var t;return null!=(t=this.overrides)&&t.endOfYear?this.overrides.endOfYear(e):function(e,t){let n=H(e,void 0),o=n.getFullYear();return n.setFullYear(o+1,0,0),n.setHours(23,59,59,999),n}(e)},this.format=(e,t,n)=>{var o;let i=null!=(o=this.overrides)&&o.format?this.overrides.format(e,t,this.options):eb(e,t,this.options);return this.options.numerals&&"latn"!==this.options.numerals?this.replaceDigits(i):i},this.getISOWeek=e=>{var t;return null!=(t=this.overrides)&&t.getISOWeek?this.overrides.getISOWeek(e):Q(e)},this.getMonth=(e,t)=>{var n,o;return null!=(n=this.overrides)&&n.getMonth?this.overrides.getMonth(e,this.options):H(e,null==(o=this.options)?void 0:o.in).getMonth()},this.getYear=(e,t)=>{var n,o;return null!=(n=this.overrides)&&n.getYear?this.overrides.getYear(e,this.options):H(e,null==(o=this.options)?void 0:o.in).getFullYear()},this.getWeek=(e,t)=>{var n;return null!=(n=this.overrides)&&n.getWeek?this.overrides.getWeek(e,this.options):J(e,this.options)},this.isAfter=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isAfter?this.overrides.isAfter(e,t):+H(e)>+H(t)},this.isBefore=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isBefore?this.overrides.isBefore(e,t):+H(e)<+H(t)},this.isDate=e=>{var t;return null!=(t=this.overrides)&&t.isDate?this.overrides.isDate(e):eh(e)},this.isSameDay=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isSameDay?this.overrides.isSameDay(e,t):function(e,t,n){let[o,i]=W(void 0,e,t);return+U(o)==+U(i)}(e,t)},this.isSameMonth=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isSameMonth?this.overrides.isSameMonth(e,t):function(e,t,n){let[o,i]=W(void 0,e,t);return o.getFullYear()===i.getFullYear()&&o.getMonth()===i.getMonth()}(e,t)},this.isSameYear=(e,t)=>
233{var n;return null!=(n=this.overrides)&&n.isSameYear?this.overrides.isSameYear(e,t):function(e,t,n){let[o,i]=W(void 0,e,t);return o.getFullYear()===i.getFullYear()}(e,t)},this.max=e=>{var t;let n,o;return null!=(t=this.overrides)&&t.max?this.overrides.max(e):(o=void 0,e.forEach(e=>{o||"object"!=typeof e||(o=I.bind(null,e));let t=H(e,o);(!n||n<t||isNaN(+t))&&(n=t)}),I(o,n||NaN))},this.min=e=>{var t;let n,o;return null!=(t=this.overrides)&&t.min?this.overrides.min(e):(o=void 0,e.forEach(e=>{o||"object"!=typeof e||(o=I.bind(null,e));let t=H(e,o);(!n||n>t||isNaN(+t))&&(n=t)}),I(o,n||NaN))},this.setMonth=(e,t)=>{var n;return null!=(n=this.overrides)&&n.setMonth?this.overrides.setMonth(e,t):function(e,t,n){let o=H(e,void 0),i=o.getFullYear(),l=o.getDate(),s=I(e,0);s.setFullYear(i,t,15),s.setHours(0,0,0,0);let u=function(e,t){let n=H(e,void 0),o=n.getFullYear(),i=n.getMonth(),l=I(n,0);return l.setFullYear(o,i+1,0),l.setHours(0,0,0,0),l.getDate()}(s);return o.setMonth(t,Math.min(l,u)),o}(e,t)},this.setYear=(e,t)=>{var n;return null!=(n=this.overrides)&&n.setYear?this.overrides.setYear(e,t):function(e,t,n){let o=H(e,void 0);return isNaN(+o)?I(e,NaN):(o.setFullYear(t),o)}(e,t)},this.startOfBroadcastWeek=(e,t)=>{var n;return null!=(n=this.overrides)&&n.startOfBroadcastWeek?this.overrides.startOfBroadcastWeek(e,this):L(e,this)},this.startOfDay=e=>{var t;return null!=(t=this.overrides)&&t.startOfDay?this.overrides.startOfDay(e):U(e)},this.startOfISOWeek=e=>{var t;return null!=(t=this.overrides)&&t.startOfISOWeek?this.overrides.startOfISOWeek(e):Z(e)},this.startOfMonth=e=>{var t;return null!=(t=this.overrides)&&t.startOfMonth?this.overrides.startOfMonth(e):function(e,t){let n=H(e,void 0);return n.setDate(1),n.setHours(0,0,0,0),n}(e)},this.startOfWeek=(e,t)=>{var n;return null!=(n=this.overrides)&&n.startOfWeek?this.overrides.startOfWeek(e,this.options):Y(e,this.options)},this.startOfYear=e=>{var t;return null!=(t=this.overrides)&&t.startOfYear?this.overrides.startOfYear(e):G(e)},this.options={locale:ew,...e},this.overrides=t}getDigitMap(){let{numerals:e="latn"}=this.options,t=new Intl.NumberFormat("en-US",{numberingSystem:e}),n={};for(let e=0;e<10;e++)n[e.toString()]=t.format(e);return n}replaceDigits(e){let t=this.getDigitMap();return e.replace(/\d/g,e=>t[e]||e)}formatNumber(e){return this.replaceDigits(e.toString())}getMonthYearOrder(){var e;let t=null==(e=this.options.locale)?void 0:e.code;return t&&eM.yearFirstLocales.has(t)?"year-first":"month-first"}formatMonthYear(e){let{locale:t,timeZone:n,numerals:o}=this.options,i=null==t?void 0:t.code;if(i&&eM.yearFirstLocales.has(i))try{return new Intl.DateTimeFormat(i,{month:"long",year:"numeric",timeZone:n,numberingSystem:o}).format(e)}catch{}let l="year-first"===this.getMonthYearOrder()?"y LLLL":"LLLL y";return this.format(e,l)}}eM.yearFirstLocales=new Set(["eu","hu","ja","ja-Hira","ja-JP","ko","ko-KR","lt","lt-LT","lv","lv-LV","mn","mn-MN","zh","zh-CN","zh-HK","zh-TW"]);let e_=new eM;function eS(e,t,n=!1,o=e_){let{from:i,to:l}=e,{differenceInCalendarDays:s,isSameDay:u}=o;return i&&l?(0>s(l,i)&&([i,l]=[l,i]),s(t,i)>=(n?1:0)&&s(l,t)>=(n?1:0)):!n&&l?u(l,t):!n&&!!i&&u(i,t)}function ej(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function eO(e){return!!(e&&"object"==typeof e&&"from"in e)}function eL(e){return!!(e&&"object"==typeof e&&"after"in e)}function eA(e){return!!(e&&"object"==typeof e&&"before"in e)}function eT(e){return!!(e&&"object"==typeof e&&"dayOfWeek"in e)}function eP(e,t){return Array.isArray(e)&&e.every(t.isDate)}function eN(e,t,n=e_){let o=Array.isArray(t)?t:[t],{isSameDay:i,differenceInCalendarDays:l,isAfter:s}=n;return o.some(t=>{if("boolean"==typeof t)return t;if(n.isDate(t))return i(e,t);if(eP(t,n))return t.some(t=>i(e,t));if(eO(t))return eS(t,e,!1,n);if(eT(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(ej(t)){let n=l(t.before,e),o=l(t.after,e),i=n>0,u=o<0;return s(t.before,t.after)?u&&i:i||u}return eL(t)?l(e,t.after)>0:eA(t)?l(t.before,e)>0:"function"==typeof t&&t(e)})}function eF(e){return b.createElement("button",{...e})}function eR(e){return b.createElement("span",{...e})}function e$(e){let{size:t=24,orientation:n="left",className:o}=e;return b.createElement("svg",{className:o,width:t,height:t,viewBox:"0 0 24 24"},"up"===n&&b.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===n&&b.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===n&&b.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===n&&b.createElement("polygon",{points:"8 18.112 14.18888889 12 8 5.87733333 9.91111111 4 18 12 9.91111111 20"}))}function eD(e){let{day:t,modifiers:n,...o}=e;return b.createElement("td",{...o})}function ez(e){let{day:t,modifiers:n,...o}=e,i=b.useRef(null);return b.useEffect(()=>{var e;n.focused&&(null==(e=i.current)||e.focus())},[n.focused]),b.createElement("button",{ref:i,...o})}function eI(e){let{options:t,className:n,components:o,classNames:i,...l}=e,s=[i[d.Dropdown],n].join(" "),u=null==t?void 0:t.find(({value:e})=>e===l.value);return b.createElement("span",{"data-disabled":l.disabled,className:i[d.DropdownRoot]},b.createElement(o.Select,{className:s,...l},null==t?void 0:t.map(({value:e,label:t,disabled:n})=>b.createElement(o.Option,{key:e,value:e,disabled:n},t))),b.createElement("span",{className:i[d.CaptionLabel],"aria-hidden":!0},null==u?void 0:u.label,b.createElement(o.Chevron,{orientation:"down",size:18,className:i[d.Chevron]}
233)))}function eH(e){return b.createElement("div",{...e})}function eB(e){return b.createElement("div",{...e})}function eW(e){let{calendarMonth:t,displayIndex:n,...o}=e;return b.createElement("div",{...o},e.children)}function eV(e){let{calendarMonth:t,displayIndex:n,...o}=e;return b.createElement("div",{...o})}function eU(e){return b.createElement("table",{...e})}function eq(e){return b.createElement("div",{...e})}(i=d||(d={})).Root="root",i.Chevron="chevron",i.Day="day",i.DayButton="day_button",i.CaptionLabel="caption_label",i.Dropdowns="dropdowns",i.Dropdown="dropdown",i.DropdownRoot="dropdown_root",i.Footer="footer",i.MonthGrid="month_grid",i.MonthCaption="month_caption",i.MonthsDropdown="months_dropdown",i.Month="month",i.Months="months",i.Nav="nav",i.NextMonthButton="button_next",i.PreviousMonthButton="button_previous",i.Week="week",i.Weeks="weeks",i.Weekday="weekday",i.Weekdays="weekdays",i.WeekNumber="week_number",i.WeekNumberHeader="week_number_header",i.YearsDropdown="years_dropdown",(l=f||(f={})).disabled="disabled",l.hidden="hidden",l.outside="outside",l.focused="focused",l.today="today",(s=h||(h={})).range_end="range_end",s.range_middle="range_middle",s.range_start="range_start",s.selected="selected",(u=p||(p={})).weeks_before_enter="weeks_before_enter",u.weeks_before_exit="weeks_before_exit",u.weeks_after_enter="weeks_after_enter",u.weeks_after_exit="weeks_after_exit",u.caption_after_enter="caption_after_enter",u.caption_after_exit="caption_after_exit",u.caption_before_enter="caption_before_enter",u.caption_before_exit="caption_before_exit";let eG=(0,b.createContext)(void 0);function eY(){let e=(0,b.useContext)(eG);if(void 0===e)throw Error("useDayPicker() must be used within a custom component.");return e}function eZ(e){let{components:t}=eY();return b.createElement(t.Dropdown,{...e})}function eK(e){let{onPreviousClick:t,onNextClick:n,previousMonth:o,nextMonth:i,...l}=e,{components:s,classNames:u,labels:{labelPrevious:c,labelNext:f}}=eY(),h=(0,b.useCallback)(e=>{i&&(null==n||n(e))},[i,n]),p=(0,b.useCallback)(e=>{o&&(null==t||t(e))},[o,t]);return b.createElement("nav",{...l},b.createElement(s.PreviousMonthButton,{type:"button",className:u[d.PreviousMonthButton],tabIndex:o?void 0:-1,"aria-disabled":!o||void 0,"aria-label":c(o),onClick:p},b.createElement(s.Chevron,{disabled:!o||void 0,className:u[d.Chevron],orientation:"left"})),b.createElement(s.NextMonthButton,{type:"button",className:u[d.NextMonthButton],tabIndex:i?void 0:-1,"aria-disabled":!i||void 0,"aria-label":f(i),onClick:h},b.createElement(s.Chevron,{disabled:!i||void 0,orientation:"right",className:u[d.Chevron]})))}function eQ(e){let{components:t}=eY();return b.createElement(t.Button,{...e})}function eX(e){return b.createElement("option",{...e})}function eJ(e){let{components:t}=eY();return b.createElement(t.Button,{...e})}function e1(e){let{rootRef:t,...n}=e;return b.createElement("div",{...n,ref:t})}function e0(e){return b.createElement("select",{...e})}function e2(e){let{week:t,...n}=e;return b.createElement("tr",{...n})}function e3(e){return b.createElement("th",{...e})}function e5(e){return b.createElement("thead",{"aria-hidden":!0},b.createElement("tr",{...e}))}function e4(e){let{week:t,...n}=e;return b.createElement("th",{...n})}function e6(e){return b.createElement("th",{...e})}function e7(e){return b.createElement("tbody",{...e})}function e8(e){let{components:t}=eY();return b.createElement(t.Dropdown,{...e})}function e9(e,t,n){return(n??new eM(t)).formatMonthYear(e)}let te=e9;function tt(e,t,n){return(n??new eM(t)).format(e,"d")}function tr(e,t=e_){return t.format(e,"LLLL")}function tn(e,t,n){return(n??new eM(t)).format(e,"cccccc")}function ta(e,t=e_){return e<10?t.formatNumber(`0${e.toLocaleString()}`):t.formatNumber(`${e.toLocaleString()}`)}function to(){return""}function ti(e,t=e_){return t.format(e,"yyyy")}let tl=ti;function ts(e,t,n,o){let i=(o??new eM(n)).format(e,"PPPP");return t.today&&(i=`Today, ${i}`),t.selected&&(i=`${i}, selected`),i}let tu=ts;function tc(e,t,n){return(n??new eM(t)).formatMonthYear(e)}let td=tc;function tf(e,t,n,o){let i=(o??new eM(n)).format(e,"PPPP");return null!=t&&t.today&&(i=`Today, ${i}`),i}function th(e){return"Choose the Month"}function tp(){return""}function tm(e,t){return"Go to the Next Month"}function tg(e){return"Go to the Previous Month"}function tv(e,t,n){return(n??new eM(t)).format(e,"cccc")}function ty(e,t){return`Week ${e}`}function tb(e){return"Week Number"}function tw(e){return"Choose the Year"}let tx=(e,t,n)=>t||(n?"function"==typeof n?n:(...e)=>n:e),tE=e=>e instanceof HTMLElement?e:null,tC=e=>[...e.querySelectorAll("[data-animated-month]")??[]],tk=e=>tE(e.querySelector("[data-animated-month]")),tM=e=>tE(e.querySelector("[data-animated-caption]")),t_=e=>tE(e.querySelector("[data-animated-weeks]")),tS=e=>tE(e.querySelector("[data-animated-nav]")),tj=e=>tE(e.querySelector("[data-animated-weekdays]"));function tO(e,t,n,o){let{month:i,defaultMonth:l,today:s=o.today(),numberOfMonths:u=1}=e,c=i||l||s,{differenceInCalendarMonths:d,addMonths:f,startOfMonth:h}=o;return n&&d(n,c)<u-1&&(c=f(n,-1*(u-1))),t&&0>d(c,t)&&(c=t),h(c)}class tL{constructor(e,t,n=e_){this.date=e,this.displayMonth=t,this.outside=!!(t&&!n.isSameMonth(e,t)),this.dateLib=n,this.isoDate=n.format(e,"yyyy-MM-dd"),this.displayMonthId=n.format(t,"yyyy-MM"),this.dateMonthId=n.format(e,"yyyy-MM")}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class tA{constructor(e,t){this.days=t,this.weekNumber=e}}class tT{constructor(e,t){this.date=e,this.weeks=t}}function tP(e,t){let[n,o]=(0,b.useState)(e);return[void 0===t?n:t,o]}function tN(e){return!e[f.disabled]&&!e[f.hidden]&&!e[f.outside]}function tF(e,t,n=e_){return eS(e,t.from,!1,n)||eS(e,t.to,!1,n)||eS(t,e.from,!1,n)||eS(t,e.to,!1,n)}function tR(e,t){return e instanceof O&&e.timeZone===t?e:new O(e,t)}function t$(e,t){return"boolean"==typeof e||"function"==typeof e?e:e instanceof Date?tR(e,t):Array.isArray(e)?e.map(e=>e instanceof Date?tR(e,t):e):eO(e)?{...e,from:e.from?tR(e.from,t):e.from,to:e.to?tR(e.to,t):e.to}:ej(e)?{before:tR(e.before,t),after:tR(e.after,t)}:eL(e)?{after:tR(e.after,t)}:eA(e)?{before:tR(e.before,t)}:e}function tD(e,t){return e&&(Array.isArray(e)?e.map(e=>t$(e,t)):t$(e,t))}function tz(e){var t;let n=e,o=n.timeZone;
233if(o&&((n={...e,timeZone:o}).today&&(n.today=tR(n.today,o)),n.month&&(n.month=tR(n.month,o)),n.defaultMonth&&(n.defaultMonth=tR(n.defaultMonth,o)),n.startMonth&&(n.startMonth=tR(n.startMonth,o)),n.endMonth&&(n.endMonth=tR(n.endMonth,o)),"single"===n.mode&&n.selected?n.selected=tR(n.selected,o):"multiple"===n.mode&&n.selected?n.selected=null==(t=n.selected)?void 0:t.map(e=>tR(e,o)):"range"===n.mode&&n.selected&&(n.selected={from:n.selected.from?tR(n.selected.from,o):n.selected.from,to:n.selected.to?tR(n.selected.to,o):n.selected.to}),void 0!==n.disabled&&(n.disabled=tD(n.disabled,o)),void 0!==n.hidden&&(n.hidden=tD(n.hidden,o)),n.modifiers)){let e={};Object.keys(n.modifiers).forEach(t=>{var i;e[t]=tD(null==(i=n.modifiers)?void 0:i[t],o)}),n.modifiers=e}let{components:i,formatters:l,labels:s,dateLib:u,locale:c,classNames:w}=(0,b.useMemo)(()=>{var e,t;let o={...ew,...n.locale},i=new eM({locale:o,weekStartsOn:n.broadcastCalendar?1:n.weekStartsOn,firstWeekContainsDate:n.firstWeekContainsDate,useAdditionalWeekYearTokens:n.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:n.useAdditionalDayOfYearTokens,timeZone:n.timeZone,numerals:n.numerals},n.dateLib);return{dateLib:i,components:(e=n.components,{...g,...e}),formatters:(null!=(t=n.formatters)&&t.formatMonthCaption&&!t.formatCaption&&(t.formatCaption=t.formatMonthCaption),null!=t&&t.formatYearCaption&&!t.formatYearDropdown&&(t.formatYearDropdown=t.formatYearCaption),{...v,...t}),labels:function(e,t){var n;let o=(null==(n=t.locale)?void 0:n.labels)??{};return{...y,...e??{},labelDayButton:tx(ts,null==e?void 0:e.labelDayButton,o.labelDayButton),labelMonthDropdown:tx(th,null==e?void 0:e.labelMonthDropdown,o.labelMonthDropdown),labelNext:tx(tm,null==e?void 0:e.labelNext,o.labelNext),labelPrevious:tx(tg,null==e?void 0:e.labelPrevious,o.labelPrevious),labelWeekNumber:tx(ty,null==e?void 0:e.labelWeekNumber,o.labelWeekNumber),labelYearDropdown:tx(tw,null==e?void 0:e.labelYearDropdown,o.labelYearDropdown),labelGrid:tx(tc,null==e?void 0:e.labelGrid,o.labelGrid),labelGridcell:tx(tf,null==e?void 0:e.labelGridcell,o.labelGridcell),labelNav:tx(tp,null==e?void 0:e.labelNav,o.labelNav),labelWeekNumberHeader:tx(tb,null==e?void 0:e.labelWeekNumberHeader,o.labelWeekNumberHeader),labelWeekday:tx(tv,null==e?void 0:e.labelWeekday,o.labelWeekday)}}(n.labels,i.options),locale:o,classNames:{...function(){let e={};for(let t in d)e[d[t]]=`rdp-${d[t]}`;for(let t in f)e[f[t]]=`rdp-${f[t]}`;for(let t in h)e[h[t]]=`rdp-${h[t]}`;for(let t in p)e[p[t]]=`rdp-${p[t]}`;return e}(),...n.classNames}}},[n.locale,n.broadcastCalendar,n.weekStartsOn,n.firstWeekContainsDate,n.useAdditionalWeekYearTokens,n.useAdditionalDayOfYearTokens,n.timeZone,n.numerals,n.dateLib,n.components,n.formatters,n.labels,n.classNames]);n.today||(n={...n,today:u.today()});let{captionLayout:x,mode:E,navLayout:C,numberOfMonths:k=1,onDayBlur:M,onDayCl
233ick:_,onDayFocus:S,onDayKeyDown:j,onDayMouseEnter:O,onDayMouseLeave:L,onNextClick:A,onPrevClick:T,showWeekNumber:P,styles:N}=n,{formatCaption:F,formatDay:R,formatMonthDropdown:$,formatWeekNumber:D,formatWeekNumberHeader:z,formatWeekdayName:I,formatYearDropdown:H}=l,B=function(e,t){var n;let[o,i]=function(e,t){let{startMonth:n,endMonth:o}=e,{startOfYear:i,startOfDay:l,startOfMonth:s,endOfMonth:u,addYears:c,endOfYear:d,newDate:f,today:h}=t,{fromYear:p,toYear:m,fromMonth:g,toMonth:v}=e;!n&&g&&(n=g),!n&&p&&(n=t.newDate(p,0,1)),!o&&v&&(o=v),!o&&m&&(o=f(m,11,31));let y="dropdown"===e.captionLayout||"dropdown-years"===e.captionLayout;return n?n=s(n):p?n=f(p,0,1):!n&&y&&(n=i(c(e.today??h(),-100))),o?o=u(o):m?o=f(m,11,31):!o&&y&&(o=d(e.today??h())),[n&&l(n),o&&l(o)]}(e,t),{startOfMonth:l,endOfMonth:s}=t,u=tO(e,o,i,t),[c,d]=tP(u,e.month?u:void 0);(0,b.useEffect)(()=>{d(tO(e,o,i,t))},[e.timeZone]);let{months:f,weeks:h,days:p,previousMonth:m,nextMonth:g}=(0,b.useMemo)(()=>{let n=function(e,t,n,o){let{numberOfMonths:i=1}=n,l=[];for(let n=0;n<i;n++){let i=o.addMonths(e,n);if(t&&i>t)break;l.push(i)}return l}(c,i,{numberOfMonths:e.numberOfMonths},t),l=function(e,t,n,o){let i=e[0],l=e[e.length-1],{ISOWeek:s,fixedWeeks:u,broadcastCalendar:c}=n??{},{addDays:d,differenceInCalendarDays:f,differenceInCalendarMonths:h,endOfBroadcastWeek:p,endOfISOWeek:m,endOfMonth:g,endOfWeek:v,isAfter:y,startOfBroadcastWeek:b,startOfISOWeek:w,startOfWeek:x}=o,E=c?b(i,o):s?w(i):x(i),C=c?p(l):s?m(g(l)):v(g(l)),k=t&&(c?p(t):s?m(t):v(t)),M=f(k&&y(C,k)?k:C,E),_=h(l,i)+1,S=[];for(let e=0;e<=M;e++){let t=d(E,e);S.push(t)}let j=(c?35:42)*_;if(u&&S.length<j){let e=j-S.length;for(let t=0;t<e;t++){let e=d(S[S.length-1],1);S.push(e)}}return S}(n,e.endMonth?s(e.endMonth):void 0,{ISOWeek:e.ISOWeek,fixedWeeks:e.fixedWeeks,broadcastCalendar:e.broadcastCalendar},t),u=function(e,t,n,o){let{addDays:i,endOfBroadcastWeek:l,endOfISOWeek:s,endOfMonth:u,endOfWeek:c,getISOWeek:d,getWeek:f,startOfBroadcastWeek:h,startOfISOWeek:p,startOfWeek:m}=o,g=e.reduce((e,g)=>{let v=n.broadcastCalendar?h(g,o):n.ISOWeek?p(g):m(g),y=n.broadcastCalendar?l(g):n.ISOWeek?s(u(g)):c(u(g)),b=t.filter(e=>e>=v&&e<=y),w=n.broadcastCalendar?35:42;if(n.fixedWeeks&&b.length<w){let e=t.filter(e=>{let t=w-b.length;return e>y&&e<=i(y,t)});b.push(...e)}let x=b.reduce((e,t)=>{let i=n.ISOWeek?d(t):f(t),l=e.find(e=>e.weekNumber===i),s=new tL(t,g,o);return l?l.days.push(s):e.push(new tA(i,[s])),e},[]),E=new tT(g,x);return e.push(E),e},[]);return n.reverseMonths?g.reverse():g}(n,l,{broadcastCalendar:e.broadcastCalendar,fixedWeeks:e.fixedWeeks,ISOWeek:e.ISOWeek,reverseMonths:e.reverseMonths},t),d=u.reduce((e,t)=>e.concat(t.weeks.slice()),[]),f=function(e){let t=[];return e.reduce((e,n)=>{let o=n.weeks.reduce((e,t)=>e.concat(t.days.slice()),t.slice());return e.concat(o.slice())},t.slice())}(u);return{months:u,weeks:d,days:f,previousMonth:function(e,t,n,o){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:l}=n,{startOfMonth:s,addMonths:u,differenceInCalendarMonths:c}=o,d=s(e);if(!t||!(0>=c(d,t)))return u(d,-(i?l??1:1))}(c,o,e,t),nextMonth:function(e,t,n,o){if(n.disableNavigation)return;let{pagedNavigation:i,numberOfMonths:l=1}=n,{startOfMonth:s,addMonths:u,differenceInCalendarMonths:c}=o,d=s(e);if(!t||!(c(t,e)<l))return u(d,i?l:1)}(c,i,e,t)}},[t,c.getTime(),null==i?void 0:i.getTime(),null==o?void 0:o.getTime(),e.disableNavigation,e.broadcastCalendar,null==(n=e.endMonth)?void 0:n.getTime(),e.fixedWeeks,e.ISOWeek,e.numberOfMonths,e.pagedNavigation,e.reverseMonths]),{disableNavigation:v,onMonthChange:y}=e,w=e=>h.some(t=>t.days.some(t=>t.isEqualTo(e))),x=e=>{if(v)return;let t=l(e);o&&t<l(o)&&(t=l(o)),i&&t>l(i)&&(t=l(i)),d(t),null==y||y(t)};return{months:f,weeks:h,days:p,navStart:o,navEnd:i,previousMonth:m,nextMonth:g,goToMonth:x,goToDay:e=>{w(e)||x(e.date)}}}(n,u),{days:W,months:U,navStart:q,navEnd:G,previousMonth:Y,nextMonth:Z,goToMonth:K}=B,Q=function(e,t,n,o,i){let{disabled:l,hidden:s,modifiers:u,showOutsideDays:c,broadcastCalendar:d,today:h=i.today()}=t,{isSameDay:p,isSameMonth:m,startOfMonth:g,isBefore:v,endOfMonth:y,isAfter:b}=i,w=n&&g(n),x=o&&y(o),E={[f.focused]:[],[f.outside]:[],[f.disabled]:[],[f.hidden]:[],[f.today]:[]},C={};for(let t of e){let{date:e,displayMonth:n}=t,o=!!(n&&!m(e,n)),f=!!(w&&v(e,w)),g=!!(x&&b(e,x)),y=!!(l&&eN(e,l,i)),k=!!(s&&eN(e,s,i))||f||g||!d&&!c&&o||d&&!1===c&&o,M=p(e,h);
233o&&E.outside.push(t),y&&E.disabled.push(t),k&&E.hidden.push(t),M&&E.today.push(t),u&&Object.keys(u).forEach(n=>{let o=null==u?void 0:u[n];o&&eN(e,o,i)&&(C[n]?C[n].push(t):C[n]=[t])})}return e=>{let t={[f.focused]:!1,[f.disabled]:!1,[f.hidden]:!1,[f.outside]:!1,[f.today]:!1},n={};for(let n in E){let o=E[n];t[n]=o.some(t=>t===e)}for(let t in C)n[t]=C[t].some(t=>t===e);return{...t,...n}}}(W,n,q,G,u),{isSelected:X,select:J,selected:ee}=function(e,t){let n=function(e,t){let{selected:n,required:o,onSelect:i}=e,[l,s]=tP(n,i?n:void 0),u=i?n:l,{isSameDay:c}=t;return{selected:u,select:(e,t,n)=>{let l=e;return!o&&u&&u&&c(e,u)&&(l=void 0),i||s(l),null==i||i(l,e,t,n),l},isSelected:e=>!!u&&c(u,e)}}(e,t),o=function(e,t){let{selected:n,required:o,onSelect:i}=e,[l,s]=tP(n,i?n:void 0),u=i?n:l,{isSameDay:c}=t,d=e=>(null==u?void 0:u.some(t=>c(t,e)))??!1,{min:f,max:h}=e;return{selected:u,select:(e,t,n)=>{let l=[...u??[]];if(d(e)){if((null==u?void 0:u.length)===f||o&&(null==u?void 0:u.length)===1)return;l=null==u?void 0:u.filter(t=>!c(t,e))}else l=(null==u?void 0:u.length)===h?[e]:[...l,e];return i||s(l),null==i||i(l,e,t,n),l},isSelected:d}}(e,t),i=function(e,t){let{disabled:n,excludeDisabled:o,selected:i,required:l,onSelect:s}=e,[u,c]=tP(i,s?i:void 0),d=s?i:u;return{selected:d,select:(i,u,f)=>{let{min:h,max:p}=e,m=i?function(e,t,n=0,o=0,i=!1,l=e_){let s;let{from:u,to:c}=t||{},{isSameDay:d,isAfter:f,isBefore:h}=l;if(u||c){if(u&&!c)s=d(u,e)?0===n?{from:u,to:e}:i?{from:u,to:void 0}:void 0:h(e,u)?{from:e,to:u}:{from:u,to:e};else if(u&&c){if(d(u,e)&&d(c,e))s=i?{from:u,to:c}:void 0;else if(d(u,e))s={from:u,to:n>0?void 0:e};else if(d(c,e))s={from:e,to:n>0?void 0:e};else if(h(e,u))s={from:e,to:c};else if(f(e,u))s={from:u,to:e};else if(f(e,c))s={from:u,to:e};else throw Error("Invalid range")}}else s={from:e,to:n>0?void 0:e};if(null!=s&&s.from&&null!=s&&s.to){let t=l.differenceInCalendarDays(s.to,s.from);o>0&&t>o?s={from:e,to:void 0}:n>1&&t<n&&(s={from:e,to:void 0})}return s}(i,d,h,p,l,t):void 0;return o&&n&&null!=m&&m.from&&m.to&&function(e,t,n=e_){let o=Array.isArray(t)?t:[t];if(o.filter(e=>"function"!=typeof e).some(t=>"boolean"==typeof t?t:n.isDate(t)?eS(e,t,!1,n):eP(t,n)?t.some(t=>eS(e,t,!1,n)):eO(t)?!!t.from&&!!t.to&&tF(e,{from:t.from,to:t.to},n):eT(t)?function(e,t,n=e_){let o=Array.isArray(t)?t:[t],i=e.from,l=Math.min(n.differenceInCalendarDays(e.to,e.from),6);for(let e=0;e<=l;e++){if(o.includes(i.getDay()))return!0;i=n.addDays(i,1)}return!1}(e,t.dayOfWeek,n):ej(t)?n.isAfter(t.before,t.after)?tF(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):eN(e.from,t,n)||eN(e.to,t,n):!!(eL(t)||eA(t))&&(eN(e.from,t,n)||eN(e.to,t,n))))return!0;let i=o.filter(e=>"function"==typeof e);if(i.length){let t=e.from,o=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=o;e++){if(i.some(e=>e(t)))return!0;t=n.addDays(t,1)}}return!1}({from:m.from,to:m.to},n,t)&&(m.from=i,m.to=void 0),s||c(m),null==s||s(m,i,u,f),m},isSelected:e=>d&&eS(d,e,!1,t)}}(e,t);switch(e.mode){case"single":return n;case"multiple":return o;case"range":return i;default:return}}(n,u)??{},{blur:et,focused:er,isFocusTarget:en,moveFocus:ea,setFocused:eo}=function(e,t,n,o,i){let{autoFocus:l}=e,[s,u]=(0,b.useState)(),c=function(e,t,n,o){let i,l=-1;for(let s of e){let e=t(s);tN(e)&&(e[f.focused]&&l<m.FocusedModifier?(i=s,l=m.FocusedModifier):null!=o&&o.isEqualTo(s)&&l<m.LastFocused?(i=s,l=m.LastFocused):n(s.date)&&l<m.Selected?(i=s,l=m.Selected):e[f.today]&&l<m.Today&&(i=s,l=m.Today))}return i||(i=e.find(e=>tN(t(e)))),i}(t.days,n,o||(()=>!1),s),[d,h]=(0,b.useState)(l?c:void 0);return{isFocusTarget:e=>!!(null!=c&&c.isEqualTo(e)),setFocused:h,focused:d,blur:()=>{u(d),h(void 0)},moveFocus:(n,o)=>{if(!d)return;let l=function e(t,n,o,i,l,s,u,c=0){if(c>365)return;let d=function(e,t,n,o,i,l,s){let{ISOWeek:u,broadcastCalendar:c}=l,{addDays:d,addMonths:f,addWeeks:h,addYears:p,endOfBroadcastWeek:m,endOfISOWeek:g,endOfWeek:v,max:y,min:b,startOfBroadcastWeek:w,startOfISOWeek:x,startOfWeek:E}=s,C=({day:d,week:h,month:f,year:p,startOfWeek:e=>c?w(e,s):u?x(e):E(e),endOfWeek:e=>c?m(e):u?g(e):v(e)})[e](n,"after"===t?1:-1);return"before"===t&&o?C=y([o,C]):"after"===t&&i&&(C=b([i,C])),C}(t,n,o.date,i,l,s,u),f=!!(s.disabled&&eN(d,s.disabled,u)),h=!!(s.hidden&&eN(d,s.hidden,u)),p=new tL(d,d,u);return f||h?e(t,n,p,i,l,s,u,c+1):p}(n,o,d,t.navStart,t.navEnd,e,i);l&&(e.disableNavigation&&!t.days.some(e=>e.isEqualTo(l))||(t.goToDay(l),h(l)))}}}(n,B,Q,X??(()=>!1),u),{labelDayButton:ei,labelGridcell:el,labelGrid:es,labelMonthDropdown:eu,labelNav:ec,labelPrevious:ed,labelNext:ef,labelWeekday:eh,labelWeekNumber:ep,labelWeekNumberHeader:em,labelYearDropdown:eg}=s,ev=(0,b.useMemo)(()=>(function(e,t,n,o){let i=o??e.today(),l=n?e.startOfBroadcastWeek(i,e):t?e.startOfISOWeek(i):e.startOfWeek(i),s=[];for(let t=0;t<7;t++){let n=e.addDays(l,t);s.push(n)}return s})(u,n.ISOWeek,n.broadcastCalendar,n.today),[u,n.ISOWeek,n.broadcastCalendar,n.today]),ey=void 0!==E||void 0!==_,eb=(0,b.useCallback)(()=>{Y&&(K(Y),null==T||T(Y))},[Y,K,T]),ex=(0,b.useCallback)(()=>{Z&&(K(Z),null==A||A(Z))},[K,Z,A]),eE=(0,b.useCallback)((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),eo(e),t.disabled||(null==J||J(e.date,t,n),null==_||_(e.date,t,n))},[J,_,eo]),eC=(0,b.useCallback)((e,t)=>n=>{eo(e),null==S||S(e.date,t,n)},[S,eo]),ek=(0,b.useCallback)((e,t)=>n=>{et(),null==M||M(e.date,t,n)},[et,M]),eF=(0,b.useCallback)((e,t)=>o=>{let i={ArrowLeft:[o.shiftKey?"month":"day","rtl"===n.dir?"after":"before"],ArrowRight:[o.shiftKey?"month":"day","rtl"===n.dir?"before":"after"],ArrowDown:[o.shiftKey?"year":"week","after"],ArrowUp:[o.shiftKey?"year":"week","before"],PageUp:[o.shiftKey?"year":"month","before"],PageDown:[o.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(i[o.key]){o.preventDefault(),o.stopPropagation();let[e,t]=i[o.key];ea(e,t)}null==j||j(e.date,t,o)},[ea,j,n.dir]),eR=(0,b.useCallback)((e,t)=>n=>{null==O||O(e.date,t,n)},[O]),e$=(0,b.useCallback)((e,t)=>n=>{null==L||L(e.date,t,n)},[L]),eD=(0,b.useCallback)(e=>t=>{let n=Number(t.target.value);K(u.setMonth(u.startOfMonth(e),n))},[u,K]),ez=(0,b.useCallback)(e=>t=>{let n=Number(t.target.value);K(u.setYear(u.startOfMonth(e),n))},[u,K]),{className:eI,style:eH}=(0,b.useMemo)(()=>
233({className:[w[d.Root],n.className].filter(Boolean).join(" "),style:{...null==N?void 0:N[d.Root],...n.style}}),[w,n.className,n.style,N]),eB=function(e){let t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0,"data-broadcast-calendar":e.broadcastCalendar||void 0,"data-nav-layout":e.navLayout||void 0};return Object.entries(e).forEach(([e,n])=>{e.startsWith("data-")&&(t[e]=n)}),t}(n),eW=(0,b.useRef)(null);!function(e,t,{classNames:n,months:o,focused:i,dateLib:l}){let s=(0,b.useRef)(null),u=(0,b.useRef)(o),c=(0,b.useRef)(!1);(0,b.useLayoutEffect)(()=>{let d=u.current;if(u.current=o,!t||!e.current||!(e.current instanceof HTMLElement)||0===o.length||0===d.length||o.length!==d.length)return;let f=l.isSameMonth(o[0].date,d[0].date),h=l.isAfter(o[0].date,d[0].date),m=h?n[p.caption_after_enter]:n[p.caption_before_enter],g=h?n[p.weeks_after_enter]:n[p.weeks_before_enter],v=s.current,y=e.current.cloneNode(!0);if(y instanceof HTMLElement?(tC(y).forEach(e=>{if(!(e instanceof HTMLElement))return;let t=tk(e);t&&e.contains(t)&&e.removeChild(t);let n=tM(e);n&&n.classList.remove(m);let o=t_(e);o&&o.classList.remove(g)}),s.current=y):s.current=null,c.current||f||i)return;let b=v instanceof HTMLElement?tC(v):[],w=tC(e.current);if(null!=w&&w.every(e=>e instanceof HTMLElement)&&b&&b.every(e=>e instanceof HTMLElement)){c.current=!0,e.current.style.isolation="isolate";let t=tS(e.current);t&&(t.style.zIndex="1"),w.forEach((o,i)=>{let l=b[i];if(!l)return;o.style.position="relative",o.style.overflow="hidden";let s=tM(o);s&&s.classList.add(m);let u=t_(o);u&&u.classList.add(g),l.style.pointerEvents="none",l.style.position="absolute",l.style.overflow="hidden",l.setAttribute("aria-hidden","true");let d=tj(l);d&&(d.style.opacity="0");let f=tM(l);f&&(f.classList.add(h?n[p.caption_before_exit]:n[p.caption_after_exit]),f.addEventListener("animationend",()=>{c.current=!1,e.current&&(e.current.style.isolation=""),t&&(t.style.zIndex=""),s&&s.classList.remove(m),u&&u.classList.remove(g),o.style.position="",o.style.overflow="",o.contains(l)&&o.removeChild(l)}));let v=t_(l);v&&v.classList.add(h?n[p.weeks_before_exit]:n[p.weeks_after_exit]),o.insertBefore(l,o.firstChild)})}})}(eW,!!n.animate,{classNames:w,months:U,focused:er,dateLib:u});let eV={dayPickerProps:n,selected:ee,select:J,isSelected:X,months:U,nextMonth:Z,previousMonth:Y,goToMonth:K,getModifiers:Q,components:i,classNames:w,styles:N,labels:s,formatters:l};return b.createElement(eG.Provider,{value:eV},b.createElement(i.Root,{rootRef:n.animate?eW:void 0,className:eI,style:eH,dir:n.dir,id:n.id,lang:n.lang,nonce:n.nonce,title:n.title,role:n.role,"aria-label":n["aria-label"],"aria-labelledby":n["aria-labelledby"],...eB},b.createElement(i.Months,{className:w[d.Months],style:null==N?void 0:N[d.Months]},!n.hideNavigation&&!C&&b.createElement(i.Nav,{"data-animated-nav":n.animate?"true":void 0,className:w[d.Nav],style:null==N?void 0:N[d.Nav],"aria-label":ec(),onPreviousClick:eb,onNextClick:ex,previousMonth:Y,nextMonth:Z}),U.map((e,t)=>b.createElement(i.Month,{"data-animated-month":n.animate?"true":void 0,className:w[d.Month],style:null==N?void 0:N[d.Month],key:t,displayIndex:t,calendarMonth:e},"around"===C&&!n.hideNavigation&&0===t&&b.createElement(i.PreviousMonthButton,{type:"button",className:w[d.PreviousMonthButton],tabIndex:Y?void 0:-1,"aria-disabled":!Y||void 0,"aria-label":ed(Y),onClick:eb,"data-animated-button":n.animate?"true":void 0},b.createElement(i.Chevron,{disabled:!Y||void 0,className:w[d.Chevron],orientation:"rtl"===n.dir?"right":"left"})),b.createElement(i.MonthCaption,{"data-animated-caption":n.animate?"true":void 0,className:w[d.MonthCaption],style:null==N?void 0:N[d.MonthCaption],calendarMonth:e,displayIndex:t},null!=x&&x.startsWith("dropdown")?b.createElement(i.DropdownNav,{className:w[d.Dropdowns],style:null==N?void 0:N[d.Dropdowns]},(()=>{let t="dropdown"===x||"dropdown-months"===x?b.createElement(i.MonthsDropdown,{key:"month",className:w[d.MonthsDropdown],"aria-label":eu(),classNames:w,components:i,disabled:!!n.disableNavigation,onChange:eD(e.date),options:function(e,t,n,o,i){let{startOfMonth:l,startOfYear:s,endOfYear:u,eachMonthOfInterval:c,getMonth:d}=i;return c({start:s(e),end:u(e)}).map(e=>{let s=o.formatMonthDropdown(e,i);return{value:d(e),label:s,disabled:t&&e<l(t)||n&&e>l(n)||!1}})}(e.date,q,G,l,u),style:null==N?void 0:N[d.Dropdown],value:u.getMonth(e.date)}):b.createElement("span",{key:"month"},$(e.date,u)),o="dropdown"===x||"dropdown-years"===x?b.createElement(i.Years
233Dropdown,{key:"year",className:w[d.YearsDropdown],"aria-label":eg(u.options),classNames:w,components:i,disabled:!!n.disableNavigation,onChange:ez(e.date),options:function(e,t,n,o,i=!1){if(!e||!t)return;let{startOfYear:l,endOfYear:s,eachYearOfInterval:u,getYear:c}=o,d=u({start:l(e),end:s(t)});return i&&d.reverse(),d.map(e=>{let t=n.formatYearDropdown(e,o);return{value:c(e),label:t,disabled:!1}})}(q,G,l,u,!!n.reverseYears),style:null==N?void 0:N[d.Dropdown],value:u.getYear(e.date)}):b.createElement("span",{key:"year"},H(e.date,u));return"year-first"===u.getMonthYearOrder()?[o,t]:[t,o]})(),b.createElement("span",{role:"status","aria-live":"polite",style:{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"}},F(e.date,u.options,u))):b.createElement(i.CaptionLabel,{className:w[d.CaptionLabel],role:"status","aria-live":"polite"},F(e.date,u.options,u))),"around"===C&&!n.hideNavigation&&t===k-1&&b.createElement(i.NextMonthButton,{type:"button",className:w[d.NextMonthButton],tabIndex:Z?void 0:-1,"aria-disabled":!Z||void 0,"aria-label":ef(Z),onClick:ex,"data-animated-button":n.animate?"true":void 0},b.createElement(i.Chevron,{disabled:!Z||void 0,className:w[d.Chevron],orientation:"rtl"===n.dir?"left":"right"})),t===k-1&&"after"===C&&!n.hideNavigation&&b.createElement(i.Nav,{"data-animated-nav":n.animate?"true":void 0,className:w[d.Nav],style:null==N?void 0:N[d.Nav],"aria-label":ec(),onPreviousClick:eb,onNextClick:ex,previousMonth:Y,nextMonth:Z}),b.createElement(i.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===E||"range"===E,"aria-label":es(e.date,u.options,u)||void 0,className:w[d.MonthGrid],style:null==N?void 0:N[d.MonthGrid]},!n.hideWeekdays&&b.createElement(i.Weekdays,{"data-animated-weekdays":n.animate?"true":void 0,className:w[d.Weekdays],style:null==N?void 0:N[d.Weekdays]},P&&b.createElement(i.WeekNumberHeader,{"aria-label":em(u.options),className:w[d.WeekNumberHeader],style:null==N?void 0:N[d.WeekNumberHeader],scope:"col"},z()),ev.map(e=>b.createElement(i.Weekday,{"aria-label":eh(e,u.options,u),className:w[d.Weekday],key:String(e),style:null==N?void 0:N[d.Weekday],scope:"col"},I(e,u.options,u)))),b.createElement(i.Weeks,{"data-animated-weeks":n.animate?"true":void 0,className:w[d.Weeks],style:null==N?void 0:N[d.Weeks]},e.weeks.map(e=>b.createElement(i.Week,{className:w[d.Week],key:e.weekNumber,style:null==N?void 0:N[d.Week],week:e},P&&b.createElement(i.WeekNumber,{week:e,style:null==N?void 0:N[d.WeekNumber],"aria-label":ep(e.weekNumber,{locale:c}),className:w[d.WeekNumber],scope:"row",role:"rowheader"},D(e.weekNumber,u)),e.days.map(e=>{let{date:t}=e,o=Q(e);if(o[f.focused]=!o.hidden&&!!(null!=er&&er.isEqualTo(e)),o[h.selected]=(null==X?void 0:X(t))||o.selected,eO(ee)){let{from:e,to:n}=ee;o[h.range_start]=!!(e&&n&&u.isSameDay(t,e)),o[h.range_end]=!!(e&&n&&u.isSameDay(t,n)),o[h.range_middle]=eS(ee,t,!0,u)}let l=function(e,t={},n={}){let o={...null==t?void 0:t[d.Day]};return Object.entries(e).filter(([,e])=>!0===e).forEach(([e])=>{o={...o,...null==n?void 0:n[e]}}),o}(o,N,n.modifiersStyles),s=function(e,t,n={}){return Object.entries(e).filter(([,e])=>!0===e).reduce((e,[o])=>(n[o]?e.push(n[o]):t[f[o]]?e.push(t[f[o]]):t[h[o]]&&e.push(t[h[o]]),e),[t[d.Day]])}(o,w,n.modifiersClassNames),c=ey||o.hidden?void 0:el(t,o,u.options,u);return b.createElement(i.Day,{key:`${e.isoDate}_${e.displayMonthId}`,day:e,modifiers:o,className:s.join(" "),style:l,role:"gridcell","aria-selected":o.selected||void 0,"aria-label":c,"data-day":e.isoDate,"data-month":e.outside?e.dateMonthId:void 0,"data-selected":o.selected||void 0,"data-disabled":o.disabled||void 0,"data-hidden":o.hidden||void 0,"data-outside":e.outside||void 0,"data-focused":o.focused||void 0,"data-today":o.today||void 0},!o.hidden&&ey?b.createElement(i.DayButton,{className:w[d.DayButton],style:null==N?void 0:N[d.DayButton],type:"button",day:e,modifiers:o,disabled:!o.focused&&o.disabled||void 0,"aria-disabled":o.focused&&o.disabled||void 0,tabIndex:en(e)?0:-1,"aria-label":ei(t,o,u.options,u),onClick:eE(e,o),onBlur:ek(e,o),onFocus:eC(e,o),onKeyDown:eF(e,o),onMouseEnter:eR(e,o),onMouseLeave:e$(e,o)},R(t,u.options,u)):!o.hidden&&R(e.date,u.options,u))})))))))),n.footer&&b.createElement(i.Footer,{className:w[d.Footer],style:null==N?void 0:N[d.Footer],role:"status","aria-live":"polite"},n.footer)))}(c=m||(m={}))[c.Today=0]="Today",c[c.Selected=1]="Selected",c[c.LastFocused=2]="LastFocused",c[c.FocusedModifier=3]="FocusedModifier"},59745:function(e,t,n){"use strict";function o(e){return (t={})=>{let n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}n.d(t,{k:function(){return o}})},59938:function(e,t,n){"use strict";
233Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return l}});let o=n(2438)._(n(59065)),i=o.default.createContext(null);function l(e){let t=(0,o.useContext)(i);t&&t(e)}},60019:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RouterContext",{enumerable:!0,get:function(){return o}});let o=n(77223)._(n(59065)).default.createContext(null)},60454:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var o=n(59065);/** 234 * @license lucide-react v0.436.0 - ISC 235 * 236 * This source code is licensed under the ISC license. 237 * See the LICENSE file in the root directory of this source tree. 238 */let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=(...e)=>e.filter((e,t,n)=>!!e&&n.indexOf(e)===t).join(" ");/** 239 * @license lucide-react v0.436.0 - ISC 240 * 241 * This source code is licensed under the ISC license. 242 * See the LICENSE file in the root directory of this source tree. 243 */var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 244 * @license lucide-react v0.436.0 - ISC 245 * 246 * This source code is licensed under the ISC license. 247 * See the LICENSE file in the root directory of this source tree. 248 */let u=(0,o.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:i,className:u="",children:c,iconNode:d,...f},h)=>(0,o.createElement)("svg",{ref:h,...s,width:t,height:t,stroke:e,strokeWidth:i?24*Number(n)/Number(t):n,className:l("lucide",u),...f},[...d.map(([e,t])=>(0,o.createElement)(e,t)),...Array.isArray(c)?c:[c]])),c=(e,t)=>{let n=(0,o.forwardRef)(({className:n,...s},c)=>(0,o.createElement)(u,{ref:c,iconNode:t,className:l(`lucide-${i(e)}`,n),...s}));return n.displayName=`${e}`,n}},60863:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(59065),i=n(69535),l=n(10686);n(9991);var s=o&&o.__esModule?o:{default:o};t.IntlProvider=function(e){let{children:t,defaultTranslationValues:n,formats:u,getMessageFallback:c,locale:d,messages:f,now:h,onError:p,timeZone:m}=e,g=o.useMemo(()=>i.createCache(),[d]),v=o.useMemo(()=>i.createIntlFormatters(g),[g]),y=o.useMemo(()=>({...i.initializeConfig({locale:d,defaultTranslationValues:n,formats:u,getMessageFallback:c,messages:f,now:h,onError:p,timeZone:m}),formatters:v,cache:g}),[g,n,u,v,c,d,f,h,p,m]);return s.default.createElement(l.IntlContext.Provider,{value:y},t)}},61507:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ACTION:function(){return o},FLIGHT_PARAMETERS:function(){return c},NEXT_DID_POSTPONE_HEADER:function(){return f},NEXT_ROUTER_PREFETCH_HEADER:function(){return l},NEXT_ROUTER_STATE_TREE:function(){return i},NEXT_RSC_UNION_QUERY:function(){return d},NEXT_URL:function(){return s},RSC_CONTENT_TYPE_HEADER:function(){return u},RSC_HEADER:function(){return n}});let n="RSC",o="Next-Action",i="Next-Router-State-Tree",l="Next-Router-Prefetch",s="Next-Url",u="text/x-component",c=[[n],[i],[l]],d="_rsc",f="x-nextjs-postponed";("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62592:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDynamicRoute",{enumerable:!0,get:function(){return l}});let o=n(22876),i=/\/\[[^/]+?\](?=\/|$)/;function l(e){return(0,o.isInterceptionRouteAppPath)(e)&&(e=(0,o.extractInterceptionRouteInformation)(e).interceptedRoute),i.test(e)}},62617:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return c.ReadonlyURLSearchParams},RedirectType:function(){return c.RedirectType},ServerInsertedHTMLContext:function(){return d.ServerInsertedHTMLContext},notFound:function(){return c.notFound},permanentRedirect:function(){return c.permanentRedirect},redirect:function(){return c.redirect},useParams:function(){return m},usePathname:function(){return h},useRouter:function(){return p},useSearchParams:function(){return f},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return g},useServerInsertedHTML:function(){return d.useServerInsertedHTML}});let o=n(59065),i=n(37661),l=n(95124),s=n(5032),u=n(68269),c=n(72938),d=n(59938);function f(){let e=(0,o.useContext)(l.SearchParamsContext);return(0,o.useMemo)(()=>e?new c.ReadonlyURLSearchParams(e):null,[e])}function h(){return(0,o.useContext)(l.PathnameContext)}function p(){let e=(0,o.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mou
248nted");return e}function m(){return(0,o.useContext)(l.PathParamsContext)}function g(e){void 0===e&&(e="children");let t=(0,o.useContext)(i.LayoutRouterContext);return t?function e(t,n,o,i){let l;if(void 0===o&&(o=!0),void 0===i&&(i=[]),o)l=t[1][n];else{var c;let e=t[1];l=null!=(c=e.children)?c:Object.values(e)[0]}if(!l)return i;let d=l[0],f=(0,s.getSegmentValue)(d);return!f||f.startsWith(u.PAGE_SEGMENT_KEY)?i:(i.push(f),e(l,n,!1,i))}(t.tree,e):null}function v(e){void 0===e&&(e="children");let t=g(e);if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===u.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},62640:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(74967);n(59065),n(10686),t.useLocale=o.useLocale},64164:function(e,t,n){"use strict";function o(){for(var e,t,n=0,o="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,o,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var l=t.length;for(n=0;n<l;n++)t[n]&&(o=e(t[n]))&&(i&&(i+=" "),i+=o)}else for(o in t)t[o]&&(i&&(i+=" "),i+=o)}return i}(e))&&(o&&(o+=" "),o+=t);return o}n.d(t,{$:function(){return o}})},64246:function(e){var t,n,o,i,l,s,u,c,d,f,h,p,m,g,v,y,b,w,x,E,C,k,M,_,S,j,O,L,A,T,P,N,F,R,$,D,z,I,H,B,W,U,q,G,Y,Z;(t={}).d=function(e,n){for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},void 0!==t&&(t.ab="//"),n={},t.r(n),t.d(n,{getCLS:function(){return M},getFCP:function(){return E},getFID:function(){return T},getINP:function(){return U},getLCP:function(){return G},getTTFB:function(){return Z},onCLS:function(){return M},onFCP:function(){return E},onFID:function(){return T},onINP:function(){return U},onLCP:function(){return G},onTTFB:function(){return Z}}),c=-1,d=function(e){addEventListener("pageshow",function(t){t.persisted&&(c=t.timeStamp,e(t))},!0)},f=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},h=function(){var e=f();return e&&e.activationStart||0},p=function(e,t){var n=f(),o="navigate";return c>=0?o="back-forward-cache":n&&(o=document.prerendering||h()>0?"prerender":n.type.replace(/_/g,"-")),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:o}},m=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var o=new PerformanceObserver(function(e){t(e.getEntries())});return o.observe(Object.assign({type:e,buffered:!0},n||{})),o}}catch(e){}},g=function(e,t){var n=function n(o){"pagehide"!==o.type&&"hidden"!==document.visibilityState||(e(o),t&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},v=function(e,t,n,o){var i,l;return function(s){var u;t.value>=0&&(s||o)&&((l=t.value-(i||0))||void 0===i)&&(i=t.value,t.delta=l,t.rating=(u=t.value)>n[1]?"poor":u>n[0]?"needs-improvement":"good",e(t))}},y=-1,b=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},w=function(){g(function(e){y=e.timeStamp},!0)},x=function(){return y<0&&(y=b(),w(),d(function(){setTimeout(function(){y=b(),w()},0)})),{get firstHiddenTime(){return y}}},E=function(e,t){t=t||{};var n,o=[1800,3e3],i=x(),l=p("FCP"),s=function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(c&&c.disconnect(),e.startTime<i.firstHiddenTime&&(l.value=e.startTime-h(),l.entries.push(e),n(!0)))})},u=window.performance&&window.performance.getEntriesByName&&window.performance.getEntriesByName("first-contentful-paint")[0],c=u?null:m("paint",s);(u||c)&&(n=v(e,l,o,t.reportAllChanges),u&&s([u]),d(function(i){n=v(e,l=p("FCP"),o,t.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){l.value=performance.now()-i.timeStamp,n(!0)})})}))},C=!1,k=-1,M=function(e,t){t=t||{};var n=[.1,.25];C||(E(function(e){k=e.value}),C=!0);var o,i=function(t){k>-1&&e(t)},l=p("CLS",0),s=0,u=[],c=function(e){e.forEach(function(e){if(!e.hadRecentInput){var t=u[0],n=u[u.length-1];s&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(s+=e.value,u.push(e)):(s=e.value,u=[e]),s>l.value&&(l.value=s,l.entries=u,o())}})},f=m("layout-shift",c);
248f&&(o=v(i,l,n,t.reportAllChanges),g(function(){c(f.takeRecords()),o(!0)}),d(function(){s=0,k=-1,o=v(i,l=p("CLS",0),n,t.reportAllChanges)}))},_={passive:!0,capture:!0},S=new Date,j=function(e,t){o||(o=t,i=e,l=new Date,A(removeEventListener),O())},O=function(){if(i>=0&&i<l-S){var e={entryType:"first-input",name:o.type,target:o.target,cancelable:o.cancelable,startTime:o.timeStamp,processingStart:o.timeStamp+i};s.forEach(function(t){t(e)}),s=[]}},L=function(e){if(e.cancelable){var t,n,o,i=(e.timeStamp>1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){j(i,e),o()},n=function(){o()},o=function(){removeEventListener("pointerup",t,_),removeEventListener("pointercancel",n,_)},addEventListener("pointerup",t,_),addEventListener("pointercancel",n,_)):j(i,e)}},A=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,L,_)})},T=function(e,t){t=t||{};var n,l=[100,300],u=x(),c=p("FID"),f=function(e){e.startTime<u.firstHiddenTime&&(c.value=e.processingStart-e.startTime,c.entries.push(e),n(!0))},h=function(e){e.forEach(f)},y=m("first-input",h);n=v(e,c,l,t.reportAllChanges),y&&g(function(){h(y.takeRecords()),y.disconnect()},!0),y&&d(function(){n=v(e,c=p("FID"),l,t.reportAllChanges),s=[],i=-1,o=null,A(addEventListener),s.push(f),O()})},P=0,N=1/0,F=0,R=function(e){e.forEach(function(e){e.interactionId&&(N=Math.min(N,e.interactionId),P=(F=Math.max(F,e.interactionId))?(F-N)/7+1:0)})},$=function(){return u?P:performance.interactionCount||0},D=function(){"interactionCount"in performance||u||(u=m("event",R,{type:"event",buffered:!0,durationThreshold:0}))},z=0,I=function(){return $()-z},H=[],B={},W=function(e){var t=H[H.length-1],n=B[e.interactionId];if(n||H.length<10||e.duration>t.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var o={id:e.interactionId,latency:e.duration,entries:[e]};B[o.id]=o,H.push(o)}H.sort(function(e,t){return t.latency-e.latency}),H.splice(10).forEach(function(e){delete B[e.id]})}},U=function(e,t){t=t||{};var n=[200,500];D();var o,i=p("INP"),l=function(e){e.forEach(function(e){e.interactionId&&W(e),"first-input"!==e.entryType||H.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||W(e)});var t,n=(t=Math.min(H.length-1,Math.floor(I()/50)),H[t]);n&&n.latency!==i.value&&(i.value=n.latency,i.entries=n.entries,o())},s=m("event",l,{durationThreshold:t.durationThreshold||40});o=v(e,i,n,t.reportAllChanges),s&&(s.observe({type:"first-input",buffered:!0}),g(function(){l(s.takeRecords()),i.value<0&&I()>0&&(i.value=0,i.entries=[]),o(!0)}),d(function(){H=[],z=$(),o=v(e,i=p("INP"),n,t.reportAllChanges)}))},q={},G=function(e,t){t=t||{};var n,o=[2500,4e3],i=x(),l=p("LCP"),s=function(e){var t=e[e.length-1];if(t){var o=t.startTime-h();o<i.firstHiddenTime&&(l.value=o,l.entries=[t],n())}},u=m("largest-contentful-paint",s);if(u){n=v(e,l,o,t.reportAllChanges);var c=function(){q[l.id]||(s(u.takeRecords()),u.disconnect(),q[l.id]=!0,n(!0))};["keydown","click"].forEach(function(e){addEventListener(e,c,{once:!0,capture:!0})}),g(c,!0),d(function(i){n=v(e,l=p("LCP"),o,t.reportAllChanges),requestAnimationFrame(function(){requestAnimationFrame(function(){l.value=performance.now()-i.timeStamp,q[l.id]=!0,n(!0)})})})}},Y=function e(t){document.prerendering?addEventListener("prerenderingchange",function(){return e(t)},!0):"complete"!==document.readyState?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},Z=function(e,t){t=t||{};var n=[800,1800],o=p("TTFB"),i=v(e,o,n,t.reportAllChanges);Y(function(){var l=f();if(l){if(o.value=Math.max(l.responseStart-h(),0),o.value<0||o.value>performance.now())return;o.entries=[l],i(!0),d(function(){(i=v(e,o=p("TTFB",0),n,t.reportAllChanges))(!0)})}})},e.exports=n},64267:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let o=n(59065),i=o.useLayoutEffect,l=o.useEffect;function s(e){let{headManager:t,reduceComponentsToState:n}=e;function s(){if(t&&t.mountedInstances){let i=o.Children.toArray(Array.from(t.mountedInstances).filter(
248Boolean));t.updateHead(n(i,e))}}return i(()=>{var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),()=>{var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),i(()=>(t&&(t._pendingUpdate=s),()=>{t&&(t._pendingUpdate=s)})),l(()=>(t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),()=>{t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)})),null}},64866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return o.requestAsyncStorage}});let o=n(83419);function i(e){let t=o.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65306:function(e,t,n){"use strict";n.d(t,{UC:function(){return eY},q7:function(){return eZ},ZL:function(){return eG},bL:function(){return eU},l9:function(){return eq}});var o=n(59065),i=n(95339),l=n(32964),s=n(82450),u=n(85859),c=n(46475),d=n(45901),f=n(32383),h=n(79094),p=n(29937),m=n(49239),g=n(77619),v=n(2381),y=n(10005),b=n(23760),w=n(11502),x=n(47715),E=n(97708),C=n(57122),k=n(72370),M=["Enter"," "],_=["ArrowUp","PageDown","End"],S=["ArrowDown","PageUp","Home",..._],j={ltr:[...M,"ArrowRight"],rtl:[...M,"ArrowLeft"]},O={ltr:["ArrowLeft"],rtl:["ArrowRight"]},L="Menu",[A,T,P]=(0,d.N)(L),[N,F]=(0,s.A)(L,[P,g.Bk,b.RG]),R=(0,g.Bk)(),$=(0,b.RG)(),[D,z]=N(L),[I,H]=N(L),B=e=>{let{__scopeMenu:t,open:n=!1,children:i,dir:l,onOpenChange:s,modal:u=!0}=e,c=R(t),[d,h]=o.useState(null),p=o.useRef(!1),m=(0,x.c)(s),v=(0,f.j)(l);return o.useEffect(()=>{let e=()=>{p.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>p.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),k.j.jsx(g.bL,{...c,children:k.j.jsx(D,{scope:t,open:n,onOpenChange:m,content:d,onContentChange:h,children:k.j.jsx(I,{scope:t,onClose:o.useCallback(()=>m(!1),[m]),isUsingKeyboardRef:p,dir:v,modal:u,children:i})})})};B.displayName=L;var W=o.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e,i=R(n);return k.j.jsx(g.Mz,{...i,...o,ref:t})});W.displayName="MenuAnchor";var U="MenuPortal",[q,G]=N(U,{forceMount:void 0}),Y=e=>{let{__scopeMenu:t,forceMount:n,children:o,container:i}=e,l=z(U,t);return k.j.jsx(q,{scope:t,forceMount:n,children:k.j.jsx(y.C,{present:n||l.open,children:k.j.jsx(v.Z,{asChild:!0,container:i,children:o})})})};Y.displayName=U;var Z="MenuContent",[K,Q]=N(Z),X=o.forwardRef((e,t)=>{let n=G(Z,e.__scopeMenu),{forceMount:o=n.forceMount,...i}=e,l=z(Z,e.__scopeMenu),s=H(Z,e.__scopeMenu);return k.j.jsx(A.Provider,{scope:e.__scopeMenu,children:k.j.jsx(y.C,{present:o||l.open,children:k.j.jsx(A.Slot,{scope:e.__scopeMenu,children:s.modal?k.j.jsx(J,{...i,ref:t}):k.j.jsx(ee,{...i,ref:t})})})})}),J=o.forwardRef((e,t)=>{let n=z(Z,e.__scopeMenu),s=o.useRef(null),u=(0,l.s)(t,s);return o.useEffect(()=>{let e=s.current;if(e)return(0,E.E)(e)},[]),k.j.jsx(er,{...e,ref:u,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),ee=o.forwardRef((e,t)=>{let n=z(Z,e.__scopeMenu);return k.j.jsx(er,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),et=(0,w.T)("MenuContent.ScrollLock"),er=o.forwardRef((e,t)=>{let{__scopeMenu:n,loop:s=!1,trapFocus:u,onOpenAutoFocus:c,onCloseAutoFocus:d,disableOutsidePointerEvents:f,onEntryFocus:v,onEscapeKeyDown:y,onPointerDownOutside:w,onFocusOutside:x,onInteractOutside:E,onDismiss:M,disableOutsideScroll:j,...O}
248=e,L=z(Z,n),A=H(Z,n),P=R(n),N=$(n),F=T(n),[D,I]=o.useState(null),B=o.useRef(null),W=(0,l.s)(t,B,L.onContentChange),U=o.useRef(0),q=o.useRef(""),G=o.useRef(0),Y=o.useRef(null),Q=o.useRef("right"),X=o.useRef(0),J=j?C.A:o.Fragment,ee=e=>{var t,n;let o=q.current+e,i=F().filter(e=>!e.disabled),l=document.activeElement,s=null==(t=i.find(e=>e.ref.current===l))?void 0:t.textValue,u=function(e,t,n){var o;let i=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,l=(o=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(o+n)%e.length]));1===i.length&&(l=l.filter(e=>e!==n));let s=l.find(e=>e.toLowerCase().startsWith(i.toLowerCase()));return s!==n?s:void 0}(i.map(e=>e.textValue),o,s),c=null==(n=i.find(e=>e.textValue===u))?void 0:n.ref.current;(function e(t){q.current=t,window.clearTimeout(U.current),""!==t&&(U.current=window.setTimeout(()=>e(""),1e3))})(o),c&&setTimeout(()=>c.focus())};o.useEffect(()=>()=>window.clearTimeout(U.current),[]),(0,p.O)();let er=o.useCallback(e=>{var t,n,o;return Q.current===(null==(t=Y.current)?void 0:t.side)&&!!(o=null==(n=Y.current)?void 0:n.area)&&function(e,t){let{x:n,y:o}=e,i=!1;for(let e=0,l=t.length-1;e<t.length;l=e++){let s=t[e],u=t[l],c=s.x,d=s.y,f=u.x,h=u.y;d>o!=h>o&&n<(f-c)*(o-d)/(h-d)+c&&(i=!i)}return i}({x:e.clientX,y:e.clientY},o)},[]);return k.j.jsx(K,{scope:n,searchRef:q,onItemEnter:o.useCallback(e=>{er(e)&&e.preventDefault()},[er]),onItemLeave:o.useCallback(e=>{var t;er(e)||(null==(t=B.current)||t.focus(),I(null))},[er]),onTriggerLeave:o.useCallback(e=>{er(e)&&e.preventDefault()},[er]),pointerGraceTimerRef:G,onPointerGraceIntentChange:o.useCallback(e=>{Y.current=e},[]),children:k.j.jsx(J,{...j?{as:et,allowPinchZoom:!0}:void 0,children:k.j.jsx(m.n,{asChild:!0,trapped:u,onMountAutoFocus:(0,i.m)(c,e=>{var t;e.preventDefault(),null==(t=B.current)||t.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:k.j.jsx(h.q,{asChild:!0,disableOutsidePointerEvents:f,onEscapeKeyDown:y,onPointerDownOutside:w,onFocusOutside:x,onInteractOutside:E,onDismiss:M,children:k.j.jsx(b.bL,{asChild:!0,...N,dir:A.dir,orientation:"vertical",loop:s,currentTabStopId:D,onCurrentTabStopIdChange:I,onEntryFocus:(0,i.m)(v,e=>{A.isUsingKeyboardRef.current||e.preventDefault()}),preventScrollOnEntryFocus:!0,children:k.j.jsx(g.UC,{role:"menu","aria-orientation":"vertical","data-state":ej(L.open),"data-radix-menu-content":"",dir:A.dir,...P,...O,ref:W,style:{outline:"none",...O.style},onKeyDown:(0,i.m)(O.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,o=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&o&&ee(e.key));let i=B.current;if(e.target!==i||!S.includes(e.key))return;e.preventDefault();let l=F().filter(e=>!e.disabled).map(e=>e.ref.current);_.includes(e.key)&&l.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(l)}),onBlur:(0,i.m)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(U.current),q.current="")}),onPointerMove:(0,i.m)(e.onPointerMove,eA(e=>{let t=e.target,n=X.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>X.current?"right":"left";Q.current=t,X.current=e.clientX}}))})})})})})})});X.displayName=Z;var en=o.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e;return k.j.jsx(c.s.div,{role:"group",...o,ref:t})});en.displayName="MenuGroup";var ea=o.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e;return k.j.jsx(c.s.div,{...o,ref:t})});ea.displayName="MenuLabel";var eo="MenuItem",ei="menu.itemSelect",el=o.forwardRef((e,t)=>{let{disabled:n=!1,onSelect:s,...u}=e,d=o.useRef(null),f=H(eo,e.__scopeMenu),h=Q(eo,e.__scopeMenu),p=(0,l.s)(t,d),m=o.useRef(!1);return k.j.jsx(es,{...u,ref:p,disabled:n,onClick:(0,i.m)(e.onClick,()=>{let e=d.current;if(!n&&e){let t=new CustomEvent(ei,{bubbles:!0,cancelable:!0});e.addEventListener(ei,e=>null==s?void 0:s(e),{once:!0}),(0,c.h)(e,t),t.defaultPrevented?m.current=!1:f.onClose()}}),onPointerDown:t=>{var n;null==(n=e.onPointerDown)||n.call(e,t),m.current=!0},onPointerUp:(0,i.m)(e.onPointerUp,e=>{var t;m.current||null==(t=e.currentTarget)||t.click()}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{let t=""!==h.searchRef.current;
248n||t&&" "===e.key||M.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})})});el.displayName=eo;var es=o.forwardRef((e,t)=>{let{__scopeMenu:n,disabled:s=!1,textValue:u,...d}=e,f=Q(eo,n),h=$(n),p=o.useRef(null),m=(0,l.s)(t,p),[g,v]=o.useState(!1),[y,w]=o.useState("");return o.useEffect(()=>{let e=p.current;e&&w((e.textContent??"").trim())},[d.children]),k.j.jsx(A.ItemSlot,{scope:n,disabled:s,textValue:u??y,children:k.j.jsx(b.q7,{asChild:!0,...h,focusable:!s,children:k.j.jsx(c.s.div,{role:"menuitem","data-highlighted":g?"":void 0,"aria-disabled":s||void 0,"data-disabled":s?"":void 0,...d,ref:m,onPointerMove:(0,i.m)(e.onPointerMove,eA(e=>{s?f.onItemLeave(e):(f.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:(0,i.m)(e.onPointerLeave,eA(e=>f.onItemLeave(e))),onFocus:(0,i.m)(e.onFocus,()=>v(!0)),onBlur:(0,i.m)(e.onBlur,()=>v(!1))})})})}),eu=o.forwardRef((e,t)=>{let{checked:n=!1,onCheckedChange:o,...l}=e;return k.j.jsx(ev,{scope:e.__scopeMenu,checked:n,children:k.j.jsx(el,{role:"menuitemcheckbox","aria-checked":eO(n)?"mixed":n,...l,ref:t,"data-state":eL(n),onSelect:(0,i.m)(l.onSelect,()=>null==o?void 0:o(!!eO(n)||!n),{checkForDefaultPrevented:!1})})})});eu.displayName="MenuCheckboxItem";var ec="MenuRadioGroup",[ed,ef]=N(ec,{value:void 0,onValueChange:()=>{}}),eh=o.forwardRef((e,t)=>{let{value:n,onValueChange:o,...i}=e,l=(0,x.c)(o);return k.j.jsx(ed,{scope:e.__scopeMenu,value:n,onValueChange:l,children:k.j.jsx(en,{...i,ref:t})})});eh.displayName=ec;var ep="MenuRadioItem",em=o.forwardRef((e,t)=>{let{value:n,...o}=e,l=ef(ep,e.__scopeMenu),s=n===l.value;return k.j.jsx(ev,{scope:e.__scopeMenu,checked:s,children:k.j.jsx(el,{role:"menuitemradio","aria-checked":s,...o,ref:t,"data-state":eL(s),onSelect:(0,i.m)(o.onSelect,()=>{var e;return null==(e=l.onValueChange)?void 0:e.call(l,n)},{checkForDefaultPrevented:!1})})})});em.displayName=ep;var eg="MenuItemIndicator",[ev,ey]=N(eg,{checked:!1}),eb=o.forwardRef((e,t)=>{let{__scopeMenu:n,forceMount:o,...i}=e,l=ey(eg,n);return k.j.jsx(y.C,{present:o||eO(l.checked)||!0===l.checked,children:k.j.jsx(c.s.span,{...i,ref:t,"data-state":eL(l.checked)})})});eb.displayName=eg;var ew=o.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e;return k.j.jsx(c.s.div,{role:"separator","aria-orientation":"horizontal",...o,ref:t})});ew.displayName="MenuSeparator";var ex=o.forwardRef((e,t)=>{let{__scopeMenu:n,...o}=e,i=R(n);return k.j.jsx(g.i3,{...i,...o,ref:t})});ex.displayName="MenuArrow";var[eE,eC]=N("MenuSub"),ek="MenuSubTrigger",eM=o.forwardRef((e,t)=>{let n=z(ek,e.__scopeMenu),s=H(ek,e.__scopeMenu),u=eC(ek,e.__scopeMenu),c=Q(ek,e.__scopeMenu),d=o.useRef(null),{pointerGraceTimerRef:f,onPointerGraceIntentChange:h}=c,p={__scopeMenu:e.__scopeMenu},m=o.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return o.useEffect(()=>m,[m]),o.useEffect(()=>{let e=f.current;return()=>{window.clearTimeout(e),h(null)}},[f,h]),k.j.jsx(W,{asChild:!0,...p,children:k.j.jsx(es,{id:u.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":u.contentId,"data-state":ej(n.open),...e,ref:(0,l.t)(t,u.onTriggerChange),onClick:t=>{var o;null==(o=e.onClick)||o.call(e,t),!(e.disabled||t.defaultPrevented)&&(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,i.m)(e.onPointerMove,eA(t=>{c.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||d.current||(c.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{n.onOpenChange(!0),m()},100))})),onPointerLeave:(0,i.m)(e.onPointerLeave,eA(e=>{var t,o;m();let i=null==(t=n.content)?void 0:t.getBoundingClientRect();if(i){let t=null==(o=n.content)?void 0:o.dataset.side,l="right"===t,s=i[l?"left":"right"],u=i[l?"right":"left"];c.onPointerGraceIntentChange({area:[{x:e.clientX+(l?-5:5),y:e.clientY},{x:s,y:i.top},{x:u,y:i.top},{x:u,y:i.bottom},{x:s,y:i.bottom}],side:t}),window.clearTimeout(f.current),f.current=window.setTimeout(()=>c.onPointerGraceIntentChange(null),300)}else{if(c.onTriggerLeave(e),e.defaultPrevented)return;c.onPointerGraceIntentChange(null)}})),onKeyDown:(0,i.m)(e.onKeyDown,t=>{var o;let i=""!==c.searchRef.current;e.disabled||i&&" "===t.key||j[s.dir].includes(t.key)&&(n.onOpenChange(!0),null==(o=n.content)||o.focus(),t.preventDefault())})})})});eM.displayName=ek;var e_="MenuSubContent",eS=o.forwardRef((e,t)=>
248{let n=G(Z,e.__scopeMenu),{forceMount:s=n.forceMount,...u}=e,c=z(Z,e.__scopeMenu),d=H(Z,e.__scopeMenu),f=eC(e_,e.__scopeMenu),h=o.useRef(null),p=(0,l.s)(t,h);return k.j.jsx(A.Provider,{scope:e.__scopeMenu,children:k.j.jsx(y.C,{present:s||c.open,children:k.j.jsx(A.Slot,{scope:e.__scopeMenu,children:k.j.jsx(er,{id:f.contentId,"aria-labelledby":f.triggerId,...u,ref:p,align:"start",side:"rtl"===d.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;d.isUsingKeyboardRef.current&&(null==(t=h.current)||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>{e.target!==f.trigger&&c.onOpenChange(!1)}),onEscapeKeyDown:(0,i.m)(e.onEscapeKeyDown,e=>{d.onClose(),e.preventDefault()}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{var t;let n=e.currentTarget.contains(e.target),o=O[d.dir].includes(e.key);n&&o&&(c.onOpenChange(!1),null==(t=f.trigger)||t.focus(),e.preventDefault())})})})})})});function ej(e){return e?"open":"closed"}function eO(e){return"indeterminate"===e}function eL(e){return eO(e)?"indeterminate":e?"checked":"unchecked"}function eA(e){return t=>"mouse"===t.pointerType?e(t):void 0}eS.displayName=e_;var eT=n(25071),eP="DropdownMenu",[eN]=(0,s.A)(eP,[F]),eF=F(),[eR,e$]=eN(eP),eD=e=>{let{__scopeDropdownMenu:t,children:n,dir:i,open:l,defaultOpen:s,onOpenChange:c,modal:d=!0}=e,f=eF(t),h=o.useRef(null),[p,m]=(0,u.i)({prop:l,defaultProp:s??!1,onChange:c,caller:eP});return k.j.jsx(eR,{scope:t,triggerId:(0,eT.B)(),triggerRef:h,contentId:(0,eT.B)(),open:p,onOpenChange:m,onOpenToggle:o.useCallback(()=>m(e=>!e),[m]),modal:d,children:k.j.jsx(B,{...f,open:p,onOpenChange:m,dir:i,modal:d,children:n})})};eD.displayName=eP;var ez="DropdownMenuTrigger",eI=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,disabled:o=!1,...s}=e,u=e$(ez,n),d=eF(n);return k.j.jsx(W,{asChild:!0,...d,children:k.j.jsx(c.s.button,{type:"button",id:u.triggerId,"aria-haspopup":"menu","aria-expanded":u.open,"aria-controls":u.open?u.contentId:void 0,"data-state":u.open?"open":"closed","data-disabled":o?"":void 0,disabled:o,...s,ref:(0,l.t)(t,u.triggerRef),onPointerDown:(0,i.m)(e.onPointerDown,e=>{!o&&0===e.button&&!1===e.ctrlKey&&(u.onOpenToggle(),u.open||e.preventDefault())}),onKeyDown:(0,i.m)(e.onKeyDown,e=>{o||(["Enter"," "].includes(e.key)&&u.onOpenToggle(),"ArrowDown"===e.key&&u.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})})});eI.displayName=ez;var eH=e=>{let{__scopeDropdownMenu:t,...n}=e,o=eF(t);return k.j.jsx(Y,{...o,...n})};eH.displayName="DropdownMenuPortal";var eB="DropdownMenuContent",eW=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...l}=e,s=e$(eB,n),u=eF(n),c=o.useRef(!1);return k.j.jsx(X,{id:s.contentId,"aria-labelledby":s.triggerId,...u,...l,ref:t,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{var t;c.current||null==(t=s.triggerRef.current)||t.focus(),c.current=!1,e.preventDefault()}),onInteractOutside:(0,i.m)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;(!s.modal||o)&&(c.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});eW.displayName=eB,o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(en,{...i,...o,ref:t})}).displayName="DropdownMenuGroup",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(ea,{...i,...o,ref:t})}).displayName="DropdownMenuLabel";var eV=o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(el,{...i,...o,ref:t})});eV.displayName="DropdownMenuItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(eu,{...i,...o,ref:t})}).displayName="DropdownMenuCheckboxItem",o.forwardRef((e,t)=>
248{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(eh,{...i,...o,ref:t})}).displayName="DropdownMenuRadioGroup",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(em,{...i,...o,ref:t})}).displayName="DropdownMenuRadioItem",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(eb,{...i,...o,ref:t})}).displayName="DropdownMenuItemIndicator",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(ew,{...i,...o,ref:t})}).displayName="DropdownMenuSeparator",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(ex,{...i,...o,ref:t})}).displayName="DropdownMenuArrow",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(eM,{...i,...o,ref:t})}).displayName="DropdownMenuSubTrigger",o.forwardRef((e,t)=>{let{__scopeDropdownMenu:n,...o}=e,i=eF(n);return k.j.jsx(eS,{...i,...o,ref:t,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})}).displayName="DropdownMenuSubContent";var eU=eD,eq=eI,eG=eH,eY=eW,eZ=eV},65670:function(e,t,n){"use strict";function o(e){return e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removeBasePath",{enumerable:!0,get:function(){return o}}),n(69404),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},67035:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"formatNextPathnameInfo",{enumerable:!0,get:function(){return u}});let o=n(41153),i=n(50002),l=n(89339),s=n(57840);function u(e){let t=(0,s.addLocale)(e.pathname,e.locale,e.buildId?void 0:e.defaultLocale,e.ignorePrefix);return(e.buildId||!e.trailingSlash)&&(t=(0,o.removeTrailingSlash)(t)),e.buildId&&(t=(0,l.addPathSuffix)((0,i.addPathPrefix)(t,"/_next/data/"+e.buildId),"/"===e.pathname?"index.json":".json")),t=(0,i.addPathPrefix)(t,e.basePath),!e.buildId&&e.trailingSlash?t.endsWith("/")?t:(0,l.addPathSuffix)(t,"/"):(0,o.removeTrailingSlash)(t)}},67340:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return o}});let o=n(77223)._(n(59065)).default.createContext({})},67966:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let o=n(77223),i=n(23078),l=o._(n(59065)),s=o._(n(12052)),u={400:"Bad Request",404:"This page could not be found",405:"Method Not Allowed",500:"Internal Server Error"};function c(e){let{res:t,err:n}=e;return{statusCode:t&&t.statusCode?t.statusCode:n?n.statusCode:404}}let d={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{lineHeight:"48px"},h1:{display:"inline-block",margin:"0 20px 0 0",paddingRight:23,fontSize:24,fontWeight:500,verticalAlign:"top"},h2:{fontSize:14,fontWeight:400,lineHeight:"28px"},wrap:{display:"inline-block"}};class f extends l.default.Component{render(){let{statusCode:e,withDarkMode:t=!0}=this.props,n=this.props.title||u[e]||"An unexpected error has occurred";return(0,i.jsxs)("div",{style:d.error,children:[(0,i.jsx)(s.default,{children:(0,i.jsx)("title",{children:e?e+": "+n:"Application error: a client-side exception has occurred"})}),(0,i.jsxs)("div",{style:d.desc,children:[(0,i.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}"+(t?"@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}":"")}}),e?(0,i.jsx)("h1",{className:"next-error-h1",style:d.h1,children:e}):null,(0,i.jsx)("div",{style:d.wrap,children:(0,i.jsxs)("h2",{style:d.h2,children:[this.props.title||e?n:(0,i.jsx)(i.Fragment,{children:"Application error: a client-side exception has occurred (see the browser console for more information)"}),"."]})})]})]})}}f.displayName="ErrorPage",f.getInitialProps=c,f.origGetInitialProps=c,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
248dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68180:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var o={exports:{}}},68269:function(e,t){"use strict";function n(e){return"("===e[0]&&e.endsWith(")")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{DEFAULT_SEGMENT_KEY:function(){return i},PAGE_SEGMENT_KEY:function(){return o},isGroupSegment:function(){return n}});let o="__PAGE__",i="__DEFAULT__"},68578:function(e,t,n){"use strict";function o(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}n.d(t,{g:function(){return o}})},69404:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hasBasePath",{enumerable:!0,get:function(){return i}});let o=n(53519);function i(e){return(0,o.pathHasPrefix)(e,"")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69535:function(e,t,n){"use strict";var o=n(9991);function i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join(".")}function l(e){return i(e.namespace,e.key)}function s(e){console.error(e)}function u(e,t){return o.memoize(e,{cache:{create:()=>({get:e=>t[e],set(e,n){t[e]=n}})},strategy:o.strategies.variadic})}function c(e,t){return u(function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return new e(...n)},t)}t.createCache=function(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}},t.createIntlFormatters=function(e){return{getDateTimeFormat:c(Intl.DateTimeFormat,e.dateTime),getNumberFormat:c(Intl.NumberFormat,e.number),getPluralRules:c(Intl.PluralRules,e.pluralRules),getRelativeTimeFormat:c(Intl.RelativeTimeFormat,e.relativeTime),getListFormat:c(Intl.ListFormat,e.list),getDisplayNames:c(Intl.DisplayNames,e.displayNames)}},t.defaultGetMessageFallback=l,t.defaultOnError=s,t.initializeConfig=function(e){let{getMessageFallback:t,messages:n,onError:o,...i}=e;return{...i,messages:n,onError:o||s,getMessageFallback:t||l}},t.joinPath=i,t.memoFn=u},69764:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}}),n(77223);let o=n(23078);n(59065);let i=n(81901);function l(e){function t(t){return(0,o.jsx)(e,{router:(0,i.useRouter)(),...t})}return t.getInitialProps=e.getInitialProps,t.origGetInitialProps=e.origGetInitialProps,t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},69939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{formatUrl:function(){return l},formatWithValidation:function(){return u},urlObjectKeys:function(){return s}});let o=n(2438)._(n(17587)),i=/https?|ftp|gopher|file/;function l(e){let{auth:t,hostname:n}=e,l=e.protocol||"",s=e.pathname||"",u=e.hash||"",c=e.query||"",d=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?d=t+e.host:n&&(d=t+(~n.indexOf(":")?"["+n+"]":n),e.port&&(d+=":"+e.port)),c&&"object"==typeof c&&(c=String(o.urlQueryToSearchParams(c)));let f=e.search||c&&"?"+c||"";return l&&!l.endsWith(":")&&(l+=":"),e.slashes||(!l||i.test(l))&&!1!==d?(d="//"+(d||""),s&&"/"!==s[0]&&(s="/"+s)):d||(d=""),u&&"#"!==u[0]&&(u="#"+u),f&&"?"!==f[0]&&(f="?"+f),""+l+d+(s=s.replace(/[?#]/g,encodeURIComponent))+(f=f.replace("#","%23"))+u}let s=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return l(e)}},71935:function(e,t,n){"use strict";n.d(t,{l:function(){return C}});var o=n(59065),i=n(3517),l=e=>{switch(e){case"success":return c;case"info":return f;case"warning":return d;case"error":return h;default:return null}},s=Array(12).fill(0),u=({visible:e,className:t})=>o.createElement("div",{className:["sonner-loading-wrapper",t].filter(
248Boolean).join(" "),"data-visible":e},o.createElement("div",{className:"sonner-spinner"},s.map((e,t)=>o.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),c=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),d=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),f=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),h=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},o.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),p=o.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},o.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),o.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),m=()=>{let[e,t]=o.useState(document.hidden);return o.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e},g=1,v=new class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...o}=e,i="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:g++,l=this.toasts.find(e=>e.id===i),s=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),l?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:n}),{...t,...e,id:i,dismissible:s,title:n}):t):this.addToast({title:n,...o,dismissible:s,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
248this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n;if(!t)return;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let i=e instanceof Promise?e:e(),l=void 0!==n,s,u=i.then(async e=>{if(s=["resolve",e],o.isValidElement(e))l=!1,this.create({id:n,type:"default",message:e});else if(y(e)&&!e.ok){l=!1;let o="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,i="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description;this.create({id:n,type:"error",message:o,description:i})}else if(void 0!==t.success){l=!1;let o="function"==typeof t.success?await t.success(e):t.success,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"success",message:o,description:i})}}).catch(async e=>{if(s=["reject",e],void 0!==t.error){l=!1;let o="function"==typeof t.error?await t.error(e):t.error,i="function"==typeof t.description?await t.description(e):t.description;this.create({id:n,type:"error",message:o,description:i})}}).finally(()=>{var e;l&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)}),c=()=>new Promise((e,t)=>u.then(()=>"reject"===s[0]?t(s[1]):e(s[1])).catch(t));return"string"!=typeof n&&"number"!=typeof n?{unwrap:c}:Object.assign(n,{unwrap:c})},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||g++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},y=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status;function b(e){return void 0!==e.label}function w(...e){return e.filter(Boolean).join(" ")}Object.assign((e,t)=>{let n=(null==t?void 0:t.id)||g++;return v.addToast({title:e,...t,id:n}),n},{success:v.success,info:v.info,warning:v.warning,error:v.error,custom:v.custom,message:v.message,promise:v.promise,dismiss:v.dismiss,loading:v.loading},{getHistory:()=>v.toasts,getToasts:()=>v.getActiveToasts()}),function(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===t&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
248left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
248:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
248--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 249`);var x=e=>{var t,n,i,s,c,d,f,h,g,v,y,x,E,C;let{invert:k,toast:M,unstyled:_,interacting:S,setHeights:j,visibleToasts:O,heights:L,index:A,toasts:T,expanded:P,removeToast:N,defaultRichColors:F,closeButton:R,style:$,cancelButtonStyle:D,actionButtonStyle:z,className:I="",descriptionClassName:H="",duration:B,position:W,gap:U,loadingIcon:q,expandByDefault:G,classNames:Y,icons:Z,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:Q}=e,[X,J]=o.useState(null),[ee,et]=o.useState(null),[er,en]=o.useState(!1),[ea,eo]=o.useState(!1),[ei,el]=o.useState(!1),[es,eu]=o.useState(!1),[ec,ed]=o.useState(!1),[ef,eh
249]=o.useState(0),[ep,em]=o.useState(0),eg=o.useRef(M.duration||B||4e3),ev=o.useRef(null),ey=o.useRef(null),eb=0===A,ew=A+1<=O,ex=M.type,eE=!1!==M.dismissible,eC=M.className||"",ek=M.descriptionClassName||"",eM=o.useMemo(()=>L.findIndex(e=>e.toastId===M.id)||0,[L,M.id]),e_=o.useMemo(()=>{var e;return null!=(e=M.closeButton)?e:R},[M.closeButton,R]),eS=o.useMemo(()=>M.duration||B||4e3,[M.duration,B]),ej=o.useRef(0),eO=o.useRef(0),eL=o.useRef(0),eA=o.useRef(null),[eT,eP]=W.split("-"),eN=o.useMemo(()=>L.reduce((e,t,n)=>n>=eM?e:e+t.height,0),[L,eM]),eF=m(),eR=M.invert||k,e$="loading"===ex;eO.current=o.useMemo(()=>eM*U+eN,[eM,eN]),o.useEffect(()=>{eg.current=eS},[eS]),o.useEffect(()=>{en(!0)},[]),o.useEffect(()=>{let e=ey.current;if(e){let t=e.getBoundingClientRect().height;return em(t),j(e=>[{toastId:M.id,height:t,position:M.position},...e]),()=>j(e=>e.filter(e=>e.toastId!==M.id))}},[j,M.id]),o.useLayoutEffect(()=>{if(!er)return;let e=ey.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,em(n),j(e=>e.find(e=>e.toastId===M.id)?e.map(e=>e.toastId===M.id?{...e,height:n}:e):[{toastId:M.id,height:n,position:M.position},...e])},[er,M.title,M.description,j,M.id]);let eD=o.useCallback(()=>{eo(!0),eh(eO.current),j(e=>e.filter(e=>e.toastId!==M.id)),setTimeout(()=>{N(M)},200)},[M,N,j,eO]);return o.useEffect(()=>{let e;if((!M.promise||"loading"!==ex)&&M.duration!==1/0&&"loading"!==M.type)return P||S||Q&&eF?(()=>{if(eL.current<ej.current){let e=new Date().getTime()-ej.current;eg.current=eg.current-e}eL.current=new Date().getTime()})():eg.current!==1/0&&(ej.current=new Date().getTime(),e=setTimeout(()=>{var e;null==(e=M.onAutoClose)||e.call(M,M),eD()},eg.current)),()=>clearTimeout(e)},[P,S,M,ex,Q,eF,eD]),o.useEffect(()=>{M.delete&&eD()},[eD,M.delete]),o.createElement("li",{tabIndex:0,ref:ey,className:w(I,eC,null==Y?void 0:Y.toast,null==(t=null==M?void 0:M.classNames)?void 0:t.toast,null==Y?void 0:Y.default,null==Y?void 0:Y[ex],null==(n=null==M?void 0:M.classNames)?void 0:n[ex]),"data-sonner-toast":"","data-rich-colors":null!=(i=M.richColors)?i:F,"data-styled":!(M.jsx||M.unstyled||_),"data-mounted":er,"data-promise":!!M.promise,"data-swiped":ec,"data-removed":ea,"data-visible":ew,"data-y-position":eT,"data-x-position":eP,"data-index":A,"data-front":eb,"data-swiping":ei,"data-dismissible":eE,"data-type":ex,"data-invert":eR,"data-swipe-out":es,"data-swipe-direction":ee,"data-expanded":!!(P||G&&er),style:{"--index":A,"--toasts-before":A,"--z-index":T.length-A,"--offset":`${ea?ef:eO.current}px`,"--initial-height":G?"auto":`${ep}px`,...$,...M.style},onDragEnd:()=>{el(!1),J(null),eA.current=null},onPointerDown:e=>{e$||!eE||(ev.current=new Date,eh(eO.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(el(!0),eA.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,o;if(es||!eE)return;eA.current=null;let i=Number((null==(e=ey.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),l=Number((null==(t=ey.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),s=new Date().getTime()-(null==(n=ev.current)?void 0:n.getTime()),u="x"===X?i:l;if(Math.abs(u)>=20||Math.abs(u)/s>.11){eh(eO.current),null==(o=M.onDismiss)||o.call(M,M),et("x"===X?i>0?"right":"left":l>0?"down":"up"),eD(),eu(!0),ed(!1);return}el(!1),J(null)},onPointerMove:t=>{var n,o,i,l;if(!eA.current||!eE||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let s=t.clientY-eA.current.y,u=t.clientX-eA.current.x,c=null!=(o=e.swipeDirections)?o:function(e){let[t,n]=e.split("-"),o=[];return t&&o.push(t),n&&o.push(n),o}(W);!X&&(Math.abs(u)>1||Math.abs(s)>1)&&J(Math.abs(u)>Math.abs(s)?"x":"y");let d={x:0,y:0};"y"===X?(c.includes("top")||c.includes("bottom"))&&(c.includes("top")&&s<0||c.includes("bottom")&&s>0)&&(d.y=s):"x"===X&&(c.includes("left")||c.includes("right"))&&(c.includes("left")&&u<0||c.includes("right")&&u>0)&&(d.x=u),(Math.abs(d.x)>0||Math.abs(d.y)>0)&&ed(!0),null==(i=ey.current)||i.style.setProperty("--swipe-amount-x",`${d.x}px`),null==(l=ey.current)||l.style.setProperty("--swipe-amount-y",`${d.y}px`)}}
249,e_&&!M.jsx?o.createElement("button",{"aria-label":K,"data-disabled":e$,"data-close-button":!0,onClick:e$||!eE?()=>{}:()=>{var e;eD(),null==(e=M.onDismiss)||e.call(M,M)},className:w(null==Y?void 0:Y.closeButton,null==(s=null==M?void 0:M.classNames)?void 0:s.closeButton)},null!=(c=null==Z?void 0:Z.close)?c:p):null,M.jsx||(0,o.isValidElement)(M.title)?M.jsx?M.jsx:"function"==typeof M.title?M.title():M.title:o.createElement(o.Fragment,null,ex||M.icon||M.promise?o.createElement("div",{"data-icon":"",className:w(null==Y?void 0:Y.icon,null==(d=null==M?void 0:M.classNames)?void 0:d.icon)},M.promise||"loading"===M.type&&!M.icon?M.icon||(null!=Z&&Z.loading?o.createElement("div",{className:w(null==Y?void 0:Y.loader,null==(x=null==M?void 0:M.classNames)?void 0:x.loader,"sonner-loader"),"data-visible":"loading"===ex},Z.loading):q?o.createElement("div",{className:w(null==Y?void 0:Y.loader,null==(E=null==M?void 0:M.classNames)?void 0:E.loader,"sonner-loader"),"data-visible":"loading"===ex},q):o.createElement(u,{className:w(null==Y?void 0:Y.loader,null==(C=null==M?void 0:M.classNames)?void 0:C.loader),visible:"loading"===ex})):null,"loading"!==M.type?M.icon||(null==Z?void 0:Z[ex])||l(ex):null):null,o.createElement("div",{"data-content":"",className:w(null==Y?void 0:Y.content,null==(f=null==M?void 0:M.classNames)?void 0:f.content)},o.createElement("div",{"data-title":"",className:w(null==Y?void 0:Y.title,null==(h=null==M?void 0:M.classNames)?void 0:h.title)},"function"==typeof M.title?M.title():M.title),M.description?o.createElement("div",{"data-description":"",className:w(H,ek,null==Y?void 0:Y.description,null==(g=null==M?void 0:M.classNames)?void 0:g.description)},"function"==typeof M.description?M.description():M.description):null),(0,o.isValidElement)(M.cancel)?M.cancel:M.cancel&&b(M.cancel)?o.createElement("button",{"data-button":!0,"data-cancel":!0,style:M.cancelButtonStyle||D,onClick:e=>{var t,n;b(M.cancel)&&eE&&(null==(n=(t=M.cancel).onClick)||n.call(t,e),eD())},className:w(null==Y?void 0:Y.cancelButton,null==(v=null==M?void 0:M.classNames)?void 0:v.cancelButton)},M.cancel.label):null,(0,o.isValidElement)(M.action)?M.action:M.action&&b(M.action)?o.createElement("button",{"data-button":!0,"data-action":!0,style:M.actionButtonStyle||z,onClick:e=>{var t,n;b(M.action)&&(null==(n=(t=M.action).onClick)||n.call(t,e),e.defaultPrevented||eD())},className:w(null==Y?void 0:Y.actionButton,null==(y=null==M?void 0:M.classNames)?void 0:y.actionButton)},M.action.label):null))};function E(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}var C=(0,o.forwardRef)(function(e,t){let{invert:n,position:l="bottom-right",hotkey:s=["altKey","KeyT"],expand:u,closeButton:c,className:d,offset:f,mobileOffset:h,theme:p="light",richColors:m,duration:g,style:y,visibleToasts:b=3,toastOptions:w,dir:C=E(),gap:k=14,loadingIcon:M,icons:_,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:j}=e,[O,L]=o.useState([]),A=o.useMemo(()=>Array.from(new Set([l].concat(O.filter(e=>e.position).map(e=>e.position)))),[O,l]),[T,P]=o.useState([]),[N,F]=o.useState(!1),[R,$]=o.useState(!1),[D,z]=o.useState("system"!==p?p:"u">typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),I=o.useRef(null),H=s.join("+").replace(/Key/g,"").replace(/Digit/g,""),B=o.useRef(null),W=o.useRef(!1),U=o.useCallback(e=>{L(t=>{var n;return null!=(n=t.find(t=>t.id===e.id))&&n.delete||v.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return o.useEffect(()=>v.subscribe(e=>{if(e.dismiss){L(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t));return}setTimeout(()=>{i.flushSync(()=>{L(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[]),o.useEffect(()=>{if("system"!==p){z(p);return}if("system"===p&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{z(e?"dark":"light")})}catch{e.addListener(({matches:e})=>{try{z(e?"dark":"light")}catch(e){console.error(e)}})}},[p]),o.useEffect(()=>{O.length<=1&&F(!1)},[O]),o.useEffect(()=>{let e=e=>{var t,n;s.every(t=>
249e[t]||e.code===t)&&(F(!0),null==(t=I.current)||t.focus()),"Escape"===e.code&&(document.activeElement===I.current||null!=(n=I.current)&&n.contains(document.activeElement))&&F(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[s]),o.useEffect(()=>{if(I.current)return()=>{B.current&&(B.current.focus({preventScroll:!0}),B.current=null,W.current=!1)}},[I.current]),o.createElement("section",{ref:t,"aria-label":`${S} ${H}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},A.map((t,i)=>{var l;let s;let[p,v]=t.split("-");return O.length?o.createElement("ol",{key:t,dir:"auto"===C?E():C,tabIndex:-1,ref:I,className:d,"data-sonner-toaster":!0,"data-theme":D,"data-y-position":p,"data-lifted":N&&O.length>1&&!u,"data-x-position":v,style:{"--front-toast-height":`${(null==(l=T[0])?void 0:l.height)||0}px`,"--width":"356px","--gap":`${k}px`,...y,...(s={},[f,h].forEach((e,t)=>{let n=1===t,o=n?"--mobile-offset":"--offset",i=n?"16px":"32px";function l(e){["top","right","bottom","left"].forEach(t=>{s[`${o}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?l(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?s[`${o}-${t}`]=i:s[`${o}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):l(i)}),s)},onBlur:e=>{W.current&&!e.currentTarget.contains(e.relatedTarget)&&(W.current=!1,B.current&&(B.current.focus({preventScroll:!0}),B.current=null))},onFocus:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||W.current||(W.current=!0,B.current=e.relatedTarget)},onMouseEnter:()=>F(!0),onMouseMove:()=>F(!0),onMouseLeave:()=>{R||F(!1)},onDragEnd:()=>F(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||$(!0)},onPointerUp:()=>$(!1)},O.filter(e=>!e.position&&0===i||e.position===t).map((i,l)=>{var s,d;return o.createElement(x,{key:i.id,icons:_,index:l,toast:i,defaultRichColors:m,duration:null!=(s=null==w?void 0:w.duration)?s:g,className:null==w?void 0:w.className,descriptionClassName:null==w?void 0:w.descriptionClassName,invert:n,visibleToasts:b,closeButton:null!=(d=null==w?void 0:w.closeButton)?d:c,interacting:R,position:t,style:null==w?void 0:w.style,unstyled:null==w?void 0:w.unstyled,classNames:null==w?void 0:w.classNames,cancelButtonStyle:null==w?void 0:w.cancelButtonStyle,actionButtonStyle:null==w?void 0:w.actionButtonStyle,removeToast:U,toasts:O.filter(e=>e.position==i.position),heights:T.filter(e=>e.position==i.position),setHeights:P,expandByDefault:u,gap:k,loadingIcon:M,expanded:N,pauseWhenPageIsHidden:j,swipeDirections:e.swipeDirections})})):null}))})},72370:function(e,t,n){"use strict";n.d(t,{j:function(){return u}});var o,i=n(11816),l=n(15139),s=n(59065);i.B.exports=function(){if(o)return l.w;o=1;var e=Symbol.for("react.element"),t=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function c(t,o,l){var s,c={},d=null,f=null;for(s in void 0!==l&&(d=""+l),void 0!==o.key&&(d=""+o.key),void 0!==o.ref&&(f=o.ref),o)n.call(o,s)&&!u.hasOwnProperty(s)&&(c[s]=o[s]);if(t&&t.defaultProps)for(s in o=t.defaultProps)void 0===c[s]&&(c[s]=o[s]);return{$$typeof:e,type:t,key:d,ref:f,props:c,_owner:i.current}}return l.w.Fragment=t,l.w.jsx=c,l.w.jsxs=c,l.w}();var u=i.B.exports},72938:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return s},RedirectType:function(){return o.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return o.permanentRedirect},redirect:function(){return o.redirect}});let o=n(75435),i=n(90123);class l extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class s extends URLSearchParams{append(){throw new l}delete(){throw new l}set(){throw new l}sort(){throw new l}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
249dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},72995:function(e,t){"use strict";function n(e){return Object.prototype.toString.call(e)}function o(e){if("[object Object]"!==n(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t.hasOwnProperty("isPrototypeOf")}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getObjectClassLabel:function(){return n},isPlainObject:function(){return o}})},74962:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getSortedRoutes:function(){return o.getSortedRoutes},isDynamicRoute:function(){return i.isDynamicRoute}});let o=n(83156),i=n(62592)},74967:function(e,t,n){"use strict";var o=n(59065),i=n(10686);function l(){let e=o.useContext(i.IntlContext);if(!e)throw Error(void 0);return e}t.useIntlContext=l,t.useLocale=function(){return l().locale}},75435:function(e,t,n){"use strict";var o,i;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return o},getRedirectError:function(){return d},getRedirectStatusCodeFromError:function(){return v},getRedirectTypeFromError:function(){return g},getURLFromRedirectError:function(){return m},isRedirectError:function(){return p},permanentRedirect:function(){return h},redirect:function(){return f}});let l=n(64866),s=n(2759),u=n(96326),c="NEXT_REDIRECT";function d(e,t,n){void 0===n&&(n=u.RedirectStatusCode.TemporaryRedirect);let o=Error(c);o.digest=c+";"+t+";"+e+";"+n+";";let i=l.requestAsyncStorage.getStore();return i&&(o.mutableCookies=i.mutableCookies),o}function f(e,t){void 0===t&&(t="replace");let n=s.actionAsyncStorage.getStore();throw d(e,t,(null==n?void 0:n.isAction)?u.RedirectStatusCode.SeeOther:u.RedirectStatusCode.TemporaryRedirect)}function h(e,t){void 0===t&&(t="replace");let n=s.actionAsyncStorage.getStore();throw d(e,t,(null==n?void 0:n.isAction)?u.RedirectStatusCode.SeeOther:u.RedirectStatusCode.PermanentRedirect)}function p(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,o,i]=e.digest.split(";",4),l=Number(i);return t===c&&("replace"===n||"push"===n)&&"string"==typeof o&&!isNaN(l)&&l in u.RedirectStatusCode}function m(e){return p(e)?e.digest.split(";",3)[2]:null}function g(e){if(!p(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function v(e){if(!p(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(i=o||(o={})).push="push",i.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76791:function(e,t){"use strict";function n(e,t){if(void 0===t&&(t={}),t.onlyHashChange){e();return}let n=document.documentElement,o=n.style.scrollBehavior;n.style.scrollBehavior="auto",t.dontForceLayout||n.getClientRects(),e(),n.style.scrollBehavior=o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"handleSmoothScroll",{enumerable:!0,get:function(){return n}})},77223:function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}n.r(t),n.d(t,{_:function(){return o},_interop_require_default:function(){return o}})},77554:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return d}});let o=n(14611),i=n(14552),l=n(41153),s=n(58673),u=n(65670),c=n(20638);function d(e,t,n,d,f,h){let p,m=!1,g=!1,v=(0,c.parseRelativeUrl)(e),y=(0,l.removeTrailingSlash)((0,s.normalizeLocalePath)((0,u.removeBasePath)(v.pathname),h).pathname),b=n=>{let c=(0,o.getPathMatch)(n.source+"",{removeUnnamedParams:!0,strict:!0})(v.pathname);if((n.has||n.missing)&&c){let e=(0,i.matchHas)({headers:{host:document.location.hostname,"user-agent":navigator.userAgent},cookies:document.cookie.split("; ").reduce((e,t)=>
249{let[n,...o]=t.split("=");return e[n]=o.join("="),e},{})},v.query,n.has,n.missing);e?Object.assign(c,e):c=!1}if(c){if(!n.destination)return g=!0,!0;let o=(0,i.prepareDestination)({appendParamsToQuery:!0,destination:n.destination,params:c,query:d});if(v=o.parsedDestination,e=o.newUrl,Object.assign(d,o.parsedDestination.query),y=(0,l.removeTrailingSlash)((0,s.normalizeLocalePath)((0,u.removeBasePath)(e),h).pathname),t.includes(y))return m=!0,p=y,!0;if((p=f(y))!==e&&t.includes(p))return m=!0,!0}},w=!1;for(let e=0;e<n.beforeFiles.length;e++)b(n.beforeFiles[e]);if(!(m=t.includes(y))){if(!w){for(let e=0;e<n.afterFiles.length;e++)if(b(n.afterFiles[e])){w=!0;break}}if(w||(p=f(y),w=m=t.includes(p)),!w){for(let e=0;e<n.fallback.length;e++)if(b(n.fallback[e])){w=!0;break}}}return{asPath:e,parsedAs:v,matchedPage:m,resolvedHref:p,externalDest:g}}},77619:function(e,t,n){"use strict";n.d(t,{Mz:function(){return tr},i3:function(){return ta},UC:function(){return tn},bL:function(){return tt},Bk:function(){return eZ}});var o=n(59065);let i=["top","right","bottom","left"],l=Math.min,s=Math.max,u=Math.round,c=Math.floor,d=e=>({x:e,y:e}
249),f={left:"right",right:"left",bottom:"top",top:"bottom"},h={start:"end",end:"start"};function p(e,t){return"function"==typeof e?e(t):e}function m(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function v(e){return"x"===e?"y":"x"}function y(e){return"y"===e?"height":"width"}let b=new Set(["top","bottom"]);function w(e){return b.has(m(e))?"y":"x"}function x(e){return e.replace(/start|end/g,e=>h[e])}let E=["left","right"],C=["right","left"],k=["top","bottom"],M=["bottom","top"];function _(e){return e.replace(/left|right|bottom|top/g,e=>f[e])}function S(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function j(e){let{x:t,y:n,width:o,height:i}=e;return{width:o,height:i,top:n,left:t,right:t+o,bottom:n+i,x:t,y:n}}function O(e,t,n){let o,{reference:i,floating:l}=e,s=w(t),u=v(w(t)),c=y(u),d=m(t),f="y"===s,h=i.x+i.width/2-l.width/2,p=i.y+i.height/2-l.height/2,b=i[c]/2-l[c]/2;switch(d){case"top":o={x:h,y:i.y-l.height};break;case"bottom":o={x:h,y:i.y+i.height};break;case"right":o={x:i.x+i.width,y:p};break;case"left":o={x:i.x-l.width,y:p};break;default:o={x:i.x,y:i.y}}switch(g(t)){case"start":o[u]-=b*(n&&f?-1:1);break;case"end":o[u]+=b*(n&&f?-1:1)}return o}let L=async(e,t,n)=>{let{placement:o="bottom",strategy:i="absolute",middleware:l=[],platform:s}=n,u=l.filter(Boolean),c=await (null==s.isRTL?void 0:s.isRTL(t)),d=await s.getElementRects({reference:e,floating:t,strategy:i}),{x:f,y:h}=O(d,o,c),p=o,m={},g=0;for(let n=0;n<u.length;n++){let{name:l,fn:v}=u[n],{x:y,y:b,data:w,reset:x}=await v({x:f,y:h,initialPlacement:o,placement:p,strategy:i,middlewareData:m,rects:d,platform:s,elements:{reference:e,floating:t}});f=y??f,h=b??h,m={...m,[l]:{...m[l],...w}},x&&g<=50&&(g++,"object"==typeof x&&(x.placement&&(p=x.placement),x.rects&&(d=!0===x.rects?await s.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:f,y:h}=O(d,p,c)),n=-1)}return{x:f,y:h,placement:p,strategy:i,middlewareData:m}};async function A(e,t){var n;void 0===t&&(t={});let{x:o,y:i,platform:l,rects:s,elements:u,strategy:c}=e,{boundary:d="clippingAncestors",rootBoundary:f="viewport",elementContext:h="floating",altBoundary:m=!1,padding:g=0}=p(t,e),v=S(g),y=u[m?"floating"===h?"reference":"floating":h],b=j(await l.getClippingRect({element:null==(n=await (null==l.isElement?void 0:l.isElement(y)))||n?y:y.contextElement||await (null==l.getDocumentElement?void 0:l.getDocumentElement(u.floating)),boundary:d,rootBoundary:f,strategy:c})),w="floating"===h?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,x=await (null==l.getOffsetParent?void 0:l.getOffsetParent(u.floating)),E=await (null==l.isElement?void 0:l.isElement(x))&&await (null==l.getScale?void 0:l.getScale(x))||{x:1,y:1},C=j(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:u,rect:w,offsetParent:x,strategy:c}):w);return{top:(b.top-C.top+v.top)/E.y,bottom:(C.bottom-b.bottom+v.bottom)/E.y,left:(b.left-C.left+v.left)/E.x,right:(C.right-b.right+v.right)/E.x}}function T(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function P(e){return i.some(t=>e[t]>=0)}let N=new Set(["left","top"]);async function F(e,t){let{placement:n,platform:o,elements:i}=e,l=await (null==o.isRTL?void 0:o.isRTL(i.floating)),s=m(n),u=g(n),c="y"===w(n),d=N.has(s)?-1:1,f=l&&c?-1:1,h=p(t,e),{mainAxis:v,crossAxis:y,alignmentAxis:b}="number"==typeof h?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return u&&"number"==typeof b&&(y="end"===u?-1*b:b),c?{x:y*f,y:v*d}:{x:v*d,y:y*f}}function R(){return"u">typeof window}function $(e){return I(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function z(e){var t;return null==(t=(I(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function I(e){return!!R()&&(e instanceof Node||e instanceof D(e).Node)}function H(e){return!!R()&&(e instanceof Element||e instanceof D(e).Element)}function B(e){return!!R()&&(e instanceof HTMLElement||e instanceof D(e).HTMLElement)}function W(e){return!(!R()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof D(e).ShadowRoot)}let U=new Set(["inline","contents"]);function q(e){let{overflow:t,overflowX:n,overflowY:o,display:i}=en(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!U.has(i)}let G=new Set(["table","td","th"]),Y=[":popover-open",":modal"];function Z(e){return Y.some(t=>{try{return e.matches(t)}catch{return!1}})}let K=["transform","translate","scale","rotate","perspective"],Q=["transform","translate","scale","rotate","perspective","filter"],X=["paint","layout","strict","content"];function J(e){let t=ee(),n=H(e)?en(e):e;return K.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||Q.some(e=>(n.willChange||"").includes(e))||X.some(e=>(n.contain||"").includes(e))}function ee(){return!(typeof CSS>"u")&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let et=new Set(["html","body","#document"]);function er(e){return et.has($(e))}function en(e){return D(e).getComputedStyle(e)}function ea(e){return H(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function eo(e){if("html"===$(e))return e;let t=e.assignedSlot||e.parentNode||W(e)&&e.host||z(e);return W(t)?t.host:t}
249function ei(e,t,n){var o;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=eo(t);return er(n)?t.ownerDocument?t.ownerDocument.body:t.body:B(n)&&q(n)?n:e(n)}(e),l=i===(null==(o=e.ownerDocument)?void 0:o.body),s=D(i);if(l){let e=el(s);return t.concat(s,s.visualViewport||[],q(i)?i:[],e&&n?ei(e):[])}return t.concat(i,ei(i,[],n))}function el(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function es(e){let t=en(e),n=parseFloat(t.width)||0,o=parseFloat(t.height)||0,i=B(e),l=i?e.offsetWidth:n,s=i?e.offsetHeight:o,c=u(n)!==l||u(o)!==s;return c&&(n=l,o=s),{width:n,height:o,$:c}}function eu(e){return H(e)?e:e.contextElement}function ec(e){let t=eu(e);if(!B(t))return d(1);let n=t.getBoundingClientRect(),{width:o,height:i,$:l}=es(t),s=(l?u(n.width):n.width)/o,c=(l?u(n.height):n.height)/i;return s&&Number.isFinite(s)||(s=1),c&&Number.isFinite(c)||(c=1),{x:s,y:c}}let ed=d(0);function ef(e){let t=D(e);return ee()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:ed}function eh(e,t,n,o){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let l=e.getBoundingClientRect(),s=eu(e),u=d(1);t&&(o?H(o)&&(u=ec(o)):u=ec(e));let c=(void 0===(i=n)&&(i=!1),o&&(!i||o===D(s))&&i)?ef(s):d(0),f=(l.left+c.x)/u.x,h=(l.top+c.y)/u.y,p=l.width/u.x,m=l.height/u.y;if(s){let e=D(s),t=o&&H(o)?D(o):o,n=e,i=el(n);for(;i&&o&&t!==n;){let e=ec(i),t=i.getBoundingClientRect(),o=en(i),l=t.left+(i.clientLeft+parseFloat(o.paddingLeft))*e.x,s=t.top+(i.clientTop+parseFloat(o.paddingTop))*e.y;f*=e.x,h*=e.y,p*=e.x,m*=e.y,f+=l,h+=s,i=el(n=D(i))}}return j({width:p,height:m,x:f,y:h})}function ep(e,t){let n=ea(e).scrollLeft;return t?t.left+n:eh(z(e)).left+n}function em(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-ep(e,n),y:n.top+t.scrollTop}}let eg=new Set(["absolute","fixed"]);function ev(e,t,n){let o;if("viewport"===t)o=function(e,t){let n=D(e),o=z(e),i=n.visualViewport,l=o.clientWidth,s=o.clientHeight,u=0,c=0;if(i){l=i.width,s=i.height;let e=ee();(!e||e&&"fixed"===t)&&(u=i.offsetLeft,c=i.offsetTop)}let d=ep(o);if(d<=0){let e=o.ownerDocument,t=e.body,n=getComputedStyle(t),i="CSS1Compat"===e.compatMode&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,s=Math.abs(o.clientWidth-t.clientWidth-i);s<=25&&(l-=s)}else d<=25&&(l+=d);return{width:l,height:s,x:u,y:c}}(e,n);else if("document"===t)o=function(e){let t=z(e),n=ea(e),o=e.ownerDocument.body,i=s(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),l=s(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),u=-n.scrollLeft+ep(e),c=-n.scrollTop;return"rtl"===en(o).direction&&(u+=s(t.clientWidth,o.clientWidth)-i),{width:i,height:l,x:u,y:c}}(z(e));else if(H(t))o=function(e,t){let n=eh(e,!0,"fixed"===t),o=n.top+e.clientTop,i=n.left+e.clientLeft,l=B(e)?ec(e):d(1),s=e.clientWidth*l.x;return{width:s,height:e.clientHeight*l.y,x:i*l.x,y:o*l.y}}(t,n);else{let n=ef(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return j(o)}function ey(e){return"static"===en(e).position}function eb(e,t){if(!B(e)||"fixed"===en(e).position)return null;if(t)return t(e);let n=e.offsetParent;return z(e)===n&&(n=n.ownerDocument.body),n}function ew(e,t){var n;let o=D(e);if(Z(e))return o;if(!B(e)){let t=eo(e);for(;t&&!er(t);){if(H(t)&&!ey(t))return t;t=eo(t)}return o}let i=eb(e,t);for(;i&&(n=i,G.has($(n)))&&ey(i);)i=eb(i,t);return i&&er(i)&&ey(i)&&!J(i)?o:i||function(e){let t=eo(e);for(;B(t)&&!er(t);){if(J(t))return t;if(Z(t))break;t=eo(t)}return null}(e)||o}let ex=async function(e){let t=this.getOffsetParent||ew,n=this.getDimensions,o=await n(e.floating);return{reference:function(e,t,n){let o=B(t),i=z(t),l="fixed"===n,s=eh(e,!0,l,t),u={scrollLeft:0,scrollTop:0},c=d(0);if(o||!o&&!l){if(("body"!==$(t)||q(i))&&(u=ea(t)),o){let e=eh(t,!0,l,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&(c.x=ep(i))}l&&!o&&i&&(c.x=ep(i));let f=!i||o||l?d(0):em(i,u);return{x:s.left+u.scrollLeft-c.x-f.x,y:s.top+u.scrollTop-c.y-f.y,width:s.width,height:s.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}},eE={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:o,strategy:i}=e,l="fixed"===i,s=z(o),u=!!t&&Z(t.floating);if(o===s||u&&l)return n;let c={scrollLeft:0,scrollTop:0},f=d(1),h=d(0),p=B(o);
249if((p||!p&&!l)&&(("body"!==$(o)||q(s))&&(c=ea(o)),B(o))){let e=eh(o);f=ec(o),h.x=e.x+o.clientLeft,h.y=e.y+o.clientTop}let m=!s||p||l?d(0):em(s,c);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-c.scrollLeft*f.x+h.x+m.x,y:n.y*f.y-c.scrollTop*f.y+h.y+m.y}},getDocumentElement:z,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:o,strategy:i}=e,u=[..."clippingAncestors"===n?Z(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let o=ei(e,[],!1).filter(e=>H(e)&&"body"!==$(e)),i=null,l="fixed"===en(e).position,s=l?eo(e):e;for(;H(s)&&!er(s);){let t=en(s),n=J(s);n||"fixed"!==t.position||(i=null),(l?!n&&!i:!n&&"static"===t.position&&!!i&&eg.has(i.position)||q(s)&&!n&&function e(t,n){let o=eo(t);return!(o===n||!H(o)||er(o))&&("fixed"===en(o).position||e(o,n))}(e,s))?o=o.filter(e=>e!==s):i=t,s=eo(s)}return t.set(e,o),o}(t,this._c):[].concat(n),o],c=u[0],d=u.reduce((e,n)=>{let o=ev(t,n,i);return e.top=s(o.top,e.top),e.right=l(o.right,e.right),e.bottom=l(o.bottom,e.bottom),e.left=s(o.left,e.left),e},ev(t,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}},getOffsetParent:ew,getElementRects:ex,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=es(e);return{width:t,height:n}},getScale:ec,isElement:H,isRTL:function(e){return"rtl"===en(e).direction}};function eC(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ek=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:o,placement:i,rects:u,platform:c,elements:d,middlewareData:f}=t,{element:h,padding:m=0}=p(e,t)||{};if(null==h)return{};let b=S(m),x={x:n,y:o},E=v(w(i)),C=y(E),k=await c.getDimensions(h),M="y"===E,_=M?"clientHeight":"clientWidth",j=u.reference[C]+u.reference[E]-x[E]-u.floating[C],O=x[E]-u.reference[E],L=await (null==c.getOffsetParent?void 0:c.getOffsetParent(h)),A=L?L[_]:0;A&&await (null==c.isElement?void 0:c.isElement(L))||(A=d.floating[_]||u.floating[C]);let T=A/2-k[C]/2-1,P=l(b[M?"top":"left"],T),N=l(b[M?"bottom":"right"],T),F=A-k[C]-N,R=A/2-k[C]/2+(j/2-O/2),$=s(P,l(R,F)),D=!f.arrow&&null!=g(i)&&R!==$&&u.reference[C]/2-(R<P?P:N)-k[C]/2<0,z=D?R<P?R-P:R-F:0;return{[E]:x[E]+z,data:{[E]:$,centerOffset:R-$-z,...D&&{alignmentOffset:z}},reset:D}}}),eM=(e,t,n)=>{let o=new Map,i={platform:eE,...n},l={...i.platform,_c:o};return L(e,t,{...i,platform:l})};var e_=n(3517),eS="u">typeof document?o.useLayoutEffect:function(){};function ej(e,t){let n,o,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(o=n;0!=o--;)if(!ej(e[o],t[o]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(o=n;0!=o--;)if(!({}).hasOwnProperty.call(t,i[o]))return!1;for(o=n;0!=o--;){let n=i[o];if(!("_owner"===n&&e.$$typeof)&&!ej(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eO(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function eL(e,t){let n=eO(e);return Math.round(t*n)/n}function eA(e){let t=o.useRef(e);return eS(()=>{t.current=e}),t}let eT=e=>({name:"arrow",options:e,fn(t){let{element:n,padding:o}="function"==typeof e?e(t):e;return n&&({}).hasOwnProperty.call(n,"current")?null!=n.current?ek({element:n.current,padding:o}).fn(t):{}:n?ek({element:n,padding:o}).fn(t):{}}}),eP=(e,t)=>{var n;return{...(void 0===(n=e)&&(n=0),{name:"offset",options:n,async fn(e){var t,o;let{x:i,y:l,placement:s,middlewareData:u}=e,c=await F(e,n);return s===(null==(t=u.offset)?void 0:t.placement)&&null!=(o=u.arrow)&&o.alignmentOffset?{}:{x:i+c.x,y:l+c.y,data:{...c,placement:s}}}}),options:[e,t]}},eN=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"shift",options:n,async fn(e){let{x:t,y:o,placement:i}=e,{mainAxis:u=!0,crossAxis:c=!1,limiter:d={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...f}=p(n,e),h={x:t,y:o},g=await A(e,f),y=w(m(i)),b=v(y),x=h[b],E=h[y];if(u){let e="y"===b?"top":"left",t="y"===b?"bottom":"right",n=x+g[e],o=x-g[t];x=s(n,l(x,o))}if(c){let e="y"===y?"top":"left",t="y"===y?"bottom":"right",n=E+g[e],o=E-g[t];
249E=s(n,l(E,o))}let C=d.fn({...e,[b]:x,[y]:E});return{...C,data:{x:C.x-t,y:C.y-o,enabled:{[b]:u,[y]:c}}}}}),options:[e,t]}},eF=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{options:n,fn(e){let{x:t,y:o,placement:i,rects:l,middlewareData:s}=e,{offset:u=0,mainAxis:c=!0,crossAxis:d=!0}=p(n,e),f={x:t,y:o},h=w(i),g=v(h),y=f[g],b=f[h],x=p(u,e),E="number"==typeof x?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(c){let e="y"===g?"height":"width",t=l.reference[g]-l.floating[e]+E.mainAxis,n=l.reference[g]+l.reference[e]-E.mainAxis;y<t?y=t:y>n&&(y=n)}if(d){var C,k;let e="y"===g?"width":"height",t=N.has(m(i)),n=l.reference[h]-l.floating[e]+(t&&(null==(C=s.offset)?void 0:C[h])||0)+(t?0:E.crossAxis),o=l.reference[h]+l.reference[e]+(t?0:(null==(k=s.offset)?void 0:k[h])||0)-(t?E.crossAxis:0);b<n?b=n:b>o&&(b=o)}return{[g]:y,[h]:b}}}),options:[e,t]}},eR=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"flip",options:n,async fn(e){var t,o,i,l,s;let{placement:u,middlewareData:c,rects:d,initialPlacement:f,platform:h,elements:b}=e,{mainAxis:S=!0,crossAxis:j=!0,fallbackPlacements:O,fallbackStrategy:L="bestFit",fallbackAxisSideDirection:T="none",flipAlignment:P=!0,...N}=p(n,e);if(null!=(t=c.arrow)&&t.alignmentOffset)return{};let F=m(u),R=w(f),$=m(f)===f,D=await (null==h.isRTL?void 0:h.isRTL(b.floating)),z=O||($||!P?[_(f)]:function(e){let t=_(e);return[x(e),t,x(t)]}(f)),I="none"!==T;!O&&I&&z.push(...function(e,t,n,o){let i=g(e),l=function(e,t,n){switch(e){case"top":case"bottom":return n?t?C:E:t?E:C;case"left":case"right":return t?k:M;default:return[]}}(m(e),"start"===n,o);return i&&(l=l.map(e=>e+"-"+i),t&&(l=l.concat(l.map(x)))),l}(f,P,T,D));let H=[f,...z],B=await A(e,N),W=[],U=(null==(o=c.flip)?void 0:o.overflows)||[];if(S&&W.push(B[F]),j){let e=function(e,t,n){void 0===n&&(n=!1);let o=g(e),i=v(w(e)),l=y(i),s="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return t.reference[l]>t.floating[l]&&(s=_(s)),[s,_(s)]}(u,d,D);W.push(B[e[0]],B[e[1]])}if(U=[...U,{placement:u,overflows:W}],!W.every(e=>e<=0)){let e=((null==(i=c.flip)?void 0:i.index)||0)+1,t=H[e];if(t&&(!("alignment"===j&&R!==w(t))||U.every(e=>w(e.placement)!==R||e.overflows[0]>0)))return{data:{index:e,overflows:U},reset:{placement:t}};let n=null==(l=U.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:l.placement;if(!n)switch(L){case"bestFit":{let e=null==(s=U.filter(e=>{if(I){let t=w(e.placement);return t===R||"y"===t}return!0}).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:s[0];e&&(n=e);break}case"initialPlacement":n=f}if(u!==n)return{reset:{placement:n}}}return{}}}),options:[e,t]}},e$=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"size",options:n,async fn(e){var t,o;let i,u;let{placement:c,rects:d,platform:f,elements:h}=e,{apply:v=()=>{},...y}=p(n,e),b=await A(e,y),x=m(c),E=g(c),C="y"===w(c),{width:k,height:M}=d.floating;"top"===x||"bottom"===x?(i=x,u=E===(await (null==f.isRTL?void 0:f.isRTL(h.floating))?"start":"end")?"left":"right"):(u=x,i="end"===E?"top":"bottom");let _=M-b.top-b.bottom,S=k-b.left-b.right,j=l(M-b[i],_),O=l(k-b[u],S),L=!e.middlewareData.shift,T=j,P=O;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(P=S),null!=(o=e.middlewareData.shift)&&o.enabled.y&&(T=_),L&&!E){let e=s(b.left,0),t=s(b.right,0),n=s(b.top,0),o=s(b.bottom,0);C?P=k-2*(0!==e||0!==t?e+t:s(b.left,b.right)):T=M-2*(0!==n||0!==o?n+o:s(b.top,b.bottom))}await v({...e,availableWidth:P,availableHeight:T});let N=await f.getDimensions(h.floating);return k!==N.width||M!==N.height?{reset:{rects:!0}}:{}}}),options:[e,t]}},eD=(e,t)=>{var n;return{...(void 0===(n=e)&&(n={}),{name:"hide",options:n,async fn(e){let{rects:t}=e,{strategy:o="referenceHidden",...i}=p(n,e);switch(o){case"referenceHidden":{let n=T(await A(e,{...i,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:P(n)}}}case"escaped":{let n=T(await A(e,{...i,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:P(n)}}}default:return{}}}}),options:[e,t]}},ez=(e,t)=>({...eT(e),options:[e,t]});var eI=n(46475),eH=n(72370),eB=o.forwardRef((e,t)=>
249{let{children:n,width:o=10,height:i=5,...l}=e;return eH.j.jsx(eI.s.svg,{...l,ref:t,width:o,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:eH.j.jsx("polygon",{points:"0,0 30,0 15,10"})})});eB.displayName="Arrow";var eW=n(32964),eV=n(82450),eU=n(47715),eq=n(37725),eG="Popper",[eY,eZ]=(0,eV.A)(eG),[eK,eQ]=eY(eG),eX=e=>{let{__scopePopper:t,children:n}=e,[i,l]=o.useState(null);return eH.j.jsx(eK,{scope:t,anchor:i,onAnchorChange:l,children:n})};eX.displayName=eG;var eJ="PopperAnchor",e1=o.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:i,...l}=e,s=eQ(eJ,n),u=o.useRef(null),c=(0,eW.s)(t,u),d=o.useRef(null);return o.useEffect(()=>{let e=d.current;d.current=(null==i?void 0:i.current)||u.current,e!==d.current&&s.onAnchorChange(d.current)}),i?null:eH.j.jsx(eI.s.div,{...l,ref:c})});e1.displayName=eJ;var e0="PopperContent",[e2,e3]=eY(e0),e5=o.forwardRef((e,t)=>{var n,i,u,d,f,h;let{__scopePopper:p,side:m="bottom",sideOffset:g=0,align:v="center",alignOffset:y=0,arrowPadding:b=0,avoidCollisions:w=!0,collisionBoundary:x=[],collisionPadding:E=0,sticky:C="partial",hideWhenDetached:k=!1,updatePositionStrategy:M="optimized",onPlaced:_,...S}=e,j=eQ(e0,p),[O,L]=o.useState(null),A=(0,eW.s)(t,e=>L(e)),[T,P]=o.useState(null),N=function(e){let[t,n]=o.useState(void 0);return(0,eq.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let o,i;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,i=t.blockSize}else o=e.offsetWidth,i=e.offsetHeight;n({width:o,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(T),F=(null==N?void 0:N.width)??0,R=(null==N?void 0:N.height)??0,$="number"==typeof E?E:{top:0,right:0,bottom:0,left:0,...E},D=Array.isArray(x)?x:[x],I=D.length>0,H={padding:$,boundary:D.filter(e8),altBoundary:I},{refs:B,floatingStyles:W,placement:U,isPositioned:q,middlewareData:G}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:l,elements:{reference:s,floating:u}={},transform:c=!0,whileElementsMounted:d,open:f}=e,[h,p]=o.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[m,g]=o.useState(i);ej(m,i)||g(i);let[v,y]=o.useState(null),[b,w]=o.useState(null),x=o.useCallback(e=>{e!==M.current&&(M.current=e,y(e))},[]),E=o.useCallback(e=>{e!==_.current&&(_.current=e,w(e))},[]),C=s||v,k=u||b,M=o.useRef(null),_=o.useRef(null),S=o.useRef(h),j=null!=d,O=eA(d),L=eA(l),A=eA(f),T=o.useCallback(()=>{if(!M.current||!_.current)return;let e={placement:t,strategy:n,middleware:m};L.current&&(e.platform=L.current),eM(M.current,_.current,e).then(e=>{let t={...e,isPositioned:!1!==A.current};P.current&&!ej(S.current,t)&&(S.current=t,e_.flushSync(()=>{p(t)}))})},[m,t,n,L,A]);eS(()=>{!1===f&&S.current.isPositioned&&(S.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[f]);let P=o.useRef(!1);eS(()=>(P.current=!0,()=>{P.current=!1}),[]),eS(()=>{if(C&&(M.current=C),k&&(_.current=k),C&&k){if(O.current)return O.current(C,k,T);T()}},[C,k,T,O,j]);let N=o.useMemo(()=>({reference:M,floating:_,setReference:x,setFloating:E}),[x,E]),F=o.useMemo(()=>({reference:C,floating:k}),[C,k]),R=o.useMemo(()=>{let e={position:n,left:0,top:0};if(!F.floating)return e;let t=eL(F.floating,h.x),o=eL(F.floating,h.y);return c?{...e,transform:"translate("+t+"px, "+o+"px)",...eO(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:o}},[n,c,F.floating,h.x,h.y]);return o.useMemo(()=>({...h,update:T,refs:N,elements:F,floatingStyles:R}),[h,T,N,F,R])}({strategy:"fixed",placement:m+("center"!==v?"-"+v:""),whileElementsMounted:(...e)=>(function(e,t,n,o){void 0===o&&(o={});let{ancestorScroll:i=!0,ancestorResize:u=!0,elementResize:d="function"==typeof ResizeObserver,layoutShift:f="function"==typeof IntersectionObserver,animationFrame:h=!1}=o,p=eu(e),m=i||u?[...p?ei(p):[],...ei(t)]:[];m.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let g=p&&f?function(e,t){let n=null,o,i=z(e);function u(){var e;clearTimeout(o),null==(e=n)||e.disconnect(),n=null}return function d(f,h){void 0===f&&(f=!1),void 0===h&&(h=1),u();let p=e.getBoundingClientRect(),{left:m,top:g,width:v,height:y}=p;if(f||t(),!v||!y)return;let b=c(g),w={rootMargin:-b+"px "+-c(i.clientWidth-(m+v))+"px "+-c(i.clientHeight-(g+y))+"px "+-c(m)+"px",threshold:s(0,l(1,h))||1},x=!0;function E(t){let n=t[0].intersectionRatio;if(n!==h){if(!x)return d();n?d(!1,n):o=setTimeout(()=>{d(!1,1e-7)},1e3)}1!==n||eC(p,e.getBoundingClientRect())||d(),x=!1}try{n=new IntersectionObserver(E,{...w,root:i.ownerDocument})}catch{n=new IntersectionObserver(E,w)}n.observe(e)}(!0),u}(p,n):null,v=-1,y=null;d&&(y=new ResizeObserver(e=>{let[o]=e;o&&o.target===p&&y&&(y.unobserve(t),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),p&&!h&&y.observe(p),y.observe(t));let b,w=h?eh(e):null;return h&&function t(){let o=eh(e);w&&!eC(w,o)&&n(),w=o,b=requestAnimationFrame(t)}(),n(),()=>{var e;
249m.forEach(e=>{i&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==g||g(),null==(e=y)||e.disconnect(),y=null,h&&cancelAnimationFrame(b)}})(...e,{animationFrame:"always"===M}),elements:{reference:j.anchor},middleware:[eP({mainAxis:g+R,alignmentAxis:y}),w&&eN({mainAxis:!0,crossAxis:!1,limiter:"partial"===C?eF():void 0,...H}),w&&eR({...H}),e$({...H,apply:({elements:e,rects:t,availableWidth:n,availableHeight:o})=>{let{width:i,height:l}=t.reference,s=e.floating.style;s.setProperty("--radix-popper-available-width",`${n}px`),s.setProperty("--radix-popper-available-height",`${o}px`),s.setProperty("--radix-popper-anchor-width",`${i}px`),s.setProperty("--radix-popper-anchor-height",`${l}px`)}}),T&&ez({element:T,padding:b}),e9({arrowWidth:F,arrowHeight:R}),k&&eD({strategy:"referenceHidden",...H})]}),[Y,Z]=te(U),K=(0,eU.c)(_);(0,eq.N)(()=>{q&&(null==K||K())},[q,K]);let Q=null==(n=G.arrow)?void 0:n.x,X=null==(i=G.arrow)?void 0:i.y,J=(null==(u=G.arrow)?void 0:u.centerOffset)!==0,[ee,et]=o.useState();return(0,eq.N)(()=>{O&&et(window.getComputedStyle(O).zIndex)},[O]),eH.j.jsx("div",{ref:B.setFloating,"data-radix-popper-content-wrapper":"",style:{...W,transform:q?W.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ee,"--radix-popper-transform-origin":[null==(d=G.transformOrigin)?void 0:d.x,null==(f=G.transformOrigin)?void 0:f.y].join(" "),...(null==(h=G.hide)?void 0:h.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:eH.j.jsx(e2,{scope:p,placedSide:Y,onArrowChange:P,arrowX:Q,arrowY:X,shouldHideArrow:J,children:eH.j.jsx(eI.s.div,{"data-side":Y,"data-align":Z,...S,ref:A,style:{...S.style,animation:q?void 0:"none"}})})})});e5.displayName=e0;var e4="PopperArrow",e6={top:"bottom",right:"left",bottom:"top",left:"right"},e7=o.forwardRef(function(e,t){let{__scopePopper:n,...o}=e,i=e3(e4,n),l=e6[i.placedSide];return eH.j.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[l]: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},children:eH.j.jsx(eB,{...o,ref:t,style:{...o.style,display:"block"}})})});function e8(e){return null!==e}e7.displayName=e4;var e9=e=>({name:"transformOrigin",options:e,fn(t){var n,o,i;let{placement:l,rects:s,middlewareData:u}=t,c=(null==(n=u.arrow)?void 0:n.centerOffset)!==0,d=c?0:e.arrowWidth,f=c?0:e.arrowHeight,[h,p]=te(l),m={start:"0%",center:"50%",end:"100%"}[p],g=((null==(o=u.arrow)?void 0:o.x)??0)+d/2,v=((null==(i=u.arrow)?void 0:i.y)??0)+f/2,y="",b="";return"bottom"===h?(y=c?m:`${g}px`,b=`${-f}px`):"top"===h?(y=c?m:`${g}px`,b=`${s.floating.height+f}px`):"right"===h?(y=`${-f}px`,b=c?m:`${v}px`):"left"===h&&(y=`${s.floating.width+f}px`,b=c?m:`${v}px`),{data:{x:y,y:b}}}});function te(e){let[t,n="center"]=e.split("-");return[t,n]}var tt=eX,tr=e1,tn=e5,ta=e7},77813:function(e,t,n){"use strict";function o(e){return(t,n={})=>{let o=t.match(e.matchPattern);if(!o)return null;let i=o[0],l=t.match(e.parsePattern);if(!l)return null;let s=e.valueCallback?e.valueCallback(l[0]):l[0];return{value:s=n.valueCallback?n.valueCallback(s):s,rest:t.slice(i.length)}}}n.d(t,{K:function(){return o}})},78007:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createRouteLoader:function(){return v},getClientBuildManifest:function(){return m},isAssetError:function(){return d},markAssetError:function(){return c}}),n(77223),n(90856);let o=n(17141),i=n(93456),l=n(57339);function s(e,t,n){let o,i=t.get(e);if(i)return"future"in i?i.future:Promise.resolve(i);let l=new Promise(e=>{o=e});return t.set(e,i={resolve:o,future:l}),n?n().then(e=>(o(e),e)).catch(n=>{throw t.delete(e),n}):l}let u=Symbol("ASSET_LOAD_ERROR");function c(e){return Object.defineProperty(e,u,{})}function d(e){return e&&u in e}let f=function(e){try{return e=document.createElement("link"),!!window.MSInputMethodContext&&!!document.documentMode||e.relList.supports("prefetch")}catch(e){return!1}}(),h=()=>(0,l.getDeploymentIdQueryOrEmptyString)();function p(e,t,n){return new Promise((o,l)=>{let s=!1;e.then(e=>{s=!0,o(e)}).catch(l),(0,i.requestIdleCallback)(()=>setTimeout(()=>{s||l(n)},t))})}function m(){return self.__BUILD_MANIFEST?Promise.resolve(self.__BUILD_MANIFEST):p(new Promise(e=>{let t=self.__BUILD_MANIFEST_CB;self.__BUILD_MANIFEST_CB=()=>{e(self.__BUILD_MANIFEST),t&&t()}}),3800,c(Error("Failed to load client build manifest")))}function g(e,t){return m().then(n=>{if(!(t in n))throw c(Error("Failed to lookup route: "+t));let i=n[t].map(t=>e+"/_next/"+encodeURI(t));return{scripts:i.filter(e=>e.endsWith(".js")).map(e=>(0,o.__unsafeCreateTrustedScriptURL)(e)+h()),css:i.filter(e=>e.endsWith(".css")).map(e=>e+h())}})}function v(e){let t=new Map,n=new Map,o=new Map,l=new Map;function u(e){{var t;let o=n.get(e.toString());return o||(document.querySelector('script[src^="'+e+'"]')?Promise.resolve():(n.set(e.toString(),o=new Promise((n,o)=>{(t=document.createElement("script")).onload=n,t.onerror=()=>o(c(Error("Failed to load script: "+e))),t.crossOrigin=void 0,t.src=e,document.body.appendChild(t)})),o))}}function d(e){let t=o.get(e);return t||o.set(e,t=fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw Error("Failed to load stylesheet: "+e);return t.text().then(t=>({href:e,content:t}))}).catch(e=>{throw c(e)})),t}return{whenEntrypoint:e=>s(e,t),onEntrypoint(e,n){(n?Promise.resolve().then(()=>n()).then(e=>({component:e&&e.default||e,exports:e}),e=>({error:e})):Promise.resolve(void 0)).then(n=>{let o=t.get(e);o&&"resolve"in o?n&&(t.set(e,n),o.resolve(n)):(n?t.set(e,n):t.delete(e),l.delete(e))})},loadRoute(n,o){return s(n,l,()=>{let i;return p(g(e,n).then(e=>{let{scripts:o,css:i}=e;
249return Promise.all([t.has(n)?[]:Promise.all(o.map(u)),Promise.all(i.map(d))])}).then(e=>this.whenEntrypoint(n).then(t=>({entrypoint:t,styles:e[1]}))),3800,c(Error("Route did not complete loading: "+n))).then(e=>{let{entrypoint:t,styles:n}=e,o=Object.assign({styles:n},t);return"error"in t?t:o}).catch(e=>{if(o)throw e;return{error:e}}).finally(()=>null==i?void 0:i())})},prefetch(t){let n;return(n=navigator.connection)&&(n.saveData||/2g/.test(n.effectiveType))?Promise.resolve():g(e,t).then(e=>Promise.all(f?e.scripts.map(e=>{var t,n,o;return t=e.toString(),n="script",new Promise((e,i)=>{if(document.querySelector('\n link[rel="prefetch"][href^="'+t+'"],\n link[rel="preload"][href^="'+t+'"],\n script[src^="'+t+'"]'))return e();o=document.createElement("link"),n&&(o.as=n),o.rel="prefetch",o.crossOrigin=void 0,o.onload=e,o.onerror=()=>i(c(Error("Failed to prefetch: "+t))),o.href=t,document.head.appendChild(o)})}):[])).then(()=>{(0,i.requestIdleCallback)(()=>this.loadRoute(t,!0).catch(()=>{}))}).catch(()=>{})}}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},79094:function(e,t,n){"use strict";n.d(t,{q:function(){return p}});var o,i=n(59065),l=n(95339),s=n(46475),u=n(32964),c=n(47715),d=n(72370),f="dismissableLayer.update",h=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),p=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:p,onPointerDownOutside:v,onFocusOutside:y,onInteractOutside:b,onDismiss:w,...x}=e,E=i.useContext(h),[C,k]=i.useState(null),M=(null==C?void 0:C.ownerDocument)??(null==globalThis?void 0:globalThis.document),[,_]=i.useState({}),S=(0,u.s)(t,e=>k(e)),j=Array.from(E.layers),[O]=[...E.layersWithOutsidePointerEventsDisabled].slice(-1),L=j.indexOf(O),A=C?j.indexOf(C):-1,T=E.layersWithOutsidePointerEventsDisabled.size>0,P=A>=L,N=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,c.c)(e),o=i.useRef(!1),l=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!o.current){let o=function(){g("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",l.current),l.current=o,t.addEventListener("click",l.current,{once:!0})):o()}else t.removeEventListener("click",l.current);o.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",l.current)}},[t,n]),{onPointerDownCapture:()=>o.current=!0}}(e=>{let t=e.target,n=[...E.branches].some(e=>e.contains(t));!P||n||(null==v||v(e),null==b||b(e),e.defaultPrevented||null==w||w())},M),F=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,c.c)(e),o=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!o.current&&g("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>o.current=!0,onBlurCapture:()=>o.current=!1}}(e=>{let t=e.target;[...E.branches].some(e=>e.contains(t))||(null==y||y(e),null==b||b(e),e.defaultPrevented||null==w||w())},M);return function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,c.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{A===E.layers.size-1&&(null==p||p(e),!e.defaultPrevented&&w&&(e.preventDefault(),w()))},M),i.useEffect(()=>{if(C)return n&&(0===E.layersWithOutsidePointerEventsDisabled.size&&(o=M.body.style.pointerEvents,M.body.style.pointerEvents="none"),E.layersWithOutsidePointerEventsDisabled.add(C)),E.layers.add(C),m(),()=>{n&&1===E.layersWithOutsidePointerEventsDisabled.size&&(M.body.style.pointerEvents=o)}},[C,M,n,E]),i.useEffect(()=>()=>{C&&(E.layers.delete(C),E.layersWithOutsidePointerEventsDisabled.delete(C),m())},[C,E]),i.useEffect(()=>{let e=()=>_({});return document.addEventListener(f,e),()=>document.removeEventListener(f,e)},[]),d.j.jsx(s.s.div,{...x,ref:S,style:{pointerEvents:T?P?"auto":"none":void 0,...e.style},onFocusCapture:(0,l.m)(e.onFocusCapture,F.onFocusCapture),onBlurCapture:(0,l.m)(e.onBlurCapture,F.onBlurCapture),onPointerDownCapture:(0,l.m)(e.onPointerDownCapture,N.onPointerDownCapture)})});function m(){let e=new CustomEvent(f);document.dispatchEvent(e)}function g(e,t,n,{discrete:o}){let i=n.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),o?(0,s.h)(i,l):i.dispatchEvent(l)}p.displayName="DismissableLayer",i.forwardRef((e,t)=>
249{let n=i.useContext(h),o=i.useRef(null),l=(0,u.s)(t,o);return i.useEffect(()=>{let e=o.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),d.j.jsx(s.s.div,{...e,ref:l})}).displayName="DismissableLayerBranch"},81337:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(98701);let o=n(36974);window.next={version:o.version,get router(){return o.router},emitter:o.emitter},(0,o.initialize)({}).then(()=>(0,o.hydrate)()).catch(console.error),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},81901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{Router:function(){return l.default},createRouter:function(){return v},default:function(){return m},makePublicRouterInstance:function(){return y},useRouter:function(){return g},withRouter:function(){return c.default}});let o=n(77223),i=o._(n(59065)),l=o._(n(92923)),s=n(60019),u=o._(n(58492)),c=o._(n(69764)),d={router:null,readyCallbacks:[],ready(e){if(this.router)return e();this.readyCallbacks.push(e)}},f=["pathname","route","query","asPath","components","isFallback","basePath","locale","locales","defaultLocale","isReady","isPreview","isLocaleDomain","domainLocales"],h=["push","replace","reload","back","prefetch","beforePopState"];function p(){if(!d.router)throw Error('No router instance found.\nYou should only use "next/router" on the client side of your app.\n');return d.router}Object.defineProperty(d,"events",{get:()=>l.default.events}),f.forEach(e=>{Object.defineProperty(d,e,{get:()=>p()[e]})}),h.forEach(e=>{d[e]=function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return p()[e](...n)}}),["routeChangeStart","beforeHistoryChange","routeChangeComplete","routeChangeError","hashChangeStart","hashChangeComplete"].forEach(e=>{d.ready(()=>{l.default.events.on(e,function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];let i="on"+e.charAt(0).toUpperCase()+e.substring(1);if(d[i])try{d[i](...n)}catch(e){console.error("Error when running the Router event: "+i),console.error((0,u.default)(e)?e.message+"\n"+e.stack:e+"")}})})});let m=d;function g(){let e=i.default.useContext(s.RouterContext);if(!e)throw Error("NextRouter was not mounted. https://nextjs.org/docs/messages/next-router-not-mounted");return e}function v(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return d.router=new l.default(...t),d.readyCallbacks.forEach(e=>e()),d.readyCallbacks=[],d.router}function y(e){let t={};for(let n of f){if("object"==typeof e[n]){t[n]=Object.assign(Array.isArray(e[n])?[]:{},e[n]);continue}t[n]=e[n]}return t.events=l.default.events,h.forEach(n=>{t[n]=function(){for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];return e[n](...o)}}),t}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},82450:function(e,t,n){"use strict";n.d(t,{A:function(){return s},q:function(){return l}});var o=n(59065),i=n(72370);function l(e,t){let n=o.createContext(t),l=e=>{let{children:t,...l}=e,s=o.useMemo(()=>l,Object.values(l));return i.j.jsx(n.Provider,{value:s,children:t})};return l.displayName=e+"Provider",[l,function(i){let l=o.useContext(n);if(l)return l;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function s(e,t=[]){let n=[],l=()=>{let t=n.map(e=>o.createContext(e));return function(n){let i=(null==n?void 0:n[e])||t;return o.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return l.scopeName=e,[function(t,l){let s=o.createContext(l),u=n.length;n=[...n,l];let c=t=>{var n;let{scope:l,children:c,...d}=t,f=(null==(n=null==l?void 0:l[e])?void 0:n[u])||s,h=o.useMemo(()=>d,Object.values(d));return i.j.jsx(f.Provider,{value:h,children:c})};return c.displayName=t+"Provider",[c,function(n,i){var c;let d=(null==(c=null==i?void 0:i[e])?void 0:c[u])||s,f=o.useContext(d);if(f)return f;if(void 0!==l)return l;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:o})=>{let i=n(e)[`__scope${o}`];return{...t,...i}},{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(l,...t)]}},82647:function(e,t,n){"use strict";function o(e){return function(){let{cookie:t}=e;if(!t)return{};let{parse:o}=n(37654);return o(Array.isArray(t)?t.join("; "):t)}}
249Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getCookieParser",{enumerable:!0,get:function(){return o}})},83108:function(e,t){"use strict";function n(){let e=Object.create(null);return{on(t,n){(e[t]||(e[t]=[])).push(n)},off(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit(t){for(var n=arguments.length,o=Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];(e[t]||[]).slice().map(e=>{e(...o)})}}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},83156:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSortedRoutes",{enumerable:!0,get:function(){return o}});class n{insert(e){this._insert(e.split("/").filter(Boolean),[],!1)}smoosh(){return this._smoosh()}_smoosh(e){void 0===e&&(e="/");let t=[...this.children.keys()].sort();null!==this.slugName&&t.splice(t.indexOf("[]"),1),null!==this.restSlugName&&t.splice(t.indexOf("[...]"),1),null!==this.optionalRestSlugName&&t.splice(t.indexOf("[[...]]"),1);let n=t.map(t=>this.children.get(t)._smoosh(""+e+t+"/")).reduce((e,t)=>[...e,...t],[]);if(null!==this.slugName&&n.push(...this.children.get("[]")._smoosh(e+"["+this.slugName+"]/")),!this.placeholder){let t="/"===e?"/":e.slice(0,-1);if(null!=this.optionalRestSlugName)throw Error('You cannot define a route with the same specificity as a optional catch-all route ("'+t+'" and "'+t+"[[..."+this.optionalRestSlugName+']]").');n.unshift(t)}return null!==this.restSlugName&&n.push(...this.children.get("[...]")._smoosh(e+"[..."+this.restSlugName+"]/")),null!==this.optionalRestSlugName&&n.push(...this.children.get("[[...]]")._smoosh(e+"[[..."+this.optionalRestSlugName+"]]/")),n}_insert(e,t,o){if(0===e.length){this.placeholder=!1;return}if(o)throw Error("Catch-all must be the last part of the URL.");let i=e[0];if(i.startsWith("[")&&i.endsWith("]")){let n=i.slice(1,-1),s=!1;if(n.startsWith("[")&&n.endsWith("]")&&(n=n.slice(1,-1),s=!0),n.startsWith("...")&&(n=n.substring(3),o=!0),n.startsWith("[")||n.endsWith("]"))throw Error("Segment names may not start or end with extra brackets ('"+n+"').");if(n.startsWith("."))throw Error("Segment names may not start with erroneous periods ('"+n+"').");function l(e,n){if(null!==e&&e!==n)throw Error("You cannot use different slug names for the same dynamic path ('"+e+"' !== '"+n+"').");t.forEach(e=>{if(e===n)throw Error('You cannot have the same slug name "'+n+'" repeat within a single dynamic path');if(e.replace(/\W/g,"")===i.replace(/\W/g,""))throw Error('You cannot have the slug names "'+e+'" and "'+n+'" differ only by non-word symbols within a single dynamic path')}),t.push(n)}if(o){if(s){if(null!=this.restSlugName)throw Error('You cannot use both an required and optional catch-all route at the same level ("[...'+this.restSlugName+']" and "'+e[0]+'" ).');l(this.optionalRestSlugName,n),this.optionalRestSlugName=n,i="[[...]]"}else{if(null!=this.optionalRestSlugName)throw Error('You cannot use both an optional and required catch-all route at the same level ("[[...'+this.optionalRestSlugName+']]" and "'+e[0]+'").');l(this.restSlugName,n),this.restSlugName=n,i="[...]"}}else{if(s)throw Error('Optional route parameters are not yet supported ("'+e[0]+'").');l(this.slugName,n),this.slugName=n,i="[]"}}this.children.has(i)||this.children.set(i,new n),this.children.get(i)._insert(e.slice(1),t,o)}constructor(){this.placeholder=!0,this.children=new Map,this.slugName=null,this.restSlugName=null,this.optionalRestSlugName=null}}function o(e){let t=new n;return e.forEach(e=>t.insert(e)),t.smoosh()}},83390:function(e,t){"use strict";function n(e){return new URL(e,"http://n").searchParams}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"asPathToSearchParams",{enumerable:!0,get:function(){return n}})},83405:function(e,t,n){"use strict";n.d(t,{b:function(){return u}});var o=n(59065),i=n(12335),l=n(72370),s=o.forwardRef((e,t)=>l.j.jsx(i.s.label,{...e,ref:t,onMouseDown:t=>{var n;t.target.closest("button, input, select, textarea")||(null==(n=e.onMouseDown)||n.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));s.displayName="Label";var u=s}
249,83419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return o}});let o=(0,n(45781).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},84366:function(e,t,n){"use strict";e.exports=n(40838)},84895:function(e,t,n){"use strict";n.d(t,{UC:function(){return G},ZL:function(){return q},bL:function(){return W},l9:function(){return U}});var o=n(59065),i=n(95339),l=n(32964),s=n(82450),u=n(79094),c=n(29937),d=n(49239),f=n(25071),h=n(77619),p=n(2381),m=n(10005),g=n(46475),v=n(11502),y=n(85859),b=n(97708),w=n(57122),x=n(72370),E="Popover",[C]=(0,s.A)(E,[h.Bk]),k=(0,h.Bk)(),[M,_]=C(E),S=e=>{let{__scopePopover:t,children:n,open:i,defaultOpen:l,onOpenChange:s,modal:u=!1}=e,c=k(t),d=o.useRef(null),[p,m]=o.useState(!1),[g,v]=(0,y.i)({prop:i,defaultProp:l??!1,onChange:s,caller:E});return x.j.jsx(h.bL,{...c,children:x.j.jsx(M,{scope:t,contentId:(0,f.B)(),triggerRef:d,open:g,onOpenChange:v,onOpenToggle:o.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:p,onCustomAnchorAdd:o.useCallback(()=>m(!0),[]),onCustomAnchorRemove:o.useCallback(()=>m(!1),[]),modal:u,children:n})})};S.displayName=E;var j="PopoverAnchor";o.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,l=_(j,n),s=k(n),{onCustomAnchorAdd:u,onCustomAnchorRemove:c}=l;return o.useEffect(()=>(u(),()=>c()),[u,c]),x.j.jsx(h.Mz,{...s,...i,ref:t})}).displayName=j;var O="PopoverTrigger",L=o.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,s=_(O,n),u=k(n),c=(0,l.s)(t,s.triggerRef),d=x.j.jsx(g.s.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":B(s.open),...o,ref:c,onClick:(0,i.m)(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?d:x.j.jsx(h.Mz,{asChild:!0,...u,children:d})});L.displayName=O;var A="PopoverPortal",[T,P]=C(A,{forceMount:void 0}),N=e=>{let{__scopePopover:t,forceMount:n,children:o,container:i}=e,l=_(A,t);return x.j.jsx(T,{scope:t,forceMount:n,children:x.j.jsx(m.C,{present:n||l.open,children:x.j.jsx(p.Z,{asChild:!0,container:i,children:o})})})};N.displayName=A;var F="PopoverContent",R=o.forwardRef((e,t)=>{let n=P(F,e.__scopePopover),{forceMount:o=n.forceMount,...i}=e,l=_(F,e.__scopePopover);return x.j.jsx(m.C,{present:o||l.open,children:l.modal?x.j.jsx(D,{...i,ref:t}):x.j.jsx(z,{...i,ref:t})})});R.displayName=F;var $=(0,v.T)("PopoverContent.RemoveScroll"),D=o.forwardRef((e,t)=>{let n=_(F,e.__scopePopover),s=o.useRef(null),u=(0,l.s)(t,s),c=o.useRef(!1);return o.useEffect(()=>{let e=s.current;if(e)return(0,b.E)(e)},[]),x.j.jsx(w.A,{as:$,allowPinchZoom:!0,children:x.j.jsx(I,{...e,ref:u,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,i.m)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),c.current||null==(t=n.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,i.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,o=2===t.button||n;c.current=o},{checkForDefaultPrevented:!1}),onFocusOutside:(0,i.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),z=o.forwardRef((e,t)=>{let n=_(F,e.__scopePopover),i=o.useRef(!1),l=o.useRef(!1);return x.j.jsx(I,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var o,s;null==(o=e.onCloseAutoFocus)||o.call(e,t),t.defaultPrevented||(i.current||null==(s=n.triggerRef.current)||s.focus(),t.preventDefault()),i.current=!1,l.current=!1},onInteractOutside:t=>{var o,s;null==(o=e.onInteractOutside)||o.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let u=t.target;(null==(s=n.triggerRef.current)?void 0:s.contains(u))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})}),I=o.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:s,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:g,...v}=e,y=_(F,n),b=k(n);return(0,c.O)(),x.j.jsx(d.n,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:x.j.jsx(u.q,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:g,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onDismiss:()=>y.onOpenChange(!1),children:x.j.jsx(h.UC,{"data-state":B(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)"}})})})}),H="PopoverClose";function B(e){return e?"open":"closed"}o.forwardRef((e,t)=>
249{let{__scopePopover:n,...o}=e,l=_(H,n);return x.j.jsx(g.s.button,{type:"button",...o,ref:t,onClick:(0,i.m)(e.onClick,()=>l.onOpenChange(!1))})}).displayName=H,o.forwardRef((e,t)=>{let{__scopePopover:n,...o}=e,i=k(n);return x.j.jsx(h.i3,{...i,...o,ref:t})}).displayName="PopoverArrow";var W=S,U=L,q=N,G=R},85121:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(50607),i=n(69535);n(22715),n(59065),n(9991),t.IntlError=o.IntlError,t.IntlErrorCode=o.IntlErrorCode,t.createFormatter=o.createFormatter,t._createCache=i.createCache,t._createIntlFormatters=i.createIntlFormatters,t.initializeConfig=i.initializeConfig,t.createTranslator=function(e){let{_cache:t=i.createCache(),_formatters:n=i.createIntlFormatters(t),getMessageFallback:l=i.defaultGetMessageFallback,messages:s,namespace:u,onError:c=i.defaultOnError,...d}=e;return function(e,t){let{messages:n,namespace:i,...l}=e;return n=n["!"],i=o.resolveNamespace(i,"!"),o.createBaseTranslator({...l,messages:n,namespace:i})}({...d,onError:c,cache:t,formatters:n,getMessageFallback:l,messages:{"!":s},namespace:u?"!.".concat(u):"!"},0)}},85319:function(e,t,n){"use strict";n.r(t),n.d(t,{CancelledError:function(){return q},HydrationBoundary:function(){return eX},InfiniteQueryObserver:function(){return es},IsRestoringProvider:function(){return eO},Mutation:function(){return eu},MutationCache:function(){return ed},MutationObserver:function(){return eh},QueriesObserver:function(){return em},Query:function(){return K},QueryCache:function(){return eg},QueryClient:function(){return ev},QueryClientContext:function(){return ek},QueryClientProvider:function(){return e_},QueryErrorResetBoundary:function(){return eP},QueryObserver:function(){return ee},dataTagErrorSymbol:function(){return ew},dataTagSymbol:function(){return eb},defaultScheduler:function(){return I},defaultShouldDehydrateMutation:function(){return F},defaultShouldDehydrateQuery:function(){return R},dehydrate:function(){return D},experimental_streamedQuery:function(){return ey},focusManager:function(){return T},hashKey:function(){return v},hydrate:function(){return z},infiniteQueryOptions:function(){return eQ},isCancelledError:function(){return G},isServer:function(){return s},keepPreviousData:function(){return _},matchMutation:function(){return m},matchQuery:function(){return p},mutationOptions:function(){return e5},noop:function(){return u},notifyManager:function(){return H},onlineManager:function(){return B},partialMatchKey:function(){return y},queryOptions:function(){return eK},replaceEqualDeep:function(){return w},shouldThrowError:function(){return A},skipToken:function(){return O},timeoutManager:function(){return l},unsetMarker:function(){return ex},useInfiniteQuery:function(){return e4},useIsFetching:function(){return eJ},useIsMutating:function(){return e1},useIsRestoring:function(){return ej},useMutation:function(){return e3},useMutationState:function(){return e2},usePrefetchInfiniteQuery:function(){return eZ},usePrefetchQuery:function(){return eY},useQueries:function(){return eB},useQuery:function(){return eV},useQueryClient:function(){return eM},useQueryErrorResetBoundary:function(){return eT},useSuspenseInfiniteQuery:function(){return eq},useSuspenseQueries:function(){return eG},useSuspenseQuery:function(){return eU}});var o=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},i={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},l=new class{#r=i;#n=!1;setTimeoutProvider(e){this.#r=e}setTimeout(e,t){return this.#r.setTimeout(e,t)}clearTimeout(e){this.#r.clearTimeout(e)}setInterval(e,t){return this.#r.setInterval(e,t)}clearInterval(e){this.#r.clearInterval(e)}},s="undefined"==typeof window||"Deno"in globalThis;function u(){}function c(e){return"number"==typeof e&&e>=0&&e!==1/0}function d(e,t){return Math.max(e+(t||0)-Date.now(),0)}function f(e,t){return"function"==typeof e?e(t):e}function h(e,t){return"function"==typeof e?e(t):e}function p(e,t){let{type:n="all",exact:o,fetchStatus:i,predicate:l,queryKey:s,stale:u}=e;if(s){if(o){if(t.queryHash!==g(s,t.options))return!1}else if(!y(t.queryKey,s))return!1}if("all"!==n){let e=t.isActive();if("active"===n&&!e||"inactive"===n&&e)return!1}return("boolean"!=typeof u||t.isStale()===u)&&(!i||i===t.state.fetchStatus)&&(!l||!!l(t))}function m(e,t){let{exact:n,status:o,predicate:i,mutationKey:l}=e;if(l){if(!t.options.mutationKey)return!1;if(n){if(v(t.options.mutationKey)!==v(l))return!1}else if(!y(t.options.mutationKey,l))return!1}return(!o||t.state.status===o)&&(!i||!!i(t))}function g(e,t){return(t?.queryKeyHashFn||v)(e)}function v(e){return JSON.stringify(e,(e,t)=>C(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function y(e,t){return e===t||typeof e==typeof t&&!!e&&!!t&&"object"==typeof e&&"object"==typeof t&&Object.keys(t).every(n=>y(e[n],t[n]))}var b=Object.prototype.hasOwnProperty;function w(e,t){if(e===t)return e;let n=E(e)&&E(t);if(!n&&!(C(e)&&C(t)))return t;let o=(n?e:Object.keys(e)).length,i=n?t:Object.keys(t),l=i.length,s=n?Array(l):{},u=0;for(let c=0;c<l;c++){let l=n?c:i[c],d=e[l],f=t[l];if(d===f){s[l]=d,(n?c<o:b.call(e,l))&&u++;continue}if(null===d||null===f||"object"!=typeof d||"object"!=typeof f){s[l]=f;continue}let h=w(d,f);s[l]=h,h===d&&u++}return o===l&&u===o?e:s}function x(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e)if(e[n]!==t[n])return!1;return!0}function E(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function C(e){if(!k(e))return!1;let t=e.constructor;if(void 0===t)return!0;let n=t.prototype;return!!(k(n)&&n.hasOwnProperty("isPrototypeOf"))&&Object.getPrototypeOf(e)===Object.prototype}function k(e){return"[object Object]"===Object.prototype.toString.call(e)}function M(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?w(e,t):t}function _(e){return e}function S(e,t,n=0){let o=[...e,t];return n&&o.length>n?o.slice(1):o}function j(e,t,n=0){let o=[t,...e];return n&&o.length>n?o.slice(0,-1):o}var O=Symbol();function L(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==O?e.queryFn:()=>Promise.reject(Error(`Missing queryFn: '${e.queryHash}'`))}function A(e,t){return"function"==typeof e?e(...t):!!e}var T=new class extends o{#a;#o;#i;constructor(){super(),this.#i=e=>{if(!s&&window.addEventListener){let t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#o||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#o?.(),this.#o=void 0)}setEventListener(e){this.#i=e,this.#o?.(),this.#o=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#a!==e&&(this.#a=e,this.onFocus())}onFocus(){let e=this.isFocused();
249this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#a?this.#a:globalThis.document?.visibilityState!=="hidden"}};function P(){let e,t;let n=new Promise((n,o)=>{e=n,t=o});function o(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{o({status:"fulfilled",value:t}),e(t)},n.reject=e=>{o({status:"rejected",reason:e}),t(e)},n}function N(e){return e}function F(e){return e.state.isPaused}function R(e){return"success"===e.state.status}function $(e){return!0}function D(e,t={}){let n=t.shouldDehydrateMutation??e.getDefaultOptions().dehydrate?.shouldDehydrateMutation??F,o=e.getMutationCache().getAll().flatMap(e=>n(e)?[{mutationKey:e.options.mutationKey,state:e.state,...e.options.scope&&{scope:e.options.scope},...e.meta&&{meta:e.meta}}]:[]),i=t.shouldDehydrateQuery??e.getDefaultOptions().dehydrate?.shouldDehydrateQuery??R,l=t.shouldRedactErrors??e.getDefaultOptions().dehydrate?.shouldRedactErrors??$,s=t.serializeData??e.getDefaultOptions().dehydrate?.serializeData??N;return{mutations:o,queries:e.getQueryCache().getAll().flatMap(e=>i(e)?[{dehydratedAt:Date.now(),state:{...e.state,...void 0!==e.state.data&&{data:s(e.state.data)}},queryKey:e.queryKey,queryHash:e.queryHash,..."pending"===e.state.status&&{promise:(()=>{let t=e.promise?.then(s).catch(e=>l(e)?Promise.reject(Error("redacted")):Promise.reject(e));return t?.catch(u),t})()},...e.meta&&{meta:e.meta}}]:[])}}function z(e,t,n){if("object"!=typeof t||null===t)return;let o=e.getMutationCache(),i=e.getQueryCache(),l=n?.defaultOptions?.deserializeData??e.getDefaultOptions().hydrate?.deserializeData??N,s=t.mutations||[],c=t.queries||[];s.forEach(({state:t,...i})=>{o.build(e,{...e.getDefaultOptions().hydrate?.mutations,...n?.defaultOptions?.mutations,...i},t)}),c.forEach(({queryKey:t,state:o,queryHash:s,meta:c,promise:d,dehydratedAt:f})=>{let h=d?function(e){let t;if(e.then(e=>(t=e,e),u)?.catch(u),void 0!==t)return{data:t}}(d):void 0,p=void 0===o.data?h?.data:o.data,m=void 0===p?p:l(p),g=i.get(s),v=g?.state.status==="pending",y=g?.state.fetchStatus==="fetching";if(g){let e=h&&void 0!==f&&f>g.state.dataUpdatedAt;if(o.dataUpdatedAt>g.state.dataUpdatedAt||e){let{fetchStatus:e,...t}=o;g.setState({...t,data:m})}}else g=i.build(e,{...e.getDefaultOptions().hydrate?.queries,...n?.defaultOptions?.queries,queryKey:t,queryHash:s,meta:c},{...o,data:m,fetchStatus:"idle",status:void 0!==m?"success":o.status});d&&!v&&!y&&(void 0===f||f>g.state.dataUpdatedAt)&&g.fetch(void 0,{initialPromise:Promise.resolve(d).then(l)}).catch(u)})}var I=function(e){setTimeout(e,0)},H=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()},i=I,l=o=>{t?e.push(o):i(()=>{n(o)})},s=()=>{let t=e;e=[],t.length&&i(()=>{o(()=>{t.forEach(e=>{n(e)})})})};return{batch:e=>{let n;t++;try{n=e()}finally{--t||s()}return n},batchCalls:e=>(...t)=>{l(()=>{e(...t)})},schedule:l,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e},setScheduler:e=>{i=e}}}(),B=new class extends o{#l=!0;#o;#i;constructor(){super(),this.#i=e=>{if(!s&&window.addEventListener){let t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#o||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#o?.(),this.#o=void 0)}setEventListener(e){this.#i=e,this.#o?.(),this.#o=e(this.setOnline.bind(this))}setOnline(e){this.#l!==e&&(this.#l=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#l}};function W(e){return Math.min(1e3*2**e,3e4)}function U(e){return(e??"online")!=="online"||B.isOnline()}var q=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function G(e){return e instanceof q}function Y(e){let t,n=!1,o=0,i=P(),u=()=>"pending"!==i.status,c=()=>T.isFocused()&&("always"===e.networkMode||B.isOnline())&&e.canRun(),d=()=>U(e.networkMode)&&e.canRun(),f=e=>{u()||(t?.(),i.resolve(e))},h=e=>{u()||(t?.(),i.reject(e))},p=()=>new Promise(n=>{t=e=>{(u()||c())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,u()||e.onContinue?.()}),m=()=>{let t;if(u())return;let i=0===o?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(f).catch(t=>{if(u())return;let i=e.retry??(s?0:3),d=e.retryDelay??W,f="function"==typeof d?d(o,t):d,g=!0===i||"number"==typeof i&&o<i||"function"==typeof i&&i(o,t);
249if(n||!g){h(t);return}o++,e.onFail?.(o,t),new Promise(e=>{l.setTimeout(e,f)}).then(()=>c()?void 0:p()).then(()=>{n?h(t):m()})})};return{promise:i,status:()=>i.status,cancel:t=>{if(!u()){let n=new q(t);h(n),e.onCancel?.(n)}},continue:()=>(t?.(),i),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:d,start:()=>(d()?m():p().then(m),i)}}var Z=class{#s;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),c(this.gcTime)&&(this.#s=l.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(s?1/0:3e5))}clearGcTimeout(){this.#s&&(l.clearTimeout(this.#s),this.#s=void 0)}},K=class extends Z{#u;#c;#d;#f;#h;#p;#m;constructor(e){super(),this.#m=!1,this.#p=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#f=e.client,this.#d=this.#f.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#u=J(this.options),this.state=e.state??this.#u,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#h?.promise}setOptions(e){if(this.options={...this.#p,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){let e=J(this.options);void 0!==e.data&&(this.setState(X(e.data,e.dataUpdatedAt)),this.#u=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#d.remove(this)}setData(e,t){let n=M(this.state.data,e,this.options);return this.#g({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#g({type:"setState",state:e,setStateOptions:t})}cancel(e){let t=this.#h?.promise;return this.#h?.cancel(e),t?t.then(u).catch(u):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#u)}isActive(){return this.observers.some(e=>!1!==h(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===O||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===f(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!d(this.state.dataUpdatedAt,e))}onFocus(){let e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}onOnline(){let e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#h?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#d.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#h&&(this.#m?this.#h.cancel({revert:!0}):this.#h.cancelRetry()),this.scheduleGc()),this.#d.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#g({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&this.#h?.status()!=="rejected"){if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#h)return this.#h.continueRetry(),this.#h.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let n=new AbortController,o=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#m=!0,n.signal)})},i=()=>{let e=L(this.options,t),n=(()=>{let e={client:this.#f,queryKey:this.queryKey,meta:this.meta};return o(e),e})();return(this.#m=!1,this.options.persister)?this.options.persister(e,n,this):e(n)},l=(()=>{let e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#f,state:this.state,fetchFn:i};return o(e),e})();this.options.behavior?.onFetch(l,this),this.#c=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#g({type:"fetch",meta:l.fetchOptions?.meta}),this.#h=Y({initialPromise:t?.initialPromise,fn:l.fetchFn,onCancel:e=>{e instanceof q&&e.revert&&this.setState({...this.#c,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#g({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#g({type:"pause"})},onContinue:()=>{this.#g({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0});try{let e=await this.#h.start();if(void 0===e)throw Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#d.config.onSuccess?.(e,this),this.#d.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof q){if(e.silent)return this.#h.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#g({type:"error",error:e}),this.#d.config.onError?.(e,this),this.#d.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#g(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...Q(t.data,this.options),fetchMeta:e.meta??null};case"success":let n={...t,...X(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#c=e.manual?n:void 0,n;case"error":let o=e.error;
249return{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),H.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#d.notify({query:this,type:"updated",action:e})})}};function Q(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:U(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function X(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function J(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,o=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?o??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var ee=class extends o{constructor(e,t){super(),this.options=t,this.#f=e,this.#v=null,this.#y=P(),this.bindMethods(),this.setOptions(t)}#f;#b=void 0;#w=void 0;#x=void 0;#E;#C;#y;#v;#k;#M;#_;#S;#j;#O;#L=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#b.addObserver(this),et(this.#b,this.options)?this.#A():this.updateResult(),this.#T())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return er(this.#b,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return er(this.#b,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#P(),this.#N(),this.#b.removeObserver(this)}setOptions(e){let t=this.options,n=this.#b;if(this.options=this.#f.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof h(this.options.enabled,this.#b))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#F(),this.#b.setOptions(this.options),t._defaulted&&!x(this.options,t)&&this.#f.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#b,observer:this});let o=this.hasListeners();o&&en(this.#b,n,this.options,t)&&this.#A(),this.updateResult(),o&&(this.#b!==n||h(this.options.enabled,this.#b)!==h(t.enabled,this.#b)||f(this.options.staleTime,this.#b)!==f(t.staleTime,this.#b))&&this.#R();let i=this.#$();o&&(this.#b!==n||h(this.options.enabled,this.#b)!==h(t.enabled,this.#b)||i!==this.#O)&&this.#D(i)}getOptimisticResult(e){let t=this.#f.getQueryCache().build(this.#f,e),n=this.createResult(t,e);return x(this.getCurrentResult(),n)||(this.#x=n,this.#C=this.options,this.#E=this.#b.state),n}getCurrentResult(){return this.#x}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"!==n||(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#y.status||this.#y.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#L.add(e)}getCurrentQuery(){return this.#b}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#f.defaultQueryOptions(e),n=this.#f.getQueryCache().build(this.#f,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#A({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#x))}#A(e){this.#F();let t=this.#b.fetch(this.options,e);return e?.throwOnError||(t=t.catch(u)),t}#R(){this.#P();let e=f(this.options.staleTime,this.#b);if(s||this.#x.isStale||!c(e))return;let t=d(this.#x.dataUpdatedAt,e);this.#S=l.setTimeout(()=>{this.#x.isStale||this.updateResult()},t+1)}#$(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#b):this.options.refetchInterval)??!1}#D(e){this.#N(),this.#O=e,!s&&!1!==h(this.options.enabled,this.#b)&&c(this.#O)&&0!==this.#O&&(this.#j=l.setInterval(()=>
249{(this.options.refetchIntervalInBackground||T.isFocused())&&this.#A()},this.#O))}#T(){this.#R(),this.#D(this.#$())}#P(){this.#S&&(l.clearTimeout(this.#S),this.#S=void 0)}#N(){this.#j&&(l.clearInterval(this.#j),this.#j=void 0)}createResult(e,t){let n;let o=this.#b,i=this.options,l=this.#x,s=this.#E,u=this.#C,c=e!==o?e.state:this.#w,{state:d}=e,f={...d},p=!1;if(t._optimisticResults){let n=this.hasListeners(),l=!n&&et(e,t),s=n&&en(e,o,t,i);(l||s)&&(f={...f,...Q(d.data,e.options)}),"isRestoring"===t._optimisticResults&&(f.fetchStatus="idle")}let{error:m,errorUpdatedAt:g,status:v}=f;n=f.data;let y=!1;if(void 0!==t.placeholderData&&void 0===n&&"pending"===v){let e;l?.isPlaceholderData&&t.placeholderData===u?.placeholderData?(e=l.data,y=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#_?.state.data,this.#_):t.placeholderData,void 0!==e&&(v="success",n=M(l?.data,e,t),p=!0)}if(t.select&&void 0!==n&&!y){if(l&&n===s?.data&&t.select===this.#k)n=this.#M;else try{this.#k=t.select,n=t.select(n),n=M(l?.data,n,t),this.#M=n,this.#v=null}catch(e){this.#v=e}}this.#v&&(m=this.#v,n=this.#M,g=Date.now(),v="error");let b="fetching"===f.fetchStatus,w="pending"===v,x="error"===v,E=w&&b,C=void 0!==n,k={status:v,fetchStatus:f.fetchStatus,isPending:w,isSuccess:"success"===v,isError:x,isInitialLoading:E,isLoading:E,data:n,dataUpdatedAt:f.dataUpdatedAt,error:m,errorUpdatedAt:g,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>c.dataUpdateCount||f.errorUpdateCount>c.errorUpdateCount,isFetching:b,isRefetching:b&&!w,isLoadingError:x&&!C,isPaused:"paused"===f.fetchStatus,isPlaceholderData:p,isRefetchError:x&&C,isStale:ea(e,t),refetch:this.refetch,promise:this.#y,isEnabled:!1!==h(t.enabled,e)};if(this.options.experimental_prefetchInRender){let t=e=>{"error"===k.status?e.reject(k.error):void 0!==k.data&&e.resolve(k.data)},n=()=>{t(this.#y=k.promise=P())},i=this.#y;switch(i.status){case"pending":e.queryHash===o.queryHash&&t(i);break;case"fulfilled":("error"===k.status||k.data!==i.value)&&n();break;case"rejected":("error"!==k.status||k.error!==i.reason)&&n()}}return k}updateResult(){let e=this.#x,t=this.createResult(this.#b,this.options);this.#E=this.#b.state,this.#C=this.options,void 0!==this.#E.data&&(this.#_=this.#b),x(t,e)||(this.#x=t,this.#z({listeners:(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#L.size)return!0;let o=new Set(n??this.#L);return this.options.throwOnError&&o.add("error"),Object.keys(this.#x).some(t=>this.#x[t]!==e[t]&&o.has(t))})()}))}#F(){let e=this.#f.getQueryCache().build(this.#f,this.options);if(e===this.#b)return;let t=this.#b;this.#b=e,this.#w=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#T()}#z(e){H.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#x)}),this.#f.getQueryCache().notify({query:this.#b,type:"observerResultsUpdated"})})}};function et(e,t){return!1!==h(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)||void 0!==e.state.data&&er(e,t,t.refetchOnMount)}function er(e,t,n){if(!1!==h(t.enabled,e)&&"static"!==f(t.staleTime,e)){let o="function"==typeof n?n(e):n;return"always"===o||!1!==o&&ea(e,t)}return!1}function en(e,t,n,o){return(e!==t||!1===h(o.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&ea(e,n)}function ea(e,t){return!1!==h(t.enabled,e)&&e.isStaleByTime(f(t.staleTime,e))}function eo(e){return{onFetch:(t,n)=>{let o=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,l=t.state.data?.pages||[],s=t.state.data?.pageParams||[],u={pages:[],pageParams:[]},c=0,d=async()=>{let n=!1,d=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",()=>{n=!0}),t.signal)})},f=L(t.options,t.fetchOptions),h=async(e,o,i)=>{if(n)return Promise.reject();if(null==o&&e.pages.length)return Promise.resolve(e);let l=(()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:o,direction:i?"backward":"forward",meta:t.options.meta};return d(e),e})(),s=await f(l),{maxPages:u}=t.options,c=i?j:S;return{pages:c(e.pages,s,u),pageParams:c(e.pageParams,o,u)}};if(i&&l.length){let e="backward"===i,t={pages:l,pageParams:s},n=(e?el:ei)(o,t);u=await h(t,n,e)}else{let t=e??l.length;do{let e=0===c?s[0]??o.initialPageParam:ei(o,u);if(c>0&&null==e)break;u=await h(u,e),c++}while(c<t)}return u};t.options.persister?t.fetchFn=()=>t.options.persister?.(d,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=d}}}function ei(e,{pages:t,pageParams:n}){let o=t.length-1;return t.length>0?e.getNextPageParam(t[o],t,n[o],n):void 0}function el(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var es=class extends ee{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e){super.setOptions({...e,behavior:eo()})}getOptimisticResult(e){return e.behavior=eo(),super.getOptimisticResult(e)}
249fetchNextPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"forward"}}})}fetchPreviousPage(e){return this.fetch({...e,meta:{fetchMore:{direction:"backward"}}})}createResult(e,t){var n,o;let{state:i}=e,l=super.createResult(e,t),{isFetching:s,isRefetching:u,isError:c,isRefetchError:d}=l,f=i.fetchMeta?.fetchMore?.direction,h=c&&"forward"===f,p=s&&"forward"===f,m=c&&"backward"===f,g=s&&"backward"===f;return{...l,fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:!!(n=i.data)&&null!=ei(t,n),hasPreviousPage:!!(o=i.data)&&!!t.getPreviousPageParam&&null!=el(t,o),isFetchNextPageError:h,isFetchingNextPage:p,isFetchPreviousPageError:m,isFetchingPreviousPage:g,isRefetchError:d&&!h&&!m,isRefetching:u&&!p&&!g}}},eu=class extends Z{#f;#I;#H;#h;constructor(e){super(),this.#f=e.client,this.mutationId=e.mutationId,this.#H=e.mutationCache,this.#I=[],this.state=e.state||ec(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#I.includes(e)||(this.#I.push(e),this.clearGcTimeout(),this.#H.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#I=this.#I.filter(t=>t!==e),this.scheduleGc(),this.#H.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#I.length||("pending"===this.state.status?this.scheduleGc():this.#H.remove(this))}continue(){return this.#h?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#g({type:"continue"})},n={client:this.#f,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#h=Y({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error("No mutationFn found")),onFail:(e,t)=>{this.#g({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#g({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#H.canRun(this)});let o="pending"===this.state.status,i=!this.#h.canStart();try{if(o)t();else{this.#g({type:"pending",variables:e,isPaused:i}),await this.#H.config.onMutate?.(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#g({type:"pending",context:t,variables:e,isPaused:i})}let l=await this.#h.start();return await this.#H.config.onSuccess?.(l,e,this.state.context,this,n),await this.options.onSuccess?.(l,e,this.state.context,n),await this.#H.config.onSettled?.(l,null,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(l,null,e,this.state.context,n),this.#g({type:"success",data:l}),l}catch(t){try{throw await this.#H.config.onError?.(t,e,this.state.context,this,n),await this.options.onError?.(t,e,this.state.context,n),await this.#H.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n),await this.options.onSettled?.(void 0,t,e,this.state.context,n),t}finally{this.#g({type:"error",error:t})}}finally{this.#H.runNext(this)}}#g(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),H.batch(()=>{this.#I.forEach(t=>{t.onMutationUpdate(e)}),this.#H.notify({mutation:this,type:"updated",action:e})})}};function ec(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var ed=class extends o{constructor(e={}){super(),this.config=e,this.#B=new Set,this.#W=new Map,this.#V=0}#B;#W;#V;build(e,t,n){let o=new eu({client:e,mutationCache:this,mutationId:++this.#V,options:e.defaultMutationOptions(t),state:n});return this.add(o),o}add(e){this.#B.add(e);let t=ef(e);if("string"==typeof t){let n=this.#W.get(t);n?n.push(e):this.#W.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#B.delete(e)){let t=ef(e);if("string"==typeof t){let n=this.#W.get(t);if(n){if(n.length>1){let t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#W.delete(t)}}}this.notify({type:"removed",mutation:e})}canRun(e){let t=ef(e);if("string"!=typeof t)return!0;{let n=this.#W.get(t),o=n?.find(e=>"pending"===e.state.status);return!o||o===e}}runNext(e){let t=ef(e);if("string"!=typeof t)return Promise.resolve();{let n=this.#W.get(t)?.find(t=>
249t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}}clear(){H.batch(()=>{this.#B.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#B.clear(),this.#W.clear()})}getAll(){return Array.from(this.#B)}find(e){let t={exact:!0,...e};return this.getAll().find(e=>m(t,e))}findAll(e={}){return this.getAll().filter(t=>m(e,t))}notify(e){H.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return H.batch(()=>Promise.all(e.map(e=>e.continue().catch(u))))}};function ef(e){return e.options.scope?.id}var eh=class extends o{#f;#x=void 0;#U;#q;constructor(e,t){super(),this.#f=e,this.setOptions(t),this.bindMethods(),this.#G()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#f.defaultMutationOptions(e),x(this.options,t)||this.#f.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#U,observer:this}),t?.mutationKey&&this.options.mutationKey&&v(t.mutationKey)!==v(this.options.mutationKey)?this.reset():this.#U?.state.status==="pending"&&this.#U.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#U?.removeObserver(this)}onMutationUpdate(e){this.#G(),this.#z(e)}getCurrentResult(){return this.#x}reset(){this.#U?.removeObserver(this),this.#U=void 0,this.#G(),this.#z()}mutate(e,t){return this.#q=t,this.#U?.removeObserver(this),this.#U=this.#f.getMutationCache().build(this.#f,this.options),this.#U.addObserver(this),this.#U.execute(e)}#G(){let e=this.#U?.state??ec();this.#x={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#z(e){H.batch(()=>{if(this.#q&&this.hasListeners()){let t=this.#x.variables,n=this.#x.context,o={client:this.#f,meta:this.options.meta,mutationKey:this.options.mutationKey};e?.type==="success"?(this.#q.onSuccess?.(e.data,t,n,o),this.#q.onSettled?.(e.data,null,t,n,o)):e?.type==="error"&&(this.#q.onError?.(e.error,t,n,o),this.#q.onSettled?.(void 0,e.error,t,n,o))}this.listeners.forEach(e=>{e(this.#x)})})}};function ep(e,t){let n=new Set(t);return e.filter(e=>!n.has(e))}var em=class extends o{#f;#Y;#Z;#K;#I;#Q;#X;#J;#ee=[];constructor(e,t,n){super(),this.#f=e,this.#K=n,this.#Z=[],this.#I=[],this.#Y=[],this.setQueries(t)}onSubscribe(){1===this.listeners.size&&this.#I.forEach(e=>{e.subscribe(t=>{this.#et(e,t)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#I.forEach(e=>{e.destroy()})}setQueries(e,t){this.#Z=e,this.#K=t,H.batch(()=>{let e=this.#I,t=this.#er(this.#Z);this.#ee=t,t.forEach(e=>e.observer.setOptions(e.defaultedQueryOptions));let n=t.map(e=>e.observer),o=n.map(e=>e.getCurrentResult()),i=e.length!==n.length,l=n.some((t,n)=>t!==e[n]),s=i||l,u=!!s||o.some((e,t)=>{let n=this.#Y[t];return!n||!x(e,n)});(s||u)&&(s&&(this.#I=n),this.#Y=o,this.hasListeners()&&(s&&(ep(e,n).forEach(e=>{e.destroy()}),ep(n,e).forEach(e=>{e.subscribe(t=>{this.#et(e,t)})})),this.#z()))})}getCurrentResult(){return this.#Y}getQueries(){return this.#I.map(e=>e.getCurrentQuery())}getObservers(){return this.#I}getOptimisticResult(e,t){let n=this.#er(e),o=n.map(e=>e.observer.getOptimisticResult(e.defaultedQueryOptions));return[o,e=>this.#en(e??o,t),()=>this.#ea(o,n)]}#ea(e,t){return t.map((n,o)=>{let i=e[o];return n.defaultedQueryOptions.notifyOnChangeProps?i:n.observer.trackResult(i,e=>{t.forEach(t=>{t.observer.trackProp(e)})})})}#en(e,t){return t?(this.#Q&&this.#Y===this.#J&&t===this.#X||(this.#X=t,this.#J=this.#Y,this.#Q=w(this.#Q,t(e))),this.#Q):e}#er(e){let t=new Map;this.#I.forEach(e=>{let n=e.options.queryHash;if(!n)return;let o=t.get(n);o?o.push(e):t.set(n,[e])});let n=[];return e.forEach(e=>{let o=this.#f.defaultQueryOptions(e),i=t.get(o.queryHash)?.shift()??new ee(this.#f,o);n.push({defaultedQueryOptions:o,observer:i})}),n}#et(e,t){let n=this.#I.indexOf(e);-1!==n&&(this.#Y=function(e,t,n){let o=e.slice(0);return o[t]=n,o}(this.#Y,n,t),this.#z())}#z(){if(this.hasListeners()){let e=this.#Q,t=this.#ea(this.#Y,this.#ee);e!==this.#en(t,this.#K?.combine)&&H.batch(()=>
249{this.listeners.forEach(e=>{e(this.#Y)})})}}},eg=class extends o{constructor(e={}){super(),this.config=e,this.#Z=new Map}#Z;build(e,t,n){let o=t.queryKey,i=t.queryHash??g(o,t),l=this.get(i);return l||(l=new K({client:e,queryKey:o,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o)}),this.add(l)),l}add(e){this.#Z.has(e.queryHash)||(this.#Z.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#Z.get(e.queryHash);t&&(e.destroy(),t===e&&this.#Z.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){H.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#Z.get(e)}getAll(){return[...this.#Z.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>p(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>p(e,t)):t}notify(e){H.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){H.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){H.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},ev=class{#eo;#H;#p;#ei;#el;#es;#eu;#ec;constructor(e={}){this.#eo=e.queryCache||new eg,this.#H=e.mutationCache||new ed,this.#p=e.defaultOptions||{},this.#ei=new Map,this.#el=new Map,this.#es=0}mount(){this.#es++,1===this.#es&&(this.#eu=T.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#eo.onFocus())}),this.#ec=B.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#eo.onOnline())}))}unmount(){this.#es--,0===this.#es&&(this.#eu?.(),this.#eu=void 0,this.#ec?.(),this.#ec=void 0)}isFetching(e){return this.#eo.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#H.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#eo.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.defaultQueryOptions(e),n=this.#eo.build(this,t),o=n.state.data;return void 0===o?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(f(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(o))}getQueriesData(e){return this.#eo.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){let o=this.defaultQueryOptions({queryKey:e}),i=this.#eo.get(o.queryHash),l=i?.state.data,s="function"==typeof t?t(l):t;if(void 0!==s)return this.#eo.build(this,o).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return H.batch(()=>this.#eo.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#eo.get(t.queryHash)?.state}removeQueries(e){let t=this.#eo;H.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let n=this.#eo;return H.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){let n={revert:!0,...t};return Promise.all(H.batch(()=>this.#eo.findAll(e).map(e=>e.cancel(n)))).then(u).catch(u)}invalidateQueries(e,t={}){return H.batch(()=>(this.#eo.findAll(e).forEach(e=>{e.invalidate()}),e?.refetchType==="none")?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t))}refetchQueries(e,t={}){let n={...t,cancelRefetch:t.cancelRefetch??!0};return Promise.all(H.batch(()=>this.#eo.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(u)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(u)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let n=this.#eo.build(this,t);return n.isStaleByTime(f(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(u).catch(u)}fetchInfiniteQuery(e){return e.behavior=eo(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(u).catch(u)}ensureInfiniteQueryData(e){return e.behavior=eo(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return B.isOnline()?this.#H.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#eo}getMutationCache(){return this.#H}getDefaultOptions(){return this.#p}setDefaultOptions(e){this.#p=e}setQueryDefaults(e,t){this.#ei.set(v(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#ei.values()],n={};return t.forEach(t=>{y(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#el.set(v(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#el.values()],n={};return t.forEach(t=>{y(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#p.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=g(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===O&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#p.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#eo.clear(),this.#H.clear()}};function ey({streamFn:e,refetchMode:t="reset",reducer:n=(e,t)=>S(e,t),initialValue:o=[]}){return async i=>{let l=i.client.getQueryCache().find({queryKey:i.queryKey,exact:!0}),s=!!l&&void 0!==l.state.data;s&&"reset"===t&&l.setState({status:"pending",data:void 0,error:null,fetchStatus:"fetching"});let u=o;for await(let l of(await e(i))){if(i.signal.aborted)break;s&&"replace"===t||i.client.setQueryData(i.queryKey,e=>n(void 0===e?o:e,l)),u=n(u,l)}return s&&"replace"===t&&!i.signal.aborted&&i.client.setQueryData(i.queryKey,u),i.client.getQueryData(i.queryKey)??o}}var eb=Symbol("dataTagSymbol"),ew=Symbol("dataTagErrorSymbol"),ex=Symbol("unsetMarker"),eE=n(59065),eC=n(23078),ek=eE.createContext(void 0),eM=e=>{let t=eE.useContext(ek);if(e)return e;if(!t)throw Error("No QueryClient set, use QueryClientProvider to set one");return t},e_=({client:e,children:t})=>(eE.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,eC.jsx)(ek.Provider,{value:e,children:t})),eS=eE.createContext(!1),ej=()=>eE.useContext(eS),eO=eS.Provider;function eL(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
249var eA=eE.createContext(eL()),eT=()=>eE.useContext(eA),eP=({children:e})=>{let[t]=eE.useState(()=>eL());return(0,eC.jsx)(eA.Provider,{value:t,children:"function"==typeof e?e(t):e})},eN=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&!t.isReset()&&(e.retryOnMount=!1)},eF=e=>{eE.useEffect(()=>{e.clearReset()},[e])},eR=({result:e,errorResetBoundary:t,throwOnError:n,query:o,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&o&&(i&&void 0===e.data||A(n,[e.error,o])),e$=(e,t)=>void 0===t.state.data,eD=e=>{if(e.suspense){let t=e=>"static"===e?e:Math.max(e??1e3,1e3),n=e.staleTime;e.staleTime="function"==typeof n?(...e)=>t(n(...e)):t(n),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3))}},ez=(e,t)=>e.isLoading&&e.isFetching&&!t,eI=(e,t)=>e?.suspense&&t.isPending,eH=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function eB({queries:e,...t},n){let o=eM(n),i=ej(),l=eT(),s=eE.useMemo(()=>e.map(e=>{let t=o.defaultQueryOptions(e);return t._optimisticResults=i?"isRestoring":"optimistic",t}),[e,o,i]);s.forEach(e=>{eD(e),eN(e,l)}),eF(l);let[c]=eE.useState(()=>new em(o,s,t)),[d,f,h]=c.getOptimisticResult(s,t.combine),p=!i&&!1!==t.subscribed;eE.useSyncExternalStore(eE.useCallback(e=>p?c.subscribe(H.batchCalls(e)):u,[c,p]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),eE.useEffect(()=>{c.setQueries(s,t)},[s,t,c]);let m=d.some((e,t)=>eI(s[t],e))?d.flatMap((e,t)=>{let n=s[t];if(n){let t=new ee(o,n);if(eI(n,e))return eH(n,t,l);ez(e,i)&&eH(n,t,l)}return[]}):[];if(m.length>0)throw Promise.all(m);let g=d.find((e,t)=>{let n=s[t];return n&&eR({result:e,errorResetBoundary:l,throwOnError:n.throwOnError,query:o.getQueryCache().get(n.queryHash),suspense:n.suspense})});if(g?.error)throw g.error;return f(h())}function eW(e,t,n){let o=ej(),i=eT(),l=eM(n),c=l.defaultQueryOptions(e);l.getDefaultOptions().queries?._experimental_beforeQuery?.(c),c._optimisticResults=o?"isRestoring":"optimistic",eD(c),eN(c,i),eF(i);let d=!l.getQueryCache().get(c.queryHash),[f]=eE.useState(()=>new t(l,c)),h=f.getOptimisticResult(c),p=!o&&!1!==e.subscribed;if(eE.useSyncExternalStore(eE.useCallback(e=>{let t=p?f.subscribe(H.batchCalls(e)):u;return f.updateResult(),t},[f,p]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),eE.useEffect(()=>{f.setOptions(c)},[c,f]),eI(c,h))throw eH(c,f,i);if(eR({result:h,errorResetBoundary:i,throwOnError:c.throwOnError,query:l.getQueryCache().get(c.queryHash),suspense:c.suspense}))throw h.error;if(l.getDefaultOptions().queries?._experimental_afterQuery?.(c,h),c.experimental_prefetchInRender&&!s&&ez(h,o)){let e=d?eH(c,f,i):l.getQueryCache().get(c.queryHash)?.promise;e?.catch(u).finally(()=>{f.updateResult()})}return c.notifyOnChangeProps?h:f.trackResult(h)}function eV(e,t){return eW(e,ee,t)}function eU(e,t){return eW({...e,enabled:!0,suspense:!0,throwOnError:e$,placeholderData:void 0},ee,t)}function eq(e,t){return eW({...e,enabled:!0,suspense:!0,throwOnError:e$},es,t)}function eG(e,t){return eB({...e,queries:e.queries.map(e=>({...e,suspense:!0,throwOnError:e$,enabled:!0,placeholderData:void 0}))},t)}function eY(e,t){let n=eM(t);n.getQueryState(e.queryKey)||n.prefetchQuery(e)}function eZ(e,t){let n=eM(t);n.getQueryState(e.queryKey)||n.prefetchInfiniteQuery(e)}function eK(e){return e}function eQ(e){return e}var eX=({children:e,options:t={},state:n,queryClient:o})=>{let i=eM(o),l=eE.useRef(t);eE.useEffect(()=>{l.current=t});let s=eE.useMemo(()=>{if(n){if("object"!=typeof n)return;let e=i.getQueryCache(),t=n.queries||[],o=[],s=[];for(let n of t){let t=e.get(n.queryHash);t?(n.state.dataUpdatedAt>t.state.dataUpdatedAt||n.promise&&"pending"!==t.state.status&&"fetching"!==t.state.fetchStatus&&void 0!==n.dehydratedAt&&n.dehydratedAt>t.state.dataUpdatedAt)&&s.push(n):o.push(n)}if(o.length>0&&z(i,{queries:o},l.current),s.length>0)return s}},[i,n]);return eE.useEffect(()=>{s&&z(i,{queries:s},l.current)},[i,s]),e};function eJ(e,t){let n=eM(t),o=n.getQueryCache();return eE.useSyncExternalStore(eE.useCallback(e=>o.subscribe(H.batchCalls(e)),[o]),()=>n.isFetching(e),()=>n.isFetching(e))}function e1(e,t){let n=eM(t);return e2({filters:{...e,status:"pending"}},n).length}function e0(e,t){return e.findAll(t.filters).map(e=>t.select?t.select(e):e.state)}function e2(e={},t){let n=eM(t).getMutationCache(),o=eE.useRef(e),i=eE.useRef(null);return null===i.current&&(i.current=e0(n,e)),eE.useEffect(()=>{o.current=e}),eE.useSyncExternalStore(eE.useCallback(e=>n.subscribe(()=>{let t=w(i.current,e0(n,o.current));i.current!==t&&(i.current=t,H.schedule(e))}),[n]),()=>i.current,()=>i.current)}function e3(e,t){let n=eM(t),[o]=eE.useState(()=>new eh(n,e));eE.useEffect(()=>{o.setOptions(e)},[o,e]);let i=eE.useSyncExternalStore(eE.useCallback(e=>o.subscribe(H.batchCalls(e)),[o]),()=>o.getCurrentResult(),()=>o.getCurrentResult()),l=eE.useCallback((e,t)=>{o.mutate(e,t).catch(u)},[o]);if(i.error&&A(o.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:l,mutateAsync:i.mutate}}function e5(e){return e}function e4(e,t){return eW(e,es,t)}},85623:function(e,t,n){"use strict";
249Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return c}});let o=n(77223),i=n(23078),l=o._(n(59065)),s=n(22101);async function u(e){let{Component:t,ctx:n}=e;return{pageProps:await (0,s.loadGetInitialProps)(t,n)}}class c extends l.default.Component{render(){let{Component:e,pageProps:t}=this.props;return(0,i.jsx)(e,{...t})}}c.origGetInitialProps=u,c.getInitialProps=u,("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85859:function(e,t,n){"use strict";n.d(t,{i:function(){return u}});var o,i=n(59065),l=n(37725),s=(o||(o=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||l.N;function u({prop:e,defaultProp:t,onChange:n=()=>{},caller:o}){let[l,u,c]=function({defaultProp:e,onChange:t}){let[n,o]=i.useState(e),l=i.useRef(n),u=i.useRef(t);return s(()=>{u.current=t},[t]),i.useEffect(()=>{var e;l.current!==n&&(null==(e=u.current)||e.call(u,n),l.current=n)},[n,l]),[n,o,u]}({defaultProp:t,onChange:n}),d=void 0!==e,f=d?e:l;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;e!==d&&console.warn(`${o} is changing from ${e?"controlled":"uncontrolled"} to ${d?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=d},[d,o])}return[f,i.useCallback(t=>{var n;if(d){let o="function"==typeof t?t(e):t;o!==e&&(null==(n=c.current)||n.call(c,o))}else u(t)},[d,e,u,c])]}},85904:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});/** 250 * @license lucide-react v0.436.0 - ISC 251 * 252 * This source code is licensed under the ISC license. 253 * See the LICENSE file in the root directory of this source tree. 254 */let o=(0,n(60454).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},88973:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseUrl",{enumerable:!0,get:function(){return l}});let o=n(17587),i=n(20638);function l(e){if(e.startsWith("/"))return(0,i.parseRelativeUrl)(e);let t=new URL(e);return{hash:t.hash,hostname:t.hostname,href:t.href,pathname:t.pathname,port:t.port,protocol:t.protocol,query:(0,o.searchParamsToUrlQuery)(t.searchParams),search:t.search}}},89339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"addPathSuffix",{enumerable:!0,get:function(){return i}});let o=n(40917);function i(e,t){if(!e.startsWith("/")||!t)return e;let{pathname:n,query:i,hash:l}=(0,o.parsePath)(e);return""+n+t+i+l}},89879:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(46927),i=n(59065),l=n(11593),s=i&&i.__esModule?i:{default:i};t.default=function(e){let{locale:t,...n}=e;if(!t)throw Error(void 0);return s.default.createElement(l.IntlProvider,o.extends({locale:t},n))}},90056:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{normalizeAppPath:function(){return l},normalizeRscURL:function(){return s}});let o=n(48769),i=n(68269);function l(e){return(0,o.ensureLeadingSlash)(e.split("/").reduce((e,t,n,o)=>!t||(0,i.isGroupSegment)(t)||"@"===t[0]||("page"===t||"route"===t)&&n===o.length-1?e:e+"/"+t,""))}function s(e){return e.replace(/\.rsc($|\?)/,"$1")}},90123:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return i},notFound:function(){return o}});let n="NEXT_NOT_FOUND";function o(){let e=Error(n);throw e.digest=n,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
254dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},90856:function(e,t){"use strict";function n(e,t){return void 0===t&&(t=""),("/"===e?"/index":/^\/index(\/|$)/.test(e)?"/index"+e:e)+t}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}})},91603:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"removePathPrefix",{enumerable:!0,get:function(){return i}});let o=n(53519);function i(e,t){if(!(0,o.pathHasPrefix)(e,t))return e;let n=e.slice(t.length);return n.startsWith("/")?n:"/"+n}},92201:function(e,t){"use strict";function n(e,t){let n={};return Object.keys(e).forEach(o=>{t.includes(o)||(n[o]=e[o])}),n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"omit",{enumerable:!0,get:function(){return n}})},92298:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImageConfigContext",{enumerable:!0,get:function(){return l}});let o=n(77223)._(n(59065)),i=n(45584),l=o.default.createContext(i.imageConfigDefault)},92923:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{createKey:function(){return Y},default:function(){return Q},matchesMiddleware:function(){return z}});let o=n(77223),i=n(2438),l=n(41153),s=n(78007),u=n(53735),c=i._(n(58492)),d=n(1272),f=n(58673),h=o._(n(83108)),p=n(22101),m=n(62592),g=n(20638),v=o._(n(77554)),y=n(35356),b=n(20329),w=n(69939),x=n(99427),E=n(40917),C=n(31236),k=n(45283),M=n(65670),_=n(711),S=n(69404),j=n(3010),O=n(14030),L=n(52544),A=n(67035),T=n(43036),P=n(21450),N=n(6516),F=n(92201),R=n(11906),$=n(76791);function D(){return Object.assign(Error("Route Cancelled"),{cancelled:!0})}async function z(e){let t=await Promise.resolve(e.router.pageLoader.getMiddleware());if(!t)return!1;let{pathname:n}=(0,E.parsePath)(e.asPath),o=(0,S.hasBasePath)(n)?(0,M.removeBasePath)(n):n,i=(0,_.addBasePath)((0,C.addLocale)(o,e.locale));return t.some(e=>new RegExp(e.regexp).test(i))}function I(e){let t=(0,p.getLocationOrigin)();return e.startsWith(t)?e.substring(t.length):e}function H(e,t,n){let[o,i]=(0,j.resolveHref)(e,t,!0),l=(0,p.getLocationOrigin)(),s=o.startsWith(l),u=i&&i.startsWith(l);o=I(o),i=i?I(i):i;let c=s?o:(0,_.addBasePath)(o),d=n?I((0,j.resolveHref)(e,n)):i||o;return{url:c,as:u?d:(0,_.addBasePath)(d)}}function B(e,t){let n=(0,l.removeTrailingSlash)((0,d.denormalizePagePath)(e));return"/404"===n||"/_error"===n?e:(t.includes(n)||t.some(t=>{if((0,m.isDynamicRoute)(t)&&(0,b.getRouteRegex)(t).re.test(n))return e=t,!0}),(0,l.removeTrailingSlash)(e))}async function W(e){if(!await z(e)||!e.fetchData)return null;let t=await e.fetchData(),n=await function(e,t,n){let o={basePath:n.router.basePath,i18n:{locales:n.router.locales},trailingSlash:!1},i=t.headers.get("x-nextjs-rewrite"),u=i||t.headers.get("x-nextjs-matched-path"),c=t.headers.get("x-matched-path");if(!c||u||c.includes("__next_data_catchall")||c.includes("/_error")||c.includes("/404")||(u=c),u){if(u.startsWith("/")){let t=(0,g.parseRelativeUrl)(u),c=(0,L.getNextPathnameInfo)(t.pathname,{nextConfig:o,parseData:!0}),d=(0,l.removeTrailingSlash)(c.pathname);return Promise.all([n.router.pageLoader.getPageList(),(0,s.getClientBuildManifest)()]).then(o=>{let[l,{__rewrites:s}]=o,u=(0,C.addLocale)(c.pathname,c.locale);if((0,m.isDynamicRoute)(u)||!i&&l.includes((0,f.normalizeLocalePath)((0,M.removeBasePath)(u),n.router.locales).pathname)){let n=(0,L.getNextPathnameInfo)((0,g.parseRelativeUrl)(e).pathname,{nextConfig:void 0,parseData:!0});u=(0,_.addBasePath)(n.pathname),t.pathname=u}{let e=(0,v.default)(u,l,s,t.query,e=>B(e,l),n.router.locales);e.matchedPage&&(t.pathname=e.parsedAs.pathname,u=t.pathname,Object.assign(t.query,e.parsedAs.query))}let h=l.includes(d)?d:B((0,f.normalizeLocalePath)((0,M.removeBasePath)(t.pathname),n.router.locales).pathname,l);if((0,m.isDynamicRoute)(h)){let e=(0,y.getRouteMatcher)((0,b.getRouteRegex)(h))(u);Object.assign(t.query,e||{})}return{type:"rewrite",parsedAs:t,resolvedHref:h}})}let t=(0,E.parsePath)(e);return Promise.resolve({type:"redirect-external",destination:""+(0,A.formatNextPathnameInfo)({...(0,L.getNextPathnameInfo)(t.pathname,{nextConfig:o,parseData:!0}
254),defaultLocale:n.router.defaultLocale,buildId:""})+t.query+t.hash})}let d=t.headers.get("x-nextjs-redirect");if(d){if(d.startsWith("/")){let e=(0,E.parsePath)(d),t=(0,A.formatNextPathnameInfo)({...(0,L.getNextPathnameInfo)(e.pathname,{nextConfig:o,parseData:!0}),defaultLocale:n.router.defaultLocale,buildId:""});return Promise.resolve({type:"redirect-internal",newAs:""+t+e.query+e.hash,newUrl:""+t+e.query+e.hash})}return Promise.resolve({type:"redirect-external",destination:d})}return Promise.resolve({type:"next"})}(t.dataHref,t.response,e);return{dataHref:t.dataHref,json:t.json,response:t.response,text:t.text,cacheKey:t.cacheKey,effect:n}}let U=Symbol("SSG_DATA_NOT_FOUND");function q(e){try{return JSON.parse(e)}catch(e){return null}}function G(e){let{dataHref:t,inflightCache:n,isPrefetch:o,hasMiddleware:i,isServerRender:l,parseJSON:u,persistCache:c,isBackground:d,unstable_skipClientCache:f}=e,{href:h}=new URL(t,window.location.href),p=e=>{var d;return(function e(t,n,o){return fetch(t,{credentials:"same-origin",method:o.method||"GET",headers:Object.assign({},o.headers,{"x-nextjs-data":"1"})}).then(i=>!i.ok&&n>1&&i.status>=500?e(t,n-1,o):i)})(t,l?3:1,{headers:Object.assign({},o?{purpose:"prefetch"}:{},o&&i?{"x-middleware-prefetch":"1"}:{}),method:null!=(d=null==e?void 0:e.method)?d:"GET"}).then(n=>n.ok&&(null==e?void 0:e.method)==="HEAD"?{dataHref:t,response:n,text:"",json:{},cacheKey:h}:n.text().then(e=>{if(!n.ok){if(i&&[301,302,307,308].includes(n.status))return{dataHref:t,response:n,text:e,json:{},cacheKey:h};if(404===n.status){var o;if(null==(o=q(e))?void 0:o.notFound)return{dataHref:t,json:{notFound:U},response:n,text:e,cacheKey:h}}let u=Error("Failed to load static props");throw l||(0,s.markAssetError)(u),u}return{dataHref:t,json:u?q(e):null,response:n,text:e,cacheKey:h}})).then(e=>(c&&"no-cache"!==e.response.headers.get("x-middleware-cache")||delete n[h],e)).catch(e=>{throw f||delete n[h],("Failed to fetch"===e.message||"NetworkError when attempting to fetch resource."===e.message||"Load failed"===e.message)&&(0,s.markAssetError)(e),e})};return f&&c?p({}).then(e=>("no-cache"!==e.response.headers.get("x-middleware-cache")&&(n[h]=Promise.resolve(e)),e)):void 0!==n[h]?n[h]:n[h]=p(d?{method:"HEAD"}:{})}function Y(){return Math.random().toString(36).slice(2,10)}function Z(e){let{url:t,router:n}=e;if(t===(0,_.addBasePath)((0,C.addLocale)(n.asPath,n.locale)))throw Error("Invariant: attempted to hard navigate to the same URL "+t+" "+location.href);window.location.href=t}let K=e=>{let{route:t,router:n}=e,o=!1,i=n.clc=()=>{o=!0};return()=>{if(o){let e=Error('Abort fetching component for route: "'+t+'"');throw e.cancelled=!0,e}i===n.clc&&(n.clc=null)}};class Q{reload(){window.location.reload()}back(){window.history.back()}forward(){window.history.forward()}push(e,t,n){return void 0===n&&(n={}),{url:e,as:t}=H(this,e,t),this.change("pushState",e,t,n)}replace(e,t,n){return void 0===n&&(n={}),{url:e,as:t}=H(this,e,t),this.change("replaceState",e,t,n)}async _bfl(e,t,n,o){{let c=!1,d=!1;for(let f of[e,t])if(f){let t=(0,l.removeTrailingSlash)(new URL(f,"http://n").pathname),h=(0,_.addBasePath)((0,C.addLocale)(t,n||this.locale));if(t!==(0,l.removeTrailingSlash)(new URL(this.asPath,"http://n").pathname)){var i,s,u;for(let e of(c=c||!!(null==(i=this._bfl_s)?void 0:i.contains(t))||!!(null==(s=this._bfl_s)?void 0:s.contains(h)),[t,h])){let t=e.split("/");for(let e=0;!d&&e<t.length+1;e++){let n=t.slice(0,e).join("/");if(n&&(null==(u=this._bfl_d)?void 0:u.contains(n))){d=!0;break}}}if(c||d){if(o)return!0;return Z({url:(0,_.addBasePath)((0,C.addLocale)(e,n||this.locale,this.defaultLocale)),router:this}),new Promise(()=>{})}}}}return!1}async change(e,t,n,o,i){var d,h,j,O,L,A,N,$,I,W;let q,G;if(!(0,P.isLocalURL)(t))return Z({url:t,router:this}),!1;let Y=1===o._h;Y||o.shallow||await this._bfl(n,void 0,o.locale);let K=Y||o._shouldResolveHref||(0,E.parsePath)(t).pathname===(0,E.parsePath)(n).pathname,X={...this.state},J=!0!==this.isReady;this.isReady=!0;let ee=this.isSsr;if(Y||(this.isSsr=!1),Y&&this.clc)return!1;let et=X.locale;{X.locale=!1===o.locale?this.defaultLocale:o.locale||X.locale,void 0===o.locale&&(o.locale=X.locale);let e=(0,g.parseRelativeUrl)((0,S.hasBasePath)(n)?(0,M.removeBasePath)(n):n),i=(0,f.normalizeLocalePath)(e.pathname,this.locales);i.detectedLocale&&(X.locale=i.detectedLocale,e.pathname=(0,_.addBasePath)(e.pathname),n=(0,w.formatWithValidation)(e),t=(0,_.addBasePath)((0,f.normalizeLocalePath)((0,S.hasBasePath)(t)?(0,M.removeBasePath)(t):t,this.locales).pathname));let l=!1;(null==(h=this.locales)?void 0:h.includes(X.locale))||(e.pathname=(0,C.addLocale)(e.pathname,X.locale),Z({url:(0,w.formatWithValidation)(e),router:this}),l=!0);let s=(0,x.detectDomainLocale)(this.domainLocales,void 0,X.locale);if(!l&&s&&this.isLocaleDomain&&self.location.hostname!==s.domain){let e=(0,M.removeBasePath)(n);Z({url:"http"+(s.http?"":"s")+"://"+s.domain+(0,_.addBasePath)((X.locale===s.defaultLocale?"":"/"+X.locale)+("/"===e?"":e)||"/"),router:this}),l=!0}if(l)return new Promise(()=>{})}p.ST&&performance.mark("routeChange");let{shallow:er=!1,scroll:en=!0}=o,ea={shallow:er};this._inFlightRoute&&this.clc&&(ee||Q.events.emit("routeChangeError",D(),this._inFlightRoute,ea),this.clc(),this.clc=null),n=(0,_.addBasePath)((0,C.addLocale)((0,S.hasBasePath)(n)?(0,M.removeBasePath)(n):n,o.locale,this.defaultLocale));let eo=(0,k.removeLocale)((0,S.hasBasePath)(n)?(0,M.removeBasePath)(n):n,X.locale);this._inFlightRoute=n;let ei=et!==X.locale;if(!Y&&this.onlyAHashChange(eo)&&!ei){X.asPath=eo,Q.events.emit("hashChangeStart",n,ea),this.changeState(e,t,n,{...o,scroll:!1}),en&&this.scrollToHash(eo);try{await this.set(X,this.components[X.route],null)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,eo,ea),e}return Q.events.emit("hashChangeComplete",n,ea),!0}let el=(0,g.parseRelativeUrl)(t),{pathname:es,query:eu}=el;try{[q,{__rewrites:G}
254]=await Promise.all([this.pageLoader.getPageList(),(0,s.getClientBuildManifest)(),this.pageLoader.getMiddleware()])}catch(e){return Z({url:n,router:this}),!1}this.urlIsNew(eo)||ei||(e="replaceState");let ec=n;es=es?(0,l.removeTrailingSlash)((0,M.removeBasePath)(es)):es;let ed=(0,l.removeTrailingSlash)(es),ef=n.startsWith("/")&&(0,g.parseRelativeUrl)(n).pathname;if(null==(d=this.components[es])?void 0:d.__appRouter)return Z({url:n,router:this}),new Promise(()=>{});let eh=!!(ef&&ed!==ef&&(!(0,m.isDynamicRoute)(ed)||!(0,y.getRouteMatcher)((0,b.getRouteRegex)(ed))(ef))),ep=!o.shallow&&await z({asPath:n,locale:X.locale,router:this});if(Y&&ep&&(K=!1),K&&"/_error"!==es){if(o._shouldResolveHref=!0,n.startsWith("/")){let e=(0,v.default)((0,_.addBasePath)((0,C.addLocale)(eo,X.locale),!0),q,G,eu,e=>B(e,q),this.locales);if(e.externalDest)return Z({url:n,router:this}),!0;ep||(ec=e.asPath),e.matchedPage&&e.resolvedHref&&(es=e.resolvedHref,el.pathname=(0,_.addBasePath)(es),ep||(t=(0,w.formatWithValidation)(el)))}else el.pathname=B(es,q),el.pathname===es||(es=el.pathname,el.pathname=(0,_.addBasePath)(es),ep||(t=(0,w.formatWithValidation)(el)))}if(!(0,P.isLocalURL)(n))return Z({url:n,router:this}),!1;ec=(0,k.removeLocale)((0,M.removeBasePath)(ec),X.locale),ed=(0,l.removeTrailingSlash)(es);let em=!1;if((0,m.isDynamicRoute)(ed)){let e=(0,g.parseRelativeUrl)(ec),o=e.pathname,i=(0,b.getRouteRegex)(ed);em=(0,y.getRouteMatcher)(i)(o);let l=ed===o,s=l?(0,R.interpolateAs)(ed,o,eu):{};if(em&&(!l||s.result))l?n=(0,w.formatWithValidation)(Object.assign({},e,{pathname:s.result,query:(0,F.omit)(eu,s.params)})):Object.assign(eu,em);else{let e=Object.keys(i.groups).filter(e=>!eu[e]&&!i.groups[e].optional);if(e.length>0&&!ep)throw Error((l?"The provided `href` ("+t+") value is missing query values ("+e.join(", ")+") to be interpolated properly. ":"The provided `as` value ("+o+") is incompatible with the `href` value ("+ed+"). ")+"Read more: https://nextjs.org/docs/messages/"+(l?"href-interpolation-failed":"incompatible-href-as"))}}Y||Q.events.emit("routeChangeStart",n,ea);let eg="/404"===this.pathname||"/_error"===this.pathname;try{let l=await this.getRouteInfo({route:ed,pathname:es,query:eu,as:n,resolvedAs:ec,routeProps:ea,locale:X.locale,isPreview:X.isPreview,hasMiddleware:ep,unstable_skipClientCache:o.unstable_skipClientCache,isQueryUpdating:Y&&!this.isFallback,isMiddlewareRewrite:eh});if(Y||o.shallow||await this._bfl(n,"resolvedAs"in l?l.resolvedAs:void 0,X.locale),"route"in l&&ep){ed=es=l.route||ed,ea.shallow||(eu=Object.assign({},l.query||{},eu));let e=(0,S.hasBasePath)(el.pathname)?(0,M.removeBasePath)(el.pathname):el.pathname;if(em&&es!==e&&Object.keys(em).forEach(e=>{em&&eu[e]===em[e]&&delete eu[e]}),(0,m.isDynamicRoute)(es)){let e=!ea.shallow&&l.resolvedAs?l.resolvedAs:(0,_.addBasePath)((0,C.addLocale)(new URL(n,location.href).pathname,X.locale),!0);(0,S.hasBasePath)(e)&&(e=(0,M.removeBasePath)(e));{let t=(0,f.normalizeLocalePath)(e,this.locales);X.locale=t.detectedLocale||X.locale,e=t.pathname}let t=(0,b.getRouteRegex)(es),o=(0,y.getRouteMatcher)(t)(new URL(e,location.href).pathname);o&&Object.assign(eu,o)}}if("type"in l){if("redirect-internal"===l.type)return this.change(e,l.newUrl,l.newAs,o);return Z({url:l.destination,router:this}),new Promise(()=>{})}let s=l.Component;if(s&&s.unstable_scriptLoader&&[].concat(s.unstable_scriptLoader()).forEach(e=>{(0,u.handleClientScriptLoad)(e.props)}),(l.__N_SSG||l.__N_SSP)&&l.props){if(l.props.pageProps&&l.props.pageProps.__N_REDIRECT){o.locale=!1;let t=l.props.pageProps.__N_REDIRECT;if(t.startsWith("/")&&!1!==l.props.pageProps.__N_REDIRECT_BASE_PATH){let n=(0,g.parseRelativeUrl)(t);n.pathname=B(n.pathname,q);let{url:i,as:l}=H(this,t,t);return this.change(e,i,l,o)}return Z({url:t,router:this}),new Promise(()=>{})}if(X.isPreview=!!l.props.__N_PREVIEW,l.props.notFound===U){let e;try{await this.fetchComponent("/404"),e="/404"}catch(t){e="/_error"}if(l=await this.getRouteInfo({route:e,pathname:e,query:eu,as:n,resolvedAs:ec,routeProps:{shallow:!1},locale:X.locale,isPreview:X.isPreview,isNotFound:!0}),"type"in l)throw Error("Unexpected middleware effect on /404")}}Y&&"/_error"===this.pathname&&(null==(O=self.__NEXT_DATA__.props)?void 0:null==(j=O.pageProps)?void 0:j.statusCode)===500&&(null==(L=l.props)?void 0:L.pageProps)&&(l.props.pageProps.statusCode=500);let d=o.shallow&&X.route===(null!=(A=l.route)?A:ed),h=null!=(N=o.scroll)?N:!Y&&!d,p=null!=i?i:h?{x:0,y:0}:null,v={...X,route:ed,pathname:es,query:eu,asPath:eo,isFallback:!1};if(Y&&eg){if(l=await this.getRouteInfo({route:this.pathname,pathname:this.pathname,query:eu,as:n,resolvedAs:ec,routeProps:{shallow:!1},locale:X.locale,isPreview:X.isPreview,isQueryUpdating:Y&&!this.isFallback}),"type"in l)throw Error("Unexpected middleware effect on "+this.pathname);"/_error"===this.pathname&&(null==(I=self.__NEXT_DATA__.props)?void 0:null==($=I.pageProps)?void 0:$.statusCode)===500&&(null==(W=l.props)?void 0:W.pageProps)&&(l.props.pageProps.statusCode=500);try{await this.set(v,l,p)}catch(e){throw(0,c.default)(e)&&e.cancelled&&Q.events.emit("routeChangeError",e,eo,ea),e}return!0}if(Q.events.emit("beforeHistoryChange",n,ea),this.changeState(e,t,n,o),!(Y&&!p&&
254!J&&!ei&&(0,T.compareRouterStates)(v,this.state))){try{await this.set(v,l,p)}catch(e){if(e.cancelled)l.error=l.error||e;else throw e}if(l.error)throw Y||Q.events.emit("routeChangeError",l.error,eo,ea),l.error;X.locale&&(document.documentElement.lang=X.locale),Y||Q.events.emit("routeChangeComplete",n,ea),h&&/#.+$/.test(n)&&this.scrollToHash(n)}return!0}catch(e){if((0,c.default)(e)&&e.cancelled)return!1;throw e}}changeState(e,t,n,o){void 0===o&&(o={}),("pushState"!==e||(0,p.getURL)()!==n)&&(this._shallow=o.shallow,window.history[e]({url:t,as:n,options:o,__N:!0,key:this._key="pushState"!==e?this._key:Y()},"",n))}async handleRouteInfoError(e,t,n,o,i,l){if(console.error(e),e.cancelled)throw e;if((0,s.isAssetError)(e)||l)throw Q.events.emit("routeChangeError",e,o,i),Z({url:o,router:this}),D();try{let o;let{page:i,styleSheets:l}=await this.fetchComponent("/_error"),s={props:o,Component:i,styleSheets:l,err:e,error:e};if(!s.props)try{s.props=await this.getInitialProps(i,{err:e,pathname:t,query:n})}catch(e){console.error("Error in error page `getInitialProps`: ",e),s.props={}}return s}catch(e){return this.handleRouteInfoError((0,c.default)(e)?e:Error(e+""),t,n,o,i,!0)}}async getRouteInfo(e){let{route:t,pathname:n,query:o,as:i,resolvedAs:s,routeProps:u,locale:d,hasMiddleware:h,isPreview:p,unstable_skipClientCache:m,isQueryUpdating:g,isMiddlewareRewrite:v,isNotFound:y}=e,b=t;try{var x,E,C,k;let e=this.components[b];if(u.shallow&&e&&this.route===b)return e;let t=K({route:b,router:this});h&&(e=void 0);let c=!e||"initial"in e?void 0:e,_={dataHref:this.pageLoader.getDataHref({href:(0,w.formatWithValidation)({pathname:n,query:o}),skipInterpolation:!0,asPath:y?"/404":s,locale:d}),hasMiddleware:!0,isServerRender:this.isSsr,parseJSON:!0,inflightCache:g?this.sbc:this.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:m,isBackground:g},S=g&&!v?null:await W({fetchData:()=>G(_),asPath:y?"/404":s,locale:d,router:this}).catch(e=>{if(g)return null;throw e});if(S&&("/_error"===n||"/404"===n)&&(S.effect=void 0),g&&(S?S.json=self.__NEXT_DATA__.props:S={json:self.__NEXT_DATA__.props}),t(),(null==S?void 0:null==(x=S.effect)?void 0:x.type)==="redirect-internal"||(null==S?void 0:null==(E=S.effect)?void 0:E.type)==="redirect-external")return S.effect;if((null==S?void 0:null==(C=S.effect)?void 0:C.type)==="rewrite"){let t=(0,l.removeTrailingSlash)(S.effect.resolvedHref),i=await this.pageLoader.getPageList();if((!g||i.includes(t))&&(b=t,n=S.effect.resolvedHref,o={...o,...S.effect.parsedAs.query},s=(0,M.removeBasePath)((0,f.normalizeLocalePath)(S.effect.parsedAs.pathname,this.locales).pathname),e=this.components[b],u.shallow&&e&&this.route===b&&!h))return{...e,route:b}}if((0,O.isAPIRoute)(b))return Z({url:i,router:this}),new Promise(()=>{});let j=c||await this.fetchComponent(b).then(e=>({Component:e.page,styleSheets:e.styleSheets,__N_SSG:e.mod.__N_SSG,__N_SSP:e.mod.__N_SSP})),L=null==S?void 0:null==(k=S.response)?void 0:k.headers.get("x-middleware-skip"),A=j.__N_SSG||j.__N_SSP;L&&(null==S?void 0:S.dataHref)&&delete this.sdc[S.dataHref];let{props:T,cacheKey:P}=await this._getData(async()=>{if(A){if((null==S?void 0:S.json)&&!L)return{cacheKey:S.cacheKey,props:S.json};let e=(null==S?void 0:S.dataHref)?S.dataHref:this.pageLoader.getDataHref({href:(0,w.formatWithValidation)({pathname:n,query:o}),asPath:s,locale:d}),t=await G({dataHref:e,isServerRender:this.isSsr,parseJSON:!0,inflightCache:L?{}:this.sdc,persistCache:!p,isPrefetch:!1,unstable_skipClientCache:m});return{cacheKey:t.cacheKey,props:t.json||{}}}return{headers:{},props:await this.getInitialProps(j.Component,{pathname:n,query:o,asPath:i,locale:d,locales:this.locales,defaultLocale:this.defaultLocale})}});return j.__N_SSP&&_.dataHref&&P&&delete this.sdc[P],this.isPreview||!j.__N_SSG||g||G(Object.assign({},_,{isBackground:!0,persistCache:!1,inflightCache:this.sbc})).catch(()=>{}),T.pageProps=Object.assign({},T.pageProps),j.props=T,j.route=b,j.query=o,j.resolvedAs=s,this.components[b]=j,j}catch(e){return this.handleRouteInfoError((0,c.getProperError)(e),n,o,i,u)}}set(e,t,n){return this.state=e,this.sub(t,this.components["/_app"].Component,n)}beforePopState(e){this._bps=e}onlyAHashChange(e){if(!this.asPath)return!1;let[t,n]=this.asPath.split("#",2),[o,i]=e.split("#",2);return!!i&&t===o&&n===i||t===o&&n!==i}scrollToHash(e){let[,t=""]=e.split("#",2);(0,$.handleSmoothScroll)(()=>
254{if(""===t||"top"===t){window.scrollTo(0,0);return}let e=decodeURIComponent(t),n=document.getElementById(e);if(n){n.scrollIntoView();return}let o=document.getElementsByName(e)[0];o&&o.scrollIntoView()},{onlyHashChange:this.onlyAHashChange(e)})}urlIsNew(e){return this.asPath!==e}async prefetch(e,t,n){if(void 0===t&&(t=e),void 0===n&&(n={}),(0,N.isBot)(window.navigator.userAgent))return;let o=(0,g.parseRelativeUrl)(e),i=o.pathname,{pathname:u,query:c}=o,d=u;if(!1===n.locale){u=(0,f.normalizeLocalePath)(u,this.locales).pathname,o.pathname=u,e=(0,w.formatWithValidation)(o);let i=(0,g.parseRelativeUrl)(t),l=(0,f.normalizeLocalePath)(i.pathname,this.locales);i.pathname=l.pathname,n.locale=l.detectedLocale||this.defaultLocale,t=(0,w.formatWithValidation)(i)}let h=await this.pageLoader.getPageList(),p=t,x=void 0!==n.locale?n.locale||void 0:this.locale,S=await z({asPath:t,locale:x,router:this});if(t.startsWith("/")){let n;({__rewrites:n}=await (0,s.getClientBuildManifest)());let i=(0,v.default)((0,_.addBasePath)((0,C.addLocale)(t,this.locale),!0),h,n,o.query,e=>B(e,h),this.locales);if(i.externalDest)return;S||(p=(0,k.removeLocale)((0,M.removeBasePath)(i.asPath),this.locale)),i.matchedPage&&i.resolvedHref&&(u=i.resolvedHref,o.pathname=u,S||(e=(0,w.formatWithValidation)(o)))}o.pathname=B(o.pathname,h),(0,m.isDynamicRoute)(o.pathname)&&(u=o.pathname,o.pathname=u,Object.assign(c,(0,y.getRouteMatcher)((0,b.getRouteRegex)(o.pathname))((0,E.parsePath)(t).pathname)||{}),S||(e=(0,w.formatWithValidation)(o)));let j=await W({fetchData:()=>G({dataHref:this.pageLoader.getDataHref({href:(0,w.formatWithValidation)({pathname:d,query:c}),skipInterpolation:!0,asPath:p,locale:x}),hasMiddleware:!0,isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0}),asPath:t,locale:x,router:this});if((null==j?void 0:j.effect.type)==="rewrite"&&(o.pathname=j.effect.resolvedHref,u=j.effect.resolvedHref,c={...c,...j.effect.parsedAs.query},p=j.effect.parsedAs.pathname,e=(0,w.formatWithValidation)(o)),(null==j?void 0:j.effect.type)==="redirect-external")return;let O=(0,l.removeTrailingSlash)(u);await this._bfl(t,p,n.locale,!0)&&(this.components[i]={__appRouter:!0}),await Promise.all([this.pageLoader._isSsg(O).then(t=>!!t&&G({dataHref:(null==j?void 0:j.json)?null==j?void 0:j.dataHref:this.pageLoader.getDataHref({href:e,asPath:p,locale:x}),isServerRender:!1,parseJSON:!0,inflightCache:this.sdc,persistCache:!this.isPreview,isPrefetch:!0,unstable_skipClientCache:n.unstable_skipClientCache||n.priority&&!0}).then(()=>!1).catch(()=>!1)),this.pageLoader[n.priority?"loadPage":"prefetch"](O)])}async fetchComponent(e){let t=K({route:e,router:this});try{let n=await this.pageLoader.loadPage(e);return t(),n}catch(e){throw t(),e}}_getData(e){let t=!1,n=()=>{t=!0};return this.clc=n,e().then(e=>{if(n===this.clc&&(this.clc=null),t){let e=Error("Loading initial props cancelled");throw e.cancelled=!0,e}return e})}_getFlightData(e){return G({dataHref:e,isServerRender:!0,parseJSON:!1,inflightCache:this.sdc,persistCache:!1,isPrefetch:!1}).then(e=>{let{text:t}=e;return{data:t}})}getInitialProps(e,t){let{Component:n}=this.components["/_app"],o=this._wrapApp(n);return t.AppTree=o,(0,p.loadGetInitialProps)(n,{AppTree:o,Component:e,router:this,ctx:t})}get route(){return this.state.route}get pathname(){return this.state.pathname}get query(){return this.state.query}get asPath(){return this.state.asPath}get locale(){return this.state.locale}get isFallback(){return this.state.isFallback}get isPreview(){return this.state.isPreview}constructor(e,t,o,{initialProps:i,pageLoader:s,App:u,wrapApp:c,Component:d,err:f,subscription:h,isFallback:v,locale:y,locales:b,defaultLocale:E,domainLocales:C,isPreview:k}){this.sdc={},this.sbc={},this.isFirstPopStateEvent=!0,this._key=Y(),this.onPopState=e=>{let t;let{isFirstPopStateEvent:n}=this;this.isFirstPopStateEvent=!1;let o=e.state;if(!o){let{pathname:e,query:t}=this;this.changeState("replaceState",(0,w.formatWithValidation)({pathname:(0,_.addBasePath)(e),query:t}),(0,p.getURL)());return}if(o.__NA){window.location.reload();return}if(!o.__N||n&&this.locale===o.options.locale&&o.as===this.asPath)return;let{url:i,as:l,options:s,key:u}=o;this._key=u;let{pathname:c}=(0,g.parseRelativeUrl)(i);(!this.isSsr||l!==(0,_.addBasePath)(this.asPath)||c!==(0,_.addBasePath)(this.pathname))&&(!this._bps||this._bps(o))&&this.change("replaceState",i,l,Object.assign({},s,{shallow:s.shallow&&this._shallow,locale:s.locale||this.defaultLocale,_h:0}),t)};let M=(0,l.removeTrailingSlash)(e);this.components={},"/_error"!==e&&(this.components[M]={Component:d,initial:!0,props:i,err:f,__N_SSG:i&&i.__N_SSG,__N_SSP:i&&i.__N_SSP}),this.components["/_app"]={Component:u,styleSheets:[]};{let{BloomFilter:e}=n(43402),t={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]},o={numItems:0,errorRate:1e-4,numBits:0,numHashes:null,bitArray:[]};(null==t?void 0:t.numHashes)&&(this._bfl_s=new e(t.numItems,t.errorRate),this._bfl_s.import(t)),(null==o?void 0:o.numHashes)&&(this._bfl_d=new e(o.numItems,o.errorRate),this._bfl_d.import(o))}this.events=Q.events,this.pageLoader=s;let S=(0,m.isDynamicRoute)(e)&&self.__NEXT_DATA__.autoExport;if(this.basePath="",this.sub=h,this.clc=null,this._wrapApp=c,this.isSsr=!0,this.isLocaleDomain=!1,this.isReady=!!(self.__NEXT_DATA__.gssp||self.__NEXT_DATA__.gip||self.__NEXT_DATA__.isExperimentalCompile||self.__NEXT_DATA__.appGip&&!self.__NEXT_DATA__.gsp||(S||self.location.search,0)),this.locales=b,this.defaultLocale=E,this.domainLocales=C,this.isLocaleDomain=!!(0,x.detectDomainLocale)(C,self.location.hostname),this.state={route:M,pathname:e,query:t,asPath:S?e:o,isPreview:!!k,locale:y,isFallback:v},this._initialMatchesMiddlewarePromise=Promise.resolve(!1),!o.startsWith("//")){let n={locale:y},i=(0,p.getURL)();this._initialMatchesMiddlewarePromise=z({router:this,locale:y,asPath:i}).then(l=>(n._shouldResolveHref=o!==e,this.changeState("replaceState",l?i:(0,w.formatWithValidation)({pathname:(0,_.addBasePath)(e),query:t}),i,n),l))}window.addEventListener("popstate",this.onPopState)}}Q.events=(0,h.default)()},93143:function(e,t,n){"use strict";function o(e){return(t,n={})=>{let o;let i=n.width,l=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],s=t.match(l);if(!s)return null;let u=s[0],c=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(c)?function(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}(c,e=>e.test(u)):function(e,t){for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}(c,e=>e.test(u));return o=e.valueCallback?e.valueCallback(d):d,{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(u.length)}}}n.d(t,{A:function(){return o}})},93380:function(e,t){"use strict";
254Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{BailoutToCSRError:function(){return o},isBailoutToCSRError:function(){return i}});let n="BAILOUT_TO_CLIENT_SIDE_RENDERING";class o extends Error{constructor(e){super("Bail out to client-side rendering: "+e),this.reason=e,this.digest=n}}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}},93456:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return o},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},o="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},95124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PathParamsContext:function(){return s},PathnameContext:function(){return l},SearchParamsContext:function(){return i}});let o=n(59065),i=(0,o.createContext)(null),l=(0,o.createContext)(null),s=(0,o.createContext)(null)},95339:function(e,t,n){"use strict";function o(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(null==e||e(o),!1===n||!o.defaultPrevented)return null==t?void 0:t(o)}}n.d(t,{m:function(){return o}})},96326:function(e,t){"use strict";var n,o;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(o=n||(n={}))[o.SeeOther=303]="SeeOther",o[o.TemporaryRedirect=307]="TemporaryRedirect",o[o.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96504:function(e,t){"use strict";function n(e){let{ampFirst:t=!1,hybrid:n=!1,hasQuery:o=!1}=void 0===e?{}:e;return t||n&&o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},96517:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let o=n(36064);function i(e){if("ended"!==e.state.state)throw Error("Expected span to be ended");(0,o.sendMessage)(JSON.stringify({event:"span-end",startTime:e.startTime,endTime:e.state.endTime,spanName:e.name,attributes:e.attributes}))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97708:function(e,t,n){"use strict";n.d(t,{E:function(){return d}});var o=new WeakMap,i=new WeakMap,l={},s=0,u=function(e){return e&&(e.host||u(e.parentNode))},c=function(e,t,n,c){var d=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=u(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});l[n]||(l[n]=new WeakMap);var f=l[n],h=[],p=new Set,m=new Set(d),g=function(e){!e||p.has(e)||(p.add(e),g(e.parentNode))};d.forEach(g);var v=function(e){!e||m.has(e)||Array.prototype.forEach.call(e.children,function(e){if(p.has(e))v(e);else try{var t=e.getAttribute(c),l=null!==t&&"false"!==t,s=(o.get(e)||0)+1,u=(f.get(e)||0)+1;o.set(e,s),f.set(e,u),h.push(e),1===s&&l&&i.set(e,!0),1===u&&e.setAttribute(n,"true"),l||e.setAttribute(c,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return v(t),p.clear(),s++,function(){h.forEach(function(e){var t=o.get(e)-1,l=f.get(e)-1;o.set(e,t),f.set(e,l),t||(i.has(e)||e.removeAttribute(c),i.delete(e)),l||e.removeAttribute(n)}),--s||(o=new WeakMap,o=new WeakMap,i=new WeakMap,l={})}},d=function(e,t,n){void 0===n&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),i=typeof document>"u"?null:(Array.isArray(e)?e[0]:e).ownerDocument.body;return i?(o.push.apply(o,Array.from(i.querySelectorAll("[aria-live], script"))),c(o,i,n,"aria-hidden")):function(){return null}}},97922:function(e,t,n){"use strict";
254Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let o=n(77223)._(n(83108));class i{end(e){if("ended"===this.state.state)throw Error("Span has already ended");this.state={state:"ended",endTime:null!=e?e:Date.now()},this.onSpanEnd(this)}constructor(e,t,n){var o,i;this.name=e,this.attributes=null!=(o=t.attributes)?o:{},this.startTime=null!=(i=t.startTime)?i:Date.now(),this.onSpanEnd=n,this.state={state:"inprogress"}}}class l{startSpan(e,t){return new i(e,t,this.handleSpanEnd)}onSpanEnd(e){return this._emitter.on("spanend",e),()=>{this._emitter.off("spanend",e)}}constructor(){this._emitter=(0,o.default)(),this.handleSpanEnd=e=>{this._emitter.emit("spanend",e)}}}let s=new l;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},97995:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(18214);function i(e,t){return function(){try{return t(...arguments)}catch(e){throw Error(void 0)}}}let l=i(0,o.useTranslations),s=i(0,o.useFormatter);t.useFormatter=s,t.useTranslations=l,Object.keys(o).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})})},98701:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(57339),self.__next_set_public_path__=e=>{n.p=e},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99160:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});/** 255 * @license lucide-react v0.436.0 - ISC 256 * 257 * This source code is licensed under the ISC license. 258 * See the LICENSE file in the root directory of this source tree. 259 */let o=(0,n(60454).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},99427:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"detectDomainLocale",{enumerable:!0,get:function(){return o}});let o=function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return n(52194).detectDomainLocale(...t)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},99861:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Portal",{enumerable:!0,get:function(){return l}});let o=n(59065),i=n(3517),l=e=>{let{children:t,type:n}=e,[l,s]=(0,o.useState)(null);return(0,o.useEffect)(()=>{let e=document.createElement(n);return document.body.appendChild(e),s(e),()=>{document.body.removeChild(e)}},[n]),l?(0,i.createPortal)(t,l):null};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},function(e){"function"==typeof e.x?e.x():console.warn("[Module Federation] __webpack_require__.x is not a function, skipping startup extension"),_N_E=Promise.all([e.f.consumes||function(e,t){},e.f.remotes||function(e,t){}].reduce(function(e,t){return t("8792",e),e},[])).then(function(){return e.X(0,[],function(){return e(e.s=81337)})})}]);
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.