@zthun/romulator-web 1.18.5 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/assets/index-BImCVu5p.js +891 -0
- package/dist/index.html +1 -1
- package/package.json +7 -7
- package/src/app/app.tsx +2 -0
- package/src/jobs/job-tile.tsx +54 -0
- package/src/jobs/jobs-page.cm.mts +31 -0
- package/src/jobs/jobs-page.test.tsx +81 -0
- package/src/jobs/jobs-page.tsx +62 -0
- package/src/jobs/jobs-service.ts +41 -0
- package/src/jobs/use-job-status-metadata.tsx +58 -0
- package/src/jobs/use-job-type-metadata.tsx +39 -0
- package/src/menu/menu.cm.mts +1 -0
- package/src/menu/menu.spec.tsx +7 -3
- package/src/menu/menu.tsx +13 -0
- package/dist/assets/index-CZMAQ_HC.js +0 -891
|
@@ -0,0 +1,891 @@
|
|
|
1
|
+
var u2=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports);var S8=u2((Na,$a)=>{(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const c of s)if(c.type==="childList")for(const d of c.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&l(d)}).observe(document,{childList:!0,subtree:!0});function r(s){const c={};return s.integrity&&(c.integrity=s.integrity),s.referrerPolicy&&(c.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?c.credentials="include":s.crossOrigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function l(s){if(s.ep)return;s.ep=!0;const c=r(s);fetch(s.href,c)}})();var tl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kh(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Id={exports:{}},yu={};var Z0;function s2(){if(Z0)return yu;Z0=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(l,s,c){var d=null;if(c!==void 0&&(d=""+c),s.key!==void 0&&(d=""+s.key),"key"in s){c={};for(var g in s)g!=="key"&&(c[g]=s[g])}else c=s;return s=c.ref,{$$typeof:t,type:l,key:d,ref:s!==void 0?s:null,props:c}}return yu.Fragment=n,yu.jsx=r,yu.jsxs=r,yu}var Y0;function o2(){return Y0||(Y0=1,Id.exports=s2()),Id.exports}var w=o2();function c2(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class f2{description(n){return this._wait.description=n,this}debounce(n){return this._wait.debounce=n,this}timeout(n){return this._wait.timeout=n,this}build(){return{...this._wait}}constructor(){c2(this,"_wait",void 0),this._wait={debounce:0,timeout:1e4}}}const G0=(t,n)=>{let r=t;if(n!=null){const l=`${t}[name="${n}"]`,s=`${t}[data-name="${n}"]`;r=`${l},${s}`}return r};class Pe{static async all(n,r,l=r.Selector){return(await n.query(l)).map(c=>new r(c))}static async css(n,r,l){const s=`Searching for a component with selector: ${l}`,c=new f2().description(s).build();await n.wait(()=>n.peek(l),c);const d=await n.select(l);return new r(d)}static first(n,r,l){const s=G0(r.Selector,l);return Pe.css(n,r,s)}static async optional(n,r,l){const s=G0(r.Selector,l),[c]=await n.query(s);return c?new r(c):null}}function d2(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Te{constructor(n){d2(this,"driver",void 0),this.driver=n}}function h2(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class K{upper(n){return this._key.upper=n,this}printable(){return this._key.printable=!0,this}modifier(){return this._key.modifier=!0,this}shift(){return this._key.shift=!0,this}toggle(){return this._key.toggle=!0,this}build(){return{...this._key}}constructor(n,r){h2(this,"_key",void 0),this._key={lower:n,code:r,upper:n,printable:!1,modifier:!1,shift:!1,toggle:!1}}}const Qe=Object.freeze({escape:new K("Escape","Escape").build(),f1:new K("F1","F1").build(),f2:new K("F2","F2").build(),f3:new K("F3","F3").build(),f4:new K("F4","F4").build(),f5:new K("F5","F5").build(),f6:new K("F6","F6").build(),f7:new K("F7","F7").build(),f8:new K("F8","F8").build(),f9:new K("F9","F9").build(),f10:new K("F10","F10").build(),f11:new K("F11","F11").build(),f12:new K("F12","F12").build(),backquote:new K("`","Backquote").upper("~").printable().build(),digit1:new K("1","Digit1").upper("!").printable().build(),digit2:new K("2","Digit2").upper("@").printable().build(),digit3:new K("3","Digit3").upper("#").printable().build(),digit4:new K("4","Digit4").upper("$").printable().build(),digit5:new K("5","Digit5").upper("%").printable().build(),digit6:new K("6","Digit6").upper("^").printable().build(),digit7:new K("7","Digit7").upper("&").printable().build(),digit8:new K("8","Digit8").upper("*").printable().build(),digit9:new K("9","Digit9").upper("(").printable().build(),digit0:new K("0","Digit0").upper(")").printable().build(),backspace:new K("BackSpace","Backspace").build(),tab:new K("Tab","Tab").build(),keyQ:new K("q","KeyQ").upper("Q").printable().build(),keyW:new K("w","KeyW").upper("W").printable().build(),keyE:new K("e","KeyE").upper("E").printable().build(),keyR:new K("r","KeyR").upper("R").printable().build(),keyT:new K("t","KeyT").upper("T").printable().build(),keyY:new K("y","KeyY").upper("Y").printable().build(),keyU:new K("u","KeyU").upper("U").printable().build(),keyI:new K("i","KeyI").upper("I").printable().build(),keyO:new K("o","KeyO").upper("O").printable().build(),keyP:new K("p","KeyP").upper("P").printable().build(),bracketLeft:new K("[","BracketLeft").upper("{").printable().build(),bracketRight:new K("]","BracketRight").upper("}").printable().build(),backslash:new K("\\","Backslash").upper("|").printable().build(),capsLock:new K("CapsLock","CapsLock").shift().toggle().build(),keyA:new K("a","KeyA").upper("A").printable().build(),keyS:new K("s","KeyS").upper("S").printable().build(),keyD:new K("d","KeyD").upper("D").printable().build(),keyF:new K("f","KeyF").upper("F").printable().build(),keyG:new K("g","KeyG").upper("G").printable().build(),keyH:new K("h","KeyH").upper("H").printable().build(),keyJ:new K("j","KeyJ").upper("J").printable().build(),keyK:new K("k","KeyK").upper("K").printable().build(),keyL:new K("l","KeyL").upper("L").printable().build(),semiColon:new K(";","Semicolon").upper(":").printable().build(),quote:new K("'","Quote").upper('"').printable().build(),enter:new K("Enter","Enter").build(),shiftLeft:new K("Shift","ShiftLeft").modifier().shift().build(),keyZ:new K("z","KeyZ").upper("Z").printable().build(),keyX:new K("x","KeyX").upper("X").printable().build(),keyC:new K("c","KeyC").upper("C").printable().build(),keyV:new K("v","KeyV").upper("V").printable().build(),keyB:new K("b","KeyB").upper("B").printable().build(),keyN:new K("n","KeyN").upper("N").printable().build(),keyM:new K("m","KeyM").upper("M").printable().build(),comma:new K(",","Comma").upper("<").printable().build(),period:new K(".","Period").upper(">").printable().build(),slash:new K("/","Slash").upper("?").printable().build(),shiftRight:new K("Shift","ShiftRight").modifier().shift().build(),controlLeft:new K("Control","ControlLeft").modifier().build(),metaLeft:new K("Meta","MetaLeft").modifier().build(),altLeft:new K("Alt","AltLeft").modifier().build(),space:new K(" ","Space").printable().build(),altRight:new K("Alt","AltRight").modifier().build(),contextMenu:new K("ContextMenu","ContextMenu").build(),controlRight:new K("Control","ControlRight").modifier().build(),printScreen:new K("F13","F13").build(),scrollLock:new K("F14","F14").build(),pause:new K("F15","F15").build(),insert:new K("Help","Insert").toggle().build(),home:new K("Home","Home").build(),pageUp:new K("PageUp","PageUp").build(),delete:new K("Delete","Delete").build(),end:new K("End","End").build(),pageDown:new K("PageDown","PageDown").build(),upArrow:new K("ArrowUp","ArrowUp").build(),leftArrow:new K("ArrowLeft","ArrowLeft").build(),downArrow:new K("ArrowDown","ArrowDown").build(),rightArrow:new K("ArrowRight","ArrowRight").build(),numLock:new K("Clear","NumLock").toggle().build(),numpadDivide:new K("/","NumpadDivide").build(),numpadMultiply:new K("*","NumpadMultiply").build(),numpadSubtract:new K("-","NumpadSubtract").build(),numpad7:new K("7","Numpad7").printable().build(),numpad8:new K("8","Numpad8").printable().build(),numpad9:new K("9","Numpad9").printable().build(),numpad4:new K("4","Numpad4").printable().build(),numpad5:new K("5","Numpad5").printable().build(),numpad6:new K("6","Numpad6").printable().build(),numpadAdd:new K("+","NumpadAdd").printable().build(),numpad1:new K("1","Numpad1").printable().build(),numpad2:new K("2","Numpad2").printable().build(),numpad3:new K("3","Numpad3").printable().build(),numpad0:new K("0","Numpad0").printable().build(),numpadDecimal:new K(".","NumpadDecimal").printable().build(),numpadEnter:new K("Enter","NumpadEnter").build()});function wh(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class xh{translate(n){return this._lowerCaseToKeyValue.get(n)||this._upperCaseToKeyValue.get(n)}constructor(n){wh(this,"_lowerCaseToKeyValue",new Map),wh(this,"_upperCaseToKeyValue",new Map),n.forEach(r=>{this._lowerCaseToKeyValue.set(r.lower,r),this._upperCaseToKeyValue.set(r.upper,r)})}}wh(xh,"Qwerty",new xh(Object.values(Qe)));var bu=(function(t){return t.MouseDown="mouse-down",t.MouseUp="mouse-up",t.KeyDown="key-down",t.KeyUp="key-up",t.Magic="magic",t})({});function Vn(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Ie{action(n){return this._actions.push({...n}),this}_action(n,r){return this.action({name:n,context:r})}press(n,r=1){for(let l=0;l<r;++l)this.keyDown(n).keyUp(n);return this}click(){return this.leftMouseDown().leftMouseUp()}rightClick(){return this.rightMouseDown().rightMouseUp()}type(n){const r=xh.Qwerty;for(const l of n){const s=r.translate(l);l===s?.upper&&l!==s?.lower?this.keyDown(Qe.shiftLeft).press(s).keyUp(Qe.shiftLeft):s!=null&&this.press(s)}return this}build(){return{actions:this._actions.slice()}}constructor(){Vn(this,"_actions",[]),Vn(this,"keyDown",this._action.bind(this,bu.KeyDown)),Vn(this,"keyUp",this._action.bind(this,bu.KeyUp)),Vn(this,"_mouseDown",this._action.bind(this,bu.MouseDown)),Vn(this,"_mouseUp",this._action.bind(this,bu.MouseUp)),Vn(this,"leftMouseDown",this._mouseDown.bind(this,"Left")),Vn(this,"leftMouseUp",this._mouseUp.bind(this,"Left")),Vn(this,"rightMouseDown",this._mouseDown.bind(this,"Right")),Vn(this,"rightMouseUp",this._mouseUp.bind(this,"Right")),Vn(this,"magic",this._action.bind(this,bu.Magic))}}const Dt=[];for(let t=0;t<256;++t)Dt.push((t+256).toString(16).slice(1));function m2(t,n=0){return(Dt[t[n+0]]+Dt[t[n+1]]+Dt[t[n+2]]+Dt[t[n+3]]+"-"+Dt[t[n+4]]+Dt[t[n+5]]+"-"+Dt[t[n+6]]+Dt[t[n+7]]+"-"+Dt[t[n+8]]+Dt[t[n+9]]+"-"+Dt[t[n+10]]+Dt[t[n+11]]+Dt[t[n+12]]+Dt[t[n+13]]+Dt[t[n+14]]+Dt[t[n+15]]).toLowerCase()}let eh;const p2=new Uint8Array(16);function g2(){if(!eh){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");eh=crypto.getRandomValues.bind(crypto)}return eh(p2)}const y2=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),k0={randomUUID:y2};function b2(t,n,r){t=t||{};const l=t.random??t.rng?.()??g2();if(l.length<16)throw new Error("Random bytes length must be >= 16");if(l[6]=l[6]&15|64,l[8]=l[8]&63|128,n){if(r=r||0,r<0||r+16>n.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let s=0;s<16;++s)n[r+s]=l[s];return n}return m2(l)}function v2(t,n,r){return k0.randomUUID&&!n&&!t?k0.randomUUID():b2(t,n,r)}function et(t){return(n={})=>{const r=n.width?String(n.width):t.defaultWidth;return t.formats[r]||t.formats[t.defaultWidth]}}function ta(t){return(n,r)=>{const l=r?.context?String(r.context):"standalone";let s;if(l==="formatting"&&t.formattingValues){const d=t.defaultFormattingWidth||t.defaultWidth,g=r?.width?String(r.width):d;s=t.formattingValues[g]||t.formattingValues[d]}else{const d=t.defaultWidth,g=r?.width?String(r.width):t.defaultWidth;s=t.values[g]||t.values[d]}const c=t.argumentCallback?t.argumentCallback(n):n;return s[c]}}function na(t){return(n,r={})=>{const l=r.width,s=l&&t.matchPatterns[l]||t.matchPatterns[t.defaultMatchWidth],c=n.match(s);if(!c)return null;const d=c[0],g=l&&t.parsePatterns[l]||t.parsePatterns[t.defaultParseWidth],m=Array.isArray(g)?x2(g,v=>v.test(d)):w2(g,v=>v.test(d));let h;h=t.valueCallback?t.valueCallback(m):m,h=r.valueCallback?r.valueCallback(h):h;const b=n.slice(d.length);return{value:h,rest:b}}}function w2(t,n){for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n(t[r]))return r}function x2(t,n){for(let r=0;r<t.length;r++)if(n(t[r]))return r}function Cv(t){return(n,r={})=>{const l=n.match(t.matchPattern);if(!l)return null;const s=l[0],c=n.match(t.parsePattern);if(!c)return null;let d=t.valueCallback?t.valueCallback(c[0]):c[0];d=r.valueCallback?r.valueCallback(d):d;const g=n.slice(s.length);return{value:d,rest:g}}}const Dv=6048e5,_2=864e5,S2=6e4,T2=36e5,E2=1e3,P0=Symbol.for("constructDateFrom");function Tt(t,n){return typeof t=="function"?t(n):t&&typeof t=="object"&&P0 in t?t[P0](n):t instanceof Date?new t.constructor(n):new Date(n)}function O2(t,...n){const r=Tt.bind(null,n.find(l=>typeof l=="object"));return n.map(r)}let M2={};function pl(){return M2}function vt(t,n){return Tt(n||t,t)}function _r(t,n){const r=pl(),l=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=vt(t,n?.in),c=s.getDay(),d=(c<l?7:0)+c-l;return s.setDate(s.getDate()-d),s.setHours(0,0,0,0),s}const A2={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"}},si=(t,n,r)=>{let l;const s=A2[t];return typeof s=="string"?l=s:n===1?l=s.one:l=s.other.replace("{{count}}",n.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+l:l+" ago":l},C2={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},D2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},R2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},N2={date:et({formats:C2,defaultWidth:"full"}),time:et({formats:D2,defaultWidth:"full"}),dateTime:et({formats:R2,defaultWidth:"full"})},$2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Tr=(t,n,r,l)=>$2[t],z2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},q2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},j2={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"]},U2={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"]},L2={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"}},B2={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"}},H2=(t,n)=>{const r=Number(t),l=r%100;if(l>20||l<10)switch(l%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},Er={ordinalNumber:H2,era:ta({values:z2,defaultWidth:"wide"}),quarter:ta({values:q2,defaultWidth:"wide",argumentCallback:t=>t-1}),month:ta({values:j2,defaultWidth:"wide"}),day:ta({values:U2,defaultWidth:"wide"}),dayPeriod:ta({values:L2,defaultWidth:"wide",formattingValues:B2,defaultFormattingWidth:"wide"})},Z2=/^(\d+)(th|st|nd|rd)?/i,Y2=/\d+/i,G2={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},k2={any:[/^b/i,/^(a|c)/i]},P2={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},V2={any:[/1/i,/2/i,/3/i,/4/i]},X2={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},Q2={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]},F2={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},K2={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]},J2={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},W2={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}},Or={ordinalNumber:Cv({matchPattern:Z2,parsePattern:Y2,valueCallback:t=>parseInt(t,10)}),era:na({matchPatterns:G2,defaultMatchWidth:"wide",parsePatterns:k2,defaultParseWidth:"any"}),quarter:na({matchPatterns:P2,defaultMatchWidth:"wide",parsePatterns:V2,defaultParseWidth:"any",valueCallback:t=>t+1}),month:na({matchPatterns:X2,defaultMatchWidth:"wide",parsePatterns:Q2,defaultParseWidth:"any"}),day:na({matchPatterns:F2,defaultMatchWidth:"wide",parsePatterns:K2,defaultParseWidth:"any"}),dayPeriod:na({matchPatterns:J2,defaultMatchWidth:"any",parsePatterns:W2,defaultParseWidth:"any"})},V0={code:"en-AU",formatDistance:si,formatLong:N2,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:1,firstWeekContainsDate:4}},I2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"a second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"a minute",other:"{{count}} minutes"},aboutXHours:{one:"about an hour",other:"about {{count}} hours"},xHours:{one:"an hour",other:"{{count}} hours"},xDays:{one:"a day",other:"{{count}} days"},aboutXWeeks:{one:"about a week",other:"about {{count}} weeks"},xWeeks:{one:"a week",other:"{{count}} weeks"},aboutXMonths:{one:"about a month",other:"about {{count}} months"},xMonths:{one:"a month",other:"{{count}} months"},aboutXYears:{one:"about a year",other:"about {{count}} years"},xYears:{one:"a year",other:"{{count}} years"},overXYears:{one:"over a year",other:"over {{count}} years"},almostXYears:{one:"almost a year",other:"almost {{count}} years"}},eT=(t,n,r)=>{let l;const s=I2[t];return typeof s=="string"?l=s:n===1?l=s.one:l=s.other.replace("{{count}}",n.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+l:l+" ago":l},tT={full:"EEEE, MMMM do, yyyy",long:"MMMM do, yyyy",medium:"MMM d, yyyy",short:"yyyy-MM-dd"},nT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},aT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},rT={date:et({formats:tT,defaultWidth:"full"}),time:et({formats:nT,defaultWidth:"full"}),dateTime:et({formats:aT,defaultWidth:"full"})},X0={code:"en-CA",formatDistance:eT,formatLong:rT,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:0,firstWeekContainsDate:1}},iT={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},lT={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},uT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Rv={date:et({formats:iT,defaultWidth:"full"}),time:et({formats:lT,defaultWidth:"full"}),dateTime:et({formats:uT,defaultWidth:"full"})},Q0={code:"en-GB",formatDistance:si,formatLong:Rv,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:1,firstWeekContainsDate:4}},F0={code:"en-IE",formatDistance:si,formatLong:Rv,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:1,firstWeekContainsDate:4}},sT={full:"EEEE, d MMMM yyyy",long:"d MMMM, yyyy",medium:"d MMM, yyyy",short:"dd/MM/yyyy"},oT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},cT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},fT={date:et({formats:sT,defaultWidth:"full"}),time:et({formats:oT,defaultWidth:"full"}),dateTime:et({formats:cT,defaultWidth:"full"})},K0={code:"en-IN",formatDistance:si,formatLong:fT,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:1,firstWeekContainsDate:4}},dT={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},hT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},mT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},pT={date:et({formats:dT,defaultWidth:"full"}),time:et({formats:hT,defaultWidth:"full"}),dateTime:et({formats:mT,defaultWidth:"full"})},J0={code:"en-NZ",formatDistance:si,formatLong:pT,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:1,firstWeekContainsDate:4}},gT={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},yT={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},bT={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},vT={date:et({formats:gT,defaultWidth:"full"}),time:et({formats:yT,defaultWidth:"full"}),dateTime:et({formats:bT,defaultWidth:"full"})},Io={code:"en-US",formatDistance:si,formatLong:vT,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:0,firstWeekContainsDate:1}},wT={full:"EEEE, dd MMMM yyyy",long:"dd MMMM yyyy",medium:"dd MMM yyyy",short:"yyyy/MM/dd"},xT={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},_T={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ST={date:et({formats:wT,defaultWidth:"full"}),time:et({formats:xT,defaultWidth:"full"}),dateTime:et({formats:_T,defaultWidth:"full"})},W0={code:"en-ZA",formatDistance:si,formatLong:ST,formatRelative:Tr,localize:Er,match:Or,options:{weekStartsOn:0,firstWeekContainsDate:1}},TT={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},ET=(t,n,r)=>{r=r||{};let l;const s=TT[t];return typeof s=="string"?l=s:n===1?r.addSuffix&&s.oneWithSuffix?l=s.oneWithSuffix:l=s.one:r.addSuffix&&s.otherWithSuffix?l=s.otherWithSuffix.replace("{{count}}",String(n)):l=s.other.replace("{{count}}",String(n)),r.addSuffix?r.comparison&&r.comparison>0?l+"後":l+"前":l},OT={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},MT={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},AT={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},CT={date:et({formats:OT,defaultWidth:"full"}),time:et({formats:MT,defaultWidth:"full"}),dateTime:et({formats:AT,defaultWidth:"full"})},DT={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},RT=(t,n,r,l)=>DT[t],NT={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},$T={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},zT={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},qT={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},jT={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},UT={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},LT=(t,n)=>{const r=Number(t);switch(String(n?.unit)){case"year":return`${r}年`;case"quarter":return`第${r}四半期`;case"month":return`${r}月`;case"week":return`第${r}週`;case"date":return`${r}日`;case"hour":return`${r}時`;case"minute":return`${r}分`;case"second":return`${r}秒`;default:return`${r}`}},BT={ordinalNumber:LT,era:ta({values:NT,defaultWidth:"wide"}),quarter:ta({values:$T,defaultWidth:"wide",argumentCallback:t=>Number(t)-1}),month:ta({values:zT,defaultWidth:"wide"}),day:ta({values:qT,defaultWidth:"wide"}),dayPeriod:ta({values:jT,defaultWidth:"wide",formattingValues:UT,defaultFormattingWidth:"wide"})},HT=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,ZT=/\d+/i,YT={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},GT={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},kT={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},PT={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},VT={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},XT={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},QT={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},FT={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},KT={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},JT={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},WT={ordinalNumber:Cv({matchPattern:HT,parsePattern:ZT,valueCallback:function(t){return parseInt(t,10)}}),era:na({matchPatterns:YT,defaultMatchWidth:"wide",parsePatterns:GT,defaultParseWidth:"any"}),quarter:na({matchPatterns:kT,defaultMatchWidth:"wide",parsePatterns:PT,defaultParseWidth:"any",valueCallback:t=>t+1}),month:na({matchPatterns:VT,defaultMatchWidth:"wide",parsePatterns:XT,defaultParseWidth:"any"}),day:na({matchPatterns:QT,defaultMatchWidth:"wide",parsePatterns:FT,defaultParseWidth:"any"}),dayPeriod:na({matchPatterns:KT,defaultMatchWidth:"any",parsePatterns:JT,defaultParseWidth:"any"})},I0={code:"ja",formatDistance:ET,formatLong:CT,formatRelative:RT,localize:BT,match:WT,options:{weekStartsOn:0,firstWeekContainsDate:1}};function IT(t,n,r="long"){return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:t,timeZoneName:r}).format(n).split(/\s/g).slice(2).join(" ")}const eE={},$u={};function Jr(t,n){try{const l=(eE[t]||=new Intl.DateTimeFormat("en-US",{timeZone:t,timeZoneName:"longOffset"}).format)(n).split("GMT")[1];return l in $u?$u[l]:eb(l,l.split(":"))}catch{if(t in $u)return $u[t];const r=t?.match(tE);return r?eb(t,r.slice(1)):NaN}}const tE=/([+-]\d\d):?(\d\d)?/;function eb(t,n){const r=+(n[0]||0),l=+(n[1]||0),s=+(n[2]||0)/60;return $u[t]=r*60+l>0?r*60+l+s:r*60-l-s}class ia extends Date{constructor(...n){super(),n.length>1&&typeof n[n.length-1]=="string"&&(this.timeZone=n.pop()),this.internal=new Date,isNaN(Jr(this.timeZone,this))?this.setTime(NaN):n.length?typeof n[0]=="number"&&(n.length===1||n.length===2&&typeof n[1]!="number")?this.setTime(n[0]):typeof n[0]=="string"?this.setTime(+new Date(n[0])):n[0]instanceof Date?this.setTime(+n[0]):(this.setTime(+new Date(...n)),Nv(this),_h(this)):this.setTime(Date.now())}static tz(n,...r){return r.length?new ia(...r,n):new ia(Date.now(),n)}withTimeZone(n){return new ia(+this,n)}getTimezoneOffset(){const n=-Jr(this.timeZone,this);return n>0?Math.floor(n):Math.ceil(n)}setTime(n){return Date.prototype.setTime.apply(this,arguments),_h(this),+this}[Symbol.for("constructDateFrom")](n){return new ia(+new Date(n),this.timeZone)}}const tb=/^(get|set)(?!UTC)/;Object.getOwnPropertyNames(Date.prototype).forEach(t=>{if(!tb.test(t))return;const n=t.replace(tb,"$1UTC");ia.prototype[n]&&(t.startsWith("get")?ia.prototype[t]=function(){return this.internal[n]()}:(ia.prototype[t]=function(){return Date.prototype[n].apply(this.internal,arguments),nE(this),+this},ia.prototype[n]=function(){return Date.prototype[n].apply(this,arguments),_h(this),+this}))});function _h(t){t.internal.setTime(+t),t.internal.setUTCSeconds(t.internal.getUTCSeconds()-Math.round(-Jr(t.timeZone,t)*60))}function nE(t){Date.prototype.setFullYear.call(t,t.internal.getUTCFullYear(),t.internal.getUTCMonth(),t.internal.getUTCDate()),Date.prototype.setHours.call(t,t.internal.getUTCHours(),t.internal.getUTCMinutes(),t.internal.getUTCSeconds(),t.internal.getUTCMilliseconds()),Nv(t)}function Nv(t){const n=Jr(t.timeZone,t),r=n>0?Math.floor(n):Math.ceil(n),l=new Date(+t);l.setUTCHours(l.getUTCHours()-1);const s=-new Date(+t).getTimezoneOffset(),c=-new Date(+l).getTimezoneOffset(),d=s-c,g=Date.prototype.getHours.apply(t)!==t.internal.getUTCHours();d&&g&&t.internal.setUTCMinutes(t.internal.getUTCMinutes()+d);const m=s-r;m&&Date.prototype.setUTCMinutes.call(t,Date.prototype.getUTCMinutes.call(t)+m);const h=new Date(+t);h.setUTCSeconds(0);const b=s>0?h.getSeconds():(h.getSeconds()-60)%60,v=Math.round(-(Jr(t.timeZone,t)*60))%60;(v||b)&&(t.internal.setUTCSeconds(t.internal.getUTCSeconds()+v),Date.prototype.setUTCSeconds.call(t,Date.prototype.getUTCSeconds.call(t)+v+b));const O=Jr(t.timeZone,t),N=O>0?Math.floor(O):Math.ceil(O),S=-new Date(+t).getTimezoneOffset()-N,E=N!==r,j=S-m;if(E&&j){Date.prototype.setUTCMinutes.call(t,Date.prototype.getUTCMinutes.call(t)+j);const x=Jr(t.timeZone,t),$=x>0?Math.floor(x):Math.ceil(x),q=N-$;q&&(t.internal.setUTCMinutes(t.internal.getUTCMinutes()+q),Date.prototype.setUTCMinutes.call(t,Date.prototype.getUTCMinutes.call(t)+q))}}class Wr extends ia{static tz(n,...r){return r.length?new Wr(...r,n):new Wr(Date.now(),n)}toISOString(){const[n,r,l]=this.tzComponents(),s=`${n}${r}:${l}`;return this.internal.toISOString().slice(0,-1)+s}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[n,r,l,s]=this.internal.toUTCString().split(" ");return`${n?.slice(0,-1)} ${l} ${r} ${s}`}toTimeString(){const n=this.internal.toUTCString().split(" ")[4],[r,l,s]=this.tzComponents();return`${n} GMT${r}${l}${s} (${IT(this.timeZone,this)})`}toLocaleString(n,r){return Date.prototype.toLocaleString.call(this,n,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleDateString(n,r){return Date.prototype.toLocaleDateString.call(this,n,{...r,timeZone:r?.timeZone||this.timeZone})}toLocaleTimeString(n,r){return Date.prototype.toLocaleTimeString.call(this,n,{...r,timeZone:r?.timeZone||this.timeZone})}tzComponents(){const n=this.getTimezoneOffset(),r=n>0?"-":"+",l=String(Math.floor(Math.abs(n)/60)).padStart(2,"0"),s=String(Math.abs(n)%60).padStart(2,"0");return[r,l,s]}withTimeZone(n){return new Wr(+this,n)}[Symbol.for("constructDateFrom")](n){return new Wr(+new Date(n),this.timeZone)}}function $v(t,n,r){const l=vt(t,r?.in);return isNaN(n)?Tt(r?.in||t,NaN):(n&&l.setDate(l.getDate()+n),l)}function ol(t,n){return _r(t,{...n,weekStartsOn:1})}function zv(t,n){const r=vt(t,n?.in),l=r.getFullYear(),s=Tt(r,0);s.setFullYear(l+1,0,4),s.setHours(0,0,0,0);const c=ol(s),d=Tt(r,0);d.setFullYear(l,0,4),d.setHours(0,0,0,0);const g=ol(d);return r.getTime()>=c.getTime()?l+1:r.getTime()>=g.getTime()?l:l-1}function ec(t){const n=vt(t),r=new Date(Date.UTC(n.getFullYear(),n.getMonth(),n.getDate(),n.getHours(),n.getMinutes(),n.getSeconds(),n.getMilliseconds()));return r.setUTCFullYear(n.getFullYear()),+t-+r}function Sh(t,n){const r=vt(t,n?.in);return r.setHours(0,0,0,0),r}function aE(t,n,r){const[l,s]=O2(r?.in,t,n),c=Sh(l),d=Sh(s),g=+c-ec(c),m=+d-ec(d);return Math.round((g-m)/_2)}function rE(t,n){const r=zv(t,n),l=Tt(t,0);return l.setFullYear(r,0,4),l.setHours(0,0,0,0),ol(l)}function iE(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function lE(t){return!(!iE(t)&&typeof t!="number"||isNaN(+vt(t)))}function uE(t,n){const r=vt(t,n?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function sE(t,n){const r=vt(t,n?.in);return aE(r,uE(r))+1}function qv(t,n){const r=vt(t,n?.in),l=+ol(r)-+rE(r);return Math.round(l/Dv)+1}function Jh(t,n){const r=vt(t,n?.in),l=r.getFullYear(),s=pl(),c=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??s.firstWeekContainsDate??s.locale?.options?.firstWeekContainsDate??1,d=Tt(n?.in||t,0);d.setFullYear(l+1,0,c),d.setHours(0,0,0,0);const g=_r(d,n),m=Tt(n?.in||t,0);m.setFullYear(l,0,c),m.setHours(0,0,0,0);const h=_r(m,n);return+r>=+g?l+1:+r>=+h?l:l-1}function oE(t,n){const r=pl(),l=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,s=Jh(t,n),c=Tt(n?.in||t,0);return c.setFullYear(s,0,l),c.setHours(0,0,0,0),_r(c,n)}function jv(t,n){const r=vt(t,n?.in),l=+_r(r,n)-+oE(r,n);return Math.round(l/Dv)+1}function Ue(t,n){const r=t<0?"-":"",l=Math.abs(t).toString().padStart(n,"0");return r+l}const mr={y(t,n){const r=t.getFullYear(),l=r>0?r:1-r;return Ue(n==="yy"?l%100:l,n.length)},M(t,n){const r=t.getMonth();return n==="M"?String(r+1):Ue(r+1,2)},d(t,n){return Ue(t.getDate(),n.length)},a(t,n){const r=t.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return r==="am"?"a.m.":"p.m."}},h(t,n){return Ue(t.getHours()%12||12,n.length)},H(t,n){return Ue(t.getHours(),n.length)},m(t,n){return Ue(t.getMinutes(),n.length)},s(t,n){return Ue(t.getSeconds(),n.length)},S(t,n){const r=n.length,l=t.getMilliseconds(),s=Math.trunc(l*Math.pow(10,r-3));return Ue(s,n.length)}},Wi={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},nb={G:function(t,n,r){const l=t.getFullYear()>0?1:0;switch(n){case"G":case"GG":case"GGG":return r.era(l,{width:"abbreviated"});case"GGGGG":return r.era(l,{width:"narrow"});default:return r.era(l,{width:"wide"})}},y:function(t,n,r){if(n==="yo"){const l=t.getFullYear(),s=l>0?l:1-l;return r.ordinalNumber(s,{unit:"year"})}return mr.y(t,n)},Y:function(t,n,r,l){const s=Jh(t,l),c=s>0?s:1-s;if(n==="YY"){const d=c%100;return Ue(d,2)}return n==="Yo"?r.ordinalNumber(c,{unit:"year"}):Ue(c,n.length)},R:function(t,n){const r=zv(t);return Ue(r,n.length)},u:function(t,n){const r=t.getFullYear();return Ue(r,n.length)},Q:function(t,n,r){const l=Math.ceil((t.getMonth()+1)/3);switch(n){case"Q":return String(l);case"QQ":return Ue(l,2);case"Qo":return r.ordinalNumber(l,{unit:"quarter"});case"QQQ":return r.quarter(l,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(l,{width:"narrow",context:"formatting"});default:return r.quarter(l,{width:"wide",context:"formatting"})}},q:function(t,n,r){const l=Math.ceil((t.getMonth()+1)/3);switch(n){case"q":return String(l);case"qq":return Ue(l,2);case"qo":return r.ordinalNumber(l,{unit:"quarter"});case"qqq":return r.quarter(l,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(l,{width:"narrow",context:"standalone"});default:return r.quarter(l,{width:"wide",context:"standalone"})}},M:function(t,n,r){const l=t.getMonth();switch(n){case"M":case"MM":return mr.M(t,n);case"Mo":return r.ordinalNumber(l+1,{unit:"month"});case"MMM":return r.month(l,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(l,{width:"narrow",context:"formatting"});default:return r.month(l,{width:"wide",context:"formatting"})}},L:function(t,n,r){const l=t.getMonth();switch(n){case"L":return String(l+1);case"LL":return Ue(l+1,2);case"Lo":return r.ordinalNumber(l+1,{unit:"month"});case"LLL":return r.month(l,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(l,{width:"narrow",context:"standalone"});default:return r.month(l,{width:"wide",context:"standalone"})}},w:function(t,n,r,l){const s=jv(t,l);return n==="wo"?r.ordinalNumber(s,{unit:"week"}):Ue(s,n.length)},I:function(t,n,r){const l=qv(t);return n==="Io"?r.ordinalNumber(l,{unit:"week"}):Ue(l,n.length)},d:function(t,n,r){return n==="do"?r.ordinalNumber(t.getDate(),{unit:"date"}):mr.d(t,n)},D:function(t,n,r){const l=sE(t);return n==="Do"?r.ordinalNumber(l,{unit:"dayOfYear"}):Ue(l,n.length)},E:function(t,n,r){const l=t.getDay();switch(n){case"E":case"EE":case"EEE":return r.day(l,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(l,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(l,{width:"short",context:"formatting"});default:return r.day(l,{width:"wide",context:"formatting"})}},e:function(t,n,r,l){const s=t.getDay(),c=(s-l.weekStartsOn+8)%7||7;switch(n){case"e":return String(c);case"ee":return Ue(c,2);case"eo":return r.ordinalNumber(c,{unit:"day"});case"eee":return r.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(s,{width:"short",context:"formatting"});default:return r.day(s,{width:"wide",context:"formatting"})}},c:function(t,n,r,l){const s=t.getDay(),c=(s-l.weekStartsOn+8)%7||7;switch(n){case"c":return String(c);case"cc":return Ue(c,n.length);case"co":return r.ordinalNumber(c,{unit:"day"});case"ccc":return r.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(s,{width:"narrow",context:"standalone"});case"cccccc":return r.day(s,{width:"short",context:"standalone"});default:return r.day(s,{width:"wide",context:"standalone"})}},i:function(t,n,r){const l=t.getDay(),s=l===0?7:l;switch(n){case"i":return String(s);case"ii":return Ue(s,n.length);case"io":return r.ordinalNumber(s,{unit:"day"});case"iii":return r.day(l,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(l,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(l,{width:"short",context:"formatting"});default:return r.day(l,{width:"wide",context:"formatting"})}},a:function(t,n,r){const s=t.getHours()/12>=1?"pm":"am";switch(n){case"a":case"aa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(s,{width:"narrow",context:"formatting"});default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(t,n,r){const l=t.getHours();let s;switch(l===12?s=Wi.noon:l===0?s=Wi.midnight:s=l/12>=1?"pm":"am",n){case"b":case"bb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(s,{width:"narrow",context:"formatting"});default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(t,n,r){const l=t.getHours();let s;switch(l>=17?s=Wi.evening:l>=12?s=Wi.afternoon:l>=4?s=Wi.morning:s=Wi.night,n){case"B":case"BB":case"BBB":return r.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(s,{width:"narrow",context:"formatting"});default:return r.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(t,n,r){if(n==="ho"){let l=t.getHours()%12;return l===0&&(l=12),r.ordinalNumber(l,{unit:"hour"})}return mr.h(t,n)},H:function(t,n,r){return n==="Ho"?r.ordinalNumber(t.getHours(),{unit:"hour"}):mr.H(t,n)},K:function(t,n,r){const l=t.getHours()%12;return n==="Ko"?r.ordinalNumber(l,{unit:"hour"}):Ue(l,n.length)},k:function(t,n,r){let l=t.getHours();return l===0&&(l=24),n==="ko"?r.ordinalNumber(l,{unit:"hour"}):Ue(l,n.length)},m:function(t,n,r){return n==="mo"?r.ordinalNumber(t.getMinutes(),{unit:"minute"}):mr.m(t,n)},s:function(t,n,r){return n==="so"?r.ordinalNumber(t.getSeconds(),{unit:"second"}):mr.s(t,n)},S:function(t,n){return mr.S(t,n)},X:function(t,n,r){const l=t.getTimezoneOffset();if(l===0)return"Z";switch(n){case"X":return rb(l);case"XXXX":case"XX":return Qr(l);default:return Qr(l,":")}},x:function(t,n,r){const l=t.getTimezoneOffset();switch(n){case"x":return rb(l);case"xxxx":case"xx":return Qr(l);default:return Qr(l,":")}},O:function(t,n,r){const l=t.getTimezoneOffset();switch(n){case"O":case"OO":case"OOO":return"GMT"+ab(l,":");default:return"GMT"+Qr(l,":")}},z:function(t,n,r){const l=t.getTimezoneOffset();switch(n){case"z":case"zz":case"zzz":return"GMT"+ab(l,":");default:return"GMT"+Qr(l,":")}},t:function(t,n,r){const l=Math.trunc(+t/1e3);return Ue(l,n.length)},T:function(t,n,r){return Ue(+t,n.length)}};function ab(t,n=""){const r=t>0?"-":"+",l=Math.abs(t),s=Math.trunc(l/60),c=l%60;return c===0?r+String(s):r+String(s)+n+Ue(c,2)}function rb(t,n){return t%60===0?(t>0?"-":"+")+Ue(Math.abs(t)/60,2):Qr(t,n)}function Qr(t,n=""){const r=t>0?"-":"+",l=Math.abs(t),s=Ue(Math.trunc(l/60),2),c=Ue(l%60,2);return r+s+n+c}const ib=(t,n)=>{switch(t){case"P":return n.date({width:"short"});case"PP":return n.date({width:"medium"});case"PPP":return n.date({width:"long"});default:return n.date({width:"full"})}},Uv=(t,n)=>{switch(t){case"p":return n.time({width:"short"});case"pp":return n.time({width:"medium"});case"ppp":return n.time({width:"long"});default:return n.time({width:"full"})}},cE=(t,n)=>{const r=t.match(/(P+)(p+)?/)||[],l=r[1],s=r[2];if(!s)return ib(t,n);let c;switch(l){case"P":c=n.dateTime({width:"short"});break;case"PP":c=n.dateTime({width:"medium"});break;case"PPP":c=n.dateTime({width:"long"});break;default:c=n.dateTime({width:"full"});break}return c.replace("{{date}}",ib(l,n)).replace("{{time}}",Uv(s,n))},Th={p:Uv,P:cE},fE=/^D+$/,dE=/^Y+$/,hE=["D","DD","YY","YYYY"];function Lv(t){return fE.test(t)}function Bv(t){return dE.test(t)}function Eh(t,n,r){const l=mE(t,n,r);if(console.warn(l),hE.includes(t))throw new RangeError(l)}function mE(t,n,r){const l=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${n}\`) for formatting ${l} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const pE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,gE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,yE=/^'([^]*?)'?$/,bE=/''/g,vE=/[a-zA-Z]/;function wE(t,n,r){const l=pl(),s=r?.locale??l.locale??Io,c=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??l.firstWeekContainsDate??l.locale?.options?.firstWeekContainsDate??1,d=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,g=vt(t,r?.in);if(!lE(g))throw new RangeError("Invalid time value");let m=n.match(gE).map(b=>{const v=b[0];if(v==="p"||v==="P"){const O=Th[v];return O(b,s.formatLong)}return b}).join("").match(pE).map(b=>{if(b==="''")return{isToken:!1,value:"'"};const v=b[0];if(v==="'")return{isToken:!1,value:xE(b)};if(nb[v])return{isToken:!0,value:b};if(v.match(vE))throw new RangeError("Format string contains an unescaped latin alphabet character `"+v+"`");return{isToken:!1,value:b}});s.localize.preprocessor&&(m=s.localize.preprocessor(g,m));const h={firstWeekContainsDate:c,weekStartsOn:d,locale:s};return m.map(b=>{if(!b.isToken)return b.value;const v=b.value;(!r?.useAdditionalWeekYearTokens&&Bv(v)||!r?.useAdditionalDayOfYearTokens&&Lv(v))&&Eh(v,n,String(t));const O=nb[v[0]];return O(g,v,s.localize,h)}).join("")}function xE(t){const n=t.match(yE);return n?n[1].replace(bE,"'"):t}function _E(){return Object.assign({},pl())}function SE(t,n){const r=vt(t,n?.in).getDay();return r===0?7:r}function TE(t,n){const r=EE(n)?new n(0):Tt(n,0);return r.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),r.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),r}function EE(t){return typeof t=="function"&&t.prototype?.constructor===t}const OE=10;class Hv{subPriority=0;validate(n,r){return!0}}class ME extends Hv{constructor(n,r,l,s,c){super(),this.value=n,this.validateValue=r,this.setValue=l,this.priority=s,c&&(this.subPriority=c)}validate(n,r){return this.validateValue(n,this.value,r)}set(n,r,l){return this.setValue(n,r,this.value,l)}}class AE extends Hv{priority=OE;subPriority=-1;constructor(n,r){super(),this.context=n||(l=>Tt(r,l))}set(n,r){return r.timestampIsSet?n:Tt(n,TE(n,this.context))}}class $e{run(n,r,l,s){const c=this.parse(n,r,l,s);return c?{setter:new ME(c.value,this.validate,this.set,this.priority,this.subPriority),rest:c.rest}:null}validate(n,r,l){return!0}}class CE extends $e{priority=140;parse(n,r,l){switch(r){case"G":case"GG":case"GGG":return l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"});case"GGGGG":return l.era(n,{width:"narrow"});default:return l.era(n,{width:"wide"})||l.era(n,{width:"abbreviated"})||l.era(n,{width:"narrow"})}}set(n,r,l){return r.era=l,n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}incompatibleTokens=["R","u","t","T"]}const ct={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}/},aa={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 ft(t,n){return t&&{value:n(t.value),rest:t.rest}}function nt(t,n){const r=n.match(t);return r?{value:parseInt(r[0],10),rest:n.slice(r[0].length)}:null}function ra(t,n){const r=n.match(t);if(!r)return null;if(r[0]==="Z")return{value:0,rest:n.slice(1)};const l=r[1]==="+"?1:-1,s=r[2]?parseInt(r[2],10):0,c=r[3]?parseInt(r[3],10):0,d=r[5]?parseInt(r[5],10):0;return{value:l*(s*T2+c*S2+d*E2),rest:n.slice(r[0].length)}}function Zv(t){return nt(ct.anyDigitsSigned,t)}function lt(t,n){switch(t){case 1:return nt(ct.singleDigit,n);case 2:return nt(ct.twoDigits,n);case 3:return nt(ct.threeDigits,n);case 4:return nt(ct.fourDigits,n);default:return nt(new RegExp("^\\d{1,"+t+"}"),n)}}function tc(t,n){switch(t){case 1:return nt(ct.singleDigitSigned,n);case 2:return nt(ct.twoDigitsSigned,n);case 3:return nt(ct.threeDigitsSigned,n);case 4:return nt(ct.fourDigitsSigned,n);default:return nt(new RegExp("^-?\\d{1,"+t+"}"),n)}}function Wh(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Yv(t,n){const r=n>0,l=r?n:1-n;let s;if(l<=50)s=t||100;else{const c=l+50,d=Math.trunc(c/100)*100,g=t>=c%100;s=t+d-(g?100:0)}return r?s:1-s}function Gv(t){return t%400===0||t%4===0&&t%100!==0}class DE extends $e{priority=130;incompatibleTokens=["Y","R","u","w","I","i","e","c","t","T"];parse(n,r,l){const s=c=>({year:c,isTwoDigitYear:r==="yy"});switch(r){case"y":return ft(lt(4,n),s);case"yo":return ft(l.ordinalNumber(n,{unit:"year"}),s);default:return ft(lt(r.length,n),s)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,l){const s=n.getFullYear();if(l.isTwoDigitYear){const d=Yv(l.year,s);return n.setFullYear(d,0,1),n.setHours(0,0,0,0),n}const c=!("era"in r)||r.era===1?l.year:1-l.year;return n.setFullYear(c,0,1),n.setHours(0,0,0,0),n}}class RE extends $e{priority=130;parse(n,r,l){const s=c=>({year:c,isTwoDigitYear:r==="YY"});switch(r){case"Y":return ft(lt(4,n),s);case"Yo":return ft(l.ordinalNumber(n,{unit:"year"}),s);default:return ft(lt(r.length,n),s)}}validate(n,r){return r.isTwoDigitYear||r.year>0}set(n,r,l,s){const c=Jh(n,s);if(l.isTwoDigitYear){const g=Yv(l.year,c);return n.setFullYear(g,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),_r(n,s)}const d=!("era"in r)||r.era===1?l.year:1-l.year;return n.setFullYear(d,0,s.firstWeekContainsDate),n.setHours(0,0,0,0),_r(n,s)}incompatibleTokens=["y","R","u","Q","q","M","L","I","d","D","i","t","T"]}class NE extends $e{priority=130;parse(n,r){return tc(r==="R"?4:r.length,n)}set(n,r,l){const s=Tt(n,0);return s.setFullYear(l,0,4),s.setHours(0,0,0,0),ol(s)}incompatibleTokens=["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]}class $E extends $e{priority=130;parse(n,r){return tc(r==="u"?4:r.length,n)}set(n,r,l){return n.setFullYear(l,0,1),n.setHours(0,0,0,0),n}incompatibleTokens=["G","y","Y","R","w","I","i","e","c","t","T"]}class zE extends $e{priority=120;parse(n,r,l){switch(r){case"Q":case"QQ":return lt(r.length,n);case"Qo":return l.ordinalNumber(n,{unit:"quarter"});case"QQQ":return l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"});case"QQQQQ":return l.quarter(n,{width:"narrow",context:"formatting"});default:return l.quarter(n,{width:"wide",context:"formatting"})||l.quarter(n,{width:"abbreviated",context:"formatting"})||l.quarter(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=1&&r<=4}set(n,r,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}incompatibleTokens=["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]}class qE extends $e{priority=120;parse(n,r,l){switch(r){case"q":case"qq":return lt(r.length,n);case"qo":return l.ordinalNumber(n,{unit:"quarter"});case"qqq":return l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"});case"qqqqq":return l.quarter(n,{width:"narrow",context:"standalone"});default:return l.quarter(n,{width:"wide",context:"standalone"})||l.quarter(n,{width:"abbreviated",context:"standalone"})||l.quarter(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=1&&r<=4}set(n,r,l){return n.setMonth((l-1)*3,1),n.setHours(0,0,0,0),n}incompatibleTokens=["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]}class jE extends $e{incompatibleTokens=["Y","R","q","Q","L","w","I","D","i","e","c","t","T"];priority=110;parse(n,r,l){const s=c=>c-1;switch(r){case"M":return ft(nt(ct.month,n),s);case"MM":return ft(lt(2,n),s);case"Mo":return ft(l.ordinalNumber(n,{unit:"month"}),s);case"MMM":return l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"});case"MMMMM":return l.month(n,{width:"narrow",context:"formatting"});default:return l.month(n,{width:"wide",context:"formatting"})||l.month(n,{width:"abbreviated",context:"formatting"})||l.month(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=11}set(n,r,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}}class UE extends $e{priority=110;parse(n,r,l){const s=c=>c-1;switch(r){case"L":return ft(nt(ct.month,n),s);case"LL":return ft(lt(2,n),s);case"Lo":return ft(l.ordinalNumber(n,{unit:"month"}),s);case"LLL":return l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"});case"LLLLL":return l.month(n,{width:"narrow",context:"standalone"});default:return l.month(n,{width:"wide",context:"standalone"})||l.month(n,{width:"abbreviated",context:"standalone"})||l.month(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=11}set(n,r,l){return n.setMonth(l,1),n.setHours(0,0,0,0),n}incompatibleTokens=["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]}function LE(t,n,r){const l=vt(t,r?.in),s=jv(l,r)-n;return l.setDate(l.getDate()-s*7),vt(l,r?.in)}class BE extends $e{priority=100;parse(n,r,l){switch(r){case"w":return nt(ct.week,n);case"wo":return l.ordinalNumber(n,{unit:"week"});default:return lt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,l,s){return _r(LE(n,l,s),s)}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","i","t","T"]}function HE(t,n,r){const l=vt(t,r?.in),s=qv(l,r)-n;return l.setDate(l.getDate()-s*7),l}class ZE extends $e{priority=100;parse(n,r,l){switch(r){case"I":return nt(ct.week,n);case"Io":return l.ordinalNumber(n,{unit:"week"});default:return lt(r.length,n)}}validate(n,r){return r>=1&&r<=53}set(n,r,l){return ol(HE(n,l))}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]}const YE=[31,28,31,30,31,30,31,31,30,31,30,31],GE=[31,29,31,30,31,30,31,31,30,31,30,31];class kE extends $e{priority=90;subPriority=1;parse(n,r,l){switch(r){case"d":return nt(ct.date,n);case"do":return l.ordinalNumber(n,{unit:"date"});default:return lt(r.length,n)}}validate(n,r){const l=n.getFullYear(),s=Gv(l),c=n.getMonth();return s?r>=1&&r<=GE[c]:r>=1&&r<=YE[c]}set(n,r,l){return n.setDate(l),n.setHours(0,0,0,0),n}incompatibleTokens=["Y","R","q","Q","w","I","D","i","e","c","t","T"]}class PE extends $e{priority=90;subpriority=1;parse(n,r,l){switch(r){case"D":case"DD":return nt(ct.dayOfYear,n);case"Do":return l.ordinalNumber(n,{unit:"date"});default:return lt(r.length,n)}}validate(n,r){const l=n.getFullYear();return Gv(l)?r>=1&&r<=366:r>=1&&r<=365}set(n,r,l){return n.setMonth(0,l),n.setHours(0,0,0,0),n}incompatibleTokens=["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]}function Ih(t,n,r){const l=pl(),s=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??l.weekStartsOn??l.locale?.options?.weekStartsOn??0,c=vt(t,r?.in),d=c.getDay(),m=(n%7+7)%7,h=7-s,b=n<0||n>6?n-(d+h)%7:(m+h)%7-(d+h)%7;return $v(c,b,r)}class VE extends $e{priority=90;parse(n,r,l){switch(r){case"E":case"EE":case"EEE":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"EEEEE":return l.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,l,s){return n=Ih(n,l,s),n.setHours(0,0,0,0),n}incompatibleTokens=["D","i","e","c","t","T"]}class XE extends $e{priority=90;parse(n,r,l,s){const c=d=>{const g=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+g};switch(r){case"e":case"ee":return ft(lt(r.length,n),c);case"eo":return ft(l.ordinalNumber(n,{unit:"day"}),c);case"eee":return l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});case"eeeee":return l.day(n,{width:"narrow",context:"formatting"});case"eeeeee":return l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"});default:return l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"})}}validate(n,r){return r>=0&&r<=6}set(n,r,l,s){return n=Ih(n,l,s),n.setHours(0,0,0,0),n}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]}class QE extends $e{priority=90;parse(n,r,l,s){const c=d=>{const g=Math.floor((d-1)/7)*7;return(d+s.weekStartsOn+6)%7+g};switch(r){case"c":case"cc":return ft(lt(r.length,n),c);case"co":return ft(l.ordinalNumber(n,{unit:"day"}),c);case"ccc":return l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});case"ccccc":return l.day(n,{width:"narrow",context:"standalone"});case"cccccc":return l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"});default:return l.day(n,{width:"wide",context:"standalone"})||l.day(n,{width:"abbreviated",context:"standalone"})||l.day(n,{width:"short",context:"standalone"})||l.day(n,{width:"narrow",context:"standalone"})}}validate(n,r){return r>=0&&r<=6}set(n,r,l,s){return n=Ih(n,l,s),n.setHours(0,0,0,0),n}incompatibleTokens=["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]}function FE(t,n,r){const l=vt(t,r?.in),s=SE(l,r),c=n-s;return $v(l,c,r)}class KE extends $e{priority=90;parse(n,r,l){const s=c=>c===0?7:c;switch(r){case"i":case"ii":return lt(r.length,n);case"io":return l.ordinalNumber(n,{unit:"day"});case"iii":return ft(l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiii":return ft(l.day(n,{width:"narrow",context:"formatting"}),s);case"iiiiii":return ft(l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s);default:return ft(l.day(n,{width:"wide",context:"formatting"})||l.day(n,{width:"abbreviated",context:"formatting"})||l.day(n,{width:"short",context:"formatting"})||l.day(n,{width:"narrow",context:"formatting"}),s)}}validate(n,r){return r>=1&&r<=7}set(n,r,l){return n=FE(n,l),n.setHours(0,0,0,0),n}incompatibleTokens=["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]}class JE extends $e{priority=80;parse(n,r,l){switch(r){case"a":case"aa":case"aaa":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"aaaaa":return l.dayPeriod(n,{width:"narrow",context:"formatting"});default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,l){return n.setHours(Wh(l),0,0,0),n}incompatibleTokens=["b","B","H","k","t","T"]}class WE extends $e{priority=80;parse(n,r,l){switch(r){case"b":case"bb":case"bbb":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"bbbbb":return l.dayPeriod(n,{width:"narrow",context:"formatting"});default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,l){return n.setHours(Wh(l),0,0,0),n}incompatibleTokens=["a","B","H","k","t","T"]}class IE extends $e{priority=80;parse(n,r,l){switch(r){case"B":case"BB":case"BBB":return l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"});case"BBBBB":return l.dayPeriod(n,{width:"narrow",context:"formatting"});default:return l.dayPeriod(n,{width:"wide",context:"formatting"})||l.dayPeriod(n,{width:"abbreviated",context:"formatting"})||l.dayPeriod(n,{width:"narrow",context:"formatting"})}}set(n,r,l){return n.setHours(Wh(l),0,0,0),n}incompatibleTokens=["a","b","t","T"]}class eO extends $e{priority=70;parse(n,r,l){switch(r){case"h":return nt(ct.hour12h,n);case"ho":return l.ordinalNumber(n,{unit:"hour"});default:return lt(r.length,n)}}validate(n,r){return r>=1&&r<=12}set(n,r,l){const s=n.getHours()>=12;return s&&l<12?n.setHours(l+12,0,0,0):!s&&l===12?n.setHours(0,0,0,0):n.setHours(l,0,0,0),n}incompatibleTokens=["H","K","k","t","T"]}class tO extends $e{priority=70;parse(n,r,l){switch(r){case"H":return nt(ct.hour23h,n);case"Ho":return l.ordinalNumber(n,{unit:"hour"});default:return lt(r.length,n)}}validate(n,r){return r>=0&&r<=23}set(n,r,l){return n.setHours(l,0,0,0),n}incompatibleTokens=["a","b","h","K","k","t","T"]}class nO extends $e{priority=70;parse(n,r,l){switch(r){case"K":return nt(ct.hour11h,n);case"Ko":return l.ordinalNumber(n,{unit:"hour"});default:return lt(r.length,n)}}validate(n,r){return r>=0&&r<=11}set(n,r,l){return n.getHours()>=12&&l<12?n.setHours(l+12,0,0,0):n.setHours(l,0,0,0),n}incompatibleTokens=["h","H","k","t","T"]}class aO extends $e{priority=70;parse(n,r,l){switch(r){case"k":return nt(ct.hour24h,n);case"ko":return l.ordinalNumber(n,{unit:"hour"});default:return lt(r.length,n)}}validate(n,r){return r>=1&&r<=24}set(n,r,l){const s=l<=24?l%24:l;return n.setHours(s,0,0,0),n}incompatibleTokens=["a","b","h","H","K","t","T"]}class rO extends $e{priority=60;parse(n,r,l){switch(r){case"m":return nt(ct.minute,n);case"mo":return l.ordinalNumber(n,{unit:"minute"});default:return lt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,l){return n.setMinutes(l,0,0),n}incompatibleTokens=["t","T"]}class iO extends $e{priority=50;parse(n,r,l){switch(r){case"s":return nt(ct.second,n);case"so":return l.ordinalNumber(n,{unit:"second"});default:return lt(r.length,n)}}validate(n,r){return r>=0&&r<=59}set(n,r,l){return n.setSeconds(l,0),n}incompatibleTokens=["t","T"]}class lO extends $e{priority=30;parse(n,r){const l=s=>Math.trunc(s*Math.pow(10,-r.length+3));return ft(lt(r.length,n),l)}set(n,r,l){return n.setMilliseconds(l),n}incompatibleTokens=["t","T"]}class uO extends $e{priority=10;parse(n,r){switch(r){case"X":return ra(aa.basicOptionalMinutes,n);case"XX":return ra(aa.basic,n);case"XXXX":return ra(aa.basicOptionalSeconds,n);case"XXXXX":return ra(aa.extendedOptionalSeconds,n);default:return ra(aa.extended,n)}}set(n,r,l){return r.timestampIsSet?n:Tt(n,n.getTime()-ec(n)-l)}incompatibleTokens=["t","T","x"]}class sO extends $e{priority=10;parse(n,r){switch(r){case"x":return ra(aa.basicOptionalMinutes,n);case"xx":return ra(aa.basic,n);case"xxxx":return ra(aa.basicOptionalSeconds,n);case"xxxxx":return ra(aa.extendedOptionalSeconds,n);default:return ra(aa.extended,n)}}set(n,r,l){return r.timestampIsSet?n:Tt(n,n.getTime()-ec(n)-l)}incompatibleTokens=["t","T","X"]}class oO extends $e{priority=40;parse(n){return Zv(n)}set(n,r,l){return[Tt(n,l*1e3),{timestampIsSet:!0}]}incompatibleTokens="*"}class cO extends $e{priority=20;parse(n){return Zv(n)}set(n,r,l){return[Tt(n,l),{timestampIsSet:!0}]}incompatibleTokens="*"}const fO={G:new CE,y:new DE,Y:new RE,R:new NE,u:new $E,Q:new zE,q:new qE,M:new jE,L:new UE,w:new BE,I:new ZE,d:new kE,D:new PE,E:new VE,e:new XE,c:new QE,i:new KE,a:new JE,b:new WE,B:new IE,h:new eO,H:new tO,K:new nO,k:new aO,m:new rO,s:new iO,S:new lO,X:new uO,x:new sO,t:new oO,T:new cO},dO=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,hO=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,mO=/^'([^]*?)'?$/,pO=/''/g,gO=/\S/,yO=/[a-zA-Z]/;function bO(t,n,r,l){const s=()=>Tt(l?.in||r,NaN),c=_E(),d=l?.locale??c.locale??Io,g=l?.firstWeekContainsDate??l?.locale?.options?.firstWeekContainsDate??c.firstWeekContainsDate??c.locale?.options?.firstWeekContainsDate??1,m=l?.weekStartsOn??l?.locale?.options?.weekStartsOn??c.weekStartsOn??c.locale?.options?.weekStartsOn??0;if(!n)return t?s():vt(r,l?.in);const h={firstWeekContainsDate:g,weekStartsOn:m,locale:d},b=[new AE(l?.in,r)],v=n.match(hO).map(E=>{const j=E[0];if(j in Th){const x=Th[j];return x(E,d.formatLong)}return E}).join("").match(dO),O=[];for(let E of v){!l?.useAdditionalWeekYearTokens&&Bv(E)&&Eh(E,n,t),!l?.useAdditionalDayOfYearTokens&&Lv(E)&&Eh(E,n,t);const j=E[0],x=fO[j];if(x){const{incompatibleTokens:$}=x;if(Array.isArray($)){const U=O.find(X=>$.includes(X.token)||X.token===j);if(U)throw new RangeError(`The format string mustn't contain \`${U.fullToken}\` and \`${E}\` at the same time`)}else if(x.incompatibleTokens==="*"&&O.length>0)throw new RangeError(`The format string mustn't contain \`${E}\` and any other token at the same time`);O.push({token:j,fullToken:E});const q=x.run(t,E,d.match,h);if(!q)return s();b.push(q.setter),t=q.rest}else{if(j.match(yO))throw new RangeError("Format string contains an unescaped latin alphabet character `"+j+"`");if(E==="''"?E="'":j==="'"&&(E=vO(E)),t.indexOf(E)===0)t=t.slice(E.length);else return s()}}if(t.length>0&&gO.test(t))return s();const N=b.map(E=>E.priority).sort((E,j)=>j-E).filter((E,j,x)=>x.indexOf(E)===j).map(E=>b.filter(j=>j.priority===E).sort((j,x)=>x.subPriority-j.subPriority)).map(E=>E[0]);let R=vt(r,l?.in);if(isNaN(+R))return s();const S={};for(const E of N){if(!E.validate(R,h))return s();const j=E.set(R,S,h);Array.isArray(j)?(R=j[0],Object.assign(S,j[1])):R=j}return R}function vO(t){return t.match(mO)[1].replace(pO,"'")}function wO(t){return Sh(Date.now(),t)}var jt=(function(t){return t.Top="top",t.Middle="middle",t.Bottom="bottom",t})({}),Ut=(function(t){return t.Left="left",t.Center="center",t.Right="right",t})({});function kv(t,n=["message","error","exception","data"]){if(t instanceof Error)return t;if(t==null)return new Error;for(let r=0;r<n.length;++r){const l=n[r];if(Object.prototype.hasOwnProperty.call(t,l))return kv(t[l])}return new Error(String(t))}const xO=v2,Pv={[V0.code]:V0,[X0.code]:X0,[Q0.code]:Q0,[F0.code]:F0,[K0.code]:K0,[J0.code]:J0,[Io.code]:Io,[W0.code]:W0,[I0.code]:I0};function Vv(){return Intl.DateTimeFormat().resolvedOptions().locale}function Xv(){return Intl.DateTimeFormat().resolvedOptions().timeZone}function _O(t,n={}){const{fallback:r=null}=n;if(t==null)return r;if(typeof t=="number"){const h=new Date(t);return Number.isNaN(h.getTime())?r:h}if(t instanceof Date)return Number.isNaN(t.getTime())?r:t;const{format:l=Qv.Iso,culture:s=Vv(),timeZone:c=Xv()}=n,d=Pv[s],g=new Wr(wO()).withTimeZone(c),m=bO(t,l,g,{locale:d});return Number.isNaN(m.getTime())?r:m}function SO(t,n={}){const{fallback:r=null}=n;if(t==null)return r;const{supportedFormats:l=Object.values(Qv)}=n;for(const s of l){const c={...n};c.format=s;const d=_O(t,c);if(d!=null)return d}return r}var Qv=(function(t){return t.IsoDateOnly="yyyy-MM-dd",t.IsoTimeOnly="HH:mm:ss.SSS",t.IsoNoTimeZone="yyyy-MM-dd'T'HH:mm:ss.SSS",t.Iso="yyyy-MM-dd'T'HH:mm:ss.SSSXX",t.LocalDate="P",t.LocalTime="p",t.LocalDateTime="Pp",t})({});function TO(t,n={}){const{format:r="Pp",culture:l=Vv(),timeZone:s=Xv(),fallback:c=""}=n;let d;if(t==null?d=null:typeof t=="string"?d=SO(t,{...n,fallback:null}):d=new Date(t),d==null||Number.isNaN(d.getTime()))return c;const g=new Wr(d,s);return wE(g,r,{locale:Pv[l]})}function Fv(t){const n=typeof t;return t==null||n==="object"&&Object.keys(t).length===0}function EO(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class yr{name(n){return this._metadata.name=n,this}description(n){return this._metadata.description=n,this}avatar(n){return this._metadata.avatar=n,this}build(){return{...this._metadata}}constructor(n){EO(this,"_metadata",void 0),this._metadata={value:n}}}const OO=1024,MO=1048576,AO=1073741824,CO=1099511627776,DO=0x4000000000000;function Xu(t,n){return Math.ceil(t*n)}Xu.bind(null,OO);Xu.bind(null,MO);Xu.bind(null,AO);Xu.bind(null,CO);Xu.bind(null,DO);function RO(t,n,r,...l){if(t(r))return r;for(let s=0;s<l.length;++s){const c=l[s];if(t(c))return c}return n}function J(t,n,...r){return RO(l=>l!=null,t,n,...r)}function NO(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class $O{bottomLeft(n){return this._corners.bottomLeft=n,this}bottomRight(n){return this._corners.bottomRight=n,this}topLeft(n){return this._corners.topLeft=n,this}topRight(n){return this._corners.topRight=n,this}bottom(n){return this.bottomLeft(n).bottomRight(n)}left(n){return this.topLeft(n).bottomLeft(n)}right(n){return this.bottomRight(n).topRight(n)}top(n){return this.topLeft(n).topRight(n)}from(n){function r(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"bottom")||Object.prototype.hasOwnProperty.call(h,"top"))}function l(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"left")||Object.prototype.hasOwnProperty.call(h,"right"))}function s(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"bottomLeft")||Object.prototype.hasOwnProperty.call(h,"bottomRight")||Object.prototype.hasOwnProperty.call(h,"topLeft")||Object.prototype.hasOwnProperty.call(h,"topRight"))}const{bottomLeft:c,bottomRight:d,topLeft:g,topRight:m}=this._corners;return s(n)?(this._corners.bottomLeft=J(c,n.bottomLeft),this._corners.bottomRight=J(d,n.bottomRight),this._corners.topLeft=J(g,n.topLeft),this._corners.topRight=J(m,n.topRight),this):r(n)?(this._corners.bottomLeft=J(c,n.bottom),this._corners.bottomRight=J(d,n.bottom),this._corners.topLeft=J(g,n.top),this._corners.topRight=J(m,n.top),this):l(n)?(this._corners.bottomLeft=J(c,n.left),this._corners.bottomRight=J(d,n.right),this._corners.topLeft=J(g,n.left),this._corners.topRight=J(m,n.right),this):(Fv(n)||(this._corners.bottomLeft=J(c,n),this._corners.bottomRight=J(d,n),this._corners.topLeft=J(g,n),this._corners.topRight=J(m,n)),this)}copy(n){return this._corners=structuredClone(n),this}build(){return structuredClone(this._corners)}constructor(n){NO(this,"_corners",void 0),this._corners={bottomLeft:n,bottomRight:n,topLeft:n,topRight:n}}}function zO(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Lt{bottom(n){return this._quad.bottom=n,this}left(n){return this._quad.left=n,this}right(n){return this._quad.right=n,this}top(n){return this._quad.top=n,this}x(n){return this.left(n).right(n)}y(n){return this.bottom(n).top(n)}from(n){function r(s){return s!=null&&(Object.prototype.hasOwnProperty.call(s,"x")||Object.prototype.hasOwnProperty.call(s,"y"))}function l(s){return s!=null&&(Object.prototype.hasOwnProperty.call(s,"bottom")||Object.prototype.hasOwnProperty.call(s,"left")||Object.prototype.hasOwnProperty.call(s,"right")||Object.prototype.hasOwnProperty.call(s,"top"))}return l(n)?(this._quad.bottom=J(this._quad.bottom,n.bottom),this._quad.left=J(this._quad.left,n.left),this._quad.right=J(this._quad.right,n.right),this._quad.top=J(this._quad.top,n.top),this):r(n)?(this._quad.bottom=J(this._quad.bottom,n.y),this._quad.left=J(this._quad.left,n.x),this._quad.right=J(this._quad.right,n.x),this._quad.top=J(this._quad.top,n.y),this):(Fv(n)||(this._quad.bottom=J(this._quad.bottom,n),this._quad.left=J(this._quad.left,n),this._quad.right=J(this._quad.right,n),this._quad.top=J(this._quad.top,n)),this)}copy(n){return this._quad.left=n.left,this._quad.right=n.right,this._quad.top=n.top,this._quad.bottom=n.bottom,this}build(){return structuredClone(this._quad)}constructor(n){zO(this,"_quad",void 0),this._quad={bottom:n,left:n,right:n,top:n}}}function Xn(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class ti{width(){const{left:n,right:r}=this.sides;return r-n}height(){const{top:n,bottom:r}=this.sides;return r-n}area(){return this.width()*this.height()}attach(n,r,l){const s=new ti(r),{x:c,y:d}=this.point(n),{x:g,y:m}=new ti(r).point(l),h=r.left+(c-g),b=r.top+(d-m),v=b+s.height(),O=h+s.width();return new Lt(0).left(h).right(O).top(b).bottom(v).build()}offsetToFit(n){let r=n;const l=new ti(n);if(l.width()>this.width()){const{x:s}=l.middleCenter(),{x:c}=this.middleCenter();r=new Lt(0).copy(r).left(r.left-(s-c)).right(r.right-(s-c)).build()}else r.left<this.sides.left&&(r=new Lt(0).copy(r).left(this.sides.left).right(r.right+(this.sides.left-r.left)).build()),r.right>this.sides.right&&(r=new Lt(0).copy(r).right(this.sides.right).left(r.left-(r.right-this.sides.right)).build());if(l.height()>this.height()){const{y:s}=l.middleCenter(),{y:c}=this.middleCenter();r=new Lt(0).copy(r).top(r.top-(s-c)).bottom(r.bottom-(s-c)).build()}else r.bottom>this.sides.bottom&&(r=new Lt(0).copy(r).bottom(this.sides.bottom).top(r.top-(r.bottom-this.sides.bottom)).build()),r.top<this.sides.top&&(r=new Lt(0).copy(r).top(this.sides.top).bottom(r.bottom+(this.sides.top-r.top)).build());return r}point(n){const{bottom:r,left:l,right:s,top:c}=this.sides,[d,g]=n,m={[jt.Top]:c,[jt.Middle]:(r+c)/2,[jt.Bottom]:r};return{x:{[Ut.Left]:l,[Ut.Center]:(s+l)/2,[Ut.Right]:s}[g],y:m[d]}}constructor(n){Xn(this,"sides",void 0),Xn(this,"topLeft",void 0),Xn(this,"topCenter",void 0),Xn(this,"topRight",void 0),Xn(this,"middleLeft",void 0),Xn(this,"middleCenter",void 0),Xn(this,"middleRight",void 0),Xn(this,"bottomLeft",void 0),Xn(this,"bottomCenter",void 0),Xn(this,"bottomRight",void 0),this.sides=n,this.topLeft=this.point.bind(this,[jt.Top,Ut.Left]),this.topCenter=this.point.bind(this,[jt.Top,Ut.Center]),this.topRight=this.point.bind(this,[jt.Top,Ut.Right]),this.middleLeft=this.point.bind(this,[jt.Middle,Ut.Left]),this.middleCenter=this.point.bind(this,[jt.Middle,Ut.Center]),this.middleRight=this.point.bind(this,[jt.Middle,Ut.Right]),this.bottomLeft=this.point.bind(this,[jt.Bottom,Ut.Left]),this.bottomCenter=this.point.bind(this,[jt.Bottom,Ut.Center]),this.bottomRight=this.point.bind(this,[jt.Bottom,Ut.Right])}}const Kv=globalThis;function uc(t,...n){return n.map(r=>r instanceof Array?r[1]?r[0]:null:r).filter(r=>r!=null).join(t)}const qO=uc.bind(null," "),fe=qO;uc.bind(null,",");uc.bind(null,";");uc.bind(null,"|");function lb(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class jO{initialized(){return this._value!=null}async get(){return this._value==null&&(this._value=this._factory()),this._value}constructor(n){lb(this,"_factory",void 0),lb(this,"_value",void 0),this._factory=n}}async function UO(t){if(t==null)throw new Error("A required value was not provided");const n=await t;if(n==null)throw new Error("A required value was not provided");return n}var dn=(function(t){return t.Horizontal="horizontal",t.Vertical="vertical",t})({});function Jv(t,n){for(const r of n)if(t.startsWith(r))return[t.substring(0,r.length),t.substring(r.length)];return[null,t]}function Oh(t,n,r){if(!t.startsWith(n))return[null,t];let l=1;const s=t.substring(n.length);for(let c=0;c<s.length;++c){if(s.startsWith(n,c)){l+=1,c+=n.length-1;continue}if(s.startsWith(r,c)){if(l-=1,l===0)return[s.substring(0,c),s.substring(c+r.length)];c+=r.length-1}}return[null,t]}function LO(t,n){const r=Object.keys(n),l={};return r.forEach(s=>{const c=n[s];t(s,c)&&(l[s]=c)}),l}function em(t){return LO(n=>String(n).startsWith("data-"),t)}function BO(t=0,n=void 0){return new Promise(r=>setTimeout(()=>r(n),t))}function HO(t,...n){let[r]=t;for(let l=1,s=t.length;l<s;l++)r+=n[l-1],r+=t[l];return r}const Ne=HO;function ub(t,n){try{return t()}catch{return n}}const Mo=globalThis||void 0||self;var Wv=typeof Mo=="object"&&Mo&&Mo.Object===Object&&Mo,ZO=typeof self=="object"&&self&&self.Object===Object&&self,La=Wv||ZO||Function("return this")(),sa=La.Symbol,Iv=Object.prototype,YO=Iv.hasOwnProperty,GO=Iv.toString,vu=sa?sa.toStringTag:void 0;function kO(t){var n=YO.call(t,vu),r=t[vu];try{t[vu]=void 0;var l=!0}catch{}var s=GO.call(t);return l&&(n?t[vu]=r:delete t[vu]),s}var PO=Object.prototype,VO=PO.toString;function XO(t){return VO.call(t)}var QO="[object Null]",FO="[object Undefined]",sb=sa?sa.toStringTag:void 0;function gl(t){return t==null?t===void 0?FO:QO:sb&&sb in Object(t)?kO(t):XO(t)}function cl(t){return t!=null&&typeof t=="object"}var KO="[object Symbol]";function fl(t){return typeof t=="symbol"||cl(t)&&gl(t)==KO}function ju(t,n){for(var r=-1,l=t==null?0:t.length,s=Array(l);++r<l;)s[r]=n(t[r],r,t);return s}var hn=Array.isArray,ob=sa?sa.prototype:void 0,cb=ob?ob.toString:void 0;function Qu(t){if(typeof t=="string")return t;if(hn(t))return ju(t,Qu)+"";if(fl(t))return cb?cb.call(t):"";var n=t+"";return n=="0"&&1/t==-1/0?"-0":n}var JO=/\s/;function e1(t){for(var n=t.length;n--&&JO.test(t.charAt(n)););return n}var WO=/^\s+/;function t1(t){return t&&t.slice(0,e1(t)+1).replace(WO,"")}function Sr(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}var fb=NaN,IO=/^[-+]0x[0-9a-f]+$/i,eM=/^0b[01]+$/i,tM=/^0o[0-7]+$/i,nM=parseInt;function aM(t){if(typeof t=="number")return t;if(fl(t))return fb;if(Sr(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=Sr(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=t1(t);var r=eM.test(t);return r||tM.test(t)?nM(t.slice(2),r?2:8):IO.test(t)?fb:+t}var db=1/0,rM=17976931348623157e292;function iM(t){if(!t)return t===0?t:0;if(t=aM(t),t===db||t===-db){var n=t<0?-1:1;return n*rM}return t===t?t:0}function lM(t){var n=iM(t),r=n%1;return n===n?r?n-r:n:0}function Fu(t){return t}var uM="[object AsyncFunction]",sM="[object Function]",oM="[object GeneratorFunction]",cM="[object Proxy]";function n1(t){if(!Sr(t))return!1;var n=gl(t);return n==sM||n==oM||n==uM||n==cM}var th=La["__core-js_shared__"],hb=(function(){var t=/[^.]+$/.exec(th&&th.keys&&th.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""})();function fM(t){return!!hb&&hb in t}var dM=Function.prototype,hM=dM.toString;function oi(t){if(t!=null){try{return hM.call(t)}catch{}try{return t+""}catch{}}return""}var mM=/[\\^$.*+?()[\]{}|]/g,pM=/^\[object .+?Constructor\]$/,gM=Function.prototype,yM=Object.prototype,bM=gM.toString,vM=yM.hasOwnProperty,wM=RegExp("^"+bM.call(vM).replace(mM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function xM(t){if(!Sr(t)||fM(t))return!1;var n=n1(t)?wM:pM;return n.test(oi(t))}function _M(t,n){return t?.[n]}function ci(t,n){var r=_M(t,n);return xM(r)?r:void 0}var Mh=ci(La,"WeakMap");function SM(t,n,r){switch(r.length){case 0:return t.call(n);case 1:return t.call(n,r[0]);case 2:return t.call(n,r[0],r[1]);case 3:return t.call(n,r[0],r[1],r[2])}return t.apply(n,r)}function ri(){}var TM=800,EM=16,OM=Date.now;function MM(t){var n=0,r=0;return function(){var l=OM(),s=EM-(l-r);if(r=l,s>0){if(++n>=TM)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}function AM(t){return function(){return t}}var nc=(function(){try{var t=ci(Object,"defineProperty");return t({},"",{}),t}catch{}})(),CM=nc?function(t,n){return nc(t,"toString",{configurable:!0,enumerable:!1,value:AM(n),writable:!0})}:Fu,DM=MM(CM);function a1(t,n,r,l){for(var s=t.length,c=r+-1;++c<s;)if(n(t[c],c,t))return c;return-1}function RM(t){return t!==t}function NM(t,n,r){for(var l=r-1,s=t.length;++l<s;)if(t[l]===n)return l;return-1}function r1(t,n,r){return n===n?NM(t,n,r):a1(t,RM,r)}var $M=9007199254740991,zM=/^(?:0|[1-9]\d*)$/;function sc(t,n){var r=typeof t;return n=n??$M,!!n&&(r=="number"||r!="symbol"&&zM.test(t))&&t>-1&&t%1==0&&t<n}function i1(t,n,r){n=="__proto__"&&nc?nc(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}function oc(t,n){return t===n||t!==t&&n!==n}var qM=Object.prototype,jM=qM.hasOwnProperty;function UM(t,n,r){var l=t[n];(!(jM.call(t,n)&&oc(l,r))||r===void 0&&!(n in t))&&i1(t,n,r)}var mb=Math.max;function LM(t,n,r){return n=mb(n===void 0?t.length-1:n,0),function(){for(var l=arguments,s=-1,c=mb(l.length-n,0),d=Array(c);++s<c;)d[s]=l[n+s];s=-1;for(var g=Array(n+1);++s<n;)g[s]=l[s];return g[n]=r(d),SM(t,this,g)}}function BM(t,n){return DM(LM(t,n,Fu),t+"")}var HM=9007199254740991;function tm(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=HM}function cc(t){return t!=null&&tm(t.length)&&!n1(t)}function pb(t,n,r){if(!Sr(r))return!1;var l=typeof n;return(l=="number"?cc(r)&&sc(n,r.length):l=="string"&&n in r)?oc(r[n],t):!1}var ZM=Object.prototype;function YM(t){var n=t&&t.constructor,r=typeof n=="function"&&n.prototype||ZM;return t===r}function GM(t,n){for(var r=-1,l=Array(t);++r<t;)l[r]=n(r);return l}var kM="[object Arguments]";function gb(t){return cl(t)&&gl(t)==kM}var l1=Object.prototype,PM=l1.hasOwnProperty,VM=l1.propertyIsEnumerable,nm=gb((function(){return arguments})())?gb:function(t){return cl(t)&&PM.call(t,"callee")&&!VM.call(t,"callee")};function XM(){return!1}var u1=typeof Na=="object"&&Na&&!Na.nodeType&&Na,yb=u1&&typeof $a=="object"&&$a&&!$a.nodeType&&$a,QM=yb&&yb.exports===u1,bb=QM?La.Buffer:void 0,FM=bb?bb.isBuffer:void 0,Ah=FM||XM,KM="[object Arguments]",JM="[object Array]",WM="[object Boolean]",IM="[object Date]",e3="[object Error]",t3="[object Function]",n3="[object Map]",a3="[object Number]",r3="[object Object]",i3="[object RegExp]",l3="[object Set]",u3="[object String]",s3="[object WeakMap]",o3="[object ArrayBuffer]",c3="[object DataView]",f3="[object Float32Array]",d3="[object Float64Array]",h3="[object Int8Array]",m3="[object Int16Array]",p3="[object Int32Array]",g3="[object Uint8Array]",y3="[object Uint8ClampedArray]",b3="[object Uint16Array]",v3="[object Uint32Array]",Je={};Je[f3]=Je[d3]=Je[h3]=Je[m3]=Je[p3]=Je[g3]=Je[y3]=Je[b3]=Je[v3]=!0;Je[KM]=Je[JM]=Je[o3]=Je[WM]=Je[c3]=Je[IM]=Je[e3]=Je[t3]=Je[n3]=Je[a3]=Je[r3]=Je[i3]=Je[l3]=Je[u3]=Je[s3]=!1;function w3(t){return cl(t)&&tm(t.length)&&!!Je[gl(t)]}function s1(t){return function(n){return t(n)}}var o1=typeof Na=="object"&&Na&&!Na.nodeType&&Na,Uu=o1&&typeof $a=="object"&&$a&&!$a.nodeType&&$a,x3=Uu&&Uu.exports===o1,nh=x3&&Wv.process,vb=(function(){try{var t=Uu&&Uu.require&&Uu.require("util").types;return t||nh&&nh.binding&&nh.binding("util")}catch{}})(),wb=vb&&vb.isTypedArray,c1=wb?s1(wb):w3,_3=Object.prototype,S3=_3.hasOwnProperty;function T3(t,n){var r=hn(t),l=!r&&nm(t),s=!r&&!l&&Ah(t),c=!r&&!l&&!s&&c1(t),d=r||l||s||c,g=d?GM(t.length,String):[],m=g.length;for(var h in t)S3.call(t,h)&&!(d&&(h=="length"||s&&(h=="offset"||h=="parent")||c&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||sc(h,m)))&&g.push(h);return g}function E3(t,n){return function(r){return t(n(r))}}var O3=E3(Object.keys,Object),M3=Object.prototype,A3=M3.hasOwnProperty;function C3(t){if(!YM(t))return O3(t);var n=[];for(var r in Object(t))A3.call(t,r)&&r!="constructor"&&n.push(r);return n}function fc(t){return cc(t)?T3(t):C3(t)}var D3=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,R3=/^\w*$/;function am(t,n){if(hn(t))return!1;var r=typeof t;return r=="number"||r=="symbol"||r=="boolean"||t==null||fl(t)?!0:R3.test(t)||!D3.test(t)||n!=null&&t in Object(n)}var Lu=ci(Object,"create");function N3(){this.__data__=Lu?Lu(null):{},this.size=0}function $3(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}var z3="__lodash_hash_undefined__",q3=Object.prototype,j3=q3.hasOwnProperty;function U3(t){var n=this.__data__;if(Lu){var r=n[t];return r===z3?void 0:r}return j3.call(n,t)?n[t]:void 0}var L3=Object.prototype,B3=L3.hasOwnProperty;function H3(t){var n=this.__data__;return Lu?n[t]!==void 0:B3.call(n,t)}var Z3="__lodash_hash_undefined__";function Y3(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=Lu&&n===void 0?Z3:n,this}function ii(t){var n=-1,r=t==null?0:t.length;for(this.clear();++n<r;){var l=t[n];this.set(l[0],l[1])}}ii.prototype.clear=N3;ii.prototype.delete=$3;ii.prototype.get=U3;ii.prototype.has=H3;ii.prototype.set=Y3;function G3(){this.__data__=[],this.size=0}function dc(t,n){for(var r=t.length;r--;)if(oc(t[r][0],n))return r;return-1}var k3=Array.prototype,P3=k3.splice;function V3(t){var n=this.__data__,r=dc(n,t);if(r<0)return!1;var l=n.length-1;return r==l?n.pop():P3.call(n,r,1),--this.size,!0}function X3(t){var n=this.__data__,r=dc(n,t);return r<0?void 0:n[r][1]}function Q3(t){return dc(this.__data__,t)>-1}function F3(t,n){var r=this.__data__,l=dc(r,t);return l<0?(++this.size,r.push([t,n])):r[l][1]=n,this}function Ba(t){var n=-1,r=t==null?0:t.length;for(this.clear();++n<r;){var l=t[n];this.set(l[0],l[1])}}Ba.prototype.clear=G3;Ba.prototype.delete=V3;Ba.prototype.get=X3;Ba.prototype.has=Q3;Ba.prototype.set=F3;var Bu=ci(La,"Map");function K3(){this.size=0,this.__data__={hash:new ii,map:new(Bu||Ba),string:new ii}}function J3(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}function hc(t,n){var r=t.__data__;return J3(n)?r[typeof n=="string"?"string":"hash"]:r.map}function W3(t){var n=hc(this,t).delete(t);return this.size-=n?1:0,n}function I3(t){return hc(this,t).get(t)}function e4(t){return hc(this,t).has(t)}function t4(t,n){var r=hc(this,t),l=r.size;return r.set(t,n),this.size+=r.size==l?0:1,this}function Ha(t){var n=-1,r=t==null?0:t.length;for(this.clear();++n<r;){var l=t[n];this.set(l[0],l[1])}}Ha.prototype.clear=K3;Ha.prototype.delete=W3;Ha.prototype.get=I3;Ha.prototype.has=e4;Ha.prototype.set=t4;var n4="Expected a function";function rm(t,n){if(typeof t!="function"||n!=null&&typeof n!="function")throw new TypeError(n4);var r=function(){var l=arguments,s=n?n.apply(this,l):l[0],c=r.cache;if(c.has(s))return c.get(s);var d=t.apply(this,l);return r.cache=c.set(s,d)||c,d};return r.cache=new(rm.Cache||Ha),r}rm.Cache=Ha;var a4=500;function r4(t){var n=rm(t,function(l){return r.size===a4&&r.clear(),l}),r=n.cache;return n}var i4=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,l4=/\\(\\)?/g,u4=r4(function(t){var n=[];return t.charCodeAt(0)===46&&n.push(""),t.replace(i4,function(r,l,s,c){n.push(s?c.replace(l4,"$1"):l||r)}),n});function fi(t){return t==null?"":Qu(t)}function im(t,n){return hn(t)?t:am(t,n)?[t]:u4(fi(t))}function Ku(t){if(typeof t=="string"||fl(t))return t;var n=t+"";return n=="0"&&1/t==-1/0?"-0":n}function lm(t,n){n=im(n,t);for(var r=0,l=n.length;t!=null&&r<l;)t=t[Ku(n[r++])];return r&&r==l?t:void 0}function li(t,n,r){var l=t==null?void 0:lm(t,n);return l===void 0?r:l}function f1(t,n){for(var r=-1,l=n.length,s=t.length;++r<l;)t[s+r]=n[r];return t}var xb=sa?sa.isConcatSpreadable:void 0;function s4(t){return hn(t)||nm(t)||!!(xb&&t&&t[xb])}function o4(t,n,r,l,s){var c=-1,d=t.length;for(r||(r=s4),s||(s=[]);++c<d;){var g=t[c];r(g)?f1(s,g):s[s.length]=g}return s}function d1(t,n,r){var l=-1,s=t.length;n<0&&(n=-n>s?0:s+n),r=r>s?s:r,r<0&&(r+=s),s=n>r?0:r-n>>>0,n>>>=0;for(var c=Array(s);++l<s;)c[l]=t[l+n];return c}function mc(t,n,r){var l=t.length;return r=r===void 0?l:r,!n&&r>=l?t:d1(t,n,r)}var c4="\\ud800-\\udfff",f4="\\u0300-\\u036f",d4="\\ufe20-\\ufe2f",h4="\\u20d0-\\u20ff",m4=f4+d4+h4,p4="\\ufe0e\\ufe0f",g4="\\u200d",y4=RegExp("["+g4+c4+m4+p4+"]");function h1(t){return y4.test(t)}function b4(t){return t.split("")}var m1="\\ud800-\\udfff",v4="\\u0300-\\u036f",w4="\\ufe20-\\ufe2f",x4="\\u20d0-\\u20ff",_4=v4+w4+x4,S4="\\ufe0e\\ufe0f",T4="["+m1+"]",Ch="["+_4+"]",Dh="\\ud83c[\\udffb-\\udfff]",E4="(?:"+Ch+"|"+Dh+")",p1="[^"+m1+"]",g1="(?:\\ud83c[\\udde6-\\uddff]){2}",y1="[\\ud800-\\udbff][\\udc00-\\udfff]",O4="\\u200d",b1=E4+"?",v1="["+S4+"]?",M4="(?:"+O4+"(?:"+[p1,g1,y1].join("|")+")"+v1+b1+")*",A4=v1+b1+M4,C4="(?:"+[p1+Ch+"?",Ch,g1,y1,T4].join("|")+")",D4=RegExp(Dh+"(?="+Dh+")|"+C4+A4,"g");function R4(t){return t.match(D4)||[]}function ui(t){return h1(t)?R4(t):b4(t)}function N4(t){return function(n){n=fi(n);var r=h1(n)?ui(n):void 0,l=r?r[0]:n.charAt(0),s=r?mc(r,1).join(""):n.slice(1);return l[t]()+s}}var $4=N4("toUpperCase");function z4(t,n,r,l){for(var s=-1,c=t==null?0:t.length;++s<c;)r=n(r,t[s],s,t);return r}function q4(t){return function(n){return t?.[n]}}var j4={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},U4=q4(j4),L4=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,B4="\\u0300-\\u036f",H4="\\ufe20-\\ufe2f",Z4="\\u20d0-\\u20ff",Y4=B4+H4+Z4,G4="["+Y4+"]",k4=RegExp(G4,"g");function P4(t){return t=fi(t),t&&t.replace(L4,U4).replace(k4,"")}var V4=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function X4(t){return t.match(V4)||[]}var Q4=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function F4(t){return Q4.test(t)}var w1="\\ud800-\\udfff",K4="\\u0300-\\u036f",J4="\\ufe20-\\ufe2f",W4="\\u20d0-\\u20ff",I4=K4+J4+W4,x1="\\u2700-\\u27bf",_1="a-z\\xdf-\\xf6\\xf8-\\xff",eA="\\xac\\xb1\\xd7\\xf7",tA="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",nA="\\u2000-\\u206f",aA=" \\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",S1="A-Z\\xc0-\\xd6\\xd8-\\xde",rA="\\ufe0e\\ufe0f",T1=eA+tA+nA+aA,E1="['’]",_b="["+T1+"]",iA="["+I4+"]",O1="\\d+",lA="["+x1+"]",M1="["+_1+"]",A1="[^"+w1+T1+O1+x1+_1+S1+"]",uA="\\ud83c[\\udffb-\\udfff]",sA="(?:"+iA+"|"+uA+")",oA="[^"+w1+"]",C1="(?:\\ud83c[\\udde6-\\uddff]){2}",D1="[\\ud800-\\udbff][\\udc00-\\udfff]",el="["+S1+"]",cA="\\u200d",Sb="(?:"+M1+"|"+A1+")",fA="(?:"+el+"|"+A1+")",Tb="(?:"+E1+"(?:d|ll|m|re|s|t|ve))?",Eb="(?:"+E1+"(?:D|LL|M|RE|S|T|VE))?",R1=sA+"?",N1="["+rA+"]?",dA="(?:"+cA+"(?:"+[oA,C1,D1].join("|")+")"+N1+R1+")*",hA="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",mA="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",pA=N1+R1+dA,gA="(?:"+[lA,C1,D1].join("|")+")"+pA,yA=RegExp([el+"?"+M1+"+"+Tb+"(?="+[_b,el,"$"].join("|")+")",fA+"+"+Eb+"(?="+[_b,el+Sb,"$"].join("|")+")",el+"?"+Sb+"+"+Tb,el+"+"+Eb,mA,hA,O1,gA].join("|"),"g");function bA(t){return t.match(yA)||[]}function vA(t,n,r){return t=fi(t),n=n,n===void 0?F4(t)?bA(t):X4(t):t.match(n)||[]}var wA="['’]",xA=RegExp(wA,"g");function $1(t){return function(n){return z4(vA(P4(n).replace(xA,"")),t,"")}}function z1(){if(!arguments.length)return[];var t=arguments[0];return hn(t)?t:[t]}var _A=Math.ceil,SA=Math.max;function TA(t,n,r){n===void 0?n=1:n=SA(lM(n),0);var l=t==null?0:t.length;if(!l||n<1)return[];for(var s=0,c=0,d=Array(_A(l/n));s<l;)d[c++]=d1(t,s,s+=n);return d}function EA(){this.__data__=new Ba,this.size=0}function OA(t){var n=this.__data__,r=n.delete(t);return this.size=n.size,r}function MA(t){return this.__data__.get(t)}function AA(t){return this.__data__.has(t)}var CA=200;function DA(t,n){var r=this.__data__;if(r instanceof Ba){var l=r.__data__;if(!Bu||l.length<CA-1)return l.push([t,n]),this.size=++r.size,this;r=this.__data__=new Ha(l)}return r.set(t,n),this.size=r.size,this}function za(t){var n=this.__data__=new Ba(t);this.size=n.size}za.prototype.clear=EA;za.prototype.delete=OA;za.prototype.get=MA;za.prototype.has=AA;za.prototype.set=DA;function RA(t,n){for(var r=-1,l=t==null?0:t.length,s=0,c=[];++r<l;){var d=t[r];n(d,r,t)&&(c[s++]=d)}return c}function NA(){return[]}var $A=Object.prototype,zA=$A.propertyIsEnumerable,Ob=Object.getOwnPropertySymbols,qA=Ob?function(t){return t==null?[]:(t=Object(t),RA(Ob(t),function(n){return zA.call(t,n)}))}:NA;function jA(t,n,r){var l=n(t);return hn(t)?l:f1(l,r(t))}function Mb(t){return jA(t,fc,qA)}var Rh=ci(La,"DataView"),Nh=ci(La,"Promise"),$h=ci(La,"Set"),Ab="[object Map]",UA="[object Object]",Cb="[object Promise]",Db="[object Set]",Rb="[object WeakMap]",Nb="[object DataView]",LA=oi(Rh),BA=oi(Bu),HA=oi(Nh),ZA=oi($h),YA=oi(Mh),gr=gl;(Rh&&gr(new Rh(new ArrayBuffer(1)))!=Nb||Bu&&gr(new Bu)!=Ab||Nh&&gr(Nh.resolve())!=Cb||$h&&gr(new $h)!=Db||Mh&&gr(new Mh)!=Rb)&&(gr=function(t){var n=gl(t),r=n==UA?t.constructor:void 0,l=r?oi(r):"";if(l)switch(l){case LA:return Nb;case BA:return Ab;case HA:return Cb;case ZA:return Db;case YA:return Rb}return n});var $b=La.Uint8Array,GA="__lodash_hash_undefined__";function kA(t){return this.__data__.set(t,GA),this}function PA(t){return this.__data__.has(t)}function ac(t){var n=-1,r=t==null?0:t.length;for(this.__data__=new Ha;++n<r;)this.add(t[n])}ac.prototype.add=ac.prototype.push=kA;ac.prototype.has=PA;function VA(t,n){for(var r=-1,l=t==null?0:t.length;++r<l;)if(n(t[r],r,t))return!0;return!1}function XA(t,n){return t.has(n)}var QA=1,FA=2;function q1(t,n,r,l,s,c){var d=r&QA,g=t.length,m=n.length;if(g!=m&&!(d&&m>g))return!1;var h=c.get(t),b=c.get(n);if(h&&b)return h==n&&b==t;var v=-1,O=!0,N=r&FA?new ac:void 0;for(c.set(t,n),c.set(n,t);++v<g;){var R=t[v],S=n[v];if(l)var E=d?l(S,R,v,n,t,c):l(R,S,v,t,n,c);if(E!==void 0){if(E)continue;O=!1;break}if(N){if(!VA(n,function(j,x){if(!XA(N,x)&&(R===j||s(R,j,r,l,c)))return N.push(x)})){O=!1;break}}else if(!(R===S||s(R,S,r,l,c))){O=!1;break}}return c.delete(t),c.delete(n),O}function KA(t){var n=-1,r=Array(t.size);return t.forEach(function(l,s){r[++n]=[s,l]}),r}function JA(t){var n=-1,r=Array(t.size);return t.forEach(function(l){r[++n]=l}),r}var WA=1,IA=2,eC="[object Boolean]",tC="[object Date]",nC="[object Error]",aC="[object Map]",rC="[object Number]",iC="[object RegExp]",lC="[object Set]",uC="[object String]",sC="[object Symbol]",oC="[object ArrayBuffer]",cC="[object DataView]",zb=sa?sa.prototype:void 0,ah=zb?zb.valueOf:void 0;function fC(t,n,r,l,s,c,d){switch(r){case cC:if(t.byteLength!=n.byteLength||t.byteOffset!=n.byteOffset)return!1;t=t.buffer,n=n.buffer;case oC:return!(t.byteLength!=n.byteLength||!c(new $b(t),new $b(n)));case eC:case tC:case rC:return oc(+t,+n);case nC:return t.name==n.name&&t.message==n.message;case iC:case uC:return t==n+"";case aC:var g=KA;case lC:var m=l&WA;if(g||(g=JA),t.size!=n.size&&!m)return!1;var h=d.get(t);if(h)return h==n;l|=IA,d.set(t,n);var b=q1(g(t),g(n),l,s,c,d);return d.delete(t),b;case sC:if(ah)return ah.call(t)==ah.call(n)}return!1}var dC=1,hC=Object.prototype,mC=hC.hasOwnProperty;function pC(t,n,r,l,s,c){var d=r&dC,g=Mb(t),m=g.length,h=Mb(n),b=h.length;if(m!=b&&!d)return!1;for(var v=m;v--;){var O=g[v];if(!(d?O in n:mC.call(n,O)))return!1}var N=c.get(t),R=c.get(n);if(N&&R)return N==n&&R==t;var S=!0;c.set(t,n),c.set(n,t);for(var E=d;++v<m;){O=g[v];var j=t[O],x=n[O];if(l)var $=d?l(x,j,O,n,t,c):l(j,x,O,t,n,c);if(!($===void 0?j===x||s(j,x,r,l,c):$)){S=!1;break}E||(E=O=="constructor")}if(S&&!E){var q=t.constructor,U=n.constructor;q!=U&&"constructor"in t&&"constructor"in n&&!(typeof q=="function"&&q instanceof q&&typeof U=="function"&&U instanceof U)&&(S=!1)}return c.delete(t),c.delete(n),S}var gC=1,qb="[object Arguments]",jb="[object Array]",Ao="[object Object]",yC=Object.prototype,Ub=yC.hasOwnProperty;function bC(t,n,r,l,s,c){var d=hn(t),g=hn(n),m=d?jb:gr(t),h=g?jb:gr(n);m=m==qb?Ao:m,h=h==qb?Ao:h;var b=m==Ao,v=h==Ao,O=m==h;if(O&&Ah(t)){if(!Ah(n))return!1;d=!0,b=!1}if(O&&!b)return c||(c=new za),d||c1(t)?q1(t,n,r,l,s,c):fC(t,n,m,r,l,s,c);if(!(r&gC)){var N=b&&Ub.call(t,"__wrapped__"),R=v&&Ub.call(n,"__wrapped__");if(N||R){var S=N?t.value():t,E=R?n.value():n;return c||(c=new za),s(S,E,r,l,c)}}return O?(c||(c=new za),pC(t,n,r,l,s,c)):!1}function um(t,n,r,l,s){return t===n?!0:t==null||n==null||!cl(t)&&!cl(n)?t!==t&&n!==n:bC(t,n,r,l,um,s)}var vC=1,wC=2;function xC(t,n,r,l){var s=r.length,c=s;if(t==null)return!c;for(t=Object(t);s--;){var d=r[s];if(d[2]?d[1]!==t[d[0]]:!(d[0]in t))return!1}for(;++s<c;){d=r[s];var g=d[0],m=t[g],h=d[1];if(d[2]){if(m===void 0&&!(g in t))return!1}else{var b=new za,v;if(!(v===void 0?um(h,m,vC|wC,l,b):v))return!1}}return!0}function j1(t){return t===t&&!Sr(t)}function _C(t){for(var n=fc(t),r=n.length;r--;){var l=n[r],s=t[l];n[r]=[l,s,j1(s)]}return n}function U1(t,n){return function(r){return r==null?!1:r[t]===n&&(n!==void 0||t in Object(r))}}function SC(t){var n=_C(t);return n.length==1&&n[0][2]?U1(n[0][0],n[0][1]):function(r){return r===t||xC(r,t,n)}}function TC(t,n){return t!=null&&n in Object(t)}function EC(t,n,r){n=im(n,t);for(var l=-1,s=n.length,c=!1;++l<s;){var d=Ku(n[l]);if(!(c=t!=null&&r(t,d)))break;t=t[d]}return c||++l!=s?c:(s=t==null?0:t.length,!!s&&tm(s)&&sc(d,s)&&(hn(t)||nm(t)))}function OC(t,n){return t!=null&&EC(t,n,TC)}var MC=1,AC=2;function CC(t,n){return am(t)&&j1(n)?U1(Ku(t),n):function(r){var l=li(r,t);return l===void 0&&l===n?OC(r,t):um(n,l,MC|AC)}}function DC(t){return function(n){return n?.[t]}}function RC(t){return function(n){return lm(n,t)}}function NC(t){return am(t)?DC(Ku(t)):RC(t)}function sm(t){return typeof t=="function"?t:t==null?Fu:typeof t=="object"?hn(t)?CC(t[0],t[1]):SC(t):NC(t)}function $C(t,n,r,l){for(var s=-1,c=t==null?0:t.length;++s<c;){var d=t[s];n(l,d,r(d),t)}return l}function zC(t){return function(n,r,l){for(var s=-1,c=Object(n),d=l(n),g=d.length;g--;){var m=d[++s];if(r(c[m],m,c)===!1)break}return n}}var qC=zC();function jC(t,n){return t&&qC(t,n,fc)}function UC(t,n){return function(r,l){if(r==null)return r;if(!cc(r))return t(r,l);for(var s=r.length,c=-1,d=Object(r);++c<s&&l(d[c],c,d)!==!1;);return r}}var L1=UC(jC);function LC(t,n,r,l){return L1(t,function(s,c,d){n(l,s,r(s),d)}),l}function BC(t,n){return function(r,l){var s=hn(r)?$C:LC,c={};return s(r,t,sm(l),c)}}function Lb(t,n,r){var l=t==null?0:t.length;if(!l)return-1;var s=0;return a1(t,sm(n),s)}function HC(t){return t&&t.length?t[0]:void 0}function ZC(t,n){var r=-1,l=cc(t)?Array(t.length):[];return L1(t,function(s,c,d){l[++r]=n(s,c,d)}),l}function YC(t,n){return ju(n,function(r){return t[r]})}function Ju(t){return t==null?[]:YC(t,fc(t))}var B1=$1(function(t,n,r){return t+(r?"-":"")+n.toLowerCase()}),Mn=BC(function(t,n,r){i1(t,r,n)});function GC(t,n,r,l){if(!Sr(t))return t;n=im(n,t);for(var s=-1,c=n.length,d=c-1,g=t;g!=null&&++s<c;){var m=Ku(n[s]),h=r;if(m==="__proto__"||m==="constructor"||m==="prototype")return t;if(s!=d){var b=g[m];h=void 0,h===void 0&&(h=Sr(b)?b:sc(n[s+1])?[]:{})}UM(g,m,h),g=g[m]}return t}function kC(t,n){var r=t.length;for(t.sort(n);r--;)t[r]=t[r].value;return t}function PC(t,n){if(t!==n){var r=t!==void 0,l=t===null,s=t===t,c=fl(t),d=n!==void 0,g=n===null,m=n===n,h=fl(n);if(!g&&!h&&!c&&t>n||c&&d&&m&&!g&&!h||l&&d&&m||!r&&m||!s)return 1;if(!l&&!c&&!h&&t<n||h&&r&&s&&!l&&!c||g&&r&&s||!d&&s||!m)return-1}return 0}function VC(t,n,r){for(var l=-1,s=t.criteria,c=n.criteria,d=s.length,g=r.length;++l<d;){var m=PC(s[l],c[l]);if(m){if(l>=g)return m;var h=r[l];return m*(h=="desc"?-1:1)}}return t.index-n.index}function XC(t,n,r){n.length?n=ju(n,function(c){return hn(c)?function(d){return lm(d,c.length===1?c[0]:c)}:c}):n=[Fu];var l=-1;n=ju(n,s1(sm));var s=ZC(t,function(c,d,g){var m=ju(n,function(h){return h(c)});return{criteria:m,index:++l,value:c}});return kC(s,function(c,d){return VC(c,d,r)})}function om(t,n,r){return t==null?t:GC(t,n,r)}var QC=BM(function(t,n){if(t==null)return[];var r=n.length;return r>1&&pb(t,n[0],n[1])?n=[]:r>2&&pb(n[0],n[1],n[2])&&(n=[n[0]]),XC(t,o4(n),[])}),H1=$1(function(t,n,r){return t+(r?" ":"")+$4(n)});function Z1(t,n){for(var r=t.length;r--&&r1(n,t[r],0)>-1;);return r}function Y1(t,n){for(var r=-1,l=t.length;++r<l&&r1(n,t[r],0)>-1;);return r}function Rt(t,n,r){if(t=fi(t),t&&n===void 0)return t1(t);if(!t||!(n=Qu(n)))return t;var l=ui(t),s=ui(n),c=Y1(l,s),d=Z1(l,s)+1;return mc(l,c,d).join("")}function FC(t,n,r){if(t=fi(t),t&&n===void 0)return t.slice(0,e1(t)+1);if(!t||!(n=Qu(n)))return t;var l=ui(t),s=Z1(l,ui(n))+1;return mc(l,0,s).join("")}var KC=/^\s+/;function cm(t,n,r){if(t=fi(t),t&&n===void 0)return t.replace(KC,"");if(!t||!(n=Qu(n)))return t;var l=ui(t),s=Y1(l,ui(n));return mc(l,s).join("")}function wu(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}function JC(t){return t!=null&&Object.prototype.hasOwnProperty.call(t,"xl")}class Zt{constructor(n,r){wu(this,"xl",void 0),wu(this,"lg",void 0),wu(this,"md",void 0),wu(this,"sm",void 0),wu(this,"xs",void 0),JC(n)?(this.xl=n.xl,this.lg=J(this.xl,n.lg),this.md=J(this.lg,n.md),this.sm=J(this.md,n.sm),this.xs=J(this.sm,n.xs)):(this.xl=J(r,n),this.lg=J(r,n),this.md=J(r,n),this.sm=J(r,n),this.xs=J(r,n))}}var D=(function(t){return t.ExtraSmall="xs",t.Small="sm",t.Medium="md",t.Large="lg",t.ExtraLarge="xl",t})({});function WC(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class IC{break(n){return`@media only screen and (max-width: ${this.breakpoints[n]})`}constructor(){WC(this,"breakpoints",{[D.ExtraSmall]:"600px",[D.Small]:"900px",[D.Medium]:"1200px",[D.Large]:"1536px",[D.ExtraLarge]:"Infinity"})}}function ja(t,n){const r=n+t,l=r+t,s=l+t,c=s+t;return{[D.ExtraSmall]:n,[D.Small]:r,[D.Medium]:l,[D.Large]:s,[D.ExtraLarge]:c}}function Jt(t,n){return{[D.ExtraSmall]:`${t.xs}${n}`,[D.Small]:`${t.sm}${n}`,[D.Medium]:`${t.md}${n}`,[D.Large]:`${t.lg}${n}`,[D.ExtraLarge]:`${t.xl}${n}`}}function eD(t=1,n=2){const r=t+n,l=n+r,s=r+l;return{[D.ExtraSmall]:t,[D.Small]:n,[D.Medium]:r,[D.Large]:l,[D.ExtraLarge]:s}}function Wu(t,n){const r=n*t,l=r*t,s=l*t,c=s*t;return{[D.ExtraSmall]:n,[D.Small]:r,[D.Medium]:l,[D.Large]:s,[D.ExtraLarge]:c}}var ge=(function(t){return t.Default="default",t.Fit="fit",t.Full="full",t})({});function Hn(){return{[ge.Default]:"auto",[ge.Fit]:"fit-content",[ge.Full]:"100%"}}var la=(function(t){return t.None="none",t})({});function br(){return{[la.None]:"0"}}function Ii(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class fm{_sizeChart(n,r){const l={...r,...br(),...Hn()},s=new fm;return om(s,n,l),s}gap(n=D.Medium){return this._gaps[n]}thickness(n=D.ExtraSmall){return this._thickness[n]}rounding(n=la.None){return this._rounding[n]}constructor(){Ii(this,"_gaps",{...Jt(eD(.5,1),"rem"),...br(),[ge.Default]:"auto"}),Ii(this,"_thickness",{...Jt(ja(.0625,.0625),"rem"),...br()}),Ii(this,"_rounding",{...Jt(ja(.15,.25),"rem"),...br(),[ge.Full]:"50%"}),Ii(this,"gapsChart",this._sizeChart.bind(this,"_gaps")),Ii(this,"thicknessChart",this._sizeChart.bind(this,"_thickness")),Ii(this,"roundingChart",this._sizeChart.bind(this,"_rounding"))}}function tD(t,n,r){return r|n<<8|t<<16}function G1(t){const n=(t&16711680)>>16,r=(t&65280)>>8,l=t&255;return[n,r,l]}function xu(t,n){let r=(t>>16)+n;r=Math.min(r,255),r=Math.max(r,0);let l=(t>>8&255)+n;l=Math.min(l,255),l=Math.max(l,0);let s=(t&255)+n;return s=Math.min(s,255),s=Math.max(s,0),tD(r,l,s)}function Bb(t){const[c,d,g]=G1(t),m=[c,d,g].map(h=>(h/=255,h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4)));return m[0]*.2126+m[1]*.7152+m[2]*.0722}function Hb(t,n){const r=Bb(t),l=Bb(n),s=Math.max(r,l),c=Math.min(r,l);return(s+.05)/(c+.05)}function pc(t,n,r,l=1){return t=Math.floor(Math.min(255,Math.max(0,t))),n=Math.floor(Math.min(255,Math.max(0,n))),r=Math.floor(Math.min(255,Math.max(0,r))),l=Math.min(1,Math.max(0,l)),`rgba(${t}, ${n}, ${r}, ${l})`}const nD=pc.bind(null,0,0,0,0),zh=pc.bind(null,0,0,0,1),Zb=pc.bind(null,255,255,255,1);function Yb(t){const[n,r,l]=G1(t);return pc(n,r,l)}function aD(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Gt{get idle(){const{fashion:n}=this;return{get main(){return n.idle.main},get contrast(){return n.idle.contrast},get border(){return J(this.main,n.idle.border)}}}get hover(){return this._getStateWithFallbackToIdle(this.fashion.hover)}get focus(){return this._getStateWithFallbackToIdle(this.fashion.focus)}get active(){return this._getStateWithFallbackToIdle(this.fashion.active)}get visited(){return this._getStateWithFallbackToIdle(this.fashion.visited)}_getStateWithFallbackToIdle(n){const{idle:r}=this;return{get main(){return J(r.main,n?.main)},get contrast(){return J(r.contrast,n?.contrast)},get border(){return J(r.border,n?.border)}}}constructor(n){aD(this,"fashion",void 0),this.fashion=n}}function rD(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class rh{main(n){return this._state.main=n,this}contrast(n){return this._state.contrast=n,this}border(n){return this._state.border=n,this}transparent(){return this._state.main=nD(),this._state.contrast="inherit",delete this._state.border,this}inherit(){return this._state.main="inherit",this._state.contrast="inherit",delete this._state.border,this}build(){return{...this._state}}constructor(){rD(this,"_state",void 0),this._state={}}}function iD(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class ke{name(n){return this._fashion.name=n,this}clear(){return delete this._fashion.active,delete this._fashion.focus,delete this._fashion.hover,delete this._fashion.visited,delete this._fashion.idle.border,this}spectrum(n,r=77){const l=s=>{const c=Hb(s,16777215),d=Hb(s,0);return new rh().main(Yb(s)).contrast(c>=d?Zb():zh()).border(Yb(xu(s,-r))).build()};return this.idle(l(n)).focus(l(xu(n,-r))).hover(l(xu(n,r))).active(l(xu(n,r*1.15))).visited(l(xu(n,-r*1.15)))}idle(n){return this._fashion.idle=Object.assign({},this._fashion.idle,n),this}focus(n){return this._fashion.focus={...n},this}hover(n){return this._fashion.hover={...n},this}active(n){return this._fashion.active={...n},this}visited(n){return this._fashion.visited={...n},this}transparent(){return this.clear().idle(new rh().transparent().build())}inherit(){return this.clear().idle(new rh().inherit().build())}copy(n){return this._fashion=JSON.parse(JSON.stringify(n)),this}build(){return Object.freeze(JSON.parse(JSON.stringify(this._fashion)))}constructor(){iD(this,"_fashion",void 0),this._fashion={idle:{main:Zb(),contrast:zh()}}}}function lD(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class k1{name(n){return this._design.name=n,this}primary(n){return this._design.primary=n,this}secondary(n){return this._design.secondary=n,this}success(n){return this._design.success=n,this}warning(n){return this._design.warning=n,this}error(n){return this._design.error=n,this}info(n){return this._design.info=n,this}body(n){return this._design.body=n,this}surface(n){return this._design.surface=n,this}component(n){return this._design.component=n,this}light(n){return this._design.light=n,this}dark(n){return this._design.dark=n,this}opposite(n){return this._design.opposite=n,this}copy(n){return this._design=JSON.parse(JSON.stringify(n)),this}build(){return Object.freeze(JSON.parse(JSON.stringify(this._design)))}constructor(){lD(this,"_design",void 0),this._design={name:"Light",primary:new ke().name("Primary").spectrum(1668818).build(),secondary:new ke().name("Secondary").spectrum(10233776).build(),success:new ke().name("Success").spectrum(3046706).build(),warning:new ke().name("Warning").spectrum(16752194).build(),error:new ke().name("Error").spectrum(13840175).build(),info:new ke().name("Info").spectrum(11920895).build(),body:new ke().name("Body").spectrum(15658734).build(),surface:new ke().name("Surface").spectrum(16448250).build(),component:new ke().name("Component").spectrum(14606046).build(),light:new ke().name("Light").spectrum(16448250).build(),dark:new ke().name("Dark").spectrum(2171169).build(),opposite:new ke().name("Opposite").spectrum(2171169).build(),transparent:new ke().name("Transparent").transparent().build(),inherit:new ke().name("Inherit").inherit().build()}}}function uD(){return new ke().name("Primary").spectrum(9489145).build()}function sD(){return new ke().name("Secondary").spectrum(13538264).build()}function oD(){return new ke().name("Success").spectrum(6732650).build()}function cD(){return new ke().name("Warning").spectrum(16754470).build()}function fD(){return new ke().name("Error").spectrum(11797248).build()}function dD(){return new ke().name("Info").spectrum(2733814).build()}function hD(){return new ke().name("Dark").spectrum(2171169).build()}function P1(){return new ke().name("Light").spectrum(16448250).build()}function mD(){return new ke().name("Body").spectrum(2171169).build()}function pD(){return new ke().name("Surface").spectrum(3355443).build()}function gD(){return new ke().name("Component").spectrum(5921370).build()}function yD(){return new ke().copy(P1()).name("Opposite").build()}function bD(){return new k1().name("Dark").primary(uD()).secondary(sD()).success(oD()).warning(cD()).error(fD()).info(dD()).dark(hD()).light(P1()).opposite(yD()).body(mD()).surface(pD()).component(gD()).build()}var ih={exports:{}};function vD(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var V1={exports:{}},dt=V1.exports={},Jn,Wn;function qh(){throw new Error("setTimeout has not been defined")}function jh(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?Jn=setTimeout:Jn=qh}catch{Jn=qh}try{typeof clearTimeout=="function"?Wn=clearTimeout:Wn=jh}catch{Wn=jh}})();function X1(t){if(Jn===setTimeout)return setTimeout(t,0);if((Jn===qh||!Jn)&&setTimeout)return Jn=setTimeout,setTimeout(t,0);try{return Jn(t,0)}catch{try{return Jn.call(null,t,0)}catch{return Jn.call(this,t,0)}}}function wD(t){if(Wn===clearTimeout)return clearTimeout(t);if((Wn===jh||!Wn)&&clearTimeout)return Wn=clearTimeout,clearTimeout(t);try{return Wn(t)}catch{try{return Wn.call(null,t)}catch{return Wn.call(this,t)}}}var Ra=[],al=!1,Ir,Lo=-1;function xD(){!al||!Ir||(al=!1,Ir.length?Ra=Ir.concat(Ra):Lo=-1,Ra.length&&Q1())}function Q1(){if(!al){var t=X1(xD);al=!0;for(var n=Ra.length;n;){for(Ir=Ra,Ra=[];++Lo<n;)Ir&&Ir[Lo].run();Lo=-1,n=Ra.length}Ir=null,al=!1,wD(t)}}dt.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)n[r-1]=arguments[r];Ra.push(new F1(t,n)),Ra.length===1&&!al&&X1(Q1)};function F1(t,n){this.fun=t,this.array=n}F1.prototype.run=function(){this.fun.apply(null,this.array)};dt.title="browser";dt.browser=!0;dt.env={};dt.argv=[];dt.version="";dt.versions={};function Za(){}dt.on=Za;dt.addListener=Za;dt.once=Za;dt.off=Za;dt.removeListener=Za;dt.removeAllListeners=Za;dt.emit=Za;dt.prependListener=Za;dt.prependOnceListener=Za;dt.listeners=function(t){return[]};dt.binding=function(t){throw new Error("process.binding is not supported")};dt.cwd=function(){return"/"};dt.chdir=function(t){throw new Error("process.chdir is not supported")};dt.umask=function(){return 0};var _D=V1.exports;const rl=vD(_D);var he={},Gb;function SD(){if(Gb)return he;Gb=1;var t=Symbol.for("react.transitional.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),c=Symbol.for("react.consumer"),d=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),m=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),O=Symbol.iterator;function N(A){return A===null||typeof A!="object"?null:(A=O&&A[O]||A["@@iterator"],typeof A=="function"?A:null)}var R={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,E={};function j(A,Q,ee){this.props=A,this.context=Q,this.refs=E,this.updater=ee||R}j.prototype.isReactComponent={},j.prototype.setState=function(A,Q){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,Q,"setState")},j.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function x(){}x.prototype=j.prototype;function $(A,Q,ee){this.props=A,this.context=Q,this.refs=E,this.updater=ee||R}var q=$.prototype=new x;q.constructor=$,S(q,j.prototype),q.isPureReactComponent=!0;var U=Array.isArray;function X(){}var H={H:null,A:null,T:null,S:null},ie=Object.prototype.hasOwnProperty;function ae(A,Q,ee){var W=ee.ref;return{$$typeof:t,type:A,key:Q,ref:W!==void 0?W:null,props:ee}}function Ae(A,Q){return ae(A.type,Q,A.props)}function at(A){return typeof A=="object"&&A!==null&&A.$$typeof===t}function de(A){var Q={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(ee){return Q[ee]})}var te=/\/+/g;function Ye(A,Q){return typeof A=="object"&&A!==null&&A.key!=null?de(""+A.key):Q.toString(36)}function Z(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(X,X):(A.status="pending",A.then(function(Q){A.status==="pending"&&(A.status="fulfilled",A.value=Q)},function(Q){A.status==="pending"&&(A.status="rejected",A.reason=Q)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function _(A,Q,ee,W,ce){var be=typeof A;(be==="undefined"||be==="boolean")&&(A=null);var ze=!1;if(A===null)ze=!0;else switch(be){case"bigint":case"string":case"number":ze=!0;break;case"object":switch(A.$$typeof){case t:case n:ze=!0;break;case b:return ze=A._init,_(ze(A._payload),Q,ee,W,ce)}}if(ze)return ce=ce(A),ze=W===""?"."+Ye(A,0):W,U(ce)?(ee="",ze!=null&&(ee=ze.replace(te,"$&/")+"/"),_(ce,Q,ee,"",function(Tl){return Tl})):ce!=null&&(at(ce)&&(ce=Ae(ce,ee+(ce.key==null||A&&A.key===ce.key?"":(""+ce.key).replace(te,"$&/")+"/")+ze)),Q.push(ce)),1;ze=0;var Bt=W===""?".":W+":";if(U(A))for(var ut=0;ut<A.length;ut++)W=A[ut],be=Bt+Ye(W,ut),ze+=_(W,Q,ee,be,ce);else if(ut=N(A),typeof ut=="function")for(A=ut.call(A),ut=0;!(W=A.next()).done;)W=W.value,be=Bt+Ye(W,ut++),ze+=_(W,Q,ee,be,ce);else if(be==="object"){if(typeof A.then=="function")return _(Z(A),Q,ee,W,ce);throw Q=String(A),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return ze}function P(A,Q,ee){if(A==null)return A;var W=[],ce=0;return _(A,W,"","",function(be){return Q.call(ee,be,ce++)}),W}function I(A){if(A._status===-1){var Q=A._result;Q=Q(),Q.then(function(ee){(A._status===0||A._status===-1)&&(A._status=1,A._result=ee)},function(ee){(A._status===0||A._status===-1)&&(A._status=2,A._result=ee)}),A._status===-1&&(A._status=0,A._result=Q)}if(A._status===1)return A._result.default;throw A._result}var se=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(Q))return}else if(typeof rl=="object"&&typeof rl.emit=="function"){rl.emit("uncaughtException",A);return}console.error(A)},re={map:P,forEach:function(A,Q,ee){P(A,function(){Q.apply(this,arguments)},ee)},count:function(A){var Q=0;return P(A,function(){Q++}),Q},toArray:function(A){return P(A,function(Q){return Q})||[]},only:function(A){if(!at(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return he.Activity=v,he.Children=re,he.Component=j,he.Fragment=r,he.Profiler=s,he.PureComponent=$,he.StrictMode=l,he.Suspense=m,he.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=H,he.__COMPILER_RUNTIME={__proto__:null,c:function(A){return H.H.useMemoCache(A)}},he.cache=function(A){return function(){return A.apply(null,arguments)}},he.cacheSignal=function(){return null},he.cloneElement=function(A,Q,ee){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var W=S({},A.props),ce=A.key;if(Q!=null)for(be in Q.key!==void 0&&(ce=""+Q.key),Q)!ie.call(Q,be)||be==="key"||be==="__self"||be==="__source"||be==="ref"&&Q.ref===void 0||(W[be]=Q[be]);var be=arguments.length-2;if(be===1)W.children=ee;else if(1<be){for(var ze=Array(be),Bt=0;Bt<be;Bt++)ze[Bt]=arguments[Bt+2];W.children=ze}return ae(A.type,ce,W)},he.createContext=function(A){return A={$$typeof:d,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:c,_context:A},A},he.createElement=function(A,Q,ee){var W,ce={},be=null;if(Q!=null)for(W in Q.key!==void 0&&(be=""+Q.key),Q)ie.call(Q,W)&&W!=="key"&&W!=="__self"&&W!=="__source"&&(ce[W]=Q[W]);var ze=arguments.length-2;if(ze===1)ce.children=ee;else if(1<ze){for(var Bt=Array(ze),ut=0;ut<ze;ut++)Bt[ut]=arguments[ut+2];ce.children=Bt}if(A&&A.defaultProps)for(W in ze=A.defaultProps,ze)ce[W]===void 0&&(ce[W]=ze[W]);return ae(A,be,ce)},he.createRef=function(){return{current:null}},he.forwardRef=function(A){return{$$typeof:g,render:A}},he.isValidElement=at,he.lazy=function(A){return{$$typeof:b,_payload:{_status:-1,_result:A},_init:I}},he.memo=function(A,Q){return{$$typeof:h,type:A,compare:Q===void 0?null:Q}},he.startTransition=function(A){var Q=H.T,ee={};H.T=ee;try{var W=A(),ce=H.S;ce!==null&&ce(ee,W),typeof W=="object"&&W!==null&&typeof W.then=="function"&&W.then(X,se)}catch(be){se(be)}finally{Q!==null&&ee.types!==null&&(Q.types=ee.types),H.T=Q}},he.unstable_useCacheRefresh=function(){return H.H.useCacheRefresh()},he.use=function(A){return H.H.use(A)},he.useActionState=function(A,Q,ee){return H.H.useActionState(A,Q,ee)},he.useCallback=function(A,Q){return H.H.useCallback(A,Q)},he.useContext=function(A){return H.H.useContext(A)},he.useDebugValue=function(){},he.useDeferredValue=function(A,Q){return H.H.useDeferredValue(A,Q)},he.useEffect=function(A,Q){return H.H.useEffect(A,Q)},he.useEffectEvent=function(A){return H.H.useEffectEvent(A)},he.useId=function(){return H.H.useId()},he.useImperativeHandle=function(A,Q,ee){return H.H.useImperativeHandle(A,Q,ee)},he.useInsertionEffect=function(A,Q){return H.H.useInsertionEffect(A,Q)},he.useLayoutEffect=function(A,Q){return H.H.useLayoutEffect(A,Q)},he.useMemo=function(A,Q){return H.H.useMemo(A,Q)},he.useOptimistic=function(A,Q){return H.H.useOptimistic(A,Q)},he.useReducer=function(A,Q,ee){return H.H.useReducer(A,Q,ee)},he.useRef=function(A){return H.H.useRef(A)},he.useState=function(A){return H.H.useState(A)},he.useSyncExternalStore=function(A,Q,ee){return H.H.useSyncExternalStore(A,Q,ee)},he.useTransition=function(){return H.H.useTransition()},he.version="19.2.4",he}var kb;function dm(){return kb||(kb=1,ih.exports=SD()),ih.exports}var C=dm();const TD=Kh(C);function ED(t){if(t.sheet)return t.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===t)return document.styleSheets[n]}function OD(t){var n=document.createElement("style");return n.setAttribute("data-emotion",t.key),t.nonce!==void 0&&n.setAttribute("nonce",t.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var K1=(function(){function t(r){var l=this;this._insertTag=function(s){var c;l.tags.length===0?l.insertionPoint?c=l.insertionPoint.nextSibling:l.prepend?c=l.container.firstChild:c=l.before:c=l.tags[l.tags.length-1].nextSibling,l.container.insertBefore(s,c),l.tags.push(s)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var n=t.prototype;return n.hydrate=function(l){l.forEach(this._insertTag)},n.insert=function(l){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(OD(this));var s=this.tags[this.tags.length-1];if(this.isSpeedy){var c=ED(s);try{c.insertRule(l,c.cssRules.length)}catch{}}else s.appendChild(document.createTextNode(l));this.ctr++},n.flush=function(){this.tags.forEach(function(l){var s;return(s=l.parentNode)==null?void 0:s.removeChild(l)}),this.tags=[],this.ctr=0},t})(),qt="-ms-",rc="-moz-",De="-webkit-",J1="comm",hm="rule",mm="decl",MD="@import",W1="@keyframes",AD="@layer",CD=Math.abs,gc=String.fromCharCode,DD=Object.assign;function RD(t,n){return Nt(t,0)^45?(((n<<2^Nt(t,0))<<2^Nt(t,1))<<2^Nt(t,2))<<2^Nt(t,3):0}function I1(t){return t.trim()}function ND(t,n){return(t=n.exec(t))?t[0]:t}function Re(t,n,r){return t.replace(n,r)}function Uh(t,n){return t.indexOf(n)}function Nt(t,n){return t.charCodeAt(n)|0}function Hu(t,n,r){return t.slice(n,r)}function ea(t){return t.length}function pm(t){return t.length}function Co(t,n){return n.push(t),t}function $D(t,n){return t.map(n).join("")}var yc=1,dl=1,ew=0,Wt=0,yt=0,yl="";function bc(t,n,r,l,s,c,d){return{value:t,root:n,parent:r,type:l,props:s,children:c,line:yc,column:dl,length:d,return:""}}function _u(t,n){return DD(bc("",null,null,"",null,null,0),t,{length:-t.length},n)}function zD(){return yt}function qD(){return yt=Wt>0?Nt(yl,--Wt):0,dl--,yt===10&&(dl=1,yc--),yt}function fn(){return yt=Wt<ew?Nt(yl,Wt++):0,dl++,yt===10&&(dl=1,yc++),yt}function ua(){return Nt(yl,Wt)}function Bo(){return Wt}function Iu(t,n){return Hu(yl,t,n)}function Zu(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function tw(t){return yc=dl=1,ew=ea(yl=t),Wt=0,[]}function nw(t){return yl="",t}function Ho(t){return I1(Iu(Wt-1,Lh(t===91?t+2:t===40?t+1:t)))}function jD(t){for(;(yt=ua())&&yt<33;)fn();return Zu(t)>2||Zu(yt)>3?"":" "}function UD(t,n){for(;--n&&fn()&&!(yt<48||yt>102||yt>57&&yt<65||yt>70&&yt<97););return Iu(t,Bo()+(n<6&&ua()==32&&fn()==32))}function Lh(t){for(;fn();)switch(yt){case t:return Wt;case 34:case 39:t!==34&&t!==39&&Lh(yt);break;case 40:t===41&&Lh(t);break;case 92:fn();break}return Wt}function LD(t,n){for(;fn()&&t+yt!==57;)if(t+yt===84&&ua()===47)break;return"/*"+Iu(n,Wt-1)+"*"+gc(t===47?t:fn())}function BD(t){for(;!Zu(ua());)fn();return Iu(t,Wt)}function HD(t){return nw(Zo("",null,null,null,[""],t=tw(t),0,[0],t))}function Zo(t,n,r,l,s,c,d,g,m){for(var h=0,b=0,v=d,O=0,N=0,R=0,S=1,E=1,j=1,x=0,$="",q=s,U=c,X=l,H=$;E;)switch(R=x,x=fn()){case 40:if(R!=108&&Nt(H,v-1)==58){Uh(H+=Re(Ho(x),"&","&\f"),"&\f")!=-1&&(j=-1);break}case 34:case 39:case 91:H+=Ho(x);break;case 9:case 10:case 13:case 32:H+=jD(R);break;case 92:H+=UD(Bo()-1,7);continue;case 47:switch(ua()){case 42:case 47:Co(ZD(LD(fn(),Bo()),n,r),m);break;default:H+="/"}break;case 123*S:g[h++]=ea(H)*j;case 125*S:case 59:case 0:switch(x){case 0:case 125:E=0;case 59+b:j==-1&&(H=Re(H,/\f/g,"")),N>0&&ea(H)-v&&Co(N>32?Vb(H+";",l,r,v-1):Vb(Re(H," ","")+";",l,r,v-2),m);break;case 59:H+=";";default:if(Co(X=Pb(H,n,r,h,b,s,g,$,q=[],U=[],v),c),x===123)if(b===0)Zo(H,n,X,X,q,c,v,g,U);else switch(O===99&&Nt(H,3)===110?100:O){case 100:case 108:case 109:case 115:Zo(t,X,X,l&&Co(Pb(t,X,X,0,0,s,g,$,s,q=[],v),U),s,U,v,g,l?q:U);break;default:Zo(H,X,X,X,[""],U,0,g,U)}}h=b=N=0,S=j=1,$=H="",v=d;break;case 58:v=1+ea(H),N=R;default:if(S<1){if(x==123)--S;else if(x==125&&S++==0&&qD()==125)continue}switch(H+=gc(x),x*S){case 38:j=b>0?1:(H+="\f",-1);break;case 44:g[h++]=(ea(H)-1)*j,j=1;break;case 64:ua()===45&&(H+=Ho(fn())),O=ua(),b=v=ea($=H+=BD(Bo())),x++;break;case 45:R===45&&ea(H)==2&&(S=0)}}return c}function Pb(t,n,r,l,s,c,d,g,m,h,b){for(var v=s-1,O=s===0?c:[""],N=pm(O),R=0,S=0,E=0;R<l;++R)for(var j=0,x=Hu(t,v+1,v=CD(S=d[R])),$=t;j<N;++j)($=I1(S>0?O[j]+" "+x:Re(x,/&\f/g,O[j])))&&(m[E++]=$);return bc(t,n,r,s===0?hm:g,m,h,b)}function ZD(t,n,r){return bc(t,n,r,J1,gc(zD()),Hu(t,2,-2),0)}function Vb(t,n,r,l){return bc(t,n,r,mm,Hu(t,0,l),Hu(t,l+1,-1),l)}function il(t,n){for(var r="",l=pm(t),s=0;s<l;s++)r+=n(t[s],s,t,n)||"";return r}function YD(t,n,r,l){switch(t.type){case AD:if(t.children.length)break;case MD:case mm:return t.return=t.return||t.value;case J1:return"";case W1:return t.return=t.value+"{"+il(t.children,l)+"}";case hm:t.value=t.props.join(",")}return ea(r=il(t.children,l))?t.return=t.value+"{"+r+"}":""}function GD(t){var n=pm(t);return function(r,l,s,c){for(var d="",g=0;g<n;g++)d+=t[g](r,l,s,c)||"";return d}}function kD(t){return function(n){n.root||(n=n.return)&&t(n)}}function PD(t){var n=Object.create(null);return function(r){return n[r]===void 0&&(n[r]=t(r)),n[r]}}var VD=function(n,r,l){for(var s=0,c=0;s=c,c=ua(),s===38&&c===12&&(r[l]=1),!Zu(c);)fn();return Iu(n,Wt)},XD=function(n,r){var l=-1,s=44;do switch(Zu(s)){case 0:s===38&&ua()===12&&(r[l]=1),n[l]+=VD(Wt-1,r,l);break;case 2:n[l]+=Ho(s);break;case 4:if(s===44){n[++l]=ua()===58?"&\f":"",r[l]=n[l].length;break}default:n[l]+=gc(s)}while(s=fn());return n},QD=function(n,r){return nw(XD(tw(n),r))},Xb=new WeakMap,FD=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var r=n.value,l=n.parent,s=n.column===l.column&&n.line===l.line;l.type!=="rule";)if(l=l.parent,!l)return;if(!(n.props.length===1&&r.charCodeAt(0)!==58&&!Xb.get(l))&&!s){Xb.set(n,!0);for(var c=[],d=QD(r,c),g=l.props,m=0,h=0;m<d.length;m++)for(var b=0;b<g.length;b++,h++)n.props[h]=c[m]?d[m].replace(/&\f/g,g[b]):g[b]+" "+d[m]}}},KD=function(n){if(n.type==="decl"){var r=n.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(n.return="",n.value="")}};function aw(t,n){switch(RD(t,n)){case 5103:return De+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return De+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return De+t+rc+t+qt+t+t;case 6828:case 4268:return De+t+qt+t+t;case 6165:return De+t+qt+"flex-"+t+t;case 5187:return De+t+Re(t,/(\w+).+(:[^]+)/,De+"box-$1$2"+qt+"flex-$1$2")+t;case 5443:return De+t+qt+"flex-item-"+Re(t,/flex-|-self/,"")+t;case 4675:return De+t+qt+"flex-line-pack"+Re(t,/align-content|flex-|-self/,"")+t;case 5548:return De+t+qt+Re(t,"shrink","negative")+t;case 5292:return De+t+qt+Re(t,"basis","preferred-size")+t;case 6060:return De+"box-"+Re(t,"-grow","")+De+t+qt+Re(t,"grow","positive")+t;case 4554:return De+Re(t,/([^-])(transform)/g,"$1"+De+"$2")+t;case 6187:return Re(Re(Re(t,/(zoom-|grab)/,De+"$1"),/(image-set)/,De+"$1"),t,"")+t;case 5495:case 3959:return Re(t,/(image-set\([^]*)/,De+"$1$`$1");case 4968:return Re(Re(t,/(.+:)(flex-)?(.*)/,De+"box-pack:$3"+qt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+De+t+t;case 4095:case 3583:case 4068:case 2532:return Re(t,/(.+)-inline(.+)/,De+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ea(t)-1-n>6)switch(Nt(t,n+1)){case 109:if(Nt(t,n+4)!==45)break;case 102:return Re(t,/(.+:)(.+)-([^]+)/,"$1"+De+"$2-$3$1"+rc+(Nt(t,n+3)==108?"$3":"$2-$3"))+t;case 115:return~Uh(t,"stretch")?aw(Re(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(Nt(t,n+1)!==115)break;case 6444:switch(Nt(t,ea(t)-3-(~Uh(t,"!important")&&10))){case 107:return Re(t,":",":"+De)+t;case 101:return Re(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+De+(Nt(t,14)===45?"inline-":"")+"box$3$1"+De+"$2$3$1"+qt+"$2box$3")+t}break;case 5936:switch(Nt(t,n+11)){case 114:return De+t+qt+Re(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return De+t+qt+Re(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return De+t+qt+Re(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return De+t+qt+t+t}return t}var JD=function(n,r,l,s){if(n.length>-1&&!n.return)switch(n.type){case mm:n.return=aw(n.value,n.length);break;case W1:return il([_u(n,{value:Re(n.value,"@","@"+De)})],s);case hm:if(n.length)return $D(n.props,function(c){switch(ND(c,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return il([_u(n,{props:[Re(c,/:(read-\w+)/,":"+rc+"$1")]})],s);case"::placeholder":return il([_u(n,{props:[Re(c,/:(plac\w+)/,":"+De+"input-$1")]}),_u(n,{props:[Re(c,/:(plac\w+)/,":"+rc+"$1")]}),_u(n,{props:[Re(c,/:(plac\w+)/,qt+"input-$1")]})],s)}return""})}},WD=[JD],ID=function(n){var r=n.key;if(r==="css"){var l=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(l,function(S){var E=S.getAttribute("data-emotion");E.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var s=n.stylisPlugins||WD,c={},d,g=[];d=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(S){for(var E=S.getAttribute("data-emotion").split(" "),j=1;j<E.length;j++)c[E[j]]=!0;g.push(S)});var m,h=[FD,KD];{var b,v=[YD,kD(function(S){b.insert(S)})],O=GD(h.concat(s,v)),N=function(E){return il(HD(E),O)};m=function(E,j,x,$){b=x,N(E?E+"{"+j.styles+"}":j.styles),$&&(R.inserted[j.name]=!0)}}var R={key:r,sheet:new K1({key:r,container:d,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:c,registered:{},insert:m};return R.sheet.hydrate(g),R};function eR(t){for(var n=0,r,l=0,s=t.length;s>=4;++l,s-=4)r=t.charCodeAt(l)&255|(t.charCodeAt(++l)&255)<<8|(t.charCodeAt(++l)&255)<<16|(t.charCodeAt(++l)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,n=(r&65535)*1540483477+((r>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(s){case 3:n^=(t.charCodeAt(l+2)&255)<<16;case 2:n^=(t.charCodeAt(l+1)&255)<<8;case 1:n^=t.charCodeAt(l)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var tR={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},nR=/[A-Z]|^ms/g,aR=/_EMO_([^_]+?)_([^]*?)_EMO_/g,rw=function(n){return n.charCodeAt(1)===45},Qb=function(n){return n!=null&&typeof n!="boolean"},lh=PD(function(t){return rw(t)?t:t.replace(nR,"-$&").toLowerCase()}),Fb=function(n,r){switch(n){case"animation":case"animationName":if(typeof r=="string")return r.replace(aR,function(l,s,c){return vr={name:s,styles:c,next:vr},s})}return tR[n]!==1&&!rw(n)&&typeof r=="number"&&r!==0?r+"px":r};function ic(t,n,r){if(r==null)return"";var l=r;if(l.__emotion_styles!==void 0)return l;switch(typeof r){case"boolean":return"";case"object":{var s=r;if(s.anim===1)return vr={name:s.name,styles:s.styles,next:vr},s.name;var c=r;if(c.styles!==void 0){var d=c.next;if(d!==void 0)for(;d!==void 0;)vr={name:d.name,styles:d.styles,next:vr},d=d.next;var g=c.styles+";";return g}return rR(t,n,r)}}var m=r;if(n==null)return m;var h=n[m];return h!==void 0?h:m}function rR(t,n,r){var l="";if(Array.isArray(r))for(var s=0;s<r.length;s++)l+=ic(t,n,r[s])+";";else for(var c in r){var d=r[c];if(typeof d!="object"){var g=d;n!=null&&n[g]!==void 0?l+=c+"{"+n[g]+"}":Qb(g)&&(l+=lh(c)+":"+Fb(c,g)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(n==null||n[d[0]]===void 0))for(var m=0;m<d.length;m++)Qb(d[m])&&(l+=lh(c)+":"+Fb(c,d[m])+";");else{var h=ic(t,n,d);switch(c){case"animation":case"animationName":{l+=lh(c)+":"+h+";";break}default:l+=c+"{"+h+"}"}}}return l}var Kb=/label:\s*([^\s;{]+)\s*(;|$)/g,vr;function Yo(t,n,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var l=!0,s="";vr=void 0;var c=t[0];if(c==null||c.raw===void 0)l=!1,s+=ic(r,n,c);else{var d=c;s+=d[0]}for(var g=1;g<t.length;g++)if(s+=ic(r,n,t[g]),l){var m=c;s+=m[g]}Kb.lastIndex=0;for(var h="",b;(b=Kb.exec(s))!==null;)h+="-"+b[1];var v=eR(s)+h;return{name:v,styles:s,next:vr}}function iw(t,n,r){var l="";return r.split(" ").forEach(function(s){t[s]!==void 0?n.push(t[s]+";"):s&&(l+=s+" ")}),l}var iR=function(n,r,l){var s=n.key+"-"+r.name;n.registered[s]===void 0&&(n.registered[s]=r.styles)},lR=function(n,r,l){iR(n,r);var s=n.key+"-"+r.name;if(n.inserted[r.name]===void 0){var c=r;do n.insert(r===c?"."+s:"",c,n.sheet,!0),c=c.next;while(c!==void 0)}};function Jb(t,n){if(t.inserted[n.name]===void 0)return t.insert("",n,t.sheet,!0)}function Wb(t,n,r){var l=[],s=iw(t,l,r);return l.length<2?r:s+n(l)}var uR=function(n){var r=ID(n);r.sheet.speedy=function(g){this.isSpeedy=g},r.compat=!0;var l=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];var v=Yo(h,r.registered,void 0);return lR(r,v),r.key+"-"+v.name},s=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];var v=Yo(h,r.registered),O="animation-"+v.name;return Jb(r,{name:v.name,styles:"@keyframes "+O+"{"+v.styles+"}"}),O},c=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];var v=Yo(h,r.registered);Jb(r,v)},d=function(){for(var m=arguments.length,h=new Array(m),b=0;b<m;b++)h[b]=arguments[b];return Wb(r.registered,l,sR(h))};return{css:l,cx:d,injectGlobal:c,keyframes:s,hydrate:function(m){m.forEach(function(h){r.inserted[h]=!0})},flush:function(){r.registered={},r.inserted={},r.sheet.flush()},sheet:r.sheet,cache:r,getRegisteredStyles:iw.bind(null,r.registered),merge:Wb.bind(null,r.registered,l)}},sR=function t(n){for(var r="",l=0;l<n.length;l++){var s=n[l];if(s!=null){var c=void 0;switch(typeof s){case"boolean":break;case"object":{if(Array.isArray(s))c=t(s);else{c="";for(var d in s)s[d]&&d&&(c&&(c+=" "),c+=d)}break}default:c=s}c&&(r&&(r+=" "),r+=c)}}return r},lw=uR({key:"css"}),oR=lw.keyframes,cR=lw.css,Bh=function(t,n){return Bh=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,l){r.__proto__=l}||function(r,l){for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(r[s]=l[s])},Bh(t,n)};function gm(t,n){if(typeof n!="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");Bh(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}function fR(t,n,r,l){function s(c){return c instanceof r?c:new r(function(d){d(c)})}return new(r||(r=Promise))(function(c,d){function g(b){try{h(l.next(b))}catch(v){d(v)}}function m(b){try{h(l.throw(b))}catch(v){d(v)}}function h(b){b.done?c(b.value):s(b.value).then(g,m)}h((l=l.apply(t,n||[])).next())})}function uw(t,n){var r={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},l,s,c,d=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return d.next=g(0),d.throw=g(1),d.return=g(2),typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function g(h){return function(b){return m([h,b])}}function m(h){if(l)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(r=0)),r;)try{if(l=1,s&&(c=h[0]&2?s.return:h[0]?s.throw||((c=s.return)&&c.call(s),0):s.next)&&!(c=c.call(s,h[1])).done)return c;switch(s=0,c&&(h=[h[0]&2,c.value]),h[0]){case 0:case 1:c=h;break;case 4:return r.label++,{value:h[1],done:!1};case 5:r.label++,s=h[1],h=[0];continue;case 7:h=r.ops.pop(),r.trys.pop();continue;default:if(c=r.trys,!(c=c.length>0&&c[c.length-1])&&(h[0]===6||h[0]===2)){r=0;continue}if(h[0]===3&&(!c||h[1]>c[0]&&h[1]<c[3])){r.label=h[1];break}if(h[0]===6&&r.label<c[1]){r.label=c[1],c=h;break}if(c&&r.label<c[2]){r.label=c[2],r.ops.push(h);break}c[2]&&r.ops.pop(),r.trys.pop();continue}h=n.call(t,r)}catch(b){h=[6,b],s=0}finally{l=c=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}function Yu(t){var n=typeof Symbol=="function"&&Symbol.iterator,r=n&&t[n],l=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&l>=t.length&&(t=void 0),{value:t&&t[l++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Hh(t,n){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var l=r.call(t),s,c=[],d;try{for(;(n===void 0||n-- >0)&&!(s=l.next()).done;)c.push(s.value)}catch(g){d={error:g}}finally{try{s&&!s.done&&(r=l.return)&&r.call(l)}finally{if(d)throw d.error}}return c}function Zh(t,n,r){if(r||arguments.length===2)for(var l=0,s=n.length,c;l<s;l++)(c||!(l in n))&&(c||(c=Array.prototype.slice.call(n,0,l)),c[l]=n[l]);return t.concat(c||Array.prototype.slice.call(n))}function ll(t){return this instanceof ll?(this.v=t,this):new ll(t)}function dR(t,n,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var l=r.apply(t,n||[]),s,c=[];return s=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),g("next"),g("throw"),g("return",d),s[Symbol.asyncIterator]=function(){return this},s;function d(N){return function(R){return Promise.resolve(R).then(N,v)}}function g(N,R){l[N]&&(s[N]=function(S){return new Promise(function(E,j){c.push([N,S,E,j])>1||m(N,S)})},R&&(s[N]=R(s[N])))}function m(N,R){try{h(l[N](R))}catch(S){O(c[0][3],S)}}function h(N){N.value instanceof ll?Promise.resolve(N.value.v).then(b,v):O(c[0][2],N)}function b(N){m("next",N)}function v(N){m("throw",N)}function O(N,R){N(R),c.shift(),c.length&&m(c[0][0],c[0][1])}}function hR(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t[Symbol.asyncIterator],r;return n?n.call(t):(t=typeof Yu=="function"?Yu(t):t[Symbol.iterator](),r={},l("next"),l("throw"),l("return"),r[Symbol.asyncIterator]=function(){return this},r);function l(c){r[c]=t[c]&&function(d){return new Promise(function(g,m){d=t[c](d),s(g,m,d.done,d.value)})}}function s(c,d,g,m){Promise.resolve(m).then(function(h){c({value:h,done:g})},d)}}function $t(t){return typeof t=="function"}function mR(t){var n=function(l){Error.call(l),l.stack=new Error().stack},r=t(n);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var uh=mR(function(t){return function(r){t(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
2
|
+
`+r.map(function(l,s){return s+1+") "+l.toString()}).join(`
|
|
3
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function Ib(t,n){if(t){var r=t.indexOf(n);0<=r&&t.splice(r,1)}}var vc=(function(){function t(n){this.initialTeardown=n,this.closed=!1,this._parentage=null,this._finalizers=null}return t.prototype.unsubscribe=function(){var n,r,l,s,c;if(!this.closed){this.closed=!0;var d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d))try{for(var g=Yu(d),m=g.next();!m.done;m=g.next()){var h=m.value;h.remove(this)}}catch(S){n={error:S}}finally{try{m&&!m.done&&(r=g.return)&&r.call(g)}finally{if(n)throw n.error}}else d.remove(this);var b=this.initialTeardown;if($t(b))try{b()}catch(S){c=S instanceof uh?S.errors:[S]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var O=Yu(v),N=O.next();!N.done;N=O.next()){var R=N.value;try{ev(R)}catch(S){c=c??[],S instanceof uh?c=Zh(Zh([],Hh(c)),Hh(S.errors)):c.push(S)}}}catch(S){l={error:S}}finally{try{N&&!N.done&&(s=O.return)&&s.call(O)}finally{if(l)throw l.error}}}if(c)throw new uh(c)}},t.prototype.add=function(n){var r;if(n&&n!==this)if(this.closed)ev(n);else{if(n instanceof t){if(n.closed||n._hasParent(this))return;n._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(n)}},t.prototype._hasParent=function(n){var r=this._parentage;return r===n||Array.isArray(r)&&r.includes(n)},t.prototype._addParent=function(n){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(n),r):r?[r,n]:n},t.prototype._removeParent=function(n){var r=this._parentage;r===n?this._parentage=null:Array.isArray(r)&&Ib(r,n)},t.prototype.remove=function(n){var r=this._finalizers;r&&Ib(r,n),n instanceof t&&n._removeParent(this)},t.EMPTY=(function(){var n=new t;return n.closed=!0,n})(),t})();vc.EMPTY;function sw(t){return t instanceof vc||t&&"closed"in t&&$t(t.remove)&&$t(t.add)&&$t(t.unsubscribe)}function ev(t){$t(t)?t():t.unsubscribe()}var pR={Promise:void 0},gR={setTimeout:function(t,n){for(var r=[],l=2;l<arguments.length;l++)r[l-2]=arguments[l];return setTimeout.apply(void 0,Zh([t,n],Hh(r)))},clearTimeout:function(t){return clearTimeout(t)},delegate:void 0};function ow(t){gR.setTimeout(function(){throw t})}function tv(){}function yR(t){t()}var ym=(function(t){gm(n,t);function n(r){var l=t.call(this)||this;return l.isStopped=!1,r?(l.destination=r,sw(r)&&r.add(l)):l.destination=wR,l}return n.create=function(r,l,s){return new Yh(r,l,s)},n.prototype.next=function(r){this.isStopped||this._next(r)},n.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},n.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},n.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,t.prototype.unsubscribe.call(this),this.destination=null)},n.prototype._next=function(r){this.destination.next(r)},n.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},n.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},n})(vc),bR=(function(){function t(n){this.partialObserver=n}return t.prototype.next=function(n){var r=this.partialObserver;if(r.next)try{r.next(n)}catch(l){Do(l)}},t.prototype.error=function(n){var r=this.partialObserver;if(r.error)try{r.error(n)}catch(l){Do(l)}else Do(n)},t.prototype.complete=function(){var n=this.partialObserver;if(n.complete)try{n.complete()}catch(r){Do(r)}},t})(),Yh=(function(t){gm(n,t);function n(r,l,s){var c=t.call(this)||this,d;return $t(r)||!r?d={next:r??void 0,error:l??void 0,complete:s??void 0}:d=r,c.destination=new bR(d),c}return n})(ym);function Do(t){ow(t)}function vR(t){throw t}var wR={closed:!0,next:tv,error:vR,complete:tv},bm=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})();function xR(t){return t}function _R(t){return t.length===0?xR:t.length===1?t[0]:function(r){return t.reduce(function(l,s){return s(l)},r)}}var oa=(function(){function t(n){n&&(this._subscribe=n)}return t.prototype.lift=function(n){var r=new t;return r.source=this,r.operator=n,r},t.prototype.subscribe=function(n,r,l){var s=this,c=TR(n)?n:new Yh(n,r,l);return yR(function(){var d=s,g=d.operator,m=d.source;c.add(g?g.call(c,m):m?s._subscribe(c):s._trySubscribe(c))}),c},t.prototype._trySubscribe=function(n){try{return this._subscribe(n)}catch(r){n.error(r)}},t.prototype.forEach=function(n,r){var l=this;return r=nv(r),new r(function(s,c){var d=new Yh({next:function(g){try{n(g)}catch(m){c(m),d.unsubscribe()}},error:c,complete:s});l.subscribe(d)})},t.prototype._subscribe=function(n){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(n)},t.prototype[bm]=function(){return this},t.prototype.pipe=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return _R(n)(this)},t.prototype.toPromise=function(n){var r=this;return n=nv(n),new n(function(l,s){var c;r.subscribe(function(d){return c=d},function(d){return s(d)},function(){return l(c)})})},t.create=function(n){return new t(n)},t})();function nv(t){var n;return(n=t??pR.Promise)!==null&&n!==void 0?n:Promise}function SR(t){return t&&$t(t.next)&&$t(t.error)&&$t(t.complete)}function TR(t){return t&&t instanceof ym||SR(t)&&sw(t)}function ER(t){return $t(t?.lift)}function cw(t){return function(n){if(ER(n))return n.lift(function(r){try{return t(r,this)}catch(l){this.error(l)}});throw new TypeError("Unable to lift unknown Observable type")}}function OR(t,n,r,l,s){return new MR(t,n,r,l,s)}var MR=(function(t){gm(n,t);function n(r,l,s,c,d,g){var m=t.call(this,r)||this;return m.onFinalize=d,m.shouldUnsubscribe=g,m._next=l?function(h){try{l(h)}catch(b){r.error(b)}}:t.prototype._next,m._error=c?function(h){try{c(h)}catch(b){r.error(b)}finally{this.unsubscribe()}}:t.prototype._error,m._complete=s?function(){try{s()}catch(h){r.error(h)}finally{this.unsubscribe()}}:t.prototype._complete,m}return n.prototype.unsubscribe=function(){var r;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var l=this.closed;t.prototype.unsubscribe.call(this),!l&&((r=this.onFinalize)===null||r===void 0||r.call(this))}},n})(ym),fw=(function(t){return t&&typeof t.length=="number"&&typeof t!="function"});function dw(t){return $t(t?.then)}function hw(t){return $t(t[bm])}function mw(t){return Symbol.asyncIterator&&$t(t?.[Symbol.asyncIterator])}function pw(t){return new TypeError("You provided "+(t!==null&&typeof t=="object"?"an invalid object":"'"+t+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function AR(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var gw=AR();function yw(t){return $t(t?.[gw])}function bw(t){return dR(this,arguments,function(){var r,l,s,c;return uw(this,function(d){switch(d.label){case 0:r=t.getReader(),d.label=1;case 1:d.trys.push([1,,9,10]),d.label=2;case 2:return[4,ll(r.read())];case 3:return l=d.sent(),s=l.value,c=l.done,c?[4,ll(void 0)]:[3,5];case 4:return[2,d.sent()];case 5:return[4,ll(s)];case 6:return[4,d.sent()];case 7:return d.sent(),[3,2];case 8:return[3,10];case 9:return r.releaseLock(),[7];case 10:return[2]}})})}function vw(t){return $t(t?.getReader)}function wc(t){if(t instanceof oa)return t;if(t!=null){if(hw(t))return CR(t);if(fw(t))return DR(t);if(dw(t))return RR(t);if(mw(t))return ww(t);if(yw(t))return NR(t);if(vw(t))return $R(t)}throw pw(t)}function CR(t){return new oa(function(n){var r=t[bm]();if($t(r.subscribe))return r.subscribe(n);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function DR(t){return new oa(function(n){for(var r=0;r<t.length&&!n.closed;r++)n.next(t[r]);n.complete()})}function RR(t){return new oa(function(n){t.then(function(r){n.closed||(n.next(r),n.complete())},function(r){return n.error(r)}).then(null,ow)})}function NR(t){return new oa(function(n){var r,l;try{for(var s=Yu(t),c=s.next();!c.done;c=s.next()){var d=c.value;if(n.next(d),n.closed)return}}catch(g){r={error:g}}finally{try{c&&!c.done&&(l=s.return)&&l.call(s)}finally{if(r)throw r.error}}n.complete()})}function ww(t){return new oa(function(n){zR(t,n).catch(function(r){return n.error(r)})})}function $R(t){return ww(bw(t))}function zR(t,n){var r,l,s,c;return fR(this,void 0,void 0,function(){var d,g;return uw(this,function(m){switch(m.label){case 0:m.trys.push([0,5,6,11]),r=hR(t),m.label=1;case 1:return[4,r.next()];case 2:if(l=m.sent(),!!l.done)return[3,4];if(d=l.value,n.next(d),n.closed)return[2];m.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return g=m.sent(),s={error:g},[3,11];case 6:return m.trys.push([6,,9,10]),l&&!l.done&&(c=r.return)?[4,c.call(r)]:[3,8];case 7:m.sent(),m.label=8;case 8:return[3,10];case 9:if(s)throw s.error;return[7];case 10:return[7];case 11:return n.complete(),[2]}})})}function ni(t,n,r,l,s){l===void 0&&(l=0),s===void 0&&(s=!1);var c=n.schedule(function(){r(),s?t.add(this.schedule(null,l)):this.unsubscribe()},l);if(t.add(c),!s)return c}function xw(t,n){return n===void 0&&(n=0),cw(function(r,l){r.subscribe(OR(l,function(s){return ni(l,t,function(){return l.next(s)},n)},function(){return ni(l,t,function(){return l.complete()},n)},function(s){return ni(l,t,function(){return l.error(s)},n)}))})}function _w(t,n){return n===void 0&&(n=0),cw(function(r,l){l.add(t.schedule(function(){return r.subscribe(l)},n))})}function qR(t,n){return wc(t).pipe(_w(n),xw(n))}function jR(t,n){return wc(t).pipe(_w(n),xw(n))}function UR(t,n){return new oa(function(r){var l=0;return n.schedule(function(){l===t.length?r.complete():(r.next(t[l++]),r.closed||this.schedule())})})}function LR(t,n){return new oa(function(r){var l;return ni(r,n,function(){l=t[gw](),ni(r,n,function(){var s,c,d;try{s=l.next(),c=s.value,d=s.done}catch(g){r.error(g);return}d?r.complete():r.next(c)},0,!0)}),function(){return $t(l?.return)&&l.return()}})}function Sw(t,n){if(!t)throw new Error("Iterable cannot be null");return new oa(function(r){ni(r,n,function(){var l=t[Symbol.asyncIterator]();ni(r,n,function(){l.next().then(function(s){s.done?r.complete():r.next(s.value)})},0,!0)})})}function BR(t,n){return Sw(bw(t),n)}function HR(t,n){if(t!=null){if(hw(t))return qR(t,n);if(fw(t))return UR(t,n);if(dw(t))return jR(t,n);if(mw(t))return Sw(t,n);if(yw(t))return LR(t,n);if(vw(t))return BR(t,n)}throw pw(t)}function ZR(t,n){return n?HR(t,n):wc(t)}function YR(t){return new oa(function(n){wc(t()).subscribe(n)})}function jn(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var GR=(function(t){return t.Equal="eq",t.NotEqual="neq",t.LessThanEqualTo="lteq",t.LessThan="lt",t.GreaterThanEqualTo="gteq",t.GreaterThan="gt",t.Like="like",t.StartsWith="sw",t.EndsWith="ew",t})({});class bl{subject(n){return this._filter.subject=n,this}value(n){return this._filter.value=n,this}operator(n){return this._filter.operator=n,this}build(){return{...this._filter}}constructor(){jn(this,"_filter",void 0),jn(this,"equal",this.operator.bind(this,"eq")),jn(this,"notEqual",this.operator.bind(this,"neq")),jn(this,"lessThan",this.operator.bind(this,"lt")),jn(this,"greaterThan",this.operator.bind(this,"gt")),jn(this,"lessThanEqualTo",this.operator.bind(this,"lteq")),jn(this,"greaterThanEqualTo",this.operator.bind(this,"gteq")),jn(this,"like",this.operator.bind(this,"like")),jn(this,"startsWith",this.operator.bind(this,"sw")),jn(this,"endsWith",this.operator.bind(this,"ew")),this._filter={subject:"",value:null,operator:"eq",__type__:bl.Type}}}jn(bl,"Type","binary");function kR(t){return t?.__type__===bl.Type}const Tw=Ju(GR),PR=Mn(Tw);function VR(t){return t!=null&&Object.prototype.hasOwnProperty.call(PR,t)}const XR={eq:(t,n)=>t===n,neq:(t,n)=>t!==n,gt:(t,n)=>t>n,gteq:(t,n)=>t>=n,lt:(t,n)=>t<n,lteq:(t,n)=>t<=n,like:(t,n)=>`${t}`.indexOf(`${n}`)>=0,sw:(t,n)=>`${t}`.startsWith(`${n}`),ew:(t,n)=>`${t}`.endsWith(`${n}`)};function Go(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var QR=(function(t){return t.In="in",t.NotIn="not-in",t})({});class es{subject(n){return this._filter.subject=n,this}values(n){return this._filter.values=n,this}value(n){return this._filter.values.push(n),this}operator(n){return this._filter.operator=n,this}build(){return JSON.parse(JSON.stringify(this._filter))}constructor(){Go(this,"_filter",void 0),Go(this,"in",this.operator.bind(this,"in")),Go(this,"notIn",this.operator.bind(this,"not-in")),this._filter={subject:"",operator:"in",values:[],__type__:es.Type}}}Go(es,"Type","collection");function Ew(t){return t?.__type__===es.Type}const FR={in:(t,n)=>n.indexOf(t)>=0,"not-in":(t,n)=>n.indexOf(t)<0},Ow=Ju(QR),KR=Mn(Ow);function JR(t){return t!=null&&Object.prototype.hasOwnProperty.call(KR,t)}function ko(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var Mw=(function(t){return t.And="and",t.Or="or",t})({});class ts{operator(n){return this._filter.operator=n,this}clause(n){return this._filter.clauses.push(n),this}clauses(n){return this._filter.clauses=n,this}build(){return{...this._filter}}constructor(){ko(this,"_filter",void 0),ko(this,"and",this.operator.bind(this,"and")),ko(this,"or",this.operator.bind(this,"or")),this._filter={clauses:[],operator:"and",__type__:ts.Type}}}ko(ts,"Type","logic");function Aw(t){return t?.__type__===ts.Type}const Cw=Ju(Mw),WR=Mn(Cw);function IR(t){return t!=null&&Object.prototype.hasOwnProperty.call(WR,t)}function Po(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var e5=(function(t){return t.IsNull="null",t.IsNotNull="is-not-null",t})({});class vm{subject(n){return this._filter.subject=n,this}operator(n){return this._filter.operator=n,this}build(){return{...this._filter}}constructor(){Po(this,"_filter",void 0),Po(this,"isNull",this.operator.bind(this,"null")),Po(this,"isNotNull",this.operator.bind(this,"is-not-null")),this._filter={subject:null,operator:"null",__type__:"unary"}}}Po(vm,"Type","unary");function Dw(t){return t?.__type__===vm.Type}const Rw=Ju(e5),t5=Mn(Rw);function n5(t){return t!=null&&Object.prototype.hasOwnProperty.call(t5,t)}const a5={null:t=>t==null,"is-not-null":t=>t!=null};class av{_matchLogicFilter(n,r){return r.operator===Mw.And?r.clauses.every(l=>this.match(n,l)):r.clauses.some(l=>this.match(n,l))}_matchSubjectFilter(n,r,l,s){const c=l[r.operator],d=r.subject?li(n,r.subject,null):n;return c(d,s)}match(n,r){return Aw(r)?this._matchLogicFilter(n,r):Ew(r)?this._matchSubjectFilter(n,r,FR,r.values):Dw(r)?this._matchSubjectFilter(n,r,a5):this._matchSubjectFilter(n,r,XR,r.value)}}const r5=[].concat(Tw).concat(Ow).concat(Cw).concat(Rw);class i5{deserialize(n){const[r,l]=this._parseFilter(n);if(Rt(l).length>0)throw new Error(`Extraneous characters found at the end of the candidate filter: ${l}`);return r}_peelBetweenParens(n){const[r,l]=Oh(n,"(",")");if(r==null)throw new Error(`Unable to find opening and closing parenthesis for ${n}. Check syntax.`);return[r,l]}_splitArgs(n,r,l,s=l){const[c,d]=this._peelBetweenParens(r),g=c.split(",").filter(m=>!!m);if(g.length<l){const m=`Not enough arguments for ${n} filter: ${g}.`,h=`Expected at least ${l} arguments, but got ${g.length} instead.`;throw new Error(`${m}. ${h}`)}if(g.length>s){const m=`Too many arguments for ${n} filter: ${g}.`,h=`Expected at most ${s} arguments, but got ${g.length} instead.`;throw new Error(`${m}. ${h}`)}return[g,d]}_parseUnaryFilter(n,r){const[l,s]=this._splitArgs(n,r,1);let[c]=l;return c=Rt(c),[new vm().operator(n).subject(c).build(),s]}_parseBinaryFilter(n,r){const[l,s]=this._splitArgs(n,r,2);let[c,d]=l;return c=Rt(c),d=JSON.parse(d),[new bl().operator(n).subject(c).value(d).build(),s]}_parseCollectionFilter(n,r){const[l,s]=this._splitArgs(n,r,1,1/0);let[c]=l;c=Rt(c);const d=l.slice(1).map(g=>JSON.parse(Rt(g)));return[new es().operator(n).subject(c).values(d).build(),s]}_parseLogicFilter(n,r){const l=this._peelBetweenParens(Rt(r));let[s]=l;const[,c]=l;let d=new ts().operator(n);for(;s;){const g=this._parseFilter(s),[m]=g;[,s]=g,s=cm(s," ,"),d=d.clause(m)}return[d.build(),c]}_parseFilter(n){const[r,l]=Jv(Rt(n),r5);if(n5(r))return this._parseUnaryFilter(r,l);if(VR(r))return this._parseBinaryFilter(r,l);if(JR(r))return this._parseCollectionFilter(r,l);if(IR(r))return this._parseLogicFilter(r,l);throw new Error(`Cannot determine filter operator at ${n}.`)}}class l5{serialize(n){if(kR(n))return`${n.operator}(${n.subject}, ${JSON.stringify(n.value)})`;if(Dw(n))return`${n.operator}(${n.subject})`;if(Ew(n))return`${n.operator}(${n.subject}, ${n.values.map(r=>JSON.stringify(r)).join(", ")})`;if(Aw(n))return`${n.operator}(${n.clauses.map(r=>this.serialize(r)).join(", ")})`}}class rv{match(){return!0}}function u5(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class s5{match(n,r){return r==null?!0:this._match.match(n,r)}constructor(n){u5(this,"_match",void 0),this._match=n}}var sh=(function(t){return t.Date="date",t.Number="number",t.Text="text",t.File="file",t.Boolean="boolean",t.Icon="icon",t.Image="image",t.Custom="custom",t})({});function o5(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var Nw=(function(t){return t.Ascending="asc",t.Descending="desc",t})({});class wm{sorts(n){return this._sort=n,this}sort(n){const r=z1(n);return this.sorts(this._sort.concat(r))}ascending(n){return this.sort({subject:n,direction:"asc"})}descending(n){return this.sort({subject:n,direction:"desc"})}build(){return JSON.parse(JSON.stringify(this._sort))}constructor(){o5(this,"_sort",void 0),this._sort=[]}}const c5=Ju(Nw);class f5{deserialize(n){const[r,l]=Oh(Rt(n),"(",")"),s=r??l;let c=new wm,d=s;for(;d;){const g=this._parseSort(d),[m]=g;[,d]=g,c=c.sort(m),d=cm(d,", ")}return c.build()}_parseSort(n){const[r,l]=Jv(n,c5);if(r==null)throw new Error(`Cannot determine sort direction at ${n}`);const s=Oh(l,"(",")");let[c]=s;const[,d]=s;if(c==null)throw new Error(`Cannot determine sort subject at ${l}.`);if(c=Rt(c),!c)throw new Error(`Cannot determine sort subject at ${l}.`);return[{direction:r,subject:c},d]}}class d5{serialize(n){if(!n?.length)return;const r=n.map(l=>`${l.direction}(${l.subject})`).join(", ");return n.length>1?`(${r})`:r}}function h5(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Dn{page(n){return n!=null?this._request.page=Math.max(n,1):delete this._request.page,this}size(n){return n!=null?this._request.size=Math.max(n,0):delete this._request.size,this}search(n){return this._request.search=n,this}filter(n){if(n==null)delete this._request.filter;else{const r=typeof n=="string"?ub(()=>new i5().deserialize(n)):n;this._request.filter=r}return this}sort(n){if(n==null)delete this._request.sort;else{const r=typeof n=="string"?ub(()=>new f5().deserialize(n)):n;this._request.sort=r}return this}copy(n){return this._request=JSON.parse(JSON.stringify(n)),this}query(n){if(n.filter!=null&&this.filter(n.filter),n.sort!=null&&this.sort(n.sort),n.page!=null){const r=+n.page;this.page(isNaN(r)?this._request.page:r)}if(n.size!=null){const r=+n.size;this.size(isNaN(r)?this._request.size:r)}return n.search!=null&&this.search(n.search),this}build(){return JSON.parse(JSON.stringify(this._request))}constructor(){h5(this,"_request",void 0),this._request={}}}function m5(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class p5{search(n){return this._options.search=n||new rv,this}filter(n){return this._options.filter=n||new av,this}delay(n){return this._options.delay=n||0,this}build(){return{...this._options}}constructor(){m5(this,"_options",void 0),this._options={search:new rv,filter:new av,delay:0}}}function g5(t,n,r){if(r===1/0)return n<=1?t:[];const l=Math.max(0,n-1);return TA(t,r)[l]||[]}function Ro(t,n,r){const l=new s5(r);return t.filter(s=>l.match(s,n))}function y5(t,n){const r=t.slice();return n?.length&&r.sort((l,s)=>{for(let c=0;c<n.length;++c){const d=n[c],g=d.direction===Nw.Ascending?1:-1,m=d.subject?li(l,d.subject,null):l,h=d.subject?li(s,d.subject,null):s;if(!(m==null&&h==null)){if(m==null&&h!=null)return-1*g;if(m!=null&&h==null)return g;if(m!==h)return g*(m<h?-1:1)}}return 0}),r}function iv(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class ei{async items(){const n=await this._data;return n instanceof Error?Promise.reject(n):n.slice()}async insert(n,r=1/0){const l=await this.items();return r=Math.max(r,0),l.splice(r,0,n),new ei(l,this._options)}async remove(n){const r=await this.items(),l=r.indexOf(n);return l>=0&&r.splice(l,1),new ei(r,this._options)}async removeAt(n){const r=await this.items();return n>=0&&n<r.length&&r.splice(n,1),new ei(r,this._options)}async set(n,r){const l=await this.items();return r>=0&&r<l.length&&(l[r]=n),new ei(l,this._options)}async count(n){const{search:r,filter:l}=n,s=await this._data;if(s instanceof Error)return new Promise((d,g)=>setTimeout(()=>g(s),this._options.delay));let c=s;return c=Ro(c,r,this._options.search),c=Ro(c,l,this._options.filter),new Promise(d=>setTimeout(()=>d(c.length),this._options.delay))}async retrieve(n){const{page:r=1,size:l=1/0,search:s,filter:c,sort:d}=n,g=await this._data;if(g instanceof Error)return new Promise((h,b)=>setTimeout(()=>b(g),this._options.delay));let m=g;return m=Ro(m,s,this._options.search),m=Ro(m,c,this._options.filter),m=y5(m,d),m=g5(m,r,l),new Promise(h=>setTimeout(()=>h(m),this._options.delay))}constructor(n,r=new p5().build()){iv(this,"_data",void 0),iv(this,"_options",void 0),this._data=n,this._options=r}}function Mr(t,n,r){const[l,s]=C.useState(t||r),c=t===void 0?l:t;return[c,g=>{s(g);const m=h=>typeof h=="function";if(n){const h=m(g)?g(c):g;n(h)}}]}const Gh=Symbol("loading");function ns(t,n=[]){const[r,l]=C.useState(Gh),s=C.useRef(new vc),c=()=>{s.current.unsubscribe(),s.current=YR(()=>(l(Gh),ZR(t()))).subscribe({next:g=>l(g),error:g=>l(kv(g))})},d=async g=>{if(g!==void 0){l(g);return}return c()};return C.useEffect(()=>(c(),()=>s.current.unsubscribe()),n),[r,d]}function vl(t){return t===Gh}function $w(t){return!vl(t)&&!xc(t)}function xc(t){return t instanceof Error}function b5(t,n){return $w(t)?t:n}function No(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class v5{get $input(){return this._input!=null?this._input:(this._input=this._doc.createElement("input"),this._input.type="file",this._input.style.position="absolute",this._input.style.visibility="hidden",this._input.style.width="1px",this._input.style.height="1px",this._input.style.left="0",this._input.style.top="0",this._input.style.zIndex="-1",this._input.onchange=()=>{const n=this._input.files?.item(0);n&&this._cb(n)},this._container.appendChild(this._input),this._input)}open(n,r){this.$input.accept=n,this._cb=r,this.$input.click()}constructor(n=Kv.document,r=n?.body){No(this,"_doc",void 0),No(this,"_container",void 0),No(this,"_input",void 0),No(this,"_cb",void 0),this._doc=n,this._container=r}}new v5;const zw=["Enter","Space"];function qw(t,n){const r=J(zw,n);if(t)return l=>{r.indexOf(l.code)>=0&&t(l)}}function _c(t,n=zw){return{onKey:C.useMemo(()=>qw(t,n),[t,n]),tabIndex:t?0:void 0}}function w5(t){const[n,r]=C.useState(t);return C.useEffect(()=>{r(t)},[t]),[n,r]}const x5=C.createContext(Kv);function jw(){return C.useContext(x5)}var Uw="comm",Lw="rule",Bw="decl",_5="@import",S5="@namespace",T5="@keyframes",E5="@layer",Hw=Math.abs,xm=String.fromCharCode;function Zw(t){return t.trim()}function Vo(t,n,r){return t.replace(n,r)}function O5(t,n,r){return t.indexOf(n,r)}function ul(t,n){return t.charCodeAt(n)|0}function hl(t,n,r){return t.slice(n,r)}function In(t){return t.length}function Yw(t){return t.length}function $o(t,n){return n.push(t),t}var Sc=1,ml=1,Gw=0,Rn=0,bt=0,wl="";function _m(t,n,r,l,s,c,d,g){return{value:t,root:n,parent:r,type:l,props:s,children:c,line:Sc,column:ml,length:d,return:"",siblings:g}}function M5(){return bt}function A5(){return bt=Rn>0?ul(wl,--Rn):0,ml--,bt===10&&(ml=1,Sc--),bt}function Ln(){return bt=Rn<Gw?ul(wl,Rn++):0,ml++,bt===10&&(ml=1,Sc++),bt}function wr(){return ul(wl,Rn)}function Xo(){return Rn}function Tc(t,n){return hl(wl,t,n)}function Gu(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function C5(t){return Sc=ml=1,Gw=In(wl=t),Rn=0,[]}function D5(t){return wl="",t}function oh(t){return Zw(Tc(Rn-1,kh(t===91?t+2:t===40?t+1:t)))}function R5(t){for(;(bt=wr())&&bt<33;)Ln();return Gu(t)>2||Gu(bt)>3?"":" "}function N5(t,n){for(;--n&&Ln()&&!(bt<48||bt>102||bt>57&&bt<65||bt>70&&bt<97););return Tc(t,Xo()+(n<6&&wr()==32&&Ln()==32))}function kh(t){for(;Ln();)switch(bt){case t:return Rn;case 34:case 39:t!==34&&t!==39&&kh(bt);break;case 40:t===41&&kh(t);break;case 92:Ln();break}return Rn}function $5(t,n){for(;Ln()&&t+bt!==57;)if(t+bt===84&&wr()===47)break;return"/*"+Tc(n,Rn-1)+"*"+xm(t===47?t:Ln())}function z5(t){for(;!Gu(wr());)Ln();return Tc(t,Rn)}function q5(t){return D5(Qo("",null,null,null,[""],t=C5(t),0,[0],t))}function Qo(t,n,r,l,s,c,d,g,m){for(var h=0,b=0,v=d,O=0,N=0,R=0,S=1,E=1,j=1,x=0,$="",q=s,U=c,X=l,H=$;E;)switch(R=x,x=Ln()){case 40:if(R!=108&&ul(H,v-1)==58){O5(H+=Vo(oh(x),"&","&\f"),"&\f",Hw(h?g[h-1]:0))!=-1&&(j=-1);break}case 34:case 39:case 91:H+=oh(x);break;case 9:case 10:case 13:case 32:H+=R5(R);break;case 92:H+=N5(Xo()-1,7);continue;case 47:switch(wr()){case 42:case 47:$o(j5($5(Ln(),Xo()),n,r,m),m),(Gu(R||1)==5||Gu(wr()||1)==5)&&In(H)&&hl(H,-1,void 0)!==" "&&(H+=" ");break;default:H+="/"}break;case 123*S:g[h++]=In(H)*j;case 125*S:case 59:case 0:switch(x){case 0:case 125:E=0;case 59+b:j==-1&&(H=Vo(H,/\f/g,"")),N>0&&(In(H)-v||S===0&&R===47)&&$o(N>32?uv(H+";",l,r,v-1,m):uv(Vo(H," ","")+";",l,r,v-2,m),m);break;case 59:H+=";";default:if($o(X=lv(H,n,r,h,b,s,g,$,q=[],U=[],v,c),c),x===123)if(b===0)Qo(H,n,X,X,q,c,v,g,U);else{switch(O){case 99:if(ul(H,3)===110)break;case 108:if(ul(H,2)===97)break;default:b=0;case 100:case 109:case 115:}b?Qo(t,X,X,l&&$o(lv(t,X,X,0,0,s,g,$,s,q=[],v,U),U),s,U,v,g,l?q:U):Qo(H,X,X,X,[""],U,0,g,U)}}h=b=N=0,S=j=1,$=H="",v=d;break;case 58:v=1+In(H),N=R;default:if(S<1){if(x==123)--S;else if(x==125&&S++==0&&A5()==125)continue}switch(H+=xm(x),x*S){case 38:j=b>0?1:(H+="\f",-1);break;case 44:g[h++]=(In(H)-1)*j,j=1;break;case 64:wr()===45&&(H+=oh(Ln())),O=wr(),b=v=In($=H+=z5(Xo())),x++;break;case 45:R===45&&In(H)==2&&(S=0)}}return c}function lv(t,n,r,l,s,c,d,g,m,h,b,v){for(var O=s-1,N=s===0?c:[""],R=Yw(N),S=0,E=0,j=0;S<l;++S)for(var x=0,$=hl(t,O+1,O=Hw(E=d[S])),q=t;x<R;++x)(q=Zw(E>0?N[x]+" "+$:Vo($,/&\f/g,N[x])))&&(m[j++]=q);return _m(t,n,r,s===0?Lw:g,m,h,b,v)}function j5(t,n,r,l){return _m(t,n,r,Uw,xm(M5()),hl(t,2,-2),0,l)}function uv(t,n,r,l,s){return _m(t,n,r,Bw,hl(t,0,l),hl(t,l+1,-1),l,s)}function Ph(t,n){for(var r="",l=0;l<t.length;l++)r+=n(t[l],l,t,n)||"";return r}function U5(t,n,r,l){switch(t.type){case E5:if(t.children.length)break;case _5:case S5:case Bw:return t.return=t.return||t.value;case Uw:return"";case T5:return t.return=t.value+"{"+Ph(t.children,l)+"}";case Lw:if(!In(t.value=t.props.join(",")))return""}return In(r=Ph(t.children,l))?t.return=t.value+"{"+r+"}":""}function L5(t){var n=Yw(t);return function(r,l,s,c){for(var d="",g=0;g<n;g++)d+=t[g](r,l,s,c)||"";return d}}function B5(t){return function(n){n.root||(n=n.return)&&t(n)}}var sv="popstate";function H5(t={}){function n(s,c){let{pathname:d="/",search:g="",hash:m=""}=di(s.location.hash.substring(1));return!d.startsWith("/")&&!d.startsWith(".")&&(d="/"+d),Vh("",{pathname:d,search:g,hash:m},c.state&&c.state.usr||null,c.state&&c.state.key||"default")}function r(s,c){let d=s.document.querySelector("base"),g="";if(d&&d.getAttribute("href")){let m=s.location.href,h=m.indexOf("#");g=h===-1?m:m.slice(0,h)}return g+"#"+(typeof c=="string"?c:ku(c))}function l(s,c){Nn(s.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(c)})`)}return Y5(n,r,l,t)}function tt(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function Nn(t,n){if(!t){typeof console<"u"&&console.warn(n);try{throw new Error(n)}catch{}}}function Z5(){return Math.random().toString(36).substring(2,10)}function ov(t,n){return{usr:t.state,key:t.key,idx:n}}function Vh(t,n,r=null,l){return{pathname:typeof t=="string"?t:t.pathname,search:"",hash:"",...typeof n=="string"?di(n):n,state:r,key:n&&n.key||l||Z5()}}function ku({pathname:t="/",search:n="",hash:r=""}){return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function di(t){let n={};if(t){let r=t.indexOf("#");r>=0&&(n.hash=t.substring(r),t=t.substring(0,r));let l=t.indexOf("?");l>=0&&(n.search=t.substring(l),t=t.substring(0,l)),t&&(n.pathname=t)}return n}function Y5(t,n,r,l={}){let{window:s=document.defaultView,v5Compat:c=!1}=l,d=s.history,g="POP",m=null,h=b();h==null&&(h=0,d.replaceState({...d.state,idx:h},""));function b(){return(d.state||{idx:null}).idx}function v(){g="POP";let E=b(),j=E==null?null:E-h;h=E,m&&m({action:g,location:S.location,delta:j})}function O(E,j){g="PUSH";let x=Vh(S.location,E,j);r&&r(x,E),h=b()+1;let $=ov(x,h),q=S.createHref(x);try{d.pushState($,"",q)}catch(U){if(U instanceof DOMException&&U.name==="DataCloneError")throw U;s.location.assign(q)}c&&m&&m({action:g,location:S.location,delta:1})}function N(E,j){g="REPLACE";let x=Vh(S.location,E,j);r&&r(x,E),h=b();let $=ov(x,h),q=S.createHref(x);d.replaceState($,"",q),c&&m&&m({action:g,location:S.location,delta:0})}function R(E){return G5(E)}let S={get action(){return g},get location(){return t(s,d)},listen(E){if(m)throw new Error("A history only accepts one active listener");return s.addEventListener(sv,v),m=E,()=>{s.removeEventListener(sv,v),m=null}},createHref(E){return n(s,E)},createURL:R,encodeLocation(E){let j=R(E);return{pathname:j.pathname,search:j.search,hash:j.hash}},push:O,replace:N,go(E){return d.go(E)}};return S}function G5(t,n=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),tt(r,"No window.location.(origin|href) available to create URL");let l=typeof t=="string"?t:ku(t);return l=l.replace(/ $/,"%20"),!n&&l.startsWith("//")&&(l=r+l),new URL(l,r)}function kw(t,n,r="/"){return k5(t,n,r,!1)}function k5(t,n,r,l){let s=typeof n=="string"?di(n):n,c=Ua(s.pathname||"/",r);if(c==null)return null;let d=Pw(t);P5(d);let g=null;for(let m=0;g==null&&m<d.length;++m){let h=nN(c);g=eN(d[m],h,l)}return g}function Pw(t,n=[],r=[],l="",s=!1){let c=(d,g,m=s,h)=>{let b={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:g,route:d};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(l)&&m)return;tt(b.relativePath.startsWith(l),`Absolute route path "${b.relativePath}" nested under path "${l}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(l.length)}let v=qa([l,b.relativePath]),O=r.concat(b);d.children&&d.children.length>0&&(tt(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),Pw(d.children,n,O,v,m)),!(d.path==null&&!d.index)&&n.push({path:v,score:W5(v,d.index),routesMeta:O})};return t.forEach((d,g)=>{if(d.path===""||!d.path?.includes("?"))c(d,g);else for(let m of Vw(d.path))c(d,g,!0,m)}),n}function Vw(t){let n=t.split("/");if(n.length===0)return[];let[r,...l]=n,s=r.endsWith("?"),c=r.replace(/\?$/,"");if(l.length===0)return s?[c,""]:[c];let d=Vw(l.join("/")),g=[];return g.push(...d.map(m=>m===""?c:[c,m].join("/"))),s&&g.push(...d),g.map(m=>t.startsWith("/")&&m===""?"/":m)}function P5(t){t.sort((n,r)=>n.score!==r.score?r.score-n.score:I5(n.routesMeta.map(l=>l.childrenIndex),r.routesMeta.map(l=>l.childrenIndex)))}var V5=/^:[\w-]+$/,X5=3,Q5=2,F5=1,K5=10,J5=-2,cv=t=>t==="*";function W5(t,n){let r=t.split("/"),l=r.length;return r.some(cv)&&(l+=J5),n&&(l+=Q5),r.filter(s=>!cv(s)).reduce((s,c)=>s+(V5.test(c)?X5:c===""?F5:K5),l)}function I5(t,n){return t.length===n.length&&t.slice(0,-1).every((l,s)=>l===n[s])?t[t.length-1]-n[n.length-1]:0}function eN(t,n,r=!1){let{routesMeta:l}=t,s={},c="/",d=[];for(let g=0;g<l.length;++g){let m=l[g],h=g===l.length-1,b=c==="/"?n:n.slice(c.length)||"/",v=lc({path:m.relativePath,caseSensitive:m.caseSensitive,end:h},b),O=m.route;if(!v&&h&&r&&!l[l.length-1].route.index&&(v=lc({path:m.relativePath,caseSensitive:m.caseSensitive,end:!1},b)),!v)return null;Object.assign(s,v.params),d.push({params:s,pathname:qa([c,v.pathname]),pathnameBase:lN(qa([c,v.pathnameBase])),route:O}),v.pathnameBase!=="/"&&(c=qa([c,v.pathnameBase]))}return d}function lc(t,n){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[r,l]=tN(t.path,t.caseSensitive,t.end),s=n.match(r);if(!s)return null;let c=s[0],d=c.replace(/(.)\/+$/,"$1"),g=s.slice(1);return{params:l.reduce((h,{paramName:b,isOptional:v},O)=>{if(b==="*"){let R=g[O]||"";d=c.slice(0,c.length-R.length).replace(/(.)\/+$/,"$1")}const N=g[O];return v&&!N?h[b]=void 0:h[b]=(N||"").replace(/%2F/g,"/"),h},{}),pathname:c,pathnameBase:d,pattern:t}}function tN(t,n=!1,r=!0){Nn(t==="*"||!t.endsWith("*")||t.endsWith("/*"),`Route path "${t}" will be treated as if it were "${t.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${t.replace(/\*$/,"/*")}".`);let l=[],s="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,g,m)=>(l.push({paramName:g,isOptional:m!=null}),m?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return t.endsWith("*")?(l.push({paramName:"*"}),s+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?s+="\\/*$":t!==""&&t!=="/"&&(s+="(?:(?=\\/|$))"),[new RegExp(s,n?void 0:"i"),l]}function nN(t){try{return t.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return Nn(!1,`The URL path "${t}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${n}).`),t}}function Ua(t,n){if(n==="/")return t;if(!t.toLowerCase().startsWith(n.toLowerCase()))return null;let r=n.endsWith("/")?n.length-1:n.length,l=t.charAt(r);return l&&l!=="/"?null:t.slice(r)||"/"}var aN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function rN(t,n="/"){let{pathname:r,search:l="",hash:s=""}=typeof t=="string"?di(t):t,c;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?c=fv(r.substring(1),"/"):c=fv(r,n)):c=n,{pathname:c,search:uN(l),hash:sN(s)}}function fv(t,n){let r=n.replace(/\/+$/,"").split("/");return t.split("/").forEach(s=>{s===".."?r.length>1&&r.pop():s!=="."&&r.push(s)}),r.length>1?r.join("/"):"/"}function ch(t,n,r,l){return`Cannot include a '${t}' character in a manually specified \`to.${n}\` field [${JSON.stringify(l)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function iN(t){return t.filter((n,r)=>r===0||n.route.path&&n.route.path.length>0)}function Sm(t){let n=iN(t);return n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase)}function Tm(t,n,r,l=!1){let s;typeof t=="string"?s=di(t):(s={...t},tt(!s.pathname||!s.pathname.includes("?"),ch("?","pathname","search",s)),tt(!s.pathname||!s.pathname.includes("#"),ch("#","pathname","hash",s)),tt(!s.search||!s.search.includes("#"),ch("#","search","hash",s)));let c=t===""||s.pathname==="",d=c?"/":s.pathname,g;if(d==null)g=r;else{let v=n.length-1;if(!l&&d.startsWith("..")){let O=d.split("/");for(;O[0]==="..";)O.shift(),v-=1;s.pathname=O.join("/")}g=v>=0?n[v]:"/"}let m=rN(s,g),h=d&&d!=="/"&&d.endsWith("/"),b=(c||d===".")&&r.endsWith("/");return!m.pathname.endsWith("/")&&(h||b)&&(m.pathname+="/"),m}var qa=t=>t.join("/").replace(/\/\/+/g,"/"),lN=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),uN=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,sN=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t,oN=class{constructor(t,n,r,l=!1){this.status=t,this.statusText=n||"",this.internal=l,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function cN(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}function fN(t){return t.map(n=>n.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Xw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Qw(t,n){let r=t;if(typeof r!="string"||!aN.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let l=r,s=!1;if(Xw)try{let c=new URL(window.location.href),d=r.startsWith("//")?new URL(c.protocol+r):new URL(r),g=Ua(d.pathname,n);d.origin===c.origin&&g!=null?r=g+d.search+d.hash:s=!0}catch{Nn(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:l,isExternal:s,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Fw=["POST","PUT","PATCH","DELETE"];new Set(Fw);var dN=["GET",...Fw];new Set(dN);var xl=C.createContext(null);xl.displayName="DataRouter";var Ec=C.createContext(null);Ec.displayName="DataRouterState";var hN=C.createContext(!1),Kw=C.createContext({isTransitioning:!1});Kw.displayName="ViewTransition";var mN=C.createContext(new Map);mN.displayName="Fetchers";var pN=C.createContext(null);pN.displayName="Await";var mn=C.createContext(null);mn.displayName="Navigation";var as=C.createContext(null);as.displayName="Location";var Zn=C.createContext({outlet:null,matches:[],isDataRoute:!1});Zn.displayName="Route";var Em=C.createContext(null);Em.displayName="RouteError";var Jw="REACT_ROUTER_ERROR",gN="REDIRECT",yN="ROUTE_ERROR_RESPONSE";function bN(t){if(t.startsWith(`${Jw}:${gN}:{`))try{let n=JSON.parse(t.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function vN(t){if(t.startsWith(`${Jw}:${yN}:{`))try{let n=JSON.parse(t.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new oN(n.status,n.statusText,n.data)}catch{}}function wN(t,{relative:n}={}){tt(_l(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:l}=C.useContext(mn),{hash:s,pathname:c,search:d}=rs(t,{relative:n}),g=c;return r!=="/"&&(g=c==="/"?r:qa([r,c])),l.createHref({pathname:g,search:d,hash:s})}function _l(){return C.useContext(as)!=null}function Ya(){return tt(_l(),"useLocation() may be used only in the context of a <Router> component."),C.useContext(as).location}var Ww="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Iw(t){C.useContext(mn).static||C.useLayoutEffect(t)}function Om(){let{isDataRoute:t}=C.useContext(Zn);return t?zN():xN()}function xN(){tt(_l(),"useNavigate() may be used only in the context of a <Router> component.");let t=C.useContext(xl),{basename:n,navigator:r}=C.useContext(mn),{matches:l}=C.useContext(Zn),{pathname:s}=Ya(),c=JSON.stringify(Sm(l)),d=C.useRef(!1);return Iw(()=>{d.current=!0}),C.useCallback((m,h={})=>{if(Nn(d.current,Ww),!d.current)return;if(typeof m=="number"){r.go(m);return}let b=Tm(m,JSON.parse(c),s,h.relative==="path");t==null&&n!=="/"&&(b.pathname=b.pathname==="/"?n:qa([n,b.pathname])),(h.replace?r.replace:r.push)(b,h.state,h)},[n,r,c,s,t])}C.createContext(null);function _N(){let{matches:t}=C.useContext(Zn),n=t[t.length-1];return n?n.params:{}}function rs(t,{relative:n}={}){let{matches:r}=C.useContext(Zn),{pathname:l}=Ya(),s=JSON.stringify(Sm(r));return C.useMemo(()=>Tm(t,JSON.parse(s),l,n==="path"),[t,s,l,n])}function SN(t,n){return ex(t,n)}function ex(t,n,r,l,s){tt(_l(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:c}=C.useContext(mn),{matches:d}=C.useContext(Zn),g=d[d.length-1],m=g?g.params:{},h=g?g.pathname:"/",b=g?g.pathnameBase:"/",v=g&&g.route;{let x=v&&v.path||"";nx(h,!v||x.endsWith("*")||x.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${x}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
4
|
+
|
|
5
|
+
Please change the parent <Route path="${x}"> to <Route path="${x==="/"?"*":`${x}/*`}">.`)}let O=Ya(),N;if(n){let x=typeof n=="string"?di(n):n;tt(b==="/"||x.pathname?.startsWith(b),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${b}" but pathname "${x.pathname}" was given in the \`location\` prop.`),N=x}else N=O;let R=N.pathname||"/",S=R;if(b!=="/"){let x=b.replace(/^\//,"").split("/");S="/"+R.replace(/^\//,"").split("/").slice(x.length).join("/")}let E=kw(t,{pathname:S});Nn(v||E!=null,`No routes matched location "${N.pathname}${N.search}${N.hash}" `),Nn(E==null||E[E.length-1].route.element!==void 0||E[E.length-1].route.Component!==void 0||E[E.length-1].route.lazy!==void 0,`Matched leaf route at location "${N.pathname}${N.search}${N.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let j=AN(E&&E.map(x=>Object.assign({},x,{params:Object.assign({},m,x.params),pathname:qa([b,c.encodeLocation?c.encodeLocation(x.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?b:qa([b,c.encodeLocation?c.encodeLocation(x.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:x.pathnameBase])})),d,r,l,s);return n&&j?C.createElement(as.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...N},navigationType:"POP"}},j):j}function TN(){let t=$N(),n=cN(t)?`${t.status} ${t.statusText}`:t instanceof Error?t.message:JSON.stringify(t),r=t instanceof Error?t.stack:null,l="rgba(200,200,200, 0.5)",s={padding:"0.5rem",backgroundColor:l},c={padding:"2px 4px",backgroundColor:l},d=null;return console.error("Error handled by React Router default ErrorBoundary:",t),d=C.createElement(C.Fragment,null,C.createElement("p",null,"💿 Hey developer 👋"),C.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",C.createElement("code",{style:c},"ErrorBoundary")," or"," ",C.createElement("code",{style:c},"errorElement")," prop on your route.")),C.createElement(C.Fragment,null,C.createElement("h2",null,"Unexpected Application Error!"),C.createElement("h3",{style:{fontStyle:"italic"}},n),r?C.createElement("pre",{style:s},r):null,d)}var EN=C.createElement(TN,null),tx=class extends C.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){this.props.onError?this.props.onError(t,n):console.error("React Router caught the following error during render",t)}render(){let t=this.state.error;if(this.context&&typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){const r=vN(t.digest);r&&(t=r)}let n=t!==void 0?C.createElement(Zn.Provider,{value:this.props.routeContext},C.createElement(Em.Provider,{value:t,children:this.props.component})):this.props.children;return this.context?C.createElement(ON,{error:t},n):n}};tx.contextType=hN;var fh=new WeakMap;function ON({children:t,error:n}){let{basename:r}=C.useContext(mn);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let l=bN(n.digest);if(l){let s=fh.get(n);if(s)throw s;let c=Qw(l.location,r);if(Xw&&!fh.get(n))if(c.isExternal||l.reloadDocument)window.location.href=c.absoluteURL||c.to;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(c.to,{replace:l.replace}));throw fh.set(n,d),d}return C.createElement("meta",{httpEquiv:"refresh",content:`0;url=${c.absoluteURL||c.to}`})}}return t}function MN({routeContext:t,match:n,children:r}){let l=C.useContext(xl);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),C.createElement(Zn.Provider,{value:t},r)}function AN(t,n=[],r=null,l=null,s=null){if(t==null){if(!r)return null;if(r.errors)t=r.matches;else if(n.length===0&&!r.initialized&&r.matches.length>0)t=r.matches;else return null}let c=t,d=r?.errors;if(d!=null){let b=c.findIndex(v=>v.route.id&&d?.[v.route.id]!==void 0);tt(b>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),c=c.slice(0,Math.min(c.length,b+1))}let g=!1,m=-1;if(r)for(let b=0;b<c.length;b++){let v=c[b];if((v.route.HydrateFallback||v.route.hydrateFallbackElement)&&(m=b),v.route.id){let{loaderData:O,errors:N}=r,R=v.route.loader&&!O.hasOwnProperty(v.route.id)&&(!N||N[v.route.id]===void 0);if(v.route.lazy||R){g=!0,m>=0?c=c.slice(0,m+1):c=[c[0]];break}}}let h=r&&l?(b,v)=>{l(b,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:fN(r.matches),errorInfo:v})}:void 0;return c.reduceRight((b,v,O)=>{let N,R=!1,S=null,E=null;r&&(N=d&&v.route.id?d[v.route.id]:void 0,S=v.route.errorElement||EN,g&&(m<0&&O===0?(nx("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),R=!0,E=null):m===O&&(R=!0,E=v.route.hydrateFallbackElement||null)));let j=n.concat(c.slice(0,O+1)),x=()=>{let $;return N?$=S:R?$=E:v.route.Component?$=C.createElement(v.route.Component,null):v.route.element?$=v.route.element:$=b,C.createElement(MN,{match:v,routeContext:{outlet:b,matches:j,isDataRoute:r!=null},children:$})};return r&&(v.route.ErrorBoundary||v.route.errorElement||O===0)?C.createElement(tx,{location:r.location,revalidation:r.revalidation,component:S,error:N,children:x(),routeContext:{outlet:null,matches:j,isDataRoute:!0},onError:h}):x()},null)}function Mm(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function CN(t){let n=C.useContext(xl);return tt(n,Mm(t)),n}function DN(t){let n=C.useContext(Ec);return tt(n,Mm(t)),n}function RN(t){let n=C.useContext(Zn);return tt(n,Mm(t)),n}function Am(t){let n=RN(t),r=n.matches[n.matches.length-1];return tt(r.route.id,`${t} can only be used on routes that contain a unique "id"`),r.route.id}function NN(){return Am("useRouteId")}function $N(){let t=C.useContext(Em),n=DN("useRouteError"),r=Am("useRouteError");return t!==void 0?t:n.errors?.[r]}function zN(){let{router:t}=CN("useNavigate"),n=Am("useNavigate"),r=C.useRef(!1);return Iw(()=>{r.current=!0}),C.useCallback(async(s,c={})=>{Nn(r.current,Ww),r.current&&(typeof s=="number"?await t.navigate(s):await t.navigate(s,{fromRouteId:n,...c}))},[t,n])}var dv={};function nx(t,n,r){!n&&!dv[t]&&(dv[t]=!0,Nn(!1,r))}C.memo(qN);function qN({routes:t,future:n,state:r,onError:l}){return ex(t,void 0,r,l,n)}function jN({to:t,replace:n,state:r,relative:l}){tt(_l(),"<Navigate> may be used only in the context of a <Router> component.");let{static:s}=C.useContext(mn);Nn(!s,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:c}=C.useContext(Zn),{pathname:d}=Ya(),g=Om(),m=Tm(t,Sm(c),d,l==="path"),h=JSON.stringify(m);return C.useEffect(()=>{g(JSON.parse(h),{replace:n,state:r,relative:l})},[g,h,l,n,r]),null}function ax(t){tt(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function UN({basename:t="/",children:n=null,location:r,navigationType:l="POP",navigator:s,static:c=!1,unstable_useTransitions:d}){tt(!_l(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let g=t.replace(/^\/*/,"/"),m=C.useMemo(()=>({basename:g,navigator:s,static:c,unstable_useTransitions:d,future:{}}),[g,s,c,d]);typeof r=="string"&&(r=di(r));let{pathname:h="/",search:b="",hash:v="",state:O=null,key:N="default"}=r,R=C.useMemo(()=>{let S=Ua(h,g);return S==null?null:{location:{pathname:S,search:b,hash:v,state:O,key:N},navigationType:l}},[g,h,b,v,O,N,l]);return Nn(R!=null,`<Router basename="${g}"> is not able to match the URL "${h}${b}${v}" because it does not start with the basename, so the <Router> won't render anything.`),R==null?null:C.createElement(mn.Provider,{value:m},C.createElement(as.Provider,{children:n,value:R}))}function LN({children:t,location:n}){return SN(Xh(t),n)}function Xh(t,n=[]){let r=[];return C.Children.forEach(t,(l,s)=>{if(!C.isValidElement(l))return;let c=[...n,s];if(l.type===C.Fragment){r.push.apply(r,Xh(l.props.children,c));return}tt(l.type===ax,`[${typeof l.type=="string"?l.type:l.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),tt(!l.props.index||!l.props.children,"An index route cannot have child routes.");let d={id:l.props.id||c.join("-"),caseSensitive:l.props.caseSensitive,element:l.props.element,Component:l.props.Component,index:l.props.index,path:l.props.path,middleware:l.props.middleware,loader:l.props.loader,action:l.props.action,hydrateFallbackElement:l.props.hydrateFallbackElement,HydrateFallback:l.props.HydrateFallback,errorElement:l.props.errorElement,ErrorBoundary:l.props.ErrorBoundary,hasErrorBoundary:l.props.hasErrorBoundary===!0||l.props.ErrorBoundary!=null||l.props.errorElement!=null,shouldRevalidate:l.props.shouldRevalidate,handle:l.props.handle,lazy:l.props.lazy};l.props.children&&(d.children=Xh(l.props.children,c)),r.push(d)}),r}var Fo="get",Ko="application/x-www-form-urlencoded";function Oc(t){return typeof HTMLElement<"u"&&t instanceof HTMLElement}function BN(t){return Oc(t)&&t.tagName.toLowerCase()==="button"}function HN(t){return Oc(t)&&t.tagName.toLowerCase()==="form"}function ZN(t){return Oc(t)&&t.tagName.toLowerCase()==="input"}function YN(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}function GN(t,n){return t.button===0&&(!n||n==="_self")&&!YN(t)}var zo=null;function kN(){if(zo===null)try{new FormData(document.createElement("form"),0),zo=!1}catch{zo=!0}return zo}var PN=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function dh(t){return t!=null&&!PN.has(t)?(Nn(!1,`"${t}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Ko}"`),null):t}function VN(t,n){let r,l,s,c,d;if(HN(t)){let g=t.getAttribute("action");l=g?Ua(g,n):null,r=t.getAttribute("method")||Fo,s=dh(t.getAttribute("enctype"))||Ko,c=new FormData(t)}else if(BN(t)||ZN(t)&&(t.type==="submit"||t.type==="image")){let g=t.form;if(g==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let m=t.getAttribute("formaction")||g.getAttribute("action");if(l=m?Ua(m,n):null,r=t.getAttribute("formmethod")||g.getAttribute("method")||Fo,s=dh(t.getAttribute("formenctype"))||dh(g.getAttribute("enctype"))||Ko,c=new FormData(g,t),!kN()){let{name:h,type:b,value:v}=t;if(b==="image"){let O=h?`${h}.`:"";c.append(`${O}x`,"0"),c.append(`${O}y`,"0")}else h&&c.append(h,v)}}else{if(Oc(t))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=Fo,l=null,s=Ko,d=t}return c&&s==="text/plain"&&(d=c,c=void 0),{action:l,method:r.toLowerCase(),encType:s,formData:c,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Cm(t,n){if(t===!1||t===null||typeof t>"u")throw new Error(n)}function XN(t,n,r,l){let s=typeof t=="string"?new URL(t,typeof window>"u"?"server://singlefetch/":window.location.origin):t;return r?s.pathname.endsWith("/")?s.pathname=`${s.pathname}_.${l}`:s.pathname=`${s.pathname}.${l}`:s.pathname==="/"?s.pathname=`_root.${l}`:n&&Ua(s.pathname,n)==="/"?s.pathname=`${n.replace(/\/$/,"")}/_root.${l}`:s.pathname=`${s.pathname.replace(/\/$/,"")}.${l}`,s}async function QN(t,n){if(t.id in n)return n[t.id];try{let r=await import(t.module);return n[t.id]=r,r}catch(r){return console.error(`Error loading route module \`${t.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function FN(t){return t==null?!1:t.href==null?t.rel==="preload"&&typeof t.imageSrcSet=="string"&&typeof t.imageSizes=="string":typeof t.rel=="string"&&typeof t.href=="string"}async function KN(t,n,r){let l=await Promise.all(t.map(async s=>{let c=n.routes[s.route.id];if(c){let d=await QN(c,r);return d.links?d.links():[]}return[]}));return e$(l.flat(1).filter(FN).filter(s=>s.rel==="stylesheet"||s.rel==="preload").map(s=>s.rel==="stylesheet"?{...s,rel:"prefetch",as:"style"}:{...s,rel:"prefetch"}))}function hv(t,n,r,l,s,c){let d=(m,h)=>r[h]?m.route.id!==r[h].route.id:!0,g=(m,h)=>r[h].pathname!==m.pathname||r[h].route.path?.endsWith("*")&&r[h].params["*"]!==m.params["*"];return c==="assets"?n.filter((m,h)=>d(m,h)||g(m,h)):c==="data"?n.filter((m,h)=>{let b=l.routes[m.route.id];if(!b||!b.hasLoader)return!1;if(d(m,h)||g(m,h))return!0;if(m.route.shouldRevalidate){let v=m.route.shouldRevalidate({currentUrl:new URL(s.pathname+s.search+s.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(t,window.origin),nextParams:m.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function JN(t,n,{includeHydrateFallback:r}={}){return WN(t.map(l=>{let s=n.routes[l.route.id];if(!s)return[];let c=[s.module];return s.clientActionModule&&(c=c.concat(s.clientActionModule)),s.clientLoaderModule&&(c=c.concat(s.clientLoaderModule)),r&&s.hydrateFallbackModule&&(c=c.concat(s.hydrateFallbackModule)),s.imports&&(c=c.concat(s.imports)),c}).flat(1))}function WN(t){return[...new Set(t)]}function IN(t){let n={},r=Object.keys(t).sort();for(let l of r)n[l]=t[l];return n}function e$(t,n){let r=new Set;return new Set(n),t.reduce((l,s)=>{let c=JSON.stringify(IN(s));return r.has(c)||(r.add(c),l.push({key:c,link:s})),l},[])}function rx(){let t=C.useContext(xl);return Cm(t,"You must render this element inside a <DataRouterContext.Provider> element"),t}function t$(){let t=C.useContext(Ec);return Cm(t,"You must render this element inside a <DataRouterStateContext.Provider> element"),t}var Dm=C.createContext(void 0);Dm.displayName="FrameworkContext";function ix(){let t=C.useContext(Dm);return Cm(t,"You must render this element inside a <HydratedRouter> element"),t}function n$(t,n){let r=C.useContext(Dm),[l,s]=C.useState(!1),[c,d]=C.useState(!1),{onFocus:g,onBlur:m,onMouseEnter:h,onMouseLeave:b,onTouchStart:v}=n,O=C.useRef(null);C.useEffect(()=>{if(t==="render"&&d(!0),t==="viewport"){let S=j=>{j.forEach(x=>{d(x.isIntersecting)})},E=new IntersectionObserver(S,{threshold:.5});return O.current&&E.observe(O.current),()=>{E.disconnect()}}},[t]),C.useEffect(()=>{if(l){let S=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(S)}}},[l]);let N=()=>{s(!0)},R=()=>{s(!1),d(!1)};return r?t!=="intent"?[c,O,{}]:[c,O,{onFocus:Su(g,N),onBlur:Su(m,R),onMouseEnter:Su(h,N),onMouseLeave:Su(b,R),onTouchStart:Su(v,N)}]:[!1,O,{}]}function Su(t,n){return r=>{t&&t(r),r.defaultPrevented||n(r)}}function a$({page:t,...n}){let{router:r}=rx(),l=C.useMemo(()=>kw(r.routes,t,r.basename),[r.routes,t,r.basename]);return l?C.createElement(i$,{page:t,matches:l,...n}):null}function r$(t){let{manifest:n,routeModules:r}=ix(),[l,s]=C.useState([]);return C.useEffect(()=>{let c=!1;return KN(t,n,r).then(d=>{c||s(d)}),()=>{c=!0}},[t,n,r]),l}function i$({page:t,matches:n,...r}){let l=Ya(),{future:s,manifest:c,routeModules:d}=ix(),{basename:g}=rx(),{loaderData:m,matches:h}=t$(),b=C.useMemo(()=>hv(t,n,h,c,l,"data"),[t,n,h,c,l]),v=C.useMemo(()=>hv(t,n,h,c,l,"assets"),[t,n,h,c,l]),O=C.useMemo(()=>{if(t===l.pathname+l.search+l.hash)return[];let S=new Set,E=!1;if(n.forEach(x=>{let $=c.routes[x.route.id];!$||!$.hasLoader||(!b.some(q=>q.route.id===x.route.id)&&x.route.id in m&&d[x.route.id]?.shouldRevalidate||$.hasClientLoader?E=!0:S.add(x.route.id))}),S.size===0)return[];let j=XN(t,g,s.unstable_trailingSlashAwareDataRequests,"data");return E&&S.size>0&&j.searchParams.set("_routes",n.filter(x=>S.has(x.route.id)).map(x=>x.route.id).join(",")),[j.pathname+j.search]},[g,s.unstable_trailingSlashAwareDataRequests,m,l,c,b,n,t,d]),N=C.useMemo(()=>JN(v,c),[v,c]),R=r$(v);return C.createElement(C.Fragment,null,O.map(S=>C.createElement("link",{key:S,rel:"prefetch",as:"fetch",href:S,...r})),N.map(S=>C.createElement("link",{key:S,rel:"modulepreload",href:S,...r})),R.map(({key:S,link:E})=>C.createElement("link",{key:S,nonce:r.nonce,...E,crossOrigin:E.crossOrigin??r.crossOrigin})))}function l$(...t){return n=>{t.forEach(r=>{typeof r=="function"?r(n):r!=null&&(r.current=n)})}}var u$=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{u$&&(window.__reactRouterVersion="7.13.0")}catch{}function s$({basename:t,children:n,unstable_useTransitions:r,window:l}){let s=C.useRef();s.current==null&&(s.current=H5({window:l,v5Compat:!0}));let c=s.current,[d,g]=C.useState({action:c.action,location:c.location}),m=C.useCallback(h=>{r===!1?g(h):C.startTransition(()=>g(h))},[r]);return C.useLayoutEffect(()=>c.listen(m),[c,m]),C.createElement(UN,{basename:t,children:n,location:d.location,navigationType:d.action,navigator:c,unstable_useTransitions:r})}var lx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,ux=C.forwardRef(function({onClick:n,discover:r="render",prefetch:l="none",relative:s,reloadDocument:c,replace:d,state:g,target:m,to:h,preventScrollReset:b,viewTransition:v,unstable_defaultShouldRevalidate:O,...N},R){let{basename:S,unstable_useTransitions:E}=C.useContext(mn),j=typeof h=="string"&&lx.test(h),x=Qw(h,S);h=x.to;let $=wN(h,{relative:s}),[q,U,X]=n$(l,N),H=d$(h,{replace:d,state:g,target:m,preventScrollReset:b,relative:s,viewTransition:v,unstable_defaultShouldRevalidate:O,unstable_useTransitions:E});function ie(Ae){n&&n(Ae),Ae.defaultPrevented||H(Ae)}let ae=C.createElement("a",{...N,...X,href:x.absoluteURL||$,onClick:x.isExternal||c?n:ie,ref:l$(R,U),target:m,"data-discover":!j&&r==="render"?"true":void 0});return q&&!j?C.createElement(C.Fragment,null,ae,C.createElement(a$,{page:$})):ae});ux.displayName="Link";var o$=C.forwardRef(function({"aria-current":n="page",caseSensitive:r=!1,className:l="",end:s=!1,style:c,to:d,viewTransition:g,children:m,...h},b){let v=rs(d,{relative:h.relative}),O=Ya(),N=C.useContext(Ec),{navigator:R,basename:S}=C.useContext(mn),E=N!=null&&y$(v)&&g===!0,j=R.encodeLocation?R.encodeLocation(v).pathname:v.pathname,x=O.pathname,$=N&&N.navigation&&N.navigation.location?N.navigation.location.pathname:null;r||(x=x.toLowerCase(),$=$?$.toLowerCase():null,j=j.toLowerCase()),$&&S&&($=Ua($,S)||$);const q=j!=="/"&&j.endsWith("/")?j.length-1:j.length;let U=x===j||!s&&x.startsWith(j)&&x.charAt(q)==="/",X=$!=null&&($===j||!s&&$.startsWith(j)&&$.charAt(j.length)==="/"),H={isActive:U,isPending:X,isTransitioning:E},ie=U?n:void 0,ae;typeof l=="function"?ae=l(H):ae=[l,U?"active":null,X?"pending":null,E?"transitioning":null].filter(Boolean).join(" ");let Ae=typeof c=="function"?c(H):c;return C.createElement(ux,{...h,"aria-current":ie,className:ae,ref:b,style:Ae,to:d,viewTransition:g},typeof m=="function"?m(H):m)});o$.displayName="NavLink";var c$=C.forwardRef(({discover:t="render",fetcherKey:n,navigate:r,reloadDocument:l,replace:s,state:c,method:d=Fo,action:g,onSubmit:m,relative:h,preventScrollReset:b,viewTransition:v,unstable_defaultShouldRevalidate:O,...N},R)=>{let{unstable_useTransitions:S}=C.useContext(mn),E=p$(),j=g$(g,{relative:h}),x=d.toLowerCase()==="get"?"get":"post",$=typeof g=="string"&&lx.test(g),q=U=>{if(m&&m(U),U.defaultPrevented)return;U.preventDefault();let X=U.nativeEvent.submitter,H=X?.getAttribute("formmethod")||d,ie=()=>E(X||U.currentTarget,{fetcherKey:n,method:H,navigate:r,replace:s,state:c,relative:h,preventScrollReset:b,viewTransition:v,unstable_defaultShouldRevalidate:O});S&&r!==!1?C.startTransition(()=>ie()):ie()};return C.createElement("form",{ref:R,method:x,action:j,onSubmit:l?m:q,...N,"data-discover":!$&&t==="render"?"true":void 0})});c$.displayName="Form";function f$(t){return`${t} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function sx(t){let n=C.useContext(xl);return tt(n,f$(t)),n}function d$(t,{target:n,replace:r,state:l,preventScrollReset:s,relative:c,viewTransition:d,unstable_defaultShouldRevalidate:g,unstable_useTransitions:m}={}){let h=Om(),b=Ya(),v=rs(t,{relative:c});return C.useCallback(O=>{if(GN(O,n)){O.preventDefault();let N=r!==void 0?r:ku(b)===ku(v),R=()=>h(t,{replace:N,state:l,preventScrollReset:s,relative:c,viewTransition:d,unstable_defaultShouldRevalidate:g});m?C.startTransition(()=>R()):R()}},[b,h,v,r,l,n,t,s,c,d,g,m])}var h$=0,m$=()=>`__${String(++h$)}__`;function p$(){let{router:t}=sx("useSubmit"),{basename:n}=C.useContext(mn),r=NN(),l=t.fetch,s=t.navigate;return C.useCallback(async(c,d={})=>{let{action:g,method:m,encType:h,formData:b,body:v}=VN(c,n);if(d.navigate===!1){let O=d.fetcherKey||m$();await l(O,r,d.action||g,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:b,body:v,formMethod:d.method||m,formEncType:d.encType||h,flushSync:d.flushSync})}else await s(d.action||g,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:b,body:v,formMethod:d.method||m,formEncType:d.encType||h,replace:d.replace,state:d.state,fromRouteId:r,flushSync:d.flushSync,viewTransition:d.viewTransition})},[l,s,n,r])}function g$(t,{relative:n}={}){let{basename:r}=C.useContext(mn),l=C.useContext(Zn);tt(l,"useFormAction must be used inside a RouteContext");let[s]=l.matches.slice(-1),c={...rs(t||".",{relative:n})},d=Ya();if(t==null){c.search=d.search;let g=new URLSearchParams(c.search),m=g.getAll("index");if(m.some(b=>b==="")){g.delete("index"),m.filter(v=>v).forEach(v=>g.append("index",v));let b=g.toString();c.search=b?`?${b}`:""}}return(!t||t===".")&&s.route.index&&(c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(c.pathname=c.pathname==="/"?r:qa([r,c.pathname])),ku(c)}function y$(t,{relative:n}={}){let r=C.useContext(Kw);tt(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:l}=sx("useViewTransitionState"),s=rs(t,{relative:n});if(!r.isTransitioning)return!1;let c=Ua(r.currentLocation.pathname,l)||r.currentLocation.pathname,d=Ua(r.nextLocation.pathname,l)||r.nextLocation.pathname;return lc(s.pathname,d)!=null||lc(s.pathname,c)!=null}var hh={exports:{}},zt={};var mv;function b$(){if(mv)return zt;mv=1;var t=dm();function n(m){var h="https://react.dev/errors/"+m;if(1<arguments.length){h+="?args[]="+encodeURIComponent(arguments[1]);for(var b=2;b<arguments.length;b++)h+="&args[]="+encodeURIComponent(arguments[b])}return"Minified React error #"+m+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var l={d:{f:r,r:function(){throw Error(n(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},s=Symbol.for("react.portal");function c(m,h,b){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:v==null?null:""+v,children:m,containerInfo:h,implementation:b}}var d=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function g(m,h){if(m==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return zt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=l,zt.createPortal=function(m,h){var b=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11)throw Error(n(299));return c(m,h,null,b)},zt.flushSync=function(m){var h=d.T,b=l.p;try{if(d.T=null,l.p=2,m)return m()}finally{d.T=h,l.p=b,l.d.f()}},zt.preconnect=function(m,h){typeof m=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,l.d.C(m,h))},zt.prefetchDNS=function(m){typeof m=="string"&&l.d.D(m)},zt.preinit=function(m,h){if(typeof m=="string"&&h&&typeof h.as=="string"){var b=h.as,v=g(b,h.crossOrigin),O=typeof h.integrity=="string"?h.integrity:void 0,N=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;b==="style"?l.d.S(m,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:v,integrity:O,fetchPriority:N}):b==="script"&&l.d.X(m,{crossOrigin:v,integrity:O,fetchPriority:N,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},zt.preinitModule=function(m,h){if(typeof m=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var b=g(h.as,h.crossOrigin);l.d.M(m,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&l.d.M(m)},zt.preload=function(m,h){if(typeof m=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var b=h.as,v=g(b,h.crossOrigin);l.d.L(m,b,{crossOrigin:v,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0,type:typeof h.type=="string"?h.type:void 0,fetchPriority:typeof h.fetchPriority=="string"?h.fetchPriority:void 0,referrerPolicy:typeof h.referrerPolicy=="string"?h.referrerPolicy:void 0,imageSrcSet:typeof h.imageSrcSet=="string"?h.imageSrcSet:void 0,imageSizes:typeof h.imageSizes=="string"?h.imageSizes:void 0,media:typeof h.media=="string"?h.media:void 0})}},zt.preloadModule=function(m,h){if(typeof m=="string")if(h){var b=g(h.as,h.crossOrigin);l.d.m(m,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else l.d.m(m)},zt.requestFormReset=function(m){l.d.r(m)},zt.unstable_batchedUpdates=function(m,h){return m(h)},zt.useFormState=function(m,h,b){return d.H.useFormState(m,h,b)},zt.useFormStatus=function(){return d.H.useHostTransitionStatus()},zt.version="19.2.4",zt}var pv;function v$(){if(pv)return hh.exports;pv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),hh.exports=b$(),hh.exports}var mh,gv;function w$(){return gv||(gv=1,mh=function(n,r){if(r=r.split(":")[0],n=+n,!n)return!1;switch(r){case"http":case"ws":return n!==80;case"https":case"wss":return n!==443;case"ftp":return n!==21;case"gopher":return n!==70;case"file":return!1}return n!==0}),mh}var qo={},yv;function x$(){if(yv)return qo;yv=1;var t=Object.prototype.hasOwnProperty,n;function r(d){try{return decodeURIComponent(d.replace(/\+/g," "))}catch{return null}}function l(d){try{return encodeURIComponent(d)}catch{return null}}function s(d){for(var g=/([^=?#&]+)=?([^&]*)/g,m={},h;h=g.exec(d);){var b=r(h[1]),v=r(h[2]);b===null||v===null||b in m||(m[b]=v)}return m}function c(d,g){g=g||"";var m=[],h,b;typeof g!="string"&&(g="?");for(b in d)if(t.call(d,b)){if(h=d[b],!h&&(h===null||h===n||isNaN(h))&&(h=""),b=l(b),h=l(h),b===null||h===null)continue;m.push(b+"="+h)}return m.length?g+m.join("&"):""}return qo.stringify=c,qo.parse=s,qo}var ph,bv;function _$(){if(bv)return ph;bv=1;var t=w$(),n=x$(),r=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,l=/[\n\r\t]/g,s=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,c=/:\d+$/,d=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,g=/^[a-zA-Z]:/;function m(x){return(x||"").toString().replace(r,"")}var h=[["#","hash"],["?","query"],function($,q){return O(q.protocol)?$.replace(/\\/g,"/"):$},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],b={hash:1,query:1};function v(x){var $;typeof window<"u"?$=window:typeof tl<"u"?$=tl:typeof self<"u"?$=self:$={};var q=$.location||{};x=x||q;var U={},X=typeof x,H;if(x.protocol==="blob:")U=new S(unescape(x.pathname),{});else if(X==="string"){U=new S(x,{});for(H in b)delete U[H]}else if(X==="object"){for(H in x)H in b||(U[H]=x[H]);U.slashes===void 0&&(U.slashes=s.test(x.href))}return U}function O(x){return x==="file:"||x==="ftp:"||x==="http:"||x==="https:"||x==="ws:"||x==="wss:"}function N(x,$){x=m(x),x=x.replace(l,""),$=$||{};var q=d.exec(x),U=q[1]?q[1].toLowerCase():"",X=!!q[2],H=!!q[3],ie=0,ae;return X?H?(ae=q[2]+q[3]+q[4],ie=q[2].length+q[3].length):(ae=q[2]+q[4],ie=q[2].length):H?(ae=q[3]+q[4],ie=q[3].length):ae=q[4],U==="file:"?ie>=2&&(ae=ae.slice(2)):O(U)?ae=q[4]:U?X&&(ae=ae.slice(2)):ie>=2&&O($.protocol)&&(ae=q[4]),{protocol:U,slashes:X||O(U),slashesCount:ie,rest:ae}}function R(x,$){if(x==="")return $;for(var q=($||"/").split("/").slice(0,-1).concat(x.split("/")),U=q.length,X=q[U-1],H=!1,ie=0;U--;)q[U]==="."?q.splice(U,1):q[U]===".."?(q.splice(U,1),ie++):ie&&(U===0&&(H=!0),q.splice(U,1),ie--);return H&&q.unshift(""),(X==="."||X==="..")&&q.push(""),q.join("/")}function S(x,$,q){if(x=m(x),x=x.replace(l,""),!(this instanceof S))return new S(x,$,q);var U,X,H,ie,ae,Ae,at=h.slice(),de=typeof $,te=this,Ye=0;for(de!=="object"&&de!=="string"&&(q=$,$=null),q&&typeof q!="function"&&(q=n.parse),$=v($),X=N(x||"",$),U=!X.protocol&&!X.slashes,te.slashes=X.slashes||U&&$.slashes,te.protocol=X.protocol||$.protocol||"",x=X.rest,(X.protocol==="file:"&&(X.slashesCount!==2||g.test(x))||!X.slashes&&(X.protocol||X.slashesCount<2||!O(te.protocol)))&&(at[3]=[/(.*)/,"pathname"]);Ye<at.length;Ye++){if(ie=at[Ye],typeof ie=="function"){x=ie(x,te);continue}H=ie[0],Ae=ie[1],H!==H?te[Ae]=x:typeof H=="string"?(ae=H==="@"?x.lastIndexOf(H):x.indexOf(H),~ae&&(typeof ie[2]=="number"?(te[Ae]=x.slice(0,ae),x=x.slice(ae+ie[2])):(te[Ae]=x.slice(ae),x=x.slice(0,ae)))):(ae=H.exec(x))&&(te[Ae]=ae[1],x=x.slice(0,ae.index)),te[Ae]=te[Ae]||U&&ie[3]&&$[Ae]||"",ie[4]&&(te[Ae]=te[Ae].toLowerCase())}q&&(te.query=q(te.query)),U&&$.slashes&&te.pathname.charAt(0)!=="/"&&(te.pathname!==""||$.pathname!=="")&&(te.pathname=R(te.pathname,$.pathname)),te.pathname.charAt(0)!=="/"&&O(te.protocol)&&(te.pathname="/"+te.pathname),t(te.port,te.protocol)||(te.host=te.hostname,te.port=""),te.username=te.password="",te.auth&&(ae=te.auth.indexOf(":"),~ae?(te.username=te.auth.slice(0,ae),te.username=encodeURIComponent(decodeURIComponent(te.username)),te.password=te.auth.slice(ae+1),te.password=encodeURIComponent(decodeURIComponent(te.password))):te.username=encodeURIComponent(decodeURIComponent(te.auth)),te.auth=te.password?te.username+":"+te.password:te.username),te.origin=te.protocol!=="file:"&&O(te.protocol)&&te.host?te.protocol+"//"+te.host:"null",te.href=te.toString()}function E(x,$,q){var U=this;switch(x){case"query":typeof $=="string"&&$.length&&($=(q||n.parse)($)),U[x]=$;break;case"port":U[x]=$,t($,U.protocol)?$&&(U.host=U.hostname+":"+$):(U.host=U.hostname,U[x]="");break;case"hostname":U[x]=$,U.port&&($+=":"+U.port),U.host=$;break;case"host":U[x]=$,c.test($)?($=$.split(":"),U.port=$.pop(),U.hostname=$.join(":")):(U.hostname=$,U.port="");break;case"protocol":U.protocol=$.toLowerCase(),U.slashes=!q;break;case"pathname":case"hash":if($){var X=x==="pathname"?"/":"#";U[x]=$.charAt(0)!==X?X+$:$}else U[x]=$;break;case"username":case"password":U[x]=encodeURIComponent($);break;case"auth":var H=$.indexOf(":");~H?(U.username=$.slice(0,H),U.username=encodeURIComponent(decodeURIComponent(U.username)),U.password=$.slice(H+1),U.password=encodeURIComponent(decodeURIComponent(U.password))):U.username=encodeURIComponent(decodeURIComponent($))}for(var ie=0;ie<h.length;ie++){var ae=h[ie];ae[4]&&(U[ae[1]]=U[ae[1]].toLowerCase())}return U.auth=U.password?U.username+":"+U.password:U.username,U.origin=U.protocol!=="file:"&&O(U.protocol)&&U.host?U.protocol+"//"+U.host:"null",U.href=U.toString(),U}function j(x){(!x||typeof x!="function")&&(x=n.stringify);var $,q=this,U=q.host,X=q.protocol;X&&X.charAt(X.length-1)!==":"&&(X+=":");var H=X+(q.protocol&&q.slashes||O(q.protocol)?"//":"");return q.username?(H+=q.username,q.password&&(H+=":"+q.password),H+="@"):q.password?(H+=":"+q.password,H+="@"):q.protocol!=="file:"&&O(q.protocol)&&!U&&q.pathname!=="/"&&(H+="@"),(U[U.length-1]===":"||c.test(q.hostname)&&!q.port)&&(U+=":"),H+=U+q.pathname,$=typeof q.query=="object"?x(q.query):q.query,$&&(H+=$.charAt(0)!=="?"?"?"+$:$),q.hash&&(H+=q.hash),H}return S.prototype={set:E,toString:j},S.extractProtocol=N,S.location=v,S.trimLeft=m,S.qs=n,ph=S,ph}var S$=_$();const T$=Kh(S$);var ox=(function(t){return t.JSON="application/json",t.OctetStream="application/octet-stream",t.Zip="application/zip",t})({}),E$=(function(t){return t.APNG="image/apng",t.AVIF="image/avif",t.GIF="image/gif",t.JPEG="image/jpeg",t.PNG="image/png",t.SVG="image/svg+xml",t.WebP="image/webp",t})({}),O$=(function(t){return t.CSS="text/css",t.CSV="text/csv",t.EcmaScript="text/ecmascript",t.HTML="text/html",t.JavaScript="text/javascript",t.Plain="text/plain",t.XML="text/xml",t})({});Object.freeze({"":"text/plain;charset=ASCII",...Mn(Object.values(ox)),...Mn(Object.values(O$)),...Mn(Object.values(E$))});function Mc(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Yt{static defaults(n,r){const l=+r;return isNaN(l)||l<1?!0:Yt.ProtocolPorts[n]===+r}location(n){this.protocol(n.protocol).hostname(n.hostname).hash(n.hash).path(n.pathname).port(+n.port);let r=n.search;return r.startsWith("?")&&(r=r.slice(1),r.split("&").map(s=>s.split("=")).forEach(s=>this.param(s[0],s[1]))),this}api(n,r="api"){return this.location(n).hash("").path(r)}parse(n){const r=new T$(n,!0);return this.protocol(r.protocol).username(r.username).password(r.password).hostname(r.hostname).hash(r.hash).path(r.pathname).port(r.port?+r.port:void 0),Object.keys(r.query).forEach(l=>this.param(l,r.query[l])),this}gravatar(n,r){let l=this.parse(Yt.UrlGravatar);return l=n?l.append(n):l,l=r?l.param("s",String(r)):l,l}youTube(n,r){let l=this.parse(Yt.UrlYouTube);return l=n?l.path(`${n}/${r}`):l,n==="watch"&&(l=l.path(n).param("v",r)),l}protocol(n){return this._url.protocol=n,this}username(n){return this._url.username=n,this}password(n){return this._url.password=n,this}hostname(n){return this._url.hostname=n,this}subdomain(n){return this._url.hostname=this._url.hostname?`${n}.${this._url.hostname}`:n,this}popSubdomain(){const n=this._url.hostname.split(".");return n.splice(0,1),this._url.hostname=n.join("."),this}port(n){return this._url.port=n,this}path(n){return this._url.path=[n],this}append(n){return this._url.path.push(n),this}hash(n){return this._url.hash=n,this}param(n,r){return this._url.params.push({key:n,val:r}),this}onlyParam(n,r){return this._url.params=this._url.params.filter(l=>l.key!==n),r?this.param(n,r):this}page(n){return this.onlyParam("page",n==null||n<1?void 0:String(n))}size(n){return this.onlyParam("size",n==null||n<0?void 0:String(n))}search(n){return this.onlyParam("search",n||void 0)}filter(n){return this.onlyParam("filter",n||void 0)}sort(n){return this.onlyParam("sort",n||void 0)}build(){const n=QC(this._url.params,v=>v.key).map(v=>`${v.key}=${encodeURIComponent(v.val)}`).join("&"),r=Rt(this._url.username),l=Rt(this._url.password);let s=Rt(this._url.protocol),c=Rt(this._url.hostname),d=String(this._url.port),g=Rt(this._url.hash),m=this._url.path.map(v=>Rt(v,"/")).join("/"),h="";s=FC(s,"/:"),c=Rt(c,"/"),g=cm(g,"#"),m=Rt(m,"/"),Yt.defaults(s,d)?d="":d=`:${d}`,r&&(h=l?`${r}:${l}@`:`${r}@`);let b=`${s}://${h}${c}${d}`;return m&&(b=`${b}/${m}`),n&&(b=`${b}/?${n}`),g&&(b=`${b}#${g}`),b}info(){return JSON.parse(JSON.stringify(this._url))}constructor(n="http",r="localhost"){Mc(this,"_url",void 0),this._url={protocol:n,hostname:r,path:["/"],hash:"",params:[]}}}Mc(Yt,"UrlGravatar","https://s.gravatar.com/avatar");Mc(Yt,"UrlYouTube","https://www.youtube.com");Mc(Yt,"ProtocolPorts",{http:80,https:443,ftp:21,sftp:22,ssh:22,smtp:25,smb:445});var jo={exports:{}},vv;function M$(){return vv||(vv=1,(function(t,n){var r=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof tl<"u"&&tl,l=(function(){function c(){this.fetch=!1,this.DOMException=r.DOMException}return c.prototype=r,new c})();(function(c){(function(d){var g=typeof c<"u"&&c||typeof self<"u"&&self||typeof tl<"u"&&tl||{},m={searchParams:"URLSearchParams"in g,iterable:"Symbol"in g&&"iterator"in Symbol,blob:"FileReader"in g&&"Blob"in g&&(function(){try{return new Blob,!0}catch{return!1}})(),formData:"FormData"in g,arrayBuffer:"ArrayBuffer"in g};function h(Z){return Z&&DataView.prototype.isPrototypeOf(Z)}if(m.arrayBuffer)var b=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],v=ArrayBuffer.isView||function(Z){return Z&&b.indexOf(Object.prototype.toString.call(Z))>-1};function O(Z){if(typeof Z!="string"&&(Z=String(Z)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(Z)||Z==="")throw new TypeError('Invalid character in header field name: "'+Z+'"');return Z.toLowerCase()}function N(Z){return typeof Z!="string"&&(Z=String(Z)),Z}function R(Z){var _={next:function(){var P=Z.shift();return{done:P===void 0,value:P}}};return m.iterable&&(_[Symbol.iterator]=function(){return _}),_}function S(Z){this.map={},Z instanceof S?Z.forEach(function(_,P){this.append(P,_)},this):Array.isArray(Z)?Z.forEach(function(_){if(_.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+_.length);this.append(_[0],_[1])},this):Z&&Object.getOwnPropertyNames(Z).forEach(function(_){this.append(_,Z[_])},this)}S.prototype.append=function(Z,_){Z=O(Z),_=N(_);var P=this.map[Z];this.map[Z]=P?P+", "+_:_},S.prototype.delete=function(Z){delete this.map[O(Z)]},S.prototype.get=function(Z){return Z=O(Z),this.has(Z)?this.map[Z]:null},S.prototype.has=function(Z){return this.map.hasOwnProperty(O(Z))},S.prototype.set=function(Z,_){this.map[O(Z)]=N(_)},S.prototype.forEach=function(Z,_){for(var P in this.map)this.map.hasOwnProperty(P)&&Z.call(_,this.map[P],P,this)},S.prototype.keys=function(){var Z=[];return this.forEach(function(_,P){Z.push(P)}),R(Z)},S.prototype.values=function(){var Z=[];return this.forEach(function(_){Z.push(_)}),R(Z)},S.prototype.entries=function(){var Z=[];return this.forEach(function(_,P){Z.push([P,_])}),R(Z)},m.iterable&&(S.prototype[Symbol.iterator]=S.prototype.entries);function E(Z){if(!Z._noBody){if(Z.bodyUsed)return Promise.reject(new TypeError("Already read"));Z.bodyUsed=!0}}function j(Z){return new Promise(function(_,P){Z.onload=function(){_(Z.result)},Z.onerror=function(){P(Z.error)}})}function x(Z){var _=new FileReader,P=j(_);return _.readAsArrayBuffer(Z),P}function $(Z){var _=new FileReader,P=j(_),I=/charset=([A-Za-z0-9_-]+)/.exec(Z.type),se=I?I[1]:"utf-8";return _.readAsText(Z,se),P}function q(Z){for(var _=new Uint8Array(Z),P=new Array(_.length),I=0;I<_.length;I++)P[I]=String.fromCharCode(_[I]);return P.join("")}function U(Z){if(Z.slice)return Z.slice(0);var _=new Uint8Array(Z.byteLength);return _.set(new Uint8Array(Z)),_.buffer}function X(){return this.bodyUsed=!1,this._initBody=function(Z){this.bodyUsed=this.bodyUsed,this._bodyInit=Z,Z?typeof Z=="string"?this._bodyText=Z:m.blob&&Blob.prototype.isPrototypeOf(Z)?this._bodyBlob=Z:m.formData&&FormData.prototype.isPrototypeOf(Z)?this._bodyFormData=Z:m.searchParams&&URLSearchParams.prototype.isPrototypeOf(Z)?this._bodyText=Z.toString():m.arrayBuffer&&m.blob&&h(Z)?(this._bodyArrayBuffer=U(Z.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):m.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(Z)||v(Z))?this._bodyArrayBuffer=U(Z):this._bodyText=Z=Object.prototype.toString.call(Z):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof Z=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):m.searchParams&&URLSearchParams.prototype.isPrototypeOf(Z)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m.blob&&(this.blob=function(){var Z=E(this);if(Z)return Z;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var Z=E(this);return Z||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(m.blob)return this.blob().then(x);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var Z=E(this);if(Z)return Z;if(this._bodyBlob)return $(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(q(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},m.formData&&(this.formData=function(){return this.text().then(Ae)}),this.json=function(){return this.text().then(JSON.parse)},this}var H=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ie(Z){var _=Z.toUpperCase();return H.indexOf(_)>-1?_:Z}function ae(Z,_){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');_=_||{};var P=_.body;if(Z instanceof ae){if(Z.bodyUsed)throw new TypeError("Already read");this.url=Z.url,this.credentials=Z.credentials,_.headers||(this.headers=new S(Z.headers)),this.method=Z.method,this.mode=Z.mode,this.signal=Z.signal,!P&&Z._bodyInit!=null&&(P=Z._bodyInit,Z.bodyUsed=!0)}else this.url=String(Z);if(this.credentials=_.credentials||this.credentials||"same-origin",(_.headers||!this.headers)&&(this.headers=new S(_.headers)),this.method=ie(_.method||this.method||"GET"),this.mode=_.mode||this.mode||null,this.signal=_.signal||this.signal||(function(){if("AbortController"in g){var re=new AbortController;return re.signal}})(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&P)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(P),(this.method==="GET"||this.method==="HEAD")&&(_.cache==="no-store"||_.cache==="no-cache")){var I=/([?&])_=[^&]*/;if(I.test(this.url))this.url=this.url.replace(I,"$1_="+new Date().getTime());else{var se=/\?/;this.url+=(se.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})};function Ae(Z){var _=new FormData;return Z.trim().split("&").forEach(function(P){if(P){var I=P.split("="),se=I.shift().replace(/\+/g," "),re=I.join("=").replace(/\+/g," ");_.append(decodeURIComponent(se),decodeURIComponent(re))}}),_}function at(Z){var _=new S,P=Z.replace(/\r?\n[\t ]+/g," ");return P.split("\r").map(function(I){return I.indexOf(`
|
|
6
|
+
`)===0?I.substr(1,I.length):I}).forEach(function(I){var se=I.split(":"),re=se.shift().trim();if(re){var A=se.join(":").trim();try{_.append(re,A)}catch(Q){console.warn("Response "+Q.message)}}}),_}X.call(ae.prototype);function de(Z,_){if(!(this instanceof de))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(_||(_={}),this.type="default",this.status=_.status===void 0?200:_.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=_.statusText===void 0?"":""+_.statusText,this.headers=new S(_.headers),this.url=_.url||"",this._initBody(Z)}X.call(de.prototype),de.prototype.clone=function(){return new de(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new S(this.headers),url:this.url})},de.error=function(){var Z=new de(null,{status:200,statusText:""});return Z.ok=!1,Z.status=0,Z.type="error",Z};var te=[301,302,303,307,308];de.redirect=function(Z,_){if(te.indexOf(_)===-1)throw new RangeError("Invalid status code");return new de(null,{status:_,headers:{location:Z}})},d.DOMException=g.DOMException;try{new d.DOMException}catch{d.DOMException=function(_,P){this.message=_,this.name=P;var I=Error(_);this.stack=I.stack},d.DOMException.prototype=Object.create(Error.prototype),d.DOMException.prototype.constructor=d.DOMException}function Ye(Z,_){return new Promise(function(P,I){var se=new ae(Z,_);if(se.signal&&se.signal.aborted)return I(new d.DOMException("Aborted","AbortError"));var re=new XMLHttpRequest;function A(){re.abort()}re.onload=function(){var W={statusText:re.statusText,headers:at(re.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(re.status<200||re.status>599)?W.status=200:W.status=re.status,W.url="responseURL"in re?re.responseURL:W.headers.get("X-Request-URL");var ce="response"in re?re.response:re.responseText;setTimeout(function(){P(new de(ce,W))},0)},re.onerror=function(){setTimeout(function(){I(new TypeError("Network request failed"))},0)},re.ontimeout=function(){setTimeout(function(){I(new TypeError("Network request timed out"))},0)},re.onabort=function(){setTimeout(function(){I(new d.DOMException("Aborted","AbortError"))},0)};function Q(W){try{return W===""&&g.location.href?g.location.href:W}catch{return W}}if(re.open(se.method,Q(se.url),!0),se.credentials==="include"?re.withCredentials=!0:se.credentials==="omit"&&(re.withCredentials=!1),"responseType"in re&&(m.blob?re.responseType="blob":m.arrayBuffer&&(re.responseType="arraybuffer")),_&&typeof _.headers=="object"&&!(_.headers instanceof S||g.Headers&&_.headers instanceof g.Headers)){var ee=[];Object.getOwnPropertyNames(_.headers).forEach(function(W){ee.push(O(W)),re.setRequestHeader(W,N(_.headers[W]))}),se.headers.forEach(function(W,ce){ee.indexOf(ce)===-1&&re.setRequestHeader(ce,W)})}else se.headers.forEach(function(W,ce){re.setRequestHeader(ce,W)});se.signal&&(se.signal.addEventListener("abort",A),re.onreadystatechange=function(){re.readyState===4&&se.signal.removeEventListener("abort",A)}),re.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return Ye.polyfill=!0,g.fetch||(g.fetch=Ye,g.Headers=S,g.Request=ae,g.Response=de),d.Headers=S,d.Request=ae,d.Response=de,d.fetch=Ye,d})({})})(l),l.fetch.ponyfill=!0,delete l.fetch.polyfill;var s=r.fetch?r:l;n=s.fetch,n.default=s.fetch,n.fetch=s.fetch,n.Headers=s.Headers,n.Request=s.Request,n.Response=s.Response,t.exports=n})(jo,jo.exports)),jo.exports}var A$=M$();const C$=Kh(A$);function wv(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Un{static duplicate(n){return{...n,headers:structuredClone(n.headers)}}_method(n,r){return this._request.method=n,this._request.body=r,this._request.body===void 0&&delete this._request.body,this}get(){return this._method("GET")}post(n){return this._method("POST",n).json()}put(n){return this._method("PUT",n).json()}delete(){return this._method("DELETE")}patch(n){return this._method("PATCH",n).json()}options(){return this._method("OPTIONS")}head(){return this._method("HEAD")}url(n){return this._request.url=n,this}timeout(n){return this._request.timeout=n,this}headers(n){return this._request.headers=n,this}header(n,r){return this._request.headers=this._request.headers||{},r==null?delete this._request.headers[n]:this._request.headers[n]=`${r}`,this}content(n){return this.header("Content-Type",n)}copy(n){return this._request=Un.duplicate(n),this}build(){return Un.duplicate(this._request)}constructor(){wv(this,"_request",void 0),wv(this,"json",this.content.bind(this,ox.JSON)),this._request={method:"GET",url:""}}}var Jo=(function(t){return t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.LengthRequired=411]="LengthRequired",t[t.PreconditionFailed=412]="PreconditionFailed",t[t.PayloadTooLarge=413]="PayloadTooLarge",t[t.URITooLong=414]="URITooLong",t[t.UnsupportedMediaType=415]="UnsupportedMediaType",t[t.RangeNotSatisfiable=416]="RangeNotSatisfiable",t[t.ExpectationFailed=417]="ExpectationFailed",t[t.ImATeapot=418]="ImATeapot",t[t.MisdirectedRequest=421]="MisdirectedRequest",t[t.UnProcessableEntity=422]="UnProcessableEntity",t[t.Locked=423]="Locked",t[t.FailedDependency=424]="FailedDependency",t[t.UpgradeRequired=426]="UpgradeRequired",t[t.PreconditionRequired=428]="PreconditionRequired",t[t.TooManyRequests=429]="TooManyRequests",t[t.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",t[t.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",t})({});const D$={400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I am a Teapot",421:"Misdirected Requested",422:"Entity Not Processable",423:"Locked",424:"Failed Dependency",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable for Legal Reasons"},R$={400:"A bad request was sent.",401:"You are not authenticated and cannot view this content.",402:"Payment is required",403:"You are not authorized to view this content.",404:"The resource you are looking for could not be found.",405:"The requested operation was not allowed.",406:"The requested resource is not capable of generating the content for you.",407:"You must first authenticate your self with the proxy.",408:"The server timed out waiting for a request. Please try again.",409:"There was a conflict with request. Try something else.",410:"The resource you requested is no longer available.",411:"Your request did not specify the length of its content, which is required by the requested resource.",412:"The server did not meet the requirements that was required to meet the request.",413:"The request is too large and the server cannot handle it.",414:"The URI provided was too long for the server to process.",415:"The media type requested is not supported by the server.",416:"A portion of the file was requested by the server cannot supply said portion.",417:"The server cannot meet the requirements of the expectation made of it.",418:"Short and stout. Here is my handle, here is my spout. When I get all steamed up, hear me shout. Tip me over and pour me out!",421:"The request was directed at the server, but the server cannot produce a response.",422:"The request was well-formed but was unable to be followed due to semantic errors.",423:"The resource that is being accessed is locked.",424:"The request failed because it depended on another request and that request failed.",426:"The client needs to switch to a different protocol.",428:"The origin server requires the request to be conditional.",429:"The user has sent too many requests in a given amount of time.",431:"The request cannot be processed because the collective header fields are too large.",451:"Call your lawyer!"},N$={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints"},$$={100:"The client should continue to send the request body.",101:"The requestor has asked the server to switch protocols and the server has agreed to do so.",102:"The server has received and is processing the request, but a response is not available yet.",103:"There are some early response headers available for you before the final message."},z$={300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",306:"Switch Proxy",307:"Temporary Redirect",308:"Permanent Redirect"},q$={300:"Indicates multiple options for the resource from which the client may choose.",301:"This and all future requests should be directed to the given URI.",302:"Tells the client to look at another url",303:"The response to the request can be found under another URI using the GET method.",304:"Indicates that the resource has not been modified since the version specified by the request headers If-Modified-Since or If-None-Match.",305:"The requested resource is available only through a proxy, the address for which is provided in the response.",306:'No longer used. Originally meant "Subsequent requests should use the specified proxy.',307:"In this case, the request should be repeated with another URI; however, future requests should still use the original URI.",308:"The request and all future requests should be repeated using another URI."};var j$=(function(t){return t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout",t[t.HttpVersionNotSupported=505]="HttpVersionNotSupported",t[t.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",t[t.InsufficientStorage=507]="InsufficientStorage",t[t.LoopDetected=508]="LoopDetected",t[t.NotExtended=510]="NotExtended",t[t.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",t})({});const U$={500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",510:"Not Extended",511:"Network Authentication Required"},L$={500:"An unexpected condition was encountered on the server.",501:"The server either does not recognize the request method, or it lacks the ability to fulfil the request. Usually this implies future availability (e.g., a new feature of a web-service API).",502:" The server was acting as a gateway or proxy and received an invalid response from the upstream server.",503:"The server is currently unavailable (because it is overloaded or down for maintenance). Generally, this is a temporary state.",504:"The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.",505:"The server does not support the HTTP protocol version used in the request.",506:" Transparent content negotiation for the request results in a circular reference.",507:"The server is unable to store the representation needed to complete the request.",508:"The server detected an infinite loop while processing the request.",510:"Further extensions to the request are required for the server to fulfil it.",511:"The client needs to authenticate to gain network access."};var B$=(function(t){return t[t.OK=200]="OK",t[t.Created=201]="Created",t[t.Accepted=202]="Accepted",t[t.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",t[t.NoContent=204]="NoContent",t[t.ResetContent=205]="ResetContent",t[t.PartialContent=206]="PartialContent",t[t.MultiStatus=207]="MultiStatus",t[t.AlreadyReported=208]="AlreadyReported",t[t.IMUsed=226]="IMUsed",t})({});const H$={200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi Status",208:"Already Reported",226:"IM Used"},Z$={200:"The request was successful.",201:"The request has been fulfilled, resulting in the creation of a new resource.",202:"The request has been accepted for processing, but the processing has not been completed.",203:"The server is a transforming proxy that received an OK from its origin,but is returning a modified version of the response.",204:"The server successfully processed the request and is not returning any content.",205:"The server successfully processed the request, but is not returning any content. The document view must be refreshed.",206:"he server is delivering only part of the resource due to a range header sent by the client.",207:"The message body that follows is by default an XML message and can contain a number of separate response codes, depending on how many sub-requests were made.",208:"The members of a DAV binding have already been enumerated in a preceding part of the response, and are not being included again.",226:"The server has fulfilled a request for the resource, and the response is a representation of the result of one or more instance-manipulations applied to the current instance."};function Y$(t){return N$[t]||H$[t]||z$[t]||D$[t]||U$[t]}function G$(t){return $$[t]||Z$[t]||q$[t]||R$[t]||L$[t]}function k$(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class xv{data(n){return this._result.data=n,this}status(n){return this._result.status=n,this}headers(n={}){return this._result.headers=n,this}build(){return{...this._result}}constructor(n){k$(this,"_result",void 0),this._result={status:B$.OK,headers:{},data:n}}}function P$(t){return t==null||typeof t=="string"||t instanceof Blob||t instanceof ArrayBuffer||ArrayBuffer.isView(t)||t instanceof FormData||t instanceof URLSearchParams||t instanceof ReadableStream}function V$(t){const n=t.headers.get("content-type");return n?.startsWith("application/json")||n?.endsWith("+json")?t.json():n?.startsWith("multipart/form-data")?t.formData():n?.startsWith("text")||n?.endsWith("+xml")?t.text():t.blob()}class Ac{async request(n){try{const r=await C$(n.url,{method:n.method,body:P$(n.body)?n.body:JSON.stringify(n.body),headers:n.headers,redirect:"follow"}),l=await V$(r),s=new xv(l).headers(r.headers).status(r.status).build();return r.ok?Promise.resolve(s):Promise.reject(s)}catch(r){let l=new xv(r.message).headers().status(j$.InternalServerError);return r.code==="ENOTFOUND"&&(l=l.status(Jo.NotFound)),Promise.reject(l.build())}}}function X$(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class cx extends Te{async message(){return await this.driver.select(".ZAlert-message")}async heading(){const[n]=await this.driver.query(".ZAlert-heading");return J(null,n)}async avatar(){const[n]=await this.driver.query(".ZAlert-avatar");return J(null,n)}async fashion(){return this.driver.attribute("data-fashion","")}}X$(cx,"Selector",".ZAlert-root");const fx=C.createContext(new k1().build());function Me(){return C.useContext(fx)}const Q$=C.createContext(new fm);function xt(){return C.useContext(Q$)}const F$=C.createContext(new IC);function ca(){return C.useContext(F$)}function dx(t){return oR(t)}function Ze(t){return cR(t)}function K$(t){const n=C.useRef(ri),r=jw(),l=C.useCallback(()=>{const{name:s,styles:c}=Yo(t),d=new K1({key:`global-${s}`,container:r.document.head});return(m=>Ph(q5(m),L5([U5,B5(h=>{d.insert(h)})])))(c),()=>d.flush()},[t]);C.useEffect(()=>(n.current.call(null),n.current=l(),()=>n.current.call(null)),[l])}function J$(t){const{children:n,className:r}=t,{body:l}=Me();return K$(Ne`
|
|
7
|
+
body {
|
|
8
|
+
background-color: ${l.idle.main};
|
|
9
|
+
color: ${l.idle.contrast};
|
|
10
|
+
margin: 0;
|
|
11
|
+
position: relative;
|
|
12
|
+
height: 100vh;
|
|
13
|
+
}
|
|
14
|
+
`),w.jsx("div",{className:fe("ZStyled-root",r),children:n})}function Rm(t){const n=Me(),r=xt(),{primary:l}=n,{heading:s,name:c,className:d,avatar:g,message:m,fashion:h=l}=t,b=new Gt(h),v=r.thickness(D.ExtraSmall),O=r.gap(D.Small),N=r.gap(D.ExtraSmall),R=Ze(Ne`
|
|
15
|
+
&.ZAlert-root {
|
|
16
|
+
align-items: center;
|
|
17
|
+
background: ${b.idle.main};
|
|
18
|
+
border-color: ${b.idle.border};
|
|
19
|
+
border-radius: 0.25rem;
|
|
20
|
+
border-style: double;
|
|
21
|
+
box-shadow: 0 0 0 ${v} ${b.idle.border};
|
|
22
|
+
color: ${b.idle.contrast};
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-columns: auto auto 1fr;
|
|
25
|
+
grid-template-areas:
|
|
26
|
+
"avatar heading ."
|
|
27
|
+
"avatar message .";
|
|
28
|
+
padding: ${O} ${N};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ZAlert-avatar {
|
|
32
|
+
grid-area: avatar;
|
|
33
|
+
margin-right: ${r.gap(D.Medium)};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ZAlert-heading {
|
|
37
|
+
grid-area: heading;
|
|
38
|
+
margin-bottom: ${r.gap(D.Small)};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ZAlert-message {
|
|
42
|
+
grid-area: message;
|
|
43
|
+
}
|
|
44
|
+
`);return w.jsxs("div",{className:fe("ZAlert-root",d,R),"data-name":c,"data-fashion":h.name,role:"alert",children:[g&&w.jsx("div",{className:"ZAlert-avatar",children:g}),s&&w.jsx("div",{className:"ZAlert-heading",children:s}),w.jsx("div",{className:"ZAlert-message",children:m})]})}function hx(t){const{children:n,value:r}=t;return xc(r)?n(r):null}function mx(t){const{children:n,value:r}=t;return $w(r)?n(r):null}function W$(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Nm extends Te{async part(n){const[r]=await this.driver.query(`.ZContentTitle-${n}`);return r||null}avatar(){return this.part("avatar")}heading(){return this.part("heading")}subHeading(){return this.part("sub-heading")}prefix(){return this.part("prefix")}suffix(){return this.part("suffix")}}W$(Nm,"Selector",".ZContentTitle-root");function I$(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class e6 extends Te{title(){return Pe.first(this.driver,Nm)}main(){return this.driver.select(".ZBannerMain-content")}}I$(e6,"Selector",".ZBannerMain-root");function t6(t){const{primary:n}=Me(),r=xt(),{children:l,className:s,fashion:c}=t,d=new Gt(J(n,c)),g=Ze(Ne`
|
|
45
|
+
&.ZBanner-root {
|
|
46
|
+
background: ${d.idle.main};
|
|
47
|
+
box-sizing: border-box;
|
|
48
|
+
color: ${d.idle.contrast};
|
|
49
|
+
left: 0;
|
|
50
|
+
padding: ${r.gap(D.ExtraSmall)}
|
|
51
|
+
${r.gap(D.Small)};
|
|
52
|
+
position: sticky;
|
|
53
|
+
right: 0;
|
|
54
|
+
top: 0;
|
|
55
|
+
z-index: 1100;
|
|
56
|
+
}
|
|
57
|
+
`);return w.jsx("div",{className:fe("ZBanner-root",s,g),role:"banner",children:l})}const Tu={...Jt(Wu(1.4,18),"rem"),...Hn(),...br()};function Pu(t){const n=ca(),r=xt(),{transparent:l}=Me(),{border:s,className:c,children:d,cursor:g,fashion:m,interactive:h,justification:b,margin:v,padding:O,width:N,...R}=t,S=h?0:void 0,E=new Gt(J(l,m)),j=new Lt("solid").from(s?.style).build(),x=new Lt(la.None).from(s?.width).build(),$=new $O(la.None).from(s?.radius).build(),q=new Lt(la.None).from(O).build(),U=new Lt(la.None).from(v).build(),X=new Zt(N,ge.Full),H=Ze(Ne`
|
|
58
|
+
& {
|
|
59
|
+
background-color: ${E.idle.main};
|
|
60
|
+
border-color: ${E.idle.border};
|
|
61
|
+
|
|
62
|
+
border-bottom-style: ${j.bottom};
|
|
63
|
+
border-left-style: ${j.left};
|
|
64
|
+
border-right-style: ${j.right};
|
|
65
|
+
border-top-style: ${j.top};
|
|
66
|
+
|
|
67
|
+
border-bottom-width: ${r.thickness(x.bottom)};
|
|
68
|
+
border-left-width: ${r.thickness(x.left)};
|
|
69
|
+
border-right-width: ${r.thickness(x.right)};
|
|
70
|
+
border-top-width: ${r.thickness(x.top)};
|
|
71
|
+
|
|
72
|
+
border-bottom-left-radius: ${r.rounding($.bottomLeft)};
|
|
73
|
+
border-bottom-right-radius: ${r.rounding($.bottomRight)};
|
|
74
|
+
border-top-left-radius: ${r.rounding($.topLeft)};
|
|
75
|
+
border-top-right-radius: ${r.rounding($.topRight)};
|
|
76
|
+
|
|
77
|
+
display: block;
|
|
78
|
+
color: ${E.idle.contrast};
|
|
79
|
+
cursor: ${g};
|
|
80
|
+
|
|
81
|
+
padding-bottom: ${r.gap(q.bottom)};
|
|
82
|
+
padding-left: ${r.gap(q.left)};
|
|
83
|
+
padding-right: ${r.gap(q.right)};
|
|
84
|
+
padding-top: ${r.gap(q.top)};
|
|
85
|
+
|
|
86
|
+
margin-bottom: ${r.gap(U.bottom)};
|
|
87
|
+
margin-left: ${r.gap(U.left)};
|
|
88
|
+
margin-right: ${r.gap(U.right)};
|
|
89
|
+
margin-top: ${r.gap(U.top)};
|
|
90
|
+
|
|
91
|
+
max-width: ${Tu[X.xl]};
|
|
92
|
+
|
|
93
|
+
text-align: ${b};
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&:focus {
|
|
97
|
+
background-color: ${h?E.focus.main:E.idle.main};
|
|
98
|
+
border-color: ${h?E.focus.border:E.idle.border};
|
|
99
|
+
color: ${h?E.focus.contrast:E.idle.contrast};
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&:hover {
|
|
103
|
+
background-color: ${h?E.hover.main:E.idle.main};
|
|
104
|
+
border-color: ${h?E.hover.border:E.idle.border};
|
|
105
|
+
color: ${h?E.hover.contrast:E.idle.contrast};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
${n.break(D.Large)} {
|
|
109
|
+
& {
|
|
110
|
+
max-width: ${Tu[X.lg]};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
${n.break(D.Medium)} {
|
|
115
|
+
& {
|
|
116
|
+
max-width: ${Tu[X.md]};
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
${n.break(D.Small)} {
|
|
121
|
+
& {
|
|
122
|
+
max-width: ${Tu[X.sm]};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
${n.break(D.ExtraSmall)} {
|
|
127
|
+
& {
|
|
128
|
+
max-width: ${Tu[X.xs]};
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
`);return w.jsx("div",{...R,className:fe("ZBox-root",c,H),tabIndex:S,children:d})}function $m(t){const{basis:n,children:r,className:l,grow:s,shrink:c}=t;return w.jsx("div",{className:fe("ZFlex-root",l),style:{flexBasis:n,flexGrow:s,flexShrink:c},children:r})}const Qn=Hn();function Ve(t){const{className:n,align:r,justify:l,gap:s,name:c,orientation:d,children:g,inline:m,wrap:h,height:b,width:v,...O}=t,N=ca(),R=xt(),S=m?"inline-flex":"flex",E=d===dn.Horizontal?"row":"column",j=R.gap(J(la.None,s)),x=J("stretch",r?.items),$=J("normal",r?.content),q=J("start",l?.content),U=J("nowrap",h),X=new Zt(v,ge.Default),H=new Zt(b,ge.Default),ie=Ze(Ne`
|
|
132
|
+
& {
|
|
133
|
+
align-content: ${$};
|
|
134
|
+
align-items: ${x};
|
|
135
|
+
display: ${S};
|
|
136
|
+
flex-direction: ${E};
|
|
137
|
+
flex-wrap: ${U};
|
|
138
|
+
gap: ${j};
|
|
139
|
+
height: ${Qn[H.xl]};
|
|
140
|
+
justify-content: ${q};
|
|
141
|
+
width: ${Qn[X.xl]};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
${N.break(D.Large)} {
|
|
145
|
+
height: ${Qn[H.lg]};
|
|
146
|
+
width: ${Qn[X.lg]};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
${N.break(D.Medium)} {
|
|
150
|
+
height: ${Qn[H.md]};
|
|
151
|
+
width: ${Qn[X.md]};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
${N.break(D.Small)} {
|
|
155
|
+
height: ${Qn[H.sm]};
|
|
156
|
+
width: ${Qn[X.sm]};
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
${N.break(D.ExtraSmall)} {
|
|
160
|
+
height: ${Qn[H.xs]};
|
|
161
|
+
width: ${Qn[X.xs]};
|
|
162
|
+
}
|
|
163
|
+
`);return w.jsx("div",{className:fe("ZStack-root",ie,n),...O,"data-orientation":d,"data-name":c,"data-inline":m,children:g})}const Eu={xs:"0.9rem",sm:"1rem",md:"1.3rem",lg:"2rem",xl:"2.5rem"},n6={thin:100,light:300,regular:400,medium:500,bold:700,black:900};function px(t){const{inherit:n}=Me(),r=xt(),l=ca(),{compact:s,fashion:c,size:d,transform:g,weight:m}=t,h=new Gt(J(n,c)),b=J("regular",m),v=J(D.Medium,d);return Ze(Ne`
|
|
164
|
+
& {
|
|
165
|
+
color: ${h.idle.main};
|
|
166
|
+
font-family: Roboto, Arial, sans-serif;
|
|
167
|
+
font-weight: ${n6[b]};
|
|
168
|
+
font-size: calc(${Eu[v]} * 1.2);
|
|
169
|
+
margin: 0;
|
|
170
|
+
margin-bottom: ${s?0:r.gap(D.Medium)};
|
|
171
|
+
text-transform: ${g};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
${l.break(D.Large)} {
|
|
175
|
+
& {
|
|
176
|
+
font-size: calc(${Eu[v]} * 1.15);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
${l.break(D.Medium)} {
|
|
181
|
+
& {
|
|
182
|
+
font-size: calc(${Eu[v]} * 1.1);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
${l.break(D.Small)} {
|
|
187
|
+
& {
|
|
188
|
+
font-size: calc(${Eu[v]} * 1.05);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
${l.break(D.ExtraSmall)} {
|
|
193
|
+
& {
|
|
194
|
+
font-size: ${Eu[v]};
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
`)}function Ar(t){const{Element:n="div",children:r,className:l,compact:s,fashion:c,name:d,size:g,transform:m,weight:h,...b}=t,v=px(t);return w.jsx(n,{...b,className:fe("ZTypography-root",l,v),"data-compact":s,"data-fashion":c?.name,"data-name":d,"data-size":g,"data-weight":h,"data-transform":m,children:r})}const a6=({className:t,...n})=>w.jsx(Ar,{Element:"h1",...n,className:fe("ZH1-root",t),size:D.ExtraLarge,weight:"black"}),gx=({className:t,...n})=>w.jsx(Ar,{Element:"h2",...n,className:fe("ZH2-root",t),size:D.Large,weight:"black"}),nl=({className:t,...n})=>w.jsx(Ar,{Element:"h3",...n,className:fe("ZH3-root",t),size:D.Medium,weight:"black"}),r6=({className:t,...n})=>w.jsx(Ar,{Element:"h5",...n,className:fe("ZH5-root",t),size:D.Small,transform:"uppercase",weight:"bold"}),ai=({className:t,...n})=>w.jsx(Ar,{Element:"p",...n,className:fe("ZParagraph-root",t),size:D.Small,weight:"regular"}),cn=({className:t,...n})=>w.jsx(Ar,{Element:"sub",...n,className:fe("ZCaption-root",t),size:D.ExtraSmall,weight:"regular"}),i6=({className:t,...n})=>w.jsx(Ar,{Element:"sub",...n,className:fe("ZSubtitle-root",t),size:D.Small,weight:"bold"}),l6=({className:t,...n})=>w.jsx(Ar,{Element:"div",...n,className:fe("ZButtonText-root",t),size:D.Small,weight:"bold",transform:"uppercase"});function Da(t){const{avatar:n,className:r,heading:l,prefix:s,subHeading:c,suffix:d}=t,g=C.useMemo(()=>l==null||C.isValidElement(l)?l:w.jsx(gx,{compact:!0,children:l}),[l]),m=C.useMemo(()=>c==null||C.isValidElement(c)?c:w.jsx(i6,{compact:!0,children:c}),[c]),h=(b,v,O="div")=>b==null?null:w.jsx(O,{className:`ZContentTitle-${v}`,children:b});return w.jsxs(Ve,{align:{items:"center"},className:fe("ZContentTitle-root",r),orientation:dn.Horizontal,gap:D.Small,children:[h(n,"avatar"),w.jsxs(Ve,{orientation:dn.Vertical,gap:D.ExtraSmall,children:[h(g,"heading","header"),h(m,"sub-heading","sub")]}),w.jsx($m,{grow:1,children:h(s,"prefix")}),h(d,"suffix")]})}function u6(t){const{children:n,TitleProps:r}=t,{primary:l}=Me();return w.jsxs(J$,{className:"ZBannerMain-root",children:[w.jsx(t6,{className:"ZBannerMain-header",fashion:l,children:w.jsx(Da,{...r})}),w.jsx(Pu,{padding:D.Large,children:w.jsx("main",{className:"ZBannerMain-content",children:n})})]})}const Ou=Jt(Wu(2,1),"rem");function s6(t){const{inherit:n}=Me(),r=ca(),{width:l=D.Small,fashion:s,onClick:c}=t,d=new Zt(l,D.Small),g=new Gt(J(n,s));return Ze(Ne`
|
|
198
|
+
& {
|
|
199
|
+
color: ${g.idle.main};
|
|
200
|
+
cursor: ${c?"pointer":"inherit"};
|
|
201
|
+
font-size: ${Ou[d.xl]};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
&:hover {
|
|
205
|
+
color: ${c?g.hover.main:void 0};
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
${r.break(D.Large)} {
|
|
209
|
+
& {
|
|
210
|
+
font-size: ${Ou[d.lg]};
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
${r.break(D.Medium)} {
|
|
215
|
+
& {
|
|
216
|
+
font-size: ${Ou[d.md]};
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
${r.break(D.Small)} {
|
|
221
|
+
& {
|
|
222
|
+
font-size: ${Ou[d.sm]};
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
${r.break(D.ExtraSmall)} {
|
|
227
|
+
& {
|
|
228
|
+
font-size: ${Ou[d.xs]};
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
`)}function o6(t){const n=document;C.useEffect(()=>{if(!n.querySelector(`link[href="${t}"]`)){const l=n.createElement("link");l.rel="stylesheet",l.href=t,n.head.appendChild(l)}},[])}const c6="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css",f6="font-awesome";function ye(t){const{name:n,className:r,animation:l,family:s="classic",style:c="solid",onClick:d,fashion:g}=t,m=s6(t);o6(c6);const{onKey:h,tabIndex:b}=_c(d),v=l?`fa-${l}`:void 0;return w.jsx("span",{className:fe("ZIcon-root","ZIcon-font-awesome",`fa-${s}`,`fa-${c}`,`fa-${n}`,v,r,m),onClick:d,onKeyDown:h,tabIndex:b,"data-fashion":g?.name,"data-family":s,"data-style":c,"data-name":n,"data-vendor":f6})}function sl(t){const{error:n}=Me(),r=xt(),{children:l,className:s,required:c,htmlFor:d,...g}=t,m=px({compact:!0,weight:"bold",size:D.Small}),h=Ze(Ne`
|
|
232
|
+
& {
|
|
233
|
+
display: block;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&[data-required="true"]::after {
|
|
237
|
+
content: "*";
|
|
238
|
+
color: ${n.idle.main};
|
|
239
|
+
margin-left: ${r.thickness(D.Medium)};
|
|
240
|
+
}
|
|
241
|
+
`);return w.jsx("label",{...g,className:fe("ZLabel-root",h,m,s),htmlFor:d,"data-required":c,children:l})}function Cc(t){const{children:n,className:r,label:l,name:s,gap:c=D.ExtraSmall,orientation:d=dn.Vertical,LabelProps:g,position:m="prefix",...h}=t,b=d===dn.Horizontal?"center":void 0,v=O=>m===O&&l&&w.jsx(sl,{...g,children:l});return w.jsxs(Ve,{...h,align:{items:b},className:fe("ZLabeled-root",r),orientation:d,gap:c,name:s,children:[v("prefix"),w.jsx(Ve,{inline:!0,children:n}),v("suffix")]})}function d6(t){const{component:n,primary:r}=Me(),{className:l,disabled:s,label:c,value:d,onValueChange:g,name:m,fashion:h=r,required:b}=t,v=xt(),O=C.useRef(document.createElement("span")),[N,R]=Mr(d,g,!1),S=C.useMemo(()=>new Gt(h),[h]),E=!!N,j=C.useId(),x="1.25rem",$="2rem",q="0.75rem",U=Ze(Ne`
|
|
242
|
+
& .ZLabel-root {
|
|
243
|
+
cursor: pointer;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
& .ZBoolean-toggler {
|
|
247
|
+
position: relative;
|
|
248
|
+
display: inline-block;
|
|
249
|
+
width: ${$};
|
|
250
|
+
height: ${q};
|
|
251
|
+
margin: calc(${x} / 4) 0;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
input {
|
|
255
|
+
display: none;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.ZBoolean-value {
|
|
259
|
+
position: absolute;
|
|
260
|
+
cursor: pointer;
|
|
261
|
+
inset: 0;
|
|
262
|
+
background-color: ${n.idle.main};
|
|
263
|
+
transition: 0.4s;
|
|
264
|
+
border-radius: ${v.rounding(D.Medium)};
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ZBoolean-value:before {
|
|
268
|
+
position: absolute;
|
|
269
|
+
content: "";
|
|
270
|
+
height: ${x};
|
|
271
|
+
width: ${x};
|
|
272
|
+
background-color: ${n.idle.contrast};
|
|
273
|
+
transition: 0.4s;
|
|
274
|
+
border-radius: ${v.rounding(ge.Full)};
|
|
275
|
+
bottom: calc(${q} / 2 - ${x} / 2);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
input:checked + .ZBoolean-value {
|
|
279
|
+
background-color: ${S.idle.main};
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
input:checked + .ZBoolean-value:before {
|
|
283
|
+
transform: translateX(calc(${$} / 2));
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
&:focus-within .ZBoolean-value {
|
|
287
|
+
outline: none;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
&:focus-within .ZBoolean-value::before {
|
|
291
|
+
background-color: ${S.focus.main};
|
|
292
|
+
box-shadow: 0 0 0.25rem 0.25rem ${S.focus.border};
|
|
293
|
+
}
|
|
294
|
+
`),X=()=>{s||R(!E)},H=at=>R(at.currentTarget.checked),{tabIndex:ie,onKey:ae}=_c(X),Ae=async()=>O.current.focus();return w.jsx(Cc,{className:fe("ZBoolean-root","ZBoolean-switch",U,l),label:c,name:m,LabelProps:{required:b,htmlFor:j},orientation:dn.Horizontal,position:"suffix","data-fashion":h.name,onClick:Ae,children:w.jsxs("div",{className:"ZBoolean-toggler",children:[w.jsx("input",{id:j,type:"checkbox",checked:E,disabled:s,onChange:H,name:m}),w.jsx("span",{className:"ZBoolean-value",tabIndex:ie,onKeyDown:ae,onClick:X,ref:O})]})})}function h6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class is extends Te{text(){return this.driver.text()}async required(){return await this.driver.attribute("data-required")==="true"}async click(){const n=new Ie().click().build();await this.driver.perform(n)}}h6(is,"Selector",".ZLabel-root");function m6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class yx extends Te{async _input(){return this.driver.select('input[type="checkbox"]')}async _value(){const[n]=await this.driver.query(".ZBoolean-value");return n}async disabled(){return(await this._input()).disabled()}async label(){return Pe.optional(this.driver,is)}fashion(){return this.driver.attribute("data-fashion")}async value(){const n=await this._input();return await n.attribute("data-indeterminate")==="true"?null:n.selected()}async toggle(n){if(await this.value()===n)return;const l=await this._value(),s=new Ie().click().build();await l.perform(s)}}m6(yx,"Selector",".ZBoolean-root");function p6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class bx extends Te{click(){return this.driver.perform(new Ie().click().build())}}p6(bx,"Selector",".ZBox-root");function g6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Qh extends Te{reference(){return this.driver.attribute("href")}name(){return this.driver.attribute("data-name")}label(){return this.driver.text()}async click(){return this.driver.perform(new Ie().click().build())}}g6(Qh,"Selector",".ZLink-root");function y6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class vx extends Te{async items(){return(await this.driver.query(".ZBreadcrumbs-item")).map(n=>new Qh(n))}async item(n){const[r]=await this.driver.query(`.ZBreadcrumbs-item[data-name="${n}"]`);return r?new Qh(r):null}}y6(vx,"Selector",".ZBreadcrumbs-root");function b6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class v6 extends Te{breadcrumbs(){return Pe.first(this.driver,vx,"outlet-breadcrumbs")}}b6(v6,"Selector",".ZBreadcrumbOutlet-root");function w6(t){const{primary:n}=Me(),{className:r,name:l,href:s,fashion:c,label:d,...g}=t,m=new Gt(J(n,c)),h=Ze(Ne`
|
|
295
|
+
& {
|
|
296
|
+
color: ${m.idle.main};
|
|
297
|
+
text-decoration: none;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&:active {
|
|
301
|
+
color: ${m.active.main};
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
&:hover {
|
|
305
|
+
color: ${m.hover.main};
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
&:focus {
|
|
309
|
+
color: ${m.focus.main};
|
|
310
|
+
}
|
|
311
|
+
`);return w.jsx("a",{...g,className:fe("ZLink-root",h,r),href:s,"data-name":l,role:"link",children:w.jsx(ai,{Element:"div",compact:!0,children:d})})}const x6=s$,Ca=ax,_6=LN,S6=jN,Sl=Om,T6=Ya,zm=_N;function hi(t){const{body:n}=Me(),r=xt(),{className:l,name:s,home:c,onPathSelected:d}=t,g=T6(),m=C.useMemo(()=>{const v=g.pathname.split("/").filter(R=>!!R.trim()),O=c?{name:c.name,path:c.path||"/"}:void 0,N=[];for(let R=0;R<v.length;++R){const S=N[R-1]?.path||"",E=v[R],j=`${S}/${E}`;N.push({name:E,path:j})}return O?[O,...N]:N},[g,c]),h=Ze(Ne`
|
|
312
|
+
& {
|
|
313
|
+
color: ${n.idle.contrast};
|
|
314
|
+
display: flex;
|
|
315
|
+
flex-wrap: nowrap;
|
|
316
|
+
gap: ${r.gap(D.ExtraSmall)};
|
|
317
|
+
}
|
|
318
|
+
`),b=(v,O)=>{const N=`#${v.path}`;return w.jsxs(C.Fragment,{children:[w.jsx(w6,{className:"ZBreadcrumbs-item",href:N,label:v.name,name:v.path,onClick:()=>d?.call(null,N)}),O<m.length-1&&w.jsx(ai,{compact:!0,children:"/"})]},v.path)};return w.jsx("div",{className:fe("ZBreadcrumbs-root","ZBreadcrumbs-location",h,l),"data-name":s,children:m.map(b)})}function E6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class O6 extends Te{async click(){const n=new Ie().click().build();await this.driver.perform(n)}borderSize(){return this.driver.attribute("data-border-size",la.None)}fashion(){return this.driver.attribute("data-fashion","")}}E6(O6,"Selector",".ZBubble-root");({...Jt(Wu(2,1),"rem")});function M6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class xr extends Te{name(){return this.driver.attribute("name")}disabled(){return this.driver.disabled()}async outlined(){return await this.driver.attribute("data-outline")==="true"}async compact(){return await this.driver.attribute("data-compact")==="true"}async borderless(){return await this.driver.attribute("data-borderless")==="true"}async text(){return(await this.driver.select(".ZButton-content")).text()}fashion(){return this.driver.attribute("data-fashion")}click(){const n=new Ie().click().build();return this.driver.perform(n)}}M6(xr,"Selector",".ZButton-root");const Mu=Hn();function Vu(t){const{avatar:n,className:r,borderless:l,compact:s,disabled:c,fashion:d,label:g,name:m,outline:h,type:b="button",width:v,...O}=t,N=ca(),{component:R}=Me(),S=xt(),E=new Gt(J(R,d)),j=new Zt(v,ge.Default),x=Ze(Ne`
|
|
319
|
+
& {
|
|
320
|
+
border-radius: 0.375rem;
|
|
321
|
+
display: inline-flex;
|
|
322
|
+
font-family: inherit;
|
|
323
|
+
font-size: inherit;
|
|
324
|
+
gap: ${S.gap(D.ExtraSmall)};
|
|
325
|
+
justify-content: center;
|
|
326
|
+
overflow: hidden;
|
|
327
|
+
position: relative;
|
|
328
|
+
background: ${h?"transparent":E.idle.main};
|
|
329
|
+
border-color: ${E.idle.main};
|
|
330
|
+
border-style: ${l?"none":"solid"};
|
|
331
|
+
color: ${h?E.idle.main:E.idle.contrast};
|
|
332
|
+
padding: ${s?0:S.gap(D.ExtraSmall)};
|
|
333
|
+
width: ${Mu[j.xl]};
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
&:focus {
|
|
337
|
+
outline-style: solid;
|
|
338
|
+
outline-width: ${S.thickness(D.Medium)};
|
|
339
|
+
border-color: ${E.focus.main};
|
|
340
|
+
outline-color: ${E.focus.border};
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
&:hover:not([disabled]) {
|
|
344
|
+
background-color: ${E.hover.main};
|
|
345
|
+
border-color: ${E.hover.border};
|
|
346
|
+
color: ${E.hover.contrast};
|
|
347
|
+
cursor: pointer;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
&:active:not([disabled]) {
|
|
351
|
+
background-color: ${E.active.main};
|
|
352
|
+
border-color: ${E.active.border};
|
|
353
|
+
color: ${E.active.contrast};
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
&:disabled {
|
|
357
|
+
opacity: 0.25;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
${N.break(D.Large)} {
|
|
361
|
+
& {
|
|
362
|
+
width: ${Mu[j.lg]};
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
${N.break(D.Medium)} {
|
|
367
|
+
& {
|
|
368
|
+
width: ${Mu[j.md]};
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
${N.break(D.Small)} {
|
|
373
|
+
& {
|
|
374
|
+
width: ${Mu[j.sm]};
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
${N.break(D.ExtraSmall)} {
|
|
379
|
+
& {
|
|
380
|
+
width: ${Mu[j.xs]};
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
`);return w.jsx("button",{...O,className:fe("ZButton-root",r,x),disabled:c,name:m,type:b,"data-borderless":l,"data-compact":s,"data-fashion":d?.name,"data-outline":h,children:w.jsxs(Ve,{align:{items:"center"},orientation:dn.Horizontal,gap:D.Small,inline:!0,children:[n,w.jsx(l6,{Element:"div",compact:!0,className:"ZButton-content",children:g})]})})}function A6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class wx extends Te{title(){return Pe.first(this.driver,Nm)}fashion(){return this.driver.attribute("data-fashion","Surface")}content(){return this.driver.select(".ZCard-content")}async footer(){const[n]=await this.driver.query(".ZCard-footer");return n||null}}A6(wx,"Selector",".ZCard-root");const Au={...Jt(Wu(1.5,15),"rem"),...Hn(),...br()},Cu={...Jt(ja(5,20),"rem"),...Hn(),...br()};function An(t){const{surface:n}=Me(),r=xt(),l=ca(),{className:s,children:c,footer:d,fashion:g,name:m,width:h,height:b,TitleProps:v}=t,O=J(n,g),N=new Gt(O),R=new Zt(h,ge.Default),S=new Zt(b,ge.Default),E=Ze(Ne`
|
|
384
|
+
& {
|
|
385
|
+
background-color: ${n.idle.main};
|
|
386
|
+
box-shadow: 0 0.2rem 8pt #101010;
|
|
387
|
+
color: ${n.idle.contrast};
|
|
388
|
+
max-width: ${Au[R.xl]};
|
|
389
|
+
min-height: ${Cu[S.xl]};
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
> .ZCard-header {
|
|
393
|
+
background-color: ${N.idle.main};
|
|
394
|
+
color: ${N.idle.contrast};
|
|
395
|
+
padding: ${r.gap(D.Small)};
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
> .ZCard-content {
|
|
399
|
+
padding: ${r.gap(D.Small)};
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
> .ZCard-footer {
|
|
403
|
+
padding: ${r.gap(D.Small)};
|
|
404
|
+
padding-top: 0;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
${l.break(D.Large)} {
|
|
408
|
+
& {
|
|
409
|
+
max-width: ${Au[R.lg]};
|
|
410
|
+
min-height: ${Cu[S.lg]};
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
${l.break(D.Medium)} {
|
|
415
|
+
& {
|
|
416
|
+
max-width: ${Au[R.md]};
|
|
417
|
+
min-height: ${Cu[S.md]};
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
${l.break(D.Small)} {
|
|
422
|
+
& {
|
|
423
|
+
max-width: ${Au[R.sm]};
|
|
424
|
+
min-height: ${Cu[S.sm]};
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
${l.break(D.ExtraSmall)} {
|
|
429
|
+
& {
|
|
430
|
+
max-width: ${Au[R.xs]};
|
|
431
|
+
min-height: ${Cu[S.xs]};
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
`);return w.jsxs(Ve,{align:{items:"stretch"},className:fe("ZCard-root",s,E),name:m,gap:D.Medium,...em(t),"data-fashion":O.name,children:[w.jsx(Da,{...v,className:"ZCard-header"}),w.jsx("article",{style:{flexGrow:1},className:"ZCard-content",children:c}),d&&w.jsx("footer",{className:"ZCard-footer",children:d})]})}function C6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class D6 extends Te{async orientation(){return this.driver.attribute("data-orientation",dn.Horizontal)}async index(){return+await this.driver.attribute("data-index","0")}async count(){return+await this.driver.attribute("data-count","0")}content(){return this.driver.select(".ZCarousel-content")}forward(){return Pe.first(this.driver,xr,"carousel-forward")}reverse(){return Pe.first(this.driver,xr,"carousel-reverse")}}C6(D6,"Selector",".ZCarousel-root");const Fn=Hn();function Cn(t){const n=xt(),r=ca(),{align:l,className:s,children:c,columns:d,gap:g,justify:m,rows:h,width:b,height:v}=t,O=new Zt(b,ge.Default),N=new Zt(v,ge.Default),R=new Zt(d,void 0),S=new Zt(g,la.None),E=Ze(Ne`
|
|
435
|
+
&.ZGrid-root {
|
|
436
|
+
align-content: ${l?.content};
|
|
437
|
+
align-items: ${l?.items};
|
|
438
|
+
display: grid;
|
|
439
|
+
grid-template-rows: ${h};
|
|
440
|
+
justify-content: ${m?.content};
|
|
441
|
+
justify-items: ${m?.items};
|
|
442
|
+
|
|
443
|
+
gap: ${n.gap(S.xl)};
|
|
444
|
+
grid-template-columns: ${R.xl};
|
|
445
|
+
height: ${Fn[N.xl]};
|
|
446
|
+
width: ${Fn[O.xl]};
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
${r.break(D.Large)} {
|
|
450
|
+
&.ZGrid-root {
|
|
451
|
+
gap: ${n.gap(S.lg)};
|
|
452
|
+
grid-template-columns: ${R.lg};
|
|
453
|
+
height: ${Fn[N.lg]};
|
|
454
|
+
width: ${Fn[O.lg]};
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
${r.break(D.Medium)} {
|
|
459
|
+
&.ZGrid-root {
|
|
460
|
+
gap: ${n.gap(S.md)};
|
|
461
|
+
grid-template-columns: ${R.md};
|
|
462
|
+
height: ${Fn[N.md]};
|
|
463
|
+
width: ${Fn[O.md]};
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
${r.break(D.Small)} {
|
|
468
|
+
&.ZGrid-root {
|
|
469
|
+
gap: ${n.gap(S.sm)};
|
|
470
|
+
grid-template-columns: ${R.sm};
|
|
471
|
+
height: ${Fn[N.sm]};
|
|
472
|
+
width: ${Fn[O.sm]};
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
${r.break(D.ExtraSmall)} {
|
|
477
|
+
&.ZGrid-root {
|
|
478
|
+
gap: ${n.gap(S.xs)};
|
|
479
|
+
grid-template-columns: ${R.xs};
|
|
480
|
+
height: ${Fn[N.xs]};
|
|
481
|
+
width: ${Fn[O.xs]};
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
`);return w.jsx("div",{className:fe("ZGrid-root",s,E),children:c})}({...Jt(ja(1,1),"rem")});function R6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class N6{name(n){return this._point.name=n,this}fashion(n){return this._point.fashion=n,this}build(){return structuredClone(this._point)}constructor(n,r){R6(this,"_point",void 0),this._point={x:n,y:r}}}function $6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class z6 extends Te{async points(){const n=await this.driver.query(".ZChart-point");return Promise.all(n.map(async r=>{const l=await r.attribute("data-x","0"),s=await r.attribute("data-y","0"),c=await r.attribute("data-name",""),d=await r.attribute("data-fashion","");return new N6(+l,+s).name(c).fashion(new ke().name(d).build()).build()}))}}$6(z6,"Selector",".ZChart-root");class Uo extends Te{value(){return this.driver.attribute("data-value")}async text(){return this.driver.text()}async remove(){let n=this.driver;if((await this.driver.classes(["ZChoice-remove"])).length||([n]=await this.driver.query(".ZChoice-remove")),n==null)return;const l=new Ie().click().build();await n.perform(l)}}function q6(t){const n=xt(),{component:r}=Me(),{children:l,className:s,fashion:c,prefix:d,suffix:g}=t,m=new Gt(J(r,c)),h=Ze(Ne`
|
|
485
|
+
& {
|
|
486
|
+
background-color: ${m.idle.main};
|
|
487
|
+
border-radius: ${n.rounding(D.Small)};
|
|
488
|
+
color: ${m.idle.contrast};
|
|
489
|
+
padding: ${n.gap(D.ExtraSmall)};
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.ZChip-prefix,
|
|
493
|
+
.ZChip-suffix {
|
|
494
|
+
display: inline-flex;
|
|
495
|
+
}
|
|
496
|
+
`);return w.jsxs(Ve,{align:{items:"center"},className:fe("ZChip-root",h,s),"data-fashion":c?.name,orientation:dn.Horizontal,gap:D.ExtraSmall,...em(t),children:[d&&w.jsx("div",{className:"ZChip-prefix",children:d}),w.jsx($m,{grow:1,className:"ZChip-body",children:l}),g&&w.jsx("div",{className:"ZChip-suffix",children:g})]})}function xx(t,n,r={}){const{open:l,onClose:s,persistent:c}=n,d=async()=>{t.showModal(),await r.onAfterOpen?.call(null),t.focus()},g=async()=>{t.open&&(t.classList.add("closing"),await BO(150),t.close(),t.classList.remove("closing"),s?.call(null))};const m=b=>{const v=b.currentTarget.getBoundingClientRect();!(v.top<=b.clientY&&b.clientY<=v.bottom&&v.left<=b.clientX&&b.clientX<=v.right)&&!c&&g()},h=b=>{b.code===Qe.escape.code&&(b.preventDefault(),!c&&g())};return C.useEffect(()=>{l?d():g()},[t,l]),{closeOnBackdropClick:m,closeOnEscapeKey:h}}const Du={...Jt(ja(5,10),"rem"),...Hn()};function j6(t){const{className:n,children:r,compact:l,fashion:s,attach:c,attachOrigin:d=[jt.Bottom,Ut.Left],popupOrigin:g=[jt.Top,Ut.Left],name:m,height:h,scrollContainer:b=document.documentElement,renderHeader:v,renderFooter:O}=t,{component:N}=Me(),R=ca(),S=xt(),E=C.useRef(document.createElement("dialog")),j=new Gt(J(N,s)),x=jw(),$=new Zt(h,ge.Default),q=C.useCallback(()=>J(document.body,c,E.current.parentElement),[c]),U=C.useCallback(()=>{const de=E.current,te=q(),Ye=new Lt(0).copy(te.getBoundingClientRect()).build();return de.style.minWidth=`${new ti(Ye).width()}px`,Promise.resolve()},[q]),X=C.useCallback(()=>{const de=E.current,te=q(),Ye=new Lt(0).copy(te.getBoundingClientRect()).build(),Z=new Lt(0).copy(de.getBoundingClientRect()).build(),{left:_,top:P}=new ti(Ye).attach(d,Z,g);return de.style.left=`${_}px`,de.style.top=`${P}px`,Promise.resolve()},[q]),H=C.useCallback(async()=>{const de=new Lt(0).bottom(b.clientHeight).right(b.clientWidth).build(),te=new Lt(0).copy(E.current.getBoundingClientRect()).build(),Ye=new ti(de).offsetToFit(te);return E.current.style.left=`${Ye.left}px`,E.current.style.top=`${Ye.top}px`,Promise.resolve()},[b]),ie=C.useCallback(async()=>{await U(),await X(),await H()},[c,E.current,b]),{closeOnBackdropClick:ae,closeOnEscapeKey:Ae}=xx(E.current,t,{onAfterOpen:ie}),at=Ze(Ne`
|
|
497
|
+
& {
|
|
498
|
+
background-color: ${N.idle.main};
|
|
499
|
+
border-color: ${N.idle.border};
|
|
500
|
+
border-radius: ${S.rounding(D.ExtraSmall)};
|
|
501
|
+
border-style: solid;
|
|
502
|
+
border-width: ${S.thickness(D.ExtraSmall)};
|
|
503
|
+
color: ${N.idle.contrast};
|
|
504
|
+
padding: 0;
|
|
505
|
+
margin: 0;
|
|
506
|
+
z-index: 1000;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
&::backdrop,
|
|
510
|
+
&.closing {
|
|
511
|
+
opacity: 0;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
&[open] {
|
|
515
|
+
display: flex;
|
|
516
|
+
flex-direction: column;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.ZDialog-header,
|
|
520
|
+
.ZDialog-footer,
|
|
521
|
+
.ZDialog-content {
|
|
522
|
+
padding: ${S.gap(l?D.ExtraSmall:D.Small)};
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.ZDialog-header {
|
|
526
|
+
background-color: ${j.idle.main};
|
|
527
|
+
color: ${j.idle.contrast};
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.ZDialog-content {
|
|
531
|
+
flex-grow: 1;
|
|
532
|
+
overflow: auto;
|
|
533
|
+
max-height: ${Du[$.xl]};
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
${R.break(D.Large)} {
|
|
537
|
+
max-height: ${Du[$.lg]};
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
${R.break(D.Medium)} {
|
|
541
|
+
max-height: ${Du[$.md]};
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
${R.break(D.Small)} {
|
|
545
|
+
max-height: ${Du[$.sm]};
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
${R.break(D.ExtraSmall)} {
|
|
549
|
+
max-height: ${Du[$.xs]};
|
|
550
|
+
}
|
|
551
|
+
`);return C.useEffect(()=>(de=>(x.removeEventListener("resize",de),x.removeEventListener("scroll",de),x.addEventListener("resize",de),x.addEventListener("scroll",de),()=>{x.removeEventListener("resize",de),x.removeEventListener("scroll",de)}))(ie),[ie,x]),w.jsxs("dialog",{className:fe("ZDialog-root","ZDialog-popup",n,at),onClick:ae,onKeyDown:Ae,"data-name":m,"data-fashion":s?.name,ref:E,children:[v&&w.jsx("div",{className:"ZDialog-header","aria-description":"Drawer Header",children:v.call(null)}),w.jsx("div",{className:"ZDialog-content","aria-description":"Drawer Body",children:r}),O&&w.jsx("div",{className:"ZDialog-footer","aria-description":"Drawer Footer",children:O.call(null)})]})}function zu(t){const n=xt(),{children:r,className:l,compact:s,cursor:c,interactive:d,name:g,highlight:m,...h}=t,b=s?n.gap(D.ExtraSmall):n.gap(D.Small),v=s?n.gap(D.ExtraSmall):n.gap(D.Large),O=Ze(Ne`
|
|
552
|
+
& {
|
|
553
|
+
box-sizing: border-box;
|
|
554
|
+
cursor: ${c};
|
|
555
|
+
padding: ${b} ${v};
|
|
556
|
+
width: 100%;
|
|
557
|
+
}
|
|
558
|
+
`);return w.jsx("li",{...h,className:fe("ZListItem-root",O,l),"data-name":g,"data-interactive":d,"data-highlight":m,tabIndex:d?0:void 0,role:"listitem",children:r})}function _x(t){const{primary:n}=Me(),r=xt(),{className:l,children:s,fashion:c,name:d,compact:g}=t,m=J(n,c),h=new Gt(m),b=Ze(Ne`
|
|
559
|
+
& {
|
|
560
|
+
border: ${r.thickness(D.ExtraSmall)} solid transparent;
|
|
561
|
+
list-style: none;
|
|
562
|
+
margin: 0;
|
|
563
|
+
padding: ${r.gap(g?la.None:D.ExtraSmall)};
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
li[data-highlight="true"] {
|
|
567
|
+
background-color: ${h.idle.main};
|
|
568
|
+
border-color: ${h.idle.border};
|
|
569
|
+
color: ${h.idle.contrast};
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
li[data-interactive]:hover {
|
|
573
|
+
background-color: ${h.hover.main};
|
|
574
|
+
border-color: ${h.hover.border};
|
|
575
|
+
color: ${h.hover.contrast};
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
li[data-interactive]:focus {
|
|
579
|
+
background-color: ${h.focus.main};
|
|
580
|
+
border-color: ${h.focus.border};
|
|
581
|
+
color: ${h.focus.contrast};
|
|
582
|
+
outline: none;
|
|
583
|
+
}
|
|
584
|
+
`);return w.jsx("ul",{className:fe("ZList-root",l,b),"data-name":d,"data-fashion":m.name,role:"list",children:s})}function U6(t){const{value:n,onValueChange:r,options:l=[],identifier:s=Fu,display:c=S,multiple:d,renderOption:g=c}=t,m=n===void 0?void 0:z1(J([],n)),h=x=>{if(!x.length){r?.call(null,null);return}if(d){r?.call(null,x);return}r?.call(null,HC(x))},[b,v]=Mr(m,h,[]),[O,N]=C.useMemo(R,[l,s]);function R(){const x=l.map(q=>({key:xO(),value:s(q),option:q})),$=new Map;return x.forEach(q=>{$.set(q.option,q),$.set(q.value,q),$.set(q.key,q)}),[x,$]}function S(x){return String(x)}function E(x){return!!b&&b.indexOf(x)>=0}function j(x){const $=E(x);if(!d&&$)return;let q=J([],b);$?q=q.filter(U=>U!==x):q=d?[...q,x]:[x],v(q)}return{choices:O,lookup:N,value:b,display:c,render:g,isValueSelected:E,toggleValue:j,setValue:v}}function L6(t){const{component:n,primary:r,transparent:l,error:s}=Me(),c=xt(),{className:d,label:g,multiple:m,required:h,disabled:b,indelible:v,name:O}=t,N=C.useRef(null),[R,S]=C.useState(!1),E=R?"chevron-up":"chevron-down",j=()=>S(_=>!_),{tabIndex:x,onKey:$}=_c(j),{choices:q,render:U,value:X,lookup:H,toggleValue:ie,isValueSelected:ae,setValue:Ae}=U6(t),at=Ze(Ne`
|
|
585
|
+
&[data-disabled="true"] {
|
|
586
|
+
pointer-events: none;
|
|
587
|
+
}
|
|
588
|
+
&[data-disabled="true"] .ZChoice-values {
|
|
589
|
+
opacity: 0.35;
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
.ZChoice-values {
|
|
593
|
+
align-items: center;
|
|
594
|
+
background-color: ${n.idle.main};
|
|
595
|
+
border-radius: ${c.rounding(D.ExtraSmall)};
|
|
596
|
+
border-style: solid;
|
|
597
|
+
border-width: ${c.thickness(D.Medium)};
|
|
598
|
+
color: ${n.idle.contrast};
|
|
599
|
+
cursor: pointer;
|
|
600
|
+
display: flex;
|
|
601
|
+
gap: ${c.gap(D.ExtraSmall)};
|
|
602
|
+
min-height: 2.5rem;
|
|
603
|
+
outline: none;
|
|
604
|
+
padding: calc(${c.gap(D.Small)} / 8)
|
|
605
|
+
${c.gap(D.ExtraSmall)};
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.ZChoice-toggler {
|
|
609
|
+
display: inline-flex;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.ZChoice-clear:hover,
|
|
613
|
+
.ZChoice-remove:hover {
|
|
614
|
+
color: ${s.idle.main};
|
|
615
|
+
}
|
|
616
|
+
|
|
617
|
+
.ZChoice-value {
|
|
618
|
+
flex-grow: 1;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
&[data-multiple="true"] .ZChoice-value {
|
|
622
|
+
flex-grow: 0;
|
|
623
|
+
}
|
|
624
|
+
`),de=_=>{const P=H.get(_),I=P==null?String(_):P.key,se=P==null?_:P.value,re=P==null?String(_):U(P.option),A=ee=>{ee.stopPropagation(),ie(_)},Q=w.jsx(ye,{className:"ZChoice-remove",name:"xmark",width:D.ExtraSmall,onClick:A});return w.jsx(q6,{className:"ZChoice-value",fashion:m?r:l,"data-value":se,suffix:m?Q:null,children:re},I)},te=()=>{let _=X;return _.length?(m||(_=_.slice(0,1)),w.jsx(Ve,{className:"ZChoice-value-list",orientation:dn.Horizontal,gap:D.ExtraSmall,wrap:"wrap",children:_.map(de)})):null},Ye=_=>{ie(_),m||S(!1)},Z=_=>{_.stopPropagation(),Ae([])};return w.jsxs("div",{className:fe("ZChoice-root","ZChoice-select",at,d),"data-disabled":b,"data-multiple":m,"data-name":O,children:[w.jsx(Cc,{label:g,LabelProps:{required:h,className:"ZChoice-label"},children:w.jsxs("div",{className:"ZChoice-values",onClick:j,tabIndex:x,onKeyDown:$,children:[w.jsx($m,{grow:1,children:te()}),!v&&!!X.length&&w.jsx(ye,{className:"ZChoice-clear",name:"xmark",width:D.ExtraSmall,onClick:Z}),w.jsx(ye,{className:"ZChoice-toggler",name:E,width:D.ExtraSmall})]})}),w.jsx(j6,{className:"ZChoice-options-popup",attach:N.current,compact:!0,open:R,onClose:S.bind(null,!1),height:{xl:D.ExtraLarge,md:D.Large},name:"choice-popup",children:w.jsx(_x,{compact:!0,children:q.map(_=>w.jsx(zu,{className:"ZChoice-option",compact:!0,cursor:"pointer",interactive:!0,highlight:ae(_.value),"data-value":_.value,onClick:Ye.bind(null,_.value),onKeyDown:qw(Ye.bind(null,_.value)),children:U(_.option)},_.key))})})]})}function B6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Sx extends Te{async anchor(){return await this.driver.attribute("data-anchor")}async opened(){return await this.driver.attribute("open")!=null}async header(){const[n]=await this.driver.query(".ZDialog-header");return J(null,n)}async footer(){const[n]=await this.driver.query(".ZDialog-footer");return J(null,n)}async fashion(){return this.driver.attribute("data-fashion")}async close(){const n=new Ie().press(Qe.escape).build();await this.driver.perform(n)}async waitForOpen(){return this.driver.wait(()=>this.opened())}async waitForClose(){return this.driver.wait(()=>this.opened().then(n=>!n))}}B6(Sx,"Selector",".ZDialog-root");function H6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Tx extends Te{async label(){const[n]=await Pe.all(this.driver,is,".ZChoice-label");return J(null,n)}async selected(){const n=await this.driver.query(".ZChoice-value");return Array.from(n).map(r=>new Uo(r))}async disabled(){const[n]=await this.driver.query("input,button"),r=await this.driver.attribute("data-disabled","false");return await n?.disabled()||r!=="false"}async closable(){return(await this.driver.classes(["ZChoice-always-open"])).length===0}_popup(){return Pe.first(this.driver,Sx,"choice-popup")}async opened(){return await this.closable()?(await this._popup()).opened():!0}async _toggle(){const n=await this.driver.select(".ZChoice-root .ZChoice-toggler"),r=new Ie().click().build();await n.perform(r)}async open(){if(await this.opened()||await this._toggle(),await this.closable()){const s=await this._popup();return await s.waitForOpen(),(await s.driver.query(".ZChoice-option")).map(d=>new Uo(d))}return(await this.driver.query(".ZChoice-option")).map(s=>new Uo(s))}async close(){if(!await this.closable())return;const r=await this._popup();await r.opened()&&(await this._toggle(),await r.waitForClose())}async select(n){const r=await this.open(),l=await(n instanceof Uo?n.value():Promise.resolve(String(n)));let s=await Promise.all(r.map(d=>d.value())),c=Lb(s,d=>d===l);if(c<0&&(s=await Promise.all(r.map(d=>d.text())),c=Lb(s,d=>d===l)),c>=0){const d=r[c],g=new Ie().click().build();await d.driver.perform(g)}}async clear(){const[n]=await this.driver.query(".ZChoice-clear");if(!n)return;const r=new Ie().click().build();await n.perform(r)}}H6(Tx,"Selector",".ZChoice-root");function Z6(t){const{anchor:n,className:r,children:l,fashion:s,name:c,renderHeader:d,renderFooter:g}=t,{surface:m}=Me(),h=xt(),b=C.useRef(document.createElement("dialog")),v=new Gt(J(m,s)),{closeOnBackdropClick:O,closeOnEscapeKey:N}=xx(b.current,t);let R="max-content",S="100%",E="translateX(-100%)",j="translateX(0)",x="0",$="0",q="0";n===Ut.Right&&(E="translateX(100%)",x="auto"),n===jt.Bottom&&(S="max-content",$="auto",E="translateY(100%)",j="translateY(0)",R="100%"),n===jt.Top&&(S="max-content",q="auto",E="translateY(-100%)",j="translateY(0)",R="100%");const U=dx(Ne`
|
|
625
|
+
from {
|
|
626
|
+
transform: ${E};
|
|
627
|
+
}
|
|
628
|
+
to {
|
|
629
|
+
transform: ${j};
|
|
630
|
+
}
|
|
631
|
+
`),X=Ze(Ne`
|
|
632
|
+
& {
|
|
633
|
+
background-color: ${m.idle.main};
|
|
634
|
+
border: 0;
|
|
635
|
+
color: ${m.idle.contrast};
|
|
636
|
+
height: ${S};
|
|
637
|
+
margin-bottom: ${q};
|
|
638
|
+
margin-left: ${x};
|
|
639
|
+
margin-right: 0;
|
|
640
|
+
margin-top: ${$};
|
|
641
|
+
max-height: 100%;
|
|
642
|
+
max-width: 100%;
|
|
643
|
+
padding: 0;
|
|
644
|
+
transform: ${E};
|
|
645
|
+
transition: transform 200ms linear;
|
|
646
|
+
width: ${R};
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
&::backdrop {
|
|
650
|
+
background-color: ${zh()};
|
|
651
|
+
opacity: 0.75;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
&[open] {
|
|
655
|
+
animation: ${U} 200ms linear;
|
|
656
|
+
transform: ${j};
|
|
657
|
+
display: flex;
|
|
658
|
+
flex-direction: column;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
&.closing {
|
|
662
|
+
transform: ${E};
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
.ZDialog-header,
|
|
666
|
+
.ZDialog-footer,
|
|
667
|
+
.ZDialog-content {
|
|
668
|
+
padding: ${h.gap(D.Small)};
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
.ZDialog-header {
|
|
672
|
+
background-color: ${v.idle.main};
|
|
673
|
+
color: ${v.idle.contrast};
|
|
674
|
+
}
|
|
675
|
+
|
|
676
|
+
.ZDialog-content {
|
|
677
|
+
flex-grow: 1;
|
|
678
|
+
overflow: auto;
|
|
679
|
+
}
|
|
680
|
+
`);return w.jsxs("dialog",{className:fe("ZDialog-root","ZDialog-drawer",r,X),onClick:O,onKeyDown:N,"data-anchor":n,"data-name":c,"data-fashion":s?.name,role:"dialog",ref:b,children:[d&&w.jsx("div",{className:"ZDialog-header","aria-description":"Drawer Header",children:d.call(null)}),w.jsx("div",{className:"ZDialog-content","aria-description":"Drawer Body",children:l}),g&&w.jsx("div",{className:"ZDialog-footer","aria-description":"Drawer Footer",children:g.call(null)})]})}Object.freeze({...Jt(ja(10,20),"rem"),...Hn()});Object.freeze({...Jt(ja(3,20),"rem"),...Hn()});function Y6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Ex extends Te{underlying(){return Pe.first(this.driver,xr)}}Y6(Ex,"Selector",".ZFormButton-root");function G6(){return{original:{},current:{},setCurrent:ri,reset:ri}}const Ox=C.createContext(G6()),Mx=()=>C.useContext(Ox);function _v(t){const{ButtonProps:n,type:r="submit"}=t,{primary:l,secondary:s}=Me(),{current:c,original:d}=Mx(),g=r==="reset"?s:l,m=H1(r),h=C.useMemo(()=>JSON.stringify(c)!==JSON.stringify(d),[c,d]);return w.jsx("div",{className:"ZFormButton-root","data-name":r,children:w.jsx(Vu,{label:m,fashion:g,...n,type:r,disabled:!h})})}class k6{render(n,r){const{current:l,setCurrent:s}=n,c=J("",r.path),d=li(l,c,!1),g=m=>{const h=structuredClone(l);om(h,c,m),s(h)};return w.jsx(d6,{value:d,label:r.name,onValueChange:g})}}class P6{render(){return null}}class Sv{render(n,r){const{current:l,setCurrent:s}=n,c=J("",r.path),d=li(l,c,""),g=m=>{const h=structuredClone(l);om(h,c,m),s(h)};return w.jsx(jm,{value:d,label:r.name,onValueChange:g})}}function Fh(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Ax extends Te{async _input(){try{return await this.driver.select("input")}catch{return await this.driver.select("textarea")}}async value(){const n=await this._input();return J("",await n.value())}async disabled(){return(await this._input()).disabled()}async label(){const[n]=await Pe.all(this.driver,is,".ZText-label");return J(null,n)}async masked(){return await(await this._input()).attribute("type")==="password"}async readOnly(){return await(await this._input()).attribute("readOnly")!=null}async keyboard(n,r=Qe.tab){const l=new Ie().click().type(n).press(r).build();return await(await this._input()).perform(l),this.value()}async clear(n=Qe.tab){const r=await this.value(),l=new Ie().click().press(Qe.delete,r.length).press(Qe.backspace,r.length).press(n).build();return await(await this._input()).perform(l),this.value()}async essay(n){let r=new Ie().click();return n.forEach(s=>{r=r.type(s).press(Qe.enter).press(Qe.enter)}),r=r.press(Qe.tab),await(await this._input()).perform(r.build()),this.value()}async _adornment(n){const r=`.ZText-${n}`,[l]=await this.driver.query(r);return l||null}constructor(...n){super(...n),Fh(this,"prefix",this._adornment.bind(this,"prefix")),Fh(this,"suffix",this._adornment.bind(this,"suffix"))}}Fh(Ax,"Selector",".ZText-root");function V6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Cx extends Te{text(){return Pe.optional(this.driver,Ax)}boolean(){return Pe.optional(this.driver,yx)}}V6(Cx,"Selector",".ZFormField-root");function X6(t){const{metadata:n}=t,{id:r}=n,l=Mx(),s=C.useMemo(()=>new P6,[]),c=C.useMemo(()=>({[sh.Text]:new Sv,[sh.File]:new Sv,[sh.Boolean]:new k6}),[]),d=C.useMemo(()=>J(s,c[n.type]),[n.type,s,c]);return w.jsx("div",{className:"ZFormField-root","data-name":r,children:d.render(l,n)})}function Q6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class F6 extends Te{field(n){return Pe.first(this.driver,Cx,n)}button(n){return Pe.first(this.driver,Ex,n)}}Q6(F6,"Selector",".ZForm-root");function K6(t){const{children:n,value:r,onValueChange:l}=t,[s,c]=Mr(r,l,{}),[d,g]=C.useState(s),m=C.useCallback(ri,[]),h=C.useMemo(()=>({original:s,current:d,setCurrent:g,reset:m}),[s,d,m]);C.useEffect(()=>{g(s)},[s]);const b=O=>{O.preventDefault(),c(d)},v=O=>{O.preventDefault(),g(s)};return w.jsx(Ox,{value:h,children:w.jsx("form",{className:"ZForm-root",onSubmit:b,onReset:v,children:n})})}function J6(t){const n=xt(),{children:r}=t,l=Ze(Ne`
|
|
681
|
+
& {
|
|
682
|
+
padding: ${n.gap()};
|
|
683
|
+
position: absolute;
|
|
684
|
+
inset: 0;
|
|
685
|
+
}
|
|
686
|
+
`);return w.jsx("div",{className:fe("ZFullScreen-root",l),children:r})}function W6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class qm extends Te{async disabled(){return await this.driver.attribute("data-disabled","false")!=="false"}async loading(){return!await this.disabled()}fashion(){return this.driver.attribute("data-fashion","Inherit")}load(){return this.driver.wait(()=>this.disabled())}}W6(qm,"Selector",".ZSuspense-root");function I6(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class ez extends Te{async error(){return Pe.optional(this.driver,cx,"grid-error")}async suspense(){return Pe.first(this.driver,qm,"grid-loading")}}I6(ez,"Selector",".ZGridView-root");const Ru=Jt(ja(.5,1),"rem");function ls(t){const{className:n,disabled:r,height:l,name:s,fashion:c}=t,{primary:d}=Me(),g=ca(),m=J(d,c),h=new Zt(l,D.Medium),b=new Gt(m),v=dx(Ne`
|
|
687
|
+
from {
|
|
688
|
+
transform: translateX(-100%);
|
|
689
|
+
}
|
|
690
|
+
to {
|
|
691
|
+
transform: translateX(400%);
|
|
692
|
+
}
|
|
693
|
+
`),O=Ze(Ne`
|
|
694
|
+
& {
|
|
695
|
+
background-color: currentcolor;
|
|
696
|
+
box-sizing: border-box;
|
|
697
|
+
display: ${r?"none":"block"};
|
|
698
|
+
height: ${Ru[h.xl]};
|
|
699
|
+
overflow: hidden;
|
|
700
|
+
position: relative;
|
|
701
|
+
width: 100%;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
.ZSuspense-progress-scroll {
|
|
705
|
+
animation: ${v} 1.5s ease-in-out infinite;
|
|
706
|
+
position: absolute;
|
|
707
|
+
background-color: ${b.idle.main};
|
|
708
|
+
inset: 0;
|
|
709
|
+
width: 25%;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
${g.break(D.Large)} {
|
|
713
|
+
& {
|
|
714
|
+
height: ${Ru[h.lg]};
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
${g.break(D.Medium)} {
|
|
718
|
+
& {
|
|
719
|
+
height: ${Ru[h.md]};
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
${g.break(D.Small)} {
|
|
723
|
+
& {
|
|
724
|
+
height: ${Ru[h.sm]};
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
${g.break(D.ExtraSmall)} {
|
|
728
|
+
& {
|
|
729
|
+
height: ${Ru[h.xs]};
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
`);return w.jsx("div",{className:fe("ZSuspense-root","ZSuspense-progress",n,O),"data-disabled":r,"data-fashion":m.name,"data-name":s,children:w.jsx("div",{className:"ZSuspense-progress-scroll"})})}const tz=new ei([]);function Dc(t){const{GridProps:n,SuspenseProps:r,renderItem:l,heading:s,subHeading:c,footer:d,dataSource:g=tz,className:m,value:h}=t,[b]=Mr(h,void 0,new Dn().build()),[v]=ns(()=>g.retrieve(b),[g,b]),O=Me(),N=S=>w.jsx(Ve,{gap:D.Small,children:w.jsx(Cn,{...n,children:S.map((E,j)=>l(E,j))})}),R=S=>w.jsx(Rm,{className:fe("ZGridView-error"),name:"grid-error",message:S.message,fashion:O.error,heading:w.jsx(r6,{compact:!0,children:"Error"}),avatar:w.jsx(ye,{name:"circle-exclamation",width:D.Small})});return w.jsxs(Ve,{className:fe("ZGridView-root",m),gap:D.Medium,children:[s,c,w.jsx(ls,{...r,name:"grid-loading",disabled:!vl(v)}),w.jsx(hx,{value:v,children:R}),w.jsx(mx,{value:v,children:N}),d]})}function nz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class az extends Te{name(){return this.driver.attribute("data-name","")}vendor(){return this.driver.attribute("data-vendor","unknown")}fashion(){return this.driver.attribute("data-fashion")}async click(){await this.driver.perform(new Ie().click().build())}}nz(az,"Selector",".ZIcon-root");function Wo(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class rz extends Te{name(){return this.driver.attribute("data-name")}async isTag(n){return(await this.driver.tag()).toUpperCase().localeCompare(n.toUpperCase())===0}constructor(...n){super(...n),Wo(this,"svg",this.isTag.bind(this,"SVG")),Wo(this,"img",this.isTag.bind(this,"IMG")),Wo(this,"empty",this.isTag.bind(this,"DIV"))}}Wo(rz,"Selector",".ZImage-root");const Kn={...Jt(Wu(2,1),"rem"),...Hn(),...br()};function Rc(t){const n=ca(),{className:r,fit:l="fill",src:s,height:c,width:d,name:g}=t,m=new Zt(c,ge.Default),h=new Zt(d,ge.Default),b=Ze(Ne`
|
|
733
|
+
& {
|
|
734
|
+
object-fit: ${l};
|
|
735
|
+
width: ${Kn[h.xl]};
|
|
736
|
+
height: ${Kn[m.xl]};
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
${n.break(D.Large)} {
|
|
740
|
+
& {
|
|
741
|
+
width: ${Kn[h.lg]};
|
|
742
|
+
height: ${Kn[m.lg]};
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
${n.break(D.Medium)} {
|
|
747
|
+
& {
|
|
748
|
+
width: ${Kn[h.md]};
|
|
749
|
+
height: ${Kn[m.md]};
|
|
750
|
+
}
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
${n.break(D.Small)} {
|
|
754
|
+
& {
|
|
755
|
+
width: ${Kn[h.sm]};
|
|
756
|
+
height: ${Kn[m.sm]};
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
${n.break(D.ExtraSmall)} {
|
|
761
|
+
& {
|
|
762
|
+
width: ${Kn[h.xs]};
|
|
763
|
+
height: ${Kn[m.xs]};
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
`),v=fe("ZImage-root",r,b);return s?w.jsx("img",{className:v,"data-name":g,src:s,alt:g}):w.jsx("div",{className:v,"data-name":g})}function iz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class qu extends Te{name(){return this.driver.attribute("data-name")}async click(){const n=new Ie().click().build();await this.driver.perform(n)}}iz(qu,"Selector",".ZListItem-root");function lz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class uz extends Te{async items(){const r=(await this.driver.query(qu.Selector)).map(l=>new qu(l));return Promise.resolve(r)}async item(n){const r=`${qu.Selector}[data-name="${n}"]`,[l]=await this.driver.query(r);return l==null?null:new qu(l)}}lz(uz,"Selector",".ZList-root");function sz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class oz extends Te{async returnHome(){await(await Pe.first(this.driver,xr,"return-home")).click()}}sz(oz,"Selector",".ZNotFound-root");function cz(){const t=Ze(Ne`
|
|
767
|
+
& {
|
|
768
|
+
height: 3rem;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.a {
|
|
772
|
+
fill: #f8de40;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.b {
|
|
776
|
+
fill: #e7c930;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.c {
|
|
780
|
+
fill: #864e20;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.d {
|
|
784
|
+
fill: #26a9e0;
|
|
785
|
+
}
|
|
786
|
+
`);return w.jsxs("svg",{className:fe("ZSadFace-root",t),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[w.jsx("rect",{className:"a",x:"1",y:"1",width:"22",height:"22",rx:"7.656"}),w.jsx("path",{className:"b",d:"M23,13.938a14.69,14.69,0,0,1-12.406,6.531c-5.542,0-6.563-1-9.142-2.529A7.66,7.66,0,0,0,8.656,23h6.688A7.656,7.656,0,0,0,23,15.344Z"}),w.jsx("path",{className:"c",d:"M7.055,7.313A1.747,1.747,0,1,0,8.8,9.059,1.747,1.747,0,0,0,7.055,7.313Z"}),w.jsx("path",{className:"c",d:"M16.958,7.313A1.747,1.747,0,1,0,18.7,9.059,1.747,1.747,0,0,0,16.958,7.313Z"}),w.jsx("path",{className:"d",d:"M8.42,13.921A4.184,4.184,0,0,0,7.054,11.38a4.185,4.185,0,0,0-1.365,2.541c-.111,1.476.937,1.762,1.365,1.762S8.531,15.4,8.42,13.921Z"}),w.jsx("path",{className:"c",d:"M14.512,13.366a5.943,5.943,0,0,0-5.024,0c-.592.369-.557-.694.753-.974A7.35,7.35,0,0,1,12,12.078a7.35,7.35,0,0,1,1.759.314C15.069,12.672,15.1,13.735,14.512,13.366Z"}),w.jsx("path",{className:"b",d:"M13.074,14.269a2.542,2.542,0,0,0-2.148,0c-.253.158-.238-.3.322-.416A3.144,3.144,0,0,1,12,13.719a3.144,3.144,0,0,1,.752.134C13.312,13.973,13.327,14.427,13.074,14.269Z"})]})}function fz(t){const{home:n="/"}=t,r=G$(Jo.NotFound),s=`${Y$(Jo.NotFound)} (${Jo.NotFound})`,c=Sl(),{error:d}=Me();return w.jsx(J6,{children:w.jsx(Cn,{className:"ZNotFound-root",justify:{content:"center"},align:{content:"center"},height:ge.Full,children:w.jsx(An,{TitleProps:{avatar:w.jsx(cz,{}),heading:s},footer:w.jsx(Vu,{className:"ZNotFound-back",name:"return-home",label:"Return home",width:ge.Full,fashion:d,onClick:()=>c(n)}),children:w.jsx(ai,{className:"ZNotFound-description",children:r})})})})}function Dx(t,n,r){t!==n&&r(t)}function dz(t){const{name:n,disabled:r,value:l,required:s,placeholder:c,readOnly:d,onValueChange:g=ri}=t,m=C.useId(),[h,b]=C.useState(l||"");return C.useEffect(()=>{b(l||"")},[l]),{disabled:r,value:h,name:n,required:s,placeholder:c,readOnly:d,id:m,onBlur:()=>Dx(h||"",l||"",g),onInput:v=>b(v.currentTarget.value)}}function hz(t,n=ri){const{value:r,onValueChange:l=ri}=t;return s=>{if(n(s),!s.defaultPrevented&&s.code===Qe.enter.code){const c=li(s.target,"value","");Dx(c||"",r||"",l)}}}const jm=C.forwardRef(function(n,r){const{className:l,fashion:s,type:c="text",name:d,label:g,required:m,orientation:h,prefix:b,suffix:v,onKeyDown:O,onValueChange:N,...R}=n,S=xt(),E=dz(n),j=hz(n,O),{component:x,primary:$}=Me(),q=J($,s),U=new Gt(q),X=Ze(Ne`
|
|
787
|
+
input {
|
|
788
|
+
background: transparent;
|
|
789
|
+
border: none;
|
|
790
|
+
color: inherit;
|
|
791
|
+
width: 100%;
|
|
792
|
+
height: 100%;
|
|
793
|
+
outline: none;
|
|
794
|
+
padding: 0;
|
|
795
|
+
margin: 0;
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
input:focus,
|
|
799
|
+
input:focus-visible,
|
|
800
|
+
input:focus-within {
|
|
801
|
+
border: none;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
.ZText-input {
|
|
805
|
+
align-items: center;
|
|
806
|
+
background-color: ${x.idle.main};
|
|
807
|
+
border-radius: ${S.rounding(D.ExtraSmall)};
|
|
808
|
+
border-style: solid;
|
|
809
|
+
border-width: ${S.thickness(D.Medium)};
|
|
810
|
+
display: flex;
|
|
811
|
+
color: ${x.idle.contrast};
|
|
812
|
+
gap: ${S.gap(D.ExtraSmall)};
|
|
813
|
+
height: 2.5rem;
|
|
814
|
+
outline: none;
|
|
815
|
+
padding: 0 ${S.gap(D.ExtraSmall)};
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.ZText-input[data-disabled="true"] {
|
|
819
|
+
opacity: 0.35;
|
|
820
|
+
pointer-events: none;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.ZText-input:hover:not([data-disabled="true"]) {
|
|
824
|
+
border-color: ${U.hover.border};
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
.ZText-input:focus-within {
|
|
828
|
+
border-color: ${U.idle.border};
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.ZText-input:active:not([data-disabled="true"]) {
|
|
832
|
+
border-color: ${U.active.border};
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.ZText-prefix,
|
|
836
|
+
.ZText-suffix {
|
|
837
|
+
display: inline-flex;
|
|
838
|
+
}
|
|
839
|
+
`);return w.jsx(Cc,{className:fe("ZText-root",X,l),label:g,LabelProps:{required:m,className:"ZText-label",htmlFor:E.id},orientation:h,name:d,children:w.jsxs("div",{className:"ZText-input","data-disabled":E.disabled,children:[b&&w.jsx("div",{className:"ZText-prefix",children:b}),w.jsx("input",{...R,...E,type:c,onKeyDown:j,ref:r}),v&&w.jsx("div",{className:"ZText-suffix",children:v})]})})});function mz(t){const{className:n,step:r=1,min:l=-1/0,max:s=1/0,name:c,value:d,label:g,required:m,fashion:h,onValueChange:b}=t,[v,O]=Mr(d,b,null),N=v!=null?String(v):"",R=Ze(Ne`
|
|
840
|
+
.ZNumber-spinner button {
|
|
841
|
+
width: 1rem;
|
|
842
|
+
height: 1rem;
|
|
843
|
+
padding: 0;
|
|
844
|
+
margin: 0;
|
|
845
|
+
font-size: inherit;
|
|
846
|
+
border: 0;
|
|
847
|
+
display: flex;
|
|
848
|
+
flex-direction: column;
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
svg: {
|
|
852
|
+
width: 100%;
|
|
853
|
+
height: 100%;
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
.ZNumber-spinner-chevron {
|
|
857
|
+
display: inline-flex;
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
.ZNumber-spinner-increment {
|
|
861
|
+
border-top-left-radius: 50%;
|
|
862
|
+
border-top-right-radius: 50%;
|
|
863
|
+
justify-self: flex-start;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.ZNumber-spinner-decrement {
|
|
867
|
+
border-bottom-left-radius: 50%;
|
|
868
|
+
border-bottom-right-radius: 50%;
|
|
869
|
+
justify-self: flex-end;
|
|
870
|
+
}
|
|
871
|
+
`),S=q=>{O(q.trim()===""?null:+q)},E=q=>{let U=Number.isNaN(v)?0:v;U=U||0;let X=U+q*r;X=Math.max(X,l),X=Math.min(X,s),O(X)},j=q=>{q.code===Qe.enter.code&&q.stopPropagation()},x=w.jsxs("div",{className:fe("ZNumber-spinner"),children:[w.jsx("button",{className:fe("ZNumber-spinner-increment"),onClick:E.bind(null,1),onKeyDown:j,children:w.jsx(ye,{className:"ZNumber-spinner-chevron",name:"chevron-up",width:D.ExtraSmall})}),w.jsx("button",{className:fe("ZNumber-spinner-decrement"),onClick:E.bind(null,-1),onKeyDown:j,children:w.jsx(ye,{className:"ZNumber-spinner-chevron",name:"chevron-down",width:D.ExtraSmall})})]}),$=q=>{q.code===Qe.upArrow.code&&(q.preventDefault(),E(1)),q.code===Qe.downArrow.code&&(q.preventDefault(),E(-1))};return w.jsx(Cc,{className:fe("ZNumber-root",R,n),label:g,LabelProps:{required:m,className:"ZNumber-label"},name:c,children:w.jsx(jm,{className:fe("ZNumber-input"),fashion:h,min:l,max:s,step:r,onKeyDown:$,value:N,onValueChange:S,suffix:x})})}function pz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Rx extends Te{_input(){return this.driver.select("input")}async step(){const n=await this._input();return+J("1",await n.attribute("step"))}async min(){const n=await this._input();return+J("0",await n.attribute("min"))}async max(){const n=await this._input();return+J("100",await n.attribute("max"))}async value(){const r=await(await this._input()).value();return r?+r:null}async label(){const[n]=await Pe.all(this.driver,is,".ZNumber-label");return J(null,n)}async _spinClick(n,r,l){const s=n>0?".ZNumber-spinner-increment":".ZNumber-spinner-decrement",[c]=await this.driver.query(s);r>0&&await c.perform(new Ie().click().build());for(let d=1;d<r;++d)await c.perform(new Ie().press(l).build());return this.value()}async _spinPress(n,r){const l=await this._input(),s=n>0?Qe.upArrow:Qe.downArrow;for(let c=0;c<r;++c)await l.perform(new Ie().click().press(s).build());return this.value()}increment(n=1,r=Qe.enter){return this._spinClick(1,n,r)}up(n=1){return this._spinPress(1,n)}decrement(n=1,r=Qe.enter){return this._spinClick(-1,n,r)}down(n=1){return this._spinPress(-1,n)}async keyboard(n){return await(await this._input()).perform(new Ie().click().type(n).press(Qe.tab).build()),this.value()}async clear(){const n=await this._input(),l=J("",await n.value()).length;let s=new Ie().click();for(let c=0;c<l;++c)s=s.press(Qe.backspace);for(let c=0;c<l;++c)s=s.press(Qe.delete);s=s.press(Qe.tab),await n.perform(s.build())}}pz(Rx,"Selector",".ZNumber-root");function gz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class yz extends Te{loader(){return Pe.first(this.driver,qm)}error(){return Pe.first(this.driver,bx,"error")}page(){return Pe.first(this.driver,Rx,"page")}size(){return Pe.first(this.driver,Tx,"size")}}gz(yz,"Selector",".ZPagination-root");const bz=[24,48,96,192],vz=bz,wz=new Dn().size(24).build(),xz=new ei([]);function Nx(t){const{className:n,dataSource:r=xz,infinity:l="All",value:s,onValueChange:c,sizes:d=vz}=t,{error:g,component:m}=Me(),[h,b]=Mr(s,c,wz),[v]=ns(()=>r.count(h),[r,h.filter,h.search]),O=R=>w.jsx(Pu,{className:"ZPagination-error",fashion:g,padding:D.ExtraSmall,border:{width:D.ExtraSmall},"data-name":"error",children:w.jsxs(Cn,{columns:"auto 1fr",align:{items:"center"},gap:D.ExtraSmall,children:[w.jsx(ye,{name:"exclamation-circle",width:D.Small}),w.jsx(cn,{className:"ZPagination-error-message",compact:!0,children:R.message})]})}),N=R=>{const{size:S=1/0,page:E=1}=h,j=S===1/0?1:Math.ceil(R/S),x=U=>b(X=>new Dn().copy(X).page(U).build()),$=U=>b(X=>new Dn().copy(X).size(U).build()),q=U=>U===1/0?l:String(U);return w.jsxs(Cn,{columns:{xl:"1fr auto",sm:"1fr"},align:{items:"center"},gap:D.Medium,children:[w.jsx(Ve,{orientation:dn.Horizontal,align:{items:"center"},children:w.jsxs(cn,{compact:!0,children:[R," items"]})}),w.jsxs(Cn,{columns:{xl:"7rem auto 7rem auto",sm:"1fr auto 1fr auto"},gap:D.ExtraSmall,align:{items:"center"},children:[w.jsx(L6,{value:S,options:d,indelible:!0,onValueChange:$,name:"size",display:q}),w.jsx(cn,{compact:!0,children:"items on page"}),w.jsx(mz,{value:E,onValueChange:x,min:1,max:j,name:"page"}),w.jsxs(cn,{compact:!0,children:["/ ",j]})]})]})};return w.jsxs(Pu,{className:fe("ZPagination-root",n),fashion:m,padding:D.ExtraSmall,border:{radius:D.ExtraSmall},children:[w.jsx(ls,{disabled:!vl(v)}),w.jsx(hx,{value:v,children:O}),w.jsx(mx,{value:v,children:N})]})}function Um(t){const{label:n="Search",name:r,value:l,onValueChange:s}=t,[c,d]=Mr(l,s,new Dn().build()),g=m=>{d(h=>new Dn().copy(h).search(m).page(1).build())};return w.jsx(jm,{label:n,className:"ZRequestSearch-root",value:c.search,onValueChange:g,suffix:w.jsx(ye,{name:"search",width:D.ExtraSmall}),name:r})}ja(2,2);function _z(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Sz extends Te{async click(){const n=new Ie().click().build();await this.driver.perform(n)}async enter(){const n=new Ie().press(Qe.enter).build();await this.driver.perform(n)}async space(){const n=new Ie().press(Qe.space).build();await this.driver.perform(n)}}_z(Sz,"Selector",".ZTile-root");function Lm(t){const{component:n}=Me(),{className:r,fashion:l=n,children:s,name:c,onActivate:d,...g}=t,m=b=>{b.preventDefault(),d?.call(null)},{onKey:h}=_c(m);return w.jsx(Pu,{className:fe("ZTile-root",r),border:{width:D.ExtraSmall,radius:D.ExtraSmall},fashion:l,interactive:!0,cursor:"pointer",padding:D.Small,onClick:m,onKeyDown:h,...em(g),"data-name":c,children:s})}function Tz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Ez extends Te{fashion(){return this.driver.attribute("data-fashion","Inherit")}}Tz(Ez,"Selector",".ZTypography-root");function Oz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Mz extends Te{card(){return Promise.resolve(new wx(this.driver))}async _footer(){const n=await this.card();return await UO(n.footer())}async page(){return+await this.driver.attribute("data-page","0")}async next(){return Pe.optional(await this._footer(),xr,"next")}async previous(){return Pe.first(await this._footer(),xr,"previous")}async finish(){return Pe.optional(await this._footer(),xr,"finish")}}Oz(Mz,"Selector",".ZWizard-root");function Az(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Cz extends Te{identity(){return this.driver.attribute("data-identity","?")}}Az(Cz,"Selector",".ZYouTubeVideo-root");var gh={exports:{}},Nu={},yh={exports:{}},bh={};var Tv;function Dz(){return Tv||(Tv=1,(function(t){function n(_,P){var I=_.length;_.push(P);e:for(;0<I;){var se=I-1>>>1,re=_[se];if(0<s(re,P))_[se]=P,_[I]=re,I=se;else break e}}function r(_){return _.length===0?null:_[0]}function l(_){if(_.length===0)return null;var P=_[0],I=_.pop();if(I!==P){_[0]=I;e:for(var se=0,re=_.length,A=re>>>1;se<A;){var Q=2*(se+1)-1,ee=_[Q],W=Q+1,ce=_[W];if(0>s(ee,I))W<re&&0>s(ce,ee)?(_[se]=ce,_[W]=I,se=W):(_[se]=ee,_[Q]=I,se=Q);else if(W<re&&0>s(ce,I))_[se]=ce,_[W]=I,se=W;else break e}}return P}function s(_,P){var I=_.sortIndex-P.sortIndex;return I!==0?I:_.id-P.id}if(t.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var c=performance;t.unstable_now=function(){return c.now()}}else{var d=Date,g=d.now();t.unstable_now=function(){return d.now()-g}}var m=[],h=[],b=1,v=null,O=3,N=!1,R=!1,S=!1,E=!1,j=typeof setTimeout=="function"?setTimeout:null,x=typeof clearTimeout=="function"?clearTimeout:null,$=typeof setImmediate<"u"?setImmediate:null;function q(_){for(var P=r(h);P!==null;){if(P.callback===null)l(h);else if(P.startTime<=_)l(h),P.sortIndex=P.expirationTime,n(m,P);else break;P=r(h)}}function U(_){if(S=!1,q(_),!R)if(r(m)!==null)R=!0,X||(X=!0,de());else{var P=r(h);P!==null&&Z(U,P.startTime-_)}}var X=!1,H=-1,ie=5,ae=-1;function Ae(){return E?!0:!(t.unstable_now()-ae<ie)}function at(){if(E=!1,X){var _=t.unstable_now();ae=_;var P=!0;try{e:{R=!1,S&&(S=!1,x(H),H=-1),N=!0;var I=O;try{t:{for(q(_),v=r(m);v!==null&&!(v.expirationTime>_&&Ae());){var se=v.callback;if(typeof se=="function"){v.callback=null,O=v.priorityLevel;var re=se(v.expirationTime<=_);if(_=t.unstable_now(),typeof re=="function"){v.callback=re,q(_),P=!0;break t}v===r(m)&&l(m),q(_)}else l(m);v=r(m)}if(v!==null)P=!0;else{var A=r(h);A!==null&&Z(U,A.startTime-_),P=!1}}break e}finally{v=null,O=I,N=!1}P=void 0}}finally{P?de():X=!1}}}var de;if(typeof $=="function")de=function(){$(at)};else if(typeof MessageChannel<"u"){var te=new MessageChannel,Ye=te.port2;te.port1.onmessage=at,de=function(){Ye.postMessage(null)}}else de=function(){j(at,0)};function Z(_,P){H=j(function(){_(t.unstable_now())},P)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(_){_.callback=null},t.unstable_forceFrameRate=function(_){0>_||125<_?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ie=0<_?Math.floor(1e3/_):5},t.unstable_getCurrentPriorityLevel=function(){return O},t.unstable_next=function(_){switch(O){case 1:case 2:case 3:var P=3;break;default:P=O}var I=O;O=P;try{return _()}finally{O=I}},t.unstable_requestPaint=function(){E=!0},t.unstable_runWithPriority=function(_,P){switch(_){case 1:case 2:case 3:case 4:case 5:break;default:_=3}var I=O;O=_;try{return P()}finally{O=I}},t.unstable_scheduleCallback=function(_,P,I){var se=t.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?se+I:se):I=se,_){case 1:var re=-1;break;case 2:re=250;break;case 5:re=1073741823;break;case 4:re=1e4;break;default:re=5e3}return re=I+re,_={id:b++,callback:P,priorityLevel:_,startTime:I,expirationTime:re,sortIndex:-1},I>se?(_.sortIndex=I,n(h,_),r(m)===null&&_===r(h)&&(S?(x(H),H=-1):S=!0,Z(U,I-se))):(_.sortIndex=re,n(m,_),R||N||(R=!0,X||(X=!0,de()))),_},t.unstable_shouldYield=Ae,t.unstable_wrapCallback=function(_){var P=O;return function(){var I=O;O=P;try{return _.apply(this,arguments)}finally{O=I}}}})(bh)),bh}var Ev;function Rz(){return Ev||(Ev=1,yh.exports=Dz()),yh.exports}var Ov;function Nz(){if(Ov)return Nu;Ov=1;var t=Rz(),n=dm(),r=v$();function l(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)a+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function s(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function c(e){var a=e,i=e;if(e.alternate)for(;a.return;)a=a.return;else{e=a;do a=e,(a.flags&4098)!==0&&(i=a.return),e=a.return;while(e)}return a.tag===3?i:null}function d(e){if(e.tag===13){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function g(e){if(e.tag===31){var a=e.memoizedState;if(a===null&&(e=e.alternate,e!==null&&(a=e.memoizedState)),a!==null)return a.dehydrated}return null}function m(e){if(c(e)!==e)throw Error(l(188))}function h(e){var a=e.alternate;if(!a){if(a=c(e),a===null)throw Error(l(188));return a!==e?null:e}for(var i=e,u=a;;){var o=i.return;if(o===null)break;var f=o.alternate;if(f===null){if(u=o.return,u!==null){i=u;continue}break}if(o.child===f.child){for(f=o.child;f;){if(f===i)return m(o),e;if(f===u)return m(o),a;f=f.sibling}throw Error(l(188))}if(i.return!==u.return)i=o,u=f;else{for(var p=!1,y=o.child;y;){if(y===i){p=!0,i=o,u=f;break}if(y===u){p=!0,u=o,i=f;break}y=y.sibling}if(!p){for(y=f.child;y;){if(y===i){p=!0,i=f,u=o;break}if(y===u){p=!0,u=f,i=o;break}y=y.sibling}if(!p)throw Error(l(189))}}if(i.alternate!==u)throw Error(l(190))}if(i.tag!==3)throw Error(l(188));return i.stateNode.current===i?e:a}function b(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e;for(e=e.child;e!==null;){if(a=b(e),a!==null)return a;e=e.sibling}return null}var v=Object.assign,O=Symbol.for("react.element"),N=Symbol.for("react.transitional.element"),R=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),j=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),$=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),X=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),ie=Symbol.for("react.lazy"),ae=Symbol.for("react.activity"),Ae=Symbol.for("react.memo_cache_sentinel"),at=Symbol.iterator;function de(e){return e===null||typeof e!="object"?null:(e=at&&e[at]||e["@@iterator"],typeof e=="function"?e:null)}var te=Symbol.for("react.client.reference");function Ye(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===te?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case S:return"Fragment";case j:return"Profiler";case E:return"StrictMode";case U:return"Suspense";case X:return"SuspenseList";case ae:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case R:return"Portal";case $:return e.displayName||"Context";case x:return(e._context.displayName||"Context")+".Consumer";case q:var a=e.render;return e=e.displayName,e||(e=a.displayName||a.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case H:return a=e.displayName||null,a!==null?a:Ye(e.type)||"Memo";case ie:a=e._payload,e=e._init;try{return Ye(e(a))}catch{}}return null}var Z=Array.isArray,_=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},se=[],re=-1;function A(e){return{current:e}}function Q(e){0>re||(e.current=se[re],se[re]=null,re--)}function ee(e,a){re++,se[re]=e.current,e.current=a}var W=A(null),ce=A(null),be=A(null),ze=A(null);function Bt(e,a){switch(ee(be,a),ee(ce,e),ee(W,null),a.nodeType){case 9:case 11:e=(e=a.documentElement)&&(e=e.namespaceURI)?c0(e):0;break;default:if(e=a.tagName,a=a.namespaceURI)a=c0(a),e=f0(a,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(W),ee(W,e)}function ut(){Q(W),Q(ce),Q(be)}function Tl(e){e.memoizedState!==null&&ee(ze,e);var a=W.current,i=f0(a,e.type);a!==i&&(ee(ce,e),ee(W,i))}function ss(e){ce.current===e&&(Q(W),Q(ce)),ze.current===e&&(Q(ze),hu._currentValue=I)}var zc,Hm;function Cr(e){if(zc===void 0)try{throw Error()}catch(i){var a=i.stack.trim().match(/\n( *(at )?)/);zc=a&&a[1]||"",Hm=-1<i.stack.indexOf(`
|
|
872
|
+
at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
873
|
+
`+zc+e+Hm}var qc=!1;function jc(e,a){if(!e||qc)return"";qc=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(a){var F=function(){throw Error()};if(Object.defineProperty(F.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(F,[])}catch(G){var Y=G}Reflect.construct(e,[],F)}else{try{F.call()}catch(G){Y=G}e.call(F.prototype)}}else{try{throw Error()}catch(G){Y=G}(F=e())&&typeof F.catch=="function"&&F.catch(function(){})}}catch(G){if(G&&Y&&typeof G.stack=="string")return[G.stack,Y.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var f=u.DetermineComponentFrameRoot(),p=f[0],y=f[1];if(p&&y){var T=p.split(`
|
|
874
|
+
`),B=y.split(`
|
|
875
|
+
`);for(o=u=0;u<T.length&&!T[u].includes("DetermineComponentFrameRoot");)u++;for(;o<B.length&&!B[o].includes("DetermineComponentFrameRoot");)o++;if(u===T.length||o===B.length)for(u=T.length-1,o=B.length-1;1<=u&&0<=o&&T[u]!==B[o];)o--;for(;1<=u&&0<=o;u--,o--)if(T[u]!==B[o]){if(u!==1||o!==1)do if(u--,o--,0>o||T[u]!==B[o]){var k=`
|
|
876
|
+
`+T[u].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=u&&0<=o);break}}}finally{qc=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?Cr(i):""}function Lx(e,a){switch(e.tag){case 26:case 27:case 5:return Cr(e.type);case 16:return Cr("Lazy");case 13:return e.child!==a&&a!==null?Cr("Suspense Fallback"):Cr("Suspense");case 19:return Cr("SuspenseList");case 0:case 15:return jc(e.type,!1);case 11:return jc(e.type.render,!1);case 1:return jc(e.type,!0);case 31:return Cr("Activity");default:return""}}function Zm(e){try{var a="",i=null;do a+=Lx(e,i),i=e,e=e.return;while(e);return a}catch(u){return`
|
|
877
|
+
Error generating stack: `+u.message+`
|
|
878
|
+
`+u.stack}}var Uc=Object.prototype.hasOwnProperty,Lc=t.unstable_scheduleCallback,Bc=t.unstable_cancelCallback,Bx=t.unstable_shouldYield,Hx=t.unstable_requestPaint,It=t.unstable_now,Zx=t.unstable_getCurrentPriorityLevel,Ym=t.unstable_ImmediatePriority,Gm=t.unstable_UserBlockingPriority,os=t.unstable_NormalPriority,Yx=t.unstable_LowPriority,km=t.unstable_IdlePriority,Gx=t.log,kx=t.unstable_setDisableYieldValue,El=null,en=null;function Ga(e){if(typeof Gx=="function"&&kx(e),en&&typeof en.setStrictMode=="function")try{en.setStrictMode(El,e)}catch{}}var tn=Math.clz32?Math.clz32:Xx,Px=Math.log,Vx=Math.LN2;function Xx(e){return e>>>=0,e===0?32:31-(Px(e)/Vx|0)|0}var cs=256,fs=262144,ds=4194304;function Dr(e){var a=e&42;if(a!==0)return a;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function hs(e,a,i){var u=e.pendingLanes;if(u===0)return 0;var o=0,f=e.suspendedLanes,p=e.pingedLanes;e=e.warmLanes;var y=u&134217727;return y!==0?(u=y&~f,u!==0?o=Dr(u):(p&=y,p!==0?o=Dr(p):i||(i=y&~e,i!==0&&(o=Dr(i))))):(y=u&~f,y!==0?o=Dr(y):p!==0?o=Dr(p):i||(i=u&~e,i!==0&&(o=Dr(i)))),o===0?0:a!==0&&a!==o&&(a&f)===0&&(f=o&-o,i=a&-a,f>=i||f===32&&(i&4194048)!==0)?a:o}function Ol(e,a){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&a)===0}function Qx(e,a){switch(e){case 1:case 2:case 4:case 8:case 64:return a+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Pm(){var e=ds;return ds<<=1,(ds&62914560)===0&&(ds=4194304),e}function Hc(e){for(var a=[],i=0;31>i;i++)a.push(e);return a}function Ml(e,a){e.pendingLanes|=a,a!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Fx(e,a,i,u,o,f){var p=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var y=e.entanglements,T=e.expirationTimes,B=e.hiddenUpdates;for(i=p&~i;0<i;){var k=31-tn(i),F=1<<k;y[k]=0,T[k]=-1;var Y=B[k];if(Y!==null)for(B[k]=null,k=0;k<Y.length;k++){var G=Y[k];G!==null&&(G.lane&=-536870913)}i&=~F}u!==0&&Vm(e,u,0),f!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=f&~(p&~a))}function Vm(e,a,i){e.pendingLanes|=a,e.suspendedLanes&=~a;var u=31-tn(a);e.entangledLanes|=a,e.entanglements[u]=e.entanglements[u]|1073741824|i&261930}function Xm(e,a){var i=e.entangledLanes|=a;for(e=e.entanglements;i;){var u=31-tn(i),o=1<<u;o&a|e[u]&a&&(e[u]|=a),i&=~o}}function Qm(e,a){var i=a&-a;return i=(i&42)!==0?1:Zc(i),(i&(e.suspendedLanes|a))!==0?0:i}function Zc(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Yc(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Fm(){var e=P.p;return e!==0?e:(e=window.event,e===void 0?32:z0(e.type))}function Km(e,a){var i=P.p;try{return P.p=e,a()}finally{P.p=i}}var ka=Math.random().toString(36).slice(2),Et="__reactFiber$"+ka,kt="__reactProps$"+ka,mi="__reactContainer$"+ka,Gc="__reactEvents$"+ka,Kx="__reactListeners$"+ka,Jx="__reactHandles$"+ka,Jm="__reactResources$"+ka,Al="__reactMarker$"+ka;function kc(e){delete e[Et],delete e[kt],delete e[Gc],delete e[Kx],delete e[Jx]}function pi(e){var a=e[Et];if(a)return a;for(var i=e.parentNode;i;){if(a=i[mi]||i[Et]){if(i=a.alternate,a.child!==null||i!==null&&i.child!==null)for(e=b0(e);e!==null;){if(i=e[Et])return i;e=b0(e)}return a}e=i,i=e.parentNode}return null}function gi(e){if(e=e[Et]||e[mi]){var a=e.tag;if(a===5||a===6||a===13||a===31||a===26||a===27||a===3)return e}return null}function Cl(e){var a=e.tag;if(a===5||a===26||a===27||a===6)return e.stateNode;throw Error(l(33))}function yi(e){var a=e[Jm];return a||(a=e[Jm]={hoistableStyles:new Map,hoistableScripts:new Map}),a}function _t(e){e[Al]=!0}var Wm=new Set,Im={};function Rr(e,a){bi(e,a),bi(e+"Capture",a)}function bi(e,a){for(Im[e]=a,e=0;e<a.length;e++)Wm.add(a[e])}var Wx=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ep={},tp={};function Ix(e){return Uc.call(tp,e)?!0:Uc.call(ep,e)?!1:Wx.test(e)?tp[e]=!0:(ep[e]=!0,!1)}function ms(e,a,i){if(Ix(a))if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(a);return;case"boolean":var u=a.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(a);return}}e.setAttribute(a,""+i)}}function ps(e,a,i){if(i===null)e.removeAttribute(a);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttribute(a,""+i)}}function fa(e,a,i,u){if(u===null)e.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(a,i,""+u)}}function pn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function np(e){var a=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function e_(e,a,i){var u=Object.getOwnPropertyDescriptor(e.constructor.prototype,a);if(!e.hasOwnProperty(a)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var o=u.get,f=u.set;return Object.defineProperty(e,a,{configurable:!0,get:function(){return o.call(this)},set:function(p){i=""+p,f.call(this,p)}}),Object.defineProperty(e,a,{enumerable:u.enumerable}),{getValue:function(){return i},setValue:function(p){i=""+p},stopTracking:function(){e._valueTracker=null,delete e[a]}}}}function Pc(e){if(!e._valueTracker){var a=np(e)?"checked":"value";e._valueTracker=e_(e,a,""+e[a])}}function ap(e){if(!e)return!1;var a=e._valueTracker;if(!a)return!0;var i=a.getValue(),u="";return e&&(u=np(e)?e.checked?"true":"false":e.value),e=u,e!==i?(a.setValue(e),!0):!1}function gs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var t_=/[\n"\\]/g;function gn(e){return e.replace(t_,function(a){return"\\"+a.charCodeAt(0).toString(16)+" "})}function Vc(e,a,i,u,o,f,p,y){e.name="",p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"?e.type=p:e.removeAttribute("type"),a!=null?p==="number"?(a===0&&e.value===""||e.value!=a)&&(e.value=""+pn(a)):e.value!==""+pn(a)&&(e.value=""+pn(a)):p!=="submit"&&p!=="reset"||e.removeAttribute("value"),a!=null?Xc(e,p,pn(a)):i!=null?Xc(e,p,pn(i)):u!=null&&e.removeAttribute("value"),o==null&&f!=null&&(e.defaultChecked=!!f),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),y!=null&&typeof y!="function"&&typeof y!="symbol"&&typeof y!="boolean"?e.name=""+pn(y):e.removeAttribute("name")}function rp(e,a,i,u,o,f,p,y){if(f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(e.type=f),a!=null||i!=null){if(!(f!=="submit"&&f!=="reset"||a!=null)){Pc(e);return}i=i!=null?""+pn(i):"",a=a!=null?""+pn(a):i,y||a===e.value||(e.value=a),e.defaultValue=a}u=u??o,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=y?e.checked:!!u,e.defaultChecked=!!u,p!=null&&typeof p!="function"&&typeof p!="symbol"&&typeof p!="boolean"&&(e.name=p),Pc(e)}function Xc(e,a,i){a==="number"&&gs(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function vi(e,a,i,u){if(e=e.options,a){a={};for(var o=0;o<i.length;o++)a["$"+i[o]]=!0;for(i=0;i<e.length;i++)o=a.hasOwnProperty("$"+e[i].value),e[i].selected!==o&&(e[i].selected=o),o&&u&&(e[i].defaultSelected=!0)}else{for(i=""+pn(i),a=null,o=0;o<e.length;o++){if(e[o].value===i){e[o].selected=!0,u&&(e[o].defaultSelected=!0);return}a!==null||e[o].disabled||(a=e[o])}a!==null&&(a.selected=!0)}}function ip(e,a,i){if(a!=null&&(a=""+pn(a),a!==e.value&&(e.value=a),i==null)){e.defaultValue!==a&&(e.defaultValue=a);return}e.defaultValue=i!=null?""+pn(i):""}function lp(e,a,i,u){if(a==null){if(u!=null){if(i!=null)throw Error(l(92));if(Z(u)){if(1<u.length)throw Error(l(93));u=u[0]}i=u}i==null&&(i=""),a=i}i=pn(a),e.defaultValue=i,u=e.textContent,u===i&&u!==""&&u!==null&&(e.value=u),Pc(e)}function wi(e,a){if(a){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=a;return}}e.textContent=a}var n_=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function up(e,a,i){var u=a.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?u?e.setProperty(a,""):a==="float"?e.cssFloat="":e[a]="":u?e.setProperty(a,i):typeof i!="number"||i===0||n_.has(a)?a==="float"?e.cssFloat=i:e[a]=(""+i).trim():e[a]=i+"px"}function sp(e,a,i){if(a!=null&&typeof a!="object")throw Error(l(62));if(e=e.style,i!=null){for(var u in i)!i.hasOwnProperty(u)||a!=null&&a.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var o in a)u=a[o],a.hasOwnProperty(o)&&i[o]!==u&&up(e,o,u)}else for(var f in a)a.hasOwnProperty(f)&&up(e,f,a[f])}function Qc(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var a_=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),r_=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function ys(e){return r_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function da(){}var Fc=null;function Kc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xi=null,_i=null;function op(e){var a=gi(e);if(a&&(e=a.stateNode)){var i=e[kt]||null;e:switch(e=a.stateNode,a.type){case"input":if(Vc(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),a=i.name,i.type==="radio"&&a!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+gn(""+a)+'"][type="radio"]'),a=0;a<i.length;a++){var u=i[a];if(u!==e&&u.form===e.form){var o=u[kt]||null;if(!o)throw Error(l(90));Vc(u,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(a=0;a<i.length;a++)u=i[a],u.form===e.form&&ap(u)}break e;case"textarea":ip(e,i.value,i.defaultValue);break e;case"select":a=i.value,a!=null&&vi(e,!!i.multiple,a,!1)}}}var Jc=!1;function cp(e,a,i){if(Jc)return e(a,i);Jc=!0;try{var u=e(a);return u}finally{if(Jc=!1,(xi!==null||_i!==null)&&(ro(),xi&&(a=xi,e=_i,_i=xi=null,op(a),e)))for(a=0;a<e.length;a++)op(e[a])}}function Dl(e,a){var i=e.stateNode;if(i===null)return null;var u=i[kt]||null;if(u===null)return null;i=u[a];e:switch(a){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(l(231,a,typeof i));return i}var ha=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Wc=!1;if(ha)try{var Rl={};Object.defineProperty(Rl,"passive",{get:function(){Wc=!0}}),window.addEventListener("test",Rl,Rl),window.removeEventListener("test",Rl,Rl)}catch{Wc=!1}var Pa=null,Ic=null,bs=null;function fp(){if(bs)return bs;var e,a=Ic,i=a.length,u,o="value"in Pa?Pa.value:Pa.textContent,f=o.length;for(e=0;e<i&&a[e]===o[e];e++);var p=i-e;for(u=1;u<=p&&a[i-u]===o[f-u];u++);return bs=o.slice(e,1<u?1-u:void 0)}function vs(e){var a=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&a===13&&(e=13)):e=a,e===10&&(e=13),32<=e||e===13?e:0}function ws(){return!0}function dp(){return!1}function Pt(e){function a(i,u,o,f,p){this._reactName=i,this._targetInst=o,this.type=u,this.nativeEvent=f,this.target=p,this.currentTarget=null;for(var y in e)e.hasOwnProperty(y)&&(i=e[y],this[y]=i?i(f):f[y]);return this.isDefaultPrevented=(f.defaultPrevented!=null?f.defaultPrevented:f.returnValue===!1)?ws:dp,this.isPropagationStopped=dp,this}return v(a.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=ws)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=ws)},persist:function(){},isPersistent:ws}),a}var Nr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},xs=Pt(Nr),Nl=v({},Nr,{view:0,detail:0}),i_=Pt(Nl),ef,tf,$l,_s=v({},Nl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:af,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==$l&&($l&&e.type==="mousemove"?(ef=e.screenX-$l.screenX,tf=e.screenY-$l.screenY):tf=ef=0,$l=e),ef)},movementY:function(e){return"movementY"in e?e.movementY:tf}}),hp=Pt(_s),l_=v({},_s,{dataTransfer:0}),u_=Pt(l_),s_=v({},Nl,{relatedTarget:0}),nf=Pt(s_),o_=v({},Nr,{animationName:0,elapsedTime:0,pseudoElement:0}),c_=Pt(o_),f_=v({},Nr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),d_=Pt(f_),h_=v({},Nr,{data:0}),mp=Pt(h_),m_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},p_={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},g_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function y_(e){var a=this.nativeEvent;return a.getModifierState?a.getModifierState(e):(e=g_[e])?!!a[e]:!1}function af(){return y_}var b_=v({},Nl,{key:function(e){if(e.key){var a=m_[e.key]||e.key;if(a!=="Unidentified")return a}return e.type==="keypress"?(e=vs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?p_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:af,charCode:function(e){return e.type==="keypress"?vs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?vs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),v_=Pt(b_),w_=v({},_s,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),pp=Pt(w_),x_=v({},Nl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:af}),__=Pt(x_),S_=v({},Nr,{propertyName:0,elapsedTime:0,pseudoElement:0}),T_=Pt(S_),E_=v({},_s,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),O_=Pt(E_),M_=v({},Nr,{newState:0,oldState:0}),A_=Pt(M_),C_=[9,13,27,32],rf=ha&&"CompositionEvent"in window,zl=null;ha&&"documentMode"in document&&(zl=document.documentMode);var D_=ha&&"TextEvent"in window&&!zl,gp=ha&&(!rf||zl&&8<zl&&11>=zl),yp=" ",bp=!1;function vp(e,a){switch(e){case"keyup":return C_.indexOf(a.keyCode)!==-1;case"keydown":return a.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function wp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Si=!1;function R_(e,a){switch(e){case"compositionend":return wp(a);case"keypress":return a.which!==32?null:(bp=!0,yp);case"textInput":return e=a.data,e===yp&&bp?null:e;default:return null}}function N_(e,a){if(Si)return e==="compositionend"||!rf&&vp(e,a)?(e=fp(),bs=Ic=Pa=null,Si=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(a.ctrlKey||a.altKey||a.metaKey)||a.ctrlKey&&a.altKey){if(a.char&&1<a.char.length)return a.char;if(a.which)return String.fromCharCode(a.which)}return null;case"compositionend":return gp&&a.locale!=="ko"?null:a.data;default:return null}}var $_={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function xp(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a==="input"?!!$_[e.type]:a==="textarea"}function _p(e,a,i,u){xi?_i?_i.push(u):_i=[u]:xi=u,a=fo(a,"onChange"),0<a.length&&(i=new xs("onChange","change",null,i,u),e.push({event:i,listeners:a}))}var ql=null,jl=null;function z_(e){r0(e,0)}function Ss(e){var a=Cl(e);if(ap(a))return e}function Sp(e,a){if(e==="change")return a}var Tp=!1;if(ha){var lf;if(ha){var uf="oninput"in document;if(!uf){var Ep=document.createElement("div");Ep.setAttribute("oninput","return;"),uf=typeof Ep.oninput=="function"}lf=uf}else lf=!1;Tp=lf&&(!document.documentMode||9<document.documentMode)}function Op(){ql&&(ql.detachEvent("onpropertychange",Mp),jl=ql=null)}function Mp(e){if(e.propertyName==="value"&&Ss(jl)){var a=[];_p(a,jl,e,Kc(e)),cp(z_,a)}}function q_(e,a,i){e==="focusin"?(Op(),ql=a,jl=i,ql.attachEvent("onpropertychange",Mp)):e==="focusout"&&Op()}function j_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ss(jl)}function U_(e,a){if(e==="click")return Ss(a)}function L_(e,a){if(e==="input"||e==="change")return Ss(a)}function B_(e,a){return e===a&&(e!==0||1/e===1/a)||e!==e&&a!==a}var nn=typeof Object.is=="function"?Object.is:B_;function Ul(e,a){if(nn(e,a))return!0;if(typeof e!="object"||e===null||typeof a!="object"||a===null)return!1;var i=Object.keys(e),u=Object.keys(a);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var o=i[u];if(!Uc.call(a,o)||!nn(e[o],a[o]))return!1}return!0}function Ap(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Cp(e,a){var i=Ap(e);e=0;for(var u;i;){if(i.nodeType===3){if(u=e+i.textContent.length,e<=a&&u>=a)return{node:i,offset:a-e};e=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=Ap(i)}}function Dp(e,a){return e&&a?e===a?!0:e&&e.nodeType===3?!1:a&&a.nodeType===3?Dp(e,a.parentNode):"contains"in e?e.contains(a):e.compareDocumentPosition?!!(e.compareDocumentPosition(a)&16):!1:!1}function Rp(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var a=gs(e.document);a instanceof e.HTMLIFrameElement;){try{var i=typeof a.contentWindow.location.href=="string"}catch{i=!1}if(i)e=a.contentWindow;else break;a=gs(e.document)}return a}function sf(e){var a=e&&e.nodeName&&e.nodeName.toLowerCase();return a&&(a==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||a==="textarea"||e.contentEditable==="true")}var H_=ha&&"documentMode"in document&&11>=document.documentMode,Ti=null,of=null,Ll=null,cf=!1;function Np(e,a,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;cf||Ti==null||Ti!==gs(u)||(u=Ti,"selectionStart"in u&&sf(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Ll&&Ul(Ll,u)||(Ll=u,u=fo(of,"onSelect"),0<u.length&&(a=new xs("onSelect","select",null,a,i),e.push({event:a,listeners:u}),a.target=Ti)))}function $r(e,a){var i={};return i[e.toLowerCase()]=a.toLowerCase(),i["Webkit"+e]="webkit"+a,i["Moz"+e]="moz"+a,i}var Ei={animationend:$r("Animation","AnimationEnd"),animationiteration:$r("Animation","AnimationIteration"),animationstart:$r("Animation","AnimationStart"),transitionrun:$r("Transition","TransitionRun"),transitionstart:$r("Transition","TransitionStart"),transitioncancel:$r("Transition","TransitionCancel"),transitionend:$r("Transition","TransitionEnd")},ff={},$p={};ha&&($p=document.createElement("div").style,"AnimationEvent"in window||(delete Ei.animationend.animation,delete Ei.animationiteration.animation,delete Ei.animationstart.animation),"TransitionEvent"in window||delete Ei.transitionend.transition);function zr(e){if(ff[e])return ff[e];if(!Ei[e])return e;var a=Ei[e],i;for(i in a)if(a.hasOwnProperty(i)&&i in $p)return ff[e]=a[i];return e}var zp=zr("animationend"),qp=zr("animationiteration"),jp=zr("animationstart"),Z_=zr("transitionrun"),Y_=zr("transitionstart"),G_=zr("transitioncancel"),Up=zr("transitionend"),Lp=new Map,df="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");df.push("scrollEnd");function $n(e,a){Lp.set(e,a),Rr(a,[e])}var Ts=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof rl=="object"&&typeof rl.emit=="function"){rl.emit("uncaughtException",e);return}console.error(e)},yn=[],Oi=0,hf=0;function Es(){for(var e=Oi,a=hf=Oi=0;a<e;){var i=yn[a];yn[a++]=null;var u=yn[a];yn[a++]=null;var o=yn[a];yn[a++]=null;var f=yn[a];if(yn[a++]=null,u!==null&&o!==null){var p=u.pending;p===null?o.next=o:(o.next=p.next,p.next=o),u.pending=o}f!==0&&Bp(i,o,f)}}function Os(e,a,i,u){yn[Oi++]=e,yn[Oi++]=a,yn[Oi++]=i,yn[Oi++]=u,hf|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function mf(e,a,i,u){return Os(e,a,i,u),Ms(e)}function qr(e,a){return Os(e,null,null,a),Ms(e)}function Bp(e,a,i){e.lanes|=i;var u=e.alternate;u!==null&&(u.lanes|=i);for(var o=!1,f=e.return;f!==null;)f.childLanes|=i,u=f.alternate,u!==null&&(u.childLanes|=i),f.tag===22&&(e=f.stateNode,e===null||e._visibility&1||(o=!0)),e=f,f=f.return;return e.tag===3?(f=e.stateNode,o&&a!==null&&(o=31-tn(i),e=f.hiddenUpdates,u=e[o],u===null?e[o]=[a]:u.push(a),a.lane=i|536870912),f):null}function Ms(e){if(50<lu)throw lu=0,Sd=null,Error(l(185));for(var a=e.return;a!==null;)e=a,a=e.return;return e.tag===3?e.stateNode:null}var Mi={};function k_(e,a,i,u){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=a,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function an(e,a,i,u){return new k_(e,a,i,u)}function pf(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ma(e,a){var i=e.alternate;return i===null?(i=an(e.tag,a,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=a,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,a=e.dependencies,i.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function Hp(e,a){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=a,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,a=i.dependencies,e.dependencies=a===null?null:{lanes:a.lanes,firstContext:a.firstContext}),e}function As(e,a,i,u,o,f){var p=0;if(u=e,typeof e=="function")pf(e)&&(p=1);else if(typeof e=="string")p=FS(e,i,W.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case ae:return e=an(31,i,a,o),e.elementType=ae,e.lanes=f,e;case S:return jr(i.children,o,f,a);case E:p=8,o|=24;break;case j:return e=an(12,i,a,o|2),e.elementType=j,e.lanes=f,e;case U:return e=an(13,i,a,o),e.elementType=U,e.lanes=f,e;case X:return e=an(19,i,a,o),e.elementType=X,e.lanes=f,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case $:p=10;break e;case x:p=9;break e;case q:p=11;break e;case H:p=14;break e;case ie:p=16,u=null;break e}p=29,i=Error(l(130,e===null?"null":typeof e,"")),u=null}return a=an(p,i,a,o),a.elementType=e,a.type=u,a.lanes=f,a}function jr(e,a,i,u){return e=an(7,e,u,a),e.lanes=i,e}function gf(e,a,i){return e=an(6,e,null,a),e.lanes=i,e}function Zp(e){var a=an(18,null,null,0);return a.stateNode=e,a}function yf(e,a,i){return a=an(4,e.children!==null?e.children:[],e.key,a),a.lanes=i,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}var Yp=new WeakMap;function bn(e,a){if(typeof e=="object"&&e!==null){var i=Yp.get(e);return i!==void 0?i:(a={value:e,source:a,stack:Zm(a)},Yp.set(e,a),a)}return{value:e,source:a,stack:Zm(a)}}var Ai=[],Ci=0,Cs=null,Bl=0,vn=[],wn=0,Va=null,Yn=1,Gn="";function pa(e,a){Ai[Ci++]=Bl,Ai[Ci++]=Cs,Cs=e,Bl=a}function Gp(e,a,i){vn[wn++]=Yn,vn[wn++]=Gn,vn[wn++]=Va,Va=e;var u=Yn;e=Gn;var o=32-tn(u)-1;u&=~(1<<o),i+=1;var f=32-tn(a)+o;if(30<f){var p=o-o%5;f=(u&(1<<p)-1).toString(32),u>>=p,o-=p,Yn=1<<32-tn(a)+o|i<<o|u,Gn=f+e}else Yn=1<<f|i<<o|u,Gn=e}function bf(e){e.return!==null&&(pa(e,1),Gp(e,1,0))}function vf(e){for(;e===Cs;)Cs=Ai[--Ci],Ai[Ci]=null,Bl=Ai[--Ci],Ai[Ci]=null;for(;e===Va;)Va=vn[--wn],vn[wn]=null,Gn=vn[--wn],vn[wn]=null,Yn=vn[--wn],vn[wn]=null}function kp(e,a){vn[wn++]=Yn,vn[wn++]=Gn,vn[wn++]=Va,Yn=a.id,Gn=a.overflow,Va=e}var Ot=null,Fe=null,Se=!1,Xa=null,xn=!1,wf=Error(l(519));function Qa(e){var a=Error(l(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Hl(bn(a,e)),wf}function Pp(e){var a=e.stateNode,i=e.type,u=e.memoizedProps;switch(a[Et]=e,a[kt]=u,i){case"dialog":we("cancel",a),we("close",a);break;case"iframe":case"object":case"embed":we("load",a);break;case"video":case"audio":for(i=0;i<su.length;i++)we(su[i],a);break;case"source":we("error",a);break;case"img":case"image":case"link":we("error",a),we("load",a);break;case"details":we("toggle",a);break;case"input":we("invalid",a),rp(a,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":we("invalid",a);break;case"textarea":we("invalid",a),lp(a,u.value,u.defaultValue,u.children)}i=u.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||a.textContent===""+i||u.suppressHydrationWarning===!0||s0(a.textContent,i)?(u.popover!=null&&(we("beforetoggle",a),we("toggle",a)),u.onScroll!=null&&we("scroll",a),u.onScrollEnd!=null&&we("scrollend",a),u.onClick!=null&&(a.onclick=da),a=!0):a=!1,a||Qa(e,!0)}function Vp(e){for(Ot=e.return;Ot;)switch(Ot.tag){case 5:case 31:case 13:xn=!1;return;case 27:case 3:xn=!0;return;default:Ot=Ot.return}}function Di(e){if(e!==Ot)return!1;if(!Se)return Vp(e),Se=!0,!1;var a=e.tag,i;if((i=a!==3&&a!==27)&&((i=a===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||Ld(e.type,e.memoizedProps)),i=!i),i&&Fe&&Qa(e),Vp(e),a===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Fe=y0(e)}else if(a===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(317));Fe=y0(e)}else a===27?(a=Fe,sr(e.type)?(e=Gd,Gd=null,Fe=e):Fe=a):Fe=Ot?Sn(e.stateNode.nextSibling):null;return!0}function Ur(){Fe=Ot=null,Se=!1}function xf(){var e=Xa;return e!==null&&(Ft===null?Ft=e:Ft.push.apply(Ft,e),Xa=null),e}function Hl(e){Xa===null?Xa=[e]:Xa.push(e)}var _f=A(null),Lr=null,ga=null;function Fa(e,a,i){ee(_f,a._currentValue),a._currentValue=i}function ya(e){e._currentValue=_f.current,Q(_f)}function Sf(e,a,i){for(;e!==null;){var u=e.alternate;if((e.childLanes&a)!==a?(e.childLanes|=a,u!==null&&(u.childLanes|=a)):u!==null&&(u.childLanes&a)!==a&&(u.childLanes|=a),e===i)break;e=e.return}}function Tf(e,a,i,u){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var f=o.dependencies;if(f!==null){var p=o.child;f=f.firstContext;e:for(;f!==null;){var y=f;f=o;for(var T=0;T<a.length;T++)if(y.context===a[T]){f.lanes|=i,y=f.alternate,y!==null&&(y.lanes|=i),Sf(f.return,i,e),u||(p=null);break e}f=y.next}}else if(o.tag===18){if(p=o.return,p===null)throw Error(l(341));p.lanes|=i,f=p.alternate,f!==null&&(f.lanes|=i),Sf(p,i,e),p=null}else p=o.child;if(p!==null)p.return=o;else for(p=o;p!==null;){if(p===e){p=null;break}if(o=p.sibling,o!==null){o.return=p.return,p=o;break}p=p.return}o=p}}function Ri(e,a,i,u){e=null;for(var o=a,f=!1;o!==null;){if(!f){if((o.flags&524288)!==0)f=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var p=o.alternate;if(p===null)throw Error(l(387));if(p=p.memoizedProps,p!==null){var y=o.type;nn(o.pendingProps.value,p.value)||(e!==null?e.push(y):e=[y])}}else if(o===ze.current){if(p=o.alternate,p===null)throw Error(l(387));p.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(hu):e=[hu])}o=o.return}e!==null&&Tf(a,e,i,u),a.flags|=262144}function Ds(e){for(e=e.firstContext;e!==null;){if(!nn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Br(e){Lr=e,ga=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Mt(e){return Xp(Lr,e)}function Rs(e,a){return Lr===null&&Br(e),Xp(e,a)}function Xp(e,a){var i=a._currentValue;if(a={context:a,memoizedValue:i,next:null},ga===null){if(e===null)throw Error(l(308));ga=a,e.dependencies={lanes:0,firstContext:a},e.flags|=524288}else ga=ga.next=a;return i}var P_=typeof AbortController<"u"?AbortController:function(){var e=[],a=this.signal={aborted:!1,addEventListener:function(i,u){e.push(u)}};this.abort=function(){a.aborted=!0,e.forEach(function(i){return i()})}},V_=t.unstable_scheduleCallback,X_=t.unstable_NormalPriority,ht={$$typeof:$,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ef(){return{controller:new P_,data:new Map,refCount:0}}function Zl(e){e.refCount--,e.refCount===0&&V_(X_,function(){e.controller.abort()})}var Yl=null,Of=0,Ni=0,$i=null;function Q_(e,a){if(Yl===null){var i=Yl=[];Of=0,Ni=Cd(),$i={status:"pending",value:void 0,then:function(u){i.push(u)}}}return Of++,a.then(Qp,Qp),a}function Qp(){if(--Of===0&&Yl!==null){$i!==null&&($i.status="fulfilled");var e=Yl;Yl=null,Ni=0,$i=null;for(var a=0;a<e.length;a++)(0,e[a])()}}function F_(e,a){var i=[],u={status:"pending",value:null,reason:null,then:function(o){i.push(o)}};return e.then(function(){u.status="fulfilled",u.value=a;for(var o=0;o<i.length;o++)(0,i[o])(a)},function(o){for(u.status="rejected",u.reason=o,o=0;o<i.length;o++)(0,i[o])(void 0)}),u}var Fp=_.S;_.S=function(e,a){Ny=It(),typeof a=="object"&&a!==null&&typeof a.then=="function"&&Q_(e,a),Fp!==null&&Fp(e,a)};var Hr=A(null);function Mf(){var e=Hr.current;return e!==null?e:Ge.pooledCache}function Ns(e,a){a===null?ee(Hr,Hr.current):ee(Hr,a.pool)}function Kp(){var e=Mf();return e===null?null:{parent:ht._currentValue,pool:e}}var zi=Error(l(460)),Af=Error(l(474)),$s=Error(l(542)),zs={then:function(){}};function Jp(e){return e=e.status,e==="fulfilled"||e==="rejected"}function Wp(e,a,i){switch(i=e[i],i===void 0?e.push(a):i!==a&&(a.then(da,da),a=i),a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,eg(e),e;default:if(typeof a.status=="string")a.then(da,da);else{if(e=Ge,e!==null&&100<e.shellSuspendCounter)throw Error(l(482));e=a,e.status="pending",e.then(function(u){if(a.status==="pending"){var o=a;o.status="fulfilled",o.value=u}},function(u){if(a.status==="pending"){var o=a;o.status="rejected",o.reason=u}})}switch(a.status){case"fulfilled":return a.value;case"rejected":throw e=a.reason,eg(e),e}throw Yr=a,zi}}function Zr(e){try{var a=e._init;return a(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(Yr=i,zi):i}}var Yr=null;function Ip(){if(Yr===null)throw Error(l(459));var e=Yr;return Yr=null,e}function eg(e){if(e===zi||e===$s)throw Error(l(483))}var qi=null,Gl=0;function qs(e){var a=Gl;return Gl+=1,qi===null&&(qi=[]),Wp(qi,e,a)}function kl(e,a){a=a.props.ref,e.ref=a!==void 0?a:null}function js(e,a){throw a.$$typeof===O?Error(l(525)):(e=Object.prototype.toString.call(a),Error(l(31,e==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":e)))}function tg(e){function a(z,M){if(e){var L=z.deletions;L===null?(z.deletions=[M],z.flags|=16):L.push(M)}}function i(z,M){if(!e)return null;for(;M!==null;)a(z,M),M=M.sibling;return null}function u(z){for(var M=new Map;z!==null;)z.key!==null?M.set(z.key,z):M.set(z.index,z),z=z.sibling;return M}function o(z,M){return z=ma(z,M),z.index=0,z.sibling=null,z}function f(z,M,L){return z.index=L,e?(L=z.alternate,L!==null?(L=L.index,L<M?(z.flags|=67108866,M):L):(z.flags|=67108866,M)):(z.flags|=1048576,M)}function p(z){return e&&z.alternate===null&&(z.flags|=67108866),z}function y(z,M,L,V){return M===null||M.tag!==6?(M=gf(L,z.mode,V),M.return=z,M):(M=o(M,L),M.return=z,M)}function T(z,M,L,V){var ue=L.type;return ue===S?k(z,M,L.props.children,V,L.key):M!==null&&(M.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===ie&&Zr(ue)===M.type)?(M=o(M,L.props),kl(M,L),M.return=z,M):(M=As(L.type,L.key,L.props,null,z.mode,V),kl(M,L),M.return=z,M)}function B(z,M,L,V){return M===null||M.tag!==4||M.stateNode.containerInfo!==L.containerInfo||M.stateNode.implementation!==L.implementation?(M=yf(L,z.mode,V),M.return=z,M):(M=o(M,L.children||[]),M.return=z,M)}function k(z,M,L,V,ue){return M===null||M.tag!==7?(M=jr(L,z.mode,V,ue),M.return=z,M):(M=o(M,L),M.return=z,M)}function F(z,M,L){if(typeof M=="string"&&M!==""||typeof M=="number"||typeof M=="bigint")return M=gf(""+M,z.mode,L),M.return=z,M;if(typeof M=="object"&&M!==null){switch(M.$$typeof){case N:return L=As(M.type,M.key,M.props,null,z.mode,L),kl(L,M),L.return=z,L;case R:return M=yf(M,z.mode,L),M.return=z,M;case ie:return M=Zr(M),F(z,M,L)}if(Z(M)||de(M))return M=jr(M,z.mode,L,null),M.return=z,M;if(typeof M.then=="function")return F(z,qs(M),L);if(M.$$typeof===$)return F(z,Rs(z,M),L);js(z,M)}return null}function Y(z,M,L,V){var ue=M!==null?M.key:null;if(typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint")return ue!==null?null:y(z,M,""+L,V);if(typeof L=="object"&&L!==null){switch(L.$$typeof){case N:return L.key===ue?T(z,M,L,V):null;case R:return L.key===ue?B(z,M,L,V):null;case ie:return L=Zr(L),Y(z,M,L,V)}if(Z(L)||de(L))return ue!==null?null:k(z,M,L,V,null);if(typeof L.then=="function")return Y(z,M,qs(L),V);if(L.$$typeof===$)return Y(z,M,Rs(z,L),V);js(z,L)}return null}function G(z,M,L,V,ue){if(typeof V=="string"&&V!==""||typeof V=="number"||typeof V=="bigint")return z=z.get(L)||null,y(M,z,""+V,ue);if(typeof V=="object"&&V!==null){switch(V.$$typeof){case N:return z=z.get(V.key===null?L:V.key)||null,T(M,z,V,ue);case R:return z=z.get(V.key===null?L:V.key)||null,B(M,z,V,ue);case ie:return V=Zr(V),G(z,M,L,V,ue)}if(Z(V)||de(V))return z=z.get(L)||null,k(M,z,V,ue,null);if(typeof V.then=="function")return G(z,M,L,qs(V),ue);if(V.$$typeof===$)return G(z,M,L,Rs(M,V),ue);js(M,V)}return null}function ne(z,M,L,V){for(var ue=null,Ee=null,le=M,pe=M=0,_e=null;le!==null&&pe<L.length;pe++){le.index>pe?(_e=le,le=null):_e=le.sibling;var Oe=Y(z,le,L[pe],V);if(Oe===null){le===null&&(le=_e);break}e&&le&&Oe.alternate===null&&a(z,le),M=f(Oe,M,pe),Ee===null?ue=Oe:Ee.sibling=Oe,Ee=Oe,le=_e}if(pe===L.length)return i(z,le),Se&&pa(z,pe),ue;if(le===null){for(;pe<L.length;pe++)le=F(z,L[pe],V),le!==null&&(M=f(le,M,pe),Ee===null?ue=le:Ee.sibling=le,Ee=le);return Se&&pa(z,pe),ue}for(le=u(le);pe<L.length;pe++)_e=G(le,z,pe,L[pe],V),_e!==null&&(e&&_e.alternate!==null&&le.delete(_e.key===null?pe:_e.key),M=f(_e,M,pe),Ee===null?ue=_e:Ee.sibling=_e,Ee=_e);return e&&le.forEach(function(hr){return a(z,hr)}),Se&&pa(z,pe),ue}function oe(z,M,L,V){if(L==null)throw Error(l(151));for(var ue=null,Ee=null,le=M,pe=M=0,_e=null,Oe=L.next();le!==null&&!Oe.done;pe++,Oe=L.next()){le.index>pe?(_e=le,le=null):_e=le.sibling;var hr=Y(z,le,Oe.value,V);if(hr===null){le===null&&(le=_e);break}e&&le&&hr.alternate===null&&a(z,le),M=f(hr,M,pe),Ee===null?ue=hr:Ee.sibling=hr,Ee=hr,le=_e}if(Oe.done)return i(z,le),Se&&pa(z,pe),ue;if(le===null){for(;!Oe.done;pe++,Oe=L.next())Oe=F(z,Oe.value,V),Oe!==null&&(M=f(Oe,M,pe),Ee===null?ue=Oe:Ee.sibling=Oe,Ee=Oe);return Se&&pa(z,pe),ue}for(le=u(le);!Oe.done;pe++,Oe=L.next())Oe=G(le,z,pe,Oe.value,V),Oe!==null&&(e&&Oe.alternate!==null&&le.delete(Oe.key===null?pe:Oe.key),M=f(Oe,M,pe),Ee===null?ue=Oe:Ee.sibling=Oe,Ee=Oe);return e&&le.forEach(function(l2){return a(z,l2)}),Se&&pa(z,pe),ue}function He(z,M,L,V){if(typeof L=="object"&&L!==null&&L.type===S&&L.key===null&&(L=L.props.children),typeof L=="object"&&L!==null){switch(L.$$typeof){case N:e:{for(var ue=L.key;M!==null;){if(M.key===ue){if(ue=L.type,ue===S){if(M.tag===7){i(z,M.sibling),V=o(M,L.props.children),V.return=z,z=V;break e}}else if(M.elementType===ue||typeof ue=="object"&&ue!==null&&ue.$$typeof===ie&&Zr(ue)===M.type){i(z,M.sibling),V=o(M,L.props),kl(V,L),V.return=z,z=V;break e}i(z,M);break}else a(z,M);M=M.sibling}L.type===S?(V=jr(L.props.children,z.mode,V,L.key),V.return=z,z=V):(V=As(L.type,L.key,L.props,null,z.mode,V),kl(V,L),V.return=z,z=V)}return p(z);case R:e:{for(ue=L.key;M!==null;){if(M.key===ue)if(M.tag===4&&M.stateNode.containerInfo===L.containerInfo&&M.stateNode.implementation===L.implementation){i(z,M.sibling),V=o(M,L.children||[]),V.return=z,z=V;break e}else{i(z,M);break}else a(z,M);M=M.sibling}V=yf(L,z.mode,V),V.return=z,z=V}return p(z);case ie:return L=Zr(L),He(z,M,L,V)}if(Z(L))return ne(z,M,L,V);if(de(L)){if(ue=de(L),typeof ue!="function")throw Error(l(150));return L=ue.call(L),oe(z,M,L,V)}if(typeof L.then=="function")return He(z,M,qs(L),V);if(L.$$typeof===$)return He(z,M,Rs(z,L),V);js(z,L)}return typeof L=="string"&&L!==""||typeof L=="number"||typeof L=="bigint"?(L=""+L,M!==null&&M.tag===6?(i(z,M.sibling),V=o(M,L),V.return=z,z=V):(i(z,M),V=gf(L,z.mode,V),V.return=z,z=V),p(z)):i(z,M)}return function(z,M,L,V){try{Gl=0;var ue=He(z,M,L,V);return qi=null,ue}catch(le){if(le===zi||le===$s)throw le;var Ee=an(29,le,null,z.mode);return Ee.lanes=V,Ee.return=z,Ee}}}var Gr=tg(!0),ng=tg(!1),Ka=!1;function Cf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Df(e,a){e=e.updateQueue,a.updateQueue===e&&(a.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ja(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Wa(e,a,i){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(Ce&2)!==0){var o=u.pending;return o===null?a.next=a:(a.next=o.next,o.next=a),u.pending=a,a=Ms(e),Bp(e,null,i),a}return Os(e,u,a,i),Ms(e)}function Pl(e,a,i){if(a=a.updateQueue,a!==null&&(a=a.shared,(i&4194048)!==0)){var u=a.lanes;u&=e.pendingLanes,i|=u,a.lanes=i,Xm(e,i)}}function Rf(e,a){var i=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var o=null,f=null;if(i=i.firstBaseUpdate,i!==null){do{var p={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};f===null?o=f=p:f=f.next=p,i=i.next}while(i!==null);f===null?o=f=a:f=f.next=a}else o=f=a;i={baseState:u.baseState,firstBaseUpdate:o,lastBaseUpdate:f,shared:u.shared,callbacks:u.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=a:e.next=a,i.lastBaseUpdate=a}var Nf=!1;function Vl(){if(Nf){var e=$i;if(e!==null)throw e}}function Xl(e,a,i,u){Nf=!1;var o=e.updateQueue;Ka=!1;var f=o.firstBaseUpdate,p=o.lastBaseUpdate,y=o.shared.pending;if(y!==null){o.shared.pending=null;var T=y,B=T.next;T.next=null,p===null?f=B:p.next=B,p=T;var k=e.alternate;k!==null&&(k=k.updateQueue,y=k.lastBaseUpdate,y!==p&&(y===null?k.firstBaseUpdate=B:y.next=B,k.lastBaseUpdate=T))}if(f!==null){var F=o.baseState;p=0,k=B=T=null,y=f;do{var Y=y.lane&-536870913,G=Y!==y.lane;if(G?(xe&Y)===Y:(u&Y)===Y){Y!==0&&Y===Ni&&(Nf=!0),k!==null&&(k=k.next={lane:0,tag:y.tag,payload:y.payload,callback:null,next:null});e:{var ne=e,oe=y;Y=a;var He=i;switch(oe.tag){case 1:if(ne=oe.payload,typeof ne=="function"){F=ne.call(He,F,Y);break e}F=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=oe.payload,Y=typeof ne=="function"?ne.call(He,F,Y):ne,Y==null)break e;F=v({},F,Y);break e;case 2:Ka=!0}}Y=y.callback,Y!==null&&(e.flags|=64,G&&(e.flags|=8192),G=o.callbacks,G===null?o.callbacks=[Y]:G.push(Y))}else G={lane:Y,tag:y.tag,payload:y.payload,callback:y.callback,next:null},k===null?(B=k=G,T=F):k=k.next=G,p|=Y;if(y=y.next,y===null){if(y=o.shared.pending,y===null)break;G=y,y=G.next,G.next=null,o.lastBaseUpdate=G,o.shared.pending=null}}while(!0);k===null&&(T=F),o.baseState=T,o.firstBaseUpdate=B,o.lastBaseUpdate=k,f===null&&(o.shared.lanes=0),ar|=p,e.lanes=p,e.memoizedState=F}}function ag(e,a){if(typeof e!="function")throw Error(l(191,e));e.call(a)}function rg(e,a){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)ag(i[e],a)}var ji=A(null),Us=A(0);function ig(e,a){e=Oa,ee(Us,e),ee(ji,a),Oa=e|a.baseLanes}function $f(){ee(Us,Oa),ee(ji,ji.current)}function zf(){Oa=Us.current,Q(ji),Q(Us)}var rn=A(null),_n=null;function Ia(e){var a=e.alternate;ee(st,st.current&1),ee(rn,e),_n===null&&(a===null||ji.current!==null||a.memoizedState!==null)&&(_n=e)}function qf(e){ee(st,st.current),ee(rn,e),_n===null&&(_n=e)}function lg(e){e.tag===22?(ee(st,st.current),ee(rn,e),_n===null&&(_n=e)):er()}function er(){ee(st,st.current),ee(rn,rn.current)}function ln(e){Q(rn),_n===e&&(_n=null),Q(st)}var st=A(0);function Ls(e){for(var a=e;a!==null;){if(a.tag===13){var i=a.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Zd(i)||Yd(i)))return a}else if(a.tag===19&&(a.memoizedProps.revealOrder==="forwards"||a.memoizedProps.revealOrder==="backwards"||a.memoizedProps.revealOrder==="unstable_legacy-backwards"||a.memoizedProps.revealOrder==="together")){if((a.flags&128)!==0)return a}else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return null;a=a.return}a.sibling.return=a.return,a=a.sibling}return null}var ba=0,me=null,Le=null,mt=null,Bs=!1,Ui=!1,kr=!1,Hs=0,Ql=0,Li=null,K_=0;function rt(){throw Error(l(321))}function jf(e,a){if(a===null)return!1;for(var i=0;i<a.length&&i<e.length;i++)if(!nn(e[i],a[i]))return!1;return!0}function Uf(e,a,i,u,o,f){return ba=f,me=a,a.memoizedState=null,a.updateQueue=null,a.lanes=0,_.H=e===null||e.memoizedState===null?Gg:Wf,kr=!1,f=i(u,o),kr=!1,Ui&&(f=sg(a,i,u,o)),ug(e),f}function ug(e){_.H=Jl;var a=Le!==null&&Le.next!==null;if(ba=0,mt=Le=me=null,Bs=!1,Ql=0,Li=null,a)throw Error(l(300));e===null||pt||(e=e.dependencies,e!==null&&Ds(e)&&(pt=!0))}function sg(e,a,i,u){me=e;var o=0;do{if(Ui&&(Li=null),Ql=0,Ui=!1,25<=o)throw Error(l(301));if(o+=1,mt=Le=null,e.updateQueue!=null){var f=e.updateQueue;f.lastEffect=null,f.events=null,f.stores=null,f.memoCache!=null&&(f.memoCache.index=0)}_.H=kg,f=a(i,u)}while(Ui);return f}function J_(){var e=_.H,a=e.useState()[0];return a=typeof a.then=="function"?Fl(a):a,e=e.useState()[0],(Le!==null?Le.memoizedState:null)!==e&&(me.flags|=1024),a}function Lf(){var e=Hs!==0;return Hs=0,e}function Bf(e,a,i){a.updateQueue=e.updateQueue,a.flags&=-2053,e.lanes&=~i}function Hf(e){if(Bs){for(e=e.memoizedState;e!==null;){var a=e.queue;a!==null&&(a.pending=null),e=e.next}Bs=!1}ba=0,mt=Le=me=null,Ui=!1,Ql=Hs=0,Li=null}function Ht(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return mt===null?me.memoizedState=mt=e:mt=mt.next=e,mt}function ot(){if(Le===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=Le.next;var a=mt===null?me.memoizedState:mt.next;if(a!==null)mt=a,Le=e;else{if(e===null)throw me.alternate===null?Error(l(467)):Error(l(310));Le=e,e={memoizedState:Le.memoizedState,baseState:Le.baseState,baseQueue:Le.baseQueue,queue:Le.queue,next:null},mt===null?me.memoizedState=mt=e:mt=mt.next=e}return mt}function Zs(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function Fl(e){var a=Ql;return Ql+=1,Li===null&&(Li=[]),e=Wp(Li,e,a),a=me,(mt===null?a.memoizedState:mt.next)===null&&(a=a.alternate,_.H=a===null||a.memoizedState===null?Gg:Wf),e}function Ys(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return Fl(e);if(e.$$typeof===$)return Mt(e)}throw Error(l(438,String(e)))}function Zf(e){var a=null,i=me.updateQueue;if(i!==null&&(a=i.memoCache),a==null){var u=me.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(a={data:u.data.map(function(o){return o.slice()}),index:0})))}if(a==null&&(a={data:[],index:0}),i===null&&(i=Zs(),me.updateQueue=i),i.memoCache=a,i=a.data[a.index],i===void 0)for(i=a.data[a.index]=Array(e),u=0;u<e;u++)i[u]=Ae;return a.index++,i}function va(e,a){return typeof a=="function"?a(e):a}function Gs(e){var a=ot();return Yf(a,Le,e)}function Yf(e,a,i){var u=e.queue;if(u===null)throw Error(l(311));u.lastRenderedReducer=i;var o=e.baseQueue,f=u.pending;if(f!==null){if(o!==null){var p=o.next;o.next=f.next,f.next=p}a.baseQueue=o=f,u.pending=null}if(f=e.baseState,o===null)e.memoizedState=f;else{a=o.next;var y=p=null,T=null,B=a,k=!1;do{var F=B.lane&-536870913;if(F!==B.lane?(xe&F)===F:(ba&F)===F){var Y=B.revertLane;if(Y===0)T!==null&&(T=T.next={lane:0,revertLane:0,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null}),F===Ni&&(k=!0);else if((ba&Y)===Y){B=B.next,Y===Ni&&(k=!0);continue}else F={lane:0,revertLane:B.revertLane,gesture:null,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},T===null?(y=T=F,p=f):T=T.next=F,me.lanes|=Y,ar|=Y;F=B.action,kr&&i(f,F),f=B.hasEagerState?B.eagerState:i(f,F)}else Y={lane:F,revertLane:B.revertLane,gesture:B.gesture,action:B.action,hasEagerState:B.hasEagerState,eagerState:B.eagerState,next:null},T===null?(y=T=Y,p=f):T=T.next=Y,me.lanes|=F,ar|=F;B=B.next}while(B!==null&&B!==a);if(T===null?p=f:T.next=y,!nn(f,e.memoizedState)&&(pt=!0,k&&(i=$i,i!==null)))throw i;e.memoizedState=f,e.baseState=p,e.baseQueue=T,u.lastRenderedState=f}return o===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Gf(e){var a=ot(),i=a.queue;if(i===null)throw Error(l(311));i.lastRenderedReducer=e;var u=i.dispatch,o=i.pending,f=a.memoizedState;if(o!==null){i.pending=null;var p=o=o.next;do f=e(f,p.action),p=p.next;while(p!==o);nn(f,a.memoizedState)||(pt=!0),a.memoizedState=f,a.baseQueue===null&&(a.baseState=f),i.lastRenderedState=f}return[f,u]}function og(e,a,i){var u=me,o=ot(),f=Se;if(f){if(i===void 0)throw Error(l(407));i=i()}else i=a();var p=!nn((Le||o).memoizedState,i);if(p&&(o.memoizedState=i,pt=!0),o=o.queue,Vf(dg.bind(null,u,o,e),[e]),o.getSnapshot!==a||p||mt!==null&&mt.memoizedState.tag&1){if(u.flags|=2048,Bi(9,{destroy:void 0},fg.bind(null,u,o,i,a),null),Ge===null)throw Error(l(349));f||(ba&127)!==0||cg(u,a,i)}return i}function cg(e,a,i){e.flags|=16384,e={getSnapshot:a,value:i},a=me.updateQueue,a===null?(a=Zs(),me.updateQueue=a,a.stores=[e]):(i=a.stores,i===null?a.stores=[e]:i.push(e))}function fg(e,a,i,u){a.value=i,a.getSnapshot=u,hg(a)&&mg(e)}function dg(e,a,i){return i(function(){hg(a)&&mg(e)})}function hg(e){var a=e.getSnapshot;e=e.value;try{var i=a();return!nn(e,i)}catch{return!0}}function mg(e){var a=qr(e,2);a!==null&&Kt(a,e,2)}function kf(e){var a=Ht();if(typeof e=="function"){var i=e;if(e=i(),kr){Ga(!0);try{i()}finally{Ga(!1)}}}return a.memoizedState=a.baseState=e,a.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:e},a}function pg(e,a,i,u){return e.baseState=i,Yf(e,Le,typeof u=="function"?u:va)}function W_(e,a,i,u,o){if(Vs(e))throw Error(l(485));if(e=a.action,e!==null){var f={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(p){f.listeners.push(p)}};_.T!==null?i(!0):f.isTransition=!1,u(f),i=a.pending,i===null?(f.next=a.pending=f,gg(a,f)):(f.next=i.next,a.pending=i.next=f)}}function gg(e,a){var i=a.action,u=a.payload,o=e.state;if(a.isTransition){var f=_.T,p={};_.T=p;try{var y=i(o,u),T=_.S;T!==null&&T(p,y),yg(e,a,y)}catch(B){Pf(e,a,B)}finally{f!==null&&p.types!==null&&(f.types=p.types),_.T=f}}else try{f=i(o,u),yg(e,a,f)}catch(B){Pf(e,a,B)}}function yg(e,a,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(u){bg(e,a,u)},function(u){return Pf(e,a,u)}):bg(e,a,i)}function bg(e,a,i){a.status="fulfilled",a.value=i,vg(a),e.state=i,a=e.pending,a!==null&&(i=a.next,i===a?e.pending=null:(i=i.next,a.next=i,gg(e,i)))}function Pf(e,a,i){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do a.status="rejected",a.reason=i,vg(a),a=a.next;while(a!==u)}e.action=null}function vg(e){e=e.listeners;for(var a=0;a<e.length;a++)(0,e[a])()}function wg(e,a){return a}function xg(e,a){if(Se){var i=Ge.formState;if(i!==null){e:{var u=me;if(Se){if(Fe){t:{for(var o=Fe,f=xn;o.nodeType!==8;){if(!f){o=null;break t}if(o=Sn(o.nextSibling),o===null){o=null;break t}}f=o.data,o=f==="F!"||f==="F"?o:null}if(o){Fe=Sn(o.nextSibling),u=o.data==="F!";break e}}Qa(u)}u=!1}u&&(a=i[0])}}return i=Ht(),i.memoizedState=i.baseState=a,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:wg,lastRenderedState:a},i.queue=u,i=Hg.bind(null,me,u),u.dispatch=i,u=kf(!1),f=Jf.bind(null,me,!1,u.queue),u=Ht(),o={state:a,dispatch:null,action:e,pending:null},u.queue=o,i=W_.bind(null,me,o,f,i),o.dispatch=i,u.memoizedState=e,[a,i,!1]}function _g(e){var a=ot();return Sg(a,Le,e)}function Sg(e,a,i){if(a=Yf(e,a,wg)[0],e=Gs(va)[0],typeof a=="object"&&a!==null&&typeof a.then=="function")try{var u=Fl(a)}catch(p){throw p===zi?$s:p}else u=a;a=ot();var o=a.queue,f=o.dispatch;return i!==a.memoizedState&&(me.flags|=2048,Bi(9,{destroy:void 0},I_.bind(null,o,i),null)),[u,f,e]}function I_(e,a){e.action=a}function Tg(e){var a=ot(),i=Le;if(i!==null)return Sg(a,i,e);ot(),a=a.memoizedState,i=ot();var u=i.queue.dispatch;return i.memoizedState=e,[a,u,!1]}function Bi(e,a,i,u){return e={tag:e,create:i,deps:u,inst:a,next:null},a=me.updateQueue,a===null&&(a=Zs(),me.updateQueue=a),i=a.lastEffect,i===null?a.lastEffect=e.next=e:(u=i.next,i.next=e,e.next=u,a.lastEffect=e),e}function Eg(){return ot().memoizedState}function ks(e,a,i,u){var o=Ht();me.flags|=e,o.memoizedState=Bi(1|a,{destroy:void 0},i,u===void 0?null:u)}function Ps(e,a,i,u){var o=ot();u=u===void 0?null:u;var f=o.memoizedState.inst;Le!==null&&u!==null&&jf(u,Le.memoizedState.deps)?o.memoizedState=Bi(a,f,i,u):(me.flags|=e,o.memoizedState=Bi(1|a,f,i,u))}function Og(e,a){ks(8390656,8,e,a)}function Vf(e,a){Ps(2048,8,e,a)}function eS(e){me.flags|=4;var a=me.updateQueue;if(a===null)a=Zs(),me.updateQueue=a,a.events=[e];else{var i=a.events;i===null?a.events=[e]:i.push(e)}}function Mg(e){var a=ot().memoizedState;return eS({ref:a,nextImpl:e}),function(){if((Ce&2)!==0)throw Error(l(440));return a.impl.apply(void 0,arguments)}}function Ag(e,a){return Ps(4,2,e,a)}function Cg(e,a){return Ps(4,4,e,a)}function Dg(e,a){if(typeof a=="function"){e=e();var i=a(e);return function(){typeof i=="function"?i():a(null)}}if(a!=null)return e=e(),a.current=e,function(){a.current=null}}function Rg(e,a,i){i=i!=null?i.concat([e]):null,Ps(4,4,Dg.bind(null,a,e),i)}function Xf(){}function Ng(e,a){var i=ot();a=a===void 0?null:a;var u=i.memoizedState;return a!==null&&jf(a,u[1])?u[0]:(i.memoizedState=[e,a],e)}function $g(e,a){var i=ot();a=a===void 0?null:a;var u=i.memoizedState;if(a!==null&&jf(a,u[1]))return u[0];if(u=e(),kr){Ga(!0);try{e()}finally{Ga(!1)}}return i.memoizedState=[u,a],u}function Qf(e,a,i){return i===void 0||(ba&1073741824)!==0&&(xe&261930)===0?e.memoizedState=a:(e.memoizedState=i,e=zy(),me.lanes|=e,ar|=e,i)}function zg(e,a,i,u){return nn(i,a)?i:ji.current!==null?(e=Qf(e,i,u),nn(e,a)||(pt=!0),e):(ba&42)===0||(ba&1073741824)!==0&&(xe&261930)===0?(pt=!0,e.memoizedState=i):(e=zy(),me.lanes|=e,ar|=e,a)}function qg(e,a,i,u,o){var f=P.p;P.p=f!==0&&8>f?f:8;var p=_.T,y={};_.T=y,Jf(e,!1,a,i);try{var T=o(),B=_.S;if(B!==null&&B(y,T),T!==null&&typeof T=="object"&&typeof T.then=="function"){var k=F_(T,u);Kl(e,a,k,on(e))}else Kl(e,a,u,on(e))}catch(F){Kl(e,a,{then:function(){},status:"rejected",reason:F},on())}finally{P.p=f,p!==null&&y.types!==null&&(p.types=y.types),_.T=p}}function tS(){}function Ff(e,a,i,u){if(e.tag!==5)throw Error(l(476));var o=jg(e).queue;qg(e,o,a,I,i===null?tS:function(){return Ug(e),i(u)})}function jg(e){var a=e.memoizedState;if(a!==null)return a;a={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:I},next:null};var i={};return a.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:va,lastRenderedState:i},next:null},e.memoizedState=a,e=e.alternate,e!==null&&(e.memoizedState=a),a}function Ug(e){var a=jg(e);a.next===null&&(a=e.alternate.memoizedState),Kl(e,a.next.queue,{},on())}function Kf(){return Mt(hu)}function Lg(){return ot().memoizedState}function Bg(){return ot().memoizedState}function nS(e){for(var a=e.return;a!==null;){switch(a.tag){case 24:case 3:var i=on();e=Ja(i);var u=Wa(a,e,i);u!==null&&(Kt(u,a,i),Pl(u,a,i)),a={cache:Ef()},e.payload=a;return}a=a.return}}function aS(e,a,i){var u=on();i={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},Vs(e)?Zg(a,i):(i=mf(e,a,i,u),i!==null&&(Kt(i,e,u),Yg(i,a,u)))}function Hg(e,a,i){var u=on();Kl(e,a,i,u)}function Kl(e,a,i,u){var o={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(Vs(e))Zg(a,o);else{var f=e.alternate;if(e.lanes===0&&(f===null||f.lanes===0)&&(f=a.lastRenderedReducer,f!==null))try{var p=a.lastRenderedState,y=f(p,i);if(o.hasEagerState=!0,o.eagerState=y,nn(y,p))return Os(e,a,o,0),Ge===null&&Es(),!1}catch{}if(i=mf(e,a,o,u),i!==null)return Kt(i,e,u),Yg(i,a,u),!0}return!1}function Jf(e,a,i,u){if(u={lane:2,revertLane:Cd(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},Vs(e)){if(a)throw Error(l(479))}else a=mf(e,i,u,2),a!==null&&Kt(a,e,2)}function Vs(e){var a=e.alternate;return e===me||a!==null&&a===me}function Zg(e,a){Ui=Bs=!0;var i=e.pending;i===null?a.next=a:(a.next=i.next,i.next=a),e.pending=a}function Yg(e,a,i){if((i&4194048)!==0){var u=a.lanes;u&=e.pendingLanes,i|=u,a.lanes=i,Xm(e,i)}}var Jl={readContext:Mt,use:Ys,useCallback:rt,useContext:rt,useEffect:rt,useImperativeHandle:rt,useLayoutEffect:rt,useInsertionEffect:rt,useMemo:rt,useReducer:rt,useRef:rt,useState:rt,useDebugValue:rt,useDeferredValue:rt,useTransition:rt,useSyncExternalStore:rt,useId:rt,useHostTransitionStatus:rt,useFormState:rt,useActionState:rt,useOptimistic:rt,useMemoCache:rt,useCacheRefresh:rt};Jl.useEffectEvent=rt;var Gg={readContext:Mt,use:Ys,useCallback:function(e,a){return Ht().memoizedState=[e,a===void 0?null:a],e},useContext:Mt,useEffect:Og,useImperativeHandle:function(e,a,i){i=i!=null?i.concat([e]):null,ks(4194308,4,Dg.bind(null,a,e),i)},useLayoutEffect:function(e,a){return ks(4194308,4,e,a)},useInsertionEffect:function(e,a){ks(4,2,e,a)},useMemo:function(e,a){var i=Ht();a=a===void 0?null:a;var u=e();if(kr){Ga(!0);try{e()}finally{Ga(!1)}}return i.memoizedState=[u,a],u},useReducer:function(e,a,i){var u=Ht();if(i!==void 0){var o=i(a);if(kr){Ga(!0);try{i(a)}finally{Ga(!1)}}}else o=a;return u.memoizedState=u.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},u.queue=e,e=e.dispatch=aS.bind(null,me,e),[u.memoizedState,e]},useRef:function(e){var a=Ht();return e={current:e},a.memoizedState=e},useState:function(e){e=kf(e);var a=e.queue,i=Hg.bind(null,me,a);return a.dispatch=i,[e.memoizedState,i]},useDebugValue:Xf,useDeferredValue:function(e,a){var i=Ht();return Qf(i,e,a)},useTransition:function(){var e=kf(!1);return e=qg.bind(null,me,e.queue,!0,!1),Ht().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,a,i){var u=me,o=Ht();if(Se){if(i===void 0)throw Error(l(407));i=i()}else{if(i=a(),Ge===null)throw Error(l(349));(xe&127)!==0||cg(u,a,i)}o.memoizedState=i;var f={value:i,getSnapshot:a};return o.queue=f,Og(dg.bind(null,u,f,e),[e]),u.flags|=2048,Bi(9,{destroy:void 0},fg.bind(null,u,f,i,a),null),i},useId:function(){var e=Ht(),a=Ge.identifierPrefix;if(Se){var i=Gn,u=Yn;i=(u&~(1<<32-tn(u)-1)).toString(32)+i,a="_"+a+"R_"+i,i=Hs++,0<i&&(a+="H"+i.toString(32)),a+="_"}else i=K_++,a="_"+a+"r_"+i.toString(32)+"_";return e.memoizedState=a},useHostTransitionStatus:Kf,useFormState:xg,useActionState:xg,useOptimistic:function(e){var a=Ht();a.memoizedState=a.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return a.queue=i,a=Jf.bind(null,me,!0,i),i.dispatch=a,[e,a]},useMemoCache:Zf,useCacheRefresh:function(){return Ht().memoizedState=nS.bind(null,me)},useEffectEvent:function(e){var a=Ht(),i={impl:e};return a.memoizedState=i,function(){if((Ce&2)!==0)throw Error(l(440));return i.impl.apply(void 0,arguments)}}},Wf={readContext:Mt,use:Ys,useCallback:Ng,useContext:Mt,useEffect:Vf,useImperativeHandle:Rg,useInsertionEffect:Ag,useLayoutEffect:Cg,useMemo:$g,useReducer:Gs,useRef:Eg,useState:function(){return Gs(va)},useDebugValue:Xf,useDeferredValue:function(e,a){var i=ot();return zg(i,Le.memoizedState,e,a)},useTransition:function(){var e=Gs(va)[0],a=ot().memoizedState;return[typeof e=="boolean"?e:Fl(e),a]},useSyncExternalStore:og,useId:Lg,useHostTransitionStatus:Kf,useFormState:_g,useActionState:_g,useOptimistic:function(e,a){var i=ot();return pg(i,Le,e,a)},useMemoCache:Zf,useCacheRefresh:Bg};Wf.useEffectEvent=Mg;var kg={readContext:Mt,use:Ys,useCallback:Ng,useContext:Mt,useEffect:Vf,useImperativeHandle:Rg,useInsertionEffect:Ag,useLayoutEffect:Cg,useMemo:$g,useReducer:Gf,useRef:Eg,useState:function(){return Gf(va)},useDebugValue:Xf,useDeferredValue:function(e,a){var i=ot();return Le===null?Qf(i,e,a):zg(i,Le.memoizedState,e,a)},useTransition:function(){var e=Gf(va)[0],a=ot().memoizedState;return[typeof e=="boolean"?e:Fl(e),a]},useSyncExternalStore:og,useId:Lg,useHostTransitionStatus:Kf,useFormState:Tg,useActionState:Tg,useOptimistic:function(e,a){var i=ot();return Le!==null?pg(i,Le,e,a):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:Zf,useCacheRefresh:Bg};kg.useEffectEvent=Mg;function If(e,a,i,u){a=e.memoizedState,i=i(u,a),i=i==null?a:v({},a,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var ed={enqueueSetState:function(e,a,i){e=e._reactInternals;var u=on(),o=Ja(u);o.payload=a,i!=null&&(o.callback=i),a=Wa(e,o,u),a!==null&&(Kt(a,e,u),Pl(a,e,u))},enqueueReplaceState:function(e,a,i){e=e._reactInternals;var u=on(),o=Ja(u);o.tag=1,o.payload=a,i!=null&&(o.callback=i),a=Wa(e,o,u),a!==null&&(Kt(a,e,u),Pl(a,e,u))},enqueueForceUpdate:function(e,a){e=e._reactInternals;var i=on(),u=Ja(i);u.tag=2,a!=null&&(u.callback=a),a=Wa(e,u,i),a!==null&&(Kt(a,e,i),Pl(a,e,i))}};function Pg(e,a,i,u,o,f,p){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,f,p):a.prototype&&a.prototype.isPureReactComponent?!Ul(i,u)||!Ul(o,f):!0}function Vg(e,a,i,u){e=a.state,typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(i,u),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(i,u),a.state!==e&&ed.enqueueReplaceState(a,a.state,null)}function Pr(e,a){var i=a;if("ref"in a){i={};for(var u in a)u!=="ref"&&(i[u]=a[u])}if(e=e.defaultProps){i===a&&(i=v({},i));for(var o in e)i[o]===void 0&&(i[o]=e[o])}return i}function Xg(e){Ts(e)}function Qg(e){console.error(e)}function Fg(e){Ts(e)}function Xs(e,a){try{var i=e.onUncaughtError;i(a.value,{componentStack:a.stack})}catch(u){setTimeout(function(){throw u})}}function Kg(e,a,i){try{var u=e.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:a.tag===1?a.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function td(e,a,i){return i=Ja(i),i.tag=3,i.payload={element:null},i.callback=function(){Xs(e,a)},i}function Jg(e){return e=Ja(e),e.tag=3,e}function Wg(e,a,i,u){var o=i.type.getDerivedStateFromError;if(typeof o=="function"){var f=u.value;e.payload=function(){return o(f)},e.callback=function(){Kg(a,i,u)}}var p=i.stateNode;p!==null&&typeof p.componentDidCatch=="function"&&(e.callback=function(){Kg(a,i,u),typeof o!="function"&&(rr===null?rr=new Set([this]):rr.add(this));var y=u.stack;this.componentDidCatch(u.value,{componentStack:y!==null?y:""})})}function rS(e,a,i,u,o){if(i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(a=i.alternate,a!==null&&Ri(a,i,o,!0),i=rn.current,i!==null){switch(i.tag){case 31:case 13:return _n===null?io():i.alternate===null&&it===0&&(it=3),i.flags&=-257,i.flags|=65536,i.lanes=o,u===zs?i.flags|=16384:(a=i.updateQueue,a===null?i.updateQueue=new Set([u]):a.add(u),Od(e,u,o)),!1;case 22:return i.flags|=65536,u===zs?i.flags|=16384:(a=i.updateQueue,a===null?(a={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=a):(i=a.retryQueue,i===null?a.retryQueue=new Set([u]):i.add(u)),Od(e,u,o)),!1}throw Error(l(435,i.tag))}return Od(e,u,o),io(),!1}if(Se)return a=rn.current,a!==null?((a.flags&65536)===0&&(a.flags|=256),a.flags|=65536,a.lanes=o,u!==wf&&(e=Error(l(422),{cause:u}),Hl(bn(e,i)))):(u!==wf&&(a=Error(l(423),{cause:u}),Hl(bn(a,i))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,u=bn(u,i),o=td(e.stateNode,u,o),Rf(e,o),it!==4&&(it=2)),!1;var f=Error(l(520),{cause:u});if(f=bn(f,i),iu===null?iu=[f]:iu.push(f),it!==4&&(it=2),a===null)return!0;u=bn(u,i),i=a;do{switch(i.tag){case 3:return i.flags|=65536,e=o&-o,i.lanes|=e,e=td(i.stateNode,u,e),Rf(i,e),!1;case 1:if(a=i.type,f=i.stateNode,(i.flags&128)===0&&(typeof a.getDerivedStateFromError=="function"||f!==null&&typeof f.componentDidCatch=="function"&&(rr===null||!rr.has(f))))return i.flags|=65536,o&=-o,i.lanes|=o,o=Jg(o),Wg(o,e,i,u),Rf(i,o),!1}i=i.return}while(i!==null);return!1}var nd=Error(l(461)),pt=!1;function At(e,a,i,u){a.child=e===null?ng(a,null,i,u):Gr(a,e.child,i,u)}function Ig(e,a,i,u,o){i=i.render;var f=a.ref;if("ref"in u){var p={};for(var y in u)y!=="ref"&&(p[y]=u[y])}else p=u;return Br(a),u=Uf(e,a,i,p,f,o),y=Lf(),e!==null&&!pt?(Bf(e,a,o),wa(e,a,o)):(Se&&y&&bf(a),a.flags|=1,At(e,a,u,o),a.child)}function ey(e,a,i,u,o){if(e===null){var f=i.type;return typeof f=="function"&&!pf(f)&&f.defaultProps===void 0&&i.compare===null?(a.tag=15,a.type=f,ty(e,a,f,u,o)):(e=As(i.type,null,u,a,a.mode,o),e.ref=a.ref,e.return=a,a.child=e)}if(f=e.child,!cd(e,o)){var p=f.memoizedProps;if(i=i.compare,i=i!==null?i:Ul,i(p,u)&&e.ref===a.ref)return wa(e,a,o)}return a.flags|=1,e=ma(f,u),e.ref=a.ref,e.return=a,a.child=e}function ty(e,a,i,u,o){if(e!==null){var f=e.memoizedProps;if(Ul(f,u)&&e.ref===a.ref)if(pt=!1,a.pendingProps=u=f,cd(e,o))(e.flags&131072)!==0&&(pt=!0);else return a.lanes=e.lanes,wa(e,a,o)}return ad(e,a,i,u,o)}function ny(e,a,i,u){var o=u.children,f=e!==null?e.memoizedState:null;if(e===null&&a.stateNode===null&&(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((a.flags&128)!==0){if(f=f!==null?f.baseLanes|i:i,e!==null){for(u=a.child=e.child,o=0;u!==null;)o=o|u.lanes|u.childLanes,u=u.sibling;u=o&~f}else u=0,a.child=null;return ay(e,a,f,i,u)}if((i&536870912)!==0)a.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ns(a,f!==null?f.cachePool:null),f!==null?ig(a,f):$f(),lg(a);else return u=a.lanes=536870912,ay(e,a,f!==null?f.baseLanes|i:i,i,u)}else f!==null?(Ns(a,f.cachePool),ig(a,f),er(),a.memoizedState=null):(e!==null&&Ns(a,null),$f(),er());return At(e,a,o,i),a.child}function Wl(e,a){return e!==null&&e.tag===22||a.stateNode!==null||(a.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),a.sibling}function ay(e,a,i,u,o){var f=Mf();return f=f===null?null:{parent:ht._currentValue,pool:f},a.memoizedState={baseLanes:i,cachePool:f},e!==null&&Ns(a,null),$f(),lg(a),e!==null&&Ri(e,a,u,!0),a.childLanes=o,null}function Qs(e,a){return a=Ks({mode:a.mode,children:a.children},e.mode),a.ref=e.ref,e.child=a,a.return=e,a}function ry(e,a,i){return Gr(a,e.child,null,i),e=Qs(a,a.pendingProps),e.flags|=2,ln(a),a.memoizedState=null,e}function iS(e,a,i){var u=a.pendingProps,o=(a.flags&128)!==0;if(a.flags&=-129,e===null){if(Se){if(u.mode==="hidden")return e=Qs(a,u),a.lanes=536870912,Wl(null,e);if(qf(a),(e=Fe)?(e=g0(e,xn),e=e!==null&&e.data==="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:Va!==null?{id:Yn,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},i=Zp(e),i.return=a,a.child=i,Ot=a,Fe=null)):e=null,e===null)throw Qa(a);return a.lanes=536870912,null}return Qs(a,u)}var f=e.memoizedState;if(f!==null){var p=f.dehydrated;if(qf(a),o)if(a.flags&256)a.flags&=-257,a=ry(e,a,i);else if(a.memoizedState!==null)a.child=e.child,a.flags|=128,a=null;else throw Error(l(558));else if(pt||Ri(e,a,i,!1),o=(i&e.childLanes)!==0,pt||o){if(u=Ge,u!==null&&(p=Qm(u,i),p!==0&&p!==f.retryLane))throw f.retryLane=p,qr(e,p),Kt(u,e,p),nd;io(),a=ry(e,a,i)}else e=f.treeContext,Fe=Sn(p.nextSibling),Ot=a,Se=!0,Xa=null,xn=!1,e!==null&&kp(a,e),a=Qs(a,u),a.flags|=4096;return a}return e=ma(e.child,{mode:u.mode,children:u.children}),e.ref=a.ref,a.child=e,e.return=a,e}function Fs(e,a){var i=a.ref;if(i===null)e!==null&&e.ref!==null&&(a.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(l(284));(e===null||e.ref!==i)&&(a.flags|=4194816)}}function ad(e,a,i,u,o){return Br(a),i=Uf(e,a,i,u,void 0,o),u=Lf(),e!==null&&!pt?(Bf(e,a,o),wa(e,a,o)):(Se&&u&&bf(a),a.flags|=1,At(e,a,i,o),a.child)}function iy(e,a,i,u,o,f){return Br(a),a.updateQueue=null,i=sg(a,u,i,o),ug(e),u=Lf(),e!==null&&!pt?(Bf(e,a,f),wa(e,a,f)):(Se&&u&&bf(a),a.flags|=1,At(e,a,i,f),a.child)}function ly(e,a,i,u,o){if(Br(a),a.stateNode===null){var f=Mi,p=i.contextType;typeof p=="object"&&p!==null&&(f=Mt(p)),f=new i(u,f),a.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=ed,a.stateNode=f,f._reactInternals=a,f=a.stateNode,f.props=u,f.state=a.memoizedState,f.refs={},Cf(a),p=i.contextType,f.context=typeof p=="object"&&p!==null?Mt(p):Mi,f.state=a.memoizedState,p=i.getDerivedStateFromProps,typeof p=="function"&&(If(a,i,p,u),f.state=a.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof f.getSnapshotBeforeUpdate=="function"||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(p=f.state,typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount(),p!==f.state&&ed.enqueueReplaceState(f,f.state,null),Xl(a,u,f,o),Vl(),f.state=a.memoizedState),typeof f.componentDidMount=="function"&&(a.flags|=4194308),u=!0}else if(e===null){f=a.stateNode;var y=a.memoizedProps,T=Pr(i,y);f.props=T;var B=f.context,k=i.contextType;p=Mi,typeof k=="object"&&k!==null&&(p=Mt(k));var F=i.getDerivedStateFromProps;k=typeof F=="function"||typeof f.getSnapshotBeforeUpdate=="function",y=a.pendingProps!==y,k||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(y||B!==p)&&Vg(a,f,u,p),Ka=!1;var Y=a.memoizedState;f.state=Y,Xl(a,u,f,o),Vl(),B=a.memoizedState,y||Y!==B||Ka?(typeof F=="function"&&(If(a,i,F,u),B=a.memoizedState),(T=Ka||Pg(a,i,T,u,Y,B,p))?(k||typeof f.UNSAFE_componentWillMount!="function"&&typeof f.componentWillMount!="function"||(typeof f.componentWillMount=="function"&&f.componentWillMount(),typeof f.UNSAFE_componentWillMount=="function"&&f.UNSAFE_componentWillMount()),typeof f.componentDidMount=="function"&&(a.flags|=4194308)):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),a.memoizedProps=u,a.memoizedState=B),f.props=u,f.state=B,f.context=p,u=T):(typeof f.componentDidMount=="function"&&(a.flags|=4194308),u=!1)}else{f=a.stateNode,Df(e,a),p=a.memoizedProps,k=Pr(i,p),f.props=k,F=a.pendingProps,Y=f.context,B=i.contextType,T=Mi,typeof B=="object"&&B!==null&&(T=Mt(B)),y=i.getDerivedStateFromProps,(B=typeof y=="function"||typeof f.getSnapshotBeforeUpdate=="function")||typeof f.UNSAFE_componentWillReceiveProps!="function"&&typeof f.componentWillReceiveProps!="function"||(p!==F||Y!==T)&&Vg(a,f,u,T),Ka=!1,Y=a.memoizedState,f.state=Y,Xl(a,u,f,o),Vl();var G=a.memoizedState;p!==F||Y!==G||Ka||e!==null&&e.dependencies!==null&&Ds(e.dependencies)?(typeof y=="function"&&(If(a,i,y,u),G=a.memoizedState),(k=Ka||Pg(a,i,k,u,Y,G,T)||e!==null&&e.dependencies!==null&&Ds(e.dependencies))?(B||typeof f.UNSAFE_componentWillUpdate!="function"&&typeof f.componentWillUpdate!="function"||(typeof f.componentWillUpdate=="function"&&f.componentWillUpdate(u,G,T),typeof f.UNSAFE_componentWillUpdate=="function"&&f.UNSAFE_componentWillUpdate(u,G,T)),typeof f.componentDidUpdate=="function"&&(a.flags|=4),typeof f.getSnapshotBeforeUpdate=="function"&&(a.flags|=1024)):(typeof f.componentDidUpdate!="function"||p===e.memoizedProps&&Y===e.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&Y===e.memoizedState||(a.flags|=1024),a.memoizedProps=u,a.memoizedState=G),f.props=u,f.state=G,f.context=T,u=k):(typeof f.componentDidUpdate!="function"||p===e.memoizedProps&&Y===e.memoizedState||(a.flags|=4),typeof f.getSnapshotBeforeUpdate!="function"||p===e.memoizedProps&&Y===e.memoizedState||(a.flags|=1024),u=!1)}return f=u,Fs(e,a),u=(a.flags&128)!==0,f||u?(f=a.stateNode,i=u&&typeof i.getDerivedStateFromError!="function"?null:f.render(),a.flags|=1,e!==null&&u?(a.child=Gr(a,e.child,null,o),a.child=Gr(a,null,i,o)):At(e,a,i,o),a.memoizedState=f.state,e=a.child):e=wa(e,a,o),e}function uy(e,a,i,u){return Ur(),a.flags|=256,At(e,a,i,u),a.child}var rd={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function id(e){return{baseLanes:e,cachePool:Kp()}}function ld(e,a,i){return e=e!==null?e.childLanes&~i:0,a&&(e|=sn),e}function sy(e,a,i){var u=a.pendingProps,o=!1,f=(a.flags&128)!==0,p;if((p=f)||(p=e!==null&&e.memoizedState===null?!1:(st.current&2)!==0),p&&(o=!0,a.flags&=-129),p=(a.flags&32)!==0,a.flags&=-33,e===null){if(Se){if(o?Ia(a):er(),(e=Fe)?(e=g0(e,xn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(a.memoizedState={dehydrated:e,treeContext:Va!==null?{id:Yn,overflow:Gn}:null,retryLane:536870912,hydrationErrors:null},i=Zp(e),i.return=a,a.child=i,Ot=a,Fe=null)):e=null,e===null)throw Qa(a);return Yd(e)?a.lanes=32:a.lanes=536870912,null}var y=u.children;return u=u.fallback,o?(er(),o=a.mode,y=Ks({mode:"hidden",children:y},o),u=jr(u,o,i,null),y.return=a,u.return=a,y.sibling=u,a.child=y,u=a.child,u.memoizedState=id(i),u.childLanes=ld(e,p,i),a.memoizedState=rd,Wl(null,u)):(Ia(a),ud(a,y))}var T=e.memoizedState;if(T!==null&&(y=T.dehydrated,y!==null)){if(f)a.flags&256?(Ia(a),a.flags&=-257,a=sd(e,a,i)):a.memoizedState!==null?(er(),a.child=e.child,a.flags|=128,a=null):(er(),y=u.fallback,o=a.mode,u=Ks({mode:"visible",children:u.children},o),y=jr(y,o,i,null),y.flags|=2,u.return=a,y.return=a,u.sibling=y,a.child=u,Gr(a,e.child,null,i),u=a.child,u.memoizedState=id(i),u.childLanes=ld(e,p,i),a.memoizedState=rd,a=Wl(null,u));else if(Ia(a),Yd(y)){if(p=y.nextSibling&&y.nextSibling.dataset,p)var B=p.dgst;p=B,u=Error(l(419)),u.stack="",u.digest=p,Hl({value:u,source:null,stack:null}),a=sd(e,a,i)}else if(pt||Ri(e,a,i,!1),p=(i&e.childLanes)!==0,pt||p){if(p=Ge,p!==null&&(u=Qm(p,i),u!==0&&u!==T.retryLane))throw T.retryLane=u,qr(e,u),Kt(p,e,u),nd;Zd(y)||io(),a=sd(e,a,i)}else Zd(y)?(a.flags|=192,a.child=e.child,a=null):(e=T.treeContext,Fe=Sn(y.nextSibling),Ot=a,Se=!0,Xa=null,xn=!1,e!==null&&kp(a,e),a=ud(a,u.children),a.flags|=4096);return a}return o?(er(),y=u.fallback,o=a.mode,T=e.child,B=T.sibling,u=ma(T,{mode:"hidden",children:u.children}),u.subtreeFlags=T.subtreeFlags&65011712,B!==null?y=ma(B,y):(y=jr(y,o,i,null),y.flags|=2),y.return=a,u.return=a,u.sibling=y,a.child=u,Wl(null,u),u=a.child,y=e.child.memoizedState,y===null?y=id(i):(o=y.cachePool,o!==null?(T=ht._currentValue,o=o.parent!==T?{parent:T,pool:T}:o):o=Kp(),y={baseLanes:y.baseLanes|i,cachePool:o}),u.memoizedState=y,u.childLanes=ld(e,p,i),a.memoizedState=rd,Wl(e.child,u)):(Ia(a),i=e.child,e=i.sibling,i=ma(i,{mode:"visible",children:u.children}),i.return=a,i.sibling=null,e!==null&&(p=a.deletions,p===null?(a.deletions=[e],a.flags|=16):p.push(e)),a.child=i,a.memoizedState=null,i)}function ud(e,a){return a=Ks({mode:"visible",children:a},e.mode),a.return=e,e.child=a}function Ks(e,a){return e=an(22,e,null,a),e.lanes=0,e}function sd(e,a,i){return Gr(a,e.child,null,i),e=ud(a,a.pendingProps.children),e.flags|=2,a.memoizedState=null,e}function oy(e,a,i){e.lanes|=a;var u=e.alternate;u!==null&&(u.lanes|=a),Sf(e.return,a,i)}function od(e,a,i,u,o,f){var p=e.memoizedState;p===null?e.memoizedState={isBackwards:a,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:o,treeForkCount:f}:(p.isBackwards=a,p.rendering=null,p.renderingStartTime=0,p.last=u,p.tail=i,p.tailMode=o,p.treeForkCount=f)}function cy(e,a,i){var u=a.pendingProps,o=u.revealOrder,f=u.tail;u=u.children;var p=st.current,y=(p&2)!==0;if(y?(p=p&1|2,a.flags|=128):p&=1,ee(st,p),At(e,a,u,i),u=Se?Bl:0,!y&&e!==null&&(e.flags&128)!==0)e:for(e=a.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&oy(e,i,a);else if(e.tag===19)oy(e,i,a);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===a)break e;for(;e.sibling===null;){if(e.return===null||e.return===a)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"forwards":for(i=a.child,o=null;i!==null;)e=i.alternate,e!==null&&Ls(e)===null&&(o=i),i=i.sibling;i=o,i===null?(o=a.child,a.child=null):(o=i.sibling,i.sibling=null),od(a,!1,o,i,f,u);break;case"backwards":case"unstable_legacy-backwards":for(i=null,o=a.child,a.child=null;o!==null;){if(e=o.alternate,e!==null&&Ls(e)===null){a.child=o;break}e=o.sibling,o.sibling=i,i=o,o=e}od(a,!0,i,null,f,u);break;case"together":od(a,!1,null,null,void 0,u);break;default:a.memoizedState=null}return a.child}function wa(e,a,i){if(e!==null&&(a.dependencies=e.dependencies),ar|=a.lanes,(i&a.childLanes)===0)if(e!==null){if(Ri(e,a,i,!1),(i&a.childLanes)===0)return null}else return null;if(e!==null&&a.child!==e.child)throw Error(l(153));if(a.child!==null){for(e=a.child,i=ma(e,e.pendingProps),a.child=i,i.return=a;e.sibling!==null;)e=e.sibling,i=i.sibling=ma(e,e.pendingProps),i.return=a;i.sibling=null}return a.child}function cd(e,a){return(e.lanes&a)!==0?!0:(e=e.dependencies,!!(e!==null&&Ds(e)))}function lS(e,a,i){switch(a.tag){case 3:Bt(a,a.stateNode.containerInfo),Fa(a,ht,e.memoizedState.cache),Ur();break;case 27:case 5:Tl(a);break;case 4:Bt(a,a.stateNode.containerInfo);break;case 10:Fa(a,a.type,a.memoizedProps.value);break;case 31:if(a.memoizedState!==null)return a.flags|=128,qf(a),null;break;case 13:var u=a.memoizedState;if(u!==null)return u.dehydrated!==null?(Ia(a),a.flags|=128,null):(i&a.child.childLanes)!==0?sy(e,a,i):(Ia(a),e=wa(e,a,i),e!==null?e.sibling:null);Ia(a);break;case 19:var o=(e.flags&128)!==0;if(u=(i&a.childLanes)!==0,u||(Ri(e,a,i,!1),u=(i&a.childLanes)!==0),o){if(u)return cy(e,a,i);a.flags|=128}if(o=a.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ee(st,st.current),u)break;return null;case 22:return a.lanes=0,ny(e,a,i,a.pendingProps);case 24:Fa(a,ht,e.memoizedState.cache)}return wa(e,a,i)}function fy(e,a,i){if(e!==null)if(e.memoizedProps!==a.pendingProps)pt=!0;else{if(!cd(e,i)&&(a.flags&128)===0)return pt=!1,lS(e,a,i);pt=(e.flags&131072)!==0}else pt=!1,Se&&(a.flags&1048576)!==0&&Gp(a,Bl,a.index);switch(a.lanes=0,a.tag){case 16:e:{var u=a.pendingProps;if(e=Zr(a.elementType),a.type=e,typeof e=="function")pf(e)?(u=Pr(e,u),a.tag=1,a=ly(null,a,e,u,i)):(a.tag=0,a=ad(null,a,e,u,i));else{if(e!=null){var o=e.$$typeof;if(o===q){a.tag=11,a=Ig(null,a,e,u,i);break e}else if(o===H){a.tag=14,a=ey(null,a,e,u,i);break e}}throw a=Ye(e)||e,Error(l(306,a,""))}}return a;case 0:return ad(e,a,a.type,a.pendingProps,i);case 1:return u=a.type,o=Pr(u,a.pendingProps),ly(e,a,u,o,i);case 3:e:{if(Bt(a,a.stateNode.containerInfo),e===null)throw Error(l(387));u=a.pendingProps;var f=a.memoizedState;o=f.element,Df(e,a),Xl(a,u,null,i);var p=a.memoizedState;if(u=p.cache,Fa(a,ht,u),u!==f.cache&&Tf(a,[ht],i,!0),Vl(),u=p.element,f.isDehydrated)if(f={element:u,isDehydrated:!1,cache:p.cache},a.updateQueue.baseState=f,a.memoizedState=f,a.flags&256){a=uy(e,a,u,i);break e}else if(u!==o){o=bn(Error(l(424)),a),Hl(o),a=uy(e,a,u,i);break e}else for(e=a.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Fe=Sn(e.firstChild),Ot=a,Se=!0,Xa=null,xn=!0,i=ng(a,null,u,i),a.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Ur(),u===o){a=wa(e,a,i);break e}At(e,a,u,i)}a=a.child}return a;case 26:return Fs(e,a),e===null?(i=_0(a.type,null,a.pendingProps,null))?a.memoizedState=i:Se||(i=a.type,e=a.pendingProps,u=ho(be.current).createElement(i),u[Et]=a,u[kt]=e,Ct(u,i,e),_t(u),a.stateNode=u):a.memoizedState=_0(a.type,e.memoizedProps,a.pendingProps,e.memoizedState),null;case 27:return Tl(a),e===null&&Se&&(u=a.stateNode=v0(a.type,a.pendingProps,be.current),Ot=a,xn=!0,o=Fe,sr(a.type)?(Gd=o,Fe=Sn(u.firstChild)):Fe=o),At(e,a,a.pendingProps.children,i),Fs(e,a),e===null&&(a.flags|=4194304),a.child;case 5:return e===null&&Se&&((o=u=Fe)&&(u=jS(u,a.type,a.pendingProps,xn),u!==null?(a.stateNode=u,Ot=a,Fe=Sn(u.firstChild),xn=!1,o=!0):o=!1),o||Qa(a)),Tl(a),o=a.type,f=a.pendingProps,p=e!==null?e.memoizedProps:null,u=f.children,Ld(o,f)?u=null:p!==null&&Ld(o,p)&&(a.flags|=32),a.memoizedState!==null&&(o=Uf(e,a,J_,null,null,i),hu._currentValue=o),Fs(e,a),At(e,a,u,i),a.child;case 6:return e===null&&Se&&((e=i=Fe)&&(i=US(i,a.pendingProps,xn),i!==null?(a.stateNode=i,Ot=a,Fe=null,e=!0):e=!1),e||Qa(a)),null;case 13:return sy(e,a,i);case 4:return Bt(a,a.stateNode.containerInfo),u=a.pendingProps,e===null?a.child=Gr(a,null,u,i):At(e,a,u,i),a.child;case 11:return Ig(e,a,a.type,a.pendingProps,i);case 7:return At(e,a,a.pendingProps,i),a.child;case 8:return At(e,a,a.pendingProps.children,i),a.child;case 12:return At(e,a,a.pendingProps.children,i),a.child;case 10:return u=a.pendingProps,Fa(a,a.type,u.value),At(e,a,u.children,i),a.child;case 9:return o=a.type._context,u=a.pendingProps.children,Br(a),o=Mt(o),u=u(o),a.flags|=1,At(e,a,u,i),a.child;case 14:return ey(e,a,a.type,a.pendingProps,i);case 15:return ty(e,a,a.type,a.pendingProps,i);case 19:return cy(e,a,i);case 31:return iS(e,a,i);case 22:return ny(e,a,i,a.pendingProps);case 24:return Br(a),u=Mt(ht),e===null?(o=Mf(),o===null&&(o=Ge,f=Ef(),o.pooledCache=f,f.refCount++,f!==null&&(o.pooledCacheLanes|=i),o=f),a.memoizedState={parent:u,cache:o},Cf(a),Fa(a,ht,o)):((e.lanes&i)!==0&&(Df(e,a),Xl(a,null,null,i),Vl()),o=e.memoizedState,f=a.memoizedState,o.parent!==u?(o={parent:u,cache:u},a.memoizedState=o,a.lanes===0&&(a.memoizedState=a.updateQueue.baseState=o),Fa(a,ht,u)):(u=f.cache,Fa(a,ht,u),u!==o.cache&&Tf(a,[ht],i,!0))),At(e,a,a.pendingProps.children,i),a.child;case 29:throw a.pendingProps}throw Error(l(156,a.tag))}function xa(e){e.flags|=4}function fd(e,a,i,u,o){if((a=(e.mode&32)!==0)&&(a=!1),a){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(Ly())e.flags|=8192;else throw Yr=zs,Af}else e.flags&=-16777217}function dy(e,a){if(a.type!=="stylesheet"||(a.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!M0(a))if(Ly())e.flags|=8192;else throw Yr=zs,Af}function Js(e,a){a!==null&&(e.flags|=4),e.flags&16384&&(a=e.tag!==22?Pm():536870912,e.lanes|=a,Gi|=a)}function Il(e,a){if(!Se)switch(e.tailMode){case"hidden":a=e.tail;for(var i=null;a!==null;)a.alternate!==null&&(i=a),a=a.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?a||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Ke(e){var a=e.alternate!==null&&e.alternate.child===e.child,i=0,u=0;if(a)for(var o=e.child;o!==null;)i|=o.lanes|o.childLanes,u|=o.subtreeFlags&65011712,u|=o.flags&65011712,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)i|=o.lanes|o.childLanes,u|=o.subtreeFlags,u|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=u,e.childLanes=i,a}function uS(e,a,i){var u=a.pendingProps;switch(vf(a),a.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ke(a),null;case 1:return Ke(a),null;case 3:return i=a.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),a.memoizedState.cache!==u&&(a.flags|=2048),ya(ht),ut(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Di(a)?xa(a):e===null||e.memoizedState.isDehydrated&&(a.flags&256)===0||(a.flags|=1024,xf())),Ke(a),null;case 26:var o=a.type,f=a.memoizedState;return e===null?(xa(a),f!==null?(Ke(a),dy(a,f)):(Ke(a),fd(a,o,null,u,i))):f?f!==e.memoizedState?(xa(a),Ke(a),dy(a,f)):(Ke(a),a.flags&=-16777217):(e=e.memoizedProps,e!==u&&xa(a),Ke(a),fd(a,o,e,u,i)),null;case 27:if(ss(a),i=be.current,o=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==u&&xa(a);else{if(!u){if(a.stateNode===null)throw Error(l(166));return Ke(a),null}e=W.current,Di(a)?Pp(a):(e=v0(o,u,i),a.stateNode=e,xa(a))}return Ke(a),null;case 5:if(ss(a),o=a.type,e!==null&&a.stateNode!=null)e.memoizedProps!==u&&xa(a);else{if(!u){if(a.stateNode===null)throw Error(l(166));return Ke(a),null}if(f=W.current,Di(a))Pp(a);else{var p=ho(be.current);switch(f){case 1:f=p.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:f=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":f=p.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":f=p.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":f=p.createElement("div"),f.innerHTML="<script><\/script>",f=f.removeChild(f.firstChild);break;case"select":f=typeof u.is=="string"?p.createElement("select",{is:u.is}):p.createElement("select"),u.multiple?f.multiple=!0:u.size&&(f.size=u.size);break;default:f=typeof u.is=="string"?p.createElement(o,{is:u.is}):p.createElement(o)}}f[Et]=a,f[kt]=u;e:for(p=a.child;p!==null;){if(p.tag===5||p.tag===6)f.appendChild(p.stateNode);else if(p.tag!==4&&p.tag!==27&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===a)break e;for(;p.sibling===null;){if(p.return===null||p.return===a)break e;p=p.return}p.sibling.return=p.return,p=p.sibling}a.stateNode=f;e:switch(Ct(f,o,u),o){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&xa(a)}}return Ke(a),fd(a,a.type,e===null?null:e.memoizedProps,a.pendingProps,i),null;case 6:if(e&&a.stateNode!=null)e.memoizedProps!==u&&xa(a);else{if(typeof u!="string"&&a.stateNode===null)throw Error(l(166));if(e=be.current,Di(a)){if(e=a.stateNode,i=a.memoizedProps,u=null,o=Ot,o!==null)switch(o.tag){case 27:case 5:u=o.memoizedProps}e[Et]=a,e=!!(e.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||s0(e.nodeValue,i)),e||Qa(a,!0)}else e=ho(e).createTextNode(u),e[Et]=a,a.stateNode=e}return Ke(a),null;case 31:if(i=a.memoizedState,e===null||e.memoizedState!==null){if(u=Di(a),i!==null){if(e===null){if(!u)throw Error(l(318));if(e=a.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(l(557));e[Et]=a}else Ur(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Ke(a),e=!1}else i=xf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return a.flags&256?(ln(a),a):(ln(a),null);if((a.flags&128)!==0)throw Error(l(558))}return Ke(a),null;case 13:if(u=a.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Di(a),u!==null&&u.dehydrated!==null){if(e===null){if(!o)throw Error(l(318));if(o=a.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(l(317));o[Et]=a}else Ur(),(a.flags&128)===0&&(a.memoizedState=null),a.flags|=4;Ke(a),o=!1}else o=xf(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return a.flags&256?(ln(a),a):(ln(a),null)}return ln(a),(a.flags&128)!==0?(a.lanes=i,a):(i=u!==null,e=e!==null&&e.memoizedState!==null,i&&(u=a.child,o=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(o=u.alternate.memoizedState.cachePool.pool),f=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(f=u.memoizedState.cachePool.pool),f!==o&&(u.flags|=2048)),i!==e&&i&&(a.child.flags|=8192),Js(a,a.updateQueue),Ke(a),null);case 4:return ut(),e===null&&$d(a.stateNode.containerInfo),Ke(a),null;case 10:return ya(a.type),Ke(a),null;case 19:if(Q(st),u=a.memoizedState,u===null)return Ke(a),null;if(o=(a.flags&128)!==0,f=u.rendering,f===null)if(o)Il(u,!1);else{if(it!==0||e!==null&&(e.flags&128)!==0)for(e=a.child;e!==null;){if(f=Ls(e),f!==null){for(a.flags|=128,Il(u,!1),e=f.updateQueue,a.updateQueue=e,Js(a,e),a.subtreeFlags=0,e=i,i=a.child;i!==null;)Hp(i,e),i=i.sibling;return ee(st,st.current&1|2),Se&&pa(a,u.treeForkCount),a.child}e=e.sibling}u.tail!==null&&It()>no&&(a.flags|=128,o=!0,Il(u,!1),a.lanes=4194304)}else{if(!o)if(e=Ls(f),e!==null){if(a.flags|=128,o=!0,e=e.updateQueue,a.updateQueue=e,Js(a,e),Il(u,!0),u.tail===null&&u.tailMode==="hidden"&&!f.alternate&&!Se)return Ke(a),null}else 2*It()-u.renderingStartTime>no&&i!==536870912&&(a.flags|=128,o=!0,Il(u,!1),a.lanes=4194304);u.isBackwards?(f.sibling=a.child,a.child=f):(e=u.last,e!==null?e.sibling=f:a.child=f,u.last=f)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=It(),e.sibling=null,i=st.current,ee(st,o?i&1|2:i&1),Se&&pa(a,u.treeForkCount),e):(Ke(a),null);case 22:case 23:return ln(a),zf(),u=a.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(a.flags|=8192):u&&(a.flags|=8192),u?(i&536870912)!==0&&(a.flags&128)===0&&(Ke(a),a.subtreeFlags&6&&(a.flags|=8192)):Ke(a),i=a.updateQueue,i!==null&&Js(a,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),u=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),u!==i&&(a.flags|=2048),e!==null&&Q(Hr),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),a.memoizedState.cache!==i&&(a.flags|=2048),ya(ht),Ke(a),null;case 25:return null;case 30:return null}throw Error(l(156,a.tag))}function sS(e,a){switch(vf(a),a.tag){case 1:return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 3:return ya(ht),ut(),e=a.flags,(e&65536)!==0&&(e&128)===0?(a.flags=e&-65537|128,a):null;case 26:case 27:case 5:return ss(a),null;case 31:if(a.memoizedState!==null){if(ln(a),a.alternate===null)throw Error(l(340));Ur()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 13:if(ln(a),e=a.memoizedState,e!==null&&e.dehydrated!==null){if(a.alternate===null)throw Error(l(340));Ur()}return e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 19:return Q(st),null;case 4:return ut(),null;case 10:return ya(a.type),null;case 22:case 23:return ln(a),zf(),e!==null&&Q(Hr),e=a.flags,e&65536?(a.flags=e&-65537|128,a):null;case 24:return ya(ht),null;case 25:return null;default:return null}}function hy(e,a){switch(vf(a),a.tag){case 3:ya(ht),ut();break;case 26:case 27:case 5:ss(a);break;case 4:ut();break;case 31:a.memoizedState!==null&&ln(a);break;case 13:ln(a);break;case 19:Q(st);break;case 10:ya(a.type);break;case 22:case 23:ln(a),zf(),e!==null&&Q(Hr);break;case 24:ya(ht)}}function eu(e,a){try{var i=a.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var o=u.next;i=o;do{if((i.tag&e)===e){u=void 0;var f=i.create,p=i.inst;u=f(),p.destroy=u}i=i.next}while(i!==o)}}catch(y){je(a,a.return,y)}}function tr(e,a,i){try{var u=a.updateQueue,o=u!==null?u.lastEffect:null;if(o!==null){var f=o.next;u=f;do{if((u.tag&e)===e){var p=u.inst,y=p.destroy;if(y!==void 0){p.destroy=void 0,o=a;var T=i,B=y;try{B()}catch(k){je(o,T,k)}}}u=u.next}while(u!==f)}}catch(k){je(a,a.return,k)}}function my(e){var a=e.updateQueue;if(a!==null){var i=e.stateNode;try{rg(a,i)}catch(u){je(e,e.return,u)}}}function py(e,a,i){i.props=Pr(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(u){je(e,a,u)}}function tu(e,a){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof i=="function"?e.refCleanup=i(u):i.current=u}}catch(o){je(e,a,o)}}function kn(e,a){var i=e.ref,u=e.refCleanup;if(i!==null)if(typeof u=="function")try{u()}catch(o){je(e,a,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(o){je(e,a,o)}else i.current=null}function gy(e){var a=e.type,i=e.memoizedProps,u=e.stateNode;try{e:switch(a){case"button":case"input":case"select":case"textarea":i.autoFocus&&u.focus();break e;case"img":i.src?u.src=i.src:i.srcSet&&(u.srcset=i.srcSet)}}catch(o){je(e,e.return,o)}}function dd(e,a,i){try{var u=e.stateNode;DS(u,e.type,i,a),u[kt]=a}catch(o){je(e,e.return,o)}}function yy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&sr(e.type)||e.tag===4}function hd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||yy(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&sr(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function md(e,a,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,a?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,a):(a=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,a.appendChild(e),i=i._reactRootContainer,i!=null||a.onclick!==null||(a.onclick=da));else if(u!==4&&(u===27&&sr(e.type)&&(i=e.stateNode,a=null),e=e.child,e!==null))for(md(e,a,i),e=e.sibling;e!==null;)md(e,a,i),e=e.sibling}function Ws(e,a,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,a?i.insertBefore(e,a):i.appendChild(e);else if(u!==4&&(u===27&&sr(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(Ws(e,a,i),e=e.sibling;e!==null;)Ws(e,a,i),e=e.sibling}function by(e){var a=e.stateNode,i=e.memoizedProps;try{for(var u=e.type,o=a.attributes;o.length;)a.removeAttributeNode(o[0]);Ct(a,u,i),a[Et]=e,a[kt]=i}catch(f){je(e,e.return,f)}}var _a=!1,gt=!1,pd=!1,vy=typeof WeakSet=="function"?WeakSet:Set,St=null;function oS(e,a){if(e=e.containerInfo,jd=wo,e=Rp(e),sf(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var o=u.anchorOffset,f=u.focusNode;u=u.focusOffset;try{i.nodeType,f.nodeType}catch{i=null;break e}var p=0,y=-1,T=-1,B=0,k=0,F=e,Y=null;t:for(;;){for(var G;F!==i||o!==0&&F.nodeType!==3||(y=p+o),F!==f||u!==0&&F.nodeType!==3||(T=p+u),F.nodeType===3&&(p+=F.nodeValue.length),(G=F.firstChild)!==null;)Y=F,F=G;for(;;){if(F===e)break t;if(Y===i&&++B===o&&(y=p),Y===f&&++k===u&&(T=p),(G=F.nextSibling)!==null)break;F=Y,Y=F.parentNode}F=G}i=y===-1||T===-1?null:{start:y,end:T}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ud={focusedElem:e,selectionRange:i},wo=!1,St=a;St!==null;)if(a=St,e=a.child,(a.subtreeFlags&1028)!==0&&e!==null)e.return=a,St=e;else for(;St!==null;){switch(a=St,f=a.alternate,e=a.flags,a.tag){case 0:if((e&4)!==0&&(e=a.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)o=e[i],o.ref.impl=o.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&f!==null){e=void 0,i=a,o=f.memoizedProps,f=f.memoizedState,u=i.stateNode;try{var ne=Pr(i.type,o);e=u.getSnapshotBeforeUpdate(ne,f),u.__reactInternalSnapshotBeforeUpdate=e}catch(oe){je(i,i.return,oe)}}break;case 3:if((e&1024)!==0){if(e=a.stateNode.containerInfo,i=e.nodeType,i===9)Hd(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Hd(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(l(163))}if(e=a.sibling,e!==null){e.return=a.return,St=e;break}St=a.return}}function wy(e,a,i){var u=i.flags;switch(i.tag){case 0:case 11:case 15:Ta(e,i),u&4&&eu(5,i);break;case 1:if(Ta(e,i),u&4)if(e=i.stateNode,a===null)try{e.componentDidMount()}catch(p){je(i,i.return,p)}else{var o=Pr(i.type,a.memoizedProps);a=a.memoizedState;try{e.componentDidUpdate(o,a,e.__reactInternalSnapshotBeforeUpdate)}catch(p){je(i,i.return,p)}}u&64&&my(i),u&512&&tu(i,i.return);break;case 3:if(Ta(e,i),u&64&&(e=i.updateQueue,e!==null)){if(a=null,i.child!==null)switch(i.child.tag){case 27:case 5:a=i.child.stateNode;break;case 1:a=i.child.stateNode}try{rg(e,a)}catch(p){je(i,i.return,p)}}break;case 27:a===null&&u&4&&by(i);case 26:case 5:Ta(e,i),a===null&&u&4&&gy(i),u&512&&tu(i,i.return);break;case 12:Ta(e,i);break;case 31:Ta(e,i),u&4&&Sy(e,i);break;case 13:Ta(e,i),u&4&&Ty(e,i),u&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=bS.bind(null,i),LS(e,i))));break;case 22:if(u=i.memoizedState!==null||_a,!u){a=a!==null&&a.memoizedState!==null||gt,o=_a;var f=gt;_a=u,(gt=a)&&!f?Ea(e,i,(i.subtreeFlags&8772)!==0):Ta(e,i),_a=o,gt=f}break;case 30:break;default:Ta(e,i)}}function xy(e){var a=e.alternate;a!==null&&(e.alternate=null,xy(a)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(a=e.stateNode,a!==null&&kc(a)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var We=null,Vt=!1;function Sa(e,a,i){for(i=i.child;i!==null;)_y(e,a,i),i=i.sibling}function _y(e,a,i){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(El,i)}catch{}switch(i.tag){case 26:gt||kn(i,a),Sa(e,a,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:gt||kn(i,a);var u=We,o=Vt;sr(i.type)&&(We=i.stateNode,Vt=!1),Sa(e,a,i),cu(i.stateNode),We=u,Vt=o;break;case 5:gt||kn(i,a);case 6:if(u=We,o=Vt,We=null,Sa(e,a,i),We=u,Vt=o,We!==null)if(Vt)try{(We.nodeType===9?We.body:We.nodeName==="HTML"?We.ownerDocument.body:We).removeChild(i.stateNode)}catch(f){je(i,a,f)}else try{We.removeChild(i.stateNode)}catch(f){je(i,a,f)}break;case 18:We!==null&&(Vt?(e=We,m0(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),Ji(e)):m0(We,i.stateNode));break;case 4:u=We,o=Vt,We=i.stateNode.containerInfo,Vt=!0,Sa(e,a,i),We=u,Vt=o;break;case 0:case 11:case 14:case 15:tr(2,i,a),gt||tr(4,i,a),Sa(e,a,i);break;case 1:gt||(kn(i,a),u=i.stateNode,typeof u.componentWillUnmount=="function"&&py(i,a,u)),Sa(e,a,i);break;case 21:Sa(e,a,i);break;case 22:gt=(u=gt)||i.memoizedState!==null,Sa(e,a,i),gt=u;break;default:Sa(e,a,i)}}function Sy(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Ji(e)}catch(i){je(a,a.return,i)}}}function Ty(e,a){if(a.memoizedState===null&&(e=a.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Ji(e)}catch(i){je(a,a.return,i)}}function cS(e){switch(e.tag){case 31:case 13:case 19:var a=e.stateNode;return a===null&&(a=e.stateNode=new vy),a;case 22:return e=e.stateNode,a=e._retryCache,a===null&&(a=e._retryCache=new vy),a;default:throw Error(l(435,e.tag))}}function Is(e,a){var i=cS(e);a.forEach(function(u){if(!i.has(u)){i.add(u);var o=vS.bind(null,e,u);u.then(o,o)}})}function Xt(e,a){var i=a.deletions;if(i!==null)for(var u=0;u<i.length;u++){var o=i[u],f=e,p=a,y=p;e:for(;y!==null;){switch(y.tag){case 27:if(sr(y.type)){We=y.stateNode,Vt=!1;break e}break;case 5:We=y.stateNode,Vt=!1;break e;case 3:case 4:We=y.stateNode.containerInfo,Vt=!0;break e}y=y.return}if(We===null)throw Error(l(160));_y(f,p,o),We=null,Vt=!1,f=o.alternate,f!==null&&(f.return=null),o.return=null}if(a.subtreeFlags&13886)for(a=a.child;a!==null;)Ey(a,e),a=a.sibling}var zn=null;function Ey(e,a){var i=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Xt(a,e),Qt(e),u&4&&(tr(3,e,e.return),eu(3,e),tr(5,e,e.return));break;case 1:Xt(a,e),Qt(e),u&512&&(gt||i===null||kn(i,i.return)),u&64&&_a&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?u:i.concat(u))));break;case 26:var o=zn;if(Xt(a,e),Qt(e),u&512&&(gt||i===null||kn(i,i.return)),u&4){var f=i!==null?i.memoizedState:null;if(u=e.memoizedState,i===null)if(u===null)if(e.stateNode===null){e:{u=e.type,i=e.memoizedProps,o=o.ownerDocument||o;t:switch(u){case"title":f=o.getElementsByTagName("title")[0],(!f||f[Al]||f[Et]||f.namespaceURI==="http://www.w3.org/2000/svg"||f.hasAttribute("itemprop"))&&(f=o.createElement(u),o.head.insertBefore(f,o.querySelector("head > title"))),Ct(f,u,i),f[Et]=e,_t(f),u=f;break e;case"link":var p=E0("link","href",o).get(u+(i.href||""));if(p){for(var y=0;y<p.length;y++)if(f=p[y],f.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&f.getAttribute("rel")===(i.rel==null?null:i.rel)&&f.getAttribute("title")===(i.title==null?null:i.title)&&f.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){p.splice(y,1);break t}}f=o.createElement(u),Ct(f,u,i),o.head.appendChild(f);break;case"meta":if(p=E0("meta","content",o).get(u+(i.content||""))){for(y=0;y<p.length;y++)if(f=p[y],f.getAttribute("content")===(i.content==null?null:""+i.content)&&f.getAttribute("name")===(i.name==null?null:i.name)&&f.getAttribute("property")===(i.property==null?null:i.property)&&f.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&f.getAttribute("charset")===(i.charSet==null?null:i.charSet)){p.splice(y,1);break t}}f=o.createElement(u),Ct(f,u,i),o.head.appendChild(f);break;default:throw Error(l(468,u))}f[Et]=e,_t(f),u=f}e.stateNode=u}else O0(o,e.type,e.stateNode);else e.stateNode=T0(o,u,e.memoizedProps);else f!==u?(f===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):f.count--,u===null?O0(o,e.type,e.stateNode):T0(o,u,e.memoizedProps)):u===null&&e.stateNode!==null&&dd(e,e.memoizedProps,i.memoizedProps)}break;case 27:Xt(a,e),Qt(e),u&512&&(gt||i===null||kn(i,i.return)),i!==null&&u&4&&dd(e,e.memoizedProps,i.memoizedProps);break;case 5:if(Xt(a,e),Qt(e),u&512&&(gt||i===null||kn(i,i.return)),e.flags&32){o=e.stateNode;try{wi(o,"")}catch(ne){je(e,e.return,ne)}}u&4&&e.stateNode!=null&&(o=e.memoizedProps,dd(e,o,i!==null?i.memoizedProps:o)),u&1024&&(pd=!0);break;case 6:if(Xt(a,e),Qt(e),u&4){if(e.stateNode===null)throw Error(l(162));u=e.memoizedProps,i=e.stateNode;try{i.nodeValue=u}catch(ne){je(e,e.return,ne)}}break;case 3:if(go=null,o=zn,zn=mo(a.containerInfo),Xt(a,e),zn=o,Qt(e),u&4&&i!==null&&i.memoizedState.isDehydrated)try{Ji(a.containerInfo)}catch(ne){je(e,e.return,ne)}pd&&(pd=!1,Oy(e));break;case 4:u=zn,zn=mo(e.stateNode.containerInfo),Xt(a,e),Qt(e),zn=u;break;case 12:Xt(a,e),Qt(e);break;case 31:Xt(a,e),Qt(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Is(e,u)));break;case 13:Xt(a,e),Qt(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(to=It()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Is(e,u)));break;case 22:o=e.memoizedState!==null;var T=i!==null&&i.memoizedState!==null,B=_a,k=gt;if(_a=B||o,gt=k||T,Xt(a,e),gt=k,_a=B,Qt(e),u&8192)e:for(a=e.stateNode,a._visibility=o?a._visibility&-2:a._visibility|1,o&&(i===null||T||_a||gt||Vr(e)),i=null,a=e;;){if(a.tag===5||a.tag===26){if(i===null){T=i=a;try{if(f=T.stateNode,o)p=f.style,typeof p.setProperty=="function"?p.setProperty("display","none","important"):p.display="none";else{y=T.stateNode;var F=T.memoizedProps.style,Y=F!=null&&F.hasOwnProperty("display")?F.display:null;y.style.display=Y==null||typeof Y=="boolean"?"":(""+Y).trim()}}catch(ne){je(T,T.return,ne)}}}else if(a.tag===6){if(i===null){T=a;try{T.stateNode.nodeValue=o?"":T.memoizedProps}catch(ne){je(T,T.return,ne)}}}else if(a.tag===18){if(i===null){T=a;try{var G=T.stateNode;o?p0(G,!0):p0(T.stateNode,!1)}catch(ne){je(T,T.return,ne)}}}else if((a.tag!==22&&a.tag!==23||a.memoizedState===null||a===e)&&a.child!==null){a.child.return=a,a=a.child;continue}if(a===e)break e;for(;a.sibling===null;){if(a.return===null||a.return===e)break e;i===a&&(i=null),a=a.return}i===a&&(i=null),a.sibling.return=a.return,a=a.sibling}u&4&&(u=e.updateQueue,u!==null&&(i=u.retryQueue,i!==null&&(u.retryQueue=null,Is(e,i))));break;case 19:Xt(a,e),Qt(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,Is(e,u)));break;case 30:break;case 21:break;default:Xt(a,e),Qt(e)}}function Qt(e){var a=e.flags;if(a&2){try{for(var i,u=e.return;u!==null;){if(yy(u)){i=u;break}u=u.return}if(i==null)throw Error(l(160));switch(i.tag){case 27:var o=i.stateNode,f=hd(e);Ws(e,f,o);break;case 5:var p=i.stateNode;i.flags&32&&(wi(p,""),i.flags&=-33);var y=hd(e);Ws(e,y,p);break;case 3:case 4:var T=i.stateNode.containerInfo,B=hd(e);md(e,B,T);break;default:throw Error(l(161))}}catch(k){je(e,e.return,k)}e.flags&=-3}a&4096&&(e.flags&=-4097)}function Oy(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var a=e;Oy(a),a.tag===5&&a.flags&1024&&a.stateNode.reset(),e=e.sibling}}function Ta(e,a){if(a.subtreeFlags&8772)for(a=a.child;a!==null;)wy(e,a.alternate,a),a=a.sibling}function Vr(e){for(e=e.child;e!==null;){var a=e;switch(a.tag){case 0:case 11:case 14:case 15:tr(4,a,a.return),Vr(a);break;case 1:kn(a,a.return);var i=a.stateNode;typeof i.componentWillUnmount=="function"&&py(a,a.return,i),Vr(a);break;case 27:cu(a.stateNode);case 26:case 5:kn(a,a.return),Vr(a);break;case 22:a.memoizedState===null&&Vr(a);break;case 30:Vr(a);break;default:Vr(a)}e=e.sibling}}function Ea(e,a,i){for(i=i&&(a.subtreeFlags&8772)!==0,a=a.child;a!==null;){var u=a.alternate,o=e,f=a,p=f.flags;switch(f.tag){case 0:case 11:case 15:Ea(o,f,i),eu(4,f);break;case 1:if(Ea(o,f,i),u=f,o=u.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(B){je(u,u.return,B)}if(u=f,o=u.updateQueue,o!==null){var y=u.stateNode;try{var T=o.shared.hiddenCallbacks;if(T!==null)for(o.shared.hiddenCallbacks=null,o=0;o<T.length;o++)ag(T[o],y)}catch(B){je(u,u.return,B)}}i&&p&64&&my(f),tu(f,f.return);break;case 27:by(f);case 26:case 5:Ea(o,f,i),i&&u===null&&p&4&&gy(f),tu(f,f.return);break;case 12:Ea(o,f,i);break;case 31:Ea(o,f,i),i&&p&4&&Sy(o,f);break;case 13:Ea(o,f,i),i&&p&4&&Ty(o,f);break;case 22:f.memoizedState===null&&Ea(o,f,i),tu(f,f.return);break;case 30:break;default:Ea(o,f,i)}a=a.sibling}}function gd(e,a){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(e=a.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&Zl(i))}function yd(e,a){e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Zl(e))}function qn(e,a,i,u){if(a.subtreeFlags&10256)for(a=a.child;a!==null;)My(e,a,i,u),a=a.sibling}function My(e,a,i,u){var o=a.flags;switch(a.tag){case 0:case 11:case 15:qn(e,a,i,u),o&2048&&eu(9,a);break;case 1:qn(e,a,i,u);break;case 3:qn(e,a,i,u),o&2048&&(e=null,a.alternate!==null&&(e=a.alternate.memoizedState.cache),a=a.memoizedState.cache,a!==e&&(a.refCount++,e!=null&&Zl(e)));break;case 12:if(o&2048){qn(e,a,i,u),e=a.stateNode;try{var f=a.memoizedProps,p=f.id,y=f.onPostCommit;typeof y=="function"&&y(p,a.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(T){je(a,a.return,T)}}else qn(e,a,i,u);break;case 31:qn(e,a,i,u);break;case 13:qn(e,a,i,u);break;case 23:break;case 22:f=a.stateNode,p=a.alternate,a.memoizedState!==null?f._visibility&2?qn(e,a,i,u):nu(e,a):f._visibility&2?qn(e,a,i,u):(f._visibility|=2,Hi(e,a,i,u,(a.subtreeFlags&10256)!==0||!1)),o&2048&&gd(p,a);break;case 24:qn(e,a,i,u),o&2048&&yd(a.alternate,a);break;default:qn(e,a,i,u)}}function Hi(e,a,i,u,o){for(o=o&&((a.subtreeFlags&10256)!==0||!1),a=a.child;a!==null;){var f=e,p=a,y=i,T=u,B=p.flags;switch(p.tag){case 0:case 11:case 15:Hi(f,p,y,T,o),eu(8,p);break;case 23:break;case 22:var k=p.stateNode;p.memoizedState!==null?k._visibility&2?Hi(f,p,y,T,o):nu(f,p):(k._visibility|=2,Hi(f,p,y,T,o)),o&&B&2048&&gd(p.alternate,p);break;case 24:Hi(f,p,y,T,o),o&&B&2048&&yd(p.alternate,p);break;default:Hi(f,p,y,T,o)}a=a.sibling}}function nu(e,a){if(a.subtreeFlags&10256)for(a=a.child;a!==null;){var i=e,u=a,o=u.flags;switch(u.tag){case 22:nu(i,u),o&2048&&gd(u.alternate,u);break;case 24:nu(i,u),o&2048&&yd(u.alternate,u);break;default:nu(i,u)}a=a.sibling}}var au=8192;function Zi(e,a,i){if(e.subtreeFlags&au)for(e=e.child;e!==null;)Ay(e,a,i),e=e.sibling}function Ay(e,a,i){switch(e.tag){case 26:Zi(e,a,i),e.flags&au&&e.memoizedState!==null&&KS(i,zn,e.memoizedState,e.memoizedProps);break;case 5:Zi(e,a,i);break;case 3:case 4:var u=zn;zn=mo(e.stateNode.containerInfo),Zi(e,a,i),zn=u;break;case 22:e.memoizedState===null&&(u=e.alternate,u!==null&&u.memoizedState!==null?(u=au,au=16777216,Zi(e,a,i),au=u):Zi(e,a,i));break;default:Zi(e,a,i)}}function Cy(e){var a=e.alternate;if(a!==null&&(e=a.child,e!==null)){a.child=null;do a=e.sibling,e.sibling=null,e=a;while(e!==null)}}function ru(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var u=a[i];St=u,Ry(u,e)}Cy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Dy(e),e=e.sibling}function Dy(e){switch(e.tag){case 0:case 11:case 15:ru(e),e.flags&2048&&tr(9,e,e.return);break;case 3:ru(e);break;case 12:ru(e);break;case 22:var a=e.stateNode;e.memoizedState!==null&&a._visibility&2&&(e.return===null||e.return.tag!==13)?(a._visibility&=-3,eo(e)):ru(e);break;default:ru(e)}}function eo(e){var a=e.deletions;if((e.flags&16)!==0){if(a!==null)for(var i=0;i<a.length;i++){var u=a[i];St=u,Ry(u,e)}Cy(e)}for(e=e.child;e!==null;){switch(a=e,a.tag){case 0:case 11:case 15:tr(8,a,a.return),eo(a);break;case 22:i=a.stateNode,i._visibility&2&&(i._visibility&=-3,eo(a));break;default:eo(a)}e=e.sibling}}function Ry(e,a){for(;St!==null;){var i=St;switch(i.tag){case 0:case 11:case 15:tr(8,i,a);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var u=i.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:Zl(i.memoizedState.cache)}if(u=i.child,u!==null)u.return=i,St=u;else e:for(i=e;St!==null;){u=St;var o=u.sibling,f=u.return;if(xy(u),u===i){St=null;break e}if(o!==null){o.return=f,St=o;break e}St=f}}}var fS={getCacheForType:function(e){var a=Mt(ht),i=a.data.get(e);return i===void 0&&(i=e(),a.data.set(e,i)),i},cacheSignal:function(){return Mt(ht).controller.signal}},dS=typeof WeakMap=="function"?WeakMap:Map,Ce=0,Ge=null,ve=null,xe=0,qe=0,un=null,nr=!1,Yi=!1,bd=!1,Oa=0,it=0,ar=0,Xr=0,vd=0,sn=0,Gi=0,iu=null,Ft=null,wd=!1,to=0,Ny=0,no=1/0,ao=null,rr=null,wt=0,ir=null,ki=null,Ma=0,xd=0,_d=null,$y=null,lu=0,Sd=null;function on(){return(Ce&2)!==0&&xe!==0?xe&-xe:_.T!==null?Cd():Fm()}function zy(){if(sn===0)if((xe&536870912)===0||Se){var e=fs;fs<<=1,(fs&3932160)===0&&(fs=262144),sn=e}else sn=536870912;return e=rn.current,e!==null&&(e.flags|=32),sn}function Kt(e,a,i){(e===Ge&&(qe===2||qe===9)||e.cancelPendingCommit!==null)&&(Pi(e,0),lr(e,xe,sn,!1)),Ml(e,i),((Ce&2)===0||e!==Ge)&&(e===Ge&&((Ce&2)===0&&(Xr|=i),it===4&&lr(e,xe,sn,!1)),Pn(e))}function qy(e,a,i){if((Ce&6)!==0)throw Error(l(327));var u=!i&&(a&127)===0&&(a&e.expiredLanes)===0||Ol(e,a),o=u?pS(e,a):Ed(e,a,!0),f=u;do{if(o===0){Yi&&!u&&lr(e,a,0,!1);break}else{if(i=e.current.alternate,f&&!hS(i)){o=Ed(e,a,!1),f=!1;continue}if(o===2){if(f=a,e.errorRecoveryDisabledLanes&f)var p=0;else p=e.pendingLanes&-536870913,p=p!==0?p:p&536870912?536870912:0;if(p!==0){a=p;e:{var y=e;o=iu;var T=y.current.memoizedState.isDehydrated;if(T&&(Pi(y,p).flags|=256),p=Ed(y,p,!1),p!==2){if(bd&&!T){y.errorRecoveryDisabledLanes|=f,Xr|=f,o=4;break e}f=Ft,Ft=o,f!==null&&(Ft===null?Ft=f:Ft.push.apply(Ft,f))}o=p}if(f=!1,o!==2)continue}}if(o===1){Pi(e,0),lr(e,a,0,!0);break}e:{switch(u=e,f=o,f){case 0:case 1:throw Error(l(345));case 4:if((a&4194048)!==a)break;case 6:lr(u,a,sn,!nr);break e;case 2:Ft=null;break;case 3:case 5:break;default:throw Error(l(329))}if((a&62914560)===a&&(o=to+300-It(),10<o)){if(lr(u,a,sn,!nr),hs(u,0,!0)!==0)break e;Ma=a,u.timeoutHandle=d0(jy.bind(null,u,i,Ft,ao,wd,a,sn,Xr,Gi,nr,f,"Throttled",-0,0),o);break e}jy(u,i,Ft,ao,wd,a,sn,Xr,Gi,nr,f,null,-0,0)}}break}while(!0);Pn(e)}function jy(e,a,i,u,o,f,p,y,T,B,k,F,Y,G){if(e.timeoutHandle=-1,F=a.subtreeFlags,F&8192||(F&16785408)===16785408){F={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:da},Ay(a,f,F);var ne=(f&62914560)===f?to-It():(f&4194048)===f?Ny-It():0;if(ne=JS(F,ne),ne!==null){Ma=f,e.cancelPendingCommit=ne(ky.bind(null,e,a,f,i,u,o,p,y,T,k,F,null,Y,G)),lr(e,f,p,!B);return}}ky(e,a,f,i,u,o,p,y,T)}function hS(e){for(var a=e;;){var i=a.tag;if((i===0||i===11||i===15)&&a.flags&16384&&(i=a.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var u=0;u<i.length;u++){var o=i[u],f=o.getSnapshot;o=o.value;try{if(!nn(f(),o))return!1}catch{return!1}}if(i=a.child,a.subtreeFlags&16384&&i!==null)i.return=a,a=i;else{if(a===e)break;for(;a.sibling===null;){if(a.return===null||a.return===e)return!0;a=a.return}a.sibling.return=a.return,a=a.sibling}}return!0}function lr(e,a,i,u){a&=~vd,a&=~Xr,e.suspendedLanes|=a,e.pingedLanes&=~a,u&&(e.warmLanes|=a),u=e.expirationTimes;for(var o=a;0<o;){var f=31-tn(o),p=1<<f;u[f]=-1,o&=~p}i!==0&&Vm(e,i,a)}function ro(){return(Ce&6)===0?(uu(0),!1):!0}function Td(){if(ve!==null){if(qe===0)var e=ve.return;else e=ve,ga=Lr=null,Hf(e),qi=null,Gl=0,e=ve;for(;e!==null;)hy(e.alternate,e),e=e.return;ve=null}}function Pi(e,a){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,$S(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),Ma=0,Td(),Ge=e,ve=i=ma(e.current,null),xe=a,qe=0,un=null,nr=!1,Yi=Ol(e,a),bd=!1,Gi=sn=vd=Xr=ar=it=0,Ft=iu=null,wd=!1,(a&8)!==0&&(a|=a&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=a;0<u;){var o=31-tn(u),f=1<<o;a|=e[o],u&=~f}return Oa=a,Es(),i}function Uy(e,a){me=null,_.H=Jl,a===zi||a===$s?(a=Ip(),qe=3):a===Af?(a=Ip(),qe=4):qe=a===nd?8:a!==null&&typeof a=="object"&&typeof a.then=="function"?6:1,un=a,ve===null&&(it=1,Xs(e,bn(a,e.current)))}function Ly(){var e=rn.current;return e===null?!0:(xe&4194048)===xe?_n===null:(xe&62914560)===xe||(xe&536870912)!==0?e===_n:!1}function By(){var e=_.H;return _.H=Jl,e===null?Jl:e}function Hy(){var e=_.A;return _.A=fS,e}function io(){it=4,nr||(xe&4194048)!==xe&&rn.current!==null||(Yi=!0),(ar&134217727)===0&&(Xr&134217727)===0||Ge===null||lr(Ge,xe,sn,!1)}function Ed(e,a,i){var u=Ce;Ce|=2;var o=By(),f=Hy();(Ge!==e||xe!==a)&&(ao=null,Pi(e,a)),a=!1;var p=it;e:do try{if(qe!==0&&ve!==null){var y=ve,T=un;switch(qe){case 8:Td(),p=6;break e;case 3:case 2:case 9:case 6:rn.current===null&&(a=!0);var B=qe;if(qe=0,un=null,Vi(e,y,T,B),i&&Yi){p=0;break e}break;default:B=qe,qe=0,un=null,Vi(e,y,T,B)}}mS(),p=it;break}catch(k){Uy(e,k)}while(!0);return a&&e.shellSuspendCounter++,ga=Lr=null,Ce=u,_.H=o,_.A=f,ve===null&&(Ge=null,xe=0,Es()),p}function mS(){for(;ve!==null;)Zy(ve)}function pS(e,a){var i=Ce;Ce|=2;var u=By(),o=Hy();Ge!==e||xe!==a?(ao=null,no=It()+500,Pi(e,a)):Yi=Ol(e,a);e:do try{if(qe!==0&&ve!==null){a=ve;var f=un;t:switch(qe){case 1:qe=0,un=null,Vi(e,a,f,1);break;case 2:case 9:if(Jp(f)){qe=0,un=null,Yy(a);break}a=function(){qe!==2&&qe!==9||Ge!==e||(qe=7),Pn(e)},f.then(a,a);break e;case 3:qe=7;break e;case 4:qe=5;break e;case 7:Jp(f)?(qe=0,un=null,Yy(a)):(qe=0,un=null,Vi(e,a,f,7));break;case 5:var p=null;switch(ve.tag){case 26:p=ve.memoizedState;case 5:case 27:var y=ve;if(p?M0(p):y.stateNode.complete){qe=0,un=null;var T=y.sibling;if(T!==null)ve=T;else{var B=y.return;B!==null?(ve=B,lo(B)):ve=null}break t}}qe=0,un=null,Vi(e,a,f,5);break;case 6:qe=0,un=null,Vi(e,a,f,6);break;case 8:Td(),it=6;break e;default:throw Error(l(462))}}gS();break}catch(k){Uy(e,k)}while(!0);return ga=Lr=null,_.H=u,_.A=o,Ce=i,ve!==null?0:(Ge=null,xe=0,Es(),it)}function gS(){for(;ve!==null&&!Bx();)Zy(ve)}function Zy(e){var a=fy(e.alternate,e,Oa);e.memoizedProps=e.pendingProps,a===null?lo(e):ve=a}function Yy(e){var a=e,i=a.alternate;switch(a.tag){case 15:case 0:a=iy(i,a,a.pendingProps,a.type,void 0,xe);break;case 11:a=iy(i,a,a.pendingProps,a.type.render,a.ref,xe);break;case 5:Hf(a);default:hy(i,a),a=ve=Hp(a,Oa),a=fy(i,a,Oa)}e.memoizedProps=e.pendingProps,a===null?lo(e):ve=a}function Vi(e,a,i,u){ga=Lr=null,Hf(a),qi=null,Gl=0;var o=a.return;try{if(rS(e,o,a,i,xe)){it=1,Xs(e,bn(i,e.current)),ve=null;return}}catch(f){if(o!==null)throw ve=o,f;it=1,Xs(e,bn(i,e.current)),ve=null;return}a.flags&32768?(Se||u===1?e=!0:Yi||(xe&536870912)!==0?e=!1:(nr=e=!0,(u===2||u===9||u===3||u===6)&&(u=rn.current,u!==null&&u.tag===13&&(u.flags|=16384))),Gy(a,e)):lo(a)}function lo(e){var a=e;do{if((a.flags&32768)!==0){Gy(a,nr);return}e=a.return;var i=uS(a.alternate,a,Oa);if(i!==null){ve=i;return}if(a=a.sibling,a!==null){ve=a;return}ve=a=e}while(a!==null);it===0&&(it=5)}function Gy(e,a){do{var i=sS(e.alternate,e);if(i!==null){i.flags&=32767,ve=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!a&&(e=e.sibling,e!==null)){ve=e;return}ve=e=i}while(e!==null);it=6,ve=null}function ky(e,a,i,u,o,f,p,y,T){e.cancelPendingCommit=null;do uo();while(wt!==0);if((Ce&6)!==0)throw Error(l(327));if(a!==null){if(a===e.current)throw Error(l(177));if(f=a.lanes|a.childLanes,f|=hf,Fx(e,i,f,p,y,T),e===Ge&&(ve=Ge=null,xe=0),ki=a,ir=e,Ma=i,xd=f,_d=o,$y=u,(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,wS(os,function(){return Fy(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(a.flags&13878)!==0,(a.subtreeFlags&13878)!==0||u){u=_.T,_.T=null,o=P.p,P.p=2,p=Ce,Ce|=4;try{oS(e,a,i)}finally{Ce=p,P.p=o,_.T=u}}wt=1,Py(),Vy(),Xy()}}function Py(){if(wt===1){wt=0;var e=ir,a=ki,i=(a.flags&13878)!==0;if((a.subtreeFlags&13878)!==0||i){i=_.T,_.T=null;var u=P.p;P.p=2;var o=Ce;Ce|=4;try{Ey(a,e);var f=Ud,p=Rp(e.containerInfo),y=f.focusedElem,T=f.selectionRange;if(p!==y&&y&&y.ownerDocument&&Dp(y.ownerDocument.documentElement,y)){if(T!==null&&sf(y)){var B=T.start,k=T.end;if(k===void 0&&(k=B),"selectionStart"in y)y.selectionStart=B,y.selectionEnd=Math.min(k,y.value.length);else{var F=y.ownerDocument||document,Y=F&&F.defaultView||window;if(Y.getSelection){var G=Y.getSelection(),ne=y.textContent.length,oe=Math.min(T.start,ne),He=T.end===void 0?oe:Math.min(T.end,ne);!G.extend&&oe>He&&(p=He,He=oe,oe=p);var z=Cp(y,oe),M=Cp(y,He);if(z&&M&&(G.rangeCount!==1||G.anchorNode!==z.node||G.anchorOffset!==z.offset||G.focusNode!==M.node||G.focusOffset!==M.offset)){var L=F.createRange();L.setStart(z.node,z.offset),G.removeAllRanges(),oe>He?(G.addRange(L),G.extend(M.node,M.offset)):(L.setEnd(M.node,M.offset),G.addRange(L))}}}}for(F=[],G=y;G=G.parentNode;)G.nodeType===1&&F.push({element:G,left:G.scrollLeft,top:G.scrollTop});for(typeof y.focus=="function"&&y.focus(),y=0;y<F.length;y++){var V=F[y];V.element.scrollLeft=V.left,V.element.scrollTop=V.top}}wo=!!jd,Ud=jd=null}finally{Ce=o,P.p=u,_.T=i}}e.current=a,wt=2}}function Vy(){if(wt===2){wt=0;var e=ir,a=ki,i=(a.flags&8772)!==0;if((a.subtreeFlags&8772)!==0||i){i=_.T,_.T=null;var u=P.p;P.p=2;var o=Ce;Ce|=4;try{wy(e,a.alternate,a)}finally{Ce=o,P.p=u,_.T=i}}wt=3}}function Xy(){if(wt===4||wt===3){wt=0,Hx();var e=ir,a=ki,i=Ma,u=$y;(a.subtreeFlags&10256)!==0||(a.flags&10256)!==0?wt=5:(wt=0,ki=ir=null,Qy(e,e.pendingLanes));var o=e.pendingLanes;if(o===0&&(rr=null),Yc(i),a=a.stateNode,en&&typeof en.onCommitFiberRoot=="function")try{en.onCommitFiberRoot(El,a,void 0,(a.current.flags&128)===128)}catch{}if(u!==null){a=_.T,o=P.p,P.p=2,_.T=null;try{for(var f=e.onRecoverableError,p=0;p<u.length;p++){var y=u[p];f(y.value,{componentStack:y.stack})}}finally{_.T=a,P.p=o}}(Ma&3)!==0&&uo(),Pn(e),o=e.pendingLanes,(i&261930)!==0&&(o&42)!==0?e===Sd?lu++:(lu=0,Sd=e):lu=0,uu(0)}}function Qy(e,a){(e.pooledCacheLanes&=a)===0&&(a=e.pooledCache,a!=null&&(e.pooledCache=null,Zl(a)))}function uo(){return Py(),Vy(),Xy(),Fy()}function Fy(){if(wt!==5)return!1;var e=ir,a=xd;xd=0;var i=Yc(Ma),u=_.T,o=P.p;try{P.p=32>i?32:i,_.T=null,i=_d,_d=null;var f=ir,p=Ma;if(wt=0,ki=ir=null,Ma=0,(Ce&6)!==0)throw Error(l(331));var y=Ce;if(Ce|=4,Dy(f.current),My(f,f.current,p,i),Ce=y,uu(0,!1),en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(El,f)}catch{}return!0}finally{P.p=o,_.T=u,Qy(e,a)}}function Ky(e,a,i){a=bn(i,a),a=td(e.stateNode,a,2),e=Wa(e,a,2),e!==null&&(Ml(e,2),Pn(e))}function je(e,a,i){if(e.tag===3)Ky(e,e,i);else for(;a!==null;){if(a.tag===3){Ky(a,e,i);break}else if(a.tag===1){var u=a.stateNode;if(typeof a.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(rr===null||!rr.has(u))){e=bn(i,e),i=Jg(2),u=Wa(a,i,2),u!==null&&(Wg(i,u,a,e),Ml(u,2),Pn(u));break}}a=a.return}}function Od(e,a,i){var u=e.pingCache;if(u===null){u=e.pingCache=new dS;var o=new Set;u.set(a,o)}else o=u.get(a),o===void 0&&(o=new Set,u.set(a,o));o.has(i)||(bd=!0,o.add(i),e=yS.bind(null,e,a,i),a.then(e,e))}function yS(e,a,i){var u=e.pingCache;u!==null&&u.delete(a),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,Ge===e&&(xe&i)===i&&(it===4||it===3&&(xe&62914560)===xe&&300>It()-to?(Ce&2)===0&&Pi(e,0):vd|=i,Gi===xe&&(Gi=0)),Pn(e)}function Jy(e,a){a===0&&(a=Pm()),e=qr(e,a),e!==null&&(Ml(e,a),Pn(e))}function bS(e){var a=e.memoizedState,i=0;a!==null&&(i=a.retryLane),Jy(e,i)}function vS(e,a){var i=0;switch(e.tag){case 31:case 13:var u=e.stateNode,o=e.memoizedState;o!==null&&(i=o.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(l(314))}u!==null&&u.delete(a),Jy(e,i)}function wS(e,a){return Lc(e,a)}var so=null,Xi=null,Md=!1,oo=!1,Ad=!1,ur=0;function Pn(e){e!==Xi&&e.next===null&&(Xi===null?so=Xi=e:Xi=Xi.next=e),oo=!0,Md||(Md=!0,_S())}function uu(e,a){if(!Ad&&oo){Ad=!0;do for(var i=!1,u=so;u!==null;){if(e!==0){var o=u.pendingLanes;if(o===0)var f=0;else{var p=u.suspendedLanes,y=u.pingedLanes;f=(1<<31-tn(42|e)+1)-1,f&=o&~(p&~y),f=f&201326741?f&201326741|1:f?f|2:0}f!==0&&(i=!0,t0(u,f))}else f=xe,f=hs(u,u===Ge?f:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(f&3)===0||Ol(u,f)||(i=!0,t0(u,f));u=u.next}while(i);Ad=!1}}function xS(){Wy()}function Wy(){oo=Md=!1;var e=0;ur!==0&&NS()&&(e=ur);for(var a=It(),i=null,u=so;u!==null;){var o=u.next,f=Iy(u,a);f===0?(u.next=null,i===null?so=o:i.next=o,o===null&&(Xi=i)):(i=u,(e!==0||(f&3)!==0)&&(oo=!0)),u=o}wt!==0&&wt!==5||uu(e),ur!==0&&(ur=0)}function Iy(e,a){for(var i=e.suspendedLanes,u=e.pingedLanes,o=e.expirationTimes,f=e.pendingLanes&-62914561;0<f;){var p=31-tn(f),y=1<<p,T=o[p];T===-1?((y&i)===0||(y&u)!==0)&&(o[p]=Qx(y,a)):T<=a&&(e.expiredLanes|=y),f&=~y}if(a=Ge,i=xe,i=hs(e,e===a?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,i===0||e===a&&(qe===2||qe===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&Bc(u),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||Ol(e,i)){if(a=i&-i,a===e.callbackPriority)return a;switch(u!==null&&Bc(u),Yc(i)){case 2:case 8:i=Gm;break;case 32:i=os;break;case 268435456:i=km;break;default:i=os}return u=e0.bind(null,e),i=Lc(i,u),e.callbackPriority=a,e.callbackNode=i,a}return u!==null&&u!==null&&Bc(u),e.callbackPriority=2,e.callbackNode=null,2}function e0(e,a){if(wt!==0&&wt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(uo()&&e.callbackNode!==i)return null;var u=xe;return u=hs(e,e===Ge?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(qy(e,u,a),Iy(e,It()),e.callbackNode!=null&&e.callbackNode===i?e0.bind(null,e):null)}function t0(e,a){if(uo())return null;qy(e,a,!0)}function _S(){zS(function(){(Ce&6)!==0?Lc(Ym,xS):Wy()})}function Cd(){if(ur===0){var e=Ni;e===0&&(e=cs,cs<<=1,(cs&261888)===0&&(cs=256)),ur=e}return ur}function n0(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:ys(""+e)}function a0(e,a){var i=a.ownerDocument.createElement("input");return i.name=a.name,i.value=a.value,e.id&&i.setAttribute("form",e.id),a.parentNode.insertBefore(i,a),e=new FormData(e),i.parentNode.removeChild(i),e}function SS(e,a,i,u,o){if(a==="submit"&&i&&i.stateNode===o){var f=n0((o[kt]||null).action),p=u.submitter;p&&(a=(a=p[kt]||null)?n0(a.formAction):p.getAttribute("formAction"),a!==null&&(f=a,p=null));var y=new xs("action","action",null,u,o);e.push({event:y,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(ur!==0){var T=p?a0(o,p):new FormData(o);Ff(i,{pending:!0,data:T,method:o.method,action:f},null,T)}}else typeof f=="function"&&(y.preventDefault(),T=p?a0(o,p):new FormData(o),Ff(i,{pending:!0,data:T,method:o.method,action:f},f,T))},currentTarget:o}]})}}for(var Dd=0;Dd<df.length;Dd++){var Rd=df[Dd],TS=Rd.toLowerCase(),ES=Rd[0].toUpperCase()+Rd.slice(1);$n(TS,"on"+ES)}$n(zp,"onAnimationEnd"),$n(qp,"onAnimationIteration"),$n(jp,"onAnimationStart"),$n("dblclick","onDoubleClick"),$n("focusin","onFocus"),$n("focusout","onBlur"),$n(Z_,"onTransitionRun"),$n(Y_,"onTransitionStart"),$n(G_,"onTransitionCancel"),$n(Up,"onTransitionEnd"),bi("onMouseEnter",["mouseout","mouseover"]),bi("onMouseLeave",["mouseout","mouseover"]),bi("onPointerEnter",["pointerout","pointerover"]),bi("onPointerLeave",["pointerout","pointerover"]),Rr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Rr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Rr("onBeforeInput",["compositionend","keypress","textInput","paste"]),Rr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Rr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Rr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var su="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),OS=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(su));function r0(e,a){a=(a&4)!==0;for(var i=0;i<e.length;i++){var u=e[i],o=u.event;u=u.listeners;e:{var f=void 0;if(a)for(var p=u.length-1;0<=p;p--){var y=u[p],T=y.instance,B=y.currentTarget;if(y=y.listener,T!==f&&o.isPropagationStopped())break e;f=y,o.currentTarget=B;try{f(o)}catch(k){Ts(k)}o.currentTarget=null,f=T}else for(p=0;p<u.length;p++){if(y=u[p],T=y.instance,B=y.currentTarget,y=y.listener,T!==f&&o.isPropagationStopped())break e;f=y,o.currentTarget=B;try{f(o)}catch(k){Ts(k)}o.currentTarget=null,f=T}}}}function we(e,a){var i=a[Gc];i===void 0&&(i=a[Gc]=new Set);var u=e+"__bubble";i.has(u)||(i0(a,e,2,!1),i.add(u))}function Nd(e,a,i){var u=0;a&&(u|=4),i0(i,e,u,a)}var co="_reactListening"+Math.random().toString(36).slice(2);function $d(e){if(!e[co]){e[co]=!0,Wm.forEach(function(i){i!=="selectionchange"&&(OS.has(i)||Nd(i,!1,e),Nd(i,!0,e))});var a=e.nodeType===9?e:e.ownerDocument;a===null||a[co]||(a[co]=!0,Nd("selectionchange",!1,a))}}function i0(e,a,i,u){switch(z0(a)){case 2:var o=e2;break;case 8:o=t2;break;default:o=Qd}i=o.bind(null,a,i,e),o=void 0,!Wc||a!=="touchstart"&&a!=="touchmove"&&a!=="wheel"||(o=!0),u?o!==void 0?e.addEventListener(a,i,{capture:!0,passive:o}):e.addEventListener(a,i,!0):o!==void 0?e.addEventListener(a,i,{passive:o}):e.addEventListener(a,i,!1)}function zd(e,a,i,u,o){var f=u;if((a&1)===0&&(a&2)===0&&u!==null)e:for(;;){if(u===null)return;var p=u.tag;if(p===3||p===4){var y=u.stateNode.containerInfo;if(y===o)break;if(p===4)for(p=u.return;p!==null;){var T=p.tag;if((T===3||T===4)&&p.stateNode.containerInfo===o)return;p=p.return}for(;y!==null;){if(p=pi(y),p===null)return;if(T=p.tag,T===5||T===6||T===26||T===27){u=f=p;continue e}y=y.parentNode}}u=u.return}cp(function(){var B=f,k=Kc(i),F=[];e:{var Y=Lp.get(e);if(Y!==void 0){var G=xs,ne=e;switch(e){case"keypress":if(vs(i)===0)break e;case"keydown":case"keyup":G=v_;break;case"focusin":ne="focus",G=nf;break;case"focusout":ne="blur",G=nf;break;case"beforeblur":case"afterblur":G=nf;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":G=hp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":G=u_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":G=__;break;case zp:case qp:case jp:G=c_;break;case Up:G=T_;break;case"scroll":case"scrollend":G=i_;break;case"wheel":G=O_;break;case"copy":case"cut":case"paste":G=d_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":G=pp;break;case"toggle":case"beforetoggle":G=A_}var oe=(a&4)!==0,He=!oe&&(e==="scroll"||e==="scrollend"),z=oe?Y!==null?Y+"Capture":null:Y;oe=[];for(var M=B,L;M!==null;){var V=M;if(L=V.stateNode,V=V.tag,V!==5&&V!==26&&V!==27||L===null||z===null||(V=Dl(M,z),V!=null&&oe.push(ou(M,V,L))),He)break;M=M.return}0<oe.length&&(Y=new G(Y,ne,null,i,k),F.push({event:Y,listeners:oe}))}}if((a&7)===0){e:{if(Y=e==="mouseover"||e==="pointerover",G=e==="mouseout"||e==="pointerout",Y&&i!==Fc&&(ne=i.relatedTarget||i.fromElement)&&(pi(ne)||ne[mi]))break e;if((G||Y)&&(Y=k.window===k?k:(Y=k.ownerDocument)?Y.defaultView||Y.parentWindow:window,G?(ne=i.relatedTarget||i.toElement,G=B,ne=ne?pi(ne):null,ne!==null&&(He=c(ne),oe=ne.tag,ne!==He||oe!==5&&oe!==27&&oe!==6)&&(ne=null)):(G=null,ne=B),G!==ne)){if(oe=hp,V="onMouseLeave",z="onMouseEnter",M="mouse",(e==="pointerout"||e==="pointerover")&&(oe=pp,V="onPointerLeave",z="onPointerEnter",M="pointer"),He=G==null?Y:Cl(G),L=ne==null?Y:Cl(ne),Y=new oe(V,M+"leave",G,i,k),Y.target=He,Y.relatedTarget=L,V=null,pi(k)===B&&(oe=new oe(z,M+"enter",ne,i,k),oe.target=L,oe.relatedTarget=He,V=oe),He=V,G&&ne)t:{for(oe=MS,z=G,M=ne,L=0,V=z;V;V=oe(V))L++;V=0;for(var ue=M;ue;ue=oe(ue))V++;for(;0<L-V;)z=oe(z),L--;for(;0<V-L;)M=oe(M),V--;for(;L--;){if(z===M||M!==null&&z===M.alternate){oe=z;break t}z=oe(z),M=oe(M)}oe=null}else oe=null;G!==null&&l0(F,Y,G,oe,!1),ne!==null&&He!==null&&l0(F,He,ne,oe,!0)}}e:{if(Y=B?Cl(B):window,G=Y.nodeName&&Y.nodeName.toLowerCase(),G==="select"||G==="input"&&Y.type==="file")var Ee=Sp;else if(xp(Y))if(Tp)Ee=L_;else{Ee=j_;var le=q_}else G=Y.nodeName,!G||G.toLowerCase()!=="input"||Y.type!=="checkbox"&&Y.type!=="radio"?B&&Qc(B.elementType)&&(Ee=Sp):Ee=U_;if(Ee&&(Ee=Ee(e,B))){_p(F,Ee,i,k);break e}le&&le(e,Y,B),e==="focusout"&&B&&Y.type==="number"&&B.memoizedProps.value!=null&&Xc(Y,"number",Y.value)}switch(le=B?Cl(B):window,e){case"focusin":(xp(le)||le.contentEditable==="true")&&(Ti=le,of=B,Ll=null);break;case"focusout":Ll=of=Ti=null;break;case"mousedown":cf=!0;break;case"contextmenu":case"mouseup":case"dragend":cf=!1,Np(F,i,k);break;case"selectionchange":if(H_)break;case"keydown":case"keyup":Np(F,i,k)}var pe;if(rf)e:{switch(e){case"compositionstart":var _e="onCompositionStart";break e;case"compositionend":_e="onCompositionEnd";break e;case"compositionupdate":_e="onCompositionUpdate";break e}_e=void 0}else Si?vp(e,i)&&(_e="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(_e="onCompositionStart");_e&&(gp&&i.locale!=="ko"&&(Si||_e!=="onCompositionStart"?_e==="onCompositionEnd"&&Si&&(pe=fp()):(Pa=k,Ic="value"in Pa?Pa.value:Pa.textContent,Si=!0)),le=fo(B,_e),0<le.length&&(_e=new mp(_e,e,null,i,k),F.push({event:_e,listeners:le}),pe?_e.data=pe:(pe=wp(i),pe!==null&&(_e.data=pe)))),(pe=D_?R_(e,i):N_(e,i))&&(_e=fo(B,"onBeforeInput"),0<_e.length&&(le=new mp("onBeforeInput","beforeinput",null,i,k),F.push({event:le,listeners:_e}),le.data=pe)),SS(F,e,B,i,k)}r0(F,a)})}function ou(e,a,i){return{instance:e,listener:a,currentTarget:i}}function fo(e,a){for(var i=a+"Capture",u=[];e!==null;){var o=e,f=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||f===null||(o=Dl(e,i),o!=null&&u.unshift(ou(e,o,f)),o=Dl(e,a),o!=null&&u.push(ou(e,o,f))),e.tag===3)return u;e=e.return}return[]}function MS(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function l0(e,a,i,u,o){for(var f=a._reactName,p=[];i!==null&&i!==u;){var y=i,T=y.alternate,B=y.stateNode;if(y=y.tag,T!==null&&T===u)break;y!==5&&y!==26&&y!==27||B===null||(T=B,o?(B=Dl(i,f),B!=null&&p.unshift(ou(i,B,T))):o||(B=Dl(i,f),B!=null&&p.push(ou(i,B,T)))),i=i.return}p.length!==0&&e.push({event:a,listeners:p})}var AS=/\r\n?/g,CS=/\u0000|\uFFFD/g;function u0(e){return(typeof e=="string"?e:""+e).replace(AS,`
|
|
879
|
+
`).replace(CS,"")}function s0(e,a){return a=u0(a),u0(e)===a}function Be(e,a,i,u,o,f){switch(i){case"children":typeof u=="string"?a==="body"||a==="textarea"&&u===""||wi(e,u):(typeof u=="number"||typeof u=="bigint")&&a!=="body"&&wi(e,""+u);break;case"className":ps(e,"class",u);break;case"tabIndex":ps(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":ps(e,i,u);break;case"style":sp(e,u,f);break;case"data":if(a!=="object"){ps(e,"data",u);break}case"src":case"href":if(u===""&&(a!=="a"||i!=="href")){e.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=ys(""+u),e.setAttribute(i,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof f=="function"&&(i==="formAction"?(a!=="input"&&Be(e,a,"name",o.name,o,null),Be(e,a,"formEncType",o.formEncType,o,null),Be(e,a,"formMethod",o.formMethod,o,null),Be(e,a,"formTarget",o.formTarget,o,null)):(Be(e,a,"encType",o.encType,o,null),Be(e,a,"method",o.method,o,null),Be(e,a,"target",o.target,o,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=ys(""+u),e.setAttribute(i,u);break;case"onClick":u!=null&&(e.onclick=da);break;case"onScroll":u!=null&&we("scroll",e);break;case"onScrollEnd":u!=null&&we("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(o.children!=null)throw Error(l(60));e.innerHTML=i}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}i=ys(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""+u):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":u===!0?e.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,u):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(i,u):e.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(i):e.setAttribute(i,u);break;case"popover":we("beforetoggle",e),we("toggle",e),ms(e,"popover",u);break;case"xlinkActuate":fa(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":fa(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":fa(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":fa(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":fa(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":fa(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":fa(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":fa(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":fa(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":ms(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=a_.get(i)||i,ms(e,i,u))}}function qd(e,a,i,u,o,f){switch(i){case"style":sp(e,u,f);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(l(61));if(i=u.__html,i!=null){if(o.children!=null)throw Error(l(60));e.innerHTML=i}}break;case"children":typeof u=="string"?wi(e,u):(typeof u=="number"||typeof u=="bigint")&&wi(e,""+u);break;case"onScroll":u!=null&&we("scroll",e);break;case"onScrollEnd":u!=null&&we("scrollend",e);break;case"onClick":u!=null&&(e.onclick=da);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!Im.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(o=i.endsWith("Capture"),a=i.slice(2,o?i.length-7:void 0),f=e[kt]||null,f=f!=null?f[i]:null,typeof f=="function"&&e.removeEventListener(a,f,o),typeof u=="function")){typeof f!="function"&&f!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(a,u,o);break e}i in e?e[i]=u:u===!0?e.setAttribute(i,""):ms(e,i,u)}}}function Ct(e,a,i){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":we("error",e),we("load",e);var u=!1,o=!1,f;for(f in i)if(i.hasOwnProperty(f)){var p=i[f];if(p!=null)switch(f){case"src":u=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(l(137,a));default:Be(e,a,f,p,i,null)}}o&&Be(e,a,"srcSet",i.srcSet,i,null),u&&Be(e,a,"src",i.src,i,null);return;case"input":we("invalid",e);var y=f=p=o=null,T=null,B=null;for(u in i)if(i.hasOwnProperty(u)){var k=i[u];if(k!=null)switch(u){case"name":o=k;break;case"type":p=k;break;case"checked":T=k;break;case"defaultChecked":B=k;break;case"value":f=k;break;case"defaultValue":y=k;break;case"children":case"dangerouslySetInnerHTML":if(k!=null)throw Error(l(137,a));break;default:Be(e,a,u,k,i,null)}}rp(e,f,y,T,B,p,o,!1);return;case"select":we("invalid",e),u=p=f=null;for(o in i)if(i.hasOwnProperty(o)&&(y=i[o],y!=null))switch(o){case"value":f=y;break;case"defaultValue":p=y;break;case"multiple":u=y;default:Be(e,a,o,y,i,null)}a=f,i=p,e.multiple=!!u,a!=null?vi(e,!!u,a,!1):i!=null&&vi(e,!!u,i,!0);return;case"textarea":we("invalid",e),f=o=u=null;for(p in i)if(i.hasOwnProperty(p)&&(y=i[p],y!=null))switch(p){case"value":u=y;break;case"defaultValue":o=y;break;case"children":f=y;break;case"dangerouslySetInnerHTML":if(y!=null)throw Error(l(91));break;default:Be(e,a,p,y,i,null)}lp(e,u,o,f);return;case"option":for(T in i)i.hasOwnProperty(T)&&(u=i[T],u!=null)&&(T==="selected"?e.selected=u&&typeof u!="function"&&typeof u!="symbol":Be(e,a,T,u,i,null));return;case"dialog":we("beforetoggle",e),we("toggle",e),we("cancel",e),we("close",e);break;case"iframe":case"object":we("load",e);break;case"video":case"audio":for(u=0;u<su.length;u++)we(su[u],e);break;case"image":we("error",e),we("load",e);break;case"details":we("toggle",e);break;case"embed":case"source":case"link":we("error",e),we("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(B in i)if(i.hasOwnProperty(B)&&(u=i[B],u!=null))switch(B){case"children":case"dangerouslySetInnerHTML":throw Error(l(137,a));default:Be(e,a,B,u,i,null)}return;default:if(Qc(a)){for(k in i)i.hasOwnProperty(k)&&(u=i[k],u!==void 0&&qd(e,a,k,u,i,void 0));return}}for(y in i)i.hasOwnProperty(y)&&(u=i[y],u!=null&&Be(e,a,y,u,i,null))}function DS(e,a,i,u){switch(a){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,f=null,p=null,y=null,T=null,B=null,k=null;for(G in i){var F=i[G];if(i.hasOwnProperty(G)&&F!=null)switch(G){case"checked":break;case"value":break;case"defaultValue":T=F;default:u.hasOwnProperty(G)||Be(e,a,G,null,u,F)}}for(var Y in u){var G=u[Y];if(F=i[Y],u.hasOwnProperty(Y)&&(G!=null||F!=null))switch(Y){case"type":f=G;break;case"name":o=G;break;case"checked":B=G;break;case"defaultChecked":k=G;break;case"value":p=G;break;case"defaultValue":y=G;break;case"children":case"dangerouslySetInnerHTML":if(G!=null)throw Error(l(137,a));break;default:G!==F&&Be(e,a,Y,G,u,F)}}Vc(e,p,y,T,B,k,f,o);return;case"select":G=p=y=Y=null;for(f in i)if(T=i[f],i.hasOwnProperty(f)&&T!=null)switch(f){case"value":break;case"multiple":G=T;default:u.hasOwnProperty(f)||Be(e,a,f,null,u,T)}for(o in u)if(f=u[o],T=i[o],u.hasOwnProperty(o)&&(f!=null||T!=null))switch(o){case"value":Y=f;break;case"defaultValue":y=f;break;case"multiple":p=f;default:f!==T&&Be(e,a,o,f,u,T)}a=y,i=p,u=G,Y!=null?vi(e,!!i,Y,!1):!!u!=!!i&&(a!=null?vi(e,!!i,a,!0):vi(e,!!i,i?[]:"",!1));return;case"textarea":G=Y=null;for(y in i)if(o=i[y],i.hasOwnProperty(y)&&o!=null&&!u.hasOwnProperty(y))switch(y){case"value":break;case"children":break;default:Be(e,a,y,null,u,o)}for(p in u)if(o=u[p],f=i[p],u.hasOwnProperty(p)&&(o!=null||f!=null))switch(p){case"value":Y=o;break;case"defaultValue":G=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(l(91));break;default:o!==f&&Be(e,a,p,o,u,f)}ip(e,Y,G);return;case"option":for(var ne in i)Y=i[ne],i.hasOwnProperty(ne)&&Y!=null&&!u.hasOwnProperty(ne)&&(ne==="selected"?e.selected=!1:Be(e,a,ne,null,u,Y));for(T in u)Y=u[T],G=i[T],u.hasOwnProperty(T)&&Y!==G&&(Y!=null||G!=null)&&(T==="selected"?e.selected=Y&&typeof Y!="function"&&typeof Y!="symbol":Be(e,a,T,Y,u,G));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var oe in i)Y=i[oe],i.hasOwnProperty(oe)&&Y!=null&&!u.hasOwnProperty(oe)&&Be(e,a,oe,null,u,Y);for(B in u)if(Y=u[B],G=i[B],u.hasOwnProperty(B)&&Y!==G&&(Y!=null||G!=null))switch(B){case"children":case"dangerouslySetInnerHTML":if(Y!=null)throw Error(l(137,a));break;default:Be(e,a,B,Y,u,G)}return;default:if(Qc(a)){for(var He in i)Y=i[He],i.hasOwnProperty(He)&&Y!==void 0&&!u.hasOwnProperty(He)&&qd(e,a,He,void 0,u,Y);for(k in u)Y=u[k],G=i[k],!u.hasOwnProperty(k)||Y===G||Y===void 0&&G===void 0||qd(e,a,k,Y,u,G);return}}for(var z in i)Y=i[z],i.hasOwnProperty(z)&&Y!=null&&!u.hasOwnProperty(z)&&Be(e,a,z,null,u,Y);for(F in u)Y=u[F],G=i[F],!u.hasOwnProperty(F)||Y===G||Y==null&&G==null||Be(e,a,F,Y,u,G)}function o0(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function RS(){if(typeof performance.getEntriesByType=="function"){for(var e=0,a=0,i=performance.getEntriesByType("resource"),u=0;u<i.length;u++){var o=i[u],f=o.transferSize,p=o.initiatorType,y=o.duration;if(f&&y&&o0(p)){for(p=0,y=o.responseEnd,u+=1;u<i.length;u++){var T=i[u],B=T.startTime;if(B>y)break;var k=T.transferSize,F=T.initiatorType;k&&o0(F)&&(T=T.responseEnd,p+=k*(T<y?1:(y-B)/(T-B)))}if(--u,a+=8*(f+p)/(o.duration/1e3),e++,10<e)break}}if(0<e)return a/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var jd=null,Ud=null;function ho(e){return e.nodeType===9?e:e.ownerDocument}function c0(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function f0(e,a){if(e===0)switch(a){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&a==="foreignObject"?0:e}function Ld(e,a){return e==="textarea"||e==="noscript"||typeof a.children=="string"||typeof a.children=="number"||typeof a.children=="bigint"||typeof a.dangerouslySetInnerHTML=="object"&&a.dangerouslySetInnerHTML!==null&&a.dangerouslySetInnerHTML.__html!=null}var Bd=null;function NS(){var e=window.event;return e&&e.type==="popstate"?e===Bd?!1:(Bd=e,!0):(Bd=null,!1)}var d0=typeof setTimeout=="function"?setTimeout:void 0,$S=typeof clearTimeout=="function"?clearTimeout:void 0,h0=typeof Promise=="function"?Promise:void 0,zS=typeof queueMicrotask=="function"?queueMicrotask:typeof h0<"u"?function(e){return h0.resolve(null).then(e).catch(qS)}:d0;function qS(e){setTimeout(function(){throw e})}function sr(e){return e==="head"}function m0(e,a){var i=a,u=0;do{var o=i.nextSibling;if(e.removeChild(i),o&&o.nodeType===8)if(i=o.data,i==="/$"||i==="/&"){if(u===0){e.removeChild(o),Ji(a);return}u--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")u++;else if(i==="html")cu(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,cu(i);for(var f=i.firstChild;f;){var p=f.nextSibling,y=f.nodeName;f[Al]||y==="SCRIPT"||y==="STYLE"||y==="LINK"&&f.rel.toLowerCase()==="stylesheet"||i.removeChild(f),f=p}}else i==="body"&&cu(e.ownerDocument.body);i=o}while(i);Ji(a)}function p0(e,a){var i=e;e=0;do{var u=i.nextSibling;if(i.nodeType===1?a?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(a?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),u&&u.nodeType===8)if(i=u.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=u}while(i)}function Hd(e){var a=e.firstChild;for(a&&a.nodeType===10&&(a=a.nextSibling);a;){var i=a;switch(a=a.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Hd(i),kc(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function jS(e,a,i,u){for(;e.nodeType===1;){var o=i;if(e.nodeName.toLowerCase()!==a.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Al])switch(a){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(f=e.getAttribute("rel"),f==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(f!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(f=e.getAttribute("src"),(f!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&f&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(a==="input"&&e.type==="hidden"){var f=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===f)return e}else return e;if(e=Sn(e.nextSibling),e===null)break}return null}function US(e,a,i){if(a==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=Sn(e.nextSibling),e===null))return null;return e}function g0(e,a){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Sn(e.nextSibling),e===null))return null;return e}function Zd(e){return e.data==="$?"||e.data==="$~"}function Yd(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function LS(e,a){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=a;else if(e.data!=="$?"||i.readyState!=="loading")a();else{var u=function(){a(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Sn(e){for(;e!=null;e=e.nextSibling){var a=e.nodeType;if(a===1||a===3)break;if(a===8){if(a=e.data,a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"||a==="F!"||a==="F")break;if(a==="/$"||a==="/&")return null}}return e}var Gd=null;function y0(e){e=e.nextSibling;for(var a=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(a===0)return Sn(e.nextSibling);a--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||a++}e=e.nextSibling}return null}function b0(e){e=e.previousSibling;for(var a=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(a===0)return e;a--}else i!=="/$"&&i!=="/&"||a++}e=e.previousSibling}return null}function v0(e,a,i){switch(a=ho(i),e){case"html":if(e=a.documentElement,!e)throw Error(l(452));return e;case"head":if(e=a.head,!e)throw Error(l(453));return e;case"body":if(e=a.body,!e)throw Error(l(454));return e;default:throw Error(l(451))}}function cu(e){for(var a=e.attributes;a.length;)e.removeAttributeNode(a[0]);kc(e)}var Tn=new Map,w0=new Set;function mo(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var Aa=P.d;P.d={f:BS,r:HS,D:ZS,C:YS,L:GS,m:kS,X:VS,S:PS,M:XS};function BS(){var e=Aa.f(),a=ro();return e||a}function HS(e){var a=gi(e);a!==null&&a.tag===5&&a.type==="form"?Ug(a):Aa.r(e)}var Qi=typeof document>"u"?null:document;function x0(e,a,i){var u=Qi;if(u&&typeof a=="string"&&a){var o=gn(a);o='link[rel="'+e+'"][href="'+o+'"]',typeof i=="string"&&(o+='[crossorigin="'+i+'"]'),w0.has(o)||(w0.add(o),e={rel:e,crossOrigin:i,href:a},u.querySelector(o)===null&&(a=u.createElement("link"),Ct(a,"link",e),_t(a),u.head.appendChild(a)))}}function ZS(e){Aa.D(e),x0("dns-prefetch",e,null)}function YS(e,a){Aa.C(e,a),x0("preconnect",e,a)}function GS(e,a,i){Aa.L(e,a,i);var u=Qi;if(u&&e&&a){var o='link[rel="preload"][as="'+gn(a)+'"]';a==="image"&&i&&i.imageSrcSet?(o+='[imagesrcset="'+gn(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(o+='[imagesizes="'+gn(i.imageSizes)+'"]')):o+='[href="'+gn(e)+'"]';var f=o;switch(a){case"style":f=Fi(e);break;case"script":f=Ki(e)}Tn.has(f)||(e=v({rel:"preload",href:a==="image"&&i&&i.imageSrcSet?void 0:e,as:a},i),Tn.set(f,e),u.querySelector(o)!==null||a==="style"&&u.querySelector(fu(f))||a==="script"&&u.querySelector(du(f))||(a=u.createElement("link"),Ct(a,"link",e),_t(a),u.head.appendChild(a)))}}function kS(e,a){Aa.m(e,a);var i=Qi;if(i&&e){var u=a&&typeof a.as=="string"?a.as:"script",o='link[rel="modulepreload"][as="'+gn(u)+'"][href="'+gn(e)+'"]',f=o;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":f=Ki(e)}if(!Tn.has(f)&&(e=v({rel:"modulepreload",href:e},a),Tn.set(f,e),i.querySelector(o)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(du(f)))return}u=i.createElement("link"),Ct(u,"link",e),_t(u),i.head.appendChild(u)}}}function PS(e,a,i){Aa.S(e,a,i);var u=Qi;if(u&&e){var o=yi(u).hoistableStyles,f=Fi(e);a=a||"default";var p=o.get(f);if(!p){var y={loading:0,preload:null};if(p=u.querySelector(fu(f)))y.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":a},i),(i=Tn.get(f))&&kd(e,i);var T=p=u.createElement("link");_t(T),Ct(T,"link",e),T._p=new Promise(function(B,k){T.onload=B,T.onerror=k}),T.addEventListener("load",function(){y.loading|=1}),T.addEventListener("error",function(){y.loading|=2}),y.loading|=4,po(p,a,u)}p={type:"stylesheet",instance:p,count:1,state:y},o.set(f,p)}}}function VS(e,a){Aa.X(e,a);var i=Qi;if(i&&e){var u=yi(i).hoistableScripts,o=Ki(e),f=u.get(o);f||(f=i.querySelector(du(o)),f||(e=v({src:e,async:!0},a),(a=Tn.get(o))&&Pd(e,a),f=i.createElement("script"),_t(f),Ct(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},u.set(o,f))}}function XS(e,a){Aa.M(e,a);var i=Qi;if(i&&e){var u=yi(i).hoistableScripts,o=Ki(e),f=u.get(o);f||(f=i.querySelector(du(o)),f||(e=v({src:e,async:!0,type:"module"},a),(a=Tn.get(o))&&Pd(e,a),f=i.createElement("script"),_t(f),Ct(f,"link",e),i.head.appendChild(f)),f={type:"script",instance:f,count:1,state:null},u.set(o,f))}}function _0(e,a,i,u){var o=(o=be.current)?mo(o):null;if(!o)throw Error(l(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(a=Fi(i.href),i=yi(o).hoistableStyles,u=i.get(a),u||(u={type:"style",instance:null,count:0,state:null},i.set(a,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=Fi(i.href);var f=yi(o).hoistableStyles,p=f.get(e);if(p||(o=o.ownerDocument||o,p={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},f.set(e,p),(f=o.querySelector(fu(e)))&&!f._p&&(p.instance=f,p.state.loading=5),Tn.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},Tn.set(e,i),f||QS(o,e,i,p.state))),a&&u===null)throw Error(l(528,""));return p}if(a&&u!==null)throw Error(l(529,""));return null;case"script":return a=i.async,i=i.src,typeof i=="string"&&a&&typeof a!="function"&&typeof a!="symbol"?(a=Ki(i),i=yi(o).hoistableScripts,u=i.get(a),u||(u={type:"script",instance:null,count:0,state:null},i.set(a,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(l(444,e))}}function Fi(e){return'href="'+gn(e)+'"'}function fu(e){return'link[rel="stylesheet"]['+e+"]"}function S0(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function QS(e,a,i,u){e.querySelector('link[rel="preload"][as="style"]['+a+"]")?u.loading=1:(a=e.createElement("link"),u.preload=a,a.addEventListener("load",function(){return u.loading|=1}),a.addEventListener("error",function(){return u.loading|=2}),Ct(a,"link",i),_t(a),e.head.appendChild(a))}function Ki(e){return'[src="'+gn(e)+'"]'}function du(e){return"script[async]"+e}function T0(e,a,i){if(a.count++,a.instance===null)switch(a.type){case"style":var u=e.querySelector('style[data-href~="'+gn(i.href)+'"]');if(u)return a.instance=u,_t(u),u;var o=v({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),_t(u),Ct(u,"style",o),po(u,i.precedence,e),a.instance=u;case"stylesheet":o=Fi(i.href);var f=e.querySelector(fu(o));if(f)return a.state.loading|=4,a.instance=f,_t(f),f;u=S0(i),(o=Tn.get(o))&&kd(u,o),f=(e.ownerDocument||e).createElement("link"),_t(f);var p=f;return p._p=new Promise(function(y,T){p.onload=y,p.onerror=T}),Ct(f,"link",u),a.state.loading|=4,po(f,i.precedence,e),a.instance=f;case"script":return f=Ki(i.src),(o=e.querySelector(du(f)))?(a.instance=o,_t(o),o):(u=i,(o=Tn.get(f))&&(u=v({},i),Pd(u,o)),e=e.ownerDocument||e,o=e.createElement("script"),_t(o),Ct(o,"link",u),e.head.appendChild(o),a.instance=o);case"void":return null;default:throw Error(l(443,a.type))}else a.type==="stylesheet"&&(a.state.loading&4)===0&&(u=a.instance,a.state.loading|=4,po(u,i.precedence,e));return a.instance}function po(e,a,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=u.length?u[u.length-1]:null,f=o,p=0;p<u.length;p++){var y=u[p];if(y.dataset.precedence===a)f=y;else if(f!==o)break}f?f.parentNode.insertBefore(e,f.nextSibling):(a=i.nodeType===9?i.head:i,a.insertBefore(e,a.firstChild))}function kd(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.title==null&&(e.title=a.title)}function Pd(e,a){e.crossOrigin==null&&(e.crossOrigin=a.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=a.referrerPolicy),e.integrity==null&&(e.integrity=a.integrity)}var go=null;function E0(e,a,i){if(go===null){var u=new Map,o=go=new Map;o.set(i,u)}else o=go,u=o.get(i),u||(u=new Map,o.set(i,u));if(u.has(e))return u;for(u.set(e,null),i=i.getElementsByTagName(e),o=0;o<i.length;o++){var f=i[o];if(!(f[Al]||f[Et]||e==="link"&&f.getAttribute("rel")==="stylesheet")&&f.namespaceURI!=="http://www.w3.org/2000/svg"){var p=f.getAttribute(a)||"";p=e+p;var y=u.get(p);y?y.push(f):u.set(p,[f])}}return u}function O0(e,a,i){e=e.ownerDocument||e,e.head.insertBefore(i,a==="title"?e.querySelector("head > title"):null)}function FS(e,a,i){if(i===1||a.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof a.precedence!="string"||typeof a.href!="string"||a.href==="")break;return!0;case"link":if(typeof a.rel!="string"||typeof a.href!="string"||a.href===""||a.onLoad||a.onError)break;return a.rel==="stylesheet"?(e=a.disabled,typeof a.precedence=="string"&&e==null):!0;case"script":if(a.async&&typeof a.async!="function"&&typeof a.async!="symbol"&&!a.onLoad&&!a.onError&&a.src&&typeof a.src=="string")return!0}return!1}function M0(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function KS(e,a,i,u){if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var o=Fi(u.href),f=a.querySelector(fu(o));if(f){a=f._p,a!==null&&typeof a=="object"&&typeof a.then=="function"&&(e.count++,e=yo.bind(e),a.then(e,e)),i.state.loading|=4,i.instance=f,_t(f);return}f=a.ownerDocument||a,u=S0(u),(o=Tn.get(o))&&kd(u,o),f=f.createElement("link"),_t(f);var p=f;p._p=new Promise(function(y,T){p.onload=y,p.onerror=T}),Ct(f,"link",u),i.instance=f}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,a),(a=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=yo.bind(e),a.addEventListener("load",i),a.addEventListener("error",i))}}var Vd=0;function JS(e,a){return e.stylesheets&&e.count===0&&vo(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var u=setTimeout(function(){if(e.stylesheets&&vo(e,e.stylesheets),e.unsuspend){var f=e.unsuspend;e.unsuspend=null,f()}},6e4+a);0<e.imgBytes&&Vd===0&&(Vd=62500*RS());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&vo(e,e.stylesheets),e.unsuspend)){var f=e.unsuspend;e.unsuspend=null,f()}},(e.imgBytes>Vd?50:800)+a);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(u),clearTimeout(o)}}:null}function yo(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)vo(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var bo=null;function vo(e,a){e.stylesheets=null,e.unsuspend!==null&&(e.count++,bo=new Map,a.forEach(WS,e),bo=null,yo.call(e))}function WS(e,a){if(!(a.state.loading&4)){var i=bo.get(e);if(i)var u=i.get(null);else{i=new Map,bo.set(e,i);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),f=0;f<o.length;f++){var p=o[f];(p.nodeName==="LINK"||p.getAttribute("media")!=="not all")&&(i.set(p.dataset.precedence,p),u=p)}u&&i.set(null,u)}o=a.instance,p=o.getAttribute("data-precedence"),f=i.get(p)||u,f===u&&i.set(null,o),i.set(p,o),this.count++,u=yo.bind(this),o.addEventListener("load",u),o.addEventListener("error",u),f?f.parentNode.insertBefore(o,f.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),a.state.loading|=4}}var hu={$$typeof:$,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function IS(e,a,i,u,o,f,p,y,T){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Hc(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Hc(0),this.hiddenUpdates=Hc(null),this.identifierPrefix=u,this.onUncaughtError=o,this.onCaughtError=f,this.onRecoverableError=p,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=T,this.incompleteTransitions=new Map}function A0(e,a,i,u,o,f,p,y,T,B,k,F){return e=new IS(e,a,i,p,T,B,k,F,y),a=1,f===!0&&(a|=24),f=an(3,null,null,a),e.current=f,f.stateNode=e,a=Ef(),a.refCount++,e.pooledCache=a,a.refCount++,f.memoizedState={element:u,isDehydrated:i,cache:a},Cf(f),e}function C0(e){return e?(e=Mi,e):Mi}function D0(e,a,i,u,o,f){o=C0(o),u.context===null?u.context=o:u.pendingContext=o,u=Ja(a),u.payload={element:i},f=f===void 0?null:f,f!==null&&(u.callback=f),i=Wa(e,u,a),i!==null&&(Kt(i,e,a),Pl(i,e,a))}function R0(e,a){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<a?i:a}}function Xd(e,a){R0(e,a),(e=e.alternate)&&R0(e,a)}function N0(e){if(e.tag===13||e.tag===31){var a=qr(e,67108864);a!==null&&Kt(a,e,67108864),Xd(e,67108864)}}function $0(e){if(e.tag===13||e.tag===31){var a=on();a=Zc(a);var i=qr(e,a);i!==null&&Kt(i,e,a),Xd(e,a)}}var wo=!0;function e2(e,a,i,u){var o=_.T;_.T=null;var f=P.p;try{P.p=2,Qd(e,a,i,u)}finally{P.p=f,_.T=o}}function t2(e,a,i,u){var o=_.T;_.T=null;var f=P.p;try{P.p=8,Qd(e,a,i,u)}finally{P.p=f,_.T=o}}function Qd(e,a,i,u){if(wo){var o=Fd(u);if(o===null)zd(e,a,u,xo,i),q0(e,u);else if(a2(o,e,a,i,u))u.stopPropagation();else if(q0(e,u),a&4&&-1<n2.indexOf(e)){for(;o!==null;){var f=gi(o);if(f!==null)switch(f.tag){case 3:if(f=f.stateNode,f.current.memoizedState.isDehydrated){var p=Dr(f.pendingLanes);if(p!==0){var y=f;for(y.pendingLanes|=2,y.entangledLanes|=2;p;){var T=1<<31-tn(p);y.entanglements[1]|=T,p&=~T}Pn(f),(Ce&6)===0&&(no=It()+500,uu(0))}}break;case 31:case 13:y=qr(f,2),y!==null&&Kt(y,f,2),ro(),Xd(f,2)}if(f=Fd(u),f===null&&zd(e,a,u,xo,i),f===o)break;o=f}o!==null&&u.stopPropagation()}else zd(e,a,u,null,i)}}function Fd(e){return e=Kc(e),Kd(e)}var xo=null;function Kd(e){if(xo=null,e=pi(e),e!==null){var a=c(e);if(a===null)e=null;else{var i=a.tag;if(i===13){if(e=d(a),e!==null)return e;e=null}else if(i===31){if(e=g(a),e!==null)return e;e=null}else if(i===3){if(a.stateNode.current.memoizedState.isDehydrated)return a.tag===3?a.stateNode.containerInfo:null;e=null}else a!==e&&(e=null)}}return xo=e,null}function z0(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Zx()){case Ym:return 2;case Gm:return 8;case os:case Yx:return 32;case km:return 268435456;default:return 32}default:return 32}}var Jd=!1,or=null,cr=null,fr=null,mu=new Map,pu=new Map,dr=[],n2="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function q0(e,a){switch(e){case"focusin":case"focusout":or=null;break;case"dragenter":case"dragleave":cr=null;break;case"mouseover":case"mouseout":fr=null;break;case"pointerover":case"pointerout":mu.delete(a.pointerId);break;case"gotpointercapture":case"lostpointercapture":pu.delete(a.pointerId)}}function gu(e,a,i,u,o,f){return e===null||e.nativeEvent!==f?(e={blockedOn:a,domEventName:i,eventSystemFlags:u,nativeEvent:f,targetContainers:[o]},a!==null&&(a=gi(a),a!==null&&N0(a)),e):(e.eventSystemFlags|=u,a=e.targetContainers,o!==null&&a.indexOf(o)===-1&&a.push(o),e)}function a2(e,a,i,u,o){switch(a){case"focusin":return or=gu(or,e,a,i,u,o),!0;case"dragenter":return cr=gu(cr,e,a,i,u,o),!0;case"mouseover":return fr=gu(fr,e,a,i,u,o),!0;case"pointerover":var f=o.pointerId;return mu.set(f,gu(mu.get(f)||null,e,a,i,u,o)),!0;case"gotpointercapture":return f=o.pointerId,pu.set(f,gu(pu.get(f)||null,e,a,i,u,o)),!0}return!1}function j0(e){var a=pi(e.target);if(a!==null){var i=c(a);if(i!==null){if(a=i.tag,a===13){if(a=d(i),a!==null){e.blockedOn=a,Km(e.priority,function(){$0(i)});return}}else if(a===31){if(a=g(i),a!==null){e.blockedOn=a,Km(e.priority,function(){$0(i)});return}}else if(a===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function _o(e){if(e.blockedOn!==null)return!1;for(var a=e.targetContainers;0<a.length;){var i=Fd(e.nativeEvent);if(i===null){i=e.nativeEvent;var u=new i.constructor(i.type,i);Fc=u,i.target.dispatchEvent(u),Fc=null}else return a=gi(i),a!==null&&N0(a),e.blockedOn=i,!1;a.shift()}return!0}function U0(e,a,i){_o(e)&&i.delete(a)}function r2(){Jd=!1,or!==null&&_o(or)&&(or=null),cr!==null&&_o(cr)&&(cr=null),fr!==null&&_o(fr)&&(fr=null),mu.forEach(U0),pu.forEach(U0)}function So(e,a){e.blockedOn===a&&(e.blockedOn=null,Jd||(Jd=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,r2)))}var To=null;function L0(e){To!==e&&(To=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){To===e&&(To=null);for(var a=0;a<e.length;a+=3){var i=e[a],u=e[a+1],o=e[a+2];if(typeof u!="function"){if(Kd(u||i)===null)continue;break}var f=gi(i);f!==null&&(e.splice(a,3),a-=3,Ff(f,{pending:!0,data:o,method:i.method,action:u},u,o))}}))}function Ji(e){function a(T){return So(T,e)}or!==null&&So(or,e),cr!==null&&So(cr,e),fr!==null&&So(fr,e),mu.forEach(a),pu.forEach(a);for(var i=0;i<dr.length;i++){var u=dr[i];u.blockedOn===e&&(u.blockedOn=null)}for(;0<dr.length&&(i=dr[0],i.blockedOn===null);)j0(i),i.blockedOn===null&&dr.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(u=0;u<i.length;u+=3){var o=i[u],f=i[u+1],p=o[kt]||null;if(typeof f=="function")p||L0(i);else if(p){var y=null;if(f&&f.hasAttribute("formAction")){if(o=f,p=f[kt]||null)y=p.formAction;else if(Kd(o)!==null)continue}else y=p.action;typeof y=="function"?i[u+1]=y:(i.splice(u,3),u-=3),L0(i)}}}function B0(){function e(f){f.canIntercept&&f.info==="react-transition"&&f.intercept({handler:function(){return new Promise(function(p){return o=p})},focusReset:"manual",scroll:"manual"})}function a(){o!==null&&(o(),o=null),u||setTimeout(i,20)}function i(){if(!u&&!navigation.transition){var f=navigation.currentEntry;f&&f.url!=null&&navigation.navigate(f.url,{state:f.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",a),navigation.addEventListener("navigateerror",a),setTimeout(i,100),function(){u=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",a),navigation.removeEventListener("navigateerror",a),o!==null&&(o(),o=null)}}}function Wd(e){this._internalRoot=e}Eo.prototype.render=Wd.prototype.render=function(e){var a=this._internalRoot;if(a===null)throw Error(l(409));var i=a.current,u=on();D0(i,u,e,a,null,null)},Eo.prototype.unmount=Wd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var a=e.containerInfo;D0(e.current,2,null,e,null,null),ro(),a[mi]=null}};function Eo(e){this._internalRoot=e}Eo.prototype.unstable_scheduleHydration=function(e){if(e){var a=Fm();e={blockedOn:null,target:e,priority:a};for(var i=0;i<dr.length&&a!==0&&a<dr[i].priority;i++);dr.splice(i,0,e),i===0&&j0(e)}};var H0=n.version;if(H0!=="19.2.4")throw Error(l(527,H0,"19.2.4"));P.findDOMNode=function(e){var a=e._reactInternals;if(a===void 0)throw typeof e.render=="function"?Error(l(188)):(e=Object.keys(e).join(","),Error(l(268,e)));return e=h(a),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var i2={bundleType:0,version:"19.2.4",rendererPackageName:"react-dom",currentDispatcherRef:_,reconcilerVersion:"19.2.4"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Oo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Oo.isDisabled&&Oo.supportsFiber)try{El=Oo.inject(i2),en=Oo}catch{}}return Nu.createRoot=function(e,a){if(!s(e))throw Error(l(299));var i=!1,u="",o=Xg,f=Qg,p=Fg;return a!=null&&(a.unstable_strictMode===!0&&(i=!0),a.identifierPrefix!==void 0&&(u=a.identifierPrefix),a.onUncaughtError!==void 0&&(o=a.onUncaughtError),a.onCaughtError!==void 0&&(f=a.onCaughtError),a.onRecoverableError!==void 0&&(p=a.onRecoverableError)),a=A0(e,1,!1,null,null,i,u,null,o,f,p,B0),e[mi]=a.current,$d(e),new Wd(a)},Nu.hydrateRoot=function(e,a,i){if(!s(e))throw Error(l(299));var u=!1,o="",f=Xg,p=Qg,y=Fg,T=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(o=i.identifierPrefix),i.onUncaughtError!==void 0&&(f=i.onUncaughtError),i.onCaughtError!==void 0&&(p=i.onCaughtError),i.onRecoverableError!==void 0&&(y=i.onRecoverableError),i.formState!==void 0&&(T=i.formState)),a=A0(e,1,!0,a,i??null,u,o,T,f,p,y,B0),a.context=C0(null),i=a.current,u=on(),u=Zc(u),o=Ja(u),o.callback=null,Wa(i,o,u),i=u,a.current.lanes=i,Ml(a,i),Pn(a),e[mi]=a.current,$d(e),new Eo(a)},Nu.version="19.2.4",Nu}var Mv;function $z(){if(Mv)return gh.exports;Mv=1;function t(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(n){console.error(n)}}return t(),gh.exports=Nz(),gh.exports}var zz=$z(),En=(t=>(t.Idle="idle",t.Running="running",t.Canceled="canceled",t.Failed="failed",t.Success="success",t))(En||{}),pr=(t=>(t.Unknown="unknown",t.Ping="ping",t.Scrape="scrape",t))(pr||{}),Xe=(t=>(t.Box3d="3dboxes",t.BackCover="backcovers",t.Cover="covers",t.FanArt="fanart",t.Manual="manuals",t.Marquee="marquees",t.PhysicalMedia="physicalmedia",t.Screenshot="screenshots",t.Title="titlescreens",t.Video="videos",t))(Xe||{}),Bn=(t=>(t.Controller="controller",t.Picture="picture",t.Wheel="wheel",t))(Bn||{});Mn(Object.values(Bn));Mn(Object.values(Xe));class qz{serialize(n){if(n==null)return;const{min:r,max:l}=n;return r===l?`${r}`:`${r}-${l}`}}var Fr=(t=>(t.Unknown="unknown",t.ReadOnlyMemory="rom",t.Folder="folder",t.File="file",t.Disk="iso",t))(Fr||{});Mn(Object.values(Fr));var On=(t=>(t.Unknown="unknown",t.Accessory="accessory",t.Arcade="arcade",t.Computer="computer",t.Console="console",t.Flipper="flipper",t.Handheld="console-portable",t.ScummVm="scummvm",t.Smartphone="smartphone",t.VirtualMachine="virtual-machine",t))(On||{});Mn(Object.values(On));var Kr=(t=>(t.Unknown="unknown",t.Cartridge="cartridge",t.Pcb="pcb",t.Cd="cd",t.FloppyDisk="floppy-disk",t))(Kr||{});Mn(Object.values(Kr));class us{build(){return structuredClone(this._env)}constructor(){this._env={api:new Yt().protocol("http").hostname("localhost").port(3e3).append("api").build()}}}class $x{url(n,r){const s=`${typeof n=="string"?n:n.id}-${r}`;return new Yt().parse(this._environment.api).append("media").append(s).build()}constructor(n){this._environment=n}}$x.Endpoint="media";function jz(){const t=new us().build();return new $x(t)}const Uz=C.createContext(jz()),Nc=()=>C.useContext(Uz),Lz={[Xe.BackCover]:"Back Cover",[Xe.Box3d]:"3D Box",[Xe.Cover]:"Cover",[Xe.FanArt]:"Fan Art",[Xe.Manual]:"Manual",[Xe.Marquee]:"Marquee",[Xe.PhysicalMedia]:"Physical Media",[Xe.Screenshot]:"Screenshot",[Xe.Title]:"Title",[Xe.Video]:"Video",[Bn.Controller]:"Controller",[Bn.Picture]:"System Picture",[Bn.Wheel]:"Wheel Logo"},Bz={[Xe.BackCover]:"Rear packaging artwork.",[Xe.Box3d]:"3D box render.",[Xe.Cover]:"Front cover art.",[Xe.FanArt]:"Community artwork.",[Xe.Manual]:"Digital version of the game manual.",[Xe.Marquee]:"Game Logo.",[Xe.PhysicalMedia]:"Disc or cartridge.",[Xe.Screenshot]:"In-game action.",[Xe.Title]:"Screen upon load.",[Xe.Video]:"Gameplay or trailer video preview.",[Bn.Controller]:"Primary controller image.",[Bn.Picture]:"Image of system hardware.",[Bn.Wheel]:"Logo for the system."};function zx(t){const{identifier:n,type:r}=t,s=Nc().url(n,r),c=Ze(Ne`
|
|
880
|
+
& .ZRomulatorMediaCard-image-container {
|
|
881
|
+
height: 20rem;
|
|
882
|
+
}
|
|
883
|
+
`);return w.jsx(An,{className:fe("ZRomulatorMediaCard-root",c),name:r,TitleProps:{avatar:w.jsx(ye,{name:"image",width:D.Medium}),heading:Lz[r],subHeading:Bz[r]},"data-type":r,"data-identifier":n,children:w.jsx(Ve,{className:"ZRomulatorMediaCard-image-container",orientation:dn.Horizontal,width:ge.Full,height:ge.Full,align:{items:"center"},justify:{content:"center"},children:w.jsx(Rc,{src:s,width:ge.Full,height:ge.Full,fit:"scale-down"})})})}function Hz(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class Av{from(n){return this._url=this._url.page(n.page).size(n.size).search(n.search).filter(new l5().serialize(n.filter)).sort(new d5().serialize(n.sort)),this}count(){return this._url=this._url.size(1).page(1).sort(null),this}build(){return this._url.build()}constructor(n){Hz(this,"_url",void 0),this._url=new Yt().parse(n)}}function vh(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}class $c{endpoint(n){const r=new Yt().parse(this._endpointUrl);return n?r.append(`${n}`):r}async count(n){const r=new Un().copy(this._request).get().url(new Av(this.endpoint().build()).from(n).count().build()).build(),{data:l}=await this._http.request(r);return l.count}async retrieve(n){const r=new Un().copy(this._request).get().url(new Av(this.endpoint().build()).from(n).build()).build(),{data:l}=await this._http.request(r);return l.data??l.result}async get(n){const r=this.endpoint(n).build(),l=new Un().copy(this._request).get().url(r).build(),{data:s}=await this._http.request(l);return s}async create(n){const r=this.endpoint().build(),l=new Un().copy(this._request).post(n).url(r).build(),{data:s}=await this._http.request(l);return s}async upsert(n){const r=this.endpoint().build(),l=new Un().copy(this._request).put(n).url(r).build(),{data:s}=await this._http.request(l);return s}async update(n,r){const l=this.endpoint(n).build(),s=new Un().copy(this._request).patch(r).url(l).build(),{data:c}=await this._http.request(s);return c}async delete(n){const r=this.endpoint(n).build(),l=new Un().copy(this._request).delete().url(r).build();await this._http.request(l)}constructor(n,r,l=new Un().build()){vh(this,"_http",void 0),vh(this,"_endpointUrl",void 0),vh(this,"_request",void 0),this._http=n,this._endpointUrl=r,this._request=l}}function Zz(){const{api:t}=new us().build(),n=new Yt().parse(t).append("games").build(),r=new Ac;return new $c(r,n)}const Yz=C.createContext(Zz()),qx=()=>C.useContext(Yz),Gz=t=>{const n=qx();return ns(()=>n.get(t),[t])};function kz(){const{id:t}=zm(),{error:n,primary:r}=Me(),l=Nc(),[s]=Gz(J("",t)),c=Sl(),d=C.useMemo(()=>[Xe.Video,Xe.Manual],[]),g=C.useMemo(()=>Object.values(Xe).filter(R=>!d.includes(R)),[d]),m=(R,S)=>w.jsx(zx,{identifier:R.id,type:S},S),h=R=>w.jsx(Cn,{columns:{xl:"1fr 1fr 1fr",lg:"1fr 1fr",md:"1fr"},gap:D.Medium,children:g.map(S=>m(R,S))}),b=R=>{const S=(j,x,$)=>w.jsxs(w.Fragment,{children:[w.jsxs(sl,{children:[j,":"]}),w.jsx(cn,{compact:!0,className:`ZRomulatorGamePage-${B1(j)}`,"data-value":x,children:J(x,$)})]}),E=new qz().serialize(R.players);return w.jsx(An,{name:"info",TitleProps:{avatar:w.jsx(ye,{name:"gamepad",width:D.Medium}),heading:"Information",subHeading:"Game Details"},children:w.jsxs(Cn,{columns:"auto 1fr",gap:D.Medium,children:[S("Name",R.name),S("File",R.file),S("Players",E),S("Release Date",R.release),S("Developer",R.developer),S("Publisher",R.publisher)]})})},v=R=>w.jsx(An,{name:"synopsis",TitleProps:{avatar:w.jsx(ye,{name:"book",width:D.Medium}),heading:"Synopsis",subHeading:"Game description"},children:w.jsx("pre",{style:{textWrap:"wrap"},children:w.jsx(ai,{compact:!0,children:R.description})})}),O=R=>{const S=l.url(R.system,Bn.Wheel),E=`/systems/${R.system}`;return w.jsx(An,{name:"system",TitleProps:{avatar:w.jsx(ye,{name:"puzzle-piece",width:D.Medium}),heading:"System",subHeading:"What system this game is on"},footer:w.jsx(Vu,{fashion:r,avatar:w.jsx(ye,{name:"arrow-left",width:D.Small}),width:ge.Full,label:"Check it out",name:"navigate-to-system",onClick:()=>c(E)}),children:w.jsx(Ve,{justify:{content:"center"},children:w.jsx("img",{src:S,style:{objectFit:"scale-down"}})})})},N=()=>vl(s)?w.jsx(ls,{name:"game-loading",height:D.Large}):xc(s)?w.jsx(Rm,{fashion:n,heading:"Cannot load Game",message:s.message}):w.jsxs(Cn,{columns:{xl:"28rem auto",md:"1fr"},gap:D.Medium,align:{items:"start"},children:[w.jsxs(Ve,{gap:D.Medium,children:[b(s),v(s),O(s)]}),h(s)]});return w.jsxs(Ve,{className:"ZRomulatorGamePage-root",gap:D.Medium,children:[w.jsx(hi,{}),N()]})}function jx(t){const{value:n,onValueChange:r}=t,[l,s]=Mr(n,r,new Dn().size(24).build()),c=qx(),d=Nc(),{body:g}=Me(),m=Sl(),h=Ze(Ne`
|
|
884
|
+
.ZRomulatorGameTile-root {
|
|
885
|
+
height: 10rem;
|
|
886
|
+
}
|
|
887
|
+
`),b=v=>{const O=d.url(v,Xe.Marquee),N=()=>m(`/games/${v.id}`);return w.jsx(Lm,{className:"ZRomulatorGameTile-root",fashion:g,name:v.id,onActivate:N,children:w.jsx(Ve,{justify:{content:"center"},align:{items:"center"},height:ge.Full,children:w.jsx(Rc,{className:"ZRomulatorGameTile-marquee",src:O,width:ge.Full,height:ge.Full,fit:"scale-down"})})},v.id)};return w.jsx(Dc,{className:fe(".ZRomulatorGameList-root",h),GridProps:{columns:{xl:"1fr 1fr 1fr 1fr",lg:"1fr 1fr 1fr",md:"1fr 1fr",sm:"1fr"},gap:D.Medium},heading:w.jsx(Um,{value:l,onValueChange:s}),footer:w.jsx(Nx,{value:l,onValueChange:s,dataSource:c}),dataSource:c,renderItem:b,value:l})}const Pz=new wm().ascending("name").build(),Vz=new Dn().size(24).sort(Pz).build();function Xz(){const[t,n]=C.useState(Vz);return w.jsxs(Ve,{className:"ZRomulatorGamesPage-root",gap:D.Medium,width:ge.Full,children:[w.jsx(hi,{}),w.jsx(An,{width:ge.Full,TitleProps:{avatar:w.jsx(ye,{name:"gamepad",width:D.Medium}),heading:"Games",subHeading:"Browse your library"},children:w.jsx(jx,{value:t,onValueChange:n})})]})}function Qz(t){return C.useMemo(()=>({[En.Idle]:new yr(En.Idle).name("Idle").description("Waiting to start").avatar(w.jsx(ye,{name:"hourglass-start",width:D.Small})).build(),[En.Canceled]:new yr(En.Canceled).name("Canceled").description("The job was canceled by the user or never finished").avatar(w.jsx(ye,{name:"x-mark",width:D.Small})).build(),[En.Failed]:new yr(En.Failed).name("Failed").description("Something went wrong with job").avatar(w.jsx(ye,{name:"circle-exclamation",width:D.Small})).build(),[En.Running]:new yr(En.Running).name("Running").description("Job is currently processing").avatar(w.jsx(ye,{name:"spinner",animation:"spin",width:D.Small})).build(),[En.Success]:new yr(En.Success).name("Success").description("Job completed successfully").avatar(w.jsx(ye,{name:"check",width:D.Small})).build()}),[])[J(En.Idle,t)]}function Fz(t){const n=J(pr.Unknown,t);return C.useMemo(()=>({[pr.Unknown]:new yr(pr.Unknown).name("Unknown").description("Invalid job").avatar(w.jsx(ye,{name:"question",width:D.Medium})).build(),[pr.Ping]:new yr(pr.Ping).name("Ping").description("Test the job framework").avatar(w.jsx(ye,{name:"table-tennis-paddle-ball",width:D.Medium})).build(),[pr.Scrape]:new yr(pr.Scrape).name("Scrape").description("Retrieves all media and metadata for your games").avatar(w.jsx(ye,{name:"image",width:D.Medium})).build()}),[])[n]}function Kz(t){const{value:n}=t,{body:r}=Me(),{status:l,percent:s,type:c,createdAt:d}=n,g=TO(d),m=Fz(c),{name:h,description:b,avatar:v}=m,O=Qz(l);return w.jsx(Lm,{className:"ZRomulatorJobTile-root",fashion:r,name:n.id,children:w.jsxs(Ve,{height:ge.Full,width:ge.Full,gap:D.Large,children:[w.jsx(Da,{heading:h,subHeading:b,avatar:v,suffix:O.avatar}),w.jsxs(Cn,{columns:"auto 1fr",gap:D.Small,children:[w.jsx(sl,{children:"Created:"}),w.jsx(ai,{compact:!0,children:g}),w.jsx(sl,{children:"Status"}),w.jsx(ai,{compact:!0,children:O.name}),w.jsx(sl,{children:"Progress"}),w.jsxs(ai,{children:[s,"%"]})]})]})})}function Jz(){const{api:t}=new us().build(),n=new Yt().parse(t).append("jobs").build(),r=new Ac;return new $c(r,n)}const Wz=C.createContext(Jz()),Iz=()=>C.useContext(Wz);function e8(){const t=Iz(),[n,r]=C.useState(new Dn().build());return w.jsxs(Ve,{className:"ZRomulatorJobsPage-root",gap:D.Medium,width:ge.Full,children:[w.jsx(hi,{}),w.jsx(An,{width:ge.Full,TitleProps:{avatar:w.jsx(ye,{name:"briefcase",width:D.Medium}),heading:"Jobs",subHeading:"What's running in the background"},children:w.jsx(Dc,{heading:w.jsx(Cn,{align:{items:"flex-end"},columns:{xl:"1fr auto",sm:"1fr"},gap:D.Medium,children:w.jsx(Um,{value:n,onValueChange:r})}),GridProps:{columns:{xl:"1fr 1fr 1fr",lg:"1fr 1fr",md:"1fr"},gap:D.Medium},dataSource:t,renderItem:l=>w.jsx(Kz,{value:l},l.id),value:n})})]})}function t8(){const[t,n]=C.useState(!1),r=C.useMemo(()=>n.bind(null,!0),[]),l=C.useMemo(()=>n.bind(null,!1),[]),{secondary:s}=Me(),c=Sl(),d=g=>{c(g),l()};return w.jsxs("div",{className:"ZRomulatorMenu-root",children:[w.jsx(Vu,{name:"toggler",onClick:r,label:w.jsx(ye,{name:"bars",width:D.ExtraSmall})}),w.jsx(Z6,{name:"navigation",open:t,onClose:l,anchor:Ut.Right,fashion:s,renderHeader:()=>w.jsx(Da,{avatar:w.jsx(ye,{name:"bars"}),heading:w.jsx(gx,{compact:!0,children:"Menu"}),suffix:w.jsx(Vu,{label:w.jsx(ye,{name:"xmark",width:D.ExtraSmall}),onClick:l})}),children:w.jsxs(_x,{compact:!0,children:[w.jsx(zu,{name:"systems",cursor:"pointer",interactive:!0,onClick:d.bind(null,"/systems"),children:w.jsx(Da,{avatar:w.jsx(ye,{name:"puzzle-piece"}),heading:w.jsx(nl,{compact:!0,children:"Systems"}),subHeading:w.jsx(cn,{children:"Your games organized by systems"})})}),w.jsx(zu,{name:"games",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/games"),children:w.jsx(Da,{avatar:w.jsx(ye,{name:"gamepad"}),heading:w.jsx(nl,{compact:!0,children:"Games"}),subHeading:w.jsx(cn,{children:"Browse your library"})})}),w.jsx(zu,{name:"jobs",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/jobs"),children:w.jsx(Da,{avatar:w.jsx(ye,{name:"briefcase"}),heading:w.jsx(nl,{compact:!0,children:"Jobs"}),subHeading:w.jsx(cn,{children:"What's running in the background"})})}),w.jsx(zu,{name:"settings",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/settings"),children:w.jsx(Da,{avatar:w.jsx(ye,{name:"gear"}),heading:w.jsx(nl,{compact:!0,children:"Settings"}),subHeading:w.jsx(cn,{children:"Modify configs and options"})})})]})})]})}function n8(){const t=new us().build(),n=new Ac,r=`${t.api}/configs`;return new $c(n,r)}const a8=C.createContext(n8()),Bm=()=>C.useContext(a8),r8=t=>{const n=Bm();return ns(()=>n.get(t),[t])};function i8(){const{id:t}=zm(),[n,r]=r8(t),l=b5(n),s=J([],l?.metadata),c=Bm(),d=C.useCallback(m=>w.jsx(X6,{metadata:m},m.id),[]),g=async m=>{try{const h=await c.update(l.id,{contents:m});r(h)}catch{}};return w.jsxs(Ve,{className:"ZRomulatorSettingPage-root",gap:D.Medium,children:[w.jsx(hi,{}),w.jsx(K6,{value:l?.contents,onValueChange:g,children:w.jsxs(An,{TitleProps:{avatar:w.jsx(ye,{name:l?.avatar,width:D.Medium}),heading:l?.name,subHeading:l?.description,suffix:w.jsxs(Ve,{orientation:dn.Horizontal,gap:D.Medium,children:[w.jsx(_v,{type:"reset",ButtonProps:{label:w.jsx(ye,{name:"rotate-left",tooltip:"Reset"})}}),w.jsx(_v,{type:"submit",ButtonProps:{label:w.jsx(ye,{name:"save",tooltip:"Save"})}})]})},children:[w.jsx(ls,{disabled:!vl(n)}),s.map(d)]})})]})}function l8(){const{body:t}=Me(),n=Sl(),r=Bm(),[l]=C.useState(new Dn().build()),s=c=>w.jsx(Pu,{className:"ZRomulatorSettingsPage-tile",fashion:t,interactive:!0,cursor:"pointer",padding:D.Medium,"data-name":c.id,onClick:()=>n(c.id),children:w.jsx(Ve,{gap:D.Medium,children:w.jsx(Da,{avatar:w.jsx(ye,{name:c.avatar,width:D.Medium}),heading:w.jsx(nl,{compact:!0,children:c.name}),subHeading:w.jsx(cn,{children:c.description})})})},c.id);return w.jsxs(Ve,{gap:D.Medium,children:[w.jsx(hi,{}),w.jsx(An,{TitleProps:{heading:w.jsx(nl,{compact:!0,children:"Settings"}),subHeading:w.jsx(cn,{compact:!0,children:"Modify configs and options"}),avatar:w.jsx(ye,{name:"gear",width:D.Medium})},children:w.jsx(Dc,{className:"ZRomulatorSettingsPage-root",GridProps:{columns:{xl:"1fr 1fr 1fr",lg:"1fr 1fr",sm:"1fr"},gap:D.Medium},dataSource:r,value:l,renderItem:s})})]})}class u8{endpoint(){const{api:n}=new us().build();return new Yt().parse(n).append("systems").build()}async retrieve(n){return(await this._rest.get()).retrieve(n)}async count(n){return(await this._rest.get()).count(n)}async get(n){return(await this._rest.get()).get(n)}constructor(n){this._rest=new jO(async()=>Promise.resolve(new $c(n,this.endpoint())))}}function s8(){return new u8(new Ac)}const o8=C.createContext(s8()),Ux=()=>C.useContext(o8),c8=t=>{const n=Ux();return ns(()=>n.get(t),[t])},f8={[On.Accessory]:"Accessory",[On.Arcade]:"Arcade",[On.Computer]:"Computer",[On.Console]:"Console",[On.Flipper]:"Pinball Machine",[On.Handheld]:"Handheld",[On.ScummVm]:"ScummVm",[On.Smartphone]:"Phone",[On.Unknown]:"?",[On.VirtualMachine]:"Virtual Machine"},d8={[Kr.Cartridge]:"Cartridge",[Kr.Cd]:"CD",[Kr.FloppyDisk]:"Floppy Disk",[Kr.Pcb]:"PCB",[Kr.Unknown]:"?"},h8={[Fr.Disk]:"Disk",[Fr.File]:"File",[Fr.Folder]:"Folder",[Fr.ReadOnlyMemory]:"ROM",[Fr.Unknown]:"?"};function m8(){const{id:t}=zm(),{error:n}=Me(),[r]=c8(J("",t)),l=C.useMemo(()=>new bl().subject("system").equal().value(t).build(),[t]),s=C.useMemo(()=>new Dn().size(48).filter(l).build(),[l]),[c,d]=w5(s),g=C.useMemo(()=>Object.values(Bn),[]),m=(N,R,S)=>w.jsxs(w.Fragment,{children:[w.jsxs(sl,{children:[N,":"]}),w.jsx(cn,{compact:!0,className:`ZRomulatorSystemPage-${B1(N)}`,"data-value":R,children:J(R,S)})]}),h=N=>{const{name:R,company:S,classification:E,productionYears:j}=N,{hardwareType:x,mediaFormat:$,contentType:q}=E,{start:U,end:X}=j,H=f8[x],ie=d8[$],ae=h8[q];return w.jsx(An,{name:"info",TitleProps:{avatar:w.jsx(ye,{name:"puzzle-piece",width:D.Medium}),heading:"Information",subHeading:"Details about this system"},children:w.jsxs(Cn,{columns:"auto auto",gap:D.Medium,width:ge.Fit,align:{items:"center"},children:[m("Name",R),m("Company",S),m("Hardware Type",x,H),m("Media Format",$,ie),m("Content Type",q,ae),m("Production Start",String(U)),m("Production End",String(X),H1(String(X)))]})})},b=N=>{const{extensions:R}=N;return w.jsx(An,{name:"game-list",TitleProps:{avatar:w.jsx(ye,{name:"gamepad",width:D.Medium}),heading:"Games",subHeading:R.join(", ")},children:w.jsx(jx,{value:c,onValueChange:d})})},v=N=>g.map(R=>w.jsx(zx,{identifier:N.id,type:R},R)),O=()=>vl(r)?w.jsx(ls,{name:"system-loading",height:D.Large}):xc(r)?w.jsx(Rm,{fashion:n,heading:"Cannot load System",message:r.message}):w.jsxs(Cn,{columns:{xl:"1fr auto",md:"1fr"},gap:D.Medium,align:{items:"start"},children:[b(r),w.jsxs(Ve,{gap:D.Medium,children:[h(r),v(r)]})]});return w.jsxs(Ve,{gap:D.Medium,className:"ZRomulatorSystemPage-root",children:[w.jsx(hi,{}),O()]})}const p8=new wm().ascending("generation").ascending("name").build(),g8=new Dn().size(48).sort(p8).build();function y8(){const{body:t}=Me(),n=Sl(),r=Ux(),l=Nc(),[s,c]=C.useState(g8),d=Ze(Ne`
|
|
888
|
+
.ZRomulatorSystemsPage-tile {
|
|
889
|
+
height: 10rem;
|
|
890
|
+
}
|
|
891
|
+
`),g=m=>{const h=l.url(m,Bn.Wheel),b=()=>n(m.id);return w.jsx(Lm,{className:"ZRomulatorSystemsPage-tile",fashion:t,name:m.id,onActivate:b,children:w.jsx(Ve,{justify:{content:"center"},align:{items:"center"},height:ge.Full,width:ge.Full,children:w.jsx(Rc,{className:"ZRomulatorSystemsPage-wheel",src:h,width:ge.Full,height:ge.Full,fit:"scale-down"})})},m.id)};return w.jsxs(Ve,{className:d,gap:D.Medium,children:[w.jsx(hi,{}),w.jsx(An,{width:ge.Full,TitleProps:{avatar:w.jsx(ye,{name:"puzzle-piece",width:D.Medium}),heading:"Systems",subHeading:"Your games organized by system"},children:w.jsx(Dc,{className:"ZRomulatorSystemsPage-root",GridProps:{columns:{xl:"1fr 1fr 1fr 1fr",lg:"1fr 1fr 1fr 1fr",md:"1fr 1fr 1fr",sm:"1fr 1fr",xs:"1fr"},gap:D.Medium},heading:w.jsx(Um,{value:s,onValueChange:c}),footer:w.jsx(Nx,{dataSource:r,value:s,onValueChange:c}),dataSource:r,renderItem:g,value:s})})]})}function b8(){return w.jsx(Rc,{src:"/png/romulator-256x256.png",width:D.Medium,fit:"contain"})}function v8(){return w.jsxs("div",{className:"ZRomulatorTitle-root",children:[w.jsx(a6,{compact:!0,children:"Romulator"}),w.jsx(cn,{compact:!0,children:"Organize your Games"})]})}const w8=bD();function x8(){return w.jsx(fx.Provider,{value:w8,children:w.jsx(u6,{TitleProps:{avatar:w.jsx(b8,{}),prefix:w.jsx(v8,{}),suffix:w.jsx(t8,{})},children:w.jsxs(_6,{children:[w.jsx(Ca,{path:"/settings",element:w.jsx(l8,{})}),w.jsx(Ca,{path:"/settings/:id",element:w.jsx(i8,{})}),w.jsx(Ca,{path:"/systems",element:w.jsx(y8,{})}),w.jsx(Ca,{path:"/systems/:id",element:w.jsx(m8,{})}),w.jsx(Ca,{path:"/games",element:w.jsx(Xz,{})}),w.jsx(Ca,{path:"/games/:id",element:w.jsx(kz,{})}),w.jsx(Ca,{path:"/jobs",element:w.jsx(e8,{})}),w.jsx(Ca,{path:"",element:w.jsx(S6,{to:"/systems"})}),w.jsx(Ca,{path:"*",element:w.jsx(fz,{})})]})})})}const _8=zz.createRoot(document.getElementById("zthunworks-romulator"));_8.render(w.jsx(TD.StrictMode,{children:w.jsx(x6,{children:w.jsx(x8,{})})}))});export default S8();
|