@zthun/romulator-web 1.18.0 → 1.18.1

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.
@@ -0,0 +1,808 @@
1
+ var SS=(n,a)=>()=>(a||n((a={exports:{}}).exports,a),a.exports);var B6=SS((ua,sa)=>{(function(){const a=document.createElement("link").relList;if(a&&a.supports&&a.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))u(o);new MutationObserver(o=>{for(const f of o)if(f.type==="childList")for(const d of f.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&u(d)}).observe(document,{childList:!0,subtree:!0});function i(o){const f={};return o.integrity&&(f.integrity=o.integrity),o.referrerPolicy&&(f.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?f.credentials="include":o.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function u(o){if(o.ep)return;o.ep=!0;const f=i(o);fetch(o.href,f)}})();var bi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Wd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var id={exports:{}},$l={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.js
4
+ *
5
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Vg;function xS(){if(Vg)return $l;Vg=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.fragment");function i(u,o,f){var d=null;if(f!==void 0&&(d=""+f),o.key!==void 0&&(d=""+o.key),"key"in o){f={};for(var y in o)y!=="key"&&(f[y]=o[y])}else f=o;return o=f.ref,{$$typeof:n,type:u,key:d,ref:o!==void 0?o:null,props:f}}return $l.Fragment=a,$l.jsx=i,$l.jsxs=i,$l}var Xg;function ES(){return Xg||(Xg=1,id.exports=xS()),id.exports}var _=ES();function TS(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function OS(n,a){for(var i=0;i<a.length;i++){var u=a[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}function AS(n,a,i){return a&&OS(n.prototype,a),n}function bb(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function RS(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{},u=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(i).filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable}))),u.forEach(function(o){bb(n,o,i[o])})}return n}var MS=function(){function n(){TS(this,n),bb(this,"_wait",void 0),this._wait={debounce:0,timeout:1e4}}return AS(n,[{key:"description",value:function(i){return this._wait.description=i,this}},{key:"debounce",value:function(i){return this._wait.debounce=i,this}},{key:"timeout",value:function(i){return this._wait.timeout=i,this}},{key:"build",value:function(){return RS({},this._wait)}}]),n}();function Qg(n,a){(a==null||a>n.length)&&(a=n.length);for(var i=0,u=new Array(a);i<a;i++)u[i]=n[i];return u}function CS(n){if(Array.isArray(n))return n}function Kg(n,a,i,u,o,f,d){try{var y=n[f](d),p=y.value}catch(h){i(h);return}y.done?a(p):Promise.resolve(p).then(u,o)}function ld(n){return function(){var a=this,i=arguments;return new Promise(function(u,o){var f=n.apply(a,i);function d(p){Kg(f,u,o,d,y,"next",p)}function y(p){Kg(f,u,o,d,y,"throw",p)}d(void 0)})}}function NS(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function zS(n,a){for(var i=0;i<a.length;i++){var u=a[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}function $S(n,a,i){return i&&zS(n,i),n}function DS(n,a){var i=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(i!=null){var u=[],o=!0,f=!1,d,y;try{for(i=i.call(n);!(o=(d=i.next()).done)&&(u.push(d.value),!(a&&u.length===a));o=!0);}catch(p){f=!0,y=p}finally{try{!o&&i.return!=null&&i.return()}finally{if(f)throw y}}return u}}function US(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function qS(n,a){return CS(n)||DS(n,a)||jS(n,a)||US()}function jS(n,a){if(n){if(typeof n=="string")return Qg(n,a);var i=Object.prototype.toString.call(n).slice(8,-1);if(i==="Object"&&n.constructor&&(i=n.constructor.name),i==="Map"||i==="Set")return Array.from(i);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Qg(n,a)}}function ud(n,a){var i,u,o,f={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},d=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return d.next=y(0),d.throw=y(1),d.return=y(2),typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function y(h){return function(b){return p([h,b])}}function p(h){if(i)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(f=0)),f;)try{if(i=1,u&&(o=h[0]&2?u.return:h[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,h[1])).done)return o;switch(u=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return f.label++,{value:h[1],done:!1};case 5:f.label++,u=h[1],h=[0];continue;case 7:h=f.ops.pop(),f.trys.pop();continue;default:if(o=f.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){f=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){f.label=h[1];break}if(h[0]===6&&f.label<o[1]){f.label=o[1],o=h;break}if(o&&f.label<o[2]){f.label=o[2],f.ops.push(h);break}o[2]&&f.ops.pop(),f.trys.pop();continue}h=a.call(n,f)}catch(b){h=[6,b],u=0}finally{i=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}var Fg=function(n,a){var i=n;if(a!=null){var u="".concat(n,'[name="').concat(a,'"]'),o="".concat(n,'[data-name="').concat(a,'"]');i="".concat(u,",").concat(o)}return i},Je=function(){function n(){NS(this,n)}return $S(n,null,[{key:"all",value:function(i,u){return ld(function(o,f){var d,y,p=arguments;return ud(this,function(h){switch(h.label){case 0:return d=p.length>2&&p[2]!==void 0?p[2]:f.Selector,[4,o.query(d)];case 1:return y=h.sent(),[2,y.map(function(b){return new f(b)})]}})}).apply(this,arguments)}},{key:"css",value:function(i,u,o){return ld(function(){var f,d,y;return ud(this,function(p){switch(p.label){case 0:return f="Searching for a component with selector: ".concat(o),d=new MS().description(f).build(),[4,i.wait(function(){return i.peek(o)},d)];case 1:return p.sent(),[4,i.select(o)];case 2:return y=p.sent(),[2,new u(y)]}})})()}},{key:"first",value:function(i,u,o){var f=Fg(u.Selector,o);return n.css(i,u,f)}},{key:"optional",value:function(i,u,o){return ld(function(){var f,d,y;return ud(this,function(p){switch(p.label){case 0:return f=Fg(u.Selector,o),[4,i.query(f)];case 1:return d=qS.apply(void 0,[p.sent(),1]),y=d[0],[2,y?new u(y):null]}})})()}}]),n}();function BS(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function LS(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var we=function n(a){BS(this,n),LS(this,"driver",void 0),this.driver=a};function ZS(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function HS(n,a){for(var i=0;i<a.length;i++){var u=a[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}function GS(n,a,i){return a&&HS(n.prototype,a),n}function vb(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function YS(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{},u=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(i).filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable}))),u.forEach(function(o){vb(n,o,i[o])})}return n}var k=function(){function n(a,i){ZS(this,n),vb(this,"_key",void 0),this._key={lower:a,code:i,upper:a,printable:!1,modifier:!1,shift:!1,toggle:!1}}return GS(n,[{key:"upper",value:function(i){return this._key.upper=i,this}},{key:"printable",value:function(){return this._key.printable=!0,this}},{key:"modifier",value:function(){return this._key.modifier=!0,this}},{key:"shift",value:function(){return this._key.shift=!0,this}},{key:"toggle",value:function(){return this._key.toggle=!0,this}},{key:"build",value:function(){return YS({},this._key)}}]),n}(),Fe=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 VS(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function XS(n,a){for(var i=0;i<a.length;i++){var u=a[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}function QS(n,a,i){return a&&XS(n.prototype,a),n}function Ad(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var Rd=function(){function n(a){var i=this;VS(this,n),Ad(this,"_lowerCaseToKeyValue",new Map),Ad(this,"_upperCaseToKeyValue",new Map),a.forEach(function(u){i._lowerCaseToKeyValue.set(u.lower,u),i._upperCaseToKeyValue.set(u.upper,u)})}return QS(n,[{key:"translate",value:function(i){return this._lowerCaseToKeyValue.get(i)||this._upperCaseToKeyValue.get(i)}}]),n}();Ad(Rd,"Qwerty",new Rd(Object.values(Fe)));var Dl=function(n){return n.MouseDown="mouse-down",n.MouseUp="mouse-up",n.KeyDown="key-down",n.KeyUp="key-up",n.Magic="magic",n}({});function KS(n,a){if(!(n instanceof a))throw new TypeError("Cannot call a class as a function")}function FS(n,a){for(var i=0;i<a.length;i++){var u=a[i];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(n,u.key,u)}}function JS(n,a,i){return a&&FS(n.prototype,a),n}function yn(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function kS(n){for(var a=1;a<arguments.length;a++){var i=arguments[a]!=null?arguments[a]:{},u=Object.keys(i);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(i).filter(function(o){return Object.getOwnPropertyDescriptor(i,o).enumerable}))),u.forEach(function(o){yn(n,o,i[o])})}return n}var Xe=function(){function n(){KS(this,n),yn(this,"_actions",[]),yn(this,"keyDown",this._action.bind(this,Dl.KeyDown)),yn(this,"keyUp",this._action.bind(this,Dl.KeyUp)),yn(this,"_mouseDown",this._action.bind(this,Dl.MouseDown)),yn(this,"_mouseUp",this._action.bind(this,Dl.MouseUp)),yn(this,"leftMouseDown",this._mouseDown.bind(this,"Left")),yn(this,"leftMouseUp",this._mouseUp.bind(this,"Left")),yn(this,"rightMouseDown",this._mouseDown.bind(this,"Right")),yn(this,"rightMouseUp",this._mouseUp.bind(this,"Right")),yn(this,"magic",this._action.bind(this,Dl.Magic))}return JS(n,[{key:"action",value:function(a){return this._actions.push(kS({},a)),this}},{key:"_action",value:function(i,u){return this.action({name:i,context:u})}},{key:"press",value:function(i){for(var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,o=0;o<u;++o)this.keyDown(i).keyUp(i);return this}},{key:"click",value:function(){return this.leftMouseDown().leftMouseUp()}},{key:"rightClick",value:function(){return this.rightMouseDown().rightMouseUp()}},{key:"type",value:function(i){var u=Rd.Qwerty,o=!0,f=!1,d=void 0;try{for(var y=i[Symbol.iterator](),p;!(o=(p=y.next()).done);o=!0){var h=p.value,b=u.translate(h);h===b?.upper&&h!==b?.lower?this.keyDown(Fe.shiftLeft).press(b).keyUp(Fe.shiftLeft):b!=null&&this.press(b)}}catch(v){f=!0,d=v}finally{try{!o&&y.return!=null&&y.return()}finally{if(f)throw d}}return this}},{key:"build",value:function(){return{actions:this._actions.slice()}}}]),n}();const Fl=globalThis||void 0||self;var Jg=function(n){return n.Top="top",n.Middle="middle",n.Bottom="bottom",n}({}),_b=function(n){return n.Left="left",n.Center="center",n.Right="right",n}({});function Id(n,a=["message","error","exception","data"]){if(n instanceof Error)return n;if(n==null)return new Error;for(let i=0;i<a.length;++i){const u=a[i];if(Object.prototype.hasOwnProperty.call(n,u))return Id(n[u])}return new Error(String(n))}function wb(n){const a=typeof n;return n==null||a==="object"&&Object.keys(n).length===0}const PS=1024,WS=1048576,IS=1073741824,ex=1099511627776,tx=0x4000000000000;function su(n,a){return Math.ceil(n*a)}su.bind(null,PS);su.bind(null,WS);su.bind(null,IS);su.bind(null,ex);su.bind(null,tx);function nx(n,a,i,...u){if(n(i))return i;for(let o=0;o<u.length;++o){const f=u[o];if(n(f))return f}return a}function W(n,a,...i){return nx(u=>u!=null,n,a,...i)}function ax(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class rx{bottomLeft(a){return this._corners.bottomLeft=a,this}bottomRight(a){return this._corners.bottomRight=a,this}topLeft(a){return this._corners.topLeft=a,this}topRight(a){return this._corners.topRight=a,this}bottom(a){return this.bottomLeft(a).bottomRight(a)}left(a){return this.topLeft(a).bottomLeft(a)}right(a){return this.bottomRight(a).topRight(a)}top(a){return this.topLeft(a).topRight(a)}from(a){function i(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"bottom")||Object.prototype.hasOwnProperty.call(h,"top"))}function u(h){return h!=null&&(Object.prototype.hasOwnProperty.call(h,"left")||Object.prototype.hasOwnProperty.call(h,"right"))}function o(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:f,bottomRight:d,topLeft:y,topRight:p}=this._corners;return o(a)?(this._corners.bottomLeft=W(f,a.bottomLeft),this._corners.bottomRight=W(d,a.bottomRight),this._corners.topLeft=W(y,a.topLeft),this._corners.topRight=W(p,a.topRight),this):i(a)?(this._corners.bottomLeft=W(f,a.bottom),this._corners.bottomRight=W(d,a.bottom),this._corners.topLeft=W(y,a.top),this._corners.topRight=W(p,a.top),this):u(a)?(this._corners.bottomLeft=W(f,a.left),this._corners.bottomRight=W(d,a.right),this._corners.topLeft=W(y,a.left),this._corners.topRight=W(p,a.right),this):(wb(a)||(this._corners.bottomLeft=W(f,a),this._corners.bottomRight=W(d,a),this._corners.topLeft=W(y,a),this._corners.topRight=W(p,a)),this)}copy(a){return this._corners=structuredClone(a),this}build(){return structuredClone(this._corners)}constructor(a){ax(this,"_corners",void 0),this._corners={bottomLeft:a,bottomRight:a,topLeft:a,topRight:a}}}function ix(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class js{bottom(a){return this._quad.bottom=a,this}left(a){return this._quad.left=a,this}right(a){return this._quad.right=a,this}top(a){return this._quad.top=a,this}x(a){return this.left(a).right(a)}y(a){return this.bottom(a).top(a)}from(a){function i(o){return o!=null&&(Object.prototype.hasOwnProperty.call(o,"x")||Object.prototype.hasOwnProperty.call(o,"y"))}function u(o){return o!=null&&(Object.prototype.hasOwnProperty.call(o,"bottom")||Object.prototype.hasOwnProperty.call(o,"left")||Object.prototype.hasOwnProperty.call(o,"right")||Object.prototype.hasOwnProperty.call(o,"top"))}return u(a)?(this._quad.bottom=W(this._quad.bottom,a.bottom),this._quad.left=W(this._quad.left,a.left),this._quad.right=W(this._quad.right,a.right),this._quad.top=W(this._quad.top,a.top),this):i(a)?(this._quad.bottom=W(this._quad.bottom,a.y),this._quad.left=W(this._quad.left,a.x),this._quad.right=W(this._quad.right,a.x),this._quad.top=W(this._quad.top,a.y),this):(wb(a)||(this._quad.bottom=W(this._quad.bottom,a),this._quad.left=W(this._quad.left,a),this._quad.right=W(this._quad.right,a),this._quad.top=W(this._quad.top,a)),this)}copy(a){return this._quad.left=a.left,this._quad.right=a.right,this._quad.top=a.top,this._quad.bottom=a.bottom,this}build(){return structuredClone(this._quad)}constructor(a){ix(this,"_quad",void 0),this._quad={bottom:a,left:a,right:a,top:a}}}/* v8 ignore start -- @preserve *//* istanbul ignore next -- @preserve */const Sb=typeof window>"u"?Fl:window;/* v8 ignore end -- @preserve */function mo(n,...a){return a.map(i=>i instanceof Array?i[1]?i[0]:null:i).filter(i=>i!=null).join(n)}const lx=mo.bind(null," "),me=lx;mo.bind(null,",");mo.bind(null,";");mo.bind(null,"|");function kg(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class ux{initialized(){return this._value!=null}async get(){return this._value==null&&(this._value=this._factory()),this._value}constructor(a){kg(this,"_factory",void 0),kg(this,"_value",void 0),this._factory=a}}async function sx(n){if(n==null)throw new Error("A required value was not provided");const a=await n;if(a==null)throw new Error("A required value was not provided");return a}var Ln=function(n){return n.Horizontal="horizontal",n.Vertical="vertical",n}({});function xb(n,a){for(const i of a)if(n.startsWith(i))return[n.substring(0,i.length),n.substring(i.length)];return[null,n]}function Md(n,a,i){if(!n.startsWith(a))return[null,n];let u=1;const o=n.substring(a.length);for(let f=0;f<o.length;++f){if(o.startsWith(a,f)){u+=1,f+=a.length-1;continue}if(o.startsWith(i,f)){if(u-=1,u===0)return[o.substring(0,f),o.substring(f+i.length)];f+=i.length-1}}return[null,n]}function ox(n,a){const i=Object.keys(a),u={};return i.forEach(o=>{const f=a[o];n(o,f)&&(u[o]=f)}),u}function Eb(n){return ox(a=>String(a).startsWith("data-"),n)}function cx(n=0,a=void 0){return new Promise(i=>setTimeout(()=>i(a),n))}function fx(n,...a){let[i]=n;for(let u=1,o=n.length;u<o;u++)i+=a[u-1],i+=n[u];return i}const Be=fx;function Pg(n,a){try{return n()}catch{return a}}var Tb=typeof Fl=="object"&&Fl&&Fl.Object===Object&&Fl,dx=typeof self=="object"&&self&&self.Object===Object&&self,ma=Tb||dx||Function("return this")(),Zn=ma.Symbol,Ob=Object.prototype,hx=Ob.hasOwnProperty,mx=Ob.toString,Ul=Zn?Zn.toStringTag:void 0;function px(n){var a=hx.call(n,Ul),i=n[Ul];try{n[Ul]=void 0;var u=!0}catch{}var o=mx.call(n);return u&&(a?n[Ul]=i:delete n[Ul]),o}var yx=Object.prototype,gx=yx.toString;function bx(n){return gx.call(n)}var vx="[object Null]",_x="[object Undefined]",Wg=Zn?Zn.toStringTag:void 0;function zi(n){return n==null?n===void 0?_x:vx:Wg&&Wg in Object(n)?px(n):bx(n)}function Ti(n){return n!=null&&typeof n=="object"}var wx="[object Symbol]";function Oi(n){return typeof n=="symbol"||Ti(n)&&zi(n)==wx}function kl(n,a){for(var i=-1,u=n==null?0:n.length,o=Array(u);++i<u;)o[i]=a(n[i],i,n);return o}var kt=Array.isArray,Ig=Zn?Zn.prototype:void 0,e0=Ig?Ig.toString:void 0;function ou(n){if(typeof n=="string")return n;if(kt(n))return kl(n,ou)+"";if(Oi(n))return e0?e0.call(n):"";var a=n+"";return a=="0"&&1/n==-1/0?"-0":a}var Sx=/\s/;function Ab(n){for(var a=n.length;a--&&Sx.test(n.charAt(a)););return a}var xx=/^\s+/;function Rb(n){return n&&n.slice(0,Ab(n)+1).replace(xx,"")}function Pa(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}var t0=NaN,Ex=/^[-+]0x[0-9a-f]+$/i,Tx=/^0b[01]+$/i,Ox=/^0o[0-7]+$/i,Ax=parseInt;function Rx(n){if(typeof n=="number")return n;if(Oi(n))return t0;if(Pa(n)){var a=typeof n.valueOf=="function"?n.valueOf():n;n=Pa(a)?a+"":a}if(typeof n!="string")return n===0?n:+n;n=Rb(n);var i=Tx.test(n);return i||Ox.test(n)?Ax(n.slice(2),i?2:8):Ex.test(n)?t0:+n}var n0=1/0,Mx=17976931348623157e292;function Cx(n){if(!n)return n===0?n:0;if(n=Rx(n),n===n0||n===-n0){var a=n<0?-1:1;return a*Mx}return n===n?n:0}function Nx(n){var a=Cx(n),i=a%1;return a===a?i?a-i:a:0}function po(n){return n}var zx="[object AsyncFunction]",$x="[object Function]",Dx="[object GeneratorFunction]",Ux="[object Proxy]";function Mb(n){if(!Pa(n))return!1;var a=zi(n);return a==$x||a==Dx||a==zx||a==Ux}var sd=ma["__core-js_shared__"],a0=function(){var n=/[^.]+$/.exec(sd&&sd.keys&&sd.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function qx(n){return!!a0&&a0 in n}var jx=Function.prototype,Bx=jx.toString;function Rr(n){if(n!=null){try{return Bx.call(n)}catch{}try{return n+""}catch{}}return""}var Lx=/[\\^$.*+?()[\]{}|]/g,Zx=/^\[object .+?Constructor\]$/,Hx=Function.prototype,Gx=Object.prototype,Yx=Hx.toString,Vx=Gx.hasOwnProperty,Xx=RegExp("^"+Yx.call(Vx).replace(Lx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Qx(n){if(!Pa(n)||qx(n))return!1;var a=Mb(n)?Xx:Zx;return a.test(Rr(n))}function Kx(n,a){return n?.[a]}function Mr(n,a){var i=Kx(n,a);return Qx(i)?i:void 0}var Cd=Mr(ma,"WeakMap");function Fx(n,a,i){switch(i.length){case 0:return n.call(a);case 1:return n.call(a,i[0]);case 2:return n.call(a,i[0],i[1]);case 3:return n.call(a,i[0],i[1],i[2])}return n.apply(a,i)}function Er(){}var Jx=800,kx=16,Px=Date.now;function Wx(n){var a=0,i=0;return function(){var u=Px(),o=kx-(u-i);if(i=u,o>0){if(++a>=Jx)return arguments[0]}else a=0;return n.apply(void 0,arguments)}}function Ix(n){return function(){return n}}var so=function(){try{var n=Mr(Object,"defineProperty");return n({},"",{}),n}catch{}}(),e2=so?function(n,a){return so(n,"toString",{configurable:!0,enumerable:!1,value:Ix(a),writable:!0})}:po,t2=Wx(e2);function Cb(n,a,i,u){for(var o=n.length,f=i+-1;++f<o;)if(a(n[f],f,n))return f;return-1}function n2(n){return n!==n}function a2(n,a,i){for(var u=i-1,o=n.length;++u<o;)if(n[u]===a)return u;return-1}function Nb(n,a,i){return a===a?a2(n,a,i):Cb(n,n2,i)}var r2=9007199254740991,i2=/^(?:0|[1-9]\d*)$/;function yo(n,a){var i=typeof n;return a=a??r2,!!a&&(i=="number"||i!="symbol"&&i2.test(n))&&n>-1&&n%1==0&&n<a}function zb(n,a,i){a=="__proto__"&&so?so(n,a,{configurable:!0,enumerable:!0,value:i,writable:!0}):n[a]=i}function go(n,a){return n===a||n!==n&&a!==a}var l2=Object.prototype,u2=l2.hasOwnProperty;function s2(n,a,i){var u=n[a];(!(u2.call(n,a)&&go(u,i))||i===void 0&&!(a in n))&&zb(n,a,i)}var r0=Math.max;function o2(n,a,i){return a=r0(a===void 0?n.length-1:a,0),function(){for(var u=arguments,o=-1,f=r0(u.length-a,0),d=Array(f);++o<f;)d[o]=u[a+o];o=-1;for(var y=Array(a+1);++o<a;)y[o]=u[o];return y[a]=i(d),Fx(n,this,y)}}function c2(n,a){return t2(o2(n,a,po),n+"")}var f2=9007199254740991;function eh(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=f2}function bo(n){return n!=null&&eh(n.length)&&!Mb(n)}function i0(n,a,i){if(!Pa(i))return!1;var u=typeof a;return(u=="number"?bo(i)&&yo(a,i.length):u=="string"&&a in i)?go(i[a],n):!1}var d2=Object.prototype;function h2(n){var a=n&&n.constructor,i=typeof a=="function"&&a.prototype||d2;return n===i}function m2(n,a){for(var i=-1,u=Array(n);++i<n;)u[i]=a(i);return u}var p2="[object Arguments]";function l0(n){return Ti(n)&&zi(n)==p2}var $b=Object.prototype,y2=$b.hasOwnProperty,g2=$b.propertyIsEnumerable,th=l0(function(){return arguments}())?l0:function(n){return Ti(n)&&y2.call(n,"callee")&&!g2.call(n,"callee")};function b2(){return!1}var Db=typeof ua=="object"&&ua&&!ua.nodeType&&ua,u0=Db&&typeof sa=="object"&&sa&&!sa.nodeType&&sa,v2=u0&&u0.exports===Db,s0=v2?ma.Buffer:void 0,_2=s0?s0.isBuffer:void 0,Nd=_2||b2,w2="[object Arguments]",S2="[object Array]",x2="[object Boolean]",E2="[object Date]",T2="[object Error]",O2="[object Function]",A2="[object Map]",R2="[object Number]",M2="[object Object]",C2="[object RegExp]",N2="[object Set]",z2="[object String]",$2="[object WeakMap]",D2="[object ArrayBuffer]",U2="[object DataView]",q2="[object Float32Array]",j2="[object Float64Array]",B2="[object Int8Array]",L2="[object Int16Array]",Z2="[object Int32Array]",H2="[object Uint8Array]",G2="[object Uint8ClampedArray]",Y2="[object Uint16Array]",V2="[object Uint32Array]",Ye={};Ye[q2]=Ye[j2]=Ye[B2]=Ye[L2]=Ye[Z2]=Ye[H2]=Ye[G2]=Ye[Y2]=Ye[V2]=!0;Ye[w2]=Ye[S2]=Ye[D2]=Ye[x2]=Ye[U2]=Ye[E2]=Ye[T2]=Ye[O2]=Ye[A2]=Ye[R2]=Ye[M2]=Ye[C2]=Ye[N2]=Ye[z2]=Ye[$2]=!1;function X2(n){return Ti(n)&&eh(n.length)&&!!Ye[zi(n)]}function Ub(n){return function(a){return n(a)}}var qb=typeof ua=="object"&&ua&&!ua.nodeType&&ua,Pl=qb&&typeof sa=="object"&&sa&&!sa.nodeType&&sa,Q2=Pl&&Pl.exports===qb,od=Q2&&Tb.process,o0=function(){try{var n=Pl&&Pl.require&&Pl.require("util").types;return n||od&&od.binding&&od.binding("util")}catch{}}(),c0=o0&&o0.isTypedArray,jb=c0?Ub(c0):X2,K2=Object.prototype,F2=K2.hasOwnProperty;function J2(n,a){var i=kt(n),u=!i&&th(n),o=!i&&!u&&Nd(n),f=!i&&!u&&!o&&jb(n),d=i||u||o||f,y=d?m2(n.length,String):[],p=y.length;for(var h in n)F2.call(n,h)&&!(d&&(h=="length"||o&&(h=="offset"||h=="parent")||f&&(h=="buffer"||h=="byteLength"||h=="byteOffset")||yo(h,p)))&&y.push(h);return y}function k2(n,a){return function(i){return n(a(i))}}var P2=k2(Object.keys,Object),W2=Object.prototype,I2=W2.hasOwnProperty;function eE(n){if(!h2(n))return P2(n);var a=[];for(var i in Object(n))I2.call(n,i)&&i!="constructor"&&a.push(i);return a}function vo(n){return bo(n)?J2(n):eE(n)}var tE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nE=/^\w*$/;function nh(n,a){if(kt(n))return!1;var i=typeof n;return i=="number"||i=="symbol"||i=="boolean"||n==null||Oi(n)?!0:nE.test(n)||!tE.test(n)||a!=null&&n in Object(a)}var Il=Mr(Object,"create");function aE(){this.__data__=Il?Il(null):{},this.size=0}function rE(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}var iE="__lodash_hash_undefined__",lE=Object.prototype,uE=lE.hasOwnProperty;function sE(n){var a=this.__data__;if(Il){var i=a[n];return i===iE?void 0:i}return uE.call(a,n)?a[n]:void 0}var oE=Object.prototype,cE=oE.hasOwnProperty;function fE(n){var a=this.__data__;return Il?a[n]!==void 0:cE.call(a,n)}var dE="__lodash_hash_undefined__";function hE(n,a){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=Il&&a===void 0?dE:a,this}function Tr(n){var a=-1,i=n==null?0:n.length;for(this.clear();++a<i;){var u=n[a];this.set(u[0],u[1])}}Tr.prototype.clear=aE;Tr.prototype.delete=rE;Tr.prototype.get=sE;Tr.prototype.has=fE;Tr.prototype.set=hE;function mE(){this.__data__=[],this.size=0}function _o(n,a){for(var i=n.length;i--;)if(go(n[i][0],a))return i;return-1}var pE=Array.prototype,yE=pE.splice;function gE(n){var a=this.__data__,i=_o(a,n);if(i<0)return!1;var u=a.length-1;return i==u?a.pop():yE.call(a,i,1),--this.size,!0}function bE(n){var a=this.__data__,i=_o(a,n);return i<0?void 0:a[i][1]}function vE(n){return _o(this.__data__,n)>-1}function _E(n,a){var i=this.__data__,u=_o(i,n);return u<0?(++this.size,i.push([n,a])):i[u][1]=a,this}function pa(n){var a=-1,i=n==null?0:n.length;for(this.clear();++a<i;){var u=n[a];this.set(u[0],u[1])}}pa.prototype.clear=mE;pa.prototype.delete=gE;pa.prototype.get=bE;pa.prototype.has=vE;pa.prototype.set=_E;var eu=Mr(ma,"Map");function wE(){this.size=0,this.__data__={hash:new Tr,map:new(eu||pa),string:new Tr}}function SE(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}function wo(n,a){var i=n.__data__;return SE(a)?i[typeof a=="string"?"string":"hash"]:i.map}function xE(n){var a=wo(this,n).delete(n);return this.size-=a?1:0,a}function EE(n){return wo(this,n).get(n)}function TE(n){return wo(this,n).has(n)}function OE(n,a){var i=wo(this,n),u=i.size;return i.set(n,a),this.size+=i.size==u?0:1,this}function ya(n){var a=-1,i=n==null?0:n.length;for(this.clear();++a<i;){var u=n[a];this.set(u[0],u[1])}}ya.prototype.clear=wE;ya.prototype.delete=xE;ya.prototype.get=EE;ya.prototype.has=TE;ya.prototype.set=OE;var AE="Expected a function";function ah(n,a){if(typeof n!="function"||a!=null&&typeof a!="function")throw new TypeError(AE);var i=function(){var u=arguments,o=a?a.apply(this,u):u[0],f=i.cache;if(f.has(o))return f.get(o);var d=n.apply(this,u);return i.cache=f.set(o,d)||f,d};return i.cache=new(ah.Cache||ya),i}ah.Cache=ya;var RE=500;function ME(n){var a=ah(n,function(u){return i.size===RE&&i.clear(),u}),i=a.cache;return a}var CE=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,NE=/\\(\\)?/g,zE=ME(function(n){var a=[];return n.charCodeAt(0)===46&&a.push(""),n.replace(CE,function(i,u,o,f){a.push(o?f.replace(NE,"$1"):u||i)}),a});function Cr(n){return n==null?"":ou(n)}function rh(n,a){return kt(n)?n:nh(n,a)?[n]:zE(Cr(n))}function cu(n){if(typeof n=="string"||Oi(n))return n;var a=n+"";return a=="0"&&1/n==-1/0?"-0":a}function ih(n,a){a=rh(a,n);for(var i=0,u=a.length;n!=null&&i<u;)n=n[cu(a[i++])];return i&&i==u?n:void 0}function Or(n,a,i){var u=n==null?void 0:ih(n,a);return u===void 0?i:u}function Bb(n,a){for(var i=-1,u=a.length,o=n.length;++i<u;)n[o+i]=a[i];return n}var f0=Zn?Zn.isConcatSpreadable:void 0;function $E(n){return kt(n)||th(n)||!!(f0&&n&&n[f0])}function DE(n,a,i,u,o){var f=-1,d=n.length;for(i||(i=$E),o||(o=[]);++f<d;){var y=n[f];i(y)?Bb(o,y):o[o.length]=y}return o}function Lb(n,a,i){var u=-1,o=n.length;a<0&&(a=-a>o?0:o+a),i=i>o?o:i,i<0&&(i+=o),o=a>i?0:i-a>>>0,a>>>=0;for(var f=Array(o);++u<o;)f[u]=n[u+a];return f}function So(n,a,i){var u=n.length;return i=i===void 0?u:i,!a&&i>=u?n:Lb(n,a,i)}var UE="\\ud800-\\udfff",qE="\\u0300-\\u036f",jE="\\ufe20-\\ufe2f",BE="\\u20d0-\\u20ff",LE=qE+jE+BE,ZE="\\ufe0e\\ufe0f",HE="\\u200d",GE=RegExp("["+HE+UE+LE+ZE+"]");function Zb(n){return GE.test(n)}function YE(n){return n.split("")}var Hb="\\ud800-\\udfff",VE="\\u0300-\\u036f",XE="\\ufe20-\\ufe2f",QE="\\u20d0-\\u20ff",KE=VE+XE+QE,FE="\\ufe0e\\ufe0f",JE="["+Hb+"]",zd="["+KE+"]",$d="\\ud83c[\\udffb-\\udfff]",kE="(?:"+zd+"|"+$d+")",Gb="[^"+Hb+"]",Yb="(?:\\ud83c[\\udde6-\\uddff]){2}",Vb="[\\ud800-\\udbff][\\udc00-\\udfff]",PE="\\u200d",Xb=kE+"?",Qb="["+FE+"]?",WE="(?:"+PE+"(?:"+[Gb,Yb,Vb].join("|")+")"+Qb+Xb+")*",IE=Qb+Xb+WE,eT="(?:"+[Gb+zd+"?",zd,Yb,Vb,JE].join("|")+")",tT=RegExp($d+"(?="+$d+")|"+eT+IE,"g");function nT(n){return n.match(tT)||[]}function Ar(n){return Zb(n)?nT(n):YE(n)}function aT(n){return function(a){a=Cr(a);var i=Zb(a)?Ar(a):void 0,u=i?i[0]:a.charAt(0),o=i?So(i,1).join(""):a.slice(1);return u[n]()+o}}var rT=aT("toUpperCase");function iT(n,a,i,u){for(var o=-1,f=n==null?0:n.length;++o<f;)i=a(i,n[o],o,n);return i}function lT(n){return function(a){return n?.[a]}}var uT={À:"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"},sT=lT(uT),oT=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,cT="\\u0300-\\u036f",fT="\\ufe20-\\ufe2f",dT="\\u20d0-\\u20ff",hT=cT+fT+dT,mT="["+hT+"]",pT=RegExp(mT,"g");function yT(n){return n=Cr(n),n&&n.replace(oT,sT).replace(pT,"")}var gT=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function bT(n){return n.match(gT)||[]}var vT=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function _T(n){return vT.test(n)}var Kb="\\ud800-\\udfff",wT="\\u0300-\\u036f",ST="\\ufe20-\\ufe2f",xT="\\u20d0-\\u20ff",ET=wT+ST+xT,Fb="\\u2700-\\u27bf",Jb="a-z\\xdf-\\xf6\\xf8-\\xff",TT="\\xac\\xb1\\xd7\\xf7",OT="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",AT="\\u2000-\\u206f",RT=" \\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",kb="A-Z\\xc0-\\xd6\\xd8-\\xde",MT="\\ufe0e\\ufe0f",Pb=TT+OT+AT+RT,Wb="['’]",d0="["+Pb+"]",CT="["+ET+"]",Ib="\\d+",NT="["+Fb+"]",ev="["+Jb+"]",tv="[^"+Kb+Pb+Ib+Fb+Jb+kb+"]",zT="\\ud83c[\\udffb-\\udfff]",$T="(?:"+CT+"|"+zT+")",DT="[^"+Kb+"]",nv="(?:\\ud83c[\\udde6-\\uddff]){2}",av="[\\ud800-\\udbff][\\udc00-\\udfff]",gi="["+kb+"]",UT="\\u200d",h0="(?:"+ev+"|"+tv+")",qT="(?:"+gi+"|"+tv+")",m0="(?:"+Wb+"(?:d|ll|m|re|s|t|ve))?",p0="(?:"+Wb+"(?:D|LL|M|RE|S|T|VE))?",rv=$T+"?",iv="["+MT+"]?",jT="(?:"+UT+"(?:"+[DT,nv,av].join("|")+")"+iv+rv+")*",BT="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",LT="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ZT=iv+rv+jT,HT="(?:"+[NT,nv,av].join("|")+")"+ZT,GT=RegExp([gi+"?"+ev+"+"+m0+"(?="+[d0,gi,"$"].join("|")+")",qT+"+"+p0+"(?="+[d0,gi+h0,"$"].join("|")+")",gi+"?"+h0+"+"+m0,gi+"+"+p0,LT,BT,Ib,HT].join("|"),"g");function YT(n){return n.match(GT)||[]}function VT(n,a,i){return n=Cr(n),a=a,a===void 0?_T(n)?YT(n):bT(n):n.match(a)||[]}var XT="['’]",QT=RegExp(XT,"g");function lv(n){return function(a){return iT(VT(yT(a).replace(QT,"")),n,"")}}function KT(){if(!arguments.length)return[];var n=arguments[0];return kt(n)?n:[n]}var FT=Math.ceil,JT=Math.max;function kT(n,a,i){a===void 0?a=1:a=JT(Nx(a),0);var u=n==null?0:n.length;if(!u||a<1)return[];for(var o=0,f=0,d=Array(FT(u/a));o<u;)d[f++]=Lb(n,o,o+=a);return d}function PT(){this.__data__=new pa,this.size=0}function WT(n){var a=this.__data__,i=a.delete(n);return this.size=a.size,i}function IT(n){return this.__data__.get(n)}function e3(n){return this.__data__.has(n)}var t3=200;function n3(n,a){var i=this.__data__;if(i instanceof pa){var u=i.__data__;if(!eu||u.length<t3-1)return u.push([n,a]),this.size=++i.size,this;i=this.__data__=new ya(u)}return i.set(n,a),this.size=i.size,this}function oa(n){var a=this.__data__=new pa(n);this.size=a.size}oa.prototype.clear=PT;oa.prototype.delete=WT;oa.prototype.get=IT;oa.prototype.has=e3;oa.prototype.set=n3;function a3(n,a){for(var i=-1,u=n==null?0:n.length,o=0,f=[];++i<u;){var d=n[i];a(d,i,n)&&(f[o++]=d)}return f}function r3(){return[]}var i3=Object.prototype,l3=i3.propertyIsEnumerable,y0=Object.getOwnPropertySymbols,u3=y0?function(n){return n==null?[]:(n=Object(n),a3(y0(n),function(a){return l3.call(n,a)}))}:r3;function s3(n,a,i){var u=a(n);return kt(n)?u:Bb(u,i(n))}function g0(n){return s3(n,vo,u3)}var Dd=Mr(ma,"DataView"),Ud=Mr(ma,"Promise"),qd=Mr(ma,"Set"),b0="[object Map]",o3="[object Object]",v0="[object Promise]",_0="[object Set]",w0="[object WeakMap]",S0="[object DataView]",c3=Rr(Dd),f3=Rr(eu),d3=Rr(Ud),h3=Rr(qd),m3=Rr(Cd),Qa=zi;(Dd&&Qa(new Dd(new ArrayBuffer(1)))!=S0||eu&&Qa(new eu)!=b0||Ud&&Qa(Ud.resolve())!=v0||qd&&Qa(new qd)!=_0||Cd&&Qa(new Cd)!=w0)&&(Qa=function(n){var a=zi(n),i=a==o3?n.constructor:void 0,u=i?Rr(i):"";if(u)switch(u){case c3:return S0;case f3:return b0;case d3:return v0;case h3:return _0;case m3:return w0}return a});var x0=ma.Uint8Array,p3="__lodash_hash_undefined__";function y3(n){return this.__data__.set(n,p3),this}function g3(n){return this.__data__.has(n)}function oo(n){var a=-1,i=n==null?0:n.length;for(this.__data__=new ya;++a<i;)this.add(n[a])}oo.prototype.add=oo.prototype.push=y3;oo.prototype.has=g3;function b3(n,a){for(var i=-1,u=n==null?0:n.length;++i<u;)if(a(n[i],i,n))return!0;return!1}function v3(n,a){return n.has(a)}var _3=1,w3=2;function uv(n,a,i,u,o,f){var d=i&_3,y=n.length,p=a.length;if(y!=p&&!(d&&p>y))return!1;var h=f.get(n),b=f.get(a);if(h&&b)return h==a&&b==n;var v=-1,A=!0,N=i&w3?new oo:void 0;for(f.set(n,a),f.set(a,n);++v<y;){var C=n[v],x=a[v];if(u)var z=d?u(x,C,v,a,n,f):u(C,x,v,n,a,f);if(z!==void 0){if(z)continue;A=!1;break}if(N){if(!b3(a,function(G,E){if(!v3(N,E)&&(C===G||o(C,G,i,u,f)))return N.push(E)})){A=!1;break}}else if(!(C===x||o(C,x,i,u,f))){A=!1;break}}return f.delete(n),f.delete(a),A}function S3(n){var a=-1,i=Array(n.size);return n.forEach(function(u,o){i[++a]=[o,u]}),i}function x3(n){var a=-1,i=Array(n.size);return n.forEach(function(u){i[++a]=u}),i}var E3=1,T3=2,O3="[object Boolean]",A3="[object Date]",R3="[object Error]",M3="[object Map]",C3="[object Number]",N3="[object RegExp]",z3="[object Set]",$3="[object String]",D3="[object Symbol]",U3="[object ArrayBuffer]",q3="[object DataView]",E0=Zn?Zn.prototype:void 0,cd=E0?E0.valueOf:void 0;function j3(n,a,i,u,o,f,d){switch(i){case q3:if(n.byteLength!=a.byteLength||n.byteOffset!=a.byteOffset)return!1;n=n.buffer,a=a.buffer;case U3:return!(n.byteLength!=a.byteLength||!f(new x0(n),new x0(a)));case O3:case A3:case C3:return go(+n,+a);case R3:return n.name==a.name&&n.message==a.message;case N3:case $3:return n==a+"";case M3:var y=S3;case z3:var p=u&E3;if(y||(y=x3),n.size!=a.size&&!p)return!1;var h=d.get(n);if(h)return h==a;u|=T3,d.set(n,a);var b=uv(y(n),y(a),u,o,f,d);return d.delete(n),b;case D3:if(cd)return cd.call(n)==cd.call(a)}return!1}var B3=1,L3=Object.prototype,Z3=L3.hasOwnProperty;function H3(n,a,i,u,o,f){var d=i&B3,y=g0(n),p=y.length,h=g0(a),b=h.length;if(p!=b&&!d)return!1;for(var v=p;v--;){var A=y[v];if(!(d?A in a:Z3.call(a,A)))return!1}var N=f.get(n),C=f.get(a);if(N&&C)return N==a&&C==n;var x=!0;f.set(n,a),f.set(a,n);for(var z=d;++v<p;){A=y[v];var G=n[A],E=a[A];if(u)var U=d?u(E,G,A,a,n,f):u(G,E,A,n,a,f);if(!(U===void 0?G===E||o(G,E,i,u,f):U)){x=!1;break}z||(z=A=="constructor")}if(x&&!z){var Y=n.constructor,Z=a.constructor;Y!=Z&&"constructor"in n&&"constructor"in a&&!(typeof Y=="function"&&Y instanceof Y&&typeof Z=="function"&&Z instanceof Z)&&(x=!1)}return f.delete(n),f.delete(a),x}var G3=1,T0="[object Arguments]",O0="[object Array]",Bs="[object Object]",Y3=Object.prototype,A0=Y3.hasOwnProperty;function V3(n,a,i,u,o,f){var d=kt(n),y=kt(a),p=d?O0:Qa(n),h=y?O0:Qa(a);p=p==T0?Bs:p,h=h==T0?Bs:h;var b=p==Bs,v=h==Bs,A=p==h;if(A&&Nd(n)){if(!Nd(a))return!1;d=!0,b=!1}if(A&&!b)return f||(f=new oa),d||jb(n)?uv(n,a,i,u,o,f):j3(n,a,p,i,u,o,f);if(!(i&G3)){var N=b&&A0.call(n,"__wrapped__"),C=v&&A0.call(a,"__wrapped__");if(N||C){var x=N?n.value():n,z=C?a.value():a;return f||(f=new oa),o(x,z,i,u,f)}}return A?(f||(f=new oa),H3(n,a,i,u,o,f)):!1}function lh(n,a,i,u,o){return n===a?!0:n==null||a==null||!Ti(n)&&!Ti(a)?n!==n&&a!==a:V3(n,a,i,u,lh,o)}var X3=1,Q3=2;function K3(n,a,i,u){var o=i.length,f=o;if(n==null)return!f;for(n=Object(n);o--;){var d=i[o];if(d[2]?d[1]!==n[d[0]]:!(d[0]in n))return!1}for(;++o<f;){d=i[o];var y=d[0],p=n[y],h=d[1];if(d[2]){if(p===void 0&&!(y in n))return!1}else{var b=new oa,v;if(!(v===void 0?lh(h,p,X3|Q3,u,b):v))return!1}}return!0}function sv(n){return n===n&&!Pa(n)}function F3(n){for(var a=vo(n),i=a.length;i--;){var u=a[i],o=n[u];a[i]=[u,o,sv(o)]}return a}function ov(n,a){return function(i){return i==null?!1:i[n]===a&&(a!==void 0||n in Object(i))}}function J3(n){var a=F3(n);return a.length==1&&a[0][2]?ov(a[0][0],a[0][1]):function(i){return i===n||K3(i,n,a)}}function k3(n,a){return n!=null&&a in Object(n)}function P3(n,a,i){a=rh(a,n);for(var u=-1,o=a.length,f=!1;++u<o;){var d=cu(a[u]);if(!(f=n!=null&&i(n,d)))break;n=n[d]}return f||++u!=o?f:(o=n==null?0:n.length,!!o&&eh(o)&&yo(d,o)&&(kt(n)||th(n)))}function W3(n,a){return n!=null&&P3(n,a,k3)}var I3=1,e4=2;function t4(n,a){return nh(n)&&sv(a)?ov(cu(n),a):function(i){var u=Or(i,n);return u===void 0&&u===a?W3(i,n):lh(a,u,I3|e4)}}function n4(n){return function(a){return a?.[n]}}function a4(n){return function(a){return ih(a,n)}}function r4(n){return nh(n)?n4(cu(n)):a4(n)}function uh(n){return typeof n=="function"?n:n==null?po:typeof n=="object"?kt(n)?t4(n[0],n[1]):J3(n):r4(n)}function i4(n,a,i,u){for(var o=-1,f=n==null?0:n.length;++o<f;){var d=n[o];a(u,d,i(d),n)}return u}function l4(n){return function(a,i,u){for(var o=-1,f=Object(a),d=u(a),y=d.length;y--;){var p=d[++o];if(i(f[p],p,f)===!1)break}return a}}var u4=l4();function s4(n,a){return n&&u4(n,a,vo)}function o4(n,a){return function(i,u){if(i==null)return i;if(!bo(i))return n(i,u);for(var o=i.length,f=-1,d=Object(i);++f<o&&u(d[f],f,d)!==!1;);return i}}var cv=o4(s4);function c4(n,a,i,u){return cv(n,function(o,f,d){a(u,o,i(o),d)}),u}function f4(n,a){return function(i,u){var o=kt(i)?i4:c4,f={};return o(i,n,uh(u),f)}}function d4(n){var a=n==null?0:n.length;return a?n[a-1]:void 0}function R0(n,a,i){var u=n==null?0:n.length;if(!u)return-1;var o=0;return Cb(n,uh(a),o)}function h4(n,a){var i=-1,u=bo(n)?Array(n.length):[];return cv(n,function(o,f,d){u[++i]=a(o,f,d)}),u}function m4(n,a){return kl(a,function(i){return n[i]})}function fu(n){return n==null?[]:m4(n,vo(n))}var fv=lv(function(n,a,i){return n+(i?"-":"")+a.toLowerCase()}),cn=f4(function(n,a,i){zb(n,i,a)});function p4(n,a,i,u){if(!Pa(n))return n;a=rh(a,n);for(var o=-1,f=a.length,d=f-1,y=n;y!=null&&++o<f;){var p=cu(a[o]),h=i;if(p==="__proto__"||p==="constructor"||p==="prototype")return n;if(o!=d){var b=y[p];h=void 0,h===void 0&&(h=Pa(b)?b:yo(a[o+1])?[]:{})}s2(y,p,h),y=y[p]}return n}function y4(n,a){var i=n.length;for(n.sort(a);i--;)n[i]=n[i].value;return n}function g4(n,a){if(n!==a){var i=n!==void 0,u=n===null,o=n===n,f=Oi(n),d=a!==void 0,y=a===null,p=a===a,h=Oi(a);if(!y&&!h&&!f&&n>a||f&&d&&p&&!y&&!h||u&&d&&p||!i&&p||!o)return 1;if(!u&&!f&&!h&&n<a||h&&i&&o&&!u&&!f||y&&i&&o||!d&&o||!p)return-1}return 0}function b4(n,a,i){for(var u=-1,o=n.criteria,f=a.criteria,d=o.length,y=i.length;++u<d;){var p=g4(o[u],f[u]);if(p){if(u>=y)return p;var h=i[u];return p*(h=="desc"?-1:1)}}return n.index-a.index}function v4(n,a,i){a.length?a=kl(a,function(f){return kt(f)?function(d){return ih(d,f.length===1?f[0]:f)}:f}):a=[po];var u=-1;a=kl(a,Ub(uh));var o=h4(n,function(f,d,y){var p=kl(a,function(h){return h(f)});return{criteria:p,index:++u,value:f}});return y4(o,function(f,d){return b4(f,d,i)})}function sh(n,a,i){return n==null?n:p4(n,a,i)}var _4=c2(function(n,a){if(n==null)return[];var i=a.length;return i>1&&i0(n,a[0],a[1])?a=[]:i>2&&i0(a[0],a[1],a[2])&&(a=[a[0]]),v4(n,DE(a),[])}),dv=lv(function(n,a,i){return n+(i?" ":"")+rT(a)});function hv(n,a){for(var i=n.length;i--&&Nb(a,n[i],0)>-1;);return i}function mv(n,a){for(var i=-1,u=n.length;++i<u&&Nb(a,n[i],0)>-1;);return i}function _t(n,a,i){if(n=Cr(n),n&&a===void 0)return Rb(n);if(!n||!(a=ou(a)))return n;var u=Ar(n),o=Ar(a),f=mv(u,o),d=hv(u,o)+1;return So(u,f,d).join("")}function w4(n,a,i){if(n=Cr(n),n&&a===void 0)return n.slice(0,Ab(n)+1);if(!n||!(a=ou(a)))return n;var u=Ar(n),o=hv(u,Ar(a))+1;return So(u,0,o).join("")}var S4=/^\s+/;function oh(n,a,i){if(n=Cr(n),n&&a===void 0)return n.replace(S4,"");if(!n||!(a=ou(a)))return n;var u=Ar(n),o=mv(u,Ar(a));return So(u,o).join("")}function ql(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}function x4(n){return n!=null&&Object.prototype.hasOwnProperty.call(n,"xl")}class Ut{constructor(a,i){ql(this,"xl",void 0),ql(this,"lg",void 0),ql(this,"md",void 0),ql(this,"sm",void 0),ql(this,"xs",void 0),x4(a)?(this.xl=a.xl,this.lg=W(this.xl,a.lg),this.md=W(this.lg,a.md),this.sm=W(this.md,a.sm),this.xs=W(this.sm,a.xs)):(this.xl=W(i,a),this.lg=W(i,a),this.md=W(i,a),this.sm=W(i,a),this.xs=W(i,a))}}var j=function(n){return n.ExtraSmall="xs",n.Small="sm",n.Medium="md",n.Large="lg",n.ExtraLarge="xl",n}({});function E4(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class T4{break(a){return`@media only screen and (max-width: ${this.breakpoints[a]})`}constructor(){E4(this,"breakpoints",{[j.ExtraSmall]:"600px",[j.Small]:"900px",[j.Medium]:"1200px",[j.Large]:"1536px",[j.ExtraLarge]:"Infinity"})}}function da(n,a){const i=a+n,u=i+n,o=u+n,f=o+n;return{[j.ExtraSmall]:a,[j.Small]:i,[j.Medium]:u,[j.Large]:o,[j.ExtraLarge]:f}}function jt(n,a){return{[j.ExtraSmall]:`${n.xs}${a}`,[j.Small]:`${n.sm}${a}`,[j.Medium]:`${n.md}${a}`,[j.Large]:`${n.lg}${a}`,[j.ExtraLarge]:`${n.xl}${a}`}}function O4(n=1,a=2){const i=n+a,u=a+i,o=i+u;return{[j.ExtraSmall]:n,[j.Small]:a,[j.Medium]:i,[j.Large]:u,[j.ExtraLarge]:o}}function du(n,a){const i=a*n,u=i*n,o=u*n,f=o*n;return{[j.ExtraSmall]:a,[j.Small]:i,[j.Medium]:u,[j.Large]:o,[j.ExtraLarge]:f}}var Re=function(n){return n.Default="default",n.Fit="fit",n.Full="full",n}({});function Sn(){return{[Re.Default]:"auto",[Re.Fit]:"fit-content",[Re.Full]:"100%"}}var qn=function(n){return n.None="none",n}({});function Ka(){return{[qn.None]:"0"}}function yi(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class ch{_sizeChart(a,i){const u={...i,...Ka(),...Sn()},o=new ch;return sh(o,a,u),o}gap(a=j.Medium){return this._gaps[a]}thickness(a=j.ExtraSmall){return this._thickness[a]}rounding(a=qn.None){return this._rounding[a]}constructor(){yi(this,"_gaps",{...jt(O4(.5,1),"rem"),...Ka(),[Re.Default]:"auto"}),yi(this,"_thickness",{...jt(da(.0625,.0625),"rem"),...Ka()}),yi(this,"_rounding",{...jt(da(.15,.25),"rem"),...Ka(),[Re.Full]:"50%"}),yi(this,"gapsChart",this._sizeChart.bind(this,"_gaps")),yi(this,"thicknessChart",this._sizeChart.bind(this,"_thickness")),yi(this,"roundingChart",this._sizeChart.bind(this,"_rounding"))}}function A4(n,a,i){return i|a<<8|n<<16}function pv(n){const a=(n&16711680)>>16,i=(n&65280)>>8,u=n&255;return[a,i,u]}function jl(n,a){let i=(n>>16)+a;i=Math.min(i,255),i=Math.max(i,0);let u=(n>>8&255)+a;u=Math.min(u,255),u=Math.max(u,0);let o=(n&255)+a;return o=Math.min(o,255),o=Math.max(o,0),A4(i,u,o)}function M0(n){const[f,d,y]=pv(n),p=[f,d,y].map(h=>(h/=255,h<=.03928?h/12.92:Math.pow((h+.055)/1.055,2.4)));return p[0]*.2126+p[1]*.7152+p[2]*.0722}function C0(n,a){const i=M0(n),u=M0(a),o=Math.max(i,u),f=Math.min(i,u);return(o+.05)/(f+.05)}function xo(n,a,i,u=1){return n=Math.floor(Math.min(255,Math.max(0,n))),a=Math.floor(Math.min(255,Math.max(0,a))),i=Math.floor(Math.min(255,Math.max(0,i))),u=Math.min(1,Math.max(0,u)),`rgba(${n}, ${a}, ${i}, ${u})`}const R4=xo.bind(null,0,0,0,0),jd=xo.bind(null,0,0,0,1),N0=xo.bind(null,255,255,255,1);function z0(n){const[a,i,u]=pv(n);return xo(a,i,u)}function M4(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Pt{get idle(){const{fashion:a}=this;return{get main(){return a.idle.main},get contrast(){return a.idle.contrast},get border(){return W(this.main,a.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(a){const{idle:i}=this;return{get main(){return W(i.main,a?.main)},get contrast(){return W(i.contrast,a?.contrast)},get border(){return W(i.border,a?.border)}}}constructor(a){M4(this,"fashion",void 0),this.fashion=a}}function C4(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class fd{main(a){return this._state.main=a,this}contrast(a){return this._state.contrast=a,this}border(a){return this._state.border=a,this}transparent(){return this._state.main=R4(),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(){C4(this,"_state",void 0),this._state={}}}function N4(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class je{name(a){return this._fashion.name=a,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(a,i=77){const u=o=>{const f=C0(o,16777215),d=C0(o,0);return new fd().main(z0(o)).contrast(f>=d?N0():jd()).border(z0(jl(o,-i))).build()};return this.idle(u(a)).focus(u(jl(a,-i))).hover(u(jl(a,i))).active(u(jl(a,i*1.15))).visited(u(jl(a,-i*1.15)))}idle(a){return this._fashion.idle=Object.assign({},this._fashion.idle,a),this}focus(a){return this._fashion.focus={...a},this}hover(a){return this._fashion.hover={...a},this}active(a){return this._fashion.active={...a},this}visited(a){return this._fashion.visited={...a},this}transparent(){return this.clear().idle(new fd().transparent().build())}inherit(){return this.clear().idle(new fd().inherit().build())}copy(a){return this._fashion=JSON.parse(JSON.stringify(a)),this}build(){return Object.freeze(JSON.parse(JSON.stringify(this._fashion)))}constructor(){N4(this,"_fashion",void 0),this._fashion={idle:{main:N0(),contrast:jd()}}}}function z4(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class yv{name(a){return this._design.name=a,this}primary(a){return this._design.primary=a,this}secondary(a){return this._design.secondary=a,this}success(a){return this._design.success=a,this}warning(a){return this._design.warning=a,this}error(a){return this._design.error=a,this}info(a){return this._design.info=a,this}body(a){return this._design.body=a,this}surface(a){return this._design.surface=a,this}component(a){return this._design.component=a,this}light(a){return this._design.light=a,this}dark(a){return this._design.dark=a,this}opposite(a){return this._design.opposite=a,this}copy(a){return this._design=JSON.parse(JSON.stringify(a)),this}build(){return Object.freeze(JSON.parse(JSON.stringify(this._design)))}constructor(){z4(this,"_design",void 0),this._design={name:"Light",primary:new je().name("Primary").spectrum(1668818).build(),secondary:new je().name("Secondary").spectrum(10233776).build(),success:new je().name("Success").spectrum(3046706).build(),warning:new je().name("Warning").spectrum(16752194).build(),error:new je().name("Error").spectrum(13840175).build(),info:new je().name("Info").spectrum(11920895).build(),body:new je().name("Body").spectrum(15658734).build(),surface:new je().name("Surface").spectrum(16448250).build(),component:new je().name("Component").spectrum(14606046).build(),light:new je().name("Light").spectrum(16448250).build(),dark:new je().name("Dark").spectrum(2171169).build(),opposite:new je().name("Opposite").spectrum(2171169).build(),transparent:new je().name("Transparent").transparent().build(),inherit:new je().name("Inherit").inherit().build()}}}function $4(){return new je().name("Primary").spectrum(9489145).build()}function D4(){return new je().name("Secondary").spectrum(13538264).build()}function U4(){return new je().name("Success").spectrum(6732650).build()}function q4(){return new je().name("Warning").spectrum(16754470).build()}function j4(){return new je().name("Error").spectrum(11797248).build()}function B4(){return new je().name("Info").spectrum(2733814).build()}function L4(){return new je().name("Dark").spectrum(2171169).build()}function gv(){return new je().name("Light").spectrum(16448250).build()}function Z4(){return new je().name("Body").spectrum(2171169).build()}function H4(){return new je().name("Surface").spectrum(3355443).build()}function G4(){return new je().name("Component").spectrum(5921370).build()}function Y4(){return new je().copy(gv()).name("Opposite").build()}function V4(){return new yv().name("Dark").primary($4()).secondary(D4()).success(U4()).warning(q4()).error(j4()).info(B4()).dark(L4()).light(gv()).opposite(Y4()).body(Z4()).surface(H4()).component(G4()).build()}var dd={exports:{}};function X4(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var bv={exports:{}},rt=bv.exports={},zn,$n;function Bd(){throw new Error("setTimeout has not been defined")}function Ld(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?zn=setTimeout:zn=Bd}catch{zn=Bd}try{typeof clearTimeout=="function"?$n=clearTimeout:$n=Ld}catch{$n=Ld}})();function vv(n){if(zn===setTimeout)return setTimeout(n,0);if((zn===Bd||!zn)&&setTimeout)return zn=setTimeout,setTimeout(n,0);try{return zn(n,0)}catch{try{return zn.call(null,n,0)}catch{return zn.call(this,n,0)}}}function Q4(n){if($n===clearTimeout)return clearTimeout(n);if(($n===Ld||!$n)&&clearTimeout)return $n=clearTimeout,clearTimeout(n);try{return $n(n)}catch{try{return $n.call(null,n)}catch{return $n.call(this,n)}}}var la=[],_i=!1,_r,Fs=-1;function K4(){!_i||!_r||(_i=!1,_r.length?la=_r.concat(la):Fs=-1,la.length&&_v())}function _v(){if(!_i){var n=vv(K4);_i=!0;for(var a=la.length;a;){for(_r=la,la=[];++Fs<a;)_r&&_r[Fs].run();Fs=-1,a=la.length}_r=null,_i=!1,Q4(n)}}rt.nextTick=function(n){var a=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)a[i-1]=arguments[i];la.push(new wv(n,a)),la.length===1&&!_i&&vv(_v)};function wv(n,a){this.fun=n,this.array=a}wv.prototype.run=function(){this.fun.apply(null,this.array)};rt.title="browser";rt.browser=!0;rt.env={};rt.argv=[];rt.version="";rt.versions={};function ga(){}rt.on=ga;rt.addListener=ga;rt.once=ga;rt.off=ga;rt.removeListener=ga;rt.removeAllListeners=ga;rt.emit=ga;rt.prependListener=ga;rt.prependOnceListener=ga;rt.listeners=function(n){return[]};rt.binding=function(n){throw new Error("process.binding is not supported")};rt.cwd=function(){return"/"};rt.chdir=function(n){throw new Error("process.chdir is not supported")};rt.umask=function(){return 0};var F4=bv.exports;const wi=X4(F4);var fe={},$0;function J4(){if($0)return fe;$0=1;var n=Symbol.for("react.transitional.element"),a=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),d=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),v=Symbol.for("react.activity"),A=Symbol.iterator;function N(O){return O===null||typeof O!="object"?null:(O=A&&O[A]||O["@@iterator"],typeof O=="function"?O:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,z={};function G(O,Q,ee){this.props=O,this.context=Q,this.refs=z,this.updater=ee||C}G.prototype.isReactComponent={},G.prototype.setState=function(O,Q){if(typeof O!="object"&&typeof O!="function"&&O!=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,O,Q,"setState")},G.prototype.forceUpdate=function(O){this.updater.enqueueForceUpdate(this,O,"forceUpdate")};function E(){}E.prototype=G.prototype;function U(O,Q,ee){this.props=O,this.context=Q,this.refs=z,this.updater=ee||C}var Y=U.prototype=new E;Y.constructor=U,x(Y,G.prototype),Y.isPureReactComponent=!0;var Z=Array.isArray;function J(){}var B={H:null,A:null,T:null,S:null},ue=Object.prototype.hasOwnProperty;function te(O,Q,ee){var P=ee.ref;return{$$typeof:n,type:O,key:Q,ref:P!==void 0?P:null,props:ee}}function ze(O,Q){return te(O.type,Q,O.props)}function We(O){return typeof O=="object"&&O!==null&&O.$$typeof===n}function Me(O){var Q={"=":"=0",":":"=2"};return"$"+O.replace(/[=:]/g,function(ee){return Q[ee]})}var ae=/\/+/g;function mt(O,Q){return typeof O=="object"&&O!==null&&O.key!=null?Me(""+O.key):Q.toString(36)}function L(O){switch(O.status){case"fulfilled":return O.value;case"rejected":throw O.reason;default:switch(typeof O.status=="string"?O.then(J,J):(O.status="pending",O.then(function(Q){O.status==="pending"&&(O.status="fulfilled",O.value=Q)},function(Q){O.status==="pending"&&(O.status="rejected",O.reason=Q)})),O.status){case"fulfilled":return O.value;case"rejected":throw O.reason}}throw O}function S(O,Q,ee,P,ce){var pe=typeof O;(pe==="undefined"||pe==="boolean")&&(O=null);var Ae=!1;if(O===null)Ae=!0;else switch(pe){case"bigint":case"string":case"number":Ae=!0;break;case"object":switch(O.$$typeof){case n:case a:Ae=!0;break;case b:return Ae=O._init,S(Ae(O._payload),Q,ee,P,ce)}}if(Ae)return ce=ce(O),Ae=P===""?"."+mt(O,0):P,Z(ce)?(ee="",Ae!=null&&(ee=Ae.replace(ae,"$&/")+"/"),S(ce,Q,ee,"",function(Zi){return Zi})):ce!=null&&(We(ce)&&(ce=ze(ce,ee+(ce.key==null||O&&O.key===ce.key?"":(""+ce.key).replace(ae,"$&/")+"/")+Ae)),Q.push(ce)),1;Ae=0;var Ot=P===""?".":P+":";if(Z(O))for(var Ie=0;Ie<O.length;Ie++)P=O[Ie],pe=Ot+mt(P,Ie),Ae+=S(P,Q,ee,pe,ce);else if(Ie=N(O),typeof Ie=="function")for(O=Ie.call(O),Ie=0;!(P=O.next()).done;)P=P.value,pe=Ot+mt(P,Ie++),Ae+=S(P,Q,ee,pe,ce);else if(pe==="object"){if(typeof O.then=="function")return S(L(O),Q,ee,P,ce);throw Q=String(O),Error("Objects are not valid as a React child (found: "+(Q==="[object Object]"?"object with keys {"+Object.keys(O).join(", ")+"}":Q)+"). If you meant to render a collection of children, use an array instead.")}return Ae}function F(O,Q,ee){if(O==null)return O;var P=[],ce=0;return S(O,P,"","",function(pe){return Q.call(ee,pe,ce++)}),P}function I(O){if(O._status===-1){var Q=O._result;Q=Q(),Q.then(function(ee){(O._status===0||O._status===-1)&&(O._status=1,O._result=ee)},function(ee){(O._status===0||O._status===-1)&&(O._status=2,O._result=ee)}),O._status===-1&&(O._status=0,O._result=Q)}if(O._status===1)return O._result.default;throw O._result}var se=typeof reportError=="function"?reportError:function(O){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var Q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof O=="object"&&O!==null&&typeof O.message=="string"?String(O.message):String(O),error:O});if(!window.dispatchEvent(Q))return}else if(typeof wi=="object"&&typeof wi.emit=="function"){wi.emit("uncaughtException",O);return}console.error(O)},re={map:F,forEach:function(O,Q,ee){F(O,function(){Q.apply(this,arguments)},ee)},count:function(O){var Q=0;return F(O,function(){Q++}),Q},toArray:function(O){return F(O,function(Q){return Q})||[]},only:function(O){if(!We(O))throw Error("React.Children.only expected to receive a single React element child.");return O}};return fe.Activity=v,fe.Children=re,fe.Component=G,fe.Fragment=i,fe.Profiler=o,fe.PureComponent=U,fe.StrictMode=u,fe.Suspense=p,fe.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=B,fe.__COMPILER_RUNTIME={__proto__:null,c:function(O){return B.H.useMemoCache(O)}},fe.cache=function(O){return function(){return O.apply(null,arguments)}},fe.cacheSignal=function(){return null},fe.cloneElement=function(O,Q,ee){if(O==null)throw Error("The argument must be a React element, but you passed "+O+".");var P=x({},O.props),ce=O.key;if(Q!=null)for(pe in Q.key!==void 0&&(ce=""+Q.key),Q)!ue.call(Q,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&Q.ref===void 0||(P[pe]=Q[pe]);var pe=arguments.length-2;if(pe===1)P.children=ee;else if(1<pe){for(var Ae=Array(pe),Ot=0;Ot<pe;Ot++)Ae[Ot]=arguments[Ot+2];P.children=Ae}return te(O.type,ce,P)},fe.createContext=function(O){return O={$$typeof:d,_currentValue:O,_currentValue2:O,_threadCount:0,Provider:null,Consumer:null},O.Provider=O,O.Consumer={$$typeof:f,_context:O},O},fe.createElement=function(O,Q,ee){var P,ce={},pe=null;if(Q!=null)for(P in Q.key!==void 0&&(pe=""+Q.key),Q)ue.call(Q,P)&&P!=="key"&&P!=="__self"&&P!=="__source"&&(ce[P]=Q[P]);var Ae=arguments.length-2;if(Ae===1)ce.children=ee;else if(1<Ae){for(var Ot=Array(Ae),Ie=0;Ie<Ae;Ie++)Ot[Ie]=arguments[Ie+2];ce.children=Ot}if(O&&O.defaultProps)for(P in Ae=O.defaultProps,Ae)ce[P]===void 0&&(ce[P]=Ae[P]);return te(O,pe,ce)},fe.createRef=function(){return{current:null}},fe.forwardRef=function(O){return{$$typeof:y,render:O}},fe.isValidElement=We,fe.lazy=function(O){return{$$typeof:b,_payload:{_status:-1,_result:O},_init:I}},fe.memo=function(O,Q){return{$$typeof:h,type:O,compare:Q===void 0?null:Q}},fe.startTransition=function(O){var Q=B.T,ee={};B.T=ee;try{var P=O(),ce=B.S;ce!==null&&ce(ee,P),typeof P=="object"&&P!==null&&typeof P.then=="function"&&P.then(J,se)}catch(pe){se(pe)}finally{Q!==null&&ee.types!==null&&(Q.types=ee.types),B.T=Q}},fe.unstable_useCacheRefresh=function(){return B.H.useCacheRefresh()},fe.use=function(O){return B.H.use(O)},fe.useActionState=function(O,Q,ee){return B.H.useActionState(O,Q,ee)},fe.useCallback=function(O,Q){return B.H.useCallback(O,Q)},fe.useContext=function(O){return B.H.useContext(O)},fe.useDebugValue=function(){},fe.useDeferredValue=function(O,Q){return B.H.useDeferredValue(O,Q)},fe.useEffect=function(O,Q){return B.H.useEffect(O,Q)},fe.useEffectEvent=function(O){return B.H.useEffectEvent(O)},fe.useId=function(){return B.H.useId()},fe.useImperativeHandle=function(O,Q,ee){return B.H.useImperativeHandle(O,Q,ee)},fe.useInsertionEffect=function(O,Q){return B.H.useInsertionEffect(O,Q)},fe.useLayoutEffect=function(O,Q){return B.H.useLayoutEffect(O,Q)},fe.useMemo=function(O,Q){return B.H.useMemo(O,Q)},fe.useOptimistic=function(O,Q){return B.H.useOptimistic(O,Q)},fe.useReducer=function(O,Q,ee){return B.H.useReducer(O,Q,ee)},fe.useRef=function(O){return B.H.useRef(O)},fe.useState=function(O){return B.H.useState(O)},fe.useSyncExternalStore=function(O,Q,ee){return B.H.useSyncExternalStore(O,Q,ee)},fe.useTransition=function(){return B.H.useTransition()},fe.version="19.2.0",fe}var D0;function fh(){return D0||(D0=1,dd.exports=J4()),dd.exports}var R=fh();const k4=Wd(R);function P4(n){if(n.sheet)return n.sheet;for(var a=0;a<document.styleSheets.length;a++)if(document.styleSheets[a].ownerNode===n)return document.styleSheets[a]}function W4(n){var a=document.createElement("style");return a.setAttribute("data-emotion",n.key),n.nonce!==void 0&&a.setAttribute("nonce",n.nonce),a.appendChild(document.createTextNode("")),a.setAttribute("data-s",""),a}var Sv=function(){function n(i){var u=this;this._insertTag=function(o){var f;u.tags.length===0?u.insertionPoint?f=u.insertionPoint.nextSibling:u.prepend?f=u.container.firstChild:f=u.before:f=u.tags[u.tags.length-1].nextSibling,u.container.insertBefore(o,f),u.tags.push(o)},this.isSpeedy=i.speedy===void 0?!0:i.speedy,this.tags=[],this.ctr=0,this.nonce=i.nonce,this.key=i.key,this.container=i.container,this.prepend=i.prepend,this.insertionPoint=i.insertionPoint,this.before=null}var a=n.prototype;return a.hydrate=function(u){u.forEach(this._insertTag)},a.insert=function(u){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(W4(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var f=P4(o);try{f.insertRule(u,f.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(u));this.ctr++},a.flush=function(){this.tags.forEach(function(u){var o;return(o=u.parentNode)==null?void 0:o.removeChild(u)}),this.tags=[],this.ctr=0},n}(),Et="-ms-",co="-moz-",Te="-webkit-",xv="comm",dh="rule",hh="decl",I4="@import",Ev="@keyframes",eO="@layer",tO=Math.abs,Eo=String.fromCharCode,nO=Object.assign;function aO(n,a){return wt(n,0)^45?(((a<<2^wt(n,0))<<2^wt(n,1))<<2^wt(n,2))<<2^wt(n,3):0}function Tv(n){return n.trim()}function rO(n,a){return(n=a.exec(n))?n[0]:n}function Oe(n,a,i){return n.replace(a,i)}function Zd(n,a){return n.indexOf(a)}function wt(n,a){return n.charCodeAt(a)|0}function tu(n,a,i){return n.slice(a,i)}function Un(n){return n.length}function mh(n){return n.length}function Ls(n,a){return a.push(n),n}function iO(n,a){return n.map(a).join("")}var To=1,Ai=1,Ov=0,Bt=0,ot=0,$i="";function Oo(n,a,i,u,o,f,d){return{value:n,root:a,parent:i,type:u,props:o,children:f,line:To,column:Ai,length:d,return:""}}function Bl(n,a){return nO(Oo("",null,null,"",null,null,0),n,{length:-n.length},a)}function lO(){return ot}function uO(){return ot=Bt>0?wt($i,--Bt):0,Ai--,ot===10&&(Ai=1,To--),ot}function Jt(){return ot=Bt<Ov?wt($i,Bt++):0,Ai++,ot===10&&(Ai=1,To++),ot}function jn(){return wt($i,Bt)}function Js(){return Bt}function hu(n,a){return tu($i,n,a)}function nu(n){switch(n){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 Av(n){return To=Ai=1,Ov=Un($i=n),Bt=0,[]}function Rv(n){return $i="",n}function ks(n){return Tv(hu(Bt-1,Hd(n===91?n+2:n===40?n+1:n)))}function sO(n){for(;(ot=jn())&&ot<33;)Jt();return nu(n)>2||nu(ot)>3?"":" "}function oO(n,a){for(;--a&&Jt()&&!(ot<48||ot>102||ot>57&&ot<65||ot>70&&ot<97););return hu(n,Js()+(a<6&&jn()==32&&Jt()==32))}function Hd(n){for(;Jt();)switch(ot){case n:return Bt;case 34:case 39:n!==34&&n!==39&&Hd(ot);break;case 40:n===41&&Hd(n);break;case 92:Jt();break}return Bt}function cO(n,a){for(;Jt()&&n+ot!==57;)if(n+ot===84&&jn()===47)break;return"/*"+hu(a,Bt-1)+"*"+Eo(n===47?n:Jt())}function fO(n){for(;!nu(jn());)Jt();return hu(n,Bt)}function dO(n){return Rv(Ps("",null,null,null,[""],n=Av(n),0,[0],n))}function Ps(n,a,i,u,o,f,d,y,p){for(var h=0,b=0,v=d,A=0,N=0,C=0,x=1,z=1,G=1,E=0,U="",Y=o,Z=f,J=u,B=U;z;)switch(C=E,E=Jt()){case 40:if(C!=108&&wt(B,v-1)==58){Zd(B+=Oe(ks(E),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:B+=ks(E);break;case 9:case 10:case 13:case 32:B+=sO(C);break;case 92:B+=oO(Js()-1,7);continue;case 47:switch(jn()){case 42:case 47:Ls(hO(cO(Jt(),Js()),a,i),p);break;default:B+="/"}break;case 123*x:y[h++]=Un(B)*G;case 125*x:case 59:case 0:switch(E){case 0:case 125:z=0;case 59+b:G==-1&&(B=Oe(B,/\f/g,"")),N>0&&Un(B)-v&&Ls(N>32?q0(B+";",u,i,v-1):q0(Oe(B," ","")+";",u,i,v-2),p);break;case 59:B+=";";default:if(Ls(J=U0(B,a,i,h,b,o,y,U,Y=[],Z=[],v),f),E===123)if(b===0)Ps(B,a,J,J,Y,f,v,y,Z);else switch(A===99&&wt(B,3)===110?100:A){case 100:case 108:case 109:case 115:Ps(n,J,J,u&&Ls(U0(n,J,J,0,0,o,y,U,o,Y=[],v),Z),o,Z,v,y,u?Y:Z);break;default:Ps(B,J,J,J,[""],Z,0,y,Z)}}h=b=N=0,x=G=1,U=B="",v=d;break;case 58:v=1+Un(B),N=C;default:if(x<1){if(E==123)--x;else if(E==125&&x++==0&&uO()==125)continue}switch(B+=Eo(E),E*x){case 38:G=b>0?1:(B+="\f",-1);break;case 44:y[h++]=(Un(B)-1)*G,G=1;break;case 64:jn()===45&&(B+=ks(Jt())),A=jn(),b=v=Un(U=B+=fO(Js())),E++;break;case 45:C===45&&Un(B)==2&&(x=0)}}return f}function U0(n,a,i,u,o,f,d,y,p,h,b){for(var v=o-1,A=o===0?f:[""],N=mh(A),C=0,x=0,z=0;C<u;++C)for(var G=0,E=tu(n,v+1,v=tO(x=d[C])),U=n;G<N;++G)(U=Tv(x>0?A[G]+" "+E:Oe(E,/&\f/g,A[G])))&&(p[z++]=U);return Oo(n,a,i,o===0?dh:y,p,h,b)}function hO(n,a,i){return Oo(n,a,i,xv,Eo(lO()),tu(n,2,-2),0)}function q0(n,a,i,u){return Oo(n,a,i,hh,tu(n,0,u),tu(n,u+1,-1),u)}function Si(n,a){for(var i="",u=mh(n),o=0;o<u;o++)i+=a(n[o],o,n,a)||"";return i}function mO(n,a,i,u){switch(n.type){case eO:if(n.children.length)break;case I4:case hh:return n.return=n.return||n.value;case xv:return"";case Ev:return n.return=n.value+"{"+Si(n.children,u)+"}";case dh:n.value=n.props.join(",")}return Un(i=Si(n.children,u))?n.return=n.value+"{"+i+"}":""}function pO(n){var a=mh(n);return function(i,u,o,f){for(var d="",y=0;y<a;y++)d+=n[y](i,u,o,f)||"";return d}}function yO(n){return function(a){a.root||(a=a.return)&&n(a)}}function gO(n){var a=Object.create(null);return function(i){return a[i]===void 0&&(a[i]=n(i)),a[i]}}var bO=function(a,i,u){for(var o=0,f=0;o=f,f=jn(),o===38&&f===12&&(i[u]=1),!nu(f);)Jt();return hu(a,Bt)},vO=function(a,i){var u=-1,o=44;do switch(nu(o)){case 0:o===38&&jn()===12&&(i[u]=1),a[u]+=bO(Bt-1,i,u);break;case 2:a[u]+=ks(o);break;case 4:if(o===44){a[++u]=jn()===58?"&\f":"",i[u]=a[u].length;break}default:a[u]+=Eo(o)}while(o=Jt());return a},_O=function(a,i){return Rv(vO(Av(a),i))},j0=new WeakMap,wO=function(a){if(!(a.type!=="rule"||!a.parent||a.length<1)){for(var i=a.value,u=a.parent,o=a.column===u.column&&a.line===u.line;u.type!=="rule";)if(u=u.parent,!u)return;if(!(a.props.length===1&&i.charCodeAt(0)!==58&&!j0.get(u))&&!o){j0.set(a,!0);for(var f=[],d=_O(i,f),y=u.props,p=0,h=0;p<d.length;p++)for(var b=0;b<y.length;b++,h++)a.props[h]=f[p]?d[p].replace(/&\f/g,y[b]):y[b]+" "+d[p]}}},SO=function(a){if(a.type==="decl"){var i=a.value;i.charCodeAt(0)===108&&i.charCodeAt(2)===98&&(a.return="",a.value="")}};function Mv(n,a){switch(aO(n,a)){case 5103:return Te+"print-"+n+n;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 Te+n+n;case 5349:case 4246:case 4810:case 6968:case 2756:return Te+n+co+n+Et+n+n;case 6828:case 4268:return Te+n+Et+n+n;case 6165:return Te+n+Et+"flex-"+n+n;case 5187:return Te+n+Oe(n,/(\w+).+(:[^]+)/,Te+"box-$1$2"+Et+"flex-$1$2")+n;case 5443:return Te+n+Et+"flex-item-"+Oe(n,/flex-|-self/,"")+n;case 4675:return Te+n+Et+"flex-line-pack"+Oe(n,/align-content|flex-|-self/,"")+n;case 5548:return Te+n+Et+Oe(n,"shrink","negative")+n;case 5292:return Te+n+Et+Oe(n,"basis","preferred-size")+n;case 6060:return Te+"box-"+Oe(n,"-grow","")+Te+n+Et+Oe(n,"grow","positive")+n;case 4554:return Te+Oe(n,/([^-])(transform)/g,"$1"+Te+"$2")+n;case 6187:return Oe(Oe(Oe(n,/(zoom-|grab)/,Te+"$1"),/(image-set)/,Te+"$1"),n,"")+n;case 5495:case 3959:return Oe(n,/(image-set\([^]*)/,Te+"$1$`$1");case 4968:return Oe(Oe(n,/(.+:)(flex-)?(.*)/,Te+"box-pack:$3"+Et+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Te+n+n;case 4095:case 3583:case 4068:case 2532:return Oe(n,/(.+)-inline(.+)/,Te+"$1$2")+n;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(Un(n)-1-a>6)switch(wt(n,a+1)){case 109:if(wt(n,a+4)!==45)break;case 102:return Oe(n,/(.+:)(.+)-([^]+)/,"$1"+Te+"$2-$3$1"+co+(wt(n,a+3)==108?"$3":"$2-$3"))+n;case 115:return~Zd(n,"stretch")?Mv(Oe(n,"stretch","fill-available"),a)+n:n}break;case 4949:if(wt(n,a+1)!==115)break;case 6444:switch(wt(n,Un(n)-3-(~Zd(n,"!important")&&10))){case 107:return Oe(n,":",":"+Te)+n;case 101:return Oe(n,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Te+(wt(n,14)===45?"inline-":"")+"box$3$1"+Te+"$2$3$1"+Et+"$2box$3")+n}break;case 5936:switch(wt(n,a+11)){case 114:return Te+n+Et+Oe(n,/[svh]\w+-[tblr]{2}/,"tb")+n;case 108:return Te+n+Et+Oe(n,/[svh]\w+-[tblr]{2}/,"tb-rl")+n;case 45:return Te+n+Et+Oe(n,/[svh]\w+-[tblr]{2}/,"lr")+n}return Te+n+Et+n+n}return n}var xO=function(a,i,u,o){if(a.length>-1&&!a.return)switch(a.type){case hh:a.return=Mv(a.value,a.length);break;case Ev:return Si([Bl(a,{value:Oe(a.value,"@","@"+Te)})],o);case dh:if(a.length)return iO(a.props,function(f){switch(rO(f,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Si([Bl(a,{props:[Oe(f,/:(read-\w+)/,":"+co+"$1")]})],o);case"::placeholder":return Si([Bl(a,{props:[Oe(f,/:(plac\w+)/,":"+Te+"input-$1")]}),Bl(a,{props:[Oe(f,/:(plac\w+)/,":"+co+"$1")]}),Bl(a,{props:[Oe(f,/:(plac\w+)/,Et+"input-$1")]})],o)}return""})}},EO=[xO],TO=function(a){var i=a.key;if(i==="css"){var u=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(u,function(x){var z=x.getAttribute("data-emotion");z.indexOf(" ")!==-1&&(document.head.appendChild(x),x.setAttribute("data-s",""))})}var o=a.stylisPlugins||EO,f={},d,y=[];d=a.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+i+' "]'),function(x){for(var z=x.getAttribute("data-emotion").split(" "),G=1;G<z.length;G++)f[z[G]]=!0;y.push(x)});var p,h=[wO,SO];{var b,v=[mO,yO(function(x){b.insert(x)})],A=pO(h.concat(o,v)),N=function(z){return Si(dO(z),A)};p=function(z,G,E,U){b=E,N(z?z+"{"+G.styles+"}":G.styles),U&&(C.inserted[G.name]=!0)}}var C={key:i,sheet:new Sv({key:i,container:d,nonce:a.nonce,speedy:a.speedy,prepend:a.prepend,insertionPoint:a.insertionPoint}),nonce:a.nonce,inserted:f,registered:{},insert:p};return C.sheet.hydrate(y),C};function OO(n){for(var a=0,i,u=0,o=n.length;o>=4;++u,o-=4)i=n.charCodeAt(u)&255|(n.charCodeAt(++u)&255)<<8|(n.charCodeAt(++u)&255)<<16|(n.charCodeAt(++u)&255)<<24,i=(i&65535)*1540483477+((i>>>16)*59797<<16),i^=i>>>24,a=(i&65535)*1540483477+((i>>>16)*59797<<16)^(a&65535)*1540483477+((a>>>16)*59797<<16);switch(o){case 3:a^=(n.charCodeAt(u+2)&255)<<16;case 2:a^=(n.charCodeAt(u+1)&255)<<8;case 1:a^=n.charCodeAt(u)&255,a=(a&65535)*1540483477+((a>>>16)*59797<<16)}return a^=a>>>13,a=(a&65535)*1540483477+((a>>>16)*59797<<16),((a^a>>>15)>>>0).toString(36)}var AO={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},RO=/[A-Z]|^ms/g,MO=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Cv=function(a){return a.charCodeAt(1)===45},B0=function(a){return a!=null&&typeof a!="boolean"},hd=gO(function(n){return Cv(n)?n:n.replace(RO,"-$&").toLowerCase()}),L0=function(a,i){switch(a){case"animation":case"animationName":if(typeof i=="string")return i.replace(MO,function(u,o,f){return Fa={name:o,styles:f,next:Fa},o})}return AO[a]!==1&&!Cv(a)&&typeof i=="number"&&i!==0?i+"px":i};function fo(n,a,i){if(i==null)return"";var u=i;if(u.__emotion_styles!==void 0)return u;switch(typeof i){case"boolean":return"";case"object":{var o=i;if(o.anim===1)return Fa={name:o.name,styles:o.styles,next:Fa},o.name;var f=i;if(f.styles!==void 0){var d=f.next;if(d!==void 0)for(;d!==void 0;)Fa={name:d.name,styles:d.styles,next:Fa},d=d.next;var y=f.styles+";";return y}return CO(n,a,i)}}var p=i;if(a==null)return p;var h=a[p];return h!==void 0?h:p}function CO(n,a,i){var u="";if(Array.isArray(i))for(var o=0;o<i.length;o++)u+=fo(n,a,i[o])+";";else for(var f in i){var d=i[f];if(typeof d!="object"){var y=d;a!=null&&a[y]!==void 0?u+=f+"{"+a[y]+"}":B0(y)&&(u+=hd(f)+":"+L0(f,y)+";")}else if(Array.isArray(d)&&typeof d[0]=="string"&&(a==null||a[d[0]]===void 0))for(var p=0;p<d.length;p++)B0(d[p])&&(u+=hd(f)+":"+L0(f,d[p])+";");else{var h=fo(n,a,d);switch(f){case"animation":case"animationName":{u+=hd(f)+":"+h+";";break}default:u+=f+"{"+h+"}"}}}return u}var Z0=/label:\s*([^\s;{]+)\s*(;|$)/g,Fa;function Ws(n,a,i){if(n.length===1&&typeof n[0]=="object"&&n[0]!==null&&n[0].styles!==void 0)return n[0];var u=!0,o="";Fa=void 0;var f=n[0];if(f==null||f.raw===void 0)u=!1,o+=fo(i,a,f);else{var d=f;o+=d[0]}for(var y=1;y<n.length;y++)if(o+=fo(i,a,n[y]),u){var p=f;o+=p[y]}Z0.lastIndex=0;for(var h="",b;(b=Z0.exec(o))!==null;)h+="-"+b[1];var v=OO(o)+h;return{name:v,styles:o,next:Fa}}function Nv(n,a,i){var u="";return i.split(" ").forEach(function(o){n[o]!==void 0?a.push(n[o]+";"):o&&(u+=o+" ")}),u}var NO=function(a,i,u){var o=a.key+"-"+i.name;a.registered[o]===void 0&&(a.registered[o]=i.styles)},zO=function(a,i,u){NO(a,i);var o=a.key+"-"+i.name;if(a.inserted[i.name]===void 0){var f=i;do a.insert(i===f?"."+o:"",f,a.sheet,!0),f=f.next;while(f!==void 0)}};function H0(n,a){if(n.inserted[a.name]===void 0)return n.insert("",a,n.sheet,!0)}function G0(n,a,i){var u=[],o=Nv(n,u,i);return u.length<2?i:o+a(u)}var $O=function(a){var i=TO(a);i.sheet.speedy=function(y){this.isSpeedy=y},i.compat=!0;var u=function(){for(var p=arguments.length,h=new Array(p),b=0;b<p;b++)h[b]=arguments[b];var v=Ws(h,i.registered,void 0);return zO(i,v),i.key+"-"+v.name},o=function(){for(var p=arguments.length,h=new Array(p),b=0;b<p;b++)h[b]=arguments[b];var v=Ws(h,i.registered),A="animation-"+v.name;return H0(i,{name:v.name,styles:"@keyframes "+A+"{"+v.styles+"}"}),A},f=function(){for(var p=arguments.length,h=new Array(p),b=0;b<p;b++)h[b]=arguments[b];var v=Ws(h,i.registered);H0(i,v)},d=function(){for(var p=arguments.length,h=new Array(p),b=0;b<p;b++)h[b]=arguments[b];return G0(i.registered,u,DO(h))};return{css:u,cx:d,injectGlobal:f,keyframes:o,hydrate:function(p){p.forEach(function(h){i.inserted[h]=!0})},flush:function(){i.registered={},i.inserted={},i.sheet.flush()},sheet:i.sheet,cache:i,getRegisteredStyles:Nv.bind(null,i.registered),merge:G0.bind(null,i.registered,u)}},DO=function n(a){for(var i="",u=0;u<a.length;u++){var o=a[u];if(o!=null){var f=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))f=n(o);else{f="";for(var d in o)o[d]&&d&&(f&&(f+=" "),f+=d)}break}default:f=o}f&&(i&&(i+=" "),i+=f)}}return i},zv=$O({key:"css"}),UO=zv.keyframes,qO=zv.css,Gd=function(n,a){return Gd=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,u){i.__proto__=u}||function(i,u){for(var o in u)Object.prototype.hasOwnProperty.call(u,o)&&(i[o]=u[o])},Gd(n,a)};function ph(n,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");Gd(n,a);function i(){this.constructor=n}n.prototype=a===null?Object.create(a):(i.prototype=a.prototype,new i)}function jO(n,a,i,u){function o(f){return f instanceof i?f:new i(function(d){d(f)})}return new(i||(i=Promise))(function(f,d){function y(b){try{h(u.next(b))}catch(v){d(v)}}function p(b){try{h(u.throw(b))}catch(v){d(v)}}function h(b){b.done?f(b.value):o(b.value).then(y,p)}h((u=u.apply(n,a||[])).next())})}function $v(n,a){var i={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},u,o,f,d=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return d.next=y(0),d.throw=y(1),d.return=y(2),typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function y(h){return function(b){return p([h,b])}}function p(h){if(u)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(i=0)),i;)try{if(u=1,o&&(f=h[0]&2?o.return:h[0]?o.throw||((f=o.return)&&f.call(o),0):o.next)&&!(f=f.call(o,h[1])).done)return f;switch(o=0,f&&(h=[h[0]&2,f.value]),h[0]){case 0:case 1:f=h;break;case 4:return i.label++,{value:h[1],done:!1};case 5:i.label++,o=h[1],h=[0];continue;case 7:h=i.ops.pop(),i.trys.pop();continue;default:if(f=i.trys,!(f=f.length>0&&f[f.length-1])&&(h[0]===6||h[0]===2)){i=0;continue}if(h[0]===3&&(!f||h[1]>f[0]&&h[1]<f[3])){i.label=h[1];break}if(h[0]===6&&i.label<f[1]){i.label=f[1],f=h;break}if(f&&i.label<f[2]){i.label=f[2],i.ops.push(h);break}f[2]&&i.ops.pop(),i.trys.pop();continue}h=a.call(n,i)}catch(b){h=[6,b],o=0}finally{u=f=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}}function au(n){var a=typeof Symbol=="function"&&Symbol.iterator,i=a&&n[a],u=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&u>=n.length&&(n=void 0),{value:n&&n[u++],done:!n}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")}function Yd(n,a){var i=typeof Symbol=="function"&&n[Symbol.iterator];if(!i)return n;var u=i.call(n),o,f=[],d;try{for(;(a===void 0||a-- >0)&&!(o=u.next()).done;)f.push(o.value)}catch(y){d={error:y}}finally{try{o&&!o.done&&(i=u.return)&&i.call(u)}finally{if(d)throw d.error}}return f}function Vd(n,a,i){if(i||arguments.length===2)for(var u=0,o=a.length,f;u<o;u++)(f||!(u in a))&&(f||(f=Array.prototype.slice.call(a,0,u)),f[u]=a[u]);return n.concat(f||Array.prototype.slice.call(a))}function xi(n){return this instanceof xi?(this.v=n,this):new xi(n)}function BO(n,a,i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var u=i.apply(n,a||[]),o,f=[];return o=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),y("next"),y("throw"),y("return",d),o[Symbol.asyncIterator]=function(){return this},o;function d(N){return function(C){return Promise.resolve(C).then(N,v)}}function y(N,C){u[N]&&(o[N]=function(x){return new Promise(function(z,G){f.push([N,x,z,G])>1||p(N,x)})},C&&(o[N]=C(o[N])))}function p(N,C){try{h(u[N](C))}catch(x){A(f[0][3],x)}}function h(N){N.value instanceof xi?Promise.resolve(N.value.v).then(b,v):A(f[0][2],N)}function b(N){p("next",N)}function v(N){p("throw",N)}function A(N,C){N(C),f.shift(),f.length&&p(f[0][0],f[0][1])}}function LO(n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=n[Symbol.asyncIterator],i;return a?a.call(n):(n=typeof au=="function"?au(n):n[Symbol.iterator](),i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i);function u(f){i[f]=n[f]&&function(d){return new Promise(function(y,p){d=n[f](d),o(y,p,d.done,d.value)})}}function o(f,d,y,p){Promise.resolve(p).then(function(h){f({value:h,done:y})},d)}}function St(n){return typeof n=="function"}function ZO(n){var a=function(u){Error.call(u),u.stack=new Error().stack},i=n(a);return i.prototype=Object.create(Error.prototype),i.prototype.constructor=i,i}var md=ZO(function(n){return function(i){n(this),this.message=i?i.length+` errors occurred during unsubscription:
10
+ `+i.map(function(u,o){return o+1+") "+u.toString()}).join(`
11
+ `):"",this.name="UnsubscriptionError",this.errors=i}});function Y0(n,a){if(n){var i=n.indexOf(a);0<=i&&n.splice(i,1)}}var Ao=function(){function n(a){this.initialTeardown=a,this.closed=!1,this._parentage=null,this._finalizers=null}return n.prototype.unsubscribe=function(){var a,i,u,o,f;if(!this.closed){this.closed=!0;var d=this._parentage;if(d)if(this._parentage=null,Array.isArray(d))try{for(var y=au(d),p=y.next();!p.done;p=y.next()){var h=p.value;h.remove(this)}}catch(x){a={error:x}}finally{try{p&&!p.done&&(i=y.return)&&i.call(y)}finally{if(a)throw a.error}}else d.remove(this);var b=this.initialTeardown;if(St(b))try{b()}catch(x){f=x instanceof md?x.errors:[x]}var v=this._finalizers;if(v){this._finalizers=null;try{for(var A=au(v),N=A.next();!N.done;N=A.next()){var C=N.value;try{V0(C)}catch(x){f=f??[],x instanceof md?f=Vd(Vd([],Yd(f)),Yd(x.errors)):f.push(x)}}}catch(x){u={error:x}}finally{try{N&&!N.done&&(o=A.return)&&o.call(A)}finally{if(u)throw u.error}}}if(f)throw new md(f)}},n.prototype.add=function(a){var i;if(a&&a!==this)if(this.closed)V0(a);else{if(a instanceof n){if(a.closed||a._hasParent(this))return;a._addParent(this)}(this._finalizers=(i=this._finalizers)!==null&&i!==void 0?i:[]).push(a)}},n.prototype._hasParent=function(a){var i=this._parentage;return i===a||Array.isArray(i)&&i.includes(a)},n.prototype._addParent=function(a){var i=this._parentage;this._parentage=Array.isArray(i)?(i.push(a),i):i?[i,a]:a},n.prototype._removeParent=function(a){var i=this._parentage;i===a?this._parentage=null:Array.isArray(i)&&Y0(i,a)},n.prototype.remove=function(a){var i=this._finalizers;i&&Y0(i,a),a instanceof n&&a._removeParent(this)},n.EMPTY=function(){var a=new n;return a.closed=!0,a}(),n}();Ao.EMPTY;function Dv(n){return n instanceof Ao||n&&"closed"in n&&St(n.remove)&&St(n.add)&&St(n.unsubscribe)}function V0(n){St(n)?n():n.unsubscribe()}var HO={Promise:void 0},GO={setTimeout:function(n,a){for(var i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];return setTimeout.apply(void 0,Vd([n,a],Yd(i)))},clearTimeout:function(n){return clearTimeout(n)},delegate:void 0};function Uv(n){GO.setTimeout(function(){throw n})}function X0(){}function YO(n){n()}var yh=function(n){ph(a,n);function a(i){var u=n.call(this)||this;return u.isStopped=!1,i?(u.destination=i,Dv(i)&&i.add(u)):u.destination=QO,u}return a.create=function(i,u,o){return new Xd(i,u,o)},a.prototype.next=function(i){this.isStopped||this._next(i)},a.prototype.error=function(i){this.isStopped||(this.isStopped=!0,this._error(i))},a.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},a.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,n.prototype.unsubscribe.call(this),this.destination=null)},a.prototype._next=function(i){this.destination.next(i)},a.prototype._error=function(i){try{this.destination.error(i)}finally{this.unsubscribe()}},a.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},a}(Ao),VO=function(){function n(a){this.partialObserver=a}return n.prototype.next=function(a){var i=this.partialObserver;if(i.next)try{i.next(a)}catch(u){Zs(u)}},n.prototype.error=function(a){var i=this.partialObserver;if(i.error)try{i.error(a)}catch(u){Zs(u)}else Zs(a)},n.prototype.complete=function(){var a=this.partialObserver;if(a.complete)try{a.complete()}catch(i){Zs(i)}},n}(),Xd=function(n){ph(a,n);function a(i,u,o){var f=n.call(this)||this,d;return St(i)||!i?d={next:i??void 0,error:u??void 0,complete:o??void 0}:d=i,f.destination=new VO(d),f}return a}(yh);function Zs(n){Uv(n)}function XO(n){throw n}var QO={closed:!0,next:X0,error:XO,complete:X0},gh=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function KO(n){return n}function FO(n){return n.length===0?KO:n.length===1?n[0]:function(i){return n.reduce(function(u,o){return o(u)},i)}}var Hn=function(){function n(a){a&&(this._subscribe=a)}return n.prototype.lift=function(a){var i=new n;return i.source=this,i.operator=a,i},n.prototype.subscribe=function(a,i,u){var o=this,f=kO(a)?a:new Xd(a,i,u);return YO(function(){var d=o,y=d.operator,p=d.source;f.add(y?y.call(f,p):p?o._subscribe(f):o._trySubscribe(f))}),f},n.prototype._trySubscribe=function(a){try{return this._subscribe(a)}catch(i){a.error(i)}},n.prototype.forEach=function(a,i){var u=this;return i=Q0(i),new i(function(o,f){var d=new Xd({next:function(y){try{a(y)}catch(p){f(p),d.unsubscribe()}},error:f,complete:o});u.subscribe(d)})},n.prototype._subscribe=function(a){var i;return(i=this.source)===null||i===void 0?void 0:i.subscribe(a)},n.prototype[gh]=function(){return this},n.prototype.pipe=function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];return FO(a)(this)},n.prototype.toPromise=function(a){var i=this;return a=Q0(a),new a(function(u,o){var f;i.subscribe(function(d){return f=d},function(d){return o(d)},function(){return u(f)})})},n.create=function(a){return new n(a)},n}();function Q0(n){var a;return(a=n??HO.Promise)!==null&&a!==void 0?a:Promise}function JO(n){return n&&St(n.next)&&St(n.error)&&St(n.complete)}function kO(n){return n&&n instanceof yh||JO(n)&&Dv(n)}function PO(n){return St(n?.lift)}function qv(n){return function(a){if(PO(a))return a.lift(function(i){try{return n(i,this)}catch(u){this.error(u)}});throw new TypeError("Unable to lift unknown Observable type")}}function WO(n,a,i,u,o){return new IO(n,a,i,u,o)}var IO=function(n){ph(a,n);function a(i,u,o,f,d,y){var p=n.call(this,i)||this;return p.onFinalize=d,p.shouldUnsubscribe=y,p._next=u?function(h){try{u(h)}catch(b){i.error(b)}}:n.prototype._next,p._error=f?function(h){try{f(h)}catch(b){i.error(b)}finally{this.unsubscribe()}}:n.prototype._error,p._complete=o?function(){try{o()}catch(h){i.error(h)}finally{this.unsubscribe()}}:n.prototype._complete,p}return a.prototype.unsubscribe=function(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){var u=this.closed;n.prototype.unsubscribe.call(this),!u&&((i=this.onFinalize)===null||i===void 0||i.call(this))}},a}(yh),jv=function(n){return n&&typeof n.length=="number"&&typeof n!="function"};function Bv(n){return St(n?.then)}function Lv(n){return St(n[gh])}function Zv(n){return Symbol.asyncIterator&&St(n?.[Symbol.asyncIterator])}function Hv(n){return new TypeError("You provided "+(n!==null&&typeof n=="object"?"an invalid object":"'"+n+"'")+" where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.")}function eA(){return typeof Symbol!="function"||!Symbol.iterator?"@@iterator":Symbol.iterator}var Gv=eA();function Yv(n){return St(n?.[Gv])}function Vv(n){return BO(this,arguments,function(){var i,u,o,f;return $v(this,function(d){switch(d.label){case 0:i=n.getReader(),d.label=1;case 1:d.trys.push([1,,9,10]),d.label=2;case 2:return[4,xi(i.read())];case 3:return u=d.sent(),o=u.value,f=u.done,f?[4,xi(void 0)]:[3,5];case 4:return[2,d.sent()];case 5:return[4,xi(o)];case 6:return[4,d.sent()];case 7:return d.sent(),[3,2];case 8:return[3,10];case 9:return i.releaseLock(),[7];case 10:return[2]}})})}function Xv(n){return St(n?.getReader)}function Ro(n){if(n instanceof Hn)return n;if(n!=null){if(Lv(n))return tA(n);if(jv(n))return nA(n);if(Bv(n))return aA(n);if(Zv(n))return Qv(n);if(Yv(n))return rA(n);if(Xv(n))return iA(n)}throw Hv(n)}function tA(n){return new Hn(function(a){var i=n[gh]();if(St(i.subscribe))return i.subscribe(a);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function nA(n){return new Hn(function(a){for(var i=0;i<n.length&&!a.closed;i++)a.next(n[i]);a.complete()})}function aA(n){return new Hn(function(a){n.then(function(i){a.closed||(a.next(i),a.complete())},function(i){return a.error(i)}).then(null,Uv)})}function rA(n){return new Hn(function(a){var i,u;try{for(var o=au(n),f=o.next();!f.done;f=o.next()){var d=f.value;if(a.next(d),a.closed)return}}catch(y){i={error:y}}finally{try{f&&!f.done&&(u=o.return)&&u.call(o)}finally{if(i)throw i.error}}a.complete()})}function Qv(n){return new Hn(function(a){lA(n,a).catch(function(i){return a.error(i)})})}function iA(n){return Qv(Vv(n))}function lA(n,a){var i,u,o,f;return jO(this,void 0,void 0,function(){var d,y;return $v(this,function(p){switch(p.label){case 0:p.trys.push([0,5,6,11]),i=LO(n),p.label=1;case 1:return[4,i.next()];case 2:if(u=p.sent(),!!u.done)return[3,4];if(d=u.value,a.next(d),a.closed)return[2];p.label=3;case 3:return[3,1];case 4:return[3,11];case 5:return y=p.sent(),o={error:y},[3,11];case 6:return p.trys.push([6,,9,10]),u&&!u.done&&(f=i.return)?[4,f.call(i)]:[3,8];case 7:p.sent(),p.label=8;case 8:return[3,10];case 9:if(o)throw o.error;return[7];case 10:return[7];case 11:return a.complete(),[2]}})})}function Sr(n,a,i,u,o){u===void 0&&(u=0),o===void 0&&(o=!1);var f=a.schedule(function(){i(),o?n.add(this.schedule(null,u)):this.unsubscribe()},u);if(n.add(f),!o)return f}function Kv(n,a){return a===void 0&&(a=0),qv(function(i,u){i.subscribe(WO(u,function(o){return Sr(u,n,function(){return u.next(o)},a)},function(){return Sr(u,n,function(){return u.complete()},a)},function(o){return Sr(u,n,function(){return u.error(o)},a)}))})}function Fv(n,a){return a===void 0&&(a=0),qv(function(i,u){u.add(n.schedule(function(){return i.subscribe(u)},a))})}function uA(n,a){return Ro(n).pipe(Fv(a),Kv(a))}function sA(n,a){return Ro(n).pipe(Fv(a),Kv(a))}function oA(n,a){return new Hn(function(i){var u=0;return a.schedule(function(){u===n.length?i.complete():(i.next(n[u++]),i.closed||this.schedule())})})}function cA(n,a){return new Hn(function(i){var u;return Sr(i,a,function(){u=n[Gv](),Sr(i,a,function(){var o,f,d;try{o=u.next(),f=o.value,d=o.done}catch(y){i.error(y);return}d?i.complete():i.next(f)},0,!0)}),function(){return St(u?.return)&&u.return()}})}function Jv(n,a){if(!n)throw new Error("Iterable cannot be null");return new Hn(function(i){Sr(i,a,function(){var u=n[Symbol.asyncIterator]();Sr(i,a,function(){u.next().then(function(o){o.done?i.complete():i.next(o.value)})},0,!0)})})}function fA(n,a){return Jv(Vv(n),a)}function dA(n,a){if(n!=null){if(Lv(n))return uA(n,a);if(jv(n))return oA(n,a);if(Bv(n))return sA(n,a);if(Zv(n))return Jv(n,a);if(Yv(n))return cA(n,a);if(Xv(n))return fA(n,a)}throw Hv(n)}function hA(n,a){return a?dA(n,a):Ro(n)}function kv(n){return new Hn(function(a){Ro(n()).subscribe(a)})}function gn(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var mA=function(n){return n.Equal="eq",n.NotEqual="neq",n.LessThanEqualTo="lteq",n.LessThan="lt",n.GreaterThanEqualTo="gteq",n.GreaterThan="gt",n.Like="like",n.StartsWith="sw",n.EndsWith="ew",n}({});class Di{subject(a){return this._filter.subject=a,this}value(a){return this._filter.value=a,this}operator(a){return this._filter.operator=a,this}build(){return{...this._filter}}constructor(){gn(this,"_filter",void 0),gn(this,"equal",this.operator.bind(this,"eq")),gn(this,"notEqual",this.operator.bind(this,"neq")),gn(this,"lessThan",this.operator.bind(this,"lt")),gn(this,"greaterThan",this.operator.bind(this,"gt")),gn(this,"lessThanEqualTo",this.operator.bind(this,"lteq")),gn(this,"greaterThanEqualTo",this.operator.bind(this,"gteq")),gn(this,"like",this.operator.bind(this,"like")),gn(this,"startsWith",this.operator.bind(this,"sw")),gn(this,"endsWith",this.operator.bind(this,"ew")),this._filter={subject:"",value:null,operator:"eq",__type__:Di.Type}}}gn(Di,"Type","binary");function pA(n){return n?.__type__===Di.Type}const Pv=fu(mA),yA=cn(Pv);function gA(n){return n!=null&&Object.prototype.hasOwnProperty.call(yA,n)}const bA={eq:(n,a)=>n===a,neq:(n,a)=>n!==a,gt:(n,a)=>n>a,gteq:(n,a)=>n>=a,lt:(n,a)=>n<a,lteq:(n,a)=>n<=a,like:(n,a)=>`${n}`.indexOf(`${a}`)>=0,sw:(n,a)=>`${n}`.startsWith(`${a}`),ew:(n,a)=>`${n}`.endsWith(`${a}`)};function Is(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var vA=function(n){return n.In="in",n.NotIn="not-in",n}({});class mu{subject(a){return this._filter.subject=a,this}values(a){return this._filter.values=a,this}value(a){return this._filter.values.push(a),this}operator(a){return this._filter.operator=a,this}build(){return JSON.parse(JSON.stringify(this._filter))}constructor(){Is(this,"_filter",void 0),Is(this,"in",this.operator.bind(this,"in")),Is(this,"notIn",this.operator.bind(this,"not-in")),this._filter={subject:"",operator:"in",values:[],__type__:mu.Type}}}Is(mu,"Type","collection");function Wv(n){return n?.__type__===mu.Type}const _A={in:(n,a)=>a.indexOf(n)>=0,"not-in":(n,a)=>a.indexOf(n)<0},Iv=fu(vA),wA=cn(Iv);function SA(n){return n!=null&&Object.prototype.hasOwnProperty.call(wA,n)}function eo(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var e1=function(n){return n.And="and",n.Or="or",n}({});class pu{operator(a){return this._filter.operator=a,this}clause(a){return this._filter.clauses.push(a),this}clauses(a){return this._filter.clauses=a,this}build(){return{...this._filter}}constructor(){eo(this,"_filter",void 0),eo(this,"and",this.operator.bind(this,"and")),eo(this,"or",this.operator.bind(this,"or")),this._filter={clauses:[],operator:"and",__type__:pu.Type}}}eo(pu,"Type","logic");function t1(n){return n?.__type__===pu.Type}const n1=fu(e1),xA=cn(n1);function EA(n){return n!=null&&Object.prototype.hasOwnProperty.call(xA,n)}function to(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var TA=function(n){return n.IsNull="null",n.IsNotNull="is-not-null",n}({});class bh{subject(a){return this._filter.subject=a,this}operator(a){return this._filter.operator=a,this}build(){return{...this._filter}}constructor(){to(this,"_filter",void 0),to(this,"isNull",this.operator.bind(this,"null")),to(this,"isNotNull",this.operator.bind(this,"is-not-null")),this._filter={subject:null,operator:"null",__type__:"unary"}}}to(bh,"Type","unary");function a1(n){return n?.__type__===bh.Type}const r1=fu(TA),OA=cn(r1);function AA(n){return n!=null&&Object.prototype.hasOwnProperty.call(OA,n)}const RA={null:n=>n==null,"is-not-null":n=>n!=null};class K0{_matchLogicFilter(a,i){return i.operator===e1.And?i.clauses.every(u=>this.match(a,u)):i.clauses.some(u=>this.match(a,u))}_matchSubjectFilter(a,i,u,o){const f=u[i.operator],d=i.subject?Or(a,i.subject,null):a;return f(d,o)}match(a,i){return t1(i)?this._matchLogicFilter(a,i):Wv(i)?this._matchSubjectFilter(a,i,_A,i.values):a1(i)?this._matchSubjectFilter(a,i,RA):this._matchSubjectFilter(a,i,bA,i.value)}}const MA=[].concat(Pv).concat(Iv).concat(n1).concat(r1);class CA{deserialize(a){const[i,u]=this._parseFilter(a);if(_t(u).length>0)throw new Error(`Extraneous characters found at the end of the candidate filter: ${u}`);return i}_peelBetweenParens(a){const[i,u]=Md(a,"(",")");if(i==null)throw new Error(`Unable to find opening and closing parenthesis for ${a}. Check syntax.`);return[i,u]}_splitArgs(a,i,u,o=u){const[f,d]=this._peelBetweenParens(i),y=f.split(",").filter(p=>!!p);if(y.length<u){const p=`Not enough arguments for ${a} filter: ${y}.`,h=`Expected at least ${u} arguments, but got ${y.length} instead.`;throw new Error(`${p}. ${h}`)}if(y.length>o){const p=`Too many arguments for ${a} filter: ${y}.`,h=`Expected at most ${o} arguments, but got ${y.length} instead.`;throw new Error(`${p}. ${h}`)}return[y,d]}_parseUnaryFilter(a,i){const[u,o]=this._splitArgs(a,i,1);let[f]=u;return f=_t(f),[new bh().operator(a).subject(f).build(),o]}_parseBinaryFilter(a,i){const[u,o]=this._splitArgs(a,i,2);let[f,d]=u;return f=_t(f),d=JSON.parse(d),[new Di().operator(a).subject(f).value(d).build(),o]}_parseCollectionFilter(a,i){const[u,o]=this._splitArgs(a,i,1,1/0);let[f]=u;f=_t(f);const d=u.slice(1).map(y=>JSON.parse(_t(y)));return[new mu().operator(a).subject(f).values(d).build(),o]}_parseLogicFilter(a,i){const u=this._peelBetweenParens(_t(i));let[o]=u;const[,f]=u;let d=new pu().operator(a);for(;o;){const y=this._parseFilter(o),[p]=y;[,o]=y,o=oh(o," ,"),d=d.clause(p)}return[d.build(),f]}_parseFilter(a){const[i,u]=xb(_t(a),MA);if(AA(i))return this._parseUnaryFilter(i,u);if(gA(i))return this._parseBinaryFilter(i,u);if(SA(i))return this._parseCollectionFilter(i,u);if(EA(i))return this._parseLogicFilter(i,u);throw new Error(`Cannot determine filter operator at ${a}.`)}}class NA{serialize(a){if(pA(a))return`${a.operator}(${a.subject}, ${JSON.stringify(a.value)})`;if(a1(a))return`${a.operator}(${a.subject})`;if(Wv(a))return`${a.operator}(${a.subject}, ${a.values.map(i=>JSON.stringify(i)).join(", ")})`;if(t1(a))return`${a.operator}(${a.clauses.map(i=>this.serialize(i)).join(", ")})`}}class F0{match(){return!0}}function zA(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class $A{match(a,i){return i==null?!0:this._match.match(a,i)}constructor(a){zA(this,"_match",void 0),this._match=a}}var pd=function(n){return n.Date="date",n.Number="number",n.Text="text",n.File="file",n.Boolean="boolean",n.Icon="icon",n.Image="image",n.Custom="custom",n}({});function DA(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}var i1=function(n){return n.Ascending="asc",n.Descending="desc",n}({});class vh{sorts(a){return this._sort=a,this}sort(a){const i=KT(a);return this.sorts(this._sort.concat(i))}ascending(a){return this.sort({subject:a,direction:"asc"})}descending(a){return this.sort({subject:a,direction:"desc"})}build(){return JSON.parse(JSON.stringify(this._sort))}constructor(){DA(this,"_sort",void 0),this._sort=[]}}const UA=fu(i1);class qA{deserialize(a){const[i,u]=Md(_t(a),"(",")"),o=i??u;let f=new vh,d=o;for(;d;){const y=this._parseSort(d),[p]=y;[,d]=y,f=f.sort(p),d=oh(d,", ")}return f.build()}_parseSort(a){const[i,u]=xb(a,UA);if(i==null)throw new Error(`Cannot determine sort direction at ${a}`);const o=Md(u,"(",")");let[f]=o;const[,d]=o;if(f==null)throw new Error(`Cannot determine sort subject at ${u}.`);if(f=_t(f),!f)throw new Error(`Cannot determine sort subject at ${u}.`);return[{direction:i,subject:f},d]}}class jA{serialize(a){if(!a?.length)return;const i=a.map(u=>`${u.direction}(${u.subject})`).join(", ");return a.length>1?`(${i})`:i}}function BA(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Bn{page(a){return a!=null?this._request.page=Math.max(a,1):delete this._request.page,this}size(a){return a!=null?this._request.size=Math.max(a,0):delete this._request.size,this}search(a){return this._request.search=a,this}filter(a){if(a==null)delete this._request.filter;else{const i=typeof a=="string"?Pg(()=>new CA().deserialize(a)):a;this._request.filter=i}return this}sort(a){if(a==null)delete this._request.sort;else{const i=typeof a=="string"?Pg(()=>new qA().deserialize(a)):a;this._request.sort=i}return this}copy(a){return this._request=JSON.parse(JSON.stringify(a)),this}query(a){if(a.filter!=null&&this.filter(a.filter),a.sort!=null&&this.sort(a.sort),a.page!=null){const i=+a.page;this.page(isNaN(i)?this._request.page:i)}if(a.size!=null){const i=+a.size;this.size(isNaN(i)?this._request.size:i)}return a.search!=null&&this.search(a.search),this}build(){return JSON.parse(JSON.stringify(this._request))}constructor(){BA(this,"_request",void 0),this._request={}}}function LA(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class ZA{search(a){return this._options.search=a||new F0,this}filter(a){return this._options.filter=a||new K0,this}delay(a){return this._options.delay=a||0,this}build(){return{...this._options}}constructor(){LA(this,"_options",void 0),this._options={search:new F0,filter:new K0,delay:0}}}function HA(n,a,i){if(i===1/0)return a<=1?n:[];const u=Math.max(0,a-1);return kT(n,i)[u]||[]}function Hs(n,a,i){const u=new $A(i);return n.filter(o=>u.match(o,a))}function GA(n,a){const i=n.slice();return a?.length&&i.sort((u,o)=>{for(let f=0;f<a.length;++f){const d=a[f],y=d.direction===i1.Ascending?1:-1,p=d.subject?Or(u,d.subject,null):u,h=d.subject?Or(o,d.subject,null):o;if(!(p==null&&h==null)){if(p==null&&h!=null)return-1*y;if(p!=null&&h==null)return y;if(p!==h)return y*(p<h?-1:1)}}return 0}),i}function J0(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class vi{async items(){const a=await this._data;return a instanceof Error?Promise.reject(a):a.slice()}async insert(a,i=1/0){const u=await this.items();return i=Math.max(i,0),u.splice(i,0,a),new vi(u,this._options)}async remove(a){const i=await this.items(),u=i.indexOf(a);return u>=0&&i.splice(u,1),new vi(i,this._options)}async removeAt(a){const i=await this.items();return a>=0&&a<i.length&&i.splice(a,1),new vi(i,this._options)}async set(a,i){const u=await this.items();return i>=0&&i<u.length&&(u[i]=a),new vi(u,this._options)}async count(a){const{search:i,filter:u}=a,o=await this._data;if(o instanceof Error)return new Promise((d,y)=>setTimeout(()=>y(o),this._options.delay));let f=o;return f=Hs(f,i,this._options.search),f=Hs(f,u,this._options.filter),new Promise(d=>setTimeout(()=>d(f.length),this._options.delay))}async retrieve(a){const{page:i=1,size:u=1/0,search:o,filter:f,sort:d}=a,y=await this._data;if(y instanceof Error)return new Promise((h,b)=>setTimeout(()=>b(y),this._options.delay));let p=y;return p=Hs(p,o,this._options.search),p=Hs(p,f,this._options.filter),p=GA(p,d),p=HA(p,i,u),new Promise(h=>setTimeout(()=>h(p),this._options.delay))}constructor(a,i=new ZA().build()){J0(this,"_data",void 0),J0(this,"_options",void 0),this._data=a,this._options=i}}function Mo(n,a,i){const[u,o]=R.useState(n||i),f=n===void 0?u:n;return[f,y=>{o(y);const p=h=>typeof h=="function";if(a){const h=p(y)?y(f):y;a(h)}}]}const ru=Symbol("loading");function _h(n,a=[]){const[i,u]=R.useState(ru),o=R.useRef(new Ao),f=()=>{o.current.unsubscribe(),o.current=kv(()=>(u(ru),hA(n()))).subscribe({next:y=>u(y),error:y=>u(Id(y))})},d=async y=>{if(y!==void 0){u(y);return}return f()};return R.useEffect(()=>(f(),()=>o.current.unsubscribe()),a),[i,d]}function Ri(n){return n===ru}function YA(n){return!Ri(n)&&!iu(n)}function iu(n){return n instanceof Error}function VA(n,a){return YA(n)?n:a}/* istanbul ignore file -- @preserve */function Gs(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class XA{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 a=this._input.files?.item(0);a&&this._cb(a)},this._container.appendChild(this._input),this._input)}open(a,i){this.$input.accept=a,this._cb=i,this.$input.click()}constructor(a=Sb.document,i=a?.body){Gs(this,"_doc",void 0),Gs(this,"_container",void 0),Gs(this,"_input",void 0),Gs(this,"_cb",void 0),this._doc=a,this._container=i}}new XA;const l1=["Enter","Space"];function QA(n,a){const i=W(l1,a);if(n)return u=>{i.indexOf(u.code)>=0&&n(u)}}function wh(n,a=l1){return{onKey:R.useMemo(()=>QA(n,a),[n,a]),tabIndex:n?0:void 0}}function KA(n){const[a,i]=R.useState(n);return R.useEffect(()=>{i(n)},[n]),[a,i]}function FA(n,a){const[i,u]=R.useState([]),[o,f]=R.useState(ru),[d,y]=R.useState(!1),p=R.useRef(new Bn().copy(a).page(1).build()),h=R.useRef(null),b=R.useRef(void 0),v=N=>{b.current?.unsubscribe(),b.current=void 0,!N&&(b.current=kv(()=>(h.current=h.current||n.count(p.current),f(ru),Promise.all([h.current,n.retrieve(p.current)]))).subscribe({next:([C,x])=>{p.current=new Bn().copy(p.current).page(p.current.page+1).build(),y(x.length+i.length>=C),u(z=>z.concat(x)),f(x)},error:C=>{h.current=null,y(!1),f(Id(C))}}))},A=()=>{p.current=new Bn().copy(a).page(1).build(),h.current=null,u([]),y(!1),v(!1)};return R.useEffect(()=>(A(),()=>b.current?.unsubscribe()),[n,a.filter,a.size,a.sort,a.search]),{view:i,last:o,complete:d,page:p.current.page,size:p.current.size||1/0,more:()=>v(d),reset:A}}const JA=R.createContext(Sb);function kA(){return R.useContext(JA)}var u1="comm",s1="rule",o1="decl",PA="@import",WA="@namespace",IA="@keyframes",e5="@layer",c1=Math.abs,Sh=String.fromCharCode;function f1(n){return n.trim()}function no(n,a,i){return n.replace(a,i)}function t5(n,a,i){return n.indexOf(a,i)}function Ei(n,a){return n.charCodeAt(a)|0}function Mi(n,a,i){return n.slice(a,i)}function Dn(n){return n.length}function d1(n){return n.length}function Ys(n,a){return a.push(n),n}var Co=1,Ci=1,h1=0,fn=0,ct=0,Ui="";function xh(n,a,i,u,o,f,d,y){return{value:n,root:a,parent:i,type:u,props:o,children:f,line:Co,column:Ci,length:d,return:"",siblings:y}}function n5(){return ct}function a5(){return ct=fn>0?Ei(Ui,--fn):0,Ci--,ct===10&&(Ci=1,Co--),ct}function vn(){return ct=fn<h1?Ei(Ui,fn++):0,Ci++,ct===10&&(Ci=1,Co++),ct}function Ja(){return Ei(Ui,fn)}function ao(){return fn}function No(n,a){return Mi(Ui,n,a)}function lu(n){switch(n){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 r5(n){return Co=Ci=1,h1=Dn(Ui=n),fn=0,[]}function i5(n){return Ui="",n}function yd(n){return f1(No(fn-1,Qd(n===91?n+2:n===40?n+1:n)))}function l5(n){for(;(ct=Ja())&&ct<33;)vn();return lu(n)>2||lu(ct)>3?"":" "}function u5(n,a){for(;--a&&vn()&&!(ct<48||ct>102||ct>57&&ct<65||ct>70&&ct<97););return No(n,ao()+(a<6&&Ja()==32&&vn()==32))}function Qd(n){for(;vn();)switch(ct){case n:return fn;case 34:case 39:n!==34&&n!==39&&Qd(ct);break;case 40:n===41&&Qd(n);break;case 92:vn();break}return fn}function s5(n,a){for(;vn()&&n+ct!==57;)if(n+ct===84&&Ja()===47)break;return"/*"+No(a,fn-1)+"*"+Sh(n===47?n:vn())}function o5(n){for(;!lu(Ja());)vn();return No(n,fn)}function c5(n){return i5(ro("",null,null,null,[""],n=r5(n),0,[0],n))}function ro(n,a,i,u,o,f,d,y,p){for(var h=0,b=0,v=d,A=0,N=0,C=0,x=1,z=1,G=1,E=0,U="",Y=o,Z=f,J=u,B=U;z;)switch(C=E,E=vn()){case 40:if(C!=108&&Ei(B,v-1)==58){t5(B+=no(yd(E),"&","&\f"),"&\f",c1(h?y[h-1]:0))!=-1&&(G=-1);break}case 34:case 39:case 91:B+=yd(E);break;case 9:case 10:case 13:case 32:B+=l5(C);break;case 92:B+=u5(ao()-1,7);continue;case 47:switch(Ja()){case 42:case 47:Ys(f5(s5(vn(),ao()),a,i,p),p),(lu(C||1)==5||lu(Ja()||1)==5)&&Dn(B)&&Mi(B,-1,void 0)!==" "&&(B+=" ");break;default:B+="/"}break;case 123*x:y[h++]=Dn(B)*G;case 125*x:case 59:case 0:switch(E){case 0:case 125:z=0;case 59+b:G==-1&&(B=no(B,/\f/g,"")),N>0&&(Dn(B)-v||x===0&&C===47)&&Ys(N>32?P0(B+";",u,i,v-1,p):P0(no(B," ","")+";",u,i,v-2,p),p);break;case 59:B+=";";default:if(Ys(J=k0(B,a,i,h,b,o,y,U,Y=[],Z=[],v,f),f),E===123)if(b===0)ro(B,a,J,J,Y,f,v,y,Z);else{switch(A){case 99:if(Ei(B,3)===110)break;case 108:if(Ei(B,2)===97)break;default:b=0;case 100:case 109:case 115:}b?ro(n,J,J,u&&Ys(k0(n,J,J,0,0,o,y,U,o,Y=[],v,Z),Z),o,Z,v,y,u?Y:Z):ro(B,J,J,J,[""],Z,0,y,Z)}}h=b=N=0,x=G=1,U=B="",v=d;break;case 58:v=1+Dn(B),N=C;default:if(x<1){if(E==123)--x;else if(E==125&&x++==0&&a5()==125)continue}switch(B+=Sh(E),E*x){case 38:G=b>0?1:(B+="\f",-1);break;case 44:y[h++]=(Dn(B)-1)*G,G=1;break;case 64:Ja()===45&&(B+=yd(vn())),A=Ja(),b=v=Dn(U=B+=o5(ao())),E++;break;case 45:C===45&&Dn(B)==2&&(x=0)}}return f}function k0(n,a,i,u,o,f,d,y,p,h,b,v){for(var A=o-1,N=o===0?f:[""],C=d1(N),x=0,z=0,G=0;x<u;++x)for(var E=0,U=Mi(n,A+1,A=c1(z=d[x])),Y=n;E<C;++E)(Y=f1(z>0?N[E]+" "+U:no(U,/&\f/g,N[E])))&&(p[G++]=Y);return xh(n,a,i,o===0?s1:y,p,h,b,v)}function f5(n,a,i,u){return xh(n,a,i,u1,Sh(n5()),Mi(n,2,-2),0,u)}function P0(n,a,i,u,o){return xh(n,a,i,o1,Mi(n,0,u),Mi(n,u+1,-1),u,o)}function Kd(n,a){for(var i="",u=0;u<n.length;u++)i+=a(n[u],u,n,a)||"";return i}function d5(n,a,i,u){switch(n.type){case e5:if(n.children.length)break;case PA:case WA:case o1:return n.return=n.return||n.value;case u1:return"";case IA:return n.return=n.value+"{"+Kd(n.children,u)+"}";case s1:if(!Dn(n.value=n.props.join(",")))return""}return Dn(i=Kd(n.children,u))?n.return=n.value+"{"+i+"}":""}function h5(n){var a=d1(n);return function(i,u,o,f){for(var d="",y=0;y<a;y++)d+=n[y](i,u,o,f)||"";return d}}function m5(n){return function(a){a.root||(a=a.return)&&n(a)}}/**
12
+ * react-router v7.9.5
13
+ *
14
+ * Copyright (c) Remix Software Inc.
15
+ *
16
+ * This source code is licensed under the MIT license found in the
17
+ * LICENSE.md file in the root directory of this source tree.
18
+ *
19
+ * @license MIT
20
+ */var W0="popstate";function p5(n={}){function a(o,f){let{pathname:d="/",search:y="",hash:p=""}=Nr(o.location.hash.substring(1));return!d.startsWith("/")&&!d.startsWith(".")&&(d="/"+d),Fd("",{pathname:d,search:y,hash:p},f.state&&f.state.usr||null,f.state&&f.state.key||"default")}function i(o,f){let d=o.document.querySelector("base"),y="";if(d&&d.getAttribute("href")){let p=o.location.href,h=p.indexOf("#");y=h===-1?p:p.slice(0,h)}return y+"#"+(typeof f=="string"?f:uu(f))}function u(o,f){dn(o.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(f)})`)}return g5(a,i,u,n)}function Qe(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function dn(n,a){if(!n){typeof console<"u"&&console.warn(a);try{throw new Error(a)}catch{}}}function y5(){return Math.random().toString(36).substring(2,10)}function I0(n,a){return{usr:n.state,key:n.key,idx:a}}function Fd(n,a,i=null,u){return{pathname:typeof n=="string"?n:n.pathname,search:"",hash:"",...typeof a=="string"?Nr(a):a,state:i,key:a&&a.key||u||y5()}}function uu({pathname:n="/",search:a="",hash:i=""}){return a&&a!=="?"&&(n+=a.charAt(0)==="?"?a:"?"+a),i&&i!=="#"&&(n+=i.charAt(0)==="#"?i:"#"+i),n}function Nr(n){let a={};if(n){let i=n.indexOf("#");i>=0&&(a.hash=n.substring(i),n=n.substring(0,i));let u=n.indexOf("?");u>=0&&(a.search=n.substring(u),n=n.substring(0,u)),n&&(a.pathname=n)}return a}function g5(n,a,i,u={}){let{window:o=document.defaultView,v5Compat:f=!1}=u,d=o.history,y="POP",p=null,h=b();h==null&&(h=0,d.replaceState({...d.state,idx:h},""));function b(){return(d.state||{idx:null}).idx}function v(){y="POP";let z=b(),G=z==null?null:z-h;h=z,p&&p({action:y,location:x.location,delta:G})}function A(z,G){y="PUSH";let E=Fd(x.location,z,G);i&&i(E,z),h=b()+1;let U=I0(E,h),Y=x.createHref(E);try{d.pushState(U,"",Y)}catch(Z){if(Z instanceof DOMException&&Z.name==="DataCloneError")throw Z;o.location.assign(Y)}f&&p&&p({action:y,location:x.location,delta:1})}function N(z,G){y="REPLACE";let E=Fd(x.location,z,G);i&&i(E,z),h=b();let U=I0(E,h),Y=x.createHref(E);d.replaceState(U,"",Y),f&&p&&p({action:y,location:x.location,delta:0})}function C(z){return b5(z)}let x={get action(){return y},get location(){return n(o,d)},listen(z){if(p)throw new Error("A history only accepts one active listener");return o.addEventListener(W0,v),p=z,()=>{o.removeEventListener(W0,v),p=null}},createHref(z){return a(o,z)},createURL:C,encodeLocation(z){let G=C(z);return{pathname:G.pathname,search:G.search,hash:G.hash}},push:A,replace:N,go(z){return d.go(z)}};return x}function b5(n,a=!1){let i="http://localhost";typeof window<"u"&&(i=window.location.origin!=="null"?window.location.origin:window.location.href),Qe(i,"No window.location.(origin|href) available to create URL");let u=typeof n=="string"?n:uu(n);return u=u.replace(/ $/,"%20"),!a&&u.startsWith("//")&&(u=i+u),new URL(u,i)}function m1(n,a,i="/"){return v5(n,a,i,!1)}function v5(n,a,i,u){let o=typeof a=="string"?Nr(a):a,f=ha(o.pathname||"/",i);if(f==null)return null;let d=p1(n);_5(d);let y=null;for(let p=0;y==null&&p<d.length;++p){let h=N5(f);y=M5(d[p],h,u)}return y}function p1(n,a=[],i=[],u="",o=!1){let f=(d,y,p=o,h)=>{let b={relativePath:h===void 0?d.path||"":h,caseSensitive:d.caseSensitive===!0,childrenIndex:y,route:d};if(b.relativePath.startsWith("/")){if(!b.relativePath.startsWith(u)&&p)return;Qe(b.relativePath.startsWith(u),`Absolute route path "${b.relativePath}" nested under path "${u}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),b.relativePath=b.relativePath.slice(u.length)}let v=ca([u,b.relativePath]),A=i.concat(b);d.children&&d.children.length>0&&(Qe(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${v}".`),p1(d.children,a,A,v,p)),!(d.path==null&&!d.index)&&a.push({path:v,score:A5(v,d.index),routesMeta:A})};return n.forEach((d,y)=>{if(d.path===""||!d.path?.includes("?"))f(d,y);else for(let p of y1(d.path))f(d,y,!0,p)}),a}function y1(n){let a=n.split("/");if(a.length===0)return[];let[i,...u]=a,o=i.endsWith("?"),f=i.replace(/\?$/,"");if(u.length===0)return o?[f,""]:[f];let d=y1(u.join("/")),y=[];return y.push(...d.map(p=>p===""?f:[f,p].join("/"))),o&&y.push(...d),y.map(p=>n.startsWith("/")&&p===""?"/":p)}function _5(n){n.sort((a,i)=>a.score!==i.score?i.score-a.score:R5(a.routesMeta.map(u=>u.childrenIndex),i.routesMeta.map(u=>u.childrenIndex)))}var w5=/^:[\w-]+$/,S5=3,x5=2,E5=1,T5=10,O5=-2,eb=n=>n==="*";function A5(n,a){let i=n.split("/"),u=i.length;return i.some(eb)&&(u+=O5),a&&(u+=x5),i.filter(o=>!eb(o)).reduce((o,f)=>o+(w5.test(f)?S5:f===""?E5:T5),u)}function R5(n,a){return n.length===a.length&&n.slice(0,-1).every((u,o)=>u===a[o])?n[n.length-1]-a[a.length-1]:0}function M5(n,a,i=!1){let{routesMeta:u}=n,o={},f="/",d=[];for(let y=0;y<u.length;++y){let p=u[y],h=y===u.length-1,b=f==="/"?a:a.slice(f.length)||"/",v=ho({path:p.relativePath,caseSensitive:p.caseSensitive,end:h},b),A=p.route;if(!v&&h&&i&&!u[u.length-1].route.index&&(v=ho({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},b)),!v)return null;Object.assign(o,v.params),d.push({params:o,pathname:ca([f,v.pathname]),pathnameBase:U5(ca([f,v.pathnameBase])),route:A}),v.pathnameBase!=="/"&&(f=ca([f,v.pathnameBase]))}return d}function ho(n,a){typeof n=="string"&&(n={path:n,caseSensitive:!1,end:!0});let[i,u]=C5(n.path,n.caseSensitive,n.end),o=a.match(i);if(!o)return null;let f=o[0],d=f.replace(/(.)\/+$/,"$1"),y=o.slice(1);return{params:u.reduce((h,{paramName:b,isOptional:v},A)=>{if(b==="*"){let C=y[A]||"";d=f.slice(0,f.length-C.length).replace(/(.)\/+$/,"$1")}const N=y[A];return v&&!N?h[b]=void 0:h[b]=(N||"").replace(/%2F/g,"/"),h},{}),pathname:f,pathnameBase:d,pattern:n}}function C5(n,a=!1,i=!0){dn(n==="*"||!n.endsWith("*")||n.endsWith("/*"),`Route path "${n}" will be treated as if it were "${n.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${n.replace(/\*$/,"/*")}".`);let u=[],o="^"+n.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,y,p)=>(u.push({paramName:y,isOptional:p!=null}),p?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return n.endsWith("*")?(u.push({paramName:"*"}),o+=n==="*"||n==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):i?o+="\\/*$":n!==""&&n!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,a?void 0:"i"),u]}function N5(n){try{return n.split("/").map(a=>decodeURIComponent(a).replace(/\//g,"%2F")).join("/")}catch(a){return dn(!1,`The URL path "${n}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${a}).`),n}}function ha(n,a){if(a==="/")return n;if(!n.toLowerCase().startsWith(a.toLowerCase()))return null;let i=a.endsWith("/")?a.length-1:a.length,u=n.charAt(i);return u&&u!=="/"?null:n.slice(i)||"/"}function z5(n,a="/"){let{pathname:i,search:u="",hash:o=""}=typeof n=="string"?Nr(n):n;return{pathname:i?i.startsWith("/")?i:$5(i,a):a,search:q5(u),hash:j5(o)}}function $5(n,a){let i=a.replace(/\/+$/,"").split("/");return n.split("/").forEach(o=>{o===".."?i.length>1&&i.pop():o!=="."&&i.push(o)}),i.length>1?i.join("/"):"/"}function gd(n,a,i,u){return`Cannot include a '${n}' character in a manually specified \`to.${a}\` field [${JSON.stringify(u)}]. Please separate it out to the \`to.${i}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function D5(n){return n.filter((a,i)=>i===0||a.route.path&&a.route.path.length>0)}function Eh(n){let a=D5(n);return a.map((i,u)=>u===a.length-1?i.pathname:i.pathnameBase)}function Th(n,a,i,u=!1){let o;typeof n=="string"?o=Nr(n):(o={...n},Qe(!o.pathname||!o.pathname.includes("?"),gd("?","pathname","search",o)),Qe(!o.pathname||!o.pathname.includes("#"),gd("#","pathname","hash",o)),Qe(!o.search||!o.search.includes("#"),gd("#","search","hash",o)));let f=n===""||o.pathname==="",d=f?"/":o.pathname,y;if(d==null)y=i;else{let v=a.length-1;if(!u&&d.startsWith("..")){let A=d.split("/");for(;A[0]==="..";)A.shift(),v-=1;o.pathname=A.join("/")}y=v>=0?a[v]:"/"}let p=z5(o,y),h=d&&d!=="/"&&d.endsWith("/"),b=(f||d===".")&&i.endsWith("/");return!p.pathname.endsWith("/")&&(h||b)&&(p.pathname+="/"),p}var ca=n=>n.join("/").replace(/\/\/+/g,"/"),U5=n=>n.replace(/\/+$/,"").replace(/^\/*/,"/"),q5=n=>!n||n==="?"?"":n.startsWith("?")?n:"?"+n,j5=n=>!n||n==="#"?"":n.startsWith("#")?n:"#"+n;function B5(n){return n!=null&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.internal=="boolean"&&"data"in n}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var g1=["POST","PUT","PATCH","DELETE"];new Set(g1);var L5=["GET",...g1];new Set(L5);var qi=R.createContext(null);qi.displayName="DataRouter";var zo=R.createContext(null);zo.displayName="DataRouterState";R.createContext(!1);var b1=R.createContext({isTransitioning:!1});b1.displayName="ViewTransition";var Z5=R.createContext(new Map);Z5.displayName="Fetchers";var H5=R.createContext(null);H5.displayName="Await";var xn=R.createContext(null);xn.displayName="Navigation";var yu=R.createContext(null);yu.displayName="Location";var En=R.createContext({outlet:null,matches:[],isDataRoute:!1});En.displayName="Route";var Oh=R.createContext(null);Oh.displayName="RouteError";function G5(n,{relative:a}={}){Qe(ji(),"useHref() may be used only in the context of a <Router> component.");let{basename:i,navigator:u}=R.useContext(xn),{hash:o,pathname:f,search:d}=gu(n,{relative:a}),y=f;return i!=="/"&&(y=f==="/"?i:ca([i,f])),u.createHref({pathname:y,search:d,hash:o})}function ji(){return R.useContext(yu)!=null}function ba(){return Qe(ji(),"useLocation() may be used only in the context of a <Router> component."),R.useContext(yu).location}var v1="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function _1(n){R.useContext(xn).static||R.useLayoutEffect(n)}function Ah(){let{isDataRoute:n}=R.useContext(En);return n?nR():Y5()}function Y5(){Qe(ji(),"useNavigate() may be used only in the context of a <Router> component.");let n=R.useContext(qi),{basename:a,navigator:i}=R.useContext(xn),{matches:u}=R.useContext(En),{pathname:o}=ba(),f=JSON.stringify(Eh(u)),d=R.useRef(!1);return _1(()=>{d.current=!0}),R.useCallback((p,h={})=>{if(dn(d.current,v1),!d.current)return;if(typeof p=="number"){i.go(p);return}let b=Th(p,JSON.parse(f),o,h.relative==="path");n==null&&a!=="/"&&(b.pathname=b.pathname==="/"?a:ca([a,b.pathname])),(h.replace?i.replace:i.push)(b,h.state,h)},[a,i,f,o,n])}R.createContext(null);function V5(){let{matches:n}=R.useContext(En),a=n[n.length-1];return a?a.params:{}}function gu(n,{relative:a}={}){let{matches:i}=R.useContext(En),{pathname:u}=ba(),o=JSON.stringify(Eh(i));return R.useMemo(()=>Th(n,JSON.parse(o),u,a==="path"),[n,o,u,a])}function X5(n,a){return w1(n,a)}function w1(n,a,i,u,o){Qe(ji(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:f}=R.useContext(xn),{matches:d}=R.useContext(En),y=d[d.length-1],p=y?y.params:{},h=y?y.pathname:"/",b=y?y.pathnameBase:"/",v=y&&y.route;{let E=v&&v.path||"";S1(h,!v||E.endsWith("*")||E.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${E}">) 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.
21
+
22
+ Please change the parent <Route path="${E}"> to <Route path="${E==="/"?"*":`${E}/*`}">.`)}let A=ba(),N;if(a){let E=typeof a=="string"?Nr(a):a;Qe(b==="/"||E.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 "${E.pathname}" was given in the \`location\` prop.`),N=E}else N=A;let C=N.pathname||"/",x=C;if(b!=="/"){let E=b.replace(/^\//,"").split("/");x="/"+C.replace(/^\//,"").split("/").slice(E.length).join("/")}let z=m1(n,{pathname:x});dn(v||z!=null,`No routes matched location "${N.pathname}${N.search}${N.hash}" `),dn(z==null||z[z.length-1].route.element!==void 0||z[z.length-1].route.Component!==void 0||z[z.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 G=k5(z&&z.map(E=>Object.assign({},E,{params:Object.assign({},p,E.params),pathname:ca([b,f.encodeLocation?f.encodeLocation(E.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathname]),pathnameBase:E.pathnameBase==="/"?b:ca([b,f.encodeLocation?f.encodeLocation(E.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:E.pathnameBase])})),d,i,u,o);return a&&G?R.createElement(yu.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...N},navigationType:"POP"}},G):G}function Q5(){let n=tR(),a=B5(n)?`${n.status} ${n.statusText}`:n instanceof Error?n.message:JSON.stringify(n),i=n instanceof Error?n.stack:null,u="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:u},f={padding:"2px 4px",backgroundColor:u},d=null;return console.error("Error handled by React Router default ErrorBoundary:",n),d=R.createElement(R.Fragment,null,R.createElement("p",null,"💿 Hey developer 👋"),R.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",R.createElement("code",{style:f},"ErrorBoundary")," or"," ",R.createElement("code",{style:f},"errorElement")," prop on your route.")),R.createElement(R.Fragment,null,R.createElement("h2",null,"Unexpected Application Error!"),R.createElement("h3",{style:{fontStyle:"italic"}},a),i?R.createElement("pre",{style:o},i):null,d)}var K5=R.createElement(Q5,null),F5=class extends R.Component{constructor(n){super(n),this.state={location:n.location,revalidation:n.revalidation,error:n.error}}static getDerivedStateFromError(n){return{error:n}}static getDerivedStateFromProps(n,a){return a.location!==n.location||a.revalidation!=="idle"&&n.revalidation==="idle"?{error:n.error,location:n.location,revalidation:n.revalidation}:{error:n.error!==void 0?n.error:a.error,location:a.location,revalidation:n.revalidation||a.revalidation}}componentDidCatch(n,a){this.props.unstable_onError?this.props.unstable_onError(n,a):console.error("React Router caught the following error during render",n)}render(){return this.state.error!==void 0?R.createElement(En.Provider,{value:this.props.routeContext},R.createElement(Oh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function J5({routeContext:n,match:a,children:i}){let u=R.useContext(qi);return u&&u.static&&u.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(u.staticContext._deepestRenderedBoundaryId=a.route.id),R.createElement(En.Provider,{value:n},i)}function k5(n,a=[],i=null,u=null,o=null){if(n==null){if(!i)return null;if(i.errors)n=i.matches;else if(a.length===0&&!i.initialized&&i.matches.length>0)n=i.matches;else return null}let f=n,d=i?.errors;if(d!=null){let h=f.findIndex(b=>b.route.id&&d?.[b.route.id]!==void 0);Qe(h>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(d).join(",")}`),f=f.slice(0,Math.min(f.length,h+1))}let y=!1,p=-1;if(i)for(let h=0;h<f.length;h++){let b=f[h];if((b.route.HydrateFallback||b.route.hydrateFallbackElement)&&(p=h),b.route.id){let{loaderData:v,errors:A}=i,N=b.route.loader&&!v.hasOwnProperty(b.route.id)&&(!A||A[b.route.id]===void 0);if(b.route.lazy||N){y=!0,p>=0?f=f.slice(0,p+1):f=[f[0]];break}}}return f.reduceRight((h,b,v)=>{let A,N=!1,C=null,x=null;i&&(A=d&&b.route.id?d[b.route.id]:void 0,C=b.route.errorElement||K5,y&&(p<0&&v===0?(S1("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),N=!0,x=null):p===v&&(N=!0,x=b.route.hydrateFallbackElement||null)));let z=a.concat(f.slice(0,v+1)),G=()=>{let E;return A?E=C:N?E=x:b.route.Component?E=R.createElement(b.route.Component,null):b.route.element?E=b.route.element:E=h,R.createElement(J5,{match:b,routeContext:{outlet:h,matches:z,isDataRoute:i!=null},children:E})};return i&&(b.route.ErrorBoundary||b.route.errorElement||v===0)?R.createElement(F5,{location:i.location,revalidation:i.revalidation,component:C,error:A,children:G(),routeContext:{outlet:null,matches:z,isDataRoute:!0},unstable_onError:u}):G()},null)}function Rh(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function P5(n){let a=R.useContext(qi);return Qe(a,Rh(n)),a}function W5(n){let a=R.useContext(zo);return Qe(a,Rh(n)),a}function I5(n){let a=R.useContext(En);return Qe(a,Rh(n)),a}function Mh(n){let a=I5(n),i=a.matches[a.matches.length-1];return Qe(i.route.id,`${n} can only be used on routes that contain a unique "id"`),i.route.id}function eR(){return Mh("useRouteId")}function tR(){let n=R.useContext(Oh),a=W5("useRouteError"),i=Mh("useRouteError");return n!==void 0?n:a.errors?.[i]}function nR(){let{router:n}=P5("useNavigate"),a=Mh("useNavigate"),i=R.useRef(!1);return _1(()=>{i.current=!0}),R.useCallback(async(o,f={})=>{dn(i.current,v1),i.current&&(typeof o=="number"?n.navigate(o):await n.navigate(o,{fromRouteId:a,...f}))},[n,a])}var tb={};function S1(n,a,i){!a&&!tb[n]&&(tb[n]=!0,dn(!1,i))}R.memo(aR);function aR({routes:n,future:a,state:i,unstable_onError:u}){return w1(n,void 0,i,u,a)}function rR({to:n,replace:a,state:i,relative:u}){Qe(ji(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=R.useContext(xn);dn(!o,"<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:f}=R.useContext(En),{pathname:d}=ba(),y=Ah(),p=Th(n,Eh(f),d,u==="path"),h=JSON.stringify(p);return R.useEffect(()=>{y(JSON.parse(h),{replace:a,state:i,relative:u})},[y,h,u,a,i]),null}function x1(n){Qe(!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 iR({basename:n="/",children:a=null,location:i,navigationType:u="POP",navigator:o,static:f=!1}){Qe(!ji(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=n.replace(/^\/*/,"/"),y=R.useMemo(()=>({basename:d,navigator:o,static:f,future:{}}),[d,o,f]);typeof i=="string"&&(i=Nr(i));let{pathname:p="/",search:h="",hash:b="",state:v=null,key:A="default"}=i,N=R.useMemo(()=>{let C=ha(p,d);return C==null?null:{location:{pathname:C,search:h,hash:b,state:v,key:A},navigationType:u}},[d,p,h,b,v,A,u]);return dn(N!=null,`<Router basename="${d}"> is not able to match the URL "${p}${h}${b}" because it does not start with the basename, so the <Router> won't render anything.`),N==null?null:R.createElement(xn.Provider,{value:y},R.createElement(yu.Provider,{children:a,value:N}))}function lR({children:n,location:a}){return X5(Jd(n),a)}function Jd(n,a=[]){let i=[];return R.Children.forEach(n,(u,o)=>{if(!R.isValidElement(u))return;let f=[...a,o];if(u.type===R.Fragment){i.push.apply(i,Jd(u.props.children,f));return}Qe(u.type===x1,`[${typeof u.type=="string"?u.type:u.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Qe(!u.props.index||!u.props.children,"An index route cannot have child routes.");let d={id:u.props.id||f.join("-"),caseSensitive:u.props.caseSensitive,element:u.props.element,Component:u.props.Component,index:u.props.index,path:u.props.path,middleware:u.props.middleware,loader:u.props.loader,action:u.props.action,hydrateFallbackElement:u.props.hydrateFallbackElement,HydrateFallback:u.props.HydrateFallback,errorElement:u.props.errorElement,ErrorBoundary:u.props.ErrorBoundary,hasErrorBoundary:u.props.hasErrorBoundary===!0||u.props.ErrorBoundary!=null||u.props.errorElement!=null,shouldRevalidate:u.props.shouldRevalidate,handle:u.props.handle,lazy:u.props.lazy};u.props.children&&(d.children=Jd(u.props.children,f)),i.push(d)}),i}var io="get",lo="application/x-www-form-urlencoded";function $o(n){return n!=null&&typeof n.tagName=="string"}function uR(n){return $o(n)&&n.tagName.toLowerCase()==="button"}function sR(n){return $o(n)&&n.tagName.toLowerCase()==="form"}function oR(n){return $o(n)&&n.tagName.toLowerCase()==="input"}function cR(n){return!!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)}function fR(n,a){return n.button===0&&(!a||a==="_self")&&!cR(n)}var Vs=null;function dR(){if(Vs===null)try{new FormData(document.createElement("form"),0),Vs=!1}catch{Vs=!0}return Vs}var hR=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function bd(n){return n!=null&&!hR.has(n)?(dn(!1,`"${n}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${lo}"`),null):n}function mR(n,a){let i,u,o,f,d;if(sR(n)){let y=n.getAttribute("action");u=y?ha(y,a):null,i=n.getAttribute("method")||io,o=bd(n.getAttribute("enctype"))||lo,f=new FormData(n)}else if(uR(n)||oR(n)&&(n.type==="submit"||n.type==="image")){let y=n.form;if(y==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=n.getAttribute("formaction")||y.getAttribute("action");if(u=p?ha(p,a):null,i=n.getAttribute("formmethod")||y.getAttribute("method")||io,o=bd(n.getAttribute("formenctype"))||bd(y.getAttribute("enctype"))||lo,f=new FormData(y,n),!dR()){let{name:h,type:b,value:v}=n;if(b==="image"){let A=h?`${h}.`:"";f.append(`${A}x`,"0"),f.append(`${A}y`,"0")}else h&&f.append(h,v)}}else{if($o(n))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');i=io,u=null,o=lo,d=n}return f&&o==="text/plain"&&(d=f,f=void 0),{action:u,method:i.toLowerCase(),encType:o,formData:f,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Ch(n,a){if(n===!1||n===null||typeof n>"u")throw new Error(a)}function pR(n,a,i){let u=typeof n=="string"?new URL(n,typeof window>"u"?"server://singlefetch/":window.location.origin):n;return u.pathname==="/"?u.pathname=`_root.${i}`:a&&ha(u.pathname,a)==="/"?u.pathname=`${a.replace(/\/$/,"")}/_root.${i}`:u.pathname=`${u.pathname.replace(/\/$/,"")}.${i}`,u}async function yR(n,a){if(n.id in a)return a[n.id];try{let i=await import(n.module);return a[n.id]=i,i}catch(i){return console.error(`Error loading route module \`${n.module}\`, reloading page...`),console.error(i),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function gR(n){return n==null?!1:n.href==null?n.rel==="preload"&&typeof n.imageSrcSet=="string"&&typeof n.imageSizes=="string":typeof n.rel=="string"&&typeof n.href=="string"}async function bR(n,a,i){let u=await Promise.all(n.map(async o=>{let f=a.routes[o.route.id];if(f){let d=await yR(f,i);return d.links?d.links():[]}return[]}));return SR(u.flat(1).filter(gR).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function nb(n,a,i,u,o,f){let d=(p,h)=>i[h]?p.route.id!==i[h].route.id:!0,y=(p,h)=>i[h].pathname!==p.pathname||i[h].route.path?.endsWith("*")&&i[h].params["*"]!==p.params["*"];return f==="assets"?a.filter((p,h)=>d(p,h)||y(p,h)):f==="data"?a.filter((p,h)=>{let b=u.routes[p.route.id];if(!b||!b.hasLoader)return!1;if(d(p,h)||y(p,h))return!0;if(p.route.shouldRevalidate){let v=p.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:i[0]?.params||{},nextUrl:new URL(n,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof v=="boolean")return v}return!0}):[]}function vR(n,a,{includeHydrateFallback:i}={}){return _R(n.map(u=>{let o=a.routes[u.route.id];if(!o)return[];let f=[o.module];return o.clientActionModule&&(f=f.concat(o.clientActionModule)),o.clientLoaderModule&&(f=f.concat(o.clientLoaderModule)),i&&o.hydrateFallbackModule&&(f=f.concat(o.hydrateFallbackModule)),o.imports&&(f=f.concat(o.imports)),f}).flat(1))}function _R(n){return[...new Set(n)]}function wR(n){let a={},i=Object.keys(n).sort();for(let u of i)a[u]=n[u];return a}function SR(n,a){let i=new Set;return new Set(a),n.reduce((u,o)=>{let f=JSON.stringify(wR(o));return i.has(f)||(i.add(f),u.push({key:f,link:o})),u},[])}function E1(){let n=R.useContext(qi);return Ch(n,"You must render this element inside a <DataRouterContext.Provider> element"),n}function xR(){let n=R.useContext(zo);return Ch(n,"You must render this element inside a <DataRouterStateContext.Provider> element"),n}var Nh=R.createContext(void 0);Nh.displayName="FrameworkContext";function T1(){let n=R.useContext(Nh);return Ch(n,"You must render this element inside a <HydratedRouter> element"),n}function ER(n,a){let i=R.useContext(Nh),[u,o]=R.useState(!1),[f,d]=R.useState(!1),{onFocus:y,onBlur:p,onMouseEnter:h,onMouseLeave:b,onTouchStart:v}=a,A=R.useRef(null);R.useEffect(()=>{if(n==="render"&&d(!0),n==="viewport"){let x=G=>{G.forEach(E=>{d(E.isIntersecting)})},z=new IntersectionObserver(x,{threshold:.5});return A.current&&z.observe(A.current),()=>{z.disconnect()}}},[n]),R.useEffect(()=>{if(u){let x=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(x)}}},[u]);let N=()=>{o(!0)},C=()=>{o(!1),d(!1)};return i?n!=="intent"?[f,A,{}]:[f,A,{onFocus:Ll(y,N),onBlur:Ll(p,C),onMouseEnter:Ll(h,N),onMouseLeave:Ll(b,C),onTouchStart:Ll(v,N)}]:[!1,A,{}]}function Ll(n,a){return i=>{n&&n(i),i.defaultPrevented||a(i)}}function TR({page:n,...a}){let{router:i}=E1(),u=R.useMemo(()=>m1(i.routes,n,i.basename),[i.routes,n,i.basename]);return u?R.createElement(AR,{page:n,matches:u,...a}):null}function OR(n){let{manifest:a,routeModules:i}=T1(),[u,o]=R.useState([]);return R.useEffect(()=>{let f=!1;return bR(n,a,i).then(d=>{f||o(d)}),()=>{f=!0}},[n,a,i]),u}function AR({page:n,matches:a,...i}){let u=ba(),{manifest:o,routeModules:f}=T1(),{basename:d}=E1(),{loaderData:y,matches:p}=xR(),h=R.useMemo(()=>nb(n,a,p,o,u,"data"),[n,a,p,o,u]),b=R.useMemo(()=>nb(n,a,p,o,u,"assets"),[n,a,p,o,u]),v=R.useMemo(()=>{if(n===u.pathname+u.search+u.hash)return[];let C=new Set,x=!1;if(a.forEach(G=>{let E=o.routes[G.route.id];!E||!E.hasLoader||(!h.some(U=>U.route.id===G.route.id)&&G.route.id in y&&f[G.route.id]?.shouldRevalidate||E.hasClientLoader?x=!0:C.add(G.route.id))}),C.size===0)return[];let z=pR(n,d,"data");return x&&C.size>0&&z.searchParams.set("_routes",a.filter(G=>C.has(G.route.id)).map(G=>G.route.id).join(",")),[z.pathname+z.search]},[d,y,u,o,h,a,n,f]),A=R.useMemo(()=>vR(b,o),[b,o]),N=OR(b);return R.createElement(R.Fragment,null,v.map(C=>R.createElement("link",{key:C,rel:"prefetch",as:"fetch",href:C,...i})),A.map(C=>R.createElement("link",{key:C,rel:"modulepreload",href:C,...i})),N.map(({key:C,link:x})=>R.createElement("link",{key:C,nonce:i.nonce,...x})))}function RR(...n){return a=>{n.forEach(i=>{typeof i=="function"?i(a):i!=null&&(i.current=a)})}}var O1=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{O1&&(window.__reactRouterVersion="7.9.5")}catch{}function MR({basename:n,children:a,window:i}){let u=R.useRef();u.current==null&&(u.current=p5({window:i,v5Compat:!0}));let o=u.current,[f,d]=R.useState({action:o.action,location:o.location}),y=R.useCallback(p=>{R.startTransition(()=>d(p))},[d]);return R.useLayoutEffect(()=>o.listen(y),[o,y]),R.createElement(iR,{basename:n,children:a,location:f.location,navigationType:f.action,navigator:o})}var A1=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,R1=R.forwardRef(function({onClick:a,discover:i="render",prefetch:u="none",relative:o,reloadDocument:f,replace:d,state:y,target:p,to:h,preventScrollReset:b,viewTransition:v,...A},N){let{basename:C}=R.useContext(xn),x=typeof h=="string"&&A1.test(h),z,G=!1;if(typeof h=="string"&&x&&(z=h,O1))try{let te=new URL(window.location.href),ze=h.startsWith("//")?new URL(te.protocol+h):new URL(h),We=ha(ze.pathname,C);ze.origin===te.origin&&We!=null?h=We+ze.search+ze.hash:G=!0}catch{dn(!1,`<Link to="${h}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let E=G5(h,{relative:o}),[U,Y,Z]=ER(u,A),J=$R(h,{replace:d,state:y,target:p,preventScrollReset:b,relative:o,viewTransition:v});function B(te){a&&a(te),te.defaultPrevented||J(te)}let ue=R.createElement("a",{...A,...Z,href:z||E,onClick:G||f?a:B,ref:RR(N,Y),target:p,"data-discover":!x&&i==="render"?"true":void 0});return U&&!x?R.createElement(R.Fragment,null,ue,R.createElement(TR,{page:E})):ue});R1.displayName="Link";var CR=R.forwardRef(function({"aria-current":a="page",caseSensitive:i=!1,className:u="",end:o=!1,style:f,to:d,viewTransition:y,children:p,...h},b){let v=gu(d,{relative:h.relative}),A=ba(),N=R.useContext(zo),{navigator:C,basename:x}=R.useContext(xn),z=N!=null&&BR(v)&&y===!0,G=C.encodeLocation?C.encodeLocation(v).pathname:v.pathname,E=A.pathname,U=N&&N.navigation&&N.navigation.location?N.navigation.location.pathname:null;i||(E=E.toLowerCase(),U=U?U.toLowerCase():null,G=G.toLowerCase()),U&&x&&(U=ha(U,x)||U);const Y=G!=="/"&&G.endsWith("/")?G.length-1:G.length;let Z=E===G||!o&&E.startsWith(G)&&E.charAt(Y)==="/",J=U!=null&&(U===G||!o&&U.startsWith(G)&&U.charAt(G.length)==="/"),B={isActive:Z,isPending:J,isTransitioning:z},ue=Z?a:void 0,te;typeof u=="function"?te=u(B):te=[u,Z?"active":null,J?"pending":null,z?"transitioning":null].filter(Boolean).join(" ");let ze=typeof f=="function"?f(B):f;return R.createElement(R1,{...h,"aria-current":ue,className:te,ref:b,style:ze,to:d,viewTransition:y},typeof p=="function"?p(B):p)});CR.displayName="NavLink";var NR=R.forwardRef(({discover:n="render",fetcherKey:a,navigate:i,reloadDocument:u,replace:o,state:f,method:d=io,action:y,onSubmit:p,relative:h,preventScrollReset:b,viewTransition:v,...A},N)=>{let C=qR(),x=jR(y,{relative:h}),z=d.toLowerCase()==="get"?"get":"post",G=typeof y=="string"&&A1.test(y),E=U=>{if(p&&p(U),U.defaultPrevented)return;U.preventDefault();let Y=U.nativeEvent.submitter,Z=Y?.getAttribute("formmethod")||d;C(Y||U.currentTarget,{fetcherKey:a,method:Z,navigate:i,replace:o,state:f,relative:h,preventScrollReset:b,viewTransition:v})};return R.createElement("form",{ref:N,method:z,action:x,onSubmit:u?p:E,...A,"data-discover":!G&&n==="render"?"true":void 0})});NR.displayName="Form";function zR(n){return`${n} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function M1(n){let a=R.useContext(qi);return Qe(a,zR(n)),a}function $R(n,{target:a,replace:i,state:u,preventScrollReset:o,relative:f,viewTransition:d}={}){let y=Ah(),p=ba(),h=gu(n,{relative:f});return R.useCallback(b=>{if(fR(b,a)){b.preventDefault();let v=i!==void 0?i:uu(p)===uu(h);y(n,{replace:v,state:u,preventScrollReset:o,relative:f,viewTransition:d})}},[p,y,h,i,u,a,n,o,f,d])}var DR=0,UR=()=>`__${String(++DR)}__`;function qR(){let{router:n}=M1("useSubmit"),{basename:a}=R.useContext(xn),i=eR();return R.useCallback(async(u,o={})=>{let{action:f,method:d,encType:y,formData:p,body:h}=mR(u,a);if(o.navigate===!1){let b=o.fetcherKey||UR();await n.fetch(b,i,o.action||f,{preventScrollReset:o.preventScrollReset,formData:p,body:h,formMethod:o.method||d,formEncType:o.encType||y,flushSync:o.flushSync})}else await n.navigate(o.action||f,{preventScrollReset:o.preventScrollReset,formData:p,body:h,formMethod:o.method||d,formEncType:o.encType||y,replace:o.replace,state:o.state,fromRouteId:i,flushSync:o.flushSync,viewTransition:o.viewTransition})},[n,a,i])}function jR(n,{relative:a}={}){let{basename:i}=R.useContext(xn),u=R.useContext(En);Qe(u,"useFormAction must be used inside a RouteContext");let[o]=u.matches.slice(-1),f={...gu(n||".",{relative:a})},d=ba();if(n==null){f.search=d.search;let y=new URLSearchParams(f.search),p=y.getAll("index");if(p.some(b=>b==="")){y.delete("index"),p.filter(v=>v).forEach(v=>y.append("index",v));let b=y.toString();f.search=b?`?${b}`:""}}return(!n||n===".")&&o.route.index&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),i!=="/"&&(f.pathname=f.pathname==="/"?i:ca([i,f.pathname])),uu(f)}function BR(n,{relative:a}={}){let i=R.useContext(b1);Qe(i!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:u}=M1("useViewTransitionState"),o=gu(n,{relative:a});if(!i.isTransitioning)return!1;let f=ha(i.currentLocation.pathname,u)||i.currentLocation.pathname,d=ha(i.nextLocation.pathname,u)||i.nextLocation.pathname;return ho(o.pathname,d)!=null||ho(o.pathname,f)!=null}var vd={exports:{}},xt={};/**
23
+ * @license React
24
+ * react-dom.production.js
25
+ *
26
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
27
+ *
28
+ * This source code is licensed under the MIT license found in the
29
+ * LICENSE file in the root directory of this source tree.
30
+ */var ab;function LR(){if(ab)return xt;ab=1;var n=fh();function a(p){var h="https://react.dev/errors/"+p;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 #"+p+"; visit "+h+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function i(){}var u={d:{f:i,r:function(){throw Error(a(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for("react.portal");function f(p,h,b){var v=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:v==null?null:""+v,children:p,containerInfo:h,implementation:b}}var d=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function y(p,h){if(p==="font")return"";if(typeof h=="string")return h==="use-credentials"?h:""}return xt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,xt.createPortal=function(p,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(a(299));return f(p,h,null,b)},xt.flushSync=function(p){var h=d.T,b=u.p;try{if(d.T=null,u.p=2,p)return p()}finally{d.T=h,u.p=b,u.d.f()}},xt.preconnect=function(p,h){typeof p=="string"&&(h?(h=h.crossOrigin,h=typeof h=="string"?h==="use-credentials"?h:"":void 0):h=null,u.d.C(p,h))},xt.prefetchDNS=function(p){typeof p=="string"&&u.d.D(p)},xt.preinit=function(p,h){if(typeof p=="string"&&h&&typeof h.as=="string"){var b=h.as,v=y(b,h.crossOrigin),A=typeof h.integrity=="string"?h.integrity:void 0,N=typeof h.fetchPriority=="string"?h.fetchPriority:void 0;b==="style"?u.d.S(p,typeof h.precedence=="string"?h.precedence:void 0,{crossOrigin:v,integrity:A,fetchPriority:N}):b==="script"&&u.d.X(p,{crossOrigin:v,integrity:A,fetchPriority:N,nonce:typeof h.nonce=="string"?h.nonce:void 0})}},xt.preinitModule=function(p,h){if(typeof p=="string")if(typeof h=="object"&&h!==null){if(h.as==null||h.as==="script"){var b=y(h.as,h.crossOrigin);u.d.M(p,{crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0,nonce:typeof h.nonce=="string"?h.nonce:void 0})}}else h==null&&u.d.M(p)},xt.preload=function(p,h){if(typeof p=="string"&&typeof h=="object"&&h!==null&&typeof h.as=="string"){var b=h.as,v=y(b,h.crossOrigin);u.d.L(p,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})}},xt.preloadModule=function(p,h){if(typeof p=="string")if(h){var b=y(h.as,h.crossOrigin);u.d.m(p,{as:typeof h.as=="string"&&h.as!=="script"?h.as:void 0,crossOrigin:b,integrity:typeof h.integrity=="string"?h.integrity:void 0})}else u.d.m(p)},xt.requestFormReset=function(p){u.d.r(p)},xt.unstable_batchedUpdates=function(p,h){return p(h)},xt.useFormState=function(p,h,b){return d.H.useFormState(p,h,b)},xt.useFormStatus=function(){return d.H.useHostTransitionStatus()},xt.version="19.2.0",xt}var rb;function ZR(){if(rb)return vd.exports;rb=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),vd.exports=LR(),vd.exports}var _d,ib;function HR(){return ib||(ib=1,_d=function(a,i){if(i=i.split(":")[0],a=+a,!a)return!1;switch(i){case"http":case"ws":return a!==80;case"https":case"wss":return a!==443;case"ftp":return a!==21;case"gopher":return a!==70;case"file":return!1}return a!==0}),_d}var Xs={},lb;function GR(){if(lb)return Xs;lb=1;var n=Object.prototype.hasOwnProperty,a;function i(d){try{return decodeURIComponent(d.replace(/\+/g," "))}catch{return null}}function u(d){try{return encodeURIComponent(d)}catch{return null}}function o(d){for(var y=/([^=?#&]+)=?([^&]*)/g,p={},h;h=y.exec(d);){var b=i(h[1]),v=i(h[2]);b===null||v===null||b in p||(p[b]=v)}return p}function f(d,y){y=y||"";var p=[],h,b;typeof y!="string"&&(y="?");for(b in d)if(n.call(d,b)){if(h=d[b],!h&&(h===null||h===a||isNaN(h))&&(h=""),b=u(b),h=u(h),b===null||h===null)continue;p.push(b+"="+h)}return p.length?y+p.join("&"):""}return Xs.stringify=f,Xs.parse=o,Xs}var wd,ub;function YR(){if(ub)return wd;ub=1;var n=HR(),a=GR(),i=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u=/[\n\r\t]/g,o=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,f=/:\d+$/,d=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,y=/^[a-zA-Z]:/;function p(E){return(E||"").toString().replace(i,"")}var h=[["#","hash"],["?","query"],function(U,Y){return A(Y.protocol)?U.replace(/\\/g,"/"):U},["/","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(E){var U;typeof window<"u"?U=window:typeof bi<"u"?U=bi:typeof self<"u"?U=self:U={};var Y=U.location||{};E=E||Y;var Z={},J=typeof E,B;if(E.protocol==="blob:")Z=new x(unescape(E.pathname),{});else if(J==="string"){Z=new x(E,{});for(B in b)delete Z[B]}else if(J==="object"){for(B in E)B in b||(Z[B]=E[B]);Z.slashes===void 0&&(Z.slashes=o.test(E.href))}return Z}function A(E){return E==="file:"||E==="ftp:"||E==="http:"||E==="https:"||E==="ws:"||E==="wss:"}function N(E,U){E=p(E),E=E.replace(u,""),U=U||{};var Y=d.exec(E),Z=Y[1]?Y[1].toLowerCase():"",J=!!Y[2],B=!!Y[3],ue=0,te;return J?B?(te=Y[2]+Y[3]+Y[4],ue=Y[2].length+Y[3].length):(te=Y[2]+Y[4],ue=Y[2].length):B?(te=Y[3]+Y[4],ue=Y[3].length):te=Y[4],Z==="file:"?ue>=2&&(te=te.slice(2)):A(Z)?te=Y[4]:Z?J&&(te=te.slice(2)):ue>=2&&A(U.protocol)&&(te=Y[4]),{protocol:Z,slashes:J||A(Z),slashesCount:ue,rest:te}}function C(E,U){if(E==="")return U;for(var Y=(U||"/").split("/").slice(0,-1).concat(E.split("/")),Z=Y.length,J=Y[Z-1],B=!1,ue=0;Z--;)Y[Z]==="."?Y.splice(Z,1):Y[Z]===".."?(Y.splice(Z,1),ue++):ue&&(Z===0&&(B=!0),Y.splice(Z,1),ue--);return B&&Y.unshift(""),(J==="."||J==="..")&&Y.push(""),Y.join("/")}function x(E,U,Y){if(E=p(E),E=E.replace(u,""),!(this instanceof x))return new x(E,U,Y);var Z,J,B,ue,te,ze,We=h.slice(),Me=typeof U,ae=this,mt=0;for(Me!=="object"&&Me!=="string"&&(Y=U,U=null),Y&&typeof Y!="function"&&(Y=a.parse),U=v(U),J=N(E||"",U),Z=!J.protocol&&!J.slashes,ae.slashes=J.slashes||Z&&U.slashes,ae.protocol=J.protocol||U.protocol||"",E=J.rest,(J.protocol==="file:"&&(J.slashesCount!==2||y.test(E))||!J.slashes&&(J.protocol||J.slashesCount<2||!A(ae.protocol)))&&(We[3]=[/(.*)/,"pathname"]);mt<We.length;mt++){if(ue=We[mt],typeof ue=="function"){E=ue(E,ae);continue}B=ue[0],ze=ue[1],B!==B?ae[ze]=E:typeof B=="string"?(te=B==="@"?E.lastIndexOf(B):E.indexOf(B),~te&&(typeof ue[2]=="number"?(ae[ze]=E.slice(0,te),E=E.slice(te+ue[2])):(ae[ze]=E.slice(te),E=E.slice(0,te)))):(te=B.exec(E))&&(ae[ze]=te[1],E=E.slice(0,te.index)),ae[ze]=ae[ze]||Z&&ue[3]&&U[ze]||"",ue[4]&&(ae[ze]=ae[ze].toLowerCase())}Y&&(ae.query=Y(ae.query)),Z&&U.slashes&&ae.pathname.charAt(0)!=="/"&&(ae.pathname!==""||U.pathname!=="")&&(ae.pathname=C(ae.pathname,U.pathname)),ae.pathname.charAt(0)!=="/"&&A(ae.protocol)&&(ae.pathname="/"+ae.pathname),n(ae.port,ae.protocol)||(ae.host=ae.hostname,ae.port=""),ae.username=ae.password="",ae.auth&&(te=ae.auth.indexOf(":"),~te?(ae.username=ae.auth.slice(0,te),ae.username=encodeURIComponent(decodeURIComponent(ae.username)),ae.password=ae.auth.slice(te+1),ae.password=encodeURIComponent(decodeURIComponent(ae.password))):ae.username=encodeURIComponent(decodeURIComponent(ae.auth)),ae.auth=ae.password?ae.username+":"+ae.password:ae.username),ae.origin=ae.protocol!=="file:"&&A(ae.protocol)&&ae.host?ae.protocol+"//"+ae.host:"null",ae.href=ae.toString()}function z(E,U,Y){var Z=this;switch(E){case"query":typeof U=="string"&&U.length&&(U=(Y||a.parse)(U)),Z[E]=U;break;case"port":Z[E]=U,n(U,Z.protocol)?U&&(Z.host=Z.hostname+":"+U):(Z.host=Z.hostname,Z[E]="");break;case"hostname":Z[E]=U,Z.port&&(U+=":"+Z.port),Z.host=U;break;case"host":Z[E]=U,f.test(U)?(U=U.split(":"),Z.port=U.pop(),Z.hostname=U.join(":")):(Z.hostname=U,Z.port="");break;case"protocol":Z.protocol=U.toLowerCase(),Z.slashes=!Y;break;case"pathname":case"hash":if(U){var J=E==="pathname"?"/":"#";Z[E]=U.charAt(0)!==J?J+U:U}else Z[E]=U;break;case"username":case"password":Z[E]=encodeURIComponent(U);break;case"auth":var B=U.indexOf(":");~B?(Z.username=U.slice(0,B),Z.username=encodeURIComponent(decodeURIComponent(Z.username)),Z.password=U.slice(B+1),Z.password=encodeURIComponent(decodeURIComponent(Z.password))):Z.username=encodeURIComponent(decodeURIComponent(U))}for(var ue=0;ue<h.length;ue++){var te=h[ue];te[4]&&(Z[te[1]]=Z[te[1]].toLowerCase())}return Z.auth=Z.password?Z.username+":"+Z.password:Z.username,Z.origin=Z.protocol!=="file:"&&A(Z.protocol)&&Z.host?Z.protocol+"//"+Z.host:"null",Z.href=Z.toString(),Z}function G(E){(!E||typeof E!="function")&&(E=a.stringify);var U,Y=this,Z=Y.host,J=Y.protocol;J&&J.charAt(J.length-1)!==":"&&(J+=":");var B=J+(Y.protocol&&Y.slashes||A(Y.protocol)?"//":"");return Y.username?(B+=Y.username,Y.password&&(B+=":"+Y.password),B+="@"):Y.password?(B+=":"+Y.password,B+="@"):Y.protocol!=="file:"&&A(Y.protocol)&&!Z&&Y.pathname!=="/"&&(B+="@"),(Z[Z.length-1]===":"||f.test(Y.hostname)&&!Y.port)&&(Z+=":"),B+=Z+Y.pathname,U=typeof Y.query=="object"?E(Y.query):Y.query,U&&(B+=U.charAt(0)!=="?"?"?"+U:U),Y.hash&&(B+=Y.hash),B}return x.prototype={set:z,toString:G},x.extractProtocol=N,x.location=v,x.trimLeft=p,x.qs=a,wd=x,wd}var VR=YR();const XR=Wd(VR);var zh=function(n){return n.JSON="application/json",n.OctetStream="application/octet-stream",n.Zip="application/zip",n}({}),QR=function(n){return n.APNG="image/apng",n.AVIF="image/avif",n.GIF="image/gif",n.JPEG="image/jpeg",n.PNG="image/png",n.SVG="image/svg+xml",n.WebP="image/webp",n}({}),KR=function(n){return n.CSS="text/css",n.CSV="text/csv",n.EcmaScript="text/ecmascript",n.HTML="text/html",n.JavaScript="text/javascript",n.Plain="text/plain",n.XML="text/xml",n}({});const FR=Object.freeze({"":"text/plain;charset=ASCII",...cn(Object.values(zh)),...cn(Object.values(KR)),...cn(Object.values(QR))});function JR(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class kR{parse(a){if(this._data={mimeType:"",encoding:"utf8",buffer:new Uint8Array([])},!a.startsWith("data:"))return this;a=a.substring(5);const i=a.split(",");if(i.length<2)return this;const[u,...o]=i;let[f,...d]=u.split(";");const y=d4(d)==="base64";this._data.encoding=y?"base64":"utf8",y&&d.pop(),Object.hasOwnProperty.call(FR,f)||(f=zh.OctetStream,d=[]),f=[f,...d].join(";"),this._data.mimeType=f;let p=o.join("%2C");if(y)try{p=atob(p)}catch{p=""}else p=decodeURIComponent(p);return this._data.buffer=new TextEncoder().encode(p),this}mimeType(a){return this._data.mimeType=a,this}buffer(a){return this._data.buffer=typeof a=="string"?new TextEncoder().encode(a):a,this}encode(a){return this._data.encoding=a,this}build(){const a="data",i=this._data.encoding==="base64"?";base64":"";let u=new TextDecoder("utf8").decode(this._data.buffer);return this._data.encoding==="utf8"&&(u=encodeURIComponent(u),u=u.split("!").join("%21")),this._data.encoding==="base64"&&(u=btoa(u)),`${a}:${this._data.mimeType}${i},${u}`}info(){const a={...this._data};return a.buffer=this._data.buffer.slice(),a}constructor(){JR(this,"_data",void 0),this._data={mimeType:"",encoding:"utf8",buffer:new Uint8Array([])}}}function Do(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class qt{static defaults(a,i){const u=+i;return isNaN(u)||u<1?!0:qt.ProtocolPorts[a]===+i}location(a){this.protocol(a.protocol).hostname(a.hostname).hash(a.hash).path(a.pathname).port(+a.port);let i=a.search;return i.startsWith("?")&&(i=i.slice(1),i.split("&").map(o=>o.split("=")).forEach(o=>this.param(o[0],o[1]))),this}api(a,i="api"){return this.location(a).hash("").path(i)}parse(a){const i=new XR(a,!0);return this.protocol(i.protocol).username(i.username).password(i.password).hostname(i.hostname).hash(i.hash).path(i.pathname).port(i.port?+i.port:void 0),Object.keys(i.query).forEach(u=>this.param(u,i.query[u])),this}gravatar(a,i){let u=this.parse(qt.UrlGravatar);return u=a?u.append(a):u,u=i?u.param("s",String(i)):u,u}youTube(a,i){let u=this.parse(qt.UrlYouTube);return u=a?u.path(`${a}/${i}`):u,a==="watch"&&(u=u.path(a).param("v",i)),u}protocol(a){return this._url.protocol=a,this}username(a){return this._url.username=a,this}password(a){return this._url.password=a,this}hostname(a){return this._url.hostname=a,this}subdomain(a){return this._url.hostname=this._url.hostname?`${a}.${this._url.hostname}`:a,this}popSubdomain(){const a=this._url.hostname.split(".");return a.splice(0,1),this._url.hostname=a.join("."),this}port(a){return this._url.port=a,this}path(a){return this._url.path=[a],this}append(a){return this._url.path.push(a),this}hash(a){return this._url.hash=a,this}param(a,i){return this._url.params.push({key:a,val:i}),this}onlyParam(a,i){return this._url.params=this._url.params.filter(u=>u.key!==a),i?this.param(a,i):this}page(a){return this.onlyParam("page",a==null||a<1?void 0:String(a))}size(a){return this.onlyParam("size",a==null||a<0?void 0:String(a))}search(a){return this.onlyParam("search",a||void 0)}filter(a){return this.onlyParam("filter",a||void 0)}sort(a){return this.onlyParam("sort",a||void 0)}build(){const a=_4(this._url.params,v=>v.key).map(v=>`${v.key}=${encodeURIComponent(v.val)}`).join("&"),i=_t(this._url.username),u=_t(this._url.password);let o=_t(this._url.protocol),f=_t(this._url.hostname),d=String(this._url.port),y=_t(this._url.hash),p=this._url.path.map(v=>_t(v,"/")).join("/"),h="";o=w4(o,"/:"),f=_t(f,"/"),y=oh(y,"#"),p=_t(p,"/"),qt.defaults(o,d)?d="":d=`:${d}`,i&&(h=u?`${i}:${u}@`:`${i}@`);let b=`${o}://${h}${f}${d}`;return p&&(b=`${b}/${p}`),a&&(b=`${b}/?${a}`),y&&(b=`${b}#${y}`),b}info(){return JSON.parse(JSON.stringify(this._url))}constructor(a="http",i="localhost"){Do(this,"_url",void 0),this._url={protocol:a,hostname:i,path:["/"],hash:"",params:[]}}}Do(qt,"UrlGravatar","https://s.gravatar.com/avatar");Do(qt,"UrlYouTube","https://www.youtube.com");Do(qt,"ProtocolPorts",{http:80,https:443,ftp:21,sftp:22,ssh:22,smtp:25,smb:445});var Qs={exports:{}},sb;function PR(){return sb||(sb=1,function(n,a){var i=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof bi<"u"&&bi,u=function(){function f(){this.fetch=!1,this.DOMException=i.DOMException}return f.prototype=i,new f}();(function(f){(function(d){var y=typeof f<"u"&&f||typeof self<"u"&&self||typeof bi<"u"&&bi||{},p={searchParams:"URLSearchParams"in y,iterable:"Symbol"in y&&"iterator"in Symbol,blob:"FileReader"in y&&"Blob"in y&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in y,arrayBuffer:"ArrayBuffer"in y};function h(L){return L&&DataView.prototype.isPrototypeOf(L)}if(p.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(L){return L&&b.indexOf(Object.prototype.toString.call(L))>-1};function A(L){if(typeof L!="string"&&(L=String(L)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(L)||L==="")throw new TypeError('Invalid character in header field name: "'+L+'"');return L.toLowerCase()}function N(L){return typeof L!="string"&&(L=String(L)),L}function C(L){var S={next:function(){var F=L.shift();return{done:F===void 0,value:F}}};return p.iterable&&(S[Symbol.iterator]=function(){return S}),S}function x(L){this.map={},L instanceof x?L.forEach(function(S,F){this.append(F,S)},this):Array.isArray(L)?L.forEach(function(S){if(S.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+S.length);this.append(S[0],S[1])},this):L&&Object.getOwnPropertyNames(L).forEach(function(S){this.append(S,L[S])},this)}x.prototype.append=function(L,S){L=A(L),S=N(S);var F=this.map[L];this.map[L]=F?F+", "+S:S},x.prototype.delete=function(L){delete this.map[A(L)]},x.prototype.get=function(L){return L=A(L),this.has(L)?this.map[L]:null},x.prototype.has=function(L){return this.map.hasOwnProperty(A(L))},x.prototype.set=function(L,S){this.map[A(L)]=N(S)},x.prototype.forEach=function(L,S){for(var F in this.map)this.map.hasOwnProperty(F)&&L.call(S,this.map[F],F,this)},x.prototype.keys=function(){var L=[];return this.forEach(function(S,F){L.push(F)}),C(L)},x.prototype.values=function(){var L=[];return this.forEach(function(S){L.push(S)}),C(L)},x.prototype.entries=function(){var L=[];return this.forEach(function(S,F){L.push([F,S])}),C(L)},p.iterable&&(x.prototype[Symbol.iterator]=x.prototype.entries);function z(L){if(!L._noBody){if(L.bodyUsed)return Promise.reject(new TypeError("Already read"));L.bodyUsed=!0}}function G(L){return new Promise(function(S,F){L.onload=function(){S(L.result)},L.onerror=function(){F(L.error)}})}function E(L){var S=new FileReader,F=G(S);return S.readAsArrayBuffer(L),F}function U(L){var S=new FileReader,F=G(S),I=/charset=([A-Za-z0-9_-]+)/.exec(L.type),se=I?I[1]:"utf-8";return S.readAsText(L,se),F}function Y(L){for(var S=new Uint8Array(L),F=new Array(S.length),I=0;I<S.length;I++)F[I]=String.fromCharCode(S[I]);return F.join("")}function Z(L){if(L.slice)return L.slice(0);var S=new Uint8Array(L.byteLength);return S.set(new Uint8Array(L)),S.buffer}function J(){return this.bodyUsed=!1,this._initBody=function(L){this.bodyUsed=this.bodyUsed,this._bodyInit=L,L?typeof L=="string"?this._bodyText=L:p.blob&&Blob.prototype.isPrototypeOf(L)?this._bodyBlob=L:p.formData&&FormData.prototype.isPrototypeOf(L)?this._bodyFormData=L:p.searchParams&&URLSearchParams.prototype.isPrototypeOf(L)?this._bodyText=L.toString():p.arrayBuffer&&p.blob&&h(L)?(this._bodyArrayBuffer=Z(L.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):p.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(L)||v(L))?this._bodyArrayBuffer=Z(L):this._bodyText=L=Object.prototype.toString.call(L):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof L=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):p.searchParams&&URLSearchParams.prototype.isPrototypeOf(L)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},p.blob&&(this.blob=function(){var L=z(this);if(L)return L;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 L=z(this);return L||(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(p.blob)return this.blob().then(E);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var L=z(this);if(L)return L;if(this._bodyBlob)return U(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Y(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},p.formData&&(this.formData=function(){return this.text().then(ze)}),this.json=function(){return this.text().then(JSON.parse)},this}var B=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ue(L){var S=L.toUpperCase();return B.indexOf(S)>-1?S:L}function te(L,S){if(!(this instanceof te))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');S=S||{};var F=S.body;if(L instanceof te){if(L.bodyUsed)throw new TypeError("Already read");this.url=L.url,this.credentials=L.credentials,S.headers||(this.headers=new x(L.headers)),this.method=L.method,this.mode=L.mode,this.signal=L.signal,!F&&L._bodyInit!=null&&(F=L._bodyInit,L.bodyUsed=!0)}else this.url=String(L);if(this.credentials=S.credentials||this.credentials||"same-origin",(S.headers||!this.headers)&&(this.headers=new x(S.headers)),this.method=ue(S.method||this.method||"GET"),this.mode=S.mode||this.mode||null,this.signal=S.signal||this.signal||function(){if("AbortController"in y){var re=new AbortController;return re.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&F)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(F),(this.method==="GET"||this.method==="HEAD")&&(S.cache==="no-store"||S.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()}}}te.prototype.clone=function(){return new te(this,{body:this._bodyInit})};function ze(L){var S=new FormData;return L.trim().split("&").forEach(function(F){if(F){var I=F.split("="),se=I.shift().replace(/\+/g," "),re=I.join("=").replace(/\+/g," ");S.append(decodeURIComponent(se),decodeURIComponent(re))}}),S}function We(L){var S=new x,F=L.replace(/\r?\n[\t ]+/g," ");return F.split("\r").map(function(I){return I.indexOf(`
31
+ `)===0?I.substr(1,I.length):I}).forEach(function(I){var se=I.split(":"),re=se.shift().trim();if(re){var O=se.join(":").trim();try{S.append(re,O)}catch(Q){console.warn("Response "+Q.message)}}}),S}J.call(te.prototype);function Me(L,S){if(!(this instanceof Me))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(S||(S={}),this.type="default",this.status=S.status===void 0?200:S.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=S.statusText===void 0?"":""+S.statusText,this.headers=new x(S.headers),this.url=S.url||"",this._initBody(L)}J.call(Me.prototype),Me.prototype.clone=function(){return new Me(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new x(this.headers),url:this.url})},Me.error=function(){var L=new Me(null,{status:200,statusText:""});return L.ok=!1,L.status=0,L.type="error",L};var ae=[301,302,303,307,308];Me.redirect=function(L,S){if(ae.indexOf(S)===-1)throw new RangeError("Invalid status code");return new Me(null,{status:S,headers:{location:L}})},d.DOMException=y.DOMException;try{new d.DOMException}catch{d.DOMException=function(S,F){this.message=S,this.name=F;var I=Error(S);this.stack=I.stack},d.DOMException.prototype=Object.create(Error.prototype),d.DOMException.prototype.constructor=d.DOMException}function mt(L,S){return new Promise(function(F,I){var se=new te(L,S);if(se.signal&&se.signal.aborted)return I(new d.DOMException("Aborted","AbortError"));var re=new XMLHttpRequest;function O(){re.abort()}re.onload=function(){var P={statusText:re.statusText,headers:We(re.getAllResponseHeaders()||"")};se.url.indexOf("file://")===0&&(re.status<200||re.status>599)?P.status=200:P.status=re.status,P.url="responseURL"in re?re.responseURL:P.headers.get("X-Request-URL");var ce="response"in re?re.response:re.responseText;setTimeout(function(){F(new Me(ce,P))},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(P){try{return P===""&&y.location.href?y.location.href:P}catch{return P}}if(re.open(se.method,Q(se.url),!0),se.credentials==="include"?re.withCredentials=!0:se.credentials==="omit"&&(re.withCredentials=!1),"responseType"in re&&(p.blob?re.responseType="blob":p.arrayBuffer&&(re.responseType="arraybuffer")),S&&typeof S.headers=="object"&&!(S.headers instanceof x||y.Headers&&S.headers instanceof y.Headers)){var ee=[];Object.getOwnPropertyNames(S.headers).forEach(function(P){ee.push(A(P)),re.setRequestHeader(P,N(S.headers[P]))}),se.headers.forEach(function(P,ce){ee.indexOf(ce)===-1&&re.setRequestHeader(ce,P)})}else se.headers.forEach(function(P,ce){re.setRequestHeader(ce,P)});se.signal&&(se.signal.addEventListener("abort",O),re.onreadystatechange=function(){re.readyState===4&&se.signal.removeEventListener("abort",O)}),re.send(typeof se._bodyInit>"u"?null:se._bodyInit)})}return mt.polyfill=!0,y.fetch||(y.fetch=mt,y.Headers=x,y.Request=te,y.Response=Me),d.Headers=x,d.Request=te,d.Response=Me,d.fetch=mt,d})({})})(u),u.fetch.ponyfill=!0,delete u.fetch.polyfill;var o=i.fetch?i:u;a=o.fetch,a.default=o.fetch,a.fetch=o.fetch,a.Headers=o.Headers,a.Request=o.Request,a.Response=o.Response,n.exports=a}(Qs,Qs.exports)),Qs.exports}var WR=PR();const IR=Wd(WR);function ob(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class bn{static duplicate(a){return{...a,headers:structuredClone(a.headers)}}_method(a,i){return this._request.method=a,this._request.body=i,this._request.body===void 0&&delete this._request.body,this}get(){return this._method("GET")}post(a){return this._method("POST",a).json()}put(a){return this._method("PUT",a).json()}delete(){return this._method("DELETE")}patch(a){return this._method("PATCH",a).json()}options(){return this._method("OPTIONS")}head(){return this._method("HEAD")}url(a){return this._request.url=a,this}timeout(a){return this._request.timeout=a,this}headers(a){return this._request.headers=a,this}header(a,i){return this._request.headers=this._request.headers||{},i==null?delete this._request.headers[a]:this._request.headers[a]=`${i}`,this}content(a){return this.header("Content-Type",a)}copy(a){return this._request=bn.duplicate(a),this}build(){return bn.duplicate(this._request)}constructor(){ob(this,"_request",void 0),ob(this,"json",this.content.bind(this,zh.JSON)),this._request={method:"GET",url:""}}}var uo=function(n){return n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.LengthRequired=411]="LengthRequired",n[n.PreconditionFailed=412]="PreconditionFailed",n[n.PayloadTooLarge=413]="PayloadTooLarge",n[n.URITooLong=414]="URITooLong",n[n.UnsupportedMediaType=415]="UnsupportedMediaType",n[n.RangeNotSatisfiable=416]="RangeNotSatisfiable",n[n.ExpectationFailed=417]="ExpectationFailed",n[n.ImATeapot=418]="ImATeapot",n[n.MisdirectedRequest=421]="MisdirectedRequest",n[n.UnProcessableEntity=422]="UnProcessableEntity",n[n.Locked=423]="Locked",n[n.FailedDependency=424]="FailedDependency",n[n.UpgradeRequired=426]="UpgradeRequired",n[n.PreconditionRequired=428]="PreconditionRequired",n[n.TooManyRequests=429]="TooManyRequests",n[n.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",n[n.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",n}({});const eM={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"},tM={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!"},nM={100:"Continue",101:"Switching Protocols",102:"Processing",103:"Early Hints"},aM={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."},rM={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"},iM={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 lM=function(n){return n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",n[n.HttpVersionNotSupported=505]="HttpVersionNotSupported",n[n.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",n[n.InsufficientStorage=507]="InsufficientStorage",n[n.LoopDetected=508]="LoopDetected",n[n.NotExtended=510]="NotExtended",n[n.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",n}({});const uM={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"},sM={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 oM=function(n){return n[n.OK=200]="OK",n[n.Created=201]="Created",n[n.Accepted=202]="Accepted",n[n.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",n[n.NoContent=204]="NoContent",n[n.ResetContent=205]="ResetContent",n[n.PartialContent=206]="PartialContent",n[n.MultiStatus=207]="MultiStatus",n[n.AlreadyReported=208]="AlreadyReported",n[n.IMUsed=226]="IMUsed",n}({});const cM={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"},fM={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 dM(n){return nM[n]||cM[n]||rM[n]||eM[n]||uM[n]}function hM(n){return aM[n]||fM[n]||iM[n]||tM[n]||sM[n]}function mM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class cb{data(a){return this._result.data=a,this}status(a){return this._result.status=a,this}headers(a={}){return this._result.headers=a,this}build(){return{...this._result}}constructor(a){mM(this,"_result",void 0),this._result={status:oM.OK,headers:{},data:a}}}function pM(n){return n==null||typeof n=="string"||n instanceof Blob||n instanceof ArrayBuffer||ArrayBuffer.isView(n)||n instanceof FormData||n instanceof URLSearchParams||n instanceof ReadableStream}function yM(n){const a=n.headers.get("content-type");return a?.startsWith("application/json")||a?.endsWith("+json")?n.json():a?.startsWith("multipart/form-data")?n.formData():a?.startsWith("text")||a?.endsWith("+xml")?n.text():n.blob()}class $h{async request(a){try{const i=await IR(a.url,{method:a.method,body:pM(a.body)?a.body:JSON.stringify(a.body),headers:a.headers,redirect:"follow"}),u=await yM(i),o=new cb(u).headers(i.headers).status(i.status).build();return i.ok?Promise.resolve(o):Promise.reject(o)}catch(i){let u=new cb(i.message).headers().status(lM.InternalServerError);return i.code==="ENOTFOUND"&&(u=u.status(uo.NotFound)),Promise.reject(u.build())}}}function gM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class C1 extends we{async message(){return await this.driver.select(".ZAlert-message")}async heading(){const[a]=await this.driver.query(".ZAlert-heading");return W(null,a)}async avatar(){const[a]=await this.driver.query(".ZAlert-avatar");return W(null,a)}async fashion(){return this.driver.attribute("data-fashion","")}}gM(C1,"Selector",".ZAlert-root");const N1=R.createContext(new yv().build());function Le(){return R.useContext(N1)}const bM=R.createContext(new ch);function Tt(){return R.useContext(bM)}const vM=R.createContext(new T4);function va(){return R.useContext(vM)}function z1(n){return UO(n)}function Ke(n){return qO(n)}function _M(n){const a=R.useRef(Er),i=kA(),u=R.useCallback(()=>{const{name:o,styles:f}=Ws(n),d=new Sv({key:`global-${o}`,container:i.document.head});return(p=>Kd(c5(p),h5([d5,m5(h=>{d.insert(h)})])))(f),()=>d.flush()},[n]);R.useEffect(()=>(a.current.call(null),a.current=u(),()=>a.current.call(null)),[u])}function wM(n){const{children:a,className:i}=n,{body:u}=Le();return _M(Be`
32
+ body {
33
+ background-color: ${u.idle.main};
34
+ color: ${u.idle.contrast};
35
+ margin: 0;
36
+ position: relative;
37
+ height: 100vh;
38
+ }
39
+ `),_.jsx("div",{className:me("ZStyled-root",i),children:a})}function Dh(n){const a=Le(),i=Tt(),{primary:u}=a,{heading:o,name:f,className:d,avatar:y,message:p,fashion:h=u}=n,b=new Pt(h),v=i.thickness(j.ExtraSmall),A=i.gap(j.Small),N=i.gap(j.ExtraSmall),C=Ke(Be`
40
+ &.ZAlert-root {
41
+ align-items: center;
42
+ background: ${b.idle.main};
43
+ border-color: ${b.idle.border};
44
+ border-radius: 0.25rem;
45
+ border-style: double;
46
+ box-shadow: 0 0 0 ${v} ${b.idle.border};
47
+ color: ${b.idle.contrast};
48
+ display: grid;
49
+ grid-template-columns: auto auto 1fr;
50
+ grid-template-areas:
51
+ "avatar heading ."
52
+ "avatar message .";
53
+ padding: ${A} ${N};
54
+ }
55
+
56
+ .ZAlert-avatar {
57
+ grid-area: avatar;
58
+ margin-right: ${i.gap(j.Medium)};
59
+ }
60
+
61
+ .ZAlert-heading {
62
+ grid-area: heading;
63
+ margin-bottom: ${i.gap(j.Small)};
64
+ }
65
+
66
+ .ZAlert-message {
67
+ grid-area: message;
68
+ }
69
+ `);return _.jsxs("div",{className:me("ZAlert-root",d,C),"data-name":f,"data-fashion":h.name,role:"alert",children:[y&&_.jsx("div",{className:"ZAlert-avatar",children:y}),o&&_.jsx("div",{className:"ZAlert-heading",children:o}),_.jsx("div",{className:"ZAlert-message",children:p})]})}function SM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Uh extends we{async part(a){const[i]=await this.driver.query(`.ZContentTitle-${a}`);return i||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")}}SM(Uh,"Selector",".ZContentTitle-root");function xM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class EM extends we{title(){return Je.first(this.driver,Uh)}main(){return this.driver.select(".ZBannerMain-content")}}xM(EM,"Selector",".ZBannerMain-root");function TM(n){const{primary:a}=Le(),i=Tt(),{children:u,className:o,fashion:f}=n,d=new Pt(W(a,f)),y=Ke(Be`
70
+ &.ZBanner-root {
71
+ background: ${d.idle.main};
72
+ box-sizing: border-box;
73
+ color: ${d.idle.contrast};
74
+ left: 0;
75
+ padding: ${i.gap(j.ExtraSmall)}
76
+ ${i.gap(j.Small)};
77
+ position: sticky;
78
+ right: 0;
79
+ top: 0;
80
+ z-index: 1100;
81
+ }
82
+ `);return _.jsx("div",{className:me("ZBanner-root",o,y),role:"banner",children:u})}const Zl={...jt(du(1.4,18),"rem"),...Sn(),...Ka()};function qh(n){const a=va(),i=Tt(),{transparent:u}=Le(),{border:o,className:f,children:d,cursor:y,fashion:p,interactive:h,justification:b,margin:v,padding:A,width:N,...C}=n,x=h?0:void 0,z=new Pt(W(u,p)),G=new js("solid").from(o?.style).build(),E=new js(qn.None).from(o?.width).build(),U=new rx(qn.None).from(o?.radius).build(),Y=new js(qn.None).from(A).build(),Z=new js(qn.None).from(v).build(),J=new Ut(N,Re.Full),B=Ke(Be`
83
+ & {
84
+ background-color: ${z.idle.main};
85
+ border-color: ${z.idle.border};
86
+
87
+ border-bottom-style: ${G.bottom};
88
+ border-left-style: ${G.left};
89
+ border-right-style: ${G.right};
90
+ border-top-style: ${G.top};
91
+
92
+ border-bottom-width: ${i.thickness(E.bottom)};
93
+ border-left-width: ${i.thickness(E.left)};
94
+ border-right-width: ${i.thickness(E.right)};
95
+ border-top-width: ${i.thickness(E.top)};
96
+
97
+ border-bottom-left-radius: ${i.rounding(U.bottomLeft)};
98
+ border-bottom-right-radius: ${i.rounding(U.bottomRight)};
99
+ border-top-left-radius: ${i.rounding(U.topLeft)};
100
+ border-top-right-radius: ${i.rounding(U.topRight)};
101
+
102
+ display: block;
103
+ color: ${z.idle.contrast};
104
+ cursor: ${y};
105
+
106
+ padding-bottom: ${i.gap(Y.bottom)};
107
+ padding-left: ${i.gap(Y.left)};
108
+ padding-right: ${i.gap(Y.right)};
109
+ padding-top: ${i.gap(Y.top)};
110
+
111
+ margin-bottom: ${i.gap(Z.bottom)};
112
+ margin-left: ${i.gap(Z.left)};
113
+ margin-right: ${i.gap(Z.right)};
114
+ margin-top: ${i.gap(Z.top)};
115
+
116
+ max-width: ${Zl[J.xl]};
117
+
118
+ text-align: ${b};
119
+ }
120
+
121
+ &:focus {
122
+ background-color: ${h?z.focus.main:z.idle.main};
123
+ border-color: ${h?z.focus.border:z.idle.border};
124
+ color: ${h?z.focus.contrast:z.idle.contrast};
125
+ }
126
+
127
+ &:hover {
128
+ background-color: ${h?z.hover.main:z.idle.main};
129
+ border-color: ${h?z.hover.border:z.idle.border};
130
+ color: ${h?z.hover.contrast:z.idle.contrast};
131
+ }
132
+
133
+ ${a.break(j.Large)} {
134
+ & {
135
+ max-width: ${Zl[J.lg]};
136
+ }
137
+ }
138
+
139
+ ${a.break(j.Medium)} {
140
+ & {
141
+ max-width: ${Zl[J.md]};
142
+ }
143
+ }
144
+
145
+ ${a.break(j.Small)} {
146
+ & {
147
+ max-width: ${Zl[J.sm]};
148
+ }
149
+ }
150
+
151
+ ${a.break(j.ExtraSmall)} {
152
+ & {
153
+ max-width: ${Zl[J.xs]};
154
+ }
155
+ }
156
+ `);return _.jsx("div",{...C,className:me("ZBox-root",f,B),tabIndex:x,children:d})}function OM(n){const{basis:a,children:i,className:u,grow:o,shrink:f}=n;return _.jsx("div",{className:me("ZFlex-root",u),style:{flexBasis:a,flexGrow:o,flexShrink:f},children:i})}const Mn=Sn();function at(n){const{className:a,align:i,justify:u,gap:o,name:f,orientation:d,children:y,inline:p,wrap:h,height:b,width:v,...A}=n,N=va(),C=Tt(),x=p?"inline-flex":"flex",z=d===Ln.Horizontal?"row":"column",G=C.gap(W(qn.None,o)),E=W("stretch",i?.items),U=W("normal",i?.content),Y=W("start",u?.content),Z=W("nowrap",h),J=new Ut(v,Re.Default),B=new Ut(b,Re.Default),ue=Ke(Be`
157
+ & {
158
+ align-content: ${U};
159
+ align-items: ${E};
160
+ display: ${x};
161
+ flex-direction: ${z};
162
+ flex-wrap: ${Z};
163
+ gap: ${G};
164
+ height: ${Mn[B.xl]};
165
+ justify-content: ${Y};
166
+ width: ${Mn[J.xl]};
167
+ }
168
+
169
+ ${N.break(j.Large)} {
170
+ height: ${Mn[B.lg]};
171
+ width: ${Mn[J.lg]};
172
+ }
173
+
174
+ ${N.break(j.Medium)} {
175
+ height: ${Mn[B.md]};
176
+ width: ${Mn[J.md]};
177
+ }
178
+
179
+ ${N.break(j.Small)} {
180
+ height: ${Mn[B.sm]};
181
+ width: ${Mn[J.sm]};
182
+ }
183
+
184
+ ${N.break(j.ExtraSmall)} {
185
+ height: ${Mn[B.xs]};
186
+ width: ${Mn[J.xs]};
187
+ }
188
+ `);return _.jsx("div",{className:me("ZStack-root",ue,a),...A,"data-orientation":d,"data-name":f,"data-inline":p,children:y})}const Hl={xs:"0.9rem",sm:"1rem",md:"1.3rem",lg:"2rem",xl:"2.5rem"},AM={thin:100,light:300,regular:400,medium:500,bold:700,black:900};function $1(n){const{inherit:a}=Le(),i=Tt(),u=va(),{compact:o,fashion:f,size:d,transform:y,weight:p}=n,h=new Pt(W(a,f)),b=W("regular",p),v=W(j.Medium,d);return Ke(Be`
189
+ & {
190
+ color: ${h.idle.main};
191
+ font-family: Roboto, Arial, sans-serif;
192
+ font-weight: ${AM[b]};
193
+ font-size: calc(${Hl[v]} * 1.2);
194
+ margin: 0;
195
+ margin-bottom: ${o?0:i.gap(j.Medium)};
196
+ text-transform: ${y};
197
+ }
198
+
199
+ ${u.break(j.Large)} {
200
+ & {
201
+ font-size: calc(${Hl[v]} * 1.15);
202
+ }
203
+ }
204
+
205
+ ${u.break(j.Medium)} {
206
+ & {
207
+ font-size: calc(${Hl[v]} * 1.1);
208
+ }
209
+ }
210
+
211
+ ${u.break(j.Small)} {
212
+ & {
213
+ font-size: calc(${Hl[v]} * 1.05);
214
+ }
215
+ }
216
+
217
+ ${u.break(j.ExtraSmall)} {
218
+ & {
219
+ font-size: ${Hl[v]};
220
+ }
221
+ }
222
+ `)}function Wa(n){const{Element:a="div",children:i,className:u,compact:o,fashion:f,name:d,size:y,transform:p,weight:h,...b}=n,v=$1(n);return _.jsx(a,{...b,className:me("ZTypography-root",u,v),"data-compact":o,"data-fashion":f?.name,"data-name":d,"data-size":y,"data-weight":h,"data-transform":p,children:i})}const RM=({className:n,...a})=>_.jsx(Wa,{Element:"h1",...a,className:me("ZH1-root",n),size:j.ExtraLarge,weight:"black"}),D1=({className:n,...a})=>_.jsx(Wa,{Element:"h2",...a,className:me("ZH2-root",n),size:j.Large,weight:"black"}),Wl=({className:n,...a})=>_.jsx(Wa,{Element:"h3",...a,className:me("ZH3-root",n),size:j.Medium,weight:"black"}),MM=({className:n,...a})=>_.jsx(Wa,{Element:"h5",...a,className:me("ZH5-root",n),size:j.Small,transform:"uppercase",weight:"bold"}),Uo=({className:n,...a})=>_.jsx(Wa,{Element:"p",...a,className:me("ZParagraph-root",n),size:j.Small,weight:"regular"}),ka=({className:n,...a})=>_.jsx(Wa,{Element:"sub",...a,className:me("ZCaption-root",n),size:j.ExtraSmall,weight:"regular"}),CM=({className:n,...a})=>_.jsx(Wa,{Element:"sub",...a,className:me("ZSubtitle-root",n),size:j.Small,weight:"bold"}),NM=({className:n,...a})=>_.jsx(Wa,{Element:"div",...a,className:me("ZButtonText-root",n),size:j.Small,weight:"bold",transform:"uppercase"});function wr(n){const{avatar:a,className:i,heading:u,prefix:o,subHeading:f,suffix:d}=n,y=R.useMemo(()=>u==null||R.isValidElement(u)?u:_.jsx(D1,{compact:!0,children:u}),[u]),p=R.useMemo(()=>f==null||R.isValidElement(f)?f:_.jsx(CM,{compact:!0,children:f}),[f]),h=(b,v,A="div")=>b==null?null:_.jsx(A,{className:`ZContentTitle-${v}`,children:b});return _.jsxs(at,{align:{items:"center"},className:me("ZContentTitle-root",i),orientation:Ln.Horizontal,gap:j.Small,children:[h(a,"avatar"),_.jsxs(at,{orientation:Ln.Vertical,gap:j.ExtraSmall,children:[h(y,"heading","header"),h(p,"sub-heading","sub")]}),_.jsx(OM,{grow:1,children:h(o,"prefix")}),h(d,"suffix")]})}function zM(n){const{children:a,TitleProps:i}=n,{primary:u}=Le();return _.jsxs(wM,{className:"ZBannerMain-root",children:[_.jsx(TM,{className:"ZBannerMain-header",fashion:u,children:_.jsx(wr,{...i})}),_.jsx(qh,{padding:j.Large,children:_.jsx("main",{className:"ZBannerMain-content",children:a})})]})}const Gl=jt(du(2,1),"rem");function $M(n){const{inherit:a}=Le(),i=va(),{width:u=j.Small,fashion:o,onClick:f}=n,d=new Ut(u,j.Small),y=new Pt(W(a,o));return Ke(Be`
223
+ & {
224
+ color: ${y.idle.main};
225
+ cursor: ${f?"pointer":"inherit"};
226
+ font-size: ${Gl[d.xl]};
227
+ }
228
+
229
+ &:hover {
230
+ color: ${f?y.hover.main:void 0};
231
+ }
232
+
233
+ ${i.break(j.Large)} {
234
+ & {
235
+ font-size: ${Gl[d.lg]};
236
+ }
237
+ }
238
+
239
+ ${i.break(j.Medium)} {
240
+ & {
241
+ font-size: ${Gl[d.md]};
242
+ }
243
+ }
244
+
245
+ ${i.break(j.Small)} {
246
+ & {
247
+ font-size: ${Gl[d.sm]};
248
+ }
249
+ }
250
+
251
+ ${i.break(j.ExtraSmall)} {
252
+ & {
253
+ font-size: ${Gl[d.xs]};
254
+ }
255
+ }
256
+ `)}function DM(n){const a=document;R.useEffect(()=>{if(!a.querySelector(`link[href="${n}"]`)){const u=a.createElement("link");u.rel="stylesheet",u.href=n,a.head.appendChild(u)}},[])}const UM="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css",qM="font-awesome";function nt(n){const{name:a,className:i,animation:u,family:o="classic",style:f="solid",onClick:d,fashion:y}=n,p=$M(n);DM(UM);const{onKey:h,tabIndex:b}=wh(d),v=u?`fa-${u}`:void 0;return _.jsx("span",{className:me("ZIcon-root","ZIcon-font-awesome",`fa-${o}`,`fa-${f}`,`fa-${a}`,v,i,p),onClick:d,onKeyDown:h,tabIndex:b,"data-fashion":y?.name,"data-family":o,"data-style":f,"data-name":a,"data-vendor":qM})}function jh(n){const{error:a}=Le(),i=Tt(),{children:u,className:o,required:f,htmlFor:d,...y}=n,p=$1({compact:!0,weight:"bold",size:j.Small}),h=Ke(Be`
257
+ & {
258
+ display: block;
259
+ }
260
+
261
+ &[data-required="true"]::after {
262
+ content: "*";
263
+ color: ${a.idle.main};
264
+ margin-left: ${i.thickness(j.Medium)};
265
+ }
266
+ `);return _.jsx("label",{...y,className:me("ZLabel-root",h,p,o),htmlFor:d,"data-required":f,children:u})}function U1(n){const{children:a,className:i,label:u,name:o,gap:f=j.ExtraSmall,orientation:d=Ln.Vertical,LabelProps:y,position:p="prefix",...h}=n,b=d===Ln.Horizontal?"center":void 0,v=A=>p===A&&u&&_.jsx(jh,{...y,children:u});return _.jsxs(at,{...h,align:{items:b},className:me("ZLabeled-root",i),orientation:d,gap:f,name:o,children:[v("prefix"),_.jsx(at,{inline:!0,children:a}),v("suffix")]})}function jM(n){const{component:a,primary:i}=Le(),{className:u,disabled:o,label:f,value:d,onValueChange:y,name:p,fashion:h=i,required:b}=n,v=Tt(),A=R.useRef(document.createElement("span")),[N,C]=Mo(d,y,!1),x=R.useMemo(()=>new Pt(h),[h]),z=!!N,G=R.useId(),E="1.25rem",U="2rem",Y="0.75rem",Z=Ke(Be`
267
+ & .ZLabel-root {
268
+ cursor: pointer;
269
+ }
270
+
271
+ & .ZBoolean-toggler {
272
+ position: relative;
273
+ display: inline-block;
274
+ width: ${U};
275
+ height: ${Y};
276
+ margin: calc(${E} / 4) 0;
277
+ }
278
+
279
+ input {
280
+ display: none;
281
+ }
282
+
283
+ .ZBoolean-value {
284
+ position: absolute;
285
+ cursor: pointer;
286
+ inset: 0;
287
+ background-color: ${a.idle.main};
288
+ transition: 0.4s;
289
+ border-radius: ${v.rounding(j.Medium)};
290
+ }
291
+
292
+ .ZBoolean-value:before {
293
+ position: absolute;
294
+ content: "";
295
+ height: ${E};
296
+ width: ${E};
297
+ background-color: ${a.idle.contrast};
298
+ transition: 0.4s;
299
+ border-radius: ${v.rounding(Re.Full)};
300
+ bottom: calc(${Y} / 2 - ${E} / 2);
301
+ }
302
+
303
+ input:checked + .ZBoolean-value {
304
+ background-color: ${x.idle.main};
305
+ }
306
+
307
+ input:checked + .ZBoolean-value:before {
308
+ transform: translateX(calc(${U} / 2));
309
+ }
310
+
311
+ &:focus-within .ZBoolean-value {
312
+ outline: none;
313
+ }
314
+
315
+ &:focus-within .ZBoolean-value::before {
316
+ background-color: ${x.focus.main};
317
+ box-shadow: 0 0 0.25rem 0.25rem ${x.focus.border};
318
+ }
319
+ `),J=()=>{o||C(!z)},B=We=>C(We.currentTarget.checked),{tabIndex:ue,onKey:te}=wh(J),ze=async()=>A.current.focus();return _.jsx(U1,{className:me("ZBoolean-root","ZBoolean-switch",Z,u),label:f,name:p,LabelProps:{required:b,htmlFor:G},orientation:Ln.Horizontal,position:"suffix","data-fashion":h.name,onClick:ze,children:_.jsxs("div",{className:"ZBoolean-toggler",children:[_.jsx("input",{id:G,type:"checkbox",checked:z,disabled:o,onChange:B,name:p}),_.jsx("span",{className:"ZBoolean-value",tabIndex:ue,onKeyDown:te,onClick:J,ref:A})]})})}function BM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class bu extends we{text(){return this.driver.text()}async required(){return await this.driver.attribute("data-required")==="true"}async click(){const a=new Xe().click().build();await this.driver.perform(a)}}BM(bu,"Selector",".ZLabel-root");function LM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class q1 extends we{async _input(){return this.driver.select('input[type="checkbox"]')}async _value(){const[a]=await this.driver.query(".ZBoolean-value");return a}async disabled(){return(await this._input()).disabled()}async label(){return Je.optional(this.driver,bu)}fashion(){return this.driver.attribute("data-fashion")}async value(){const a=await this._input();return await a.attribute("data-indeterminate")==="true"?null:a.selected()}async toggle(a){if(await this.value()===a)return;const u=await this._value(),o=new Xe().click().build();await u.perform(o)}}LM(q1,"Selector",".ZBoolean-root");function ZM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class HM extends we{click(){return this.driver.perform(new Xe().click().build())}}ZM(HM,"Selector",".ZBox-root");function GM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class kd extends we{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 Xe().click().build())}}GM(kd,"Selector",".ZLink-root");function YM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class j1 extends we{async items(){return(await this.driver.query(".ZBreadcrumbs-item")).map(a=>new kd(a))}async item(a){const[i]=await this.driver.query(`.ZBreadcrumbs-item[data-name="${a}"]`);return i?new kd(i):null}}YM(j1,"Selector",".ZBreadcrumbs-root");function VM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class XM extends we{breadcrumbs(){return Je.first(this.driver,j1,"outlet-breadcrumbs")}}VM(XM,"Selector",".ZBreadcrumbOutlet-root");function QM(n){const{primary:a}=Le(),{className:i,name:u,href:o,fashion:f,label:d,...y}=n,p=new Pt(W(a,f)),h=Ke(Be`
320
+ & {
321
+ color: ${p.idle.main};
322
+ text-decoration: none;
323
+ }
324
+
325
+ &:active {
326
+ color: ${p.active.main};
327
+ }
328
+
329
+ &:hover {
330
+ color: ${p.hover.main};
331
+ }
332
+
333
+ &:focus {
334
+ color: ${p.focus.main};
335
+ }
336
+ `);return _.jsx("a",{...y,className:me("ZLink-root",h,i),href:o,"data-name":u,role:"link",children:_.jsx(Uo,{Element:"div",compact:!0,children:d})})}const KM=MR,Xa=x1,FM=lR,JM=rR,Bi=Ah,kM=ba,Bh=V5;function Li(n){const{body:a}=Le(),i=Tt(),{className:u,name:o,home:f,onPathSelected:d}=n,y=kM(),p=R.useMemo(()=>{const v=y.pathname.split("/").filter(C=>!!C.trim()),A=f?{name:f.name,path:f.path||"/"}:void 0,N=[];for(let C=0;C<v.length;++C){const x=N[C-1]?.path||"",z=v[C],G=`${x}/${z}`;N.push({name:z,path:G})}return A?[A,...N]:N},[y,f]),h=Ke(Be`
337
+ & {
338
+ color: ${a.idle.contrast};
339
+ display: flex;
340
+ flex-wrap: nowrap;
341
+ gap: ${i.gap(j.ExtraSmall)};
342
+ }
343
+ `),b=(v,A)=>{const N=`#${v.path}`;return _.jsxs(R.Fragment,{children:[_.jsx(QM,{className:"ZBreadcrumbs-item",href:N,label:v.name,name:v.path,onClick:()=>d?.call(null,N)}),A<p.length-1&&_.jsx(Uo,{compact:!0,children:"/"})]},v.path)};return _.jsx("div",{className:me("ZBreadcrumbs-root","ZBreadcrumbs-location",h,u),"data-name":o,children:p.map(b)})}function PM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class WM extends we{async click(){const a=new Xe().click().build();await this.driver.perform(a)}borderSize(){return this.driver.attribute("data-border-size",qn.None)}fashion(){return this.driver.attribute("data-fashion","")}}PM(WM,"Selector",".ZBubble-root");({...jt(du(2,1),"rem")});function IM(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class fa extends we{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 a=new Xe().click().build();return this.driver.perform(a)}}IM(fa,"Selector",".ZButton-root");const Yl=Sn();function Ni(n){const{avatar:a,className:i,borderless:u,compact:o,disabled:f,fashion:d,label:y,name:p,outline:h,type:b="button",width:v,...A}=n,N=va(),{component:C}=Le(),x=Tt(),z=new Pt(W(C,d)),G=new Ut(v,Re.Default),E=Ke(Be`
344
+ & {
345
+ border-radius: 0.375rem;
346
+ display: inline-flex;
347
+ font-family: inherit;
348
+ font-size: inherit;
349
+ gap: ${x.gap(j.ExtraSmall)};
350
+ justify-content: center;
351
+ overflow: hidden;
352
+ position: relative;
353
+ background: ${h?"transparent":z.idle.main};
354
+ border-color: ${z.idle.main};
355
+ border-style: ${u?"none":"solid"};
356
+ color: ${h?z.idle.main:z.idle.contrast};
357
+ padding: ${o?0:x.gap(j.ExtraSmall)};
358
+ width: ${Yl[G.xl]};
359
+ }
360
+
361
+ &:focus {
362
+ outline-style: solid;
363
+ outline-width: ${x.thickness(j.Medium)};
364
+ border-color: ${z.focus.main};
365
+ outline-color: ${z.focus.border};
366
+ }
367
+
368
+ &:hover:not([disabled]) {
369
+ background-color: ${z.hover.main};
370
+ border-color: ${z.hover.border};
371
+ color: ${z.hover.contrast};
372
+ cursor: pointer;
373
+ }
374
+
375
+ &:active:not([disabled]) {
376
+ background-color: ${z.active.main};
377
+ border-color: ${z.active.border};
378
+ color: ${z.active.contrast};
379
+ }
380
+
381
+ &:disabled {
382
+ opacity: 0.25;
383
+ }
384
+
385
+ ${N.break(j.Large)} {
386
+ & {
387
+ width: ${Yl[G.lg]};
388
+ }
389
+ }
390
+
391
+ ${N.break(j.Medium)} {
392
+ & {
393
+ width: ${Yl[G.md]};
394
+ }
395
+ }
396
+
397
+ ${N.break(j.Small)} {
398
+ & {
399
+ width: ${Yl[G.sm]};
400
+ }
401
+ }
402
+
403
+ ${N.break(j.ExtraSmall)} {
404
+ & {
405
+ width: ${Yl[G.xs]};
406
+ }
407
+ }
408
+ `);return _.jsx("button",{...A,className:me("ZButton-root",i,E),disabled:f,name:p,type:b,"data-borderless":u,"data-compact":o,"data-fashion":d?.name,"data-outline":h,children:_.jsxs(at,{align:{items:"center"},orientation:Ln.Horizontal,gap:j.Small,inline:!0,children:[a,_.jsx(NM,{Element:"div",compact:!0,className:"ZButton-content",children:y})]})})}function eC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class B1 extends we{title(){return Je.first(this.driver,Uh)}fashion(){return this.driver.attribute("data-fashion","Surface")}content(){return this.driver.select(".ZCard-content")}async footer(){const[a]=await this.driver.query(".ZCard-footer");return a||null}}eC(B1,"Selector",".ZCard-root");const Vl={...jt(du(1.5,15),"rem"),...Sn(),...Ka()},Xl={...jt(da(5,20),"rem"),...Sn(),...Ka()};function _n(n){const{surface:a}=Le(),i=Tt(),u=va(),{className:o,children:f,footer:d,fashion:y,name:p,width:h,height:b,TitleProps:v}=n,A=W(a,y),N=new Pt(A),C=new Ut(h,Re.Default),x=new Ut(b,Re.Default),z=Ke(Be`
409
+ & {
410
+ background-color: ${a.idle.main};
411
+ box-shadow: 0 0.2rem 8pt #101010;
412
+ color: ${a.idle.contrast};
413
+ max-width: ${Vl[C.xl]};
414
+ min-height: ${Xl[x.xl]};
415
+ }
416
+
417
+ > .ZCard-header {
418
+ background-color: ${N.idle.main};
419
+ color: ${N.idle.contrast};
420
+ padding: ${i.gap(j.Small)};
421
+ }
422
+
423
+ > .ZCard-content {
424
+ padding: ${i.gap(j.Small)};
425
+ }
426
+
427
+ > .ZCard-footer {
428
+ padding: ${i.gap(j.Small)};
429
+ padding-top: 0;
430
+ }
431
+
432
+ ${u.break(j.Large)} {
433
+ & {
434
+ max-width: ${Vl[C.lg]};
435
+ min-height: ${Xl[x.lg]};
436
+ }
437
+ }
438
+
439
+ ${u.break(j.Medium)} {
440
+ & {
441
+ max-width: ${Vl[C.md]};
442
+ min-height: ${Xl[x.md]};
443
+ }
444
+ }
445
+
446
+ ${u.break(j.Small)} {
447
+ & {
448
+ max-width: ${Vl[C.sm]};
449
+ min-height: ${Xl[x.sm]};
450
+ }
451
+ }
452
+
453
+ ${u.break(j.ExtraSmall)} {
454
+ & {
455
+ max-width: ${Vl[C.xs]};
456
+ min-height: ${Xl[x.xs]};
457
+ }
458
+ }
459
+ `);return _.jsxs(at,{align:{items:"stretch"},className:me("ZCard-root",o,z),name:p,gap:j.Medium,...Eb(n),"data-fashion":A.name,children:[_.jsx(wr,{...v,className:"ZCard-header"}),_.jsx("article",{style:{flexGrow:1},className:"ZCard-content",children:f}),d&&_.jsx("footer",{className:"ZCard-footer",children:d})]})}function tC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class nC extends we{async orientation(){return this.driver.attribute("data-orientation",Ln.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 Je.first(this.driver,fa,"carousel-forward")}reverse(){return Je.first(this.driver,fa,"carousel-reverse")}}tC(nC,"Selector",".ZCarousel-root");const Cn=Sn();function xr(n){const a=Tt(),i=va(),{align:u,className:o,children:f,columns:d,gap:y,justify:p,rows:h,width:b,height:v}=n,A=new Ut(b,Re.Default),N=new Ut(v,Re.Default),C=new Ut(d,void 0),x=new Ut(y,qn.None),z=Ke(Be`
460
+ &.ZGrid-root {
461
+ align-content: ${u?.content};
462
+ align-items: ${u?.items};
463
+ display: grid;
464
+ grid-template-rows: ${h};
465
+ justify-content: ${p?.content};
466
+ justify-items: ${p?.items};
467
+
468
+ gap: ${a.gap(x.xl)};
469
+ grid-template-columns: ${C.xl};
470
+ height: ${Cn[N.xl]};
471
+ width: ${Cn[A.xl]};
472
+ }
473
+
474
+ ${i.break(j.Large)} {
475
+ &.ZGrid-root {
476
+ gap: ${a.gap(x.lg)};
477
+ grid-template-columns: ${C.lg};
478
+ height: ${Cn[N.lg]};
479
+ width: ${Cn[A.lg]};
480
+ }
481
+ }
482
+
483
+ ${i.break(j.Medium)} {
484
+ &.ZGrid-root {
485
+ gap: ${a.gap(x.md)};
486
+ grid-template-columns: ${C.md};
487
+ height: ${Cn[N.md]};
488
+ width: ${Cn[A.md]};
489
+ }
490
+ }
491
+
492
+ ${i.break(j.Small)} {
493
+ &.ZGrid-root {
494
+ gap: ${a.gap(x.sm)};
495
+ grid-template-columns: ${C.sm};
496
+ height: ${Cn[N.sm]};
497
+ width: ${Cn[A.sm]};
498
+ }
499
+ }
500
+
501
+ ${i.break(j.ExtraSmall)} {
502
+ &.ZGrid-root {
503
+ gap: ${a.gap(x.xs)};
504
+ grid-template-columns: ${C.xs};
505
+ height: ${Cn[N.xs]};
506
+ width: ${Cn[A.xs]};
507
+ }
508
+ }
509
+ `);return _.jsx("div",{className:me("ZGrid-root",o,z),children:f})}({...jt(da(1,1),"rem")});function aC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class rC{name(a){return this._point.name=a,this}fashion(a){return this._point.fashion=a,this}build(){return structuredClone(this._point)}constructor(a,i){aC(this,"_point",void 0),this._point={x:a,y:i}}}function iC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class lC extends we{async points(){const a=await this.driver.query(".ZChart-point");return Promise.all(a.map(async i=>{const u=await i.attribute("data-x","0"),o=await i.attribute("data-y","0"),f=await i.attribute("data-name",""),d=await i.attribute("data-fashion","");return new rC(+u,+o).name(f).fashion(new je().name(d).build()).build()}))}}iC(lC,"Selector",".ZChart-root");class Ks extends we{value(){return this.driver.attribute("data-value")}async text(){return this.driver.text()}async remove(){let a=this.driver;if((await this.driver.classes(["ZChoice-remove"])).length||([a]=await this.driver.query(".ZChoice-remove")),a==null)return;const u=new Xe().click().build();await a.perform(u)}}function uC(n,a,i={}){const{open:u,onClose:o,persistent:f}=a,d=async()=>{n.showModal(),await i.onAfterOpen?.call(null),n.focus()},y=async()=>{n.open&&(n.classList.add("closing"),await cx(150),n.close(),n.classList.remove("closing"),o?.call(null))};/* v8 ignore start --@preserve *//* istanbul ignore next --@preserve */const p=b=>{const v=b.currentTarget.getBoundingClientRect();!(v.top<=b.clientY&&b.clientY<=v.bottom&&v.left<=b.clientX&&b.clientX<=v.right)&&!f&&y()},h=b=>{b.code===Fe.escape.code&&(b.preventDefault(),!f&&y())};return R.useEffect(()=>{u?d():y()},[n,u]),{closeOnBackdropClick:p,closeOnEscapeKey:h}}({...jt(da(5,10),"rem"),...Sn()});function Sd(n){const a=Tt(),{children:i,className:u,compact:o,cursor:f,interactive:d,name:y,highlight:p,...h}=n,b=o?a.gap(j.ExtraSmall):a.gap(j.Small),v=o?a.gap(j.ExtraSmall):a.gap(j.Large),A=Ke(Be`
510
+ & {
511
+ box-sizing: border-box;
512
+ cursor: ${f};
513
+ padding: ${b} ${v};
514
+ width: 100%;
515
+ }
516
+ `);return _.jsx("li",{...h,className:me("ZListItem-root",A,u),"data-name":y,"data-interactive":d,"data-highlight":p,tabIndex:d?0:void 0,role:"listitem",children:i})}function sC(n){const{primary:a}=Le(),i=Tt(),{className:u,children:o,fashion:f,name:d,compact:y}=n,p=W(a,f),h=new Pt(p),b=Ke(Be`
517
+ & {
518
+ border: ${i.thickness(j.ExtraSmall)} solid transparent;
519
+ list-style: none;
520
+ margin: 0;
521
+ padding: ${i.gap(y?qn.None:j.ExtraSmall)};
522
+ }
523
+
524
+ li[data-highlight="true"] {
525
+ background-color: ${h.idle.main};
526
+ border-color: ${h.idle.border};
527
+ color: ${h.idle.contrast};
528
+ }
529
+
530
+ li[data-interactive]:hover {
531
+ background-color: ${h.hover.main};
532
+ border-color: ${h.hover.border};
533
+ color: ${h.hover.contrast};
534
+ }
535
+
536
+ li[data-interactive]:focus {
537
+ background-color: ${h.focus.main};
538
+ border-color: ${h.focus.border};
539
+ color: ${h.focus.contrast};
540
+ outline: none;
541
+ }
542
+ `);return _.jsx("ul",{className:me("ZList-root",u,b),"data-name":d,"data-fashion":p.name,role:"list",children:o})}function oC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class L1 extends we{async anchor(){return await this.driver.attribute("data-anchor")}async opened(){return await this.driver.attribute("open")!=null}async header(){const[a]=await this.driver.query(".ZDialog-header");return W(null,a)}async footer(){const[a]=await this.driver.query(".ZDialog-footer");return W(null,a)}async fashion(){return this.driver.attribute("data-fashion")}async close(){const a=new Xe().press(Fe.escape).build();await this.driver.perform(a)}async waitForOpen(){return this.driver.wait(()=>this.opened())}async waitForClose(){return this.driver.wait(()=>this.opened().then(a=>!a))}}oC(L1,"Selector",".ZDialog-root");function cC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class fC extends we{async label(){const[a]=await Je.all(this.driver,bu,".ZChoice-label");return W(null,a)}async selected(){const a=await this.driver.query(".ZChoice-value");return Array.from(a).map(i=>new Ks(i))}async disabled(){const[a]=await this.driver.query("input,button"),i=await this.driver.attribute("data-disabled","false");return await a?.disabled()||i!=="false"}async closable(){return(await this.driver.classes(["ZChoice-always-open"])).length===0}_popup(){return Je.first(this.driver,L1,"choice-popup")}async opened(){return await this.closable()?(await this._popup()).opened():!0}async _toggle(){const a=await this.driver.select(".ZChoice-root .ZChoice-toggler"),i=new Xe().click().build();await a.perform(i)}async open(){if(await this.opened()||await this._toggle(),await this.closable()){const o=await this._popup();return await o.waitForOpen(),(await o.driver.query(".ZChoice-option")).map(d=>new Ks(d))}return(await this.driver.query(".ZChoice-option")).map(o=>new Ks(o))}async close(){if(!await this.closable())return;const i=await this._popup();await i.opened()&&(await this._toggle(),await i.waitForClose())}async select(a){const i=await this.open(),u=await(a instanceof Ks?a.value():Promise.resolve(String(a)));let o=await Promise.all(i.map(d=>d.value())),f=R0(o,d=>d===u);if(f<0&&(o=await Promise.all(i.map(d=>d.text())),f=R0(o,d=>d===u)),f>=0){const d=i[f],y=new Xe().click().build();await d.driver.perform(y)}}async clear(){const[a]=await this.driver.query(".ZChoice-clear");if(!a)return;const i=new Xe().click().build();await a.perform(i)}}cC(fC,"Selector",".ZChoice-root");function dC(n){const{anchor:a,className:i,children:u,fashion:o,name:f,renderHeader:d,renderFooter:y}=n,{surface:p}=Le(),h=Tt(),b=R.useRef(document.createElement("dialog")),v=new Pt(W(p,o)),{closeOnBackdropClick:A,closeOnEscapeKey:N}=uC(b.current,n);let C="max-content",x="100%",z="translateX(-100%)",G="translateX(0)",E="0",U="0",Y="0";a===_b.Right&&(z="translateX(100%)",E="auto"),a===Jg.Bottom&&(x="max-content",U="auto",z="translateY(100%)",G="translateY(0)",C="100%"),a===Jg.Top&&(x="max-content",Y="auto",z="translateY(-100%)",G="translateY(0)",C="100%");const Z=z1(Be`
543
+ from {
544
+ transform: ${z};
545
+ }
546
+ to {
547
+ transform: ${G};
548
+ }
549
+ `),J=Ke(Be`
550
+ & {
551
+ background-color: ${p.idle.main};
552
+ border: 0;
553
+ color: ${p.idle.contrast};
554
+ height: ${x};
555
+ margin-bottom: ${Y};
556
+ margin-left: ${E};
557
+ margin-right: 0;
558
+ margin-top: ${U};
559
+ max-height: 100%;
560
+ max-width: 100%;
561
+ padding: 0;
562
+ transform: ${z};
563
+ transition: transform 200ms linear;
564
+ width: ${C};
565
+ }
566
+
567
+ &::backdrop {
568
+ background-color: ${jd()};
569
+ opacity: 0.75;
570
+ }
571
+
572
+ &[open] {
573
+ animation: ${Z} 200ms linear;
574
+ transform: ${G};
575
+ display: flex;
576
+ flex-direction: column;
577
+ }
578
+
579
+ &.closing {
580
+ transform: ${z};
581
+ }
582
+
583
+ .ZDialog-header,
584
+ .ZDialog-footer,
585
+ .ZDialog-content {
586
+ padding: ${h.gap(j.Small)};
587
+ }
588
+
589
+ .ZDialog-header {
590
+ background-color: ${v.idle.main};
591
+ color: ${v.idle.contrast};
592
+ }
593
+
594
+ .ZDialog-content {
595
+ flex-grow: 1;
596
+ overflow: auto;
597
+ }
598
+ `);return _.jsxs("dialog",{className:me("ZDialog-root","ZDialog-drawer",i,J),onClick:A,onKeyDown:N,"data-anchor":a,"data-name":f,"data-fashion":o?.name,role:"dialog",ref:b,children:[d&&_.jsx("div",{className:"ZDialog-header","aria-description":"Drawer Header",children:d.call(null)}),_.jsx("div",{className:"ZDialog-content","aria-description":"Drawer Body",children:u}),y&&_.jsx("div",{className:"ZDialog-footer","aria-description":"Drawer Footer",children:y.call(null)})]})}Object.freeze({...jt(da(10,20),"rem"),...Sn()});Object.freeze({...jt(da(3,20),"rem"),...Sn()});function hC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Z1 extends we{underlying(){return Je.first(this.driver,fa)}}hC(Z1,"Selector",".ZFormButton-root");function mC(){return{original:{},current:{},setCurrent:Er,reset:Er}}const H1=R.createContext(mC()),G1=()=>R.useContext(H1);function fb(n){const{ButtonProps:a,type:i="submit"}=n,{primary:u,secondary:o}=Le(),{current:f,original:d}=G1(),y=i==="reset"?o:u,p=dv(i),h=R.useMemo(()=>JSON.stringify(f)!==JSON.stringify(d),[f,d]);return _.jsx("div",{className:"ZFormButton-root","data-name":i,children:_.jsx(Ni,{label:p,fashion:y,...a,type:i,disabled:!h})})}class pC{render(a,i){const{current:u,setCurrent:o}=a,f=W("",i.path),d=Or(u,f,!1),y=p=>{const h=structuredClone(u);sh(h,f,p),o(h)};return _.jsx(jM,{value:d,label:i.name,onValueChange:y})}}class yC{render(){return null}}class db{render(a,i){const{current:u,setCurrent:o}=a,f=W("",i.path),d=Or(u,f,""),y=p=>{const h=structuredClone(u);sh(h,f,p),o(h)};return _.jsx(Q1,{value:d,label:i.name,onValueChange:y})}}function Pd(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Lh extends we{async _input(){try{return await this.driver.select("input")}catch{return await this.driver.select("textarea")}}async value(){const a=await this._input();return W("",await a.value())}async disabled(){return(await this._input()).disabled()}async label(){const[a]=await Je.all(this.driver,bu,".ZText-label");return W(null,a)}async masked(){return await(await this._input()).attribute("type")==="password"}async readOnly(){return await(await this._input()).attribute("readOnly")!=null}async keyboard(a,i=Fe.tab){const u=new Xe().click().type(a).press(i).build();return await(await this._input()).perform(u),this.value()}async clear(a=Fe.tab){const i=await this.value(),u=new Xe().click().press(Fe.delete,i.length).press(Fe.backspace,i.length).press(a).build();return await(await this._input()).perform(u),this.value()}async essay(a){let i=new Xe().click();return a.forEach(o=>{i=i.type(o).press(Fe.enter).press(Fe.enter)}),i=i.press(Fe.tab),await(await this._input()).perform(i.build()),this.value()}async _adornment(a){const i=`.ZText-${a}`,[u]=await this.driver.query(i);return u||null}constructor(...a){super(...a),Pd(this,"prefix",this._adornment.bind(this,"prefix")),Pd(this,"suffix",this._adornment.bind(this,"suffix"))}}Pd(Lh,"Selector",".ZText-root");function gC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Y1 extends we{text(){return Je.optional(this.driver,Lh)}boolean(){return Je.optional(this.driver,q1)}}gC(Y1,"Selector",".ZFormField-root");function bC(n){const{metadata:a}=n,{id:i}=a,u=G1(),o=R.useMemo(()=>new yC,[]),f=R.useMemo(()=>({[pd.Text]:new db,[pd.File]:new db,[pd.Boolean]:new pC}),[]),d=R.useMemo(()=>W(o,f[a.type]),[a.type,o,f]);return _.jsx("div",{className:"ZFormField-root","data-name":i,children:d.render(u,a)})}function vC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class _C extends we{field(a){return Je.first(this.driver,Y1,a)}button(a){return Je.first(this.driver,Z1,a)}}vC(_C,"Selector",".ZForm-root");function wC(n){const{children:a,value:i,onValueChange:u}=n,[o,f]=Mo(i,u,{}),[d,y]=R.useState(o),p=R.useCallback(Er,[]),h=R.useMemo(()=>({original:o,current:d,setCurrent:y,reset:p}),[o,d,p]);R.useEffect(()=>{y(o)},[o]);const b=A=>{A.preventDefault(),f(d)},v=A=>{A.preventDefault(),y(o)};return _.jsx(H1,{value:h,children:_.jsx("form",{className:"ZForm-root",onSubmit:b,onReset:v,children:a})})}function SC(n){const a=Tt(),{children:i}=n,u=Ke(Be`
599
+ & {
600
+ padding: ${a.gap()};
601
+ position: absolute;
602
+ inset: 0;
603
+ }
604
+ `);return _.jsx("div",{className:me("ZFullScreen-root",u),children:i})}function xC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class V1 extends we{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())}}xC(V1,"Selector",".ZSuspense-root");function EC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class TC extends we{search(){return Je.optional(this.driver,Lh,"search")}more(){return Je.optional(this.driver,fa,"grid-more")}async error(){return Je.optional(this.driver,C1,"grid-error")}async suspense(){return Je.first(this.driver,V1,"grid-loading")}async load(){await(await this.suspense()).load()}}EC(TC,"Selector",".ZGridView-root");const Ql=jt(da(.5,1),"rem");function qo(n){const{className:a,disabled:i,height:u,name:o,fashion:f}=n,{primary:d}=Le(),y=va(),p=W(d,f),h=new Ut(u,j.Medium),b=new Pt(p),v=z1(Be`
605
+ from {
606
+ transform: translateX(-100%);
607
+ }
608
+ to {
609
+ transform: translateX(400%);
610
+ }
611
+ `),A=Ke(Be`
612
+ & {
613
+ background-color: currentcolor;
614
+ box-sizing: border-box;
615
+ display: ${i?"none":"block"};
616
+ height: ${Ql[h.xl]};
617
+ overflow: hidden;
618
+ position: relative;
619
+ width: 100%;
620
+ }
621
+
622
+ .ZSuspense-progress-scroll {
623
+ animation: ${v} 1.5s ease-in-out infinite;
624
+ position: absolute;
625
+ background-color: ${b.idle.main};
626
+ inset: 0;
627
+ width: 25%;
628
+ }
629
+
630
+ ${y.break(j.Large)} {
631
+ & {
632
+ height: ${Ql[h.lg]};
633
+ }
634
+ }
635
+ ${y.break(j.Medium)} {
636
+ & {
637
+ height: ${Ql[h.md]};
638
+ }
639
+ }
640
+ ${y.break(j.Small)} {
641
+ & {
642
+ height: ${Ql[h.sm]};
643
+ }
644
+ }
645
+ ${y.break(j.ExtraSmall)} {
646
+ & {
647
+ height: ${Ql[h.xs]};
648
+ }
649
+ }
650
+ `);return _.jsx("div",{className:me("ZSuspense-root","ZSuspense-progress",a,A),"data-disabled":i,"data-fashion":p.name,"data-name":o,children:_.jsx("div",{className:"ZSuspense-progress-scroll"})})}function X1(n,a,i){n!==a&&i(n)}function OC(n){const{name:a,disabled:i,value:u,required:o,placeholder:f,readOnly:d,onValueChange:y=Er}=n,p=R.useId(),[h,b]=R.useState(u||"");return R.useEffect(()=>{b(u||"")},[u]),{disabled:i,value:h,name:a,required:o,placeholder:f,readOnly:d,id:p,onBlur:()=>X1(h||"",u||"",y),onInput:v=>b(v.currentTarget.value)}}function AC(n,a=Er){const{value:i,onValueChange:u=Er}=n;return o=>{if(a(o),!o.defaultPrevented&&o.code===Fe.enter.code){const f=Or(o.target,"value","");X1(f||"",i||"",u)}}}const Q1=R.forwardRef(function(a,i){const{className:u,fashion:o,type:f="text",name:d,label:y,required:p,orientation:h,prefix:b,suffix:v,onKeyDown:A,onValueChange:N,...C}=a,x=Tt(),z=OC(a),G=AC(a,A),{component:E,primary:U}=Le(),Y=W(U,o),Z=new Pt(Y),J=Ke(Be`
651
+ input {
652
+ background: transparent;
653
+ border: none;
654
+ color: inherit;
655
+ width: 100%;
656
+ height: 100%;
657
+ outline: none;
658
+ padding: 0;
659
+ margin: 0;
660
+ }
661
+
662
+ input:focus,
663
+ input:focus-visible,
664
+ input:focus-within {
665
+ border: none;
666
+ }
667
+
668
+ .ZText-input {
669
+ align-items: center;
670
+ background-color: ${E.idle.main};
671
+ border-radius: ${x.rounding(j.ExtraSmall)};
672
+ border-style: solid;
673
+ border-width: ${x.thickness(j.Medium)};
674
+ display: flex;
675
+ color: ${E.idle.contrast};
676
+ gap: ${x.gap(j.ExtraSmall)};
677
+ height: 2.5rem;
678
+ outline: none;
679
+ padding: 0 ${x.gap(j.ExtraSmall)};
680
+ }
681
+
682
+ .ZText-input[data-disabled="true"] {
683
+ opacity: 0.35;
684
+ pointer-events: none;
685
+ }
686
+
687
+ .ZText-input:hover:not([data-disabled="true"]) {
688
+ border-color: ${Z.hover.border};
689
+ }
690
+
691
+ .ZText-input:focus-within {
692
+ border-color: ${Z.idle.border};
693
+ }
694
+
695
+ .ZText-input:active:not([data-disabled="true"]) {
696
+ border-color: ${Z.active.border};
697
+ }
698
+
699
+ .ZText-prefix,
700
+ .ZText-suffix {
701
+ display: inline-flex;
702
+ }
703
+ `);return _.jsx(U1,{className:me("ZText-root",J,u),label:y,LabelProps:{required:p,className:"ZText-label",htmlFor:z.id},orientation:h,name:d,children:_.jsxs("div",{className:"ZText-input","data-disabled":z.disabled,children:[b&&_.jsx("div",{className:"ZText-prefix",children:b}),_.jsx("input",{...C,...z,type:f,onKeyDown:G,ref:i}),v&&_.jsx("div",{className:"ZText-suffix",children:v})]})})}),RC=new vi([]),MC=12,CC=new Bn().size(MC).page(1).build();function Zh(n){const{GridProps:a,SearchProps:i,SuspenseProps:u,MoreProps:o,renderItem:f,dataSource:d=RC,className:y,value:p,onValueChange:h}=n,[b,v]=Mo(p,h,CC),{view:A,last:N,complete:C,more:x}=FA(d,b),z=Le(),G=()=>{if(i===!1)return null;const Z=J=>{v(B=>new Bn().copy(B).search(J).page(1).build())};return _.jsx(Q1,{label:"Search",...i,className:"ZGridView-search",value:b.search,onValueChange:Z,name:"search"})},E=()=>_.jsx(xr,{...a,children:A.map((Z,J)=>f(Z,J))}),U=()=>{if(iu(N))return _.jsx(Dh,{className:me("ZGridView-error"),name:"grid-error",message:N.message,fashion:z.error,heading:_.jsx(MM,{compact:!0,children:"Error"}),avatar:_.jsx(nt,{name:"circle-exclamation",width:j.Small})})},Y=()=>_.jsxs(_.Fragment,{children:[_.jsx(qo,{...u,className:"ZGridView-loading",height:j.Medium,disabled:!Ri(N),name:"grid-loading"}),!C&&_.jsx(Ni,{label:"More...",disabled:Ri(N)||iu(N),fashion:z.secondary,...o,className:me("ZGridView-more",o?.className),onClick:x,name:"grid-more"})]});return _.jsxs(at,{className:me("ZGridView-root",y),gap:j.Medium,children:[G(),E(),U(),Y()]})}function NC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class zC extends we{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 Xe().click().build())}}NC(zC,"Selector",".ZIcon-root");function $C(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class DC extends we{name(){return this.driver.attribute("data-name")}async svg(){const[a]=await this.driver.query("svg");return!!a}async img(){const[a]=await this.driver.query("img");return!!a}async empty(){const a=await this.svg(),i=await this.img();return!a&&!i}}$C(DC,"Selector",".ZImageSource-root");const Nn={...jt(du(2,1),"rem"),...Sn(),...Ka()};function jo(n){const a=va(),{className:i,src:u,height:o,width:f,name:d}=n,y=new Ut(o,Re.Default),p=new Ut(f,Re.Default),h=Ke(Be`
704
+ &,
705
+ svg,
706
+ img {
707
+ width: ${Nn[p.xl]};
708
+ height: ${Nn[y.xl]};
709
+ }
710
+
711
+ ${a.break(j.Large)} {
712
+ &,
713
+ svg,
714
+ img {
715
+ width: ${Nn[p.lg]};
716
+ height: ${Nn[y.lg]};
717
+ }
718
+ }
719
+
720
+ ${a.break(j.Medium)} {
721
+ &,
722
+ svg,
723
+ img {
724
+ width: ${Nn[p.md]};
725
+ height: ${Nn[y.md]};
726
+ }
727
+ }
728
+
729
+ ${a.break(j.Small)} {
730
+ &,
731
+ svg,
732
+ img {
733
+ width: ${Nn[p.sm]};
734
+ height: ${Nn[y.sm]};
735
+ }
736
+ }
737
+
738
+ ${a.break(j.ExtraSmall)} {
739
+ &,
740
+ svg,
741
+ img {
742
+ width: ${Nn[p.xs]};
743
+ height: ${Nn[y.xs]};
744
+ }
745
+ }
746
+ `),b=me("ZImageSource-root",i,h);if(!u)return _.jsx("div",{className:b,"data-name":d});if(u.startsWith("data:image/svg+xml")){const v=new kR().parse(u).info(),A=new TextDecoder().decode(v.buffer);return _.jsx("div",{className:b,dangerouslySetInnerHTML:{__html:A},"data-name":d})}return _.jsx("div",{className:b,"data-name":d,children:_.jsx("img",{src:u,alt:d})})}function UC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Jl extends we{name(){return this.driver.attribute("data-name")}async click(){const a=new Xe().click().build();await this.driver.perform(a)}}UC(Jl,"Selector",".ZListItem-root");function qC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class jC extends we{async items(){const i=(await this.driver.query(Jl.Selector)).map(u=>new Jl(u));return Promise.resolve(i)}async item(a){const i=`${Jl.Selector}[data-name="${a}"]`,[u]=await this.driver.query(i);return u==null?null:new Jl(u)}}qC(jC,"Selector",".ZList-root");function BC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class LC extends we{async returnHome(){await(await Je.first(this.driver,fa,"return-home")).click()}}BC(LC,"Selector",".ZNotFound-root");function ZC(){const n=Ke(Be`
747
+ & {
748
+ height: 3rem;
749
+ }
750
+
751
+ .a {
752
+ fill: #f8de40;
753
+ }
754
+
755
+ .b {
756
+ fill: #e7c930;
757
+ }
758
+
759
+ .c {
760
+ fill: #864e20;
761
+ }
762
+
763
+ .d {
764
+ fill: #26a9e0;
765
+ }
766
+ `);return _.jsxs("svg",{className:me("ZSadFace-root",n),xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[_.jsx("rect",{className:"a",x:"1",y:"1",width:"22",height:"22",rx:"7.656"}),_.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"}),_.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"}),_.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"}),_.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"}),_.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"}),_.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 HC(n){const{home:a="/"}=n,i=hM(uo.NotFound),o=`${dM(uo.NotFound)} (${uo.NotFound})`,f=Bi(),{error:d}=Le();return _.jsx(SC,{children:_.jsx(xr,{className:"ZNotFound-root",justify:{content:"center"},align:{content:"center"},height:Re.Full,children:_.jsx(_n,{TitleProps:{avatar:_.jsx(ZC,{}),heading:o},footer:_.jsx(Ni,{className:"ZNotFound-back",name:"return-home",label:"Return home",width:Re.Full,fashion:d,onClick:()=>f(a)}),children:_.jsx(Uo,{className:"ZNotFound-description",children:i})})})})}function GC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class YC extends we{_input(){return this.driver.select("input")}async step(){const a=await this._input();return+W("1",await a.attribute("step"))}async min(){const a=await this._input();return+W("0",await a.attribute("min"))}async max(){const a=await this._input();return+W("100",await a.attribute("max"))}async value(){const i=await(await this._input()).value();return i?+i:null}async label(){const[a]=await Je.all(this.driver,bu,".ZNumber-label");return W(null,a)}async _spinClick(a,i,u){const o=a>0?".ZNumber-spinner-increment":".ZNumber-spinner-decrement",[f]=await this.driver.query(o);i>0&&await f.perform(new Xe().click().build());for(let d=1;d<i;++d)await f.perform(new Xe().press(u).build());return this.value()}async _spinPress(a,i){const u=await this._input(),o=a>0?Fe.upArrow:Fe.downArrow;for(let f=0;f<i;++f)await u.perform(new Xe().click().press(o).build());return this.value()}increment(a=1,i=Fe.enter){return this._spinClick(1,a,i)}up(a=1){return this._spinPress(1,a)}decrement(a=1,i=Fe.enter){return this._spinClick(-1,a,i)}down(a=1){return this._spinPress(-1,a)}async keyboard(a){return await(await this._input()).perform(new Xe().click().type(a).press(Fe.tab).build()),this.value()}async clear(){const a=await this._input(),u=W("",await a.value()).length;let o=new Xe().click();for(let f=0;f<u;++f)o=o.press(Fe.backspace);for(let f=0;f<u;++f)o=o.press(Fe.delete);o=o.press(Fe.tab),await a.perform(o.build())}}GC(YC,"Selector",".ZNumber-root");da(2,2);function VC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class XC extends we{async click(){const a=new Xe().click().build();await this.driver.perform(a)}async enter(){const a=new Xe().press(Fe.enter).build();await this.driver.perform(a)}async space(){const a=new Xe().press(Fe.space).build();await this.driver.perform(a)}}VC(XC,"Selector",".ZTile-root");function K1(n){const{component:a}=Le(),{className:i,fashion:u=a,children:o,name:f,onActivate:d,...y}=n,p=b=>{b.preventDefault(),d?.call(null)},{onKey:h}=wh(p);return _.jsx(qh,{className:me("ZTile-root",i),border:{width:j.ExtraSmall,radius:j.ExtraSmall},fashion:u,interactive:!0,cursor:"pointer",padding:j.Small,onClick:p,onKeyDown:h,...Eb(y),"data-name":f,children:o})}function QC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class KC extends we{fashion(){return this.driver.attribute("data-fashion","Inherit")}}QC(KC,"Selector",".ZTypography-root");function FC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class JC extends we{card(){return Promise.resolve(new B1(this.driver))}async _footer(){const a=await this.card();return await sx(a.footer())}async page(){return+await this.driver.attribute("data-page","0")}async next(){return Je.optional(await this._footer(),fa,"next")}async previous(){return Je.first(await this._footer(),fa,"previous")}async finish(){return Je.optional(await this._footer(),fa,"finish")}}FC(JC,"Selector",".ZWizard-root");function kC(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class PC extends we{identity(){return this.driver.attribute("data-identity","?")}}kC(PC,"Selector",".ZYouTubeVideo-root");var xd={exports:{}},Kl={},Ed={exports:{}},Td={};/**
767
+ * @license React
768
+ * scheduler.production.js
769
+ *
770
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
771
+ *
772
+ * This source code is licensed under the MIT license found in the
773
+ * LICENSE file in the root directory of this source tree.
774
+ */var hb;function WC(){return hb||(hb=1,function(n){function a(S,F){var I=S.length;S.push(F);e:for(;0<I;){var se=I-1>>>1,re=S[se];if(0<o(re,F))S[se]=F,S[I]=re,I=se;else break e}}function i(S){return S.length===0?null:S[0]}function u(S){if(S.length===0)return null;var F=S[0],I=S.pop();if(I!==F){S[0]=I;e:for(var se=0,re=S.length,O=re>>>1;se<O;){var Q=2*(se+1)-1,ee=S[Q],P=Q+1,ce=S[P];if(0>o(ee,I))P<re&&0>o(ce,ee)?(S[se]=ce,S[P]=I,se=P):(S[se]=ee,S[Q]=I,se=Q);else if(P<re&&0>o(ce,I))S[se]=ce,S[P]=I,se=P;else break e}}return F}function o(S,F){var I=S.sortIndex-F.sortIndex;return I!==0?I:S.id-F.id}if(n.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var d=Date,y=d.now();n.unstable_now=function(){return d.now()-y}}var p=[],h=[],b=1,v=null,A=3,N=!1,C=!1,x=!1,z=!1,G=typeof setTimeout=="function"?setTimeout:null,E=typeof clearTimeout=="function"?clearTimeout:null,U=typeof setImmediate<"u"?setImmediate:null;function Y(S){for(var F=i(h);F!==null;){if(F.callback===null)u(h);else if(F.startTime<=S)u(h),F.sortIndex=F.expirationTime,a(p,F);else break;F=i(h)}}function Z(S){if(x=!1,Y(S),!C)if(i(p)!==null)C=!0,J||(J=!0,Me());else{var F=i(h);F!==null&&L(Z,F.startTime-S)}}var J=!1,B=-1,ue=5,te=-1;function ze(){return z?!0:!(n.unstable_now()-te<ue)}function We(){if(z=!1,J){var S=n.unstable_now();te=S;var F=!0;try{e:{C=!1,x&&(x=!1,E(B),B=-1),N=!0;var I=A;try{t:{for(Y(S),v=i(p);v!==null&&!(v.expirationTime>S&&ze());){var se=v.callback;if(typeof se=="function"){v.callback=null,A=v.priorityLevel;var re=se(v.expirationTime<=S);if(S=n.unstable_now(),typeof re=="function"){v.callback=re,Y(S),F=!0;break t}v===i(p)&&u(p),Y(S)}else u(p);v=i(p)}if(v!==null)F=!0;else{var O=i(h);O!==null&&L(Z,O.startTime-S),F=!1}}break e}finally{v=null,A=I,N=!1}F=void 0}}finally{F?Me():J=!1}}}var Me;if(typeof U=="function")Me=function(){U(We)};else if(typeof MessageChannel<"u"){var ae=new MessageChannel,mt=ae.port2;ae.port1.onmessage=We,Me=function(){mt.postMessage(null)}}else Me=function(){G(We,0)};function L(S,F){B=G(function(){S(n.unstable_now())},F)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(S){S.callback=null},n.unstable_forceFrameRate=function(S){0>S||125<S?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ue=0<S?Math.floor(1e3/S):5},n.unstable_getCurrentPriorityLevel=function(){return A},n.unstable_next=function(S){switch(A){case 1:case 2:case 3:var F=3;break;default:F=A}var I=A;A=F;try{return S()}finally{A=I}},n.unstable_requestPaint=function(){z=!0},n.unstable_runWithPriority=function(S,F){switch(S){case 1:case 2:case 3:case 4:case 5:break;default:S=3}var I=A;A=S;try{return F()}finally{A=I}},n.unstable_scheduleCallback=function(S,F,I){var se=n.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?se+I:se):I=se,S){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,S={id:b++,callback:F,priorityLevel:S,startTime:I,expirationTime:re,sortIndex:-1},I>se?(S.sortIndex=I,a(h,S),i(p)===null&&S===i(h)&&(x?(E(B),B=-1):x=!0,L(Z,I-se))):(S.sortIndex=re,a(p,S),C||N||(C=!0,J||(J=!0,Me()))),S},n.unstable_shouldYield=ze,n.unstable_wrapCallback=function(S){var F=A;return function(){var I=A;A=F;try{return S.apply(this,arguments)}finally{A=I}}}}(Td)),Td}var mb;function IC(){return mb||(mb=1,Ed.exports=WC()),Ed.exports}var pb;function e6(){if(pb)return Kl;pb=1;var n=IC(),a=fh(),i=ZR();function u(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var r=2;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function f(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function d(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function y(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function p(e){if(f(e)!==e)throw Error(u(188))}function h(e){var t=e.alternate;if(!t){if(t=f(e),t===null)throw Error(u(188));return t!==e?null:e}for(var r=e,l=t;;){var s=r.return;if(s===null)break;var c=s.alternate;if(c===null){if(l=s.return,l!==null){r=l;continue}break}if(s.child===c.child){for(c=s.child;c;){if(c===r)return p(s),e;if(c===l)return p(s),t;c=c.sibling}throw Error(u(188))}if(r.return!==l.return)r=s,l=c;else{for(var m=!1,g=s.child;g;){if(g===r){m=!0,r=s,l=c;break}if(g===l){m=!0,l=s,r=c;break}g=g.sibling}if(!m){for(g=c.child;g;){if(g===r){m=!0,r=c,l=s;break}if(g===l){m=!0,l=c,r=s;break}g=g.sibling}if(!m)throw Error(u(189))}}if(r.alternate!==l)throw Error(u(190))}if(r.tag!==3)throw Error(u(188));return r.stateNode.current===r?e:t}function b(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=b(e),t!==null)return t;e=e.sibling}return null}var v=Object.assign,A=Symbol.for("react.element"),N=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),z=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),E=Symbol.for("react.consumer"),U=Symbol.for("react.context"),Y=Symbol.for("react.forward_ref"),Z=Symbol.for("react.suspense"),J=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),ue=Symbol.for("react.lazy"),te=Symbol.for("react.activity"),ze=Symbol.for("react.memo_cache_sentinel"),We=Symbol.iterator;function Me(e){return e===null||typeof e!="object"?null:(e=We&&e[We]||e["@@iterator"],typeof e=="function"?e:null)}var ae=Symbol.for("react.client.reference");function mt(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ae?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case x:return"Fragment";case G:return"Profiler";case z:return"StrictMode";case Z:return"Suspense";case J:return"SuspenseList";case te:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case C:return"Portal";case U:return e.displayName||"Context";case E:return(e._context.displayName||"Context")+".Consumer";case Y:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case B:return t=e.displayName||null,t!==null?t:mt(e.type)||"Memo";case ue:t=e._payload,e=e._init;try{return mt(e(t))}catch{}}return null}var L=Array.isArray,S=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I={pending:!1,data:null,method:null,action:null},se=[],re=-1;function O(e){return{current:e}}function Q(e){0>re||(e.current=se[re],se[re]=null,re--)}function ee(e,t){re++,se[re]=e.current,e.current=t}var P=O(null),ce=O(null),pe=O(null),Ae=O(null);function Ot(e,t){switch(ee(pe,t),ee(ce,e),ee(P,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?hg(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=hg(t),e=mg(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Q(P),ee(P,e)}function Ie(){Q(P),Q(ce),Q(pe)}function Zi(e){e.memoizedState!==null&&ee(Ae,e);var t=P.current,r=mg(t,e.type);t!==r&&(ee(ce,e),ee(P,r))}function vu(e){ce.current===e&&(Q(P),Q(ce)),Ae.current===e&&(Q(Ae),Ml._currentValue=I)}var Zo,Yh;function Ia(e){if(Zo===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Zo=t&&t[1]||"",Yh=-1<r.stack.indexOf(`
775
+ at`)?" (<anonymous>)":-1<r.stack.indexOf("@")?"@unknown:0:0":""}return`
776
+ `+Zo+e+Yh}var Ho=!1;function Go(e,t){if(!e||Ho)return"";Ho=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var l={DetermineComponentFrameRoot:function(){try{if(t){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(H){var q=H}Reflect.construct(e,[],K)}else{try{K.call()}catch(H){q=H}e.call(K.prototype)}}else{try{throw Error()}catch(H){q=H}(K=e())&&typeof K.catch=="function"&&K.catch(function(){})}}catch(H){if(H&&q&&typeof H.stack=="string")return[H.stack,q.stack]}return[null,null]}};l.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var s=Object.getOwnPropertyDescriptor(l.DetermineComponentFrameRoot,"name");s&&s.configurable&&Object.defineProperty(l.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=l.DetermineComponentFrameRoot(),m=c[0],g=c[1];if(m&&g){var w=m.split(`
777
+ `),D=g.split(`
778
+ `);for(s=l=0;l<w.length&&!w[l].includes("DetermineComponentFrameRoot");)l++;for(;s<D.length&&!D[s].includes("DetermineComponentFrameRoot");)s++;if(l===w.length||s===D.length)for(l=w.length-1,s=D.length-1;1<=l&&0<=s&&w[l]!==D[s];)s--;for(;1<=l&&0<=s;l--,s--)if(w[l]!==D[s]){if(l!==1||s!==1)do if(l--,s--,0>s||w[l]!==D[s]){var V=`
779
+ `+w[l].replace(" at new "," at ");return e.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",e.displayName)),V}while(1<=l&&0<=s);break}}}finally{Ho=!1,Error.prepareStackTrace=r}return(r=e?e.displayName||e.name:"")?Ia(r):""}function I1(e,t){switch(e.tag){case 26:case 27:case 5:return Ia(e.type);case 16:return Ia("Lazy");case 13:return e.child!==t&&t!==null?Ia("Suspense Fallback"):Ia("Suspense");case 19:return Ia("SuspenseList");case 0:case 15:return Go(e.type,!1);case 11:return Go(e.type.render,!1);case 1:return Go(e.type,!0);case 31:return Ia("Activity");default:return""}}function Vh(e){try{var t="",r=null;do t+=I1(e,r),r=e,e=e.return;while(e);return t}catch(l){return`
780
+ Error generating stack: `+l.message+`
781
+ `+l.stack}}var Yo=Object.prototype.hasOwnProperty,Vo=n.unstable_scheduleCallback,Xo=n.unstable_cancelCallback,e_=n.unstable_shouldYield,t_=n.unstable_requestPaint,Lt=n.unstable_now,n_=n.unstable_getCurrentPriorityLevel,Xh=n.unstable_ImmediatePriority,Qh=n.unstable_UserBlockingPriority,_u=n.unstable_NormalPriority,a_=n.unstable_LowPriority,Kh=n.unstable_IdlePriority,r_=n.log,i_=n.unstable_setDisableYieldValue,Hi=null,Zt=null;function _a(e){if(typeof r_=="function"&&i_(e),Zt&&typeof Zt.setStrictMode=="function")try{Zt.setStrictMode(Hi,e)}catch{}}var Ht=Math.clz32?Math.clz32:s_,l_=Math.log,u_=Math.LN2;function s_(e){return e>>>=0,e===0?32:31-(l_(e)/u_|0)|0}var wu=256,Su=262144,xu=4194304;function er(e){var t=e&42;if(t!==0)return t;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 Eu(e,t,r){var l=e.pendingLanes;if(l===0)return 0;var s=0,c=e.suspendedLanes,m=e.pingedLanes;e=e.warmLanes;var g=l&134217727;return g!==0?(l=g&~c,l!==0?s=er(l):(m&=g,m!==0?s=er(m):r||(r=g&~e,r!==0&&(s=er(r))))):(g=l&~c,g!==0?s=er(g):m!==0?s=er(m):r||(r=l&~e,r!==0&&(s=er(r)))),s===0?0:t!==0&&t!==s&&(t&c)===0&&(c=s&-s,r=t&-t,c>=r||c===32&&(r&4194048)!==0)?t:s}function Gi(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function o_(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+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 t+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 Fh(){var e=xu;return xu<<=1,(xu&62914560)===0&&(xu=4194304),e}function Qo(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function Yi(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function c_(e,t,r,l,s,c){var m=e.pendingLanes;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0;var g=e.entanglements,w=e.expirationTimes,D=e.hiddenUpdates;for(r=m&~r;0<r;){var V=31-Ht(r),K=1<<V;g[V]=0,w[V]=-1;var q=D[V];if(q!==null)for(D[V]=null,V=0;V<q.length;V++){var H=q[V];H!==null&&(H.lane&=-536870913)}r&=~K}l!==0&&Jh(e,l,0),c!==0&&s===0&&e.tag!==0&&(e.suspendedLanes|=c&~(m&~t))}function Jh(e,t,r){e.pendingLanes|=t,e.suspendedLanes&=~t;var l=31-Ht(t);e.entangledLanes|=t,e.entanglements[l]=e.entanglements[l]|1073741824|r&261930}function kh(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var l=31-Ht(r),s=1<<l;s&t|e[l]&t&&(e[l]|=t),r&=~s}}function Ph(e,t){var r=t&-t;return r=(r&42)!==0?1:Ko(r),(r&(e.suspendedLanes|t))!==0?0:r}function Ko(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 Fo(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Wh(){var e=F.p;return e!==0?e:(e=window.event,e===void 0?32:jg(e.type))}function Ih(e,t){var r=F.p;try{return F.p=e,t()}finally{F.p=r}}var wa=Math.random().toString(36).slice(2),pt="__reactFiber$"+wa,Rt="__reactProps$"+wa,zr="__reactContainer$"+wa,Jo="__reactEvents$"+wa,f_="__reactListeners$"+wa,d_="__reactHandles$"+wa,em="__reactResources$"+wa,Vi="__reactMarker$"+wa;function ko(e){delete e[pt],delete e[Rt],delete e[Jo],delete e[f_],delete e[d_]}function $r(e){var t=e[pt];if(t)return t;for(var r=e.parentNode;r;){if(t=r[zr]||r[pt]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=wg(e);e!==null;){if(r=e[pt])return r;e=wg(e)}return t}e=r,r=e.parentNode}return null}function Dr(e){if(e=e[pt]||e[zr]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function Xi(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(u(33))}function Ur(e){var t=e[em];return t||(t=e[em]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function dt(e){e[Vi]=!0}var tm=new Set,nm={};function tr(e,t){qr(e,t),qr(e+"Capture",t)}function qr(e,t){for(nm[e]=t,e=0;e<t.length;e++)tm.add(t[e])}var h_=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]*$"),am={},rm={};function m_(e){return Yo.call(rm,e)?!0:Yo.call(am,e)?!1:h_.test(e)?rm[e]=!0:(am[e]=!0,!1)}function Tu(e,t,r){if(m_(t))if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var l=t.toLowerCase().slice(0,5);if(l!=="data-"&&l!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+r)}}function Ou(e,t,r){if(r===null)e.removeAttribute(t);else{switch(typeof r){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+r)}}function Gn(e,t,r,l){if(l===null)e.removeAttribute(r);else{switch(typeof l){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(r);return}e.setAttributeNS(t,r,""+l)}}function Wt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function im(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function p_(e,t,r){var l=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof l<"u"&&typeof l.get=="function"&&typeof l.set=="function"){var s=l.get,c=l.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(this)},set:function(m){r=""+m,c.call(this,m)}}),Object.defineProperty(e,t,{enumerable:l.enumerable}),{getValue:function(){return r},setValue:function(m){r=""+m},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Po(e){if(!e._valueTracker){var t=im(e)?"checked":"value";e._valueTracker=p_(e,t,""+e[t])}}function lm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),l="";return e&&(l=im(e)?e.checked?"true":"false":e.value),e=l,e!==r?(t.setValue(e),!0):!1}function Au(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 y_=/[\n"\\]/g;function It(e){return e.replace(y_,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Wo(e,t,r,l,s,c,m,g){e.name="",m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"?e.type=m:e.removeAttribute("type"),t!=null?m==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Wt(t)):e.value!==""+Wt(t)&&(e.value=""+Wt(t)):m!=="submit"&&m!=="reset"||e.removeAttribute("value"),t!=null?Io(e,m,Wt(t)):r!=null?Io(e,m,Wt(r)):l!=null&&e.removeAttribute("value"),s==null&&c!=null&&(e.defaultChecked=!!c),s!=null&&(e.checked=s&&typeof s!="function"&&typeof s!="symbol"),g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"?e.name=""+Wt(g):e.removeAttribute("name")}function um(e,t,r,l,s,c,m,g){if(c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(e.type=c),t!=null||r!=null){if(!(c!=="submit"&&c!=="reset"||t!=null)){Po(e);return}r=r!=null?""+Wt(r):"",t=t!=null?""+Wt(t):r,g||t===e.value||(e.value=t),e.defaultValue=t}l=l??s,l=typeof l!="function"&&typeof l!="symbol"&&!!l,e.checked=g?e.checked:!!l,e.defaultChecked=!!l,m!=null&&typeof m!="function"&&typeof m!="symbol"&&typeof m!="boolean"&&(e.name=m),Po(e)}function Io(e,t,r){t==="number"&&Au(e.ownerDocument)===e||e.defaultValue===""+r||(e.defaultValue=""+r)}function jr(e,t,r,l){if(e=e.options,t){t={};for(var s=0;s<r.length;s++)t["$"+r[s]]=!0;for(r=0;r<e.length;r++)s=t.hasOwnProperty("$"+e[r].value),e[r].selected!==s&&(e[r].selected=s),s&&l&&(e[r].defaultSelected=!0)}else{for(r=""+Wt(r),t=null,s=0;s<e.length;s++){if(e[s].value===r){e[s].selected=!0,l&&(e[s].defaultSelected=!0);return}t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function sm(e,t,r){if(t!=null&&(t=""+Wt(t),t!==e.value&&(e.value=t),r==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=r!=null?""+Wt(r):""}function om(e,t,r,l){if(t==null){if(l!=null){if(r!=null)throw Error(u(92));if(L(l)){if(1<l.length)throw Error(u(93));l=l[0]}r=l}r==null&&(r=""),t=r}r=Wt(t),e.defaultValue=r,l=e.textContent,l===r&&l!==""&&l!==null&&(e.value=l),Po(e)}function Br(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var g_=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 cm(e,t,r){var l=t.indexOf("--")===0;r==null||typeof r=="boolean"||r===""?l?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":l?e.setProperty(t,r):typeof r!="number"||r===0||g_.has(t)?t==="float"?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}function fm(e,t,r){if(t!=null&&typeof t!="object")throw Error(u(62));if(e=e.style,r!=null){for(var l in r)!r.hasOwnProperty(l)||t!=null&&t.hasOwnProperty(l)||(l.indexOf("--")===0?e.setProperty(l,""):l==="float"?e.cssFloat="":e[l]="");for(var s in t)l=t[s],t.hasOwnProperty(s)&&r[s]!==l&&cm(e,s,l)}else for(var c in t)t.hasOwnProperty(c)&&cm(e,c,t[c])}function ec(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 b_=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"]]),v_=/^[\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 Ru(e){return v_.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Yn(){}var tc=null;function nc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Lr=null,Zr=null;function dm(e){var t=Dr(e);if(t&&(e=t.stateNode)){var r=e[Rt]||null;e:switch(e=t.stateNode,t.type){case"input":if(Wo(e,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll('input[name="'+It(""+t)+'"][type="radio"]'),t=0;t<r.length;t++){var l=r[t];if(l!==e&&l.form===e.form){var s=l[Rt]||null;if(!s)throw Error(u(90));Wo(l,s.value,s.defaultValue,s.defaultValue,s.checked,s.defaultChecked,s.type,s.name)}}for(t=0;t<r.length;t++)l=r[t],l.form===e.form&&lm(l)}break e;case"textarea":sm(e,r.value,r.defaultValue);break e;case"select":t=r.value,t!=null&&jr(e,!!r.multiple,t,!1)}}}var ac=!1;function hm(e,t,r){if(ac)return e(t,r);ac=!0;try{var l=e(t);return l}finally{if(ac=!1,(Lr!==null||Zr!==null)&&(ps(),Lr&&(t=Lr,e=Zr,Zr=Lr=null,dm(t),e)))for(t=0;t<e.length;t++)dm(e[t])}}function Qi(e,t){var r=e.stateNode;if(r===null)return null;var l=r[Rt]||null;if(l===null)return null;r=l[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(l=!l.disabled)||(e=e.type,l=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!l;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(u(231,t,typeof r));return r}var Vn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rc=!1;if(Vn)try{var Ki={};Object.defineProperty(Ki,"passive",{get:function(){rc=!0}}),window.addEventListener("test",Ki,Ki),window.removeEventListener("test",Ki,Ki)}catch{rc=!1}var Sa=null,ic=null,Mu=null;function mm(){if(Mu)return Mu;var e,t=ic,r=t.length,l,s="value"in Sa?Sa.value:Sa.textContent,c=s.length;for(e=0;e<r&&t[e]===s[e];e++);var m=r-e;for(l=1;l<=m&&t[r-l]===s[c-l];l++);return Mu=s.slice(e,1<l?1-l:void 0)}function Cu(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Nu(){return!0}function pm(){return!1}function Mt(e){function t(r,l,s,c,m){this._reactName=r,this._targetInst=s,this.type=l,this.nativeEvent=c,this.target=m,this.currentTarget=null;for(var g in e)e.hasOwnProperty(g)&&(r=e[g],this[g]=r?r(c):c[g]);return this.isDefaultPrevented=(c.defaultPrevented!=null?c.defaultPrevented:c.returnValue===!1)?Nu:pm,this.isPropagationStopped=pm,this}return v(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Nu)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Nu)},persist:function(){},isPersistent:Nu}),t}var nr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zu=Mt(nr),Fi=v({},nr,{view:0,detail:0}),__=Mt(Fi),lc,uc,Ji,$u=v({},Fi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:oc,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!==Ji&&(Ji&&e.type==="mousemove"?(lc=e.screenX-Ji.screenX,uc=e.screenY-Ji.screenY):uc=lc=0,Ji=e),lc)},movementY:function(e){return"movementY"in e?e.movementY:uc}}),ym=Mt($u),w_=v({},$u,{dataTransfer:0}),S_=Mt(w_),x_=v({},Fi,{relatedTarget:0}),sc=Mt(x_),E_=v({},nr,{animationName:0,elapsedTime:0,pseudoElement:0}),T_=Mt(E_),O_=v({},nr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),A_=Mt(O_),R_=v({},nr,{data:0}),gm=Mt(R_),M_={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},C_={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"},N_={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function z_(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=N_[e])?!!t[e]:!1}function oc(){return z_}var $_=v({},Fi,{key:function(e){if(e.key){var t=M_[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Cu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?C_[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:oc,charCode:function(e){return e.type==="keypress"?Cu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Cu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),D_=Mt($_),U_=v({},$u,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),bm=Mt(U_),q_=v({},Fi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:oc}),j_=Mt(q_),B_=v({},nr,{propertyName:0,elapsedTime:0,pseudoElement:0}),L_=Mt(B_),Z_=v({},$u,{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}),H_=Mt(Z_),G_=v({},nr,{newState:0,oldState:0}),Y_=Mt(G_),V_=[9,13,27,32],cc=Vn&&"CompositionEvent"in window,ki=null;Vn&&"documentMode"in document&&(ki=document.documentMode);var X_=Vn&&"TextEvent"in window&&!ki,vm=Vn&&(!cc||ki&&8<ki&&11>=ki),_m=" ",wm=!1;function Sm(e,t){switch(e){case"keyup":return V_.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Hr=!1;function Q_(e,t){switch(e){case"compositionend":return xm(t);case"keypress":return t.which!==32?null:(wm=!0,_m);case"textInput":return e=t.data,e===_m&&wm?null:e;default:return null}}function K_(e,t){if(Hr)return e==="compositionend"||!cc&&Sm(e,t)?(e=mm(),Mu=ic=Sa=null,Hr=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return vm&&t.locale!=="ko"?null:t.data;default:return null}}var F_={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 Em(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!F_[e.type]:t==="textarea"}function Tm(e,t,r,l){Lr?Zr?Zr.push(l):Zr=[l]:Lr=l,t=Ss(t,"onChange"),0<t.length&&(r=new zu("onChange","change",null,r,l),e.push({event:r,listeners:t}))}var Pi=null,Wi=null;function J_(e){ug(e,0)}function Du(e){var t=Xi(e);if(lm(t))return e}function Om(e,t){if(e==="change")return t}var Am=!1;if(Vn){var fc;if(Vn){var dc="oninput"in document;if(!dc){var Rm=document.createElement("div");Rm.setAttribute("oninput","return;"),dc=typeof Rm.oninput=="function"}fc=dc}else fc=!1;Am=fc&&(!document.documentMode||9<document.documentMode)}function Mm(){Pi&&(Pi.detachEvent("onpropertychange",Cm),Wi=Pi=null)}function Cm(e){if(e.propertyName==="value"&&Du(Wi)){var t=[];Tm(t,Wi,e,nc(e)),hm(J_,t)}}function k_(e,t,r){e==="focusin"?(Mm(),Pi=t,Wi=r,Pi.attachEvent("onpropertychange",Cm)):e==="focusout"&&Mm()}function P_(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Du(Wi)}function W_(e,t){if(e==="click")return Du(t)}function I_(e,t){if(e==="input"||e==="change")return Du(t)}function ew(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Gt=typeof Object.is=="function"?Object.is:ew;function Ii(e,t){if(Gt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),l=Object.keys(t);if(r.length!==l.length)return!1;for(l=0;l<r.length;l++){var s=r[l];if(!Yo.call(t,s)||!Gt(e[s],t[s]))return!1}return!0}function Nm(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function zm(e,t){var r=Nm(e);e=0;for(var l;r;){if(r.nodeType===3){if(l=e+r.textContent.length,e<=t&&l>=t)return{node:r,offset:t-e};e=l}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Nm(r)}}function $m(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?$m(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dm(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Au(e.document);t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch{r=!1}if(r)e=t.contentWindow;else break;t=Au(e.document)}return t}function hc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var tw=Vn&&"documentMode"in document&&11>=document.documentMode,Gr=null,mc=null,el=null,pc=!1;function Um(e,t,r){var l=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;pc||Gr==null||Gr!==Au(l)||(l=Gr,"selectionStart"in l&&hc(l)?l={start:l.selectionStart,end:l.selectionEnd}:(l=(l.ownerDocument&&l.ownerDocument.defaultView||window).getSelection(),l={anchorNode:l.anchorNode,anchorOffset:l.anchorOffset,focusNode:l.focusNode,focusOffset:l.focusOffset}),el&&Ii(el,l)||(el=l,l=Ss(mc,"onSelect"),0<l.length&&(t=new zu("onSelect","select",null,t,r),e.push({event:t,listeners:l}),t.target=Gr)))}function ar(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var Yr={animationend:ar("Animation","AnimationEnd"),animationiteration:ar("Animation","AnimationIteration"),animationstart:ar("Animation","AnimationStart"),transitionrun:ar("Transition","TransitionRun"),transitionstart:ar("Transition","TransitionStart"),transitioncancel:ar("Transition","TransitionCancel"),transitionend:ar("Transition","TransitionEnd")},yc={},qm={};Vn&&(qm=document.createElement("div").style,"AnimationEvent"in window||(delete Yr.animationend.animation,delete Yr.animationiteration.animation,delete Yr.animationstart.animation),"TransitionEvent"in window||delete Yr.transitionend.transition);function rr(e){if(yc[e])return yc[e];if(!Yr[e])return e;var t=Yr[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in qm)return yc[e]=t[r];return e}var jm=rr("animationend"),Bm=rr("animationiteration"),Lm=rr("animationstart"),nw=rr("transitionrun"),aw=rr("transitionstart"),rw=rr("transitioncancel"),Zm=rr("transitionend"),Hm=new Map,gc="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(" ");gc.push("scrollEnd");function hn(e,t){Hm.set(e,t),tr(t,[e])}var Uu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=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(t))return}else if(typeof wi=="object"&&typeof wi.emit=="function"){wi.emit("uncaughtException",e);return}console.error(e)},en=[],Vr=0,bc=0;function qu(){for(var e=Vr,t=bc=Vr=0;t<e;){var r=en[t];en[t++]=null;var l=en[t];en[t++]=null;var s=en[t];en[t++]=null;var c=en[t];if(en[t++]=null,l!==null&&s!==null){var m=l.pending;m===null?s.next=s:(s.next=m.next,m.next=s),l.pending=s}c!==0&&Gm(r,s,c)}}function ju(e,t,r,l){en[Vr++]=e,en[Vr++]=t,en[Vr++]=r,en[Vr++]=l,bc|=l,e.lanes|=l,e=e.alternate,e!==null&&(e.lanes|=l)}function vc(e,t,r,l){return ju(e,t,r,l),Bu(e)}function ir(e,t){return ju(e,null,null,t),Bu(e)}function Gm(e,t,r){e.lanes|=r;var l=e.alternate;l!==null&&(l.lanes|=r);for(var s=!1,c=e.return;c!==null;)c.childLanes|=r,l=c.alternate,l!==null&&(l.childLanes|=r),c.tag===22&&(e=c.stateNode,e===null||e._visibility&1||(s=!0)),e=c,c=c.return;return e.tag===3?(c=e.stateNode,s&&t!==null&&(s=31-Ht(r),e=c.hiddenUpdates,l=e[s],l===null?e[s]=[t]:l.push(t),t.lane=r|536870912),c):null}function Bu(e){if(50<Sl)throw Sl=0,Mf=null,Error(u(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Xr={};function iw(e,t,r,l){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=l,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yt(e,t,r,l){return new iw(e,t,r,l)}function _c(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Xn(e,t){var r=e.alternate;return r===null?(r=Yt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&65011712,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r.refCleanup=e.refCleanup,r}function Ym(e,t){e.flags&=65011714;var r=e.alternate;return r===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=r.childLanes,e.lanes=r.lanes,e.child=r.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=r.memoizedProps,e.memoizedState=r.memoizedState,e.updateQueue=r.updateQueue,e.type=r.type,t=r.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function Lu(e,t,r,l,s,c){var m=0;if(l=e,typeof e=="function")_c(e)&&(m=1);else if(typeof e=="string")m=cS(e,r,P.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case te:return e=Yt(31,r,t,s),e.elementType=te,e.lanes=c,e;case x:return lr(r.children,s,c,t);case z:m=8,s|=24;break;case G:return e=Yt(12,r,t,s|2),e.elementType=G,e.lanes=c,e;case Z:return e=Yt(13,r,t,s),e.elementType=Z,e.lanes=c,e;case J:return e=Yt(19,r,t,s),e.elementType=J,e.lanes=c,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case U:m=10;break e;case E:m=9;break e;case Y:m=11;break e;case B:m=14;break e;case ue:m=16,l=null;break e}m=29,r=Error(u(130,e===null?"null":typeof e,"")),l=null}return t=Yt(m,r,t,s),t.elementType=e,t.type=l,t.lanes=c,t}function lr(e,t,r,l){return e=Yt(7,e,l,t),e.lanes=r,e}function wc(e,t,r){return e=Yt(6,e,null,t),e.lanes=r,e}function Vm(e){var t=Yt(18,null,null,0);return t.stateNode=e,t}function Sc(e,t,r){return t=Yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Xm=new WeakMap;function tn(e,t){if(typeof e=="object"&&e!==null){var r=Xm.get(e);return r!==void 0?r:(t={value:e,source:t,stack:Vh(t)},Xm.set(e,t),t)}return{value:e,source:t,stack:Vh(t)}}var Qr=[],Kr=0,Zu=null,tl=0,nn=[],an=0,xa=null,Tn=1,On="";function Qn(e,t){Qr[Kr++]=tl,Qr[Kr++]=Zu,Zu=e,tl=t}function Qm(e,t,r){nn[an++]=Tn,nn[an++]=On,nn[an++]=xa,xa=e;var l=Tn;e=On;var s=32-Ht(l)-1;l&=~(1<<s),r+=1;var c=32-Ht(t)+s;if(30<c){var m=s-s%5;c=(l&(1<<m)-1).toString(32),l>>=m,s-=m,Tn=1<<32-Ht(t)+s|r<<s|l,On=c+e}else Tn=1<<c|r<<s|l,On=e}function xc(e){e.return!==null&&(Qn(e,1),Qm(e,1,0))}function Ec(e){for(;e===Zu;)Zu=Qr[--Kr],Qr[Kr]=null,tl=Qr[--Kr],Qr[Kr]=null;for(;e===xa;)xa=nn[--an],nn[an]=null,On=nn[--an],nn[an]=null,Tn=nn[--an],nn[an]=null}function Km(e,t){nn[an++]=Tn,nn[an++]=On,nn[an++]=xa,Tn=t.id,On=t.overflow,xa=e}var yt=null,He=null,_e=!1,Ea=null,rn=!1,Tc=Error(u(519));function Ta(e){var t=Error(u(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw nl(tn(t,e)),Tc}function Fm(e){var t=e.stateNode,r=e.type,l=e.memoizedProps;switch(t[pt]=e,t[Rt]=l,r){case"dialog":ge("cancel",t),ge("close",t);break;case"iframe":case"object":case"embed":ge("load",t);break;case"video":case"audio":for(r=0;r<El.length;r++)ge(El[r],t);break;case"source":ge("error",t);break;case"img":case"image":case"link":ge("error",t),ge("load",t);break;case"details":ge("toggle",t);break;case"input":ge("invalid",t),um(t,l.value,l.defaultValue,l.checked,l.defaultChecked,l.type,l.name,!0);break;case"select":ge("invalid",t);break;case"textarea":ge("invalid",t),om(t,l.value,l.defaultValue,l.children)}r=l.children,typeof r!="string"&&typeof r!="number"&&typeof r!="bigint"||t.textContent===""+r||l.suppressHydrationWarning===!0||fg(t.textContent,r)?(l.popover!=null&&(ge("beforetoggle",t),ge("toggle",t)),l.onScroll!=null&&ge("scroll",t),l.onScrollEnd!=null&&ge("scrollend",t),l.onClick!=null&&(t.onclick=Yn),t=!0):t=!1,t||Ta(e,!0)}function Jm(e){for(yt=e.return;yt;)switch(yt.tag){case 5:case 31:case 13:rn=!1;return;case 27:case 3:rn=!0;return;default:yt=yt.return}}function Fr(e){if(e!==yt)return!1;if(!_e)return Jm(e),_e=!0,!1;var t=e.tag,r;if((r=t!==3&&t!==27)&&((r=t===5)&&(r=e.type,r=!(r!=="form"&&r!=="button")||Vf(e.type,e.memoizedProps)),r=!r),r&&He&&Ta(e),Jm(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));He=_g(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(317));He=_g(e)}else t===27?(t=He,La(e.type)?(e=Jf,Jf=null,He=e):He=t):He=yt?un(e.stateNode.nextSibling):null;return!0}function ur(){He=yt=null,_e=!1}function Oc(){var e=Ea;return e!==null&&($t===null?$t=e:$t.push.apply($t,e),Ea=null),e}function nl(e){Ea===null?Ea=[e]:Ea.push(e)}var Ac=O(null),sr=null,Kn=null;function Oa(e,t,r){ee(Ac,t._currentValue),t._currentValue=r}function Fn(e){e._currentValue=Ac.current,Q(Ac)}function Rc(e,t,r){for(;e!==null;){var l=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,l!==null&&(l.childLanes|=t)):l!==null&&(l.childLanes&t)!==t&&(l.childLanes|=t),e===r)break;e=e.return}}function Mc(e,t,r,l){var s=e.child;for(s!==null&&(s.return=e);s!==null;){var c=s.dependencies;if(c!==null){var m=s.child;c=c.firstContext;e:for(;c!==null;){var g=c;c=s;for(var w=0;w<t.length;w++)if(g.context===t[w]){c.lanes|=r,g=c.alternate,g!==null&&(g.lanes|=r),Rc(c.return,r,e),l||(m=null);break e}c=g.next}}else if(s.tag===18){if(m=s.return,m===null)throw Error(u(341));m.lanes|=r,c=m.alternate,c!==null&&(c.lanes|=r),Rc(m,r,e),m=null}else m=s.child;if(m!==null)m.return=s;else for(m=s;m!==null;){if(m===e){m=null;break}if(s=m.sibling,s!==null){s.return=m.return,m=s;break}m=m.return}s=m}}function Jr(e,t,r,l){e=null;for(var s=t,c=!1;s!==null;){if(!c){if((s.flags&524288)!==0)c=!0;else if((s.flags&262144)!==0)break}if(s.tag===10){var m=s.alternate;if(m===null)throw Error(u(387));if(m=m.memoizedProps,m!==null){var g=s.type;Gt(s.pendingProps.value,m.value)||(e!==null?e.push(g):e=[g])}}else if(s===Ae.current){if(m=s.alternate,m===null)throw Error(u(387));m.memoizedState.memoizedState!==s.memoizedState.memoizedState&&(e!==null?e.push(Ml):e=[Ml])}s=s.return}e!==null&&Mc(t,e,r,l),t.flags|=262144}function Hu(e){for(e=e.firstContext;e!==null;){if(!Gt(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function or(e){sr=e,Kn=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function gt(e){return km(sr,e)}function Gu(e,t){return sr===null&&or(e),km(e,t)}function km(e,t){var r=t._currentValue;if(t={context:t,memoizedValue:r,next:null},Kn===null){if(e===null)throw Error(u(308));Kn=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Kn=Kn.next=t;return r}var lw=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(r,l){e.push(l)}};this.abort=function(){t.aborted=!0,e.forEach(function(r){return r()})}},uw=n.unstable_scheduleCallback,sw=n.unstable_NormalPriority,it={$$typeof:U,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Cc(){return{controller:new lw,data:new Map,refCount:0}}function al(e){e.refCount--,e.refCount===0&&uw(sw,function(){e.controller.abort()})}var rl=null,Nc=0,kr=0,Pr=null;function ow(e,t){if(rl===null){var r=rl=[];Nc=0,kr=Uf(),Pr={status:"pending",value:void 0,then:function(l){r.push(l)}}}return Nc++,t.then(Pm,Pm),t}function Pm(){if(--Nc===0&&rl!==null){Pr!==null&&(Pr.status="fulfilled");var e=rl;rl=null,kr=0,Pr=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function cw(e,t){var r=[],l={status:"pending",value:null,reason:null,then:function(s){r.push(s)}};return e.then(function(){l.status="fulfilled",l.value=t;for(var s=0;s<r.length;s++)(0,r[s])(t)},function(s){for(l.status="rejected",l.reason=s,s=0;s<r.length;s++)(0,r[s])(void 0)}),l}var Wm=S.S;S.S=function(e,t){Uy=Lt(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&ow(e,t),Wm!==null&&Wm(e,t)};var cr=O(null);function zc(){var e=cr.current;return e!==null?e:qe.pooledCache}function Yu(e,t){t===null?ee(cr,cr.current):ee(cr,t.pool)}function Im(){var e=zc();return e===null?null:{parent:it._currentValue,pool:e}}var Wr=Error(u(460)),$c=Error(u(474)),Vu=Error(u(542)),Xu={then:function(){}};function ep(e){return e=e.status,e==="fulfilled"||e==="rejected"}function tp(e,t,r){switch(r=e[r],r===void 0?e.push(t):r!==t&&(t.then(Yn,Yn),t=r),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ap(e),e;default:if(typeof t.status=="string")t.then(Yn,Yn);else{if(e=qe,e!==null&&100<e.shellSuspendCounter)throw Error(u(482));e=t,e.status="pending",e.then(function(l){if(t.status==="pending"){var s=t;s.status="fulfilled",s.value=l}},function(l){if(t.status==="pending"){var s=t;s.status="rejected",s.reason=l}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,ap(e),e}throw dr=t,Wr}}function fr(e){try{var t=e._init;return t(e._payload)}catch(r){throw r!==null&&typeof r=="object"&&typeof r.then=="function"?(dr=r,Wr):r}}var dr=null;function np(){if(dr===null)throw Error(u(459));var e=dr;return dr=null,e}function ap(e){if(e===Wr||e===Vu)throw Error(u(483))}var Ir=null,il=0;function Qu(e){var t=il;return il+=1,Ir===null&&(Ir=[]),tp(Ir,e,t)}function ll(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function Ku(e,t){throw t.$$typeof===A?Error(u(525)):(e=Object.prototype.toString.call(t),Error(u(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function rp(e){function t(M,T){if(e){var $=M.deletions;$===null?(M.deletions=[T],M.flags|=16):$.push(T)}}function r(M,T){if(!e)return null;for(;T!==null;)t(M,T),T=T.sibling;return null}function l(M){for(var T=new Map;M!==null;)M.key!==null?T.set(M.key,M):T.set(M.index,M),M=M.sibling;return T}function s(M,T){return M=Xn(M,T),M.index=0,M.sibling=null,M}function c(M,T,$){return M.index=$,e?($=M.alternate,$!==null?($=$.index,$<T?(M.flags|=67108866,T):$):(M.flags|=67108866,T)):(M.flags|=1048576,T)}function m(M){return e&&M.alternate===null&&(M.flags|=67108866),M}function g(M,T,$,X){return T===null||T.tag!==6?(T=wc($,M.mode,X),T.return=M,T):(T=s(T,$),T.return=M,T)}function w(M,T,$,X){var le=$.type;return le===x?V(M,T,$.props.children,X,$.key):T!==null&&(T.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===ue&&fr(le)===T.type)?(T=s(T,$.props),ll(T,$),T.return=M,T):(T=Lu($.type,$.key,$.props,null,M.mode,X),ll(T,$),T.return=M,T)}function D(M,T,$,X){return T===null||T.tag!==4||T.stateNode.containerInfo!==$.containerInfo||T.stateNode.implementation!==$.implementation?(T=Sc($,M.mode,X),T.return=M,T):(T=s(T,$.children||[]),T.return=M,T)}function V(M,T,$,X,le){return T===null||T.tag!==7?(T=lr($,M.mode,X,le),T.return=M,T):(T=s(T,$),T.return=M,T)}function K(M,T,$){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return T=wc(""+T,M.mode,$),T.return=M,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case N:return $=Lu(T.type,T.key,T.props,null,M.mode,$),ll($,T),$.return=M,$;case C:return T=Sc(T,M.mode,$),T.return=M,T;case ue:return T=fr(T),K(M,T,$)}if(L(T)||Me(T))return T=lr(T,M.mode,$,null),T.return=M,T;if(typeof T.then=="function")return K(M,Qu(T),$);if(T.$$typeof===U)return K(M,Gu(M,T),$);Ku(M,T)}return null}function q(M,T,$,X){var le=T!==null?T.key:null;if(typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint")return le!==null?null:g(M,T,""+$,X);if(typeof $=="object"&&$!==null){switch($.$$typeof){case N:return $.key===le?w(M,T,$,X):null;case C:return $.key===le?D(M,T,$,X):null;case ue:return $=fr($),q(M,T,$,X)}if(L($)||Me($))return le!==null?null:V(M,T,$,X,null);if(typeof $.then=="function")return q(M,T,Qu($),X);if($.$$typeof===U)return q(M,T,Gu(M,$),X);Ku(M,$)}return null}function H(M,T,$,X,le){if(typeof X=="string"&&X!==""||typeof X=="number"||typeof X=="bigint")return M=M.get($)||null,g(T,M,""+X,le);if(typeof X=="object"&&X!==null){switch(X.$$typeof){case N:return M=M.get(X.key===null?$:X.key)||null,w(T,M,X,le);case C:return M=M.get(X.key===null?$:X.key)||null,D(T,M,X,le);case ue:return X=fr(X),H(M,T,$,X,le)}if(L(X)||Me(X))return M=M.get($)||null,V(T,M,X,le,null);if(typeof X.then=="function")return H(M,T,$,Qu(X),le);if(X.$$typeof===U)return H(M,T,$,Gu(T,X),le);Ku(T,X)}return null}function ne(M,T,$,X){for(var le=null,Se=null,ie=T,he=T=0,ve=null;ie!==null&&he<$.length;he++){ie.index>he?(ve=ie,ie=null):ve=ie.sibling;var xe=q(M,ie,$[he],X);if(xe===null){ie===null&&(ie=ve);break}e&&ie&&xe.alternate===null&&t(M,ie),T=c(xe,T,he),Se===null?le=xe:Se.sibling=xe,Se=xe,ie=ve}if(he===$.length)return r(M,ie),_e&&Qn(M,he),le;if(ie===null){for(;he<$.length;he++)ie=K(M,$[he],X),ie!==null&&(T=c(ie,T,he),Se===null?le=ie:Se.sibling=ie,Se=ie);return _e&&Qn(M,he),le}for(ie=l(ie);he<$.length;he++)ve=H(ie,M,he,$[he],X),ve!==null&&(e&&ve.alternate!==null&&ie.delete(ve.key===null?he:ve.key),T=c(ve,T,he),Se===null?le=ve:Se.sibling=ve,Se=ve);return e&&ie.forEach(function(Va){return t(M,Va)}),_e&&Qn(M,he),le}function oe(M,T,$,X){if($==null)throw Error(u(151));for(var le=null,Se=null,ie=T,he=T=0,ve=null,xe=$.next();ie!==null&&!xe.done;he++,xe=$.next()){ie.index>he?(ve=ie,ie=null):ve=ie.sibling;var Va=q(M,ie,xe.value,X);if(Va===null){ie===null&&(ie=ve);break}e&&ie&&Va.alternate===null&&t(M,ie),T=c(Va,T,he),Se===null?le=Va:Se.sibling=Va,Se=Va,ie=ve}if(xe.done)return r(M,ie),_e&&Qn(M,he),le;if(ie===null){for(;!xe.done;he++,xe=$.next())xe=K(M,xe.value,X),xe!==null&&(T=c(xe,T,he),Se===null?le=xe:Se.sibling=xe,Se=xe);return _e&&Qn(M,he),le}for(ie=l(ie);!xe.done;he++,xe=$.next())xe=H(ie,M,he,xe.value,X),xe!==null&&(e&&xe.alternate!==null&&ie.delete(xe.key===null?he:xe.key),T=c(xe,T,he),Se===null?le=xe:Se.sibling=xe,Se=xe);return e&&ie.forEach(function(wS){return t(M,wS)}),_e&&Qn(M,he),le}function Ue(M,T,$,X){if(typeof $=="object"&&$!==null&&$.type===x&&$.key===null&&($=$.props.children),typeof $=="object"&&$!==null){switch($.$$typeof){case N:e:{for(var le=$.key;T!==null;){if(T.key===le){if(le=$.type,le===x){if(T.tag===7){r(M,T.sibling),X=s(T,$.props.children),X.return=M,M=X;break e}}else if(T.elementType===le||typeof le=="object"&&le!==null&&le.$$typeof===ue&&fr(le)===T.type){r(M,T.sibling),X=s(T,$.props),ll(X,$),X.return=M,M=X;break e}r(M,T);break}else t(M,T);T=T.sibling}$.type===x?(X=lr($.props.children,M.mode,X,$.key),X.return=M,M=X):(X=Lu($.type,$.key,$.props,null,M.mode,X),ll(X,$),X.return=M,M=X)}return m(M);case C:e:{for(le=$.key;T!==null;){if(T.key===le)if(T.tag===4&&T.stateNode.containerInfo===$.containerInfo&&T.stateNode.implementation===$.implementation){r(M,T.sibling),X=s(T,$.children||[]),X.return=M,M=X;break e}else{r(M,T);break}else t(M,T);T=T.sibling}X=Sc($,M.mode,X),X.return=M,M=X}return m(M);case ue:return $=fr($),Ue(M,T,$,X)}if(L($))return ne(M,T,$,X);if(Me($)){if(le=Me($),typeof le!="function")throw Error(u(150));return $=le.call($),oe(M,T,$,X)}if(typeof $.then=="function")return Ue(M,T,Qu($),X);if($.$$typeof===U)return Ue(M,T,Gu(M,$),X);Ku(M,$)}return typeof $=="string"&&$!==""||typeof $=="number"||typeof $=="bigint"?($=""+$,T!==null&&T.tag===6?(r(M,T.sibling),X=s(T,$),X.return=M,M=X):(r(M,T),X=wc($,M.mode,X),X.return=M,M=X),m(M)):r(M,T)}return function(M,T,$,X){try{il=0;var le=Ue(M,T,$,X);return Ir=null,le}catch(ie){if(ie===Wr||ie===Vu)throw ie;var Se=Yt(29,ie,null,M.mode);return Se.lanes=X,Se.return=M,Se}finally{}}}var hr=rp(!0),ip=rp(!1),Aa=!1;function Dc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Uc(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Ra(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Ma(e,t,r){var l=e.updateQueue;if(l===null)return null;if(l=l.shared,(Ee&2)!==0){var s=l.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),l.pending=t,t=Bu(e),Gm(e,null,r),t}return ju(e,l,t,r),Bu(e)}function ul(e,t,r){if(t=t.updateQueue,t!==null&&(t=t.shared,(r&4194048)!==0)){var l=t.lanes;l&=e.pendingLanes,r|=l,t.lanes=r,kh(e,r)}}function qc(e,t){var r=e.updateQueue,l=e.alternate;if(l!==null&&(l=l.updateQueue,r===l)){var s=null,c=null;if(r=r.firstBaseUpdate,r!==null){do{var m={lane:r.lane,tag:r.tag,payload:r.payload,callback:null,next:null};c===null?s=c=m:c=c.next=m,r=r.next}while(r!==null);c===null?s=c=t:c=c.next=t}else s=c=t;r={baseState:l.baseState,firstBaseUpdate:s,lastBaseUpdate:c,shared:l.shared,callbacks:l.callbacks},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}var jc=!1;function sl(){if(jc){var e=Pr;if(e!==null)throw e}}function ol(e,t,r,l){jc=!1;var s=e.updateQueue;Aa=!1;var c=s.firstBaseUpdate,m=s.lastBaseUpdate,g=s.shared.pending;if(g!==null){s.shared.pending=null;var w=g,D=w.next;w.next=null,m===null?c=D:m.next=D,m=w;var V=e.alternate;V!==null&&(V=V.updateQueue,g=V.lastBaseUpdate,g!==m&&(g===null?V.firstBaseUpdate=D:g.next=D,V.lastBaseUpdate=w))}if(c!==null){var K=s.baseState;m=0,V=D=w=null,g=c;do{var q=g.lane&-536870913,H=q!==g.lane;if(H?(be&q)===q:(l&q)===q){q!==0&&q===kr&&(jc=!0),V!==null&&(V=V.next={lane:0,tag:g.tag,payload:g.payload,callback:null,next:null});e:{var ne=e,oe=g;q=t;var Ue=r;switch(oe.tag){case 1:if(ne=oe.payload,typeof ne=="function"){K=ne.call(Ue,K,q);break e}K=ne;break e;case 3:ne.flags=ne.flags&-65537|128;case 0:if(ne=oe.payload,q=typeof ne=="function"?ne.call(Ue,K,q):ne,q==null)break e;K=v({},K,q);break e;case 2:Aa=!0}}q=g.callback,q!==null&&(e.flags|=64,H&&(e.flags|=8192),H=s.callbacks,H===null?s.callbacks=[q]:H.push(q))}else H={lane:q,tag:g.tag,payload:g.payload,callback:g.callback,next:null},V===null?(D=V=H,w=K):V=V.next=H,m|=q;if(g=g.next,g===null){if(g=s.shared.pending,g===null)break;H=g,g=H.next,H.next=null,s.lastBaseUpdate=H,s.shared.pending=null}}while(!0);V===null&&(w=K),s.baseState=w,s.firstBaseUpdate=D,s.lastBaseUpdate=V,c===null&&(s.shared.lanes=0),Da|=m,e.lanes=m,e.memoizedState=K}}function lp(e,t){if(typeof e!="function")throw Error(u(191,e));e.call(t)}function up(e,t){var r=e.callbacks;if(r!==null)for(e.callbacks=null,e=0;e<r.length;e++)lp(r[e],t)}var ei=O(null),Fu=O(0);function sp(e,t){e=aa,ee(Fu,e),ee(ei,t),aa=e|t.baseLanes}function Bc(){ee(Fu,aa),ee(ei,ei.current)}function Lc(){aa=Fu.current,Q(ei),Q(Fu)}var Vt=O(null),ln=null;function Ca(e){var t=e.alternate;ee(et,et.current&1),ee(Vt,e),ln===null&&(t===null||ei.current!==null||t.memoizedState!==null)&&(ln=e)}function Zc(e){ee(et,et.current),ee(Vt,e),ln===null&&(ln=e)}function op(e){e.tag===22?(ee(et,et.current),ee(Vt,e),ln===null&&(ln=e)):Na()}function Na(){ee(et,et.current),ee(Vt,Vt.current)}function Xt(e){Q(Vt),ln===e&&(ln=null),Q(et)}var et=O(0);function Ju(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||Kf(r)||Ff(r)))return t}else if(t.tag===19&&(t.memoizedProps.revealOrder==="forwards"||t.memoizedProps.revealOrder==="backwards"||t.memoizedProps.revealOrder==="unstable_legacy-backwards"||t.memoizedProps.revealOrder==="together")){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Jn=0,de=null,$e=null,lt=null,ku=!1,ti=!1,mr=!1,Pu=0,cl=0,ni=null,fw=0;function ke(){throw Error(u(321))}function Hc(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!Gt(e[r],t[r]))return!1;return!0}function Gc(e,t,r,l,s,c){return Jn=c,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,S.H=e===null||e.memoizedState===null?Qp:af,mr=!1,c=r(l,s),mr=!1,ti&&(c=fp(t,r,l,s)),cp(e),c}function cp(e){S.H=hl;var t=$e!==null&&$e.next!==null;if(Jn=0,lt=$e=de=null,ku=!1,cl=0,ni=null,t)throw Error(u(300));e===null||ut||(e=e.dependencies,e!==null&&Hu(e)&&(ut=!0))}function fp(e,t,r,l){de=e;var s=0;do{if(ti&&(ni=null),cl=0,ti=!1,25<=s)throw Error(u(301));if(s+=1,lt=$e=null,e.updateQueue!=null){var c=e.updateQueue;c.lastEffect=null,c.events=null,c.stores=null,c.memoCache!=null&&(c.memoCache.index=0)}S.H=Kp,c=t(r,l)}while(ti);return c}function dw(){var e=S.H,t=e.useState()[0];return t=typeof t.then=="function"?fl(t):t,e=e.useState()[0],($e!==null?$e.memoizedState:null)!==e&&(de.flags|=1024),t}function Yc(){var e=Pu!==0;return Pu=0,e}function Vc(e,t,r){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~r}function Xc(e){if(ku){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}ku=!1}Jn=0,lt=$e=de=null,ti=!1,cl=Pu=0,ni=null}function At(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return lt===null?de.memoizedState=lt=e:lt=lt.next=e,lt}function tt(){if($e===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=$e.next;var t=lt===null?de.memoizedState:lt.next;if(t!==null)lt=t,$e=e;else{if(e===null)throw de.alternate===null?Error(u(467)):Error(u(310));$e=e,e={memoizedState:$e.memoizedState,baseState:$e.baseState,baseQueue:$e.baseQueue,queue:$e.queue,next:null},lt===null?de.memoizedState=lt=e:lt=lt.next=e}return lt}function Wu(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function fl(e){var t=cl;return cl+=1,ni===null&&(ni=[]),e=tp(ni,e,t),t=de,(lt===null?t.memoizedState:lt.next)===null&&(t=t.alternate,S.H=t===null||t.memoizedState===null?Qp:af),e}function Iu(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return fl(e);if(e.$$typeof===U)return gt(e)}throw Error(u(438,String(e)))}function Qc(e){var t=null,r=de.updateQueue;if(r!==null&&(t=r.memoCache),t==null){var l=de.alternate;l!==null&&(l=l.updateQueue,l!==null&&(l=l.memoCache,l!=null&&(t={data:l.data.map(function(s){return s.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),r===null&&(r=Wu(),de.updateQueue=r),r.memoCache=t,r=t.data[t.index],r===void 0)for(r=t.data[t.index]=Array(e),l=0;l<e;l++)r[l]=ze;return t.index++,r}function kn(e,t){return typeof t=="function"?t(e):t}function es(e){var t=tt();return Kc(t,$e,e)}function Kc(e,t,r){var l=e.queue;if(l===null)throw Error(u(311));l.lastRenderedReducer=r;var s=e.baseQueue,c=l.pending;if(c!==null){if(s!==null){var m=s.next;s.next=c.next,c.next=m}t.baseQueue=s=c,l.pending=null}if(c=e.baseState,s===null)e.memoizedState=c;else{t=s.next;var g=m=null,w=null,D=t,V=!1;do{var K=D.lane&-536870913;if(K!==D.lane?(be&K)===K:(Jn&K)===K){var q=D.revertLane;if(q===0)w!==null&&(w=w.next={lane:0,revertLane:0,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null}),K===kr&&(V=!0);else if((Jn&q)===q){D=D.next,q===kr&&(V=!0);continue}else K={lane:0,revertLane:D.revertLane,gesture:null,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},w===null?(g=w=K,m=c):w=w.next=K,de.lanes|=q,Da|=q;K=D.action,mr&&r(c,K),c=D.hasEagerState?D.eagerState:r(c,K)}else q={lane:K,revertLane:D.revertLane,gesture:D.gesture,action:D.action,hasEagerState:D.hasEagerState,eagerState:D.eagerState,next:null},w===null?(g=w=q,m=c):w=w.next=q,de.lanes|=K,Da|=K;D=D.next}while(D!==null&&D!==t);if(w===null?m=c:w.next=g,!Gt(c,e.memoizedState)&&(ut=!0,V&&(r=Pr,r!==null)))throw r;e.memoizedState=c,e.baseState=m,e.baseQueue=w,l.lastRenderedState=c}return s===null&&(l.lanes=0),[e.memoizedState,l.dispatch]}function Fc(e){var t=tt(),r=t.queue;if(r===null)throw Error(u(311));r.lastRenderedReducer=e;var l=r.dispatch,s=r.pending,c=t.memoizedState;if(s!==null){r.pending=null;var m=s=s.next;do c=e(c,m.action),m=m.next;while(m!==s);Gt(c,t.memoizedState)||(ut=!0),t.memoizedState=c,t.baseQueue===null&&(t.baseState=c),r.lastRenderedState=c}return[c,l]}function dp(e,t,r){var l=de,s=tt(),c=_e;if(c){if(r===void 0)throw Error(u(407));r=r()}else r=t();var m=!Gt(($e||s).memoizedState,r);if(m&&(s.memoizedState=r,ut=!0),s=s.queue,Pc(pp.bind(null,l,s,e),[e]),s.getSnapshot!==t||m||lt!==null&&lt.memoizedState.tag&1){if(l.flags|=2048,ai(9,{destroy:void 0},mp.bind(null,l,s,r,t),null),qe===null)throw Error(u(349));c||(Jn&127)!==0||hp(l,t,r)}return r}function hp(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},t=de.updateQueue,t===null?(t=Wu(),de.updateQueue=t,t.stores=[e]):(r=t.stores,r===null?t.stores=[e]:r.push(e))}function mp(e,t,r,l){t.value=r,t.getSnapshot=l,yp(t)&&gp(e)}function pp(e,t,r){return r(function(){yp(t)&&gp(e)})}function yp(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!Gt(e,r)}catch{return!0}}function gp(e){var t=ir(e,2);t!==null&&Dt(t,e,2)}function Jc(e){var t=At();if(typeof e=="function"){var r=e;if(e=r(),mr){_a(!0);try{r()}finally{_a(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:e},t}function bp(e,t,r,l){return e.baseState=r,Kc(e,$e,typeof l=="function"?l:kn)}function hw(e,t,r,l,s){if(as(e))throw Error(u(485));if(e=t.action,e!==null){var c={payload:s,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(m){c.listeners.push(m)}};S.T!==null?r(!0):c.isTransition=!1,l(c),r=t.pending,r===null?(c.next=t.pending=c,vp(t,c)):(c.next=r.next,t.pending=r.next=c)}}function vp(e,t){var r=t.action,l=t.payload,s=e.state;if(t.isTransition){var c=S.T,m={};S.T=m;try{var g=r(s,l),w=S.S;w!==null&&w(m,g),_p(e,t,g)}catch(D){kc(e,t,D)}finally{c!==null&&m.types!==null&&(c.types=m.types),S.T=c}}else try{c=r(s,l),_p(e,t,c)}catch(D){kc(e,t,D)}}function _p(e,t,r){r!==null&&typeof r=="object"&&typeof r.then=="function"?r.then(function(l){wp(e,t,l)},function(l){return kc(e,t,l)}):wp(e,t,r)}function wp(e,t,r){t.status="fulfilled",t.value=r,Sp(t),e.state=r,t=e.pending,t!==null&&(r=t.next,r===t?e.pending=null:(r=r.next,t.next=r,vp(e,r)))}function kc(e,t,r){var l=e.pending;if(e.pending=null,l!==null){l=l.next;do t.status="rejected",t.reason=r,Sp(t),t=t.next;while(t!==l)}e.action=null}function Sp(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function xp(e,t){return t}function Ep(e,t){if(_e){var r=qe.formState;if(r!==null){e:{var l=de;if(_e){if(He){t:{for(var s=He,c=rn;s.nodeType!==8;){if(!c){s=null;break t}if(s=un(s.nextSibling),s===null){s=null;break t}}c=s.data,s=c==="F!"||c==="F"?s:null}if(s){He=un(s.nextSibling),l=s.data==="F!";break e}}Ta(l)}l=!1}l&&(t=r[0])}}return r=At(),r.memoizedState=r.baseState=t,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xp,lastRenderedState:t},r.queue=l,r=Yp.bind(null,de,l),l.dispatch=r,l=Jc(!1),c=nf.bind(null,de,!1,l.queue),l=At(),s={state:t,dispatch:null,action:e,pending:null},l.queue=s,r=hw.bind(null,de,s,c,r),s.dispatch=r,l.memoizedState=e,[t,r,!1]}function Tp(e){var t=tt();return Op(t,$e,e)}function Op(e,t,r){if(t=Kc(e,t,xp)[0],e=es(kn)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var l=fl(t)}catch(m){throw m===Wr?Vu:m}else l=t;t=tt();var s=t.queue,c=s.dispatch;return r!==t.memoizedState&&(de.flags|=2048,ai(9,{destroy:void 0},mw.bind(null,s,r),null)),[l,c,e]}function mw(e,t){e.action=t}function Ap(e){var t=tt(),r=$e;if(r!==null)return Op(t,r,e);tt(),t=t.memoizedState,r=tt();var l=r.queue.dispatch;return r.memoizedState=e,[t,l,!1]}function ai(e,t,r,l){return e={tag:e,create:r,deps:l,inst:t,next:null},t=de.updateQueue,t===null&&(t=Wu(),de.updateQueue=t),r=t.lastEffect,r===null?t.lastEffect=e.next=e:(l=r.next,r.next=e,e.next=l,t.lastEffect=e),e}function Rp(){return tt().memoizedState}function ts(e,t,r,l){var s=At();de.flags|=e,s.memoizedState=ai(1|t,{destroy:void 0},r,l===void 0?null:l)}function ns(e,t,r,l){var s=tt();l=l===void 0?null:l;var c=s.memoizedState.inst;$e!==null&&l!==null&&Hc(l,$e.memoizedState.deps)?s.memoizedState=ai(t,c,r,l):(de.flags|=e,s.memoizedState=ai(1|t,c,r,l))}function Mp(e,t){ts(8390656,8,e,t)}function Pc(e,t){ns(2048,8,e,t)}function pw(e){de.flags|=4;var t=de.updateQueue;if(t===null)t=Wu(),de.updateQueue=t,t.events=[e];else{var r=t.events;r===null?t.events=[e]:r.push(e)}}function Cp(e){var t=tt().memoizedState;return pw({ref:t,nextImpl:e}),function(){if((Ee&2)!==0)throw Error(u(440));return t.impl.apply(void 0,arguments)}}function Np(e,t){return ns(4,2,e,t)}function zp(e,t){return ns(4,4,e,t)}function $p(e,t){if(typeof t=="function"){e=e();var r=t(e);return function(){typeof r=="function"?r():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Dp(e,t,r){r=r!=null?r.concat([e]):null,ns(4,4,$p.bind(null,t,e),r)}function Wc(){}function Up(e,t){var r=tt();t=t===void 0?null:t;var l=r.memoizedState;return t!==null&&Hc(t,l[1])?l[0]:(r.memoizedState=[e,t],e)}function qp(e,t){var r=tt();t=t===void 0?null:t;var l=r.memoizedState;if(t!==null&&Hc(t,l[1]))return l[0];if(l=e(),mr){_a(!0);try{e()}finally{_a(!1)}}return r.memoizedState=[l,t],l}function Ic(e,t,r){return r===void 0||(Jn&1073741824)!==0&&(be&261930)===0?e.memoizedState=t:(e.memoizedState=r,e=jy(),de.lanes|=e,Da|=e,r)}function jp(e,t,r,l){return Gt(r,t)?r:ei.current!==null?(e=Ic(e,r,l),Gt(e,t)||(ut=!0),e):(Jn&42)===0||(Jn&1073741824)!==0&&(be&261930)===0?(ut=!0,e.memoizedState=r):(e=jy(),de.lanes|=e,Da|=e,t)}function Bp(e,t,r,l,s){var c=F.p;F.p=c!==0&&8>c?c:8;var m=S.T,g={};S.T=g,nf(e,!1,t,r);try{var w=s(),D=S.S;if(D!==null&&D(g,w),w!==null&&typeof w=="object"&&typeof w.then=="function"){var V=cw(w,l);dl(e,t,V,Ft(e))}else dl(e,t,l,Ft(e))}catch(K){dl(e,t,{then:function(){},status:"rejected",reason:K},Ft())}finally{F.p=c,m!==null&&g.types!==null&&(m.types=g.types),S.T=m}}function yw(){}function ef(e,t,r,l){if(e.tag!==5)throw Error(u(476));var s=Lp(e).queue;Bp(e,s,t,I,r===null?yw:function(){return Zp(e),r(l)})}function Lp(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:I,baseState:I,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:I},next:null};var r={};return t.next={memoizedState:r,baseState:r,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:kn,lastRenderedState:r},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function Zp(e){var t=Lp(e);t.next===null&&(t=e.alternate.memoizedState),dl(e,t.next.queue,{},Ft())}function tf(){return gt(Ml)}function Hp(){return tt().memoizedState}function Gp(){return tt().memoizedState}function gw(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var r=Ft();e=Ra(r);var l=Ma(t,e,r);l!==null&&(Dt(l,t,r),ul(l,t,r)),t={cache:Cc()},e.payload=t;return}t=t.return}}function bw(e,t,r){var l=Ft();r={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null},as(e)?Vp(t,r):(r=vc(e,t,r,l),r!==null&&(Dt(r,e,l),Xp(r,t,l)))}function Yp(e,t,r){var l=Ft();dl(e,t,r,l)}function dl(e,t,r,l){var s={lane:l,revertLane:0,gesture:null,action:r,hasEagerState:!1,eagerState:null,next:null};if(as(e))Vp(t,s);else{var c=e.alternate;if(e.lanes===0&&(c===null||c.lanes===0)&&(c=t.lastRenderedReducer,c!==null))try{var m=t.lastRenderedState,g=c(m,r);if(s.hasEagerState=!0,s.eagerState=g,Gt(g,m))return ju(e,t,s,0),qe===null&&qu(),!1}catch{}finally{}if(r=vc(e,t,s,l),r!==null)return Dt(r,e,l),Xp(r,t,l),!0}return!1}function nf(e,t,r,l){if(l={lane:2,revertLane:Uf(),gesture:null,action:l,hasEagerState:!1,eagerState:null,next:null},as(e)){if(t)throw Error(u(479))}else t=vc(e,r,l,2),t!==null&&Dt(t,e,2)}function as(e){var t=e.alternate;return e===de||t!==null&&t===de}function Vp(e,t){ti=ku=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Xp(e,t,r){if((r&4194048)!==0){var l=t.lanes;l&=e.pendingLanes,r|=l,t.lanes=r,kh(e,r)}}var hl={readContext:gt,use:Iu,useCallback:ke,useContext:ke,useEffect:ke,useImperativeHandle:ke,useLayoutEffect:ke,useInsertionEffect:ke,useMemo:ke,useReducer:ke,useRef:ke,useState:ke,useDebugValue:ke,useDeferredValue:ke,useTransition:ke,useSyncExternalStore:ke,useId:ke,useHostTransitionStatus:ke,useFormState:ke,useActionState:ke,useOptimistic:ke,useMemoCache:ke,useCacheRefresh:ke};hl.useEffectEvent=ke;var Qp={readContext:gt,use:Iu,useCallback:function(e,t){return At().memoizedState=[e,t===void 0?null:t],e},useContext:gt,useEffect:Mp,useImperativeHandle:function(e,t,r){r=r!=null?r.concat([e]):null,ts(4194308,4,$p.bind(null,t,e),r)},useLayoutEffect:function(e,t){return ts(4194308,4,e,t)},useInsertionEffect:function(e,t){ts(4,2,e,t)},useMemo:function(e,t){var r=At();t=t===void 0?null:t;var l=e();if(mr){_a(!0);try{e()}finally{_a(!1)}}return r.memoizedState=[l,t],l},useReducer:function(e,t,r){var l=At();if(r!==void 0){var s=r(t);if(mr){_a(!0);try{r(t)}finally{_a(!1)}}}else s=t;return l.memoizedState=l.baseState=s,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:s},l.queue=e,e=e.dispatch=bw.bind(null,de,e),[l.memoizedState,e]},useRef:function(e){var t=At();return e={current:e},t.memoizedState=e},useState:function(e){e=Jc(e);var t=e.queue,r=Yp.bind(null,de,t);return t.dispatch=r,[e.memoizedState,r]},useDebugValue:Wc,useDeferredValue:function(e,t){var r=At();return Ic(r,e,t)},useTransition:function(){var e=Jc(!1);return e=Bp.bind(null,de,e.queue,!0,!1),At().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,r){var l=de,s=At();if(_e){if(r===void 0)throw Error(u(407));r=r()}else{if(r=t(),qe===null)throw Error(u(349));(be&127)!==0||hp(l,t,r)}s.memoizedState=r;var c={value:r,getSnapshot:t};return s.queue=c,Mp(pp.bind(null,l,c,e),[e]),l.flags|=2048,ai(9,{destroy:void 0},mp.bind(null,l,c,r,t),null),r},useId:function(){var e=At(),t=qe.identifierPrefix;if(_e){var r=On,l=Tn;r=(l&~(1<<32-Ht(l)-1)).toString(32)+r,t="_"+t+"R_"+r,r=Pu++,0<r&&(t+="H"+r.toString(32)),t+="_"}else r=fw++,t="_"+t+"r_"+r.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:tf,useFormState:Ep,useActionState:Ep,useOptimistic:function(e){var t=At();t.memoizedState=t.baseState=e;var r={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=r,t=nf.bind(null,de,!0,r),r.dispatch=t,[e,t]},useMemoCache:Qc,useCacheRefresh:function(){return At().memoizedState=gw.bind(null,de)},useEffectEvent:function(e){var t=At(),r={impl:e};return t.memoizedState=r,function(){if((Ee&2)!==0)throw Error(u(440));return r.impl.apply(void 0,arguments)}}},af={readContext:gt,use:Iu,useCallback:Up,useContext:gt,useEffect:Pc,useImperativeHandle:Dp,useInsertionEffect:Np,useLayoutEffect:zp,useMemo:qp,useReducer:es,useRef:Rp,useState:function(){return es(kn)},useDebugValue:Wc,useDeferredValue:function(e,t){var r=tt();return jp(r,$e.memoizedState,e,t)},useTransition:function(){var e=es(kn)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:fl(e),t]},useSyncExternalStore:dp,useId:Hp,useHostTransitionStatus:tf,useFormState:Tp,useActionState:Tp,useOptimistic:function(e,t){var r=tt();return bp(r,$e,e,t)},useMemoCache:Qc,useCacheRefresh:Gp};af.useEffectEvent=Cp;var Kp={readContext:gt,use:Iu,useCallback:Up,useContext:gt,useEffect:Pc,useImperativeHandle:Dp,useInsertionEffect:Np,useLayoutEffect:zp,useMemo:qp,useReducer:Fc,useRef:Rp,useState:function(){return Fc(kn)},useDebugValue:Wc,useDeferredValue:function(e,t){var r=tt();return $e===null?Ic(r,e,t):jp(r,$e.memoizedState,e,t)},useTransition:function(){var e=Fc(kn)[0],t=tt().memoizedState;return[typeof e=="boolean"?e:fl(e),t]},useSyncExternalStore:dp,useId:Hp,useHostTransitionStatus:tf,useFormState:Ap,useActionState:Ap,useOptimistic:function(e,t){var r=tt();return $e!==null?bp(r,$e,e,t):(r.baseState=e,[e,r.queue.dispatch])},useMemoCache:Qc,useCacheRefresh:Gp};Kp.useEffectEvent=Cp;function rf(e,t,r,l){t=e.memoizedState,r=r(l,t),r=r==null?t:v({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var lf={enqueueSetState:function(e,t,r){e=e._reactInternals;var l=Ft(),s=Ra(l);s.payload=t,r!=null&&(s.callback=r),t=Ma(e,s,l),t!==null&&(Dt(t,e,l),ul(t,e,l))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var l=Ft(),s=Ra(l);s.tag=1,s.payload=t,r!=null&&(s.callback=r),t=Ma(e,s,l),t!==null&&(Dt(t,e,l),ul(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=Ft(),l=Ra(r);l.tag=2,t!=null&&(l.callback=t),t=Ma(e,l,r),t!==null&&(Dt(t,e,r),ul(t,e,r))}};function Fp(e,t,r,l,s,c,m){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(l,c,m):t.prototype&&t.prototype.isPureReactComponent?!Ii(r,l)||!Ii(s,c):!0}function Jp(e,t,r,l){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,l),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,l),t.state!==e&&lf.enqueueReplaceState(t,t.state,null)}function pr(e,t){var r=t;if("ref"in t){r={};for(var l in t)l!=="ref"&&(r[l]=t[l])}if(e=e.defaultProps){r===t&&(r=v({},r));for(var s in e)r[s]===void 0&&(r[s]=e[s])}return r}function kp(e){Uu(e)}function Pp(e){console.error(e)}function Wp(e){Uu(e)}function rs(e,t){try{var r=e.onUncaughtError;r(t.value,{componentStack:t.stack})}catch(l){setTimeout(function(){throw l})}}function Ip(e,t,r){try{var l=e.onCaughtError;l(r.value,{componentStack:r.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(s){setTimeout(function(){throw s})}}function uf(e,t,r){return r=Ra(r),r.tag=3,r.payload={element:null},r.callback=function(){rs(e,t)},r}function ey(e){return e=Ra(e),e.tag=3,e}function ty(e,t,r,l){var s=r.type.getDerivedStateFromError;if(typeof s=="function"){var c=l.value;e.payload=function(){return s(c)},e.callback=function(){Ip(t,r,l)}}var m=r.stateNode;m!==null&&typeof m.componentDidCatch=="function"&&(e.callback=function(){Ip(t,r,l),typeof s!="function"&&(Ua===null?Ua=new Set([this]):Ua.add(this));var g=l.stack;this.componentDidCatch(l.value,{componentStack:g!==null?g:""})})}function vw(e,t,r,l,s){if(r.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){if(t=r.alternate,t!==null&&Jr(t,r,s,!0),r=Vt.current,r!==null){switch(r.tag){case 31:case 13:return ln===null?ys():r.alternate===null&&Pe===0&&(Pe=3),r.flags&=-257,r.flags|=65536,r.lanes=s,l===Xu?r.flags|=16384:(t=r.updateQueue,t===null?r.updateQueue=new Set([l]):t.add(l),zf(e,l,s)),!1;case 22:return r.flags|=65536,l===Xu?r.flags|=16384:(t=r.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([l])},r.updateQueue=t):(r=t.retryQueue,r===null?t.retryQueue=new Set([l]):r.add(l)),zf(e,l,s)),!1}throw Error(u(435,r.tag))}return zf(e,l,s),ys(),!1}if(_e)return t=Vt.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=s,l!==Tc&&(e=Error(u(422),{cause:l}),nl(tn(e,r)))):(l!==Tc&&(t=Error(u(423),{cause:l}),nl(tn(t,r))),e=e.current.alternate,e.flags|=65536,s&=-s,e.lanes|=s,l=tn(l,r),s=uf(e.stateNode,l,s),qc(e,s),Pe!==4&&(Pe=2)),!1;var c=Error(u(520),{cause:l});if(c=tn(c,r),wl===null?wl=[c]:wl.push(c),Pe!==4&&(Pe=2),t===null)return!0;l=tn(l,r),r=t;do{switch(r.tag){case 3:return r.flags|=65536,e=s&-s,r.lanes|=e,e=uf(r.stateNode,l,e),qc(r,e),!1;case 1:if(t=r.type,c=r.stateNode,(r.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||c!==null&&typeof c.componentDidCatch=="function"&&(Ua===null||!Ua.has(c))))return r.flags|=65536,s&=-s,r.lanes|=s,s=ey(s),ty(s,e,r,l),qc(r,s),!1}r=r.return}while(r!==null);return!1}var sf=Error(u(461)),ut=!1;function bt(e,t,r,l){t.child=e===null?ip(t,null,r,l):hr(t,e.child,r,l)}function ny(e,t,r,l,s){r=r.render;var c=t.ref;if("ref"in l){var m={};for(var g in l)g!=="ref"&&(m[g]=l[g])}else m=l;return or(t),l=Gc(e,t,r,m,c,s),g=Yc(),e!==null&&!ut?(Vc(e,t,s),Pn(e,t,s)):(_e&&g&&xc(t),t.flags|=1,bt(e,t,l,s),t.child)}function ay(e,t,r,l,s){if(e===null){var c=r.type;return typeof c=="function"&&!_c(c)&&c.defaultProps===void 0&&r.compare===null?(t.tag=15,t.type=c,ry(e,t,c,l,s)):(e=Lu(r.type,null,l,t,t.mode,s),e.ref=t.ref,e.return=t,t.child=e)}if(c=e.child,!yf(e,s)){var m=c.memoizedProps;if(r=r.compare,r=r!==null?r:Ii,r(m,l)&&e.ref===t.ref)return Pn(e,t,s)}return t.flags|=1,e=Xn(c,l),e.ref=t.ref,e.return=t,t.child=e}function ry(e,t,r,l,s){if(e!==null){var c=e.memoizedProps;if(Ii(c,l)&&e.ref===t.ref)if(ut=!1,t.pendingProps=l=c,yf(e,s))(e.flags&131072)!==0&&(ut=!0);else return t.lanes=e.lanes,Pn(e,t,s)}return of(e,t,r,l,s)}function iy(e,t,r,l){var s=l.children,c=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),l.mode==="hidden"){if((t.flags&128)!==0){if(c=c!==null?c.baseLanes|r:r,e!==null){for(l=t.child=e.child,s=0;l!==null;)s=s|l.lanes|l.childLanes,l=l.sibling;l=s&~c}else l=0,t.child=null;return ly(e,t,c,r,l)}if((r&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&Yu(t,c!==null?c.cachePool:null),c!==null?sp(t,c):Bc(),op(t);else return l=t.lanes=536870912,ly(e,t,c!==null?c.baseLanes|r:r,r,l)}else c!==null?(Yu(t,c.cachePool),sp(t,c),Na(),t.memoizedState=null):(e!==null&&Yu(t,null),Bc(),Na());return bt(e,t,s,r),t.child}function ml(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function ly(e,t,r,l,s){var c=zc();return c=c===null?null:{parent:it._currentValue,pool:c},t.memoizedState={baseLanes:r,cachePool:c},e!==null&&Yu(t,null),Bc(),op(t),e!==null&&Jr(e,t,l,!0),t.childLanes=s,null}function is(e,t){return t=us({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function uy(e,t,r){return hr(t,e.child,null,r),e=is(t,t.pendingProps),e.flags|=2,Xt(t),t.memoizedState=null,e}function _w(e,t,r){var l=t.pendingProps,s=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(_e){if(l.mode==="hidden")return e=is(t,l),t.lanes=536870912,ml(null,e);if(Zc(t),(e=He)?(e=vg(e,rn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xa!==null?{id:Tn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},r=Vm(e),r.return=t,t.child=r,yt=t,He=null)):e=null,e===null)throw Ta(t);return t.lanes=536870912,null}return is(t,l)}var c=e.memoizedState;if(c!==null){var m=c.dehydrated;if(Zc(t),s)if(t.flags&256)t.flags&=-257,t=uy(e,t,r);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(u(558));else if(ut||Jr(e,t,r,!1),s=(r&e.childLanes)!==0,ut||s){if(l=qe,l!==null&&(m=Ph(l,r),m!==0&&m!==c.retryLane))throw c.retryLane=m,ir(e,m),Dt(l,e,m),sf;ys(),t=uy(e,t,r)}else e=c.treeContext,He=un(m.nextSibling),yt=t,_e=!0,Ea=null,rn=!1,e!==null&&Km(t,e),t=is(t,l),t.flags|=4096;return t}return e=Xn(e.child,{mode:l.mode,children:l.children}),e.ref=t.ref,t.child=e,e.return=t,e}function ls(e,t){var r=t.ref;if(r===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof r!="function"&&typeof r!="object")throw Error(u(284));(e===null||e.ref!==r)&&(t.flags|=4194816)}}function of(e,t,r,l,s){return or(t),r=Gc(e,t,r,l,void 0,s),l=Yc(),e!==null&&!ut?(Vc(e,t,s),Pn(e,t,s)):(_e&&l&&xc(t),t.flags|=1,bt(e,t,r,s),t.child)}function sy(e,t,r,l,s,c){return or(t),t.updateQueue=null,r=fp(t,l,r,s),cp(e),l=Yc(),e!==null&&!ut?(Vc(e,t,c),Pn(e,t,c)):(_e&&l&&xc(t),t.flags|=1,bt(e,t,r,c),t.child)}function oy(e,t,r,l,s){if(or(t),t.stateNode===null){var c=Xr,m=r.contextType;typeof m=="object"&&m!==null&&(c=gt(m)),c=new r(l,c),t.memoizedState=c.state!==null&&c.state!==void 0?c.state:null,c.updater=lf,t.stateNode=c,c._reactInternals=t,c=t.stateNode,c.props=l,c.state=t.memoizedState,c.refs={},Dc(t),m=r.contextType,c.context=typeof m=="object"&&m!==null?gt(m):Xr,c.state=t.memoizedState,m=r.getDerivedStateFromProps,typeof m=="function"&&(rf(t,r,m,l),c.state=t.memoizedState),typeof r.getDerivedStateFromProps=="function"||typeof c.getSnapshotBeforeUpdate=="function"||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(m=c.state,typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount(),m!==c.state&&lf.enqueueReplaceState(c,c.state,null),ol(t,l,c,s),sl(),c.state=t.memoizedState),typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!0}else if(e===null){c=t.stateNode;var g=t.memoizedProps,w=pr(r,g);c.props=w;var D=c.context,V=r.contextType;m=Xr,typeof V=="object"&&V!==null&&(m=gt(V));var K=r.getDerivedStateFromProps;V=typeof K=="function"||typeof c.getSnapshotBeforeUpdate=="function",g=t.pendingProps!==g,V||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(g||D!==m)&&Jp(t,c,l,m),Aa=!1;var q=t.memoizedState;c.state=q,ol(t,l,c,s),sl(),D=t.memoizedState,g||q!==D||Aa?(typeof K=="function"&&(rf(t,r,K,l),D=t.memoizedState),(w=Aa||Fp(t,r,w,l,q,D,m))?(V||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=l,t.memoizedState=D),c.props=l,c.state=D,c.context=m,l=w):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),l=!1)}else{c=t.stateNode,Uc(e,t),m=t.memoizedProps,V=pr(r,m),c.props=V,K=t.pendingProps,q=c.context,D=r.contextType,w=Xr,typeof D=="object"&&D!==null&&(w=gt(D)),g=r.getDerivedStateFromProps,(D=typeof g=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(m!==K||q!==w)&&Jp(t,c,l,w),Aa=!1,q=t.memoizedState,c.state=q,ol(t,l,c,s),sl();var H=t.memoizedState;m!==K||q!==H||Aa||e!==null&&e.dependencies!==null&&Hu(e.dependencies)?(typeof g=="function"&&(rf(t,r,g,l),H=t.memoizedState),(V=Aa||Fp(t,r,V,l,q,H,w)||e!==null&&e.dependencies!==null&&Hu(e.dependencies))?(D||typeof c.UNSAFE_componentWillUpdate!="function"&&typeof c.componentWillUpdate!="function"||(typeof c.componentWillUpdate=="function"&&c.componentWillUpdate(l,H,w),typeof c.UNSAFE_componentWillUpdate=="function"&&c.UNSAFE_componentWillUpdate(l,H,w)),typeof c.componentDidUpdate=="function"&&(t.flags|=4),typeof c.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),t.memoizedProps=l,t.memoizedState=H),c.props=l,c.state=H,c.context=w,l=V):(typeof c.componentDidUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(t.flags|=4),typeof c.getSnapshotBeforeUpdate!="function"||m===e.memoizedProps&&q===e.memoizedState||(t.flags|=1024),l=!1)}return c=l,ls(e,t),l=(t.flags&128)!==0,c||l?(c=t.stateNode,r=l&&typeof r.getDerivedStateFromError!="function"?null:c.render(),t.flags|=1,e!==null&&l?(t.child=hr(t,e.child,null,s),t.child=hr(t,null,r,s)):bt(e,t,r,s),t.memoizedState=c.state,e=t.child):e=Pn(e,t,s),e}function cy(e,t,r,l){return ur(),t.flags|=256,bt(e,t,r,l),t.child}var cf={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function ff(e){return{baseLanes:e,cachePool:Im()}}function df(e,t,r){return e=e!==null?e.childLanes&~r:0,t&&(e|=Kt),e}function fy(e,t,r){var l=t.pendingProps,s=!1,c=(t.flags&128)!==0,m;if((m=c)||(m=e!==null&&e.memoizedState===null?!1:(et.current&2)!==0),m&&(s=!0,t.flags&=-129),m=(t.flags&32)!==0,t.flags&=-33,e===null){if(_e){if(s?Ca(t):Na(),(e=He)?(e=vg(e,rn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:xa!==null?{id:Tn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},r=Vm(e),r.return=t,t.child=r,yt=t,He=null)):e=null,e===null)throw Ta(t);return Ff(e)?t.lanes=32:t.lanes=536870912,null}var g=l.children;return l=l.fallback,s?(Na(),s=t.mode,g=us({mode:"hidden",children:g},s),l=lr(l,s,r,null),g.return=t,l.return=t,g.sibling=l,t.child=g,l=t.child,l.memoizedState=ff(r),l.childLanes=df(e,m,r),t.memoizedState=cf,ml(null,l)):(Ca(t),hf(t,g))}var w=e.memoizedState;if(w!==null&&(g=w.dehydrated,g!==null)){if(c)t.flags&256?(Ca(t),t.flags&=-257,t=mf(e,t,r)):t.memoizedState!==null?(Na(),t.child=e.child,t.flags|=128,t=null):(Na(),g=l.fallback,s=t.mode,l=us({mode:"visible",children:l.children},s),g=lr(g,s,r,null),g.flags|=2,l.return=t,g.return=t,l.sibling=g,t.child=l,hr(t,e.child,null,r),l=t.child,l.memoizedState=ff(r),l.childLanes=df(e,m,r),t.memoizedState=cf,t=ml(null,l));else if(Ca(t),Ff(g)){if(m=g.nextSibling&&g.nextSibling.dataset,m)var D=m.dgst;m=D,l=Error(u(419)),l.stack="",l.digest=m,nl({value:l,source:null,stack:null}),t=mf(e,t,r)}else if(ut||Jr(e,t,r,!1),m=(r&e.childLanes)!==0,ut||m){if(m=qe,m!==null&&(l=Ph(m,r),l!==0&&l!==w.retryLane))throw w.retryLane=l,ir(e,l),Dt(m,e,l),sf;Kf(g)||ys(),t=mf(e,t,r)}else Kf(g)?(t.flags|=192,t.child=e.child,t=null):(e=w.treeContext,He=un(g.nextSibling),yt=t,_e=!0,Ea=null,rn=!1,e!==null&&Km(t,e),t=hf(t,l.children),t.flags|=4096);return t}return s?(Na(),g=l.fallback,s=t.mode,w=e.child,D=w.sibling,l=Xn(w,{mode:"hidden",children:l.children}),l.subtreeFlags=w.subtreeFlags&65011712,D!==null?g=Xn(D,g):(g=lr(g,s,r,null),g.flags|=2),g.return=t,l.return=t,l.sibling=g,t.child=l,ml(null,l),l=t.child,g=e.child.memoizedState,g===null?g=ff(r):(s=g.cachePool,s!==null?(w=it._currentValue,s=s.parent!==w?{parent:w,pool:w}:s):s=Im(),g={baseLanes:g.baseLanes|r,cachePool:s}),l.memoizedState=g,l.childLanes=df(e,m,r),t.memoizedState=cf,ml(e.child,l)):(Ca(t),r=e.child,e=r.sibling,r=Xn(r,{mode:"visible",children:l.children}),r.return=t,r.sibling=null,e!==null&&(m=t.deletions,m===null?(t.deletions=[e],t.flags|=16):m.push(e)),t.child=r,t.memoizedState=null,r)}function hf(e,t){return t=us({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function us(e,t){return e=Yt(22,e,null,t),e.lanes=0,e}function mf(e,t,r){return hr(t,e.child,null,r),e=hf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function dy(e,t,r){e.lanes|=t;var l=e.alternate;l!==null&&(l.lanes|=t),Rc(e.return,t,r)}function pf(e,t,r,l,s,c){var m=e.memoizedState;m===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:l,tail:r,tailMode:s,treeForkCount:c}:(m.isBackwards=t,m.rendering=null,m.renderingStartTime=0,m.last=l,m.tail=r,m.tailMode=s,m.treeForkCount=c)}function hy(e,t,r){var l=t.pendingProps,s=l.revealOrder,c=l.tail;l=l.children;var m=et.current,g=(m&2)!==0;if(g?(m=m&1|2,t.flags|=128):m&=1,ee(et,m),bt(e,t,l,r),l=_e?tl:0,!g&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&dy(e,r,t);else if(e.tag===19)dy(e,r,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(s){case"forwards":for(r=t.child,s=null;r!==null;)e=r.alternate,e!==null&&Ju(e)===null&&(s=r),r=r.sibling;r=s,r===null?(s=t.child,t.child=null):(s=r.sibling,r.sibling=null),pf(t,!1,s,r,c,l);break;case"backwards":case"unstable_legacy-backwards":for(r=null,s=t.child,t.child=null;s!==null;){if(e=s.alternate,e!==null&&Ju(e)===null){t.child=s;break}e=s.sibling,s.sibling=r,r=s,s=e}pf(t,!0,r,null,c,l);break;case"together":pf(t,!1,null,null,void 0,l);break;default:t.memoizedState=null}return t.child}function Pn(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Da|=t.lanes,(r&t.childLanes)===0)if(e!==null){if(Jr(e,t,r,!1),(r&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(u(153));if(t.child!==null){for(e=t.child,r=Xn(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=Xn(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}function yf(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&Hu(e)))}function ww(e,t,r){switch(t.tag){case 3:Ot(t,t.stateNode.containerInfo),Oa(t,it,e.memoizedState.cache),ur();break;case 27:case 5:Zi(t);break;case 4:Ot(t,t.stateNode.containerInfo);break;case 10:Oa(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Zc(t),null;break;case 13:var l=t.memoizedState;if(l!==null)return l.dehydrated!==null?(Ca(t),t.flags|=128,null):(r&t.child.childLanes)!==0?fy(e,t,r):(Ca(t),e=Pn(e,t,r),e!==null?e.sibling:null);Ca(t);break;case 19:var s=(e.flags&128)!==0;if(l=(r&t.childLanes)!==0,l||(Jr(e,t,r,!1),l=(r&t.childLanes)!==0),s){if(l)return hy(e,t,r);t.flags|=128}if(s=t.memoizedState,s!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),ee(et,et.current),l)break;return null;case 22:return t.lanes=0,iy(e,t,r,t.pendingProps);case 24:Oa(t,it,e.memoizedState.cache)}return Pn(e,t,r)}function my(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps)ut=!0;else{if(!yf(e,r)&&(t.flags&128)===0)return ut=!1,ww(e,t,r);ut=(e.flags&131072)!==0}else ut=!1,_e&&(t.flags&1048576)!==0&&Qm(t,tl,t.index);switch(t.lanes=0,t.tag){case 16:e:{var l=t.pendingProps;if(e=fr(t.elementType),t.type=e,typeof e=="function")_c(e)?(l=pr(e,l),t.tag=1,t=oy(null,t,e,l,r)):(t.tag=0,t=of(null,t,e,l,r));else{if(e!=null){var s=e.$$typeof;if(s===Y){t.tag=11,t=ny(null,t,e,l,r);break e}else if(s===B){t.tag=14,t=ay(null,t,e,l,r);break e}}throw t=mt(e)||e,Error(u(306,t,""))}}return t;case 0:return of(e,t,t.type,t.pendingProps,r);case 1:return l=t.type,s=pr(l,t.pendingProps),oy(e,t,l,s,r);case 3:e:{if(Ot(t,t.stateNode.containerInfo),e===null)throw Error(u(387));l=t.pendingProps;var c=t.memoizedState;s=c.element,Uc(e,t),ol(t,l,null,r);var m=t.memoizedState;if(l=m.cache,Oa(t,it,l),l!==c.cache&&Mc(t,[it],r,!0),sl(),l=m.element,c.isDehydrated)if(c={element:l,isDehydrated:!1,cache:m.cache},t.updateQueue.baseState=c,t.memoizedState=c,t.flags&256){t=cy(e,t,l,r);break e}else if(l!==s){s=tn(Error(u(424)),t),nl(s),t=cy(e,t,l,r);break e}else{switch(e=t.stateNode.containerInfo,e.nodeType){case 9:e=e.body;break;default:e=e.nodeName==="HTML"?e.ownerDocument.body:e}for(He=un(e.firstChild),yt=t,_e=!0,Ea=null,rn=!0,r=ip(t,null,l,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling}else{if(ur(),l===s){t=Pn(e,t,r);break e}bt(e,t,l,r)}t=t.child}return t;case 26:return ls(e,t),e===null?(r=Tg(t.type,null,t.pendingProps,null))?t.memoizedState=r:_e||(r=t.type,e=t.pendingProps,l=xs(pe.current).createElement(r),l[pt]=t,l[Rt]=e,vt(l,r,e),dt(l),t.stateNode=l):t.memoizedState=Tg(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return Zi(t),e===null&&_e&&(l=t.stateNode=Sg(t.type,t.pendingProps,pe.current),yt=t,rn=!0,s=He,La(t.type)?(Jf=s,He=un(l.firstChild)):He=s),bt(e,t,t.pendingProps.children,r),ls(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&_e&&((s=l=He)&&(l=Pw(l,t.type,t.pendingProps,rn),l!==null?(t.stateNode=l,yt=t,He=un(l.firstChild),rn=!1,s=!0):s=!1),s||Ta(t)),Zi(t),s=t.type,c=t.pendingProps,m=e!==null?e.memoizedProps:null,l=c.children,Vf(s,c)?l=null:m!==null&&Vf(s,m)&&(t.flags|=32),t.memoizedState!==null&&(s=Gc(e,t,dw,null,null,r),Ml._currentValue=s),ls(e,t),bt(e,t,l,r),t.child;case 6:return e===null&&_e&&((e=r=He)&&(r=Ww(r,t.pendingProps,rn),r!==null?(t.stateNode=r,yt=t,He=null,e=!0):e=!1),e||Ta(t)),null;case 13:return fy(e,t,r);case 4:return Ot(t,t.stateNode.containerInfo),l=t.pendingProps,e===null?t.child=hr(t,null,l,r):bt(e,t,l,r),t.child;case 11:return ny(e,t,t.type,t.pendingProps,r);case 7:return bt(e,t,t.pendingProps,r),t.child;case 8:return bt(e,t,t.pendingProps.children,r),t.child;case 12:return bt(e,t,t.pendingProps.children,r),t.child;case 10:return l=t.pendingProps,Oa(t,t.type,l.value),bt(e,t,l.children,r),t.child;case 9:return s=t.type._context,l=t.pendingProps.children,or(t),s=gt(s),l=l(s),t.flags|=1,bt(e,t,l,r),t.child;case 14:return ay(e,t,t.type,t.pendingProps,r);case 15:return ry(e,t,t.type,t.pendingProps,r);case 19:return hy(e,t,r);case 31:return _w(e,t,r);case 22:return iy(e,t,r,t.pendingProps);case 24:return or(t),l=gt(it),e===null?(s=zc(),s===null&&(s=qe,c=Cc(),s.pooledCache=c,c.refCount++,c!==null&&(s.pooledCacheLanes|=r),s=c),t.memoizedState={parent:l,cache:s},Dc(t),Oa(t,it,s)):((e.lanes&r)!==0&&(Uc(e,t),ol(t,null,null,r),sl()),s=e.memoizedState,c=t.memoizedState,s.parent!==l?(s={parent:l,cache:l},t.memoizedState=s,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=s),Oa(t,it,l)):(l=c.cache,Oa(t,it,l),l!==s.cache&&Mc(t,[it],r,!0))),bt(e,t,t.pendingProps.children,r),t.child;case 29:throw t.pendingProps}throw Error(u(156,t.tag))}function Wn(e){e.flags|=4}function gf(e,t,r,l,s){if((t=(e.mode&32)!==0)&&(t=!1),t){if(e.flags|=16777216,(s&335544128)===s)if(e.stateNode.complete)e.flags|=8192;else if(Hy())e.flags|=8192;else throw dr=Xu,$c}else e.flags&=-16777217}function py(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Cg(t))if(Hy())e.flags|=8192;else throw dr=Xu,$c}function ss(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Fh():536870912,e.lanes|=t,ui|=t)}function pl(e,t){if(!_e)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var l=null;r!==null;)r.alternate!==null&&(l=r),r=r.sibling;l===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:l.sibling=null}}function Ge(e){var t=e.alternate!==null&&e.alternate.child===e.child,r=0,l=0;if(t)for(var s=e.child;s!==null;)r|=s.lanes|s.childLanes,l|=s.subtreeFlags&65011712,l|=s.flags&65011712,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)r|=s.lanes|s.childLanes,l|=s.subtreeFlags,l|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=l,e.childLanes=r,t}function Sw(e,t,r){var l=t.pendingProps;switch(Ec(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ge(t),null;case 1:return Ge(t),null;case 3:return r=t.stateNode,l=null,e!==null&&(l=e.memoizedState.cache),t.memoizedState.cache!==l&&(t.flags|=2048),Fn(it),Ie(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Fr(t)?Wn(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Oc())),Ge(t),null;case 26:var s=t.type,c=t.memoizedState;return e===null?(Wn(t),c!==null?(Ge(t),py(t,c)):(Ge(t),gf(t,s,null,l,r))):c?c!==e.memoizedState?(Wn(t),Ge(t),py(t,c)):(Ge(t),t.flags&=-16777217):(e=e.memoizedProps,e!==l&&Wn(t),Ge(t),gf(t,s,e,l,r)),null;case 27:if(vu(t),r=pe.current,s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Wn(t);else{if(!l){if(t.stateNode===null)throw Error(u(166));return Ge(t),null}e=P.current,Fr(t)?Fm(t):(e=Sg(s,l,r),t.stateNode=e,Wn(t))}return Ge(t),null;case 5:if(vu(t),s=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==l&&Wn(t);else{if(!l){if(t.stateNode===null)throw Error(u(166));return Ge(t),null}if(c=P.current,Fr(t))Fm(t);else{var m=xs(pe.current);switch(c){case 1:c=m.createElementNS("http://www.w3.org/2000/svg",s);break;case 2:c=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;default:switch(s){case"svg":c=m.createElementNS("http://www.w3.org/2000/svg",s);break;case"math":c=m.createElementNS("http://www.w3.org/1998/Math/MathML",s);break;case"script":c=m.createElement("div"),c.innerHTML="<script><\/script>",c=c.removeChild(c.firstChild);break;case"select":c=typeof l.is=="string"?m.createElement("select",{is:l.is}):m.createElement("select"),l.multiple?c.multiple=!0:l.size&&(c.size=l.size);break;default:c=typeof l.is=="string"?m.createElement(s,{is:l.is}):m.createElement(s)}}c[pt]=t,c[Rt]=l;e:for(m=t.child;m!==null;){if(m.tag===5||m.tag===6)c.appendChild(m.stateNode);else if(m.tag!==4&&m.tag!==27&&m.child!==null){m.child.return=m,m=m.child;continue}if(m===t)break e;for(;m.sibling===null;){if(m.return===null||m.return===t)break e;m=m.return}m.sibling.return=m.return,m=m.sibling}t.stateNode=c;e:switch(vt(c,s,l),s){case"button":case"input":case"select":case"textarea":l=!!l.autoFocus;break e;case"img":l=!0;break e;default:l=!1}l&&Wn(t)}}return Ge(t),gf(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,r),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==l&&Wn(t);else{if(typeof l!="string"&&t.stateNode===null)throw Error(u(166));if(e=pe.current,Fr(t)){if(e=t.stateNode,r=t.memoizedProps,l=null,s=yt,s!==null)switch(s.tag){case 27:case 5:l=s.memoizedProps}e[pt]=t,e=!!(e.nodeValue===r||l!==null&&l.suppressHydrationWarning===!0||fg(e.nodeValue,r)),e||Ta(t,!0)}else e=xs(e).createTextNode(l),e[pt]=t,t.stateNode=e}return Ge(t),null;case 31:if(r=t.memoizedState,e===null||e.memoizedState!==null){if(l=Fr(t),r!==null){if(e===null){if(!l)throw Error(u(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(u(557));e[pt]=t}else ur(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ge(t),e=!1}else r=Oc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=r),e=!0;if(!e)return t.flags&256?(Xt(t),t):(Xt(t),null);if((t.flags&128)!==0)throw Error(u(558))}return Ge(t),null;case 13:if(l=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(s=Fr(t),l!==null&&l.dehydrated!==null){if(e===null){if(!s)throw Error(u(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(u(317));s[pt]=t}else ur(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ge(t),s=!1}else s=Oc(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=s),s=!0;if(!s)return t.flags&256?(Xt(t),t):(Xt(t),null)}return Xt(t),(t.flags&128)!==0?(t.lanes=r,t):(r=l!==null,e=e!==null&&e.memoizedState!==null,r&&(l=t.child,s=null,l.alternate!==null&&l.alternate.memoizedState!==null&&l.alternate.memoizedState.cachePool!==null&&(s=l.alternate.memoizedState.cachePool.pool),c=null,l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(c=l.memoizedState.cachePool.pool),c!==s&&(l.flags|=2048)),r!==e&&r&&(t.child.flags|=8192),ss(t,t.updateQueue),Ge(t),null);case 4:return Ie(),e===null&&Lf(t.stateNode.containerInfo),Ge(t),null;case 10:return Fn(t.type),Ge(t),null;case 19:if(Q(et),l=t.memoizedState,l===null)return Ge(t),null;if(s=(t.flags&128)!==0,c=l.rendering,c===null)if(s)pl(l,!1);else{if(Pe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(c=Ju(e),c!==null){for(t.flags|=128,pl(l,!1),e=c.updateQueue,t.updateQueue=e,ss(t,e),t.subtreeFlags=0,e=r,r=t.child;r!==null;)Ym(r,e),r=r.sibling;return ee(et,et.current&1|2),_e&&Qn(t,l.treeForkCount),t.child}e=e.sibling}l.tail!==null&&Lt()>hs&&(t.flags|=128,s=!0,pl(l,!1),t.lanes=4194304)}else{if(!s)if(e=Ju(c),e!==null){if(t.flags|=128,s=!0,e=e.updateQueue,t.updateQueue=e,ss(t,e),pl(l,!0),l.tail===null&&l.tailMode==="hidden"&&!c.alternate&&!_e)return Ge(t),null}else 2*Lt()-l.renderingStartTime>hs&&r!==536870912&&(t.flags|=128,s=!0,pl(l,!1),t.lanes=4194304);l.isBackwards?(c.sibling=t.child,t.child=c):(e=l.last,e!==null?e.sibling=c:t.child=c,l.last=c)}return l.tail!==null?(e=l.tail,l.rendering=e,l.tail=e.sibling,l.renderingStartTime=Lt(),e.sibling=null,r=et.current,ee(et,s?r&1|2:r&1),_e&&Qn(t,l.treeForkCount),e):(Ge(t),null);case 22:case 23:return Xt(t),Lc(),l=t.memoizedState!==null,e!==null?e.memoizedState!==null!==l&&(t.flags|=8192):l&&(t.flags|=8192),l?(r&536870912)!==0&&(t.flags&128)===0&&(Ge(t),t.subtreeFlags&6&&(t.flags|=8192)):Ge(t),r=t.updateQueue,r!==null&&ss(t,r.retryQueue),r=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),l=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(l=t.memoizedState.cachePool.pool),l!==r&&(t.flags|=2048),e!==null&&Q(cr),null;case 24:return r=null,e!==null&&(r=e.memoizedState.cache),t.memoizedState.cache!==r&&(t.flags|=2048),Fn(it),Ge(t),null;case 25:return null;case 30:return null}throw Error(u(156,t.tag))}function xw(e,t){switch(Ec(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fn(it),Ie(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return vu(t),null;case 31:if(t.memoizedState!==null){if(Xt(t),t.alternate===null)throw Error(u(340));ur()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Xt(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(u(340));ur()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Q(et),null;case 4:return Ie(),null;case 10:return Fn(t.type),null;case 22:case 23:return Xt(t),Lc(),e!==null&&Q(cr),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Fn(it),null;case 25:return null;default:return null}}function yy(e,t){switch(Ec(t),t.tag){case 3:Fn(it),Ie();break;case 26:case 27:case 5:vu(t);break;case 4:Ie();break;case 31:t.memoizedState!==null&&Xt(t);break;case 13:Xt(t);break;case 19:Q(et);break;case 10:Fn(t.type);break;case 22:case 23:Xt(t),Lc(),e!==null&&Q(cr);break;case 24:Fn(it)}}function yl(e,t){try{var r=t.updateQueue,l=r!==null?r.lastEffect:null;if(l!==null){var s=l.next;r=s;do{if((r.tag&e)===e){l=void 0;var c=r.create,m=r.inst;l=c(),m.destroy=l}r=r.next}while(r!==s)}}catch(g){Ne(t,t.return,g)}}function za(e,t,r){try{var l=t.updateQueue,s=l!==null?l.lastEffect:null;if(s!==null){var c=s.next;l=c;do{if((l.tag&e)===e){var m=l.inst,g=m.destroy;if(g!==void 0){m.destroy=void 0,s=t;var w=r,D=g;try{D()}catch(V){Ne(s,w,V)}}}l=l.next}while(l!==c)}}catch(V){Ne(t,t.return,V)}}function gy(e){var t=e.updateQueue;if(t!==null){var r=e.stateNode;try{up(t,r)}catch(l){Ne(e,e.return,l)}}}function by(e,t,r){r.props=pr(e.type,e.memoizedProps),r.state=e.memoizedState;try{r.componentWillUnmount()}catch(l){Ne(e,t,l)}}function gl(e,t){try{var r=e.ref;if(r!==null){switch(e.tag){case 26:case 27:case 5:var l=e.stateNode;break;case 30:l=e.stateNode;break;default:l=e.stateNode}typeof r=="function"?e.refCleanup=r(l):r.current=l}}catch(s){Ne(e,t,s)}}function An(e,t){var r=e.ref,l=e.refCleanup;if(r!==null)if(typeof l=="function")try{l()}catch(s){Ne(e,t,s)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof r=="function")try{r(null)}catch(s){Ne(e,t,s)}else r.current=null}function vy(e){var t=e.type,r=e.memoizedProps,l=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":r.autoFocus&&l.focus();break e;case"img":r.src?l.src=r.src:r.srcSet&&(l.srcset=r.srcSet)}}catch(s){Ne(e,e.return,s)}}function bf(e,t,r){try{var l=e.stateNode;Xw(l,e.type,r,t),l[Rt]=t}catch(s){Ne(e,e.return,s)}}function _y(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&La(e.type)||e.tag===4}function vf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||_y(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&&La(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 _f(e,t,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?(r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r).insertBefore(e,t):(t=r.nodeType===9?r.body:r.nodeName==="HTML"?r.ownerDocument.body:r,t.appendChild(e),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Yn));else if(l!==4&&(l===27&&La(e.type)&&(r=e.stateNode,t=null),e=e.child,e!==null))for(_f(e,t,r),e=e.sibling;e!==null;)_f(e,t,r),e=e.sibling}function os(e,t,r){var l=e.tag;if(l===5||l===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(l!==4&&(l===27&&La(e.type)&&(r=e.stateNode),e=e.child,e!==null))for(os(e,t,r),e=e.sibling;e!==null;)os(e,t,r),e=e.sibling}function wy(e){var t=e.stateNode,r=e.memoizedProps;try{for(var l=e.type,s=t.attributes;s.length;)t.removeAttributeNode(s[0]);vt(t,l,r),t[pt]=e,t[Rt]=r}catch(c){Ne(e,e.return,c)}}var In=!1,st=!1,wf=!1,Sy=typeof WeakSet=="function"?WeakSet:Set,ht=null;function Ew(e,t){if(e=e.containerInfo,Gf=Cs,e=Dm(e),hc(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var l=r.getSelection&&r.getSelection();if(l&&l.rangeCount!==0){r=l.anchorNode;var s=l.anchorOffset,c=l.focusNode;l=l.focusOffset;try{r.nodeType,c.nodeType}catch{r=null;break e}var m=0,g=-1,w=-1,D=0,V=0,K=e,q=null;t:for(;;){for(var H;K!==r||s!==0&&K.nodeType!==3||(g=m+s),K!==c||l!==0&&K.nodeType!==3||(w=m+l),K.nodeType===3&&(m+=K.nodeValue.length),(H=K.firstChild)!==null;)q=K,K=H;for(;;){if(K===e)break t;if(q===r&&++D===s&&(g=m),q===c&&++V===l&&(w=m),(H=K.nextSibling)!==null)break;K=q,q=K.parentNode}K=H}r=g===-1||w===-1?null:{start:g,end:w}}else r=null}r=r||{start:0,end:0}}else r=null;for(Yf={focusedElem:e,selectionRange:r},Cs=!1,ht=t;ht!==null;)if(t=ht,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,ht=e;else for(;ht!==null;){switch(t=ht,c=t.alternate,e=t.flags,t.tag){case 0:if((e&4)!==0&&(e=t.updateQueue,e=e!==null?e.events:null,e!==null))for(r=0;r<e.length;r++)s=e[r],s.ref.impl=s.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&c!==null){e=void 0,r=t,s=c.memoizedProps,c=c.memoizedState,l=r.stateNode;try{var ne=pr(r.type,s);e=l.getSnapshotBeforeUpdate(ne,c),l.__reactInternalSnapshotBeforeUpdate=e}catch(oe){Ne(r,r.return,oe)}}break;case 3:if((e&1024)!==0){if(e=t.stateNode.containerInfo,r=e.nodeType,r===9)Qf(e);else if(r===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Qf(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(u(163))}if(e=t.sibling,e!==null){e.return=t.return,ht=e;break}ht=t.return}}function xy(e,t,r){var l=r.flags;switch(r.tag){case 0:case 11:case 15:ta(e,r),l&4&&yl(5,r);break;case 1:if(ta(e,r),l&4)if(e=r.stateNode,t===null)try{e.componentDidMount()}catch(m){Ne(r,r.return,m)}else{var s=pr(r.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(s,t,e.__reactInternalSnapshotBeforeUpdate)}catch(m){Ne(r,r.return,m)}}l&64&&gy(r),l&512&&gl(r,r.return);break;case 3:if(ta(e,r),l&64&&(e=r.updateQueue,e!==null)){if(t=null,r.child!==null)switch(r.child.tag){case 27:case 5:t=r.child.stateNode;break;case 1:t=r.child.stateNode}try{up(e,t)}catch(m){Ne(r,r.return,m)}}break;case 27:t===null&&l&4&&wy(r);case 26:case 5:ta(e,r),t===null&&l&4&&vy(r),l&512&&gl(r,r.return);break;case 12:ta(e,r);break;case 31:ta(e,r),l&4&&Oy(e,r);break;case 13:ta(e,r),l&4&&Ay(e,r),l&64&&(e=r.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(r=$w.bind(null,r),Iw(e,r))));break;case 22:if(l=r.memoizedState!==null||In,!l){t=t!==null&&t.memoizedState!==null||st,s=In;var c=st;In=l,(st=t)&&!c?na(e,r,(r.subtreeFlags&8772)!==0):ta(e,r),In=s,st=c}break;case 30:break;default:ta(e,r)}}function Ey(e){var t=e.alternate;t!==null&&(e.alternate=null,Ey(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&ko(t)),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 Ve=null,Ct=!1;function ea(e,t,r){for(r=r.child;r!==null;)Ty(e,t,r),r=r.sibling}function Ty(e,t,r){if(Zt&&typeof Zt.onCommitFiberUnmount=="function")try{Zt.onCommitFiberUnmount(Hi,r)}catch{}switch(r.tag){case 26:st||An(r,t),ea(e,t,r),r.memoizedState?r.memoizedState.count--:r.stateNode&&(r=r.stateNode,r.parentNode.removeChild(r));break;case 27:st||An(r,t);var l=Ve,s=Ct;La(r.type)&&(Ve=r.stateNode,Ct=!1),ea(e,t,r),Ol(r.stateNode),Ve=l,Ct=s;break;case 5:st||An(r,t);case 6:if(l=Ve,s=Ct,Ve=null,ea(e,t,r),Ve=l,Ct=s,Ve!==null)if(Ct)try{(Ve.nodeType===9?Ve.body:Ve.nodeName==="HTML"?Ve.ownerDocument.body:Ve).removeChild(r.stateNode)}catch(c){Ne(r,t,c)}else try{Ve.removeChild(r.stateNode)}catch(c){Ne(r,t,c)}break;case 18:Ve!==null&&(Ct?(e=Ve,gg(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,r.stateNode),pi(e)):gg(Ve,r.stateNode));break;case 4:l=Ve,s=Ct,Ve=r.stateNode.containerInfo,Ct=!0,ea(e,t,r),Ve=l,Ct=s;break;case 0:case 11:case 14:case 15:za(2,r,t),st||za(4,r,t),ea(e,t,r);break;case 1:st||(An(r,t),l=r.stateNode,typeof l.componentWillUnmount=="function"&&by(r,t,l)),ea(e,t,r);break;case 21:ea(e,t,r);break;case 22:st=(l=st)||r.memoizedState!==null,ea(e,t,r),st=l;break;default:ea(e,t,r)}}function Oy(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{pi(e)}catch(r){Ne(t,t.return,r)}}}function Ay(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{pi(e)}catch(r){Ne(t,t.return,r)}}function Tw(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new Sy),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new Sy),t;default:throw Error(u(435,e.tag))}}function cs(e,t){var r=Tw(e);t.forEach(function(l){if(!r.has(l)){r.add(l);var s=Dw.bind(null,e,l);l.then(s,s)}})}function Nt(e,t){var r=t.deletions;if(r!==null)for(var l=0;l<r.length;l++){var s=r[l],c=e,m=t,g=m;e:for(;g!==null;){switch(g.tag){case 27:if(La(g.type)){Ve=g.stateNode,Ct=!1;break e}break;case 5:Ve=g.stateNode,Ct=!1;break e;case 3:case 4:Ve=g.stateNode.containerInfo,Ct=!0;break e}g=g.return}if(Ve===null)throw Error(u(160));Ty(c,m,s),Ve=null,Ct=!1,c=s.alternate,c!==null&&(c.return=null),s.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Ry(t,e),t=t.sibling}var mn=null;function Ry(e,t){var r=e.alternate,l=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Nt(t,e),zt(e),l&4&&(za(3,e,e.return),yl(3,e),za(5,e,e.return));break;case 1:Nt(t,e),zt(e),l&512&&(st||r===null||An(r,r.return)),l&64&&In&&(e=e.updateQueue,e!==null&&(l=e.callbacks,l!==null&&(r=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=r===null?l:r.concat(l))));break;case 26:var s=mn;if(Nt(t,e),zt(e),l&512&&(st||r===null||An(r,r.return)),l&4){var c=r!==null?r.memoizedState:null;if(l=e.memoizedState,r===null)if(l===null)if(e.stateNode===null){e:{l=e.type,r=e.memoizedProps,s=s.ownerDocument||s;t:switch(l){case"title":c=s.getElementsByTagName("title")[0],(!c||c[Vi]||c[pt]||c.namespaceURI==="http://www.w3.org/2000/svg"||c.hasAttribute("itemprop"))&&(c=s.createElement(l),s.head.insertBefore(c,s.querySelector("head > title"))),vt(c,l,r),c[pt]=e,dt(c),l=c;break e;case"link":var m=Rg("link","href",s).get(l+(r.href||""));if(m){for(var g=0;g<m.length;g++)if(c=m[g],c.getAttribute("href")===(r.href==null||r.href===""?null:r.href)&&c.getAttribute("rel")===(r.rel==null?null:r.rel)&&c.getAttribute("title")===(r.title==null?null:r.title)&&c.getAttribute("crossorigin")===(r.crossOrigin==null?null:r.crossOrigin)){m.splice(g,1);break t}}c=s.createElement(l),vt(c,l,r),s.head.appendChild(c);break;case"meta":if(m=Rg("meta","content",s).get(l+(r.content||""))){for(g=0;g<m.length;g++)if(c=m[g],c.getAttribute("content")===(r.content==null?null:""+r.content)&&c.getAttribute("name")===(r.name==null?null:r.name)&&c.getAttribute("property")===(r.property==null?null:r.property)&&c.getAttribute("http-equiv")===(r.httpEquiv==null?null:r.httpEquiv)&&c.getAttribute("charset")===(r.charSet==null?null:r.charSet)){m.splice(g,1);break t}}c=s.createElement(l),vt(c,l,r),s.head.appendChild(c);break;default:throw Error(u(468,l))}c[pt]=e,dt(c),l=c}e.stateNode=l}else Mg(s,e.type,e.stateNode);else e.stateNode=Ag(s,l,e.memoizedProps);else c!==l?(c===null?r.stateNode!==null&&(r=r.stateNode,r.parentNode.removeChild(r)):c.count--,l===null?Mg(s,e.type,e.stateNode):Ag(s,l,e.memoizedProps)):l===null&&e.stateNode!==null&&bf(e,e.memoizedProps,r.memoizedProps)}break;case 27:Nt(t,e),zt(e),l&512&&(st||r===null||An(r,r.return)),r!==null&&l&4&&bf(e,e.memoizedProps,r.memoizedProps);break;case 5:if(Nt(t,e),zt(e),l&512&&(st||r===null||An(r,r.return)),e.flags&32){s=e.stateNode;try{Br(s,"")}catch(ne){Ne(e,e.return,ne)}}l&4&&e.stateNode!=null&&(s=e.memoizedProps,bf(e,s,r!==null?r.memoizedProps:s)),l&1024&&(wf=!0);break;case 6:if(Nt(t,e),zt(e),l&4){if(e.stateNode===null)throw Error(u(162));l=e.memoizedProps,r=e.stateNode;try{r.nodeValue=l}catch(ne){Ne(e,e.return,ne)}}break;case 3:if(Os=null,s=mn,mn=Es(t.containerInfo),Nt(t,e),mn=s,zt(e),l&4&&r!==null&&r.memoizedState.isDehydrated)try{pi(t.containerInfo)}catch(ne){Ne(e,e.return,ne)}wf&&(wf=!1,My(e));break;case 4:l=mn,mn=Es(e.stateNode.containerInfo),Nt(t,e),zt(e),mn=l;break;case 12:Nt(t,e),zt(e);break;case 31:Nt(t,e),zt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,cs(e,l)));break;case 13:Nt(t,e),zt(e),e.child.flags&8192&&e.memoizedState!==null!=(r!==null&&r.memoizedState!==null)&&(ds=Lt()),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,cs(e,l)));break;case 22:s=e.memoizedState!==null;var w=r!==null&&r.memoizedState!==null,D=In,V=st;if(In=D||s,st=V||w,Nt(t,e),st=V,In=D,zt(e),l&8192)e:for(t=e.stateNode,t._visibility=s?t._visibility&-2:t._visibility|1,s&&(r===null||w||In||st||yr(e)),r=null,t=e;;){if(t.tag===5||t.tag===26){if(r===null){w=r=t;try{if(c=w.stateNode,s)m=c.style,typeof m.setProperty=="function"?m.setProperty("display","none","important"):m.display="none";else{g=w.stateNode;var K=w.memoizedProps.style,q=K!=null&&K.hasOwnProperty("display")?K.display:null;g.style.display=q==null||typeof q=="boolean"?"":(""+q).trim()}}catch(ne){Ne(w,w.return,ne)}}}else if(t.tag===6){if(r===null){w=t;try{w.stateNode.nodeValue=s?"":w.memoizedProps}catch(ne){Ne(w,w.return,ne)}}}else if(t.tag===18){if(r===null){w=t;try{var H=w.stateNode;s?bg(H,!0):bg(w.stateNode,!1)}catch(ne){Ne(w,w.return,ne)}}}else if((t.tag!==22&&t.tag!==23||t.memoizedState===null||t===e)&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;t.sibling===null;){if(t.return===null||t.return===e)break e;r===t&&(r=null),t=t.return}r===t&&(r=null),t.sibling.return=t.return,t=t.sibling}l&4&&(l=e.updateQueue,l!==null&&(r=l.retryQueue,r!==null&&(l.retryQueue=null,cs(e,r))));break;case 19:Nt(t,e),zt(e),l&4&&(l=e.updateQueue,l!==null&&(e.updateQueue=null,cs(e,l)));break;case 30:break;case 21:break;default:Nt(t,e),zt(e)}}function zt(e){var t=e.flags;if(t&2){try{for(var r,l=e.return;l!==null;){if(_y(l)){r=l;break}l=l.return}if(r==null)throw Error(u(160));switch(r.tag){case 27:var s=r.stateNode,c=vf(e);os(e,c,s);break;case 5:var m=r.stateNode;r.flags&32&&(Br(m,""),r.flags&=-33);var g=vf(e);os(e,g,m);break;case 3:case 4:var w=r.stateNode.containerInfo,D=vf(e);_f(e,D,w);break;default:throw Error(u(161))}}catch(V){Ne(e,e.return,V)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function My(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;My(t),t.tag===5&&t.flags&1024&&t.stateNode.reset(),e=e.sibling}}function ta(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)xy(e,t.alternate,t),t=t.sibling}function yr(e){for(e=e.child;e!==null;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:za(4,t,t.return),yr(t);break;case 1:An(t,t.return);var r=t.stateNode;typeof r.componentWillUnmount=="function"&&by(t,t.return,r),yr(t);break;case 27:Ol(t.stateNode);case 26:case 5:An(t,t.return),yr(t);break;case 22:t.memoizedState===null&&yr(t);break;case 30:yr(t);break;default:yr(t)}e=e.sibling}}function na(e,t,r){for(r=r&&(t.subtreeFlags&8772)!==0,t=t.child;t!==null;){var l=t.alternate,s=e,c=t,m=c.flags;switch(c.tag){case 0:case 11:case 15:na(s,c,r),yl(4,c);break;case 1:if(na(s,c,r),l=c,s=l.stateNode,typeof s.componentDidMount=="function")try{s.componentDidMount()}catch(D){Ne(l,l.return,D)}if(l=c,s=l.updateQueue,s!==null){var g=l.stateNode;try{var w=s.shared.hiddenCallbacks;if(w!==null)for(s.shared.hiddenCallbacks=null,s=0;s<w.length;s++)lp(w[s],g)}catch(D){Ne(l,l.return,D)}}r&&m&64&&gy(c),gl(c,c.return);break;case 27:wy(c);case 26:case 5:na(s,c,r),r&&l===null&&m&4&&vy(c),gl(c,c.return);break;case 12:na(s,c,r);break;case 31:na(s,c,r),r&&m&4&&Oy(s,c);break;case 13:na(s,c,r),r&&m&4&&Ay(s,c);break;case 22:c.memoizedState===null&&na(s,c,r),gl(c,c.return);break;case 30:break;default:na(s,c,r)}t=t.sibling}}function Sf(e,t){var r=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(r=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==r&&(e!=null&&e.refCount++,r!=null&&al(r))}function xf(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&al(e))}function pn(e,t,r,l){if(t.subtreeFlags&10256)for(t=t.child;t!==null;)Cy(e,t,r,l),t=t.sibling}function Cy(e,t,r,l){var s=t.flags;switch(t.tag){case 0:case 11:case 15:pn(e,t,r,l),s&2048&&yl(9,t);break;case 1:pn(e,t,r,l);break;case 3:pn(e,t,r,l),s&2048&&(e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&al(e)));break;case 12:if(s&2048){pn(e,t,r,l),e=t.stateNode;try{var c=t.memoizedProps,m=c.id,g=c.onPostCommit;typeof g=="function"&&g(m,t.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(w){Ne(t,t.return,w)}}else pn(e,t,r,l);break;case 31:pn(e,t,r,l);break;case 13:pn(e,t,r,l);break;case 23:break;case 22:c=t.stateNode,m=t.alternate,t.memoizedState!==null?c._visibility&2?pn(e,t,r,l):bl(e,t):c._visibility&2?pn(e,t,r,l):(c._visibility|=2,ri(e,t,r,l,(t.subtreeFlags&10256)!==0||!1)),s&2048&&Sf(m,t);break;case 24:pn(e,t,r,l),s&2048&&xf(t.alternate,t);break;default:pn(e,t,r,l)}}function ri(e,t,r,l,s){for(s=s&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var c=e,m=t,g=r,w=l,D=m.flags;switch(m.tag){case 0:case 11:case 15:ri(c,m,g,w,s),yl(8,m);break;case 23:break;case 22:var V=m.stateNode;m.memoizedState!==null?V._visibility&2?ri(c,m,g,w,s):bl(c,m):(V._visibility|=2,ri(c,m,g,w,s)),s&&D&2048&&Sf(m.alternate,m);break;case 24:ri(c,m,g,w,s),s&&D&2048&&xf(m.alternate,m);break;default:ri(c,m,g,w,s)}t=t.sibling}}function bl(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var r=e,l=t,s=l.flags;switch(l.tag){case 22:bl(r,l),s&2048&&Sf(l.alternate,l);break;case 24:bl(r,l),s&2048&&xf(l.alternate,l);break;default:bl(r,l)}t=t.sibling}}var vl=8192;function ii(e,t,r){if(e.subtreeFlags&vl)for(e=e.child;e!==null;)Ny(e,t,r),e=e.sibling}function Ny(e,t,r){switch(e.tag){case 26:ii(e,t,r),e.flags&vl&&e.memoizedState!==null&&fS(r,mn,e.memoizedState,e.memoizedProps);break;case 5:ii(e,t,r);break;case 3:case 4:var l=mn;mn=Es(e.stateNode.containerInfo),ii(e,t,r),mn=l;break;case 22:e.memoizedState===null&&(l=e.alternate,l!==null&&l.memoizedState!==null?(l=vl,vl=16777216,ii(e,t,r),vl=l):ii(e,t,r));break;default:ii(e,t,r)}}function zy(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function _l(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];ht=l,Dy(l,e)}zy(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)$y(e),e=e.sibling}function $y(e){switch(e.tag){case 0:case 11:case 15:_l(e),e.flags&2048&&za(9,e,e.return);break;case 3:_l(e);break;case 12:_l(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,fs(e)):_l(e);break;default:_l(e)}}function fs(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var r=0;r<t.length;r++){var l=t[r];ht=l,Dy(l,e)}zy(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:za(8,t,t.return),fs(t);break;case 22:r=t.stateNode,r._visibility&2&&(r._visibility&=-3,fs(t));break;default:fs(t)}e=e.sibling}}function Dy(e,t){for(;ht!==null;){var r=ht;switch(r.tag){case 0:case 11:case 15:za(8,r,t);break;case 23:case 22:if(r.memoizedState!==null&&r.memoizedState.cachePool!==null){var l=r.memoizedState.cachePool.pool;l!=null&&l.refCount++}break;case 24:al(r.memoizedState.cache)}if(l=r.child,l!==null)l.return=r,ht=l;else e:for(r=e;ht!==null;){l=ht;var s=l.sibling,c=l.return;if(Ey(l),l===r){ht=null;break e}if(s!==null){s.return=c,ht=s;break e}ht=c}}}var Ow={getCacheForType:function(e){var t=gt(it),r=t.data.get(e);return r===void 0&&(r=e(),t.data.set(e,r)),r},cacheSignal:function(){return gt(it).controller.signal}},Aw=typeof WeakMap=="function"?WeakMap:Map,Ee=0,qe=null,ye=null,be=0,Ce=0,Qt=null,$a=!1,li=!1,Ef=!1,aa=0,Pe=0,Da=0,gr=0,Tf=0,Kt=0,ui=0,wl=null,$t=null,Of=!1,ds=0,Uy=0,hs=1/0,ms=null,Ua=null,ft=0,qa=null,si=null,ra=0,Af=0,Rf=null,qy=null,Sl=0,Mf=null;function Ft(){return(Ee&2)!==0&&be!==0?be&-be:S.T!==null?Uf():Wh()}function jy(){if(Kt===0)if((be&536870912)===0||_e){var e=Su;Su<<=1,(Su&3932160)===0&&(Su=262144),Kt=e}else Kt=536870912;return e=Vt.current,e!==null&&(e.flags|=32),Kt}function Dt(e,t,r){(e===qe&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)&&(oi(e,0),ja(e,be,Kt,!1)),Yi(e,r),((Ee&2)===0||e!==qe)&&(e===qe&&((Ee&2)===0&&(gr|=r),Pe===4&&ja(e,be,Kt,!1)),Rn(e))}function By(e,t,r){if((Ee&6)!==0)throw Error(u(327));var l=!r&&(t&127)===0&&(t&e.expiredLanes)===0||Gi(e,t),s=l?Cw(e,t):Nf(e,t,!0),c=l;do{if(s===0){li&&!l&&ja(e,t,0,!1);break}else{if(r=e.current.alternate,c&&!Rw(r)){s=Nf(e,t,!1),c=!1;continue}if(s===2){if(c=t,e.errorRecoveryDisabledLanes&c)var m=0;else m=e.pendingLanes&-536870913,m=m!==0?m:m&536870912?536870912:0;if(m!==0){t=m;e:{var g=e;s=wl;var w=g.current.memoizedState.isDehydrated;if(w&&(oi(g,m).flags|=256),m=Nf(g,m,!1),m!==2){if(Ef&&!w){g.errorRecoveryDisabledLanes|=c,gr|=c,s=4;break e}c=$t,$t=s,c!==null&&($t===null?$t=c:$t.push.apply($t,c))}s=m}if(c=!1,s!==2)continue}}if(s===1){oi(e,0),ja(e,t,0,!0);break}e:{switch(l=e,c=s,c){case 0:case 1:throw Error(u(345));case 4:if((t&4194048)!==t)break;case 6:ja(l,t,Kt,!$a);break e;case 2:$t=null;break;case 3:case 5:break;default:throw Error(u(329))}if((t&62914560)===t&&(s=ds+300-Lt(),10<s)){if(ja(l,t,Kt,!$a),Eu(l,0,!0)!==0)break e;ra=t,l.timeoutHandle=pg(Ly.bind(null,l,r,$t,ms,Of,t,Kt,gr,ui,$a,c,"Throttled",-0,0),s);break e}Ly(l,r,$t,ms,Of,t,Kt,gr,ui,$a,c,null,-0,0)}}break}while(!0);Rn(e)}function Ly(e,t,r,l,s,c,m,g,w,D,V,K,q,H){if(e.timeoutHandle=-1,K=t.subtreeFlags,K&8192||(K&16785408)===16785408){K={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Yn},Ny(t,c,K);var ne=(c&62914560)===c?ds-Lt():(c&4194048)===c?Uy-Lt():0;if(ne=dS(K,ne),ne!==null){ra=c,e.cancelPendingCommit=ne(Ky.bind(null,e,t,c,r,l,s,m,g,w,V,K,null,q,H)),ja(e,c,m,!D);return}}Ky(e,t,c,r,l,s,m,g,w)}function Rw(e){for(var t=e;;){var r=t.tag;if((r===0||r===11||r===15)&&t.flags&16384&&(r=t.updateQueue,r!==null&&(r=r.stores,r!==null)))for(var l=0;l<r.length;l++){var s=r[l],c=s.getSnapshot;s=s.value;try{if(!Gt(c(),s))return!1}catch{return!1}}if(r=t.child,t.subtreeFlags&16384&&r!==null)r.return=t,t=r;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function ja(e,t,r,l){t&=~Tf,t&=~gr,e.suspendedLanes|=t,e.pingedLanes&=~t,l&&(e.warmLanes|=t),l=e.expirationTimes;for(var s=t;0<s;){var c=31-Ht(s),m=1<<c;l[c]=-1,s&=~m}r!==0&&Jh(e,r,t)}function ps(){return(Ee&6)===0?(xl(0),!1):!0}function Cf(){if(ye!==null){if(Ce===0)var e=ye.return;else e=ye,Kn=sr=null,Xc(e),Ir=null,il=0,e=ye;for(;e!==null;)yy(e.alternate,e),e=e.return;ye=null}}function oi(e,t){var r=e.timeoutHandle;r!==-1&&(e.timeoutHandle=-1,Fw(r)),r=e.cancelPendingCommit,r!==null&&(e.cancelPendingCommit=null,r()),ra=0,Cf(),qe=e,ye=r=Xn(e.current,null),be=t,Ce=0,Qt=null,$a=!1,li=Gi(e,t),Ef=!1,ui=Kt=Tf=gr=Da=Pe=0,$t=wl=null,Of=!1,(t&8)!==0&&(t|=t&32);var l=e.entangledLanes;if(l!==0)for(e=e.entanglements,l&=t;0<l;){var s=31-Ht(l),c=1<<s;t|=e[s],l&=~c}return aa=t,qu(),r}function Zy(e,t){de=null,S.H=hl,t===Wr||t===Vu?(t=np(),Ce=3):t===$c?(t=np(),Ce=4):Ce=t===sf?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,Qt=t,ye===null&&(Pe=1,rs(e,tn(t,e.current)))}function Hy(){var e=Vt.current;return e===null?!0:(be&4194048)===be?ln===null:(be&62914560)===be||(be&536870912)!==0?e===ln:!1}function Gy(){var e=S.H;return S.H=hl,e===null?hl:e}function Yy(){var e=S.A;return S.A=Ow,e}function ys(){Pe=4,$a||(be&4194048)!==be&&Vt.current!==null||(li=!0),(Da&134217727)===0&&(gr&134217727)===0||qe===null||ja(qe,be,Kt,!1)}function Nf(e,t,r){var l=Ee;Ee|=2;var s=Gy(),c=Yy();(qe!==e||be!==t)&&(ms=null,oi(e,t)),t=!1;var m=Pe;e:do try{if(Ce!==0&&ye!==null){var g=ye,w=Qt;switch(Ce){case 8:Cf(),m=6;break e;case 3:case 2:case 9:case 6:Vt.current===null&&(t=!0);var D=Ce;if(Ce=0,Qt=null,ci(e,g,w,D),r&&li){m=0;break e}break;default:D=Ce,Ce=0,Qt=null,ci(e,g,w,D)}}Mw(),m=Pe;break}catch(V){Zy(e,V)}while(!0);return t&&e.shellSuspendCounter++,Kn=sr=null,Ee=l,S.H=s,S.A=c,ye===null&&(qe=null,be=0,qu()),m}function Mw(){for(;ye!==null;)Vy(ye)}function Cw(e,t){var r=Ee;Ee|=2;var l=Gy(),s=Yy();qe!==e||be!==t?(ms=null,hs=Lt()+500,oi(e,t)):li=Gi(e,t);e:do try{if(Ce!==0&&ye!==null){t=ye;var c=Qt;t:switch(Ce){case 1:Ce=0,Qt=null,ci(e,t,c,1);break;case 2:case 9:if(ep(c)){Ce=0,Qt=null,Xy(t);break}t=function(){Ce!==2&&Ce!==9||qe!==e||(Ce=7),Rn(e)},c.then(t,t);break e;case 3:Ce=7;break e;case 4:Ce=5;break e;case 7:ep(c)?(Ce=0,Qt=null,Xy(t)):(Ce=0,Qt=null,ci(e,t,c,7));break;case 5:var m=null;switch(ye.tag){case 26:m=ye.memoizedState;case 5:case 27:var g=ye;if(m?Cg(m):g.stateNode.complete){Ce=0,Qt=null;var w=g.sibling;if(w!==null)ye=w;else{var D=g.return;D!==null?(ye=D,gs(D)):ye=null}break t}}Ce=0,Qt=null,ci(e,t,c,5);break;case 6:Ce=0,Qt=null,ci(e,t,c,6);break;case 8:Cf(),Pe=6;break e;default:throw Error(u(462))}}Nw();break}catch(V){Zy(e,V)}while(!0);return Kn=sr=null,S.H=l,S.A=s,Ee=r,ye!==null?0:(qe=null,be=0,qu(),Pe)}function Nw(){for(;ye!==null&&!e_();)Vy(ye)}function Vy(e){var t=my(e.alternate,e,aa);e.memoizedProps=e.pendingProps,t===null?gs(e):ye=t}function Xy(e){var t=e,r=t.alternate;switch(t.tag){case 15:case 0:t=sy(r,t,t.pendingProps,t.type,void 0,be);break;case 11:t=sy(r,t,t.pendingProps,t.type.render,t.ref,be);break;case 5:Xc(t);default:yy(r,t),t=ye=Ym(t,aa),t=my(r,t,aa)}e.memoizedProps=e.pendingProps,t===null?gs(e):ye=t}function ci(e,t,r,l){Kn=sr=null,Xc(t),Ir=null,il=0;var s=t.return;try{if(vw(e,s,t,r,be)){Pe=1,rs(e,tn(r,e.current)),ye=null;return}}catch(c){if(s!==null)throw ye=s,c;Pe=1,rs(e,tn(r,e.current)),ye=null;return}t.flags&32768?(_e||l===1?e=!0:li||(be&536870912)!==0?e=!1:($a=e=!0,(l===2||l===9||l===3||l===6)&&(l=Vt.current,l!==null&&l.tag===13&&(l.flags|=16384))),Qy(t,e)):gs(t)}function gs(e){var t=e;do{if((t.flags&32768)!==0){Qy(t,$a);return}e=t.return;var r=Sw(t.alternate,t,aa);if(r!==null){ye=r;return}if(t=t.sibling,t!==null){ye=t;return}ye=t=e}while(t!==null);Pe===0&&(Pe=5)}function Qy(e,t){do{var r=xw(e.alternate,e);if(r!==null){r.flags&=32767,ye=r;return}if(r=e.return,r!==null&&(r.flags|=32768,r.subtreeFlags=0,r.deletions=null),!t&&(e=e.sibling,e!==null)){ye=e;return}ye=e=r}while(e!==null);Pe=6,ye=null}function Ky(e,t,r,l,s,c,m,g,w){e.cancelPendingCommit=null;do bs();while(ft!==0);if((Ee&6)!==0)throw Error(u(327));if(t!==null){if(t===e.current)throw Error(u(177));if(c=t.lanes|t.childLanes,c|=bc,c_(e,r,c,m,g,w),e===qe&&(ye=qe=null,be=0),si=t,qa=e,ra=r,Af=c,Rf=s,qy=l,(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,Uw(_u,function(){return Wy(),null})):(e.callbackNode=null,e.callbackPriority=0),l=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||l){l=S.T,S.T=null,s=F.p,F.p=2,m=Ee,Ee|=4;try{Ew(e,t,r)}finally{Ee=m,F.p=s,S.T=l}}ft=1,Fy(),Jy(),ky()}}function Fy(){if(ft===1){ft=0;var e=qa,t=si,r=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||r){r=S.T,S.T=null;var l=F.p;F.p=2;var s=Ee;Ee|=4;try{Ry(t,e);var c=Yf,m=Dm(e.containerInfo),g=c.focusedElem,w=c.selectionRange;if(m!==g&&g&&g.ownerDocument&&$m(g.ownerDocument.documentElement,g)){if(w!==null&&hc(g)){var D=w.start,V=w.end;if(V===void 0&&(V=D),"selectionStart"in g)g.selectionStart=D,g.selectionEnd=Math.min(V,g.value.length);else{var K=g.ownerDocument||document,q=K&&K.defaultView||window;if(q.getSelection){var H=q.getSelection(),ne=g.textContent.length,oe=Math.min(w.start,ne),Ue=w.end===void 0?oe:Math.min(w.end,ne);!H.extend&&oe>Ue&&(m=Ue,Ue=oe,oe=m);var M=zm(g,oe),T=zm(g,Ue);if(M&&T&&(H.rangeCount!==1||H.anchorNode!==M.node||H.anchorOffset!==M.offset||H.focusNode!==T.node||H.focusOffset!==T.offset)){var $=K.createRange();$.setStart(M.node,M.offset),H.removeAllRanges(),oe>Ue?(H.addRange($),H.extend(T.node,T.offset)):($.setEnd(T.node,T.offset),H.addRange($))}}}}for(K=[],H=g;H=H.parentNode;)H.nodeType===1&&K.push({element:H,left:H.scrollLeft,top:H.scrollTop});for(typeof g.focus=="function"&&g.focus(),g=0;g<K.length;g++){var X=K[g];X.element.scrollLeft=X.left,X.element.scrollTop=X.top}}Cs=!!Gf,Yf=Gf=null}finally{Ee=s,F.p=l,S.T=r}}e.current=t,ft=2}}function Jy(){if(ft===2){ft=0;var e=qa,t=si,r=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||r){r=S.T,S.T=null;var l=F.p;F.p=2;var s=Ee;Ee|=4;try{xy(e,t.alternate,t)}finally{Ee=s,F.p=l,S.T=r}}ft=3}}function ky(){if(ft===4||ft===3){ft=0,t_();var e=qa,t=si,r=ra,l=qy;(t.subtreeFlags&10256)!==0||(t.flags&10256)!==0?ft=5:(ft=0,si=qa=null,Py(e,e.pendingLanes));var s=e.pendingLanes;if(s===0&&(Ua=null),Fo(r),t=t.stateNode,Zt&&typeof Zt.onCommitFiberRoot=="function")try{Zt.onCommitFiberRoot(Hi,t,void 0,(t.current.flags&128)===128)}catch{}if(l!==null){t=S.T,s=F.p,F.p=2,S.T=null;try{for(var c=e.onRecoverableError,m=0;m<l.length;m++){var g=l[m];c(g.value,{componentStack:g.stack})}}finally{S.T=t,F.p=s}}(ra&3)!==0&&bs(),Rn(e),s=e.pendingLanes,(r&261930)!==0&&(s&42)!==0?e===Mf?Sl++:(Sl=0,Mf=e):Sl=0,xl(0)}}function Py(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,al(t)))}function bs(){return Fy(),Jy(),ky(),Wy()}function Wy(){if(ft!==5)return!1;var e=qa,t=Af;Af=0;var r=Fo(ra),l=S.T,s=F.p;try{F.p=32>r?32:r,S.T=null,r=Rf,Rf=null;var c=qa,m=ra;if(ft=0,si=qa=null,ra=0,(Ee&6)!==0)throw Error(u(331));var g=Ee;if(Ee|=4,$y(c.current),Cy(c,c.current,m,r),Ee=g,xl(0,!1),Zt&&typeof Zt.onPostCommitFiberRoot=="function")try{Zt.onPostCommitFiberRoot(Hi,c)}catch{}return!0}finally{F.p=s,S.T=l,Py(e,t)}}function Iy(e,t,r){t=tn(r,t),t=uf(e.stateNode,t,2),e=Ma(e,t,2),e!==null&&(Yi(e,2),Rn(e))}function Ne(e,t,r){if(e.tag===3)Iy(e,e,r);else for(;t!==null;){if(t.tag===3){Iy(t,e,r);break}else if(t.tag===1){var l=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof l.componentDidCatch=="function"&&(Ua===null||!Ua.has(l))){e=tn(r,e),r=ey(2),l=Ma(t,r,2),l!==null&&(ty(r,l,t,e),Yi(l,2),Rn(l));break}}t=t.return}}function zf(e,t,r){var l=e.pingCache;if(l===null){l=e.pingCache=new Aw;var s=new Set;l.set(t,s)}else s=l.get(t),s===void 0&&(s=new Set,l.set(t,s));s.has(r)||(Ef=!0,s.add(r),e=zw.bind(null,e,t,r),t.then(e,e))}function zw(e,t,r){var l=e.pingCache;l!==null&&l.delete(t),e.pingedLanes|=e.suspendedLanes&r,e.warmLanes&=~r,qe===e&&(be&r)===r&&(Pe===4||Pe===3&&(be&62914560)===be&&300>Lt()-ds?(Ee&2)===0&&oi(e,0):Tf|=r,ui===be&&(ui=0)),Rn(e)}function eg(e,t){t===0&&(t=Fh()),e=ir(e,t),e!==null&&(Yi(e,t),Rn(e))}function $w(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),eg(e,r)}function Dw(e,t){var r=0;switch(e.tag){case 31:case 13:var l=e.stateNode,s=e.memoizedState;s!==null&&(r=s.retryLane);break;case 19:l=e.stateNode;break;case 22:l=e.stateNode._retryCache;break;default:throw Error(u(314))}l!==null&&l.delete(t),eg(e,r)}function Uw(e,t){return Vo(e,t)}var vs=null,fi=null,$f=!1,_s=!1,Df=!1,Ba=0;function Rn(e){e!==fi&&e.next===null&&(fi===null?vs=fi=e:fi=fi.next=e),_s=!0,$f||($f=!0,jw())}function xl(e,t){if(!Df&&_s){Df=!0;do for(var r=!1,l=vs;l!==null;){if(e!==0){var s=l.pendingLanes;if(s===0)var c=0;else{var m=l.suspendedLanes,g=l.pingedLanes;c=(1<<31-Ht(42|e)+1)-1,c&=s&~(m&~g),c=c&201326741?c&201326741|1:c?c|2:0}c!==0&&(r=!0,rg(l,c))}else c=be,c=Eu(l,l===qe?c:0,l.cancelPendingCommit!==null||l.timeoutHandle!==-1),(c&3)===0||Gi(l,c)||(r=!0,rg(l,c));l=l.next}while(r);Df=!1}}function qw(){tg()}function tg(){_s=$f=!1;var e=0;Ba!==0&&Kw()&&(e=Ba);for(var t=Lt(),r=null,l=vs;l!==null;){var s=l.next,c=ng(l,t);c===0?(l.next=null,r===null?vs=s:r.next=s,s===null&&(fi=r)):(r=l,(e!==0||(c&3)!==0)&&(_s=!0)),l=s}ft!==0&&ft!==5||xl(e),Ba!==0&&(Ba=0)}function ng(e,t){for(var r=e.suspendedLanes,l=e.pingedLanes,s=e.expirationTimes,c=e.pendingLanes&-62914561;0<c;){var m=31-Ht(c),g=1<<m,w=s[m];w===-1?((g&r)===0||(g&l)!==0)&&(s[m]=o_(g,t)):w<=t&&(e.expiredLanes|=g),c&=~g}if(t=qe,r=be,r=Eu(e,e===t?r:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l=e.callbackNode,r===0||e===t&&(Ce===2||Ce===9)||e.cancelPendingCommit!==null)return l!==null&&l!==null&&Xo(l),e.callbackNode=null,e.callbackPriority=0;if((r&3)===0||Gi(e,r)){if(t=r&-r,t===e.callbackPriority)return t;switch(l!==null&&Xo(l),Fo(r)){case 2:case 8:r=Qh;break;case 32:r=_u;break;case 268435456:r=Kh;break;default:r=_u}return l=ag.bind(null,e),r=Vo(r,l),e.callbackPriority=t,e.callbackNode=r,t}return l!==null&&l!==null&&Xo(l),e.callbackPriority=2,e.callbackNode=null,2}function ag(e,t){if(ft!==0&&ft!==5)return e.callbackNode=null,e.callbackPriority=0,null;var r=e.callbackNode;if(bs()&&e.callbackNode!==r)return null;var l=be;return l=Eu(e,e===qe?l:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),l===0?null:(By(e,l,t),ng(e,Lt()),e.callbackNode!=null&&e.callbackNode===r?ag.bind(null,e):null)}function rg(e,t){if(bs())return null;By(e,t,!0)}function jw(){Jw(function(){(Ee&6)!==0?Vo(Xh,qw):tg()})}function Uf(){if(Ba===0){var e=kr;e===0&&(e=wu,wu<<=1,(wu&261888)===0&&(wu=256)),Ba=e}return Ba}function ig(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Ru(""+e)}function lg(e,t){var r=t.ownerDocument.createElement("input");return r.name=t.name,r.value=t.value,e.id&&r.setAttribute("form",e.id),t.parentNode.insertBefore(r,t),e=new FormData(e),r.parentNode.removeChild(r),e}function Bw(e,t,r,l,s){if(t==="submit"&&r&&r.stateNode===s){var c=ig((s[Rt]||null).action),m=l.submitter;m&&(t=(t=m[Rt]||null)?ig(t.formAction):m.getAttribute("formAction"),t!==null&&(c=t,m=null));var g=new zu("action","action",null,l,s);e.push({event:g,listeners:[{instance:null,listener:function(){if(l.defaultPrevented){if(Ba!==0){var w=m?lg(s,m):new FormData(s);ef(r,{pending:!0,data:w,method:s.method,action:c},null,w)}}else typeof c=="function"&&(g.preventDefault(),w=m?lg(s,m):new FormData(s),ef(r,{pending:!0,data:w,method:s.method,action:c},c,w))},currentTarget:s}]})}}for(var qf=0;qf<gc.length;qf++){var jf=gc[qf],Lw=jf.toLowerCase(),Zw=jf[0].toUpperCase()+jf.slice(1);hn(Lw,"on"+Zw)}hn(jm,"onAnimationEnd"),hn(Bm,"onAnimationIteration"),hn(Lm,"onAnimationStart"),hn("dblclick","onDoubleClick"),hn("focusin","onFocus"),hn("focusout","onBlur"),hn(nw,"onTransitionRun"),hn(aw,"onTransitionStart"),hn(rw,"onTransitionCancel"),hn(Zm,"onTransitionEnd"),qr("onMouseEnter",["mouseout","mouseover"]),qr("onMouseLeave",["mouseout","mouseover"]),qr("onPointerEnter",["pointerout","pointerover"]),qr("onPointerLeave",["pointerout","pointerover"]),tr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),tr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),tr("onBeforeInput",["compositionend","keypress","textInput","paste"]),tr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),tr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),tr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var El="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(" "),Hw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(El));function ug(e,t){t=(t&4)!==0;for(var r=0;r<e.length;r++){var l=e[r],s=l.event;l=l.listeners;e:{var c=void 0;if(t)for(var m=l.length-1;0<=m;m--){var g=l[m],w=g.instance,D=g.currentTarget;if(g=g.listener,w!==c&&s.isPropagationStopped())break e;c=g,s.currentTarget=D;try{c(s)}catch(V){Uu(V)}s.currentTarget=null,c=w}else for(m=0;m<l.length;m++){if(g=l[m],w=g.instance,D=g.currentTarget,g=g.listener,w!==c&&s.isPropagationStopped())break e;c=g,s.currentTarget=D;try{c(s)}catch(V){Uu(V)}s.currentTarget=null,c=w}}}}function ge(e,t){var r=t[Jo];r===void 0&&(r=t[Jo]=new Set);var l=e+"__bubble";r.has(l)||(sg(t,e,2,!1),r.add(l))}function Bf(e,t,r){var l=0;t&&(l|=4),sg(r,e,l,t)}var ws="_reactListening"+Math.random().toString(36).slice(2);function Lf(e){if(!e[ws]){e[ws]=!0,tm.forEach(function(r){r!=="selectionchange"&&(Hw.has(r)||Bf(r,!1,e),Bf(r,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[ws]||(t[ws]=!0,Bf("selectionchange",!1,t))}}function sg(e,t,r,l){switch(jg(t)){case 2:var s=pS;break;case 8:s=yS;break;default:s=ed}r=s.bind(null,t,r,e),s=void 0,!rc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),l?s!==void 0?e.addEventListener(t,r,{capture:!0,passive:s}):e.addEventListener(t,r,!0):s!==void 0?e.addEventListener(t,r,{passive:s}):e.addEventListener(t,r,!1)}function Zf(e,t,r,l,s){var c=l;if((t&1)===0&&(t&2)===0&&l!==null)e:for(;;){if(l===null)return;var m=l.tag;if(m===3||m===4){var g=l.stateNode.containerInfo;if(g===s)break;if(m===4)for(m=l.return;m!==null;){var w=m.tag;if((w===3||w===4)&&m.stateNode.containerInfo===s)return;m=m.return}for(;g!==null;){if(m=$r(g),m===null)return;if(w=m.tag,w===5||w===6||w===26||w===27){l=c=m;continue e}g=g.parentNode}}l=l.return}hm(function(){var D=c,V=nc(r),K=[];e:{var q=Hm.get(e);if(q!==void 0){var H=zu,ne=e;switch(e){case"keypress":if(Cu(r)===0)break e;case"keydown":case"keyup":H=D_;break;case"focusin":ne="focus",H=sc;break;case"focusout":ne="blur",H=sc;break;case"beforeblur":case"afterblur":H=sc;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":H=ym;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":H=S_;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":H=j_;break;case jm:case Bm:case Lm:H=T_;break;case Zm:H=L_;break;case"scroll":case"scrollend":H=__;break;case"wheel":H=H_;break;case"copy":case"cut":case"paste":H=A_;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":H=bm;break;case"toggle":case"beforetoggle":H=Y_}var oe=(t&4)!==0,Ue=!oe&&(e==="scroll"||e==="scrollend"),M=oe?q!==null?q+"Capture":null:q;oe=[];for(var T=D,$;T!==null;){var X=T;if($=X.stateNode,X=X.tag,X!==5&&X!==26&&X!==27||$===null||M===null||(X=Qi(T,M),X!=null&&oe.push(Tl(T,X,$))),Ue)break;T=T.return}0<oe.length&&(q=new H(q,ne,null,r,V),K.push({event:q,listeners:oe}))}}if((t&7)===0){e:{if(q=e==="mouseover"||e==="pointerover",H=e==="mouseout"||e==="pointerout",q&&r!==tc&&(ne=r.relatedTarget||r.fromElement)&&($r(ne)||ne[zr]))break e;if((H||q)&&(q=V.window===V?V:(q=V.ownerDocument)?q.defaultView||q.parentWindow:window,H?(ne=r.relatedTarget||r.toElement,H=D,ne=ne?$r(ne):null,ne!==null&&(Ue=f(ne),oe=ne.tag,ne!==Ue||oe!==5&&oe!==27&&oe!==6)&&(ne=null)):(H=null,ne=D),H!==ne)){if(oe=ym,X="onMouseLeave",M="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(oe=bm,X="onPointerLeave",M="onPointerEnter",T="pointer"),Ue=H==null?q:Xi(H),$=ne==null?q:Xi(ne),q=new oe(X,T+"leave",H,r,V),q.target=Ue,q.relatedTarget=$,X=null,$r(V)===D&&(oe=new oe(M,T+"enter",ne,r,V),oe.target=$,oe.relatedTarget=Ue,X=oe),Ue=X,H&&ne)t:{for(oe=Gw,M=H,T=ne,$=0,X=M;X;X=oe(X))$++;X=0;for(var le=T;le;le=oe(le))X++;for(;0<$-X;)M=oe(M),$--;for(;0<X-$;)T=oe(T),X--;for(;$--;){if(M===T||T!==null&&M===T.alternate){oe=M;break t}M=oe(M),T=oe(T)}oe=null}else oe=null;H!==null&&og(K,q,H,oe,!1),ne!==null&&Ue!==null&&og(K,Ue,ne,oe,!0)}}e:{if(q=D?Xi(D):window,H=q.nodeName&&q.nodeName.toLowerCase(),H==="select"||H==="input"&&q.type==="file")var Se=Om;else if(Em(q))if(Am)Se=I_;else{Se=P_;var ie=k_}else H=q.nodeName,!H||H.toLowerCase()!=="input"||q.type!=="checkbox"&&q.type!=="radio"?D&&ec(D.elementType)&&(Se=Om):Se=W_;if(Se&&(Se=Se(e,D))){Tm(K,Se,r,V);break e}ie&&ie(e,q,D),e==="focusout"&&D&&q.type==="number"&&D.memoizedProps.value!=null&&Io(q,"number",q.value)}switch(ie=D?Xi(D):window,e){case"focusin":(Em(ie)||ie.contentEditable==="true")&&(Gr=ie,mc=D,el=null);break;case"focusout":el=mc=Gr=null;break;case"mousedown":pc=!0;break;case"contextmenu":case"mouseup":case"dragend":pc=!1,Um(K,r,V);break;case"selectionchange":if(tw)break;case"keydown":case"keyup":Um(K,r,V)}var he;if(cc)e:{switch(e){case"compositionstart":var ve="onCompositionStart";break e;case"compositionend":ve="onCompositionEnd";break e;case"compositionupdate":ve="onCompositionUpdate";break e}ve=void 0}else Hr?Sm(e,r)&&(ve="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(ve="onCompositionStart");ve&&(vm&&r.locale!=="ko"&&(Hr||ve!=="onCompositionStart"?ve==="onCompositionEnd"&&Hr&&(he=mm()):(Sa=V,ic="value"in Sa?Sa.value:Sa.textContent,Hr=!0)),ie=Ss(D,ve),0<ie.length&&(ve=new gm(ve,e,null,r,V),K.push({event:ve,listeners:ie}),he?ve.data=he:(he=xm(r),he!==null&&(ve.data=he)))),(he=X_?Q_(e,r):K_(e,r))&&(ve=Ss(D,"onBeforeInput"),0<ve.length&&(ie=new gm("onBeforeInput","beforeinput",null,r,V),K.push({event:ie,listeners:ve}),ie.data=he)),Bw(K,e,D,r,V)}ug(K,t)})}function Tl(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Ss(e,t){for(var r=t+"Capture",l=[];e!==null;){var s=e,c=s.stateNode;if(s=s.tag,s!==5&&s!==26&&s!==27||c===null||(s=Qi(e,r),s!=null&&l.unshift(Tl(e,s,c)),s=Qi(e,t),s!=null&&l.push(Tl(e,s,c))),e.tag===3)return l;e=e.return}return[]}function Gw(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function og(e,t,r,l,s){for(var c=t._reactName,m=[];r!==null&&r!==l;){var g=r,w=g.alternate,D=g.stateNode;if(g=g.tag,w!==null&&w===l)break;g!==5&&g!==26&&g!==27||D===null||(w=D,s?(D=Qi(r,c),D!=null&&m.unshift(Tl(r,D,w))):s||(D=Qi(r,c),D!=null&&m.push(Tl(r,D,w)))),r=r.return}m.length!==0&&e.push({event:t,listeners:m})}var Yw=/\r\n?/g,Vw=/\u0000|\uFFFD/g;function cg(e){return(typeof e=="string"?e:""+e).replace(Yw,`
782
+ `).replace(Vw,"")}function fg(e,t){return t=cg(t),cg(e)===t}function De(e,t,r,l,s,c){switch(r){case"children":typeof l=="string"?t==="body"||t==="textarea"&&l===""||Br(e,l):(typeof l=="number"||typeof l=="bigint")&&t!=="body"&&Br(e,""+l);break;case"className":Ou(e,"class",l);break;case"tabIndex":Ou(e,"tabindex",l);break;case"dir":case"role":case"viewBox":case"width":case"height":Ou(e,r,l);break;case"style":fm(e,l,c);break;case"data":if(t!=="object"){Ou(e,"data",l);break}case"src":case"href":if(l===""&&(t!=="a"||r!=="href")){e.removeAttribute(r);break}if(l==null||typeof l=="function"||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=Ru(""+l),e.setAttribute(r,l);break;case"action":case"formAction":if(typeof l=="function"){e.setAttribute(r,"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 c=="function"&&(r==="formAction"?(t!=="input"&&De(e,t,"name",s.name,s,null),De(e,t,"formEncType",s.formEncType,s,null),De(e,t,"formMethod",s.formMethod,s,null),De(e,t,"formTarget",s.formTarget,s,null)):(De(e,t,"encType",s.encType,s,null),De(e,t,"method",s.method,s,null),De(e,t,"target",s.target,s,null)));if(l==null||typeof l=="symbol"||typeof l=="boolean"){e.removeAttribute(r);break}l=Ru(""+l),e.setAttribute(r,l);break;case"onClick":l!=null&&(e.onclick=Yn);break;case"onScroll":l!=null&&ge("scroll",e);break;case"onScrollEnd":l!=null&&ge("scrollend",e);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(r=l.__html,r!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=r}}break;case"multiple":e.multiple=l&&typeof l!="function"&&typeof l!="symbol";break;case"muted":e.muted=l&&typeof l!="function"&&typeof l!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(l==null||typeof l=="function"||typeof l=="boolean"||typeof l=="symbol"){e.removeAttribute("xlink:href");break}r=Ru(""+l),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""+l):e.removeAttribute(r);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":l&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,""):e.removeAttribute(r);break;case"capture":case"download":l===!0?e.setAttribute(r,""):l!==!1&&l!=null&&typeof l!="function"&&typeof l!="symbol"?e.setAttribute(r,l):e.removeAttribute(r);break;case"cols":case"rows":case"size":case"span":l!=null&&typeof l!="function"&&typeof l!="symbol"&&!isNaN(l)&&1<=l?e.setAttribute(r,l):e.removeAttribute(r);break;case"rowSpan":case"start":l==null||typeof l=="function"||typeof l=="symbol"||isNaN(l)?e.removeAttribute(r):e.setAttribute(r,l);break;case"popover":ge("beforetoggle",e),ge("toggle",e),Tu(e,"popover",l);break;case"xlinkActuate":Gn(e,"http://www.w3.org/1999/xlink","xlink:actuate",l);break;case"xlinkArcrole":Gn(e,"http://www.w3.org/1999/xlink","xlink:arcrole",l);break;case"xlinkRole":Gn(e,"http://www.w3.org/1999/xlink","xlink:role",l);break;case"xlinkShow":Gn(e,"http://www.w3.org/1999/xlink","xlink:show",l);break;case"xlinkTitle":Gn(e,"http://www.w3.org/1999/xlink","xlink:title",l);break;case"xlinkType":Gn(e,"http://www.w3.org/1999/xlink","xlink:type",l);break;case"xmlBase":Gn(e,"http://www.w3.org/XML/1998/namespace","xml:base",l);break;case"xmlLang":Gn(e,"http://www.w3.org/XML/1998/namespace","xml:lang",l);break;case"xmlSpace":Gn(e,"http://www.w3.org/XML/1998/namespace","xml:space",l);break;case"is":Tu(e,"is",l);break;case"innerText":case"textContent":break;default:(!(2<r.length)||r[0]!=="o"&&r[0]!=="O"||r[1]!=="n"&&r[1]!=="N")&&(r=b_.get(r)||r,Tu(e,r,l))}}function Hf(e,t,r,l,s,c){switch(r){case"style":fm(e,l,c);break;case"dangerouslySetInnerHTML":if(l!=null){if(typeof l!="object"||!("__html"in l))throw Error(u(61));if(r=l.__html,r!=null){if(s.children!=null)throw Error(u(60));e.innerHTML=r}}break;case"children":typeof l=="string"?Br(e,l):(typeof l=="number"||typeof l=="bigint")&&Br(e,""+l);break;case"onScroll":l!=null&&ge("scroll",e);break;case"onScrollEnd":l!=null&&ge("scrollend",e);break;case"onClick":l!=null&&(e.onclick=Yn);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!nm.hasOwnProperty(r))e:{if(r[0]==="o"&&r[1]==="n"&&(s=r.endsWith("Capture"),t=r.slice(2,s?r.length-7:void 0),c=e[Rt]||null,c=c!=null?c[r]:null,typeof c=="function"&&e.removeEventListener(t,c,s),typeof l=="function")){typeof c!="function"&&c!==null&&(r in e?e[r]=null:e.hasAttribute(r)&&e.removeAttribute(r)),e.addEventListener(t,l,s);break e}r in e?e[r]=l:l===!0?e.setAttribute(r,""):Tu(e,r,l)}}}function vt(e,t,r){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":ge("error",e),ge("load",e);var l=!1,s=!1,c;for(c in r)if(r.hasOwnProperty(c)){var m=r[c];if(m!=null)switch(c){case"src":l=!0;break;case"srcSet":s=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:De(e,t,c,m,r,null)}}s&&De(e,t,"srcSet",r.srcSet,r,null),l&&De(e,t,"src",r.src,r,null);return;case"input":ge("invalid",e);var g=c=m=s=null,w=null,D=null;for(l in r)if(r.hasOwnProperty(l)){var V=r[l];if(V!=null)switch(l){case"name":s=V;break;case"type":m=V;break;case"checked":w=V;break;case"defaultChecked":D=V;break;case"value":c=V;break;case"defaultValue":g=V;break;case"children":case"dangerouslySetInnerHTML":if(V!=null)throw Error(u(137,t));break;default:De(e,t,l,V,r,null)}}um(e,c,g,w,D,m,s,!1);return;case"select":ge("invalid",e),l=m=c=null;for(s in r)if(r.hasOwnProperty(s)&&(g=r[s],g!=null))switch(s){case"value":c=g;break;case"defaultValue":m=g;break;case"multiple":l=g;default:De(e,t,s,g,r,null)}t=c,r=m,e.multiple=!!l,t!=null?jr(e,!!l,t,!1):r!=null&&jr(e,!!l,r,!0);return;case"textarea":ge("invalid",e),c=s=l=null;for(m in r)if(r.hasOwnProperty(m)&&(g=r[m],g!=null))switch(m){case"value":l=g;break;case"defaultValue":s=g;break;case"children":c=g;break;case"dangerouslySetInnerHTML":if(g!=null)throw Error(u(91));break;default:De(e,t,m,g,r,null)}om(e,l,s,c);return;case"option":for(w in r)if(r.hasOwnProperty(w)&&(l=r[w],l!=null))switch(w){case"selected":e.selected=l&&typeof l!="function"&&typeof l!="symbol";break;default:De(e,t,w,l,r,null)}return;case"dialog":ge("beforetoggle",e),ge("toggle",e),ge("cancel",e),ge("close",e);break;case"iframe":case"object":ge("load",e);break;case"video":case"audio":for(l=0;l<El.length;l++)ge(El[l],e);break;case"image":ge("error",e),ge("load",e);break;case"details":ge("toggle",e);break;case"embed":case"source":case"link":ge("error",e),ge("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(D in r)if(r.hasOwnProperty(D)&&(l=r[D],l!=null))switch(D){case"children":case"dangerouslySetInnerHTML":throw Error(u(137,t));default:De(e,t,D,l,r,null)}return;default:if(ec(t)){for(V in r)r.hasOwnProperty(V)&&(l=r[V],l!==void 0&&Hf(e,t,V,l,r,void 0));return}}for(g in r)r.hasOwnProperty(g)&&(l=r[g],l!=null&&De(e,t,g,l,r,null))}function Xw(e,t,r,l){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var s=null,c=null,m=null,g=null,w=null,D=null,V=null;for(H in r){var K=r[H];if(r.hasOwnProperty(H)&&K!=null)switch(H){case"checked":break;case"value":break;case"defaultValue":w=K;default:l.hasOwnProperty(H)||De(e,t,H,null,l,K)}}for(var q in l){var H=l[q];if(K=r[q],l.hasOwnProperty(q)&&(H!=null||K!=null))switch(q){case"type":c=H;break;case"name":s=H;break;case"checked":D=H;break;case"defaultChecked":V=H;break;case"value":m=H;break;case"defaultValue":g=H;break;case"children":case"dangerouslySetInnerHTML":if(H!=null)throw Error(u(137,t));break;default:H!==K&&De(e,t,q,H,l,K)}}Wo(e,m,g,w,D,V,c,s);return;case"select":H=m=g=q=null;for(c in r)if(w=r[c],r.hasOwnProperty(c)&&w!=null)switch(c){case"value":break;case"multiple":H=w;default:l.hasOwnProperty(c)||De(e,t,c,null,l,w)}for(s in l)if(c=l[s],w=r[s],l.hasOwnProperty(s)&&(c!=null||w!=null))switch(s){case"value":q=c;break;case"defaultValue":g=c;break;case"multiple":m=c;default:c!==w&&De(e,t,s,c,l,w)}t=g,r=m,l=H,q!=null?jr(e,!!r,q,!1):!!l!=!!r&&(t!=null?jr(e,!!r,t,!0):jr(e,!!r,r?[]:"",!1));return;case"textarea":H=q=null;for(g in r)if(s=r[g],r.hasOwnProperty(g)&&s!=null&&!l.hasOwnProperty(g))switch(g){case"value":break;case"children":break;default:De(e,t,g,null,l,s)}for(m in l)if(s=l[m],c=r[m],l.hasOwnProperty(m)&&(s!=null||c!=null))switch(m){case"value":q=s;break;case"defaultValue":H=s;break;case"children":break;case"dangerouslySetInnerHTML":if(s!=null)throw Error(u(91));break;default:s!==c&&De(e,t,m,s,l,c)}sm(e,q,H);return;case"option":for(var ne in r)if(q=r[ne],r.hasOwnProperty(ne)&&q!=null&&!l.hasOwnProperty(ne))switch(ne){case"selected":e.selected=!1;break;default:De(e,t,ne,null,l,q)}for(w in l)if(q=l[w],H=r[w],l.hasOwnProperty(w)&&q!==H&&(q!=null||H!=null))switch(w){case"selected":e.selected=q&&typeof q!="function"&&typeof q!="symbol";break;default:De(e,t,w,q,l,H)}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 r)q=r[oe],r.hasOwnProperty(oe)&&q!=null&&!l.hasOwnProperty(oe)&&De(e,t,oe,null,l,q);for(D in l)if(q=l[D],H=r[D],l.hasOwnProperty(D)&&q!==H&&(q!=null||H!=null))switch(D){case"children":case"dangerouslySetInnerHTML":if(q!=null)throw Error(u(137,t));break;default:De(e,t,D,q,l,H)}return;default:if(ec(t)){for(var Ue in r)q=r[Ue],r.hasOwnProperty(Ue)&&q!==void 0&&!l.hasOwnProperty(Ue)&&Hf(e,t,Ue,void 0,l,q);for(V in l)q=l[V],H=r[V],!l.hasOwnProperty(V)||q===H||q===void 0&&H===void 0||Hf(e,t,V,q,l,H);return}}for(var M in r)q=r[M],r.hasOwnProperty(M)&&q!=null&&!l.hasOwnProperty(M)&&De(e,t,M,null,l,q);for(K in l)q=l[K],H=r[K],!l.hasOwnProperty(K)||q===H||q==null&&H==null||De(e,t,K,q,l,H)}function dg(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Qw(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,r=performance.getEntriesByType("resource"),l=0;l<r.length;l++){var s=r[l],c=s.transferSize,m=s.initiatorType,g=s.duration;if(c&&g&&dg(m)){for(m=0,g=s.responseEnd,l+=1;l<r.length;l++){var w=r[l],D=w.startTime;if(D>g)break;var V=w.transferSize,K=w.initiatorType;V&&dg(K)&&(w=w.responseEnd,m+=V*(w<g?1:(g-D)/(w-D)))}if(--l,t+=8*(c+m)/(s.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var Gf=null,Yf=null;function xs(e){return e.nodeType===9?e:e.ownerDocument}function hg(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 mg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function Vf(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Xf=null;function Kw(){var e=window.event;return e&&e.type==="popstate"?e===Xf?!1:(Xf=e,!0):(Xf=null,!1)}var pg=typeof setTimeout=="function"?setTimeout:void 0,Fw=typeof clearTimeout=="function"?clearTimeout:void 0,yg=typeof Promise=="function"?Promise:void 0,Jw=typeof queueMicrotask=="function"?queueMicrotask:typeof yg<"u"?function(e){return yg.resolve(null).then(e).catch(kw)}:pg;function kw(e){setTimeout(function(){throw e})}function La(e){return e==="head"}function gg(e,t){var r=t,l=0;do{var s=r.nextSibling;if(e.removeChild(r),s&&s.nodeType===8)if(r=s.data,r==="/$"||r==="/&"){if(l===0){e.removeChild(s),pi(t);return}l--}else if(r==="$"||r==="$?"||r==="$~"||r==="$!"||r==="&")l++;else if(r==="html")Ol(e.ownerDocument.documentElement);else if(r==="head"){r=e.ownerDocument.head,Ol(r);for(var c=r.firstChild;c;){var m=c.nextSibling,g=c.nodeName;c[Vi]||g==="SCRIPT"||g==="STYLE"||g==="LINK"&&c.rel.toLowerCase()==="stylesheet"||r.removeChild(c),c=m}}else r==="body"&&Ol(e.ownerDocument.body);r=s}while(r);pi(t)}function bg(e,t){var r=e;e=0;do{var l=r.nextSibling;if(r.nodeType===1?t?(r._stashedDisplay=r.style.display,r.style.display="none"):(r.style.display=r._stashedDisplay||"",r.getAttribute("style")===""&&r.removeAttribute("style")):r.nodeType===3&&(t?(r._stashedText=r.nodeValue,r.nodeValue=""):r.nodeValue=r._stashedText||""),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(e===0)break;e--}else r!=="$"&&r!=="$?"&&r!=="$~"&&r!=="$!"||e++;r=l}while(r)}function Qf(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var r=t;switch(t=t.nextSibling,r.nodeName){case"HTML":case"HEAD":case"BODY":Qf(r),ko(r);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(r.rel.toLowerCase()==="stylesheet")continue}e.removeChild(r)}}function Pw(e,t,r,l){for(;e.nodeType===1;){var s=r;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!l&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(l){if(!e[Vi])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(c=e.getAttribute("rel"),c==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(c!==s.rel||e.getAttribute("href")!==(s.href==null||s.href===""?null:s.href)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin)||e.getAttribute("title")!==(s.title==null?null:s.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(c=e.getAttribute("src"),(c!==(s.src==null?null:s.src)||e.getAttribute("type")!==(s.type==null?null:s.type)||e.getAttribute("crossorigin")!==(s.crossOrigin==null?null:s.crossOrigin))&&c&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var c=s.name==null?null:""+s.name;if(s.type==="hidden"&&e.getAttribute("name")===c)return e}else return e;if(e=un(e.nextSibling),e===null)break}return null}function Ww(e,t,r){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!r||(e=un(e.nextSibling),e===null))return null;return e}function vg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=un(e.nextSibling),e===null))return null;return e}function Kf(e){return e.data==="$?"||e.data==="$~"}function Ff(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function Iw(e,t){var r=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||r.readyState!=="loading")t();else{var l=function(){t(),r.removeEventListener("DOMContentLoaded",l)};r.addEventListener("DOMContentLoaded",l),e._reactRetry=l}}function un(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var Jf=null;function _g(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"||r==="/&"){if(t===0)return un(e.nextSibling);t--}else r!=="$"&&r!=="$!"&&r!=="$?"&&r!=="$~"&&r!=="&"||t++}e=e.nextSibling}return null}function wg(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"||r==="$~"||r==="&"){if(t===0)return e;t--}else r!=="/$"&&r!=="/&"||t++}e=e.previousSibling}return null}function Sg(e,t,r){switch(t=xs(r),e){case"html":if(e=t.documentElement,!e)throw Error(u(452));return e;case"head":if(e=t.head,!e)throw Error(u(453));return e;case"body":if(e=t.body,!e)throw Error(u(454));return e;default:throw Error(u(451))}}function Ol(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);ko(e)}var sn=new Map,xg=new Set;function Es(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var ia=F.d;F.d={f:eS,r:tS,D:nS,C:aS,L:rS,m:iS,X:uS,S:lS,M:sS};function eS(){var e=ia.f(),t=ps();return e||t}function tS(e){var t=Dr(e);t!==null&&t.tag===5&&t.type==="form"?Zp(t):ia.r(e)}var di=typeof document>"u"?null:document;function Eg(e,t,r){var l=di;if(l&&typeof t=="string"&&t){var s=It(t);s='link[rel="'+e+'"][href="'+s+'"]',typeof r=="string"&&(s+='[crossorigin="'+r+'"]'),xg.has(s)||(xg.add(s),e={rel:e,crossOrigin:r,href:t},l.querySelector(s)===null&&(t=l.createElement("link"),vt(t,"link",e),dt(t),l.head.appendChild(t)))}}function nS(e){ia.D(e),Eg("dns-prefetch",e,null)}function aS(e,t){ia.C(e,t),Eg("preconnect",e,t)}function rS(e,t,r){ia.L(e,t,r);var l=di;if(l&&e&&t){var s='link[rel="preload"][as="'+It(t)+'"]';t==="image"&&r&&r.imageSrcSet?(s+='[imagesrcset="'+It(r.imageSrcSet)+'"]',typeof r.imageSizes=="string"&&(s+='[imagesizes="'+It(r.imageSizes)+'"]')):s+='[href="'+It(e)+'"]';var c=s;switch(t){case"style":c=hi(e);break;case"script":c=mi(e)}sn.has(c)||(e=v({rel:"preload",href:t==="image"&&r&&r.imageSrcSet?void 0:e,as:t},r),sn.set(c,e),l.querySelector(s)!==null||t==="style"&&l.querySelector(Al(c))||t==="script"&&l.querySelector(Rl(c))||(t=l.createElement("link"),vt(t,"link",e),dt(t),l.head.appendChild(t)))}}function iS(e,t){ia.m(e,t);var r=di;if(r&&e){var l=t&&typeof t.as=="string"?t.as:"script",s='link[rel="modulepreload"][as="'+It(l)+'"][href="'+It(e)+'"]',c=s;switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":c=mi(e)}if(!sn.has(c)&&(e=v({rel:"modulepreload",href:e},t),sn.set(c,e),r.querySelector(s)===null)){switch(l){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(r.querySelector(Rl(c)))return}l=r.createElement("link"),vt(l,"link",e),dt(l),r.head.appendChild(l)}}}function lS(e,t,r){ia.S(e,t,r);var l=di;if(l&&e){var s=Ur(l).hoistableStyles,c=hi(e);t=t||"default";var m=s.get(c);if(!m){var g={loading:0,preload:null};if(m=l.querySelector(Al(c)))g.loading=5;else{e=v({rel:"stylesheet",href:e,"data-precedence":t},r),(r=sn.get(c))&&kf(e,r);var w=m=l.createElement("link");dt(w),vt(w,"link",e),w._p=new Promise(function(D,V){w.onload=D,w.onerror=V}),w.addEventListener("load",function(){g.loading|=1}),w.addEventListener("error",function(){g.loading|=2}),g.loading|=4,Ts(m,t,l)}m={type:"stylesheet",instance:m,count:1,state:g},s.set(c,m)}}}function uS(e,t){ia.X(e,t);var r=di;if(r&&e){var l=Ur(r).hoistableScripts,s=mi(e),c=l.get(s);c||(c=r.querySelector(Rl(s)),c||(e=v({src:e,async:!0},t),(t=sn.get(s))&&Pf(e,t),c=r.createElement("script"),dt(c),vt(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function sS(e,t){ia.M(e,t);var r=di;if(r&&e){var l=Ur(r).hoistableScripts,s=mi(e),c=l.get(s);c||(c=r.querySelector(Rl(s)),c||(e=v({src:e,async:!0,type:"module"},t),(t=sn.get(s))&&Pf(e,t),c=r.createElement("script"),dt(c),vt(c,"link",e),r.head.appendChild(c)),c={type:"script",instance:c,count:1,state:null},l.set(s,c))}}function Tg(e,t,r,l){var s=(s=pe.current)?Es(s):null;if(!s)throw Error(u(446));switch(e){case"meta":case"title":return null;case"style":return typeof r.precedence=="string"&&typeof r.href=="string"?(t=hi(r.href),r=Ur(s).hoistableStyles,l=r.get(t),l||(l={type:"style",instance:null,count:0,state:null},r.set(t,l)),l):{type:"void",instance:null,count:0,state:null};case"link":if(r.rel==="stylesheet"&&typeof r.href=="string"&&typeof r.precedence=="string"){e=hi(r.href);var c=Ur(s).hoistableStyles,m=c.get(e);if(m||(s=s.ownerDocument||s,m={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},c.set(e,m),(c=s.querySelector(Al(e)))&&!c._p&&(m.instance=c,m.state.loading=5),sn.has(e)||(r={rel:"preload",as:"style",href:r.href,crossOrigin:r.crossOrigin,integrity:r.integrity,media:r.media,hrefLang:r.hrefLang,referrerPolicy:r.referrerPolicy},sn.set(e,r),c||oS(s,e,r,m.state))),t&&l===null)throw Error(u(528,""));return m}if(t&&l!==null)throw Error(u(529,""));return null;case"script":return t=r.async,r=r.src,typeof r=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=mi(r),r=Ur(s).hoistableScripts,l=r.get(t),l||(l={type:"script",instance:null,count:0,state:null},r.set(t,l)),l):{type:"void",instance:null,count:0,state:null};default:throw Error(u(444,e))}}function hi(e){return'href="'+It(e)+'"'}function Al(e){return'link[rel="stylesheet"]['+e+"]"}function Og(e){return v({},e,{"data-precedence":e.precedence,precedence:null})}function oS(e,t,r,l){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?l.loading=1:(t=e.createElement("link"),l.preload=t,t.addEventListener("load",function(){return l.loading|=1}),t.addEventListener("error",function(){return l.loading|=2}),vt(t,"link",r),dt(t),e.head.appendChild(t))}function mi(e){return'[src="'+It(e)+'"]'}function Rl(e){return"script[async]"+e}function Ag(e,t,r){if(t.count++,t.instance===null)switch(t.type){case"style":var l=e.querySelector('style[data-href~="'+It(r.href)+'"]');if(l)return t.instance=l,dt(l),l;var s=v({},r,{"data-href":r.href,"data-precedence":r.precedence,href:null,precedence:null});return l=(e.ownerDocument||e).createElement("style"),dt(l),vt(l,"style",s),Ts(l,r.precedence,e),t.instance=l;case"stylesheet":s=hi(r.href);var c=e.querySelector(Al(s));if(c)return t.state.loading|=4,t.instance=c,dt(c),c;l=Og(r),(s=sn.get(s))&&kf(l,s),c=(e.ownerDocument||e).createElement("link"),dt(c);var m=c;return m._p=new Promise(function(g,w){m.onload=g,m.onerror=w}),vt(c,"link",l),t.state.loading|=4,Ts(c,r.precedence,e),t.instance=c;case"script":return c=mi(r.src),(s=e.querySelector(Rl(c)))?(t.instance=s,dt(s),s):(l=r,(s=sn.get(c))&&(l=v({},r),Pf(l,s)),e=e.ownerDocument||e,s=e.createElement("script"),dt(s),vt(s,"link",l),e.head.appendChild(s),t.instance=s);case"void":return null;default:throw Error(u(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(l=t.instance,t.state.loading|=4,Ts(l,r.precedence,e));return t.instance}function Ts(e,t,r){for(var l=r.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),s=l.length?l[l.length-1]:null,c=s,m=0;m<l.length;m++){var g=l[m];if(g.dataset.precedence===t)c=g;else if(c!==s)break}c?c.parentNode.insertBefore(e,c.nextSibling):(t=r.nodeType===9?r.head:r,t.insertBefore(e,t.firstChild))}function kf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function Pf(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var Os=null;function Rg(e,t,r){if(Os===null){var l=new Map,s=Os=new Map;s.set(r,l)}else s=Os,l=s.get(r),l||(l=new Map,s.set(r,l));if(l.has(e))return l;for(l.set(e,null),r=r.getElementsByTagName(e),s=0;s<r.length;s++){var c=r[s];if(!(c[Vi]||c[pt]||e==="link"&&c.getAttribute("rel")==="stylesheet")&&c.namespaceURI!=="http://www.w3.org/2000/svg"){var m=c.getAttribute(t)||"";m=e+m;var g=l.get(m);g?g.push(c):l.set(m,[c])}}return l}function Mg(e,t,r){e=e.ownerDocument||e,e.head.insertBefore(r,t==="title"?e.querySelector("head > title"):null)}function cS(e,t,r){if(r===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Cg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function fS(e,t,r,l){if(r.type==="stylesheet"&&(typeof l.media!="string"||matchMedia(l.media).matches!==!1)&&(r.state.loading&4)===0){if(r.instance===null){var s=hi(l.href),c=t.querySelector(Al(s));if(c){t=c._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=As.bind(e),t.then(e,e)),r.state.loading|=4,r.instance=c,dt(c);return}c=t.ownerDocument||t,l=Og(l),(s=sn.get(s))&&kf(l,s),c=c.createElement("link"),dt(c);var m=c;m._p=new Promise(function(g,w){m.onload=g,m.onerror=w}),vt(c,"link",l),r.instance=c}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(r,t),(t=r.state.preload)&&(r.state.loading&3)===0&&(e.count++,r=As.bind(e),t.addEventListener("load",r),t.addEventListener("error",r))}}var Wf=0;function dS(e,t){return e.stylesheets&&e.count===0&&Ms(e,e.stylesheets),0<e.count||0<e.imgCount?function(r){var l=setTimeout(function(){if(e.stylesheets&&Ms(e,e.stylesheets),e.unsuspend){var c=e.unsuspend;e.unsuspend=null,c()}},6e4+t);0<e.imgBytes&&Wf===0&&(Wf=62500*Qw());var s=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ms(e,e.stylesheets),e.unsuspend)){var c=e.unsuspend;e.unsuspend=null,c()}},(e.imgBytes>Wf?50:800)+t);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(l),clearTimeout(s)}}:null}function As(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ms(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Rs=null;function Ms(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Rs=new Map,t.forEach(hS,e),Rs=null,As.call(e))}function hS(e,t){if(!(t.state.loading&4)){var r=Rs.get(e);if(r)var l=r.get(null);else{r=new Map,Rs.set(e,r);for(var s=e.querySelectorAll("link[data-precedence],style[data-precedence]"),c=0;c<s.length;c++){var m=s[c];(m.nodeName==="LINK"||m.getAttribute("media")!=="not all")&&(r.set(m.dataset.precedence,m),l=m)}l&&r.set(null,l)}s=t.instance,m=s.getAttribute("data-precedence"),c=r.get(m)||l,c===l&&r.set(null,s),r.set(m,s),this.count++,l=As.bind(this),s.addEventListener("load",l),s.addEventListener("error",l),c?c.parentNode.insertBefore(s,c.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(s,e.firstChild)),t.state.loading|=4}}var Ml={$$typeof:U,Provider:null,Consumer:null,_currentValue:I,_currentValue2:I,_threadCount:0};function mS(e,t,r,l,s,c,m,g,w){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=Qo(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Qo(0),this.hiddenUpdates=Qo(null),this.identifierPrefix=l,this.onUncaughtError=s,this.onCaughtError=c,this.onRecoverableError=m,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=w,this.incompleteTransitions=new Map}function Ng(e,t,r,l,s,c,m,g,w,D,V,K){return e=new mS(e,t,r,m,w,D,V,K,g),t=1,c===!0&&(t|=24),c=Yt(3,null,null,t),e.current=c,c.stateNode=e,t=Cc(),t.refCount++,e.pooledCache=t,t.refCount++,c.memoizedState={element:l,isDehydrated:r,cache:t},Dc(c),e}function zg(e){return e?(e=Xr,e):Xr}function $g(e,t,r,l,s,c){s=zg(s),l.context===null?l.context=s:l.pendingContext=s,l=Ra(t),l.payload={element:r},c=c===void 0?null:c,c!==null&&(l.callback=c),r=Ma(e,l,t),r!==null&&(Dt(r,e,t),ul(r,e,t))}function Dg(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function If(e,t){Dg(e,t),(e=e.alternate)&&Dg(e,t)}function Ug(e){if(e.tag===13||e.tag===31){var t=ir(e,67108864);t!==null&&Dt(t,e,67108864),If(e,67108864)}}function qg(e){if(e.tag===13||e.tag===31){var t=Ft();t=Ko(t);var r=ir(e,t);r!==null&&Dt(r,e,t),If(e,t)}}var Cs=!0;function pS(e,t,r,l){var s=S.T;S.T=null;var c=F.p;try{F.p=2,ed(e,t,r,l)}finally{F.p=c,S.T=s}}function yS(e,t,r,l){var s=S.T;S.T=null;var c=F.p;try{F.p=8,ed(e,t,r,l)}finally{F.p=c,S.T=s}}function ed(e,t,r,l){if(Cs){var s=td(l);if(s===null)Zf(e,t,l,Ns,r),Bg(e,l);else if(bS(s,e,t,r,l))l.stopPropagation();else if(Bg(e,l),t&4&&-1<gS.indexOf(e)){for(;s!==null;){var c=Dr(s);if(c!==null)switch(c.tag){case 3:if(c=c.stateNode,c.current.memoizedState.isDehydrated){var m=er(c.pendingLanes);if(m!==0){var g=c;for(g.pendingLanes|=2,g.entangledLanes|=2;m;){var w=1<<31-Ht(m);g.entanglements[1]|=w,m&=~w}Rn(c),(Ee&6)===0&&(hs=Lt()+500,xl(0))}}break;case 31:case 13:g=ir(c,2),g!==null&&Dt(g,c,2),ps(),If(c,2)}if(c=td(l),c===null&&Zf(e,t,l,Ns,r),c===s)break;s=c}s!==null&&l.stopPropagation()}else Zf(e,t,l,null,r)}}function td(e){return e=nc(e),nd(e)}var Ns=null;function nd(e){if(Ns=null,e=$r(e),e!==null){var t=f(e);if(t===null)e=null;else{var r=t.tag;if(r===13){if(e=d(t),e!==null)return e;e=null}else if(r===31){if(e=y(t),e!==null)return e;e=null}else if(r===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return Ns=e,null}function jg(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(n_()){case Xh:return 2;case Qh:return 8;case _u:case a_:return 32;case Kh:return 268435456;default:return 32}default:return 32}}var ad=!1,Za=null,Ha=null,Ga=null,Cl=new Map,Nl=new Map,Ya=[],gS="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 Bg(e,t){switch(e){case"focusin":case"focusout":Za=null;break;case"dragenter":case"dragleave":Ha=null;break;case"mouseover":case"mouseout":Ga=null;break;case"pointerover":case"pointerout":Cl.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nl.delete(t.pointerId)}}function zl(e,t,r,l,s,c){return e===null||e.nativeEvent!==c?(e={blockedOn:t,domEventName:r,eventSystemFlags:l,nativeEvent:c,targetContainers:[s]},t!==null&&(t=Dr(t),t!==null&&Ug(t)),e):(e.eventSystemFlags|=l,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function bS(e,t,r,l,s){switch(t){case"focusin":return Za=zl(Za,e,t,r,l,s),!0;case"dragenter":return Ha=zl(Ha,e,t,r,l,s),!0;case"mouseover":return Ga=zl(Ga,e,t,r,l,s),!0;case"pointerover":var c=s.pointerId;return Cl.set(c,zl(Cl.get(c)||null,e,t,r,l,s)),!0;case"gotpointercapture":return c=s.pointerId,Nl.set(c,zl(Nl.get(c)||null,e,t,r,l,s)),!0}return!1}function Lg(e){var t=$r(e.target);if(t!==null){var r=f(t);if(r!==null){if(t=r.tag,t===13){if(t=d(r),t!==null){e.blockedOn=t,Ih(e.priority,function(){qg(r)});return}}else if(t===31){if(t=y(r),t!==null){e.blockedOn=t,Ih(e.priority,function(){qg(r)});return}}else if(t===3&&r.stateNode.current.memoizedState.isDehydrated){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function zs(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=td(e.nativeEvent);if(r===null){r=e.nativeEvent;var l=new r.constructor(r.type,r);tc=l,r.target.dispatchEvent(l),tc=null}else return t=Dr(r),t!==null&&Ug(t),e.blockedOn=r,!1;t.shift()}return!0}function Zg(e,t,r){zs(e)&&r.delete(t)}function vS(){ad=!1,Za!==null&&zs(Za)&&(Za=null),Ha!==null&&zs(Ha)&&(Ha=null),Ga!==null&&zs(Ga)&&(Ga=null),Cl.forEach(Zg),Nl.forEach(Zg)}function $s(e,t){e.blockedOn===t&&(e.blockedOn=null,ad||(ad=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,vS)))}var Ds=null;function Hg(e){Ds!==e&&(Ds=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,function(){Ds===e&&(Ds=null);for(var t=0;t<e.length;t+=3){var r=e[t],l=e[t+1],s=e[t+2];if(typeof l!="function"){if(nd(l||r)===null)continue;break}var c=Dr(r);c!==null&&(e.splice(t,3),t-=3,ef(c,{pending:!0,data:s,method:r.method,action:l},l,s))}}))}function pi(e){function t(w){return $s(w,e)}Za!==null&&$s(Za,e),Ha!==null&&$s(Ha,e),Ga!==null&&$s(Ga,e),Cl.forEach(t),Nl.forEach(t);for(var r=0;r<Ya.length;r++){var l=Ya[r];l.blockedOn===e&&(l.blockedOn=null)}for(;0<Ya.length&&(r=Ya[0],r.blockedOn===null);)Lg(r),r.blockedOn===null&&Ya.shift();if(r=(e.ownerDocument||e).$$reactFormReplay,r!=null)for(l=0;l<r.length;l+=3){var s=r[l],c=r[l+1],m=s[Rt]||null;if(typeof c=="function")m||Hg(r);else if(m){var g=null;if(c&&c.hasAttribute("formAction")){if(s=c,m=c[Rt]||null)g=m.formAction;else if(nd(s)!==null)continue}else g=m.action;typeof g=="function"?r[l+1]=g:(r.splice(l,3),l-=3),Hg(r)}}}function Gg(){function e(c){c.canIntercept&&c.info==="react-transition"&&c.intercept({handler:function(){return new Promise(function(m){return s=m})},focusReset:"manual",scroll:"manual"})}function t(){s!==null&&(s(),s=null),l||setTimeout(r,20)}function r(){if(!l&&!navigation.transition){var c=navigation.currentEntry;c&&c.url!=null&&navigation.navigate(c.url,{state:c.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var l=!1,s=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(r,100),function(){l=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),s!==null&&(s(),s=null)}}}function rd(e){this._internalRoot=e}Us.prototype.render=rd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(u(409));var r=t.current,l=Ft();$g(r,l,e,t,null,null)},Us.prototype.unmount=rd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$g(e.current,2,null,e,null,null),ps(),t[zr]=null}};function Us(e){this._internalRoot=e}Us.prototype.unstable_scheduleHydration=function(e){if(e){var t=Wh();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Ya.length&&t!==0&&t<Ya[r].priority;r++);Ya.splice(r,0,e),r===0&&Lg(e)}};var Yg=a.version;if(Yg!=="19.2.0")throw Error(u(527,Yg,"19.2.0"));F.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(u(188)):(e=Object.keys(e).join(","),Error(u(268,e)));return e=h(t),e=e!==null?b(e):null,e=e===null?null:e.stateNode,e};var _S={bundleType:0,version:"19.2.0",rendererPackageName:"react-dom",currentDispatcherRef:S,reconcilerVersion:"19.2.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var qs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qs.isDisabled&&qs.supportsFiber)try{Hi=qs.inject(_S),Zt=qs}catch{}}return Kl.createRoot=function(e,t){if(!o(e))throw Error(u(299));var r=!1,l="",s=kp,c=Pp,m=Wp;return t!=null&&(t.unstable_strictMode===!0&&(r=!0),t.identifierPrefix!==void 0&&(l=t.identifierPrefix),t.onUncaughtError!==void 0&&(s=t.onUncaughtError),t.onCaughtError!==void 0&&(c=t.onCaughtError),t.onRecoverableError!==void 0&&(m=t.onRecoverableError)),t=Ng(e,1,!1,null,null,r,l,null,s,c,m,Gg),e[zr]=t.current,Lf(e),new rd(t)},Kl.hydrateRoot=function(e,t,r){if(!o(e))throw Error(u(299));var l=!1,s="",c=kp,m=Pp,g=Wp,w=null;return r!=null&&(r.unstable_strictMode===!0&&(l=!0),r.identifierPrefix!==void 0&&(s=r.identifierPrefix),r.onUncaughtError!==void 0&&(c=r.onUncaughtError),r.onCaughtError!==void 0&&(m=r.onCaughtError),r.onRecoverableError!==void 0&&(g=r.onRecoverableError),r.formState!==void 0&&(w=r.formState)),t=Ng(e,1,!0,t,r??null,l,s,w,c,m,g,Gg),t.context=zg(null),r=t.current,l=Ft(),l=Ko(l),s=Ra(l),s.callback=null,Ma(r,s,l),r=l,t.current.lanes=r,Yi(t,r),Rn(t),e[zr]=t.current,Lf(e),new Us(t)},Kl.version="19.2.0",Kl}var yb;function t6(){if(yb)return xd.exports;yb=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(a){console.error(a)}}return n(),xd.exports=e6(),xd.exports}var n6=t6(),Ze=(n=>(n.Box3d="3dboxes",n.BackCover="backcovers",n.Cover="covers",n.FanArt="fanart",n.Manual="manuals",n.Marquee="marquees",n.PhysicalMedia="physicalmedia",n.Screenshot="screenshots",n.Title="titlescreens",n.Video="videos",n))(Ze||{}),wn=(n=>(n.Controller="controller",n.Picture="picture",n.Wheel="wheel",n))(wn||{});cn(Object.values(wn));cn(Object.values(Ze));class a6{serialize(a){if(a==null)return;const{min:i,max:u}=a;return i===u?`${i}`:`${i}-${u}`}}var br=(n=>(n.Unknown="unknown",n.ReadOnlyMemory="rom",n.Folder="folder",n.File="file",n.Disk="iso",n))(br||{});cn(Object.values(br));var on=(n=>(n.Unknown="unknown",n.Accessory="accessory",n.Arcade="arcade",n.Computer="computer",n.Console="console",n.Flipper="flipper",n.Handheld="console-portable",n.ScummVm="scummvm",n.Smartphone="smartphone",n.VirtualMachine="virtual-machine",n))(on||{});cn(Object.values(on));var vr=(n=>(n.Unknown="unknown",n.Cartridge="cartridge",n.Pcb="pcb",n.Cd="cd",n.FloppyDisk="floppy-disk",n))(vr||{});cn(Object.values(vr));class Bo{build(){return structuredClone(this._env)}constructor(){this._env={api:new qt().protocol("http").hostname("localhost").port(3e3).append("api").build()}}}class F1{url(a,i){const o=`${typeof a=="string"?a:a.id}-${i}`;return new qt().parse(this._environment.api).append("media").append(o).build()}constructor(a){this._environment=a}}F1.Endpoint="media";function r6(){const n=new Bo().build();return new F1(n)}const i6=R.createContext(r6()),Lo=()=>R.useContext(i6),l6={[Ze.BackCover]:"Back Cover",[Ze.Box3d]:"3D Box",[Ze.Cover]:"Cover",[Ze.FanArt]:"Fan Art",[Ze.Manual]:"Manual",[Ze.Marquee]:"Marquee",[Ze.PhysicalMedia]:"Physical Media",[Ze.Screenshot]:"Screenshot",[Ze.Title]:"Title",[Ze.Video]:"Video",[wn.Controller]:"Controller",[wn.Picture]:"System Picture",[wn.Wheel]:"Wheel Logo"},u6={[Ze.BackCover]:"Rear packaging artwork.",[Ze.Box3d]:"3D box render.",[Ze.Cover]:"Front cover art.",[Ze.FanArt]:"Community artwork.",[Ze.Manual]:"Digital version of the game manual.",[Ze.Marquee]:"Game Logo.",[Ze.PhysicalMedia]:"Disc or cartridge.",[Ze.Screenshot]:"In-game action.",[Ze.Title]:"Screen upon load.",[Ze.Video]:"Gameplay or trailer video preview.",[wn.Controller]:"Primary controller image.",[wn.Picture]:"Image of system hardware.",[wn.Wheel]:"Logo for the system."};function J1(n){const{identifier:a,type:i}=n,o=Lo().url(a,i),f=Ke(Be`
783
+ & .ZRomulatorMediaCard-image-container {
784
+ height: 20rem;
785
+ }
786
+
787
+ & .ZRomulatorMediaCard-image-container img {
788
+ object-fit: scale-down;
789
+ }
790
+ `);return _.jsx(_n,{className:me("ZRomulatorMediaCard-root",f),name:i,TitleProps:{avatar:_.jsx(nt,{name:"image",width:j.Medium}),heading:l6[i],subHeading:u6[i]},"data-type":i,"data-identifier":a,children:_.jsx(at,{className:"ZRomulatorMediaCard-image-container",orientation:Ln.Horizontal,width:Re.Full,height:Re.Full,align:{items:"center"},justify:{content:"center"},children:_.jsx(jo,{src:o,width:Re.Full,height:Re.Full})})})}function s6(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class gb{from(a){return this._url=this._url.page(a.page).size(a.size).search(a.search).filter(new NA().serialize(a.filter)).sort(new jA().serialize(a.sort)),this}count(){return this._url=this._url.size(1).page(1).sort(null),this}build(){return this._url.build()}constructor(a){s6(this,"_url",void 0),this._url=new qt().parse(a)}}function Od(n,a,i){return a in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i,n}class Hh{endpoint(a){const i=new qt().parse(this._endpointUrl);return a?i.append(`${a}`):i}async count(a){const i=new bn().copy(this._request).get().url(new gb(this.endpoint().build()).from(a).count().build()).build(),{data:u}=await this._http.request(i);return u.count}async retrieve(a){const i=new bn().copy(this._request).get().url(new gb(this.endpoint().build()).from(a).build()).build(),{data:u}=await this._http.request(i);return u.data??u.result}async get(a){const i=this.endpoint(a).build(),u=new bn().copy(this._request).get().url(i).build(),{data:o}=await this._http.request(u);return o}async create(a){const i=this.endpoint().build(),u=new bn().copy(this._request).post(a).url(i).build(),{data:o}=await this._http.request(u);return o}async upsert(a){const i=this.endpoint().build(),u=new bn().copy(this._request).put(a).url(i).build(),{data:o}=await this._http.request(u);return o}async update(a,i){const u=this.endpoint(a).build(),o=new bn().copy(this._request).patch(i).url(u).build(),{data:f}=await this._http.request(o);return f}async delete(a){const i=this.endpoint(a).build(),u=new bn().copy(this._request).delete().url(i).build();await this._http.request(u)}constructor(a,i,u=new bn().build()){Od(this,"_http",void 0),Od(this,"_endpointUrl",void 0),Od(this,"_request",void 0),this._http=a,this._endpointUrl=i,this._request=u}}function o6(){const{api:n}=new Bo().build(),a=new qt().parse(n).append("games").build(),i=new $h;return new Hh(i,a)}const c6=R.createContext(o6()),k1=()=>R.useContext(c6),f6=n=>{const a=k1();return _h(()=>a.get(n),[n])};function d6(){const{id:n}=Bh(),{error:a,primary:i}=Le(),u=Lo(),[o]=f6(W("",n)),f=Bi(),d=R.useMemo(()=>[Ze.Video,Ze.Manual],[]),y=R.useMemo(()=>Object.values(Ze).filter(C=>!d.includes(C)),[d]),p=(C,x)=>_.jsx(J1,{identifier:C.id,type:x},x),h=C=>_.jsx(xr,{columns:{xl:"1fr 1fr 1fr",lg:"1fr 1fr",md:"1fr"},gap:j.Medium,children:y.map(x=>p(C,x))}),b=C=>{const x=(G,E,U)=>_.jsxs(_.Fragment,{children:[_.jsxs(jh,{children:[G,":"]}),_.jsx(ka,{compact:!0,className:`ZRomulatorGamePage-${fv(G)}`,"data-value":E,children:W(E,U)})]}),z=new a6().serialize(C.players);return _.jsx(_n,{name:"info",TitleProps:{avatar:_.jsx(nt,{name:"gamepad",width:j.Medium}),heading:"Information",subHeading:"Game Details"},children:_.jsxs(xr,{columns:"auto 1fr",gap:j.Medium,children:[x("Name",C.name),x("File",C.file),x("Players",z),x("Release Date",C.release),x("Developer",C.developer),x("Publisher",C.publisher)]})})},v=C=>_.jsx(_n,{name:"synopsis",TitleProps:{avatar:_.jsx(nt,{name:"book",width:j.Medium}),heading:"Synopsis",subHeading:"Game description"},children:_.jsx("pre",{style:{textWrap:"wrap"},children:_.jsx(Uo,{compact:!0,children:C.description})})}),A=C=>{const x=u.url(C.system,wn.Wheel),z=`/systems/${C.system}`;return _.jsx(_n,{name:"system",TitleProps:{avatar:_.jsx(nt,{name:"puzzle-piece",width:j.Medium}),heading:"System",subHeading:"What system this game is on"},footer:_.jsx(Ni,{fashion:i,avatar:_.jsx(nt,{name:"arrow-left",width:j.Small}),width:Re.Full,label:"Check it out",name:"navigate-to-system",onClick:()=>f(z)}),children:_.jsx(at,{justify:{content:"center"},children:_.jsx("img",{src:x,style:{objectFit:"scale-down"}})})})},N=()=>Ri(o)?_.jsx(qo,{name:"game-loading",height:j.Large}):iu(o)?_.jsx(Dh,{fashion:a,heading:"Cannot load Game",message:o.message}):_.jsxs(xr,{columns:{xl:"28rem auto",md:"1fr"},gap:j.Medium,align:{items:"start"},children:[_.jsxs(at,{gap:j.Medium,children:[b(o),v(o),A(o)]}),h(o)]});return _.jsxs(at,{className:"ZRomulatorGamePage-root",gap:j.Medium,children:[_.jsx(Li,{}),N()]})}function P1(n){const{value:a,onValueChange:i}=n,[u,o]=Mo(a,i,new Bn().build()),f=k1(),d=Lo(),{body:y}=Le(),p=Bi(),h=Ke(Be`
791
+ .ZRomulatorGameTile-root {
792
+ height: 10rem;
793
+ }
794
+
795
+ .ZRomulatorGameTile-marquee > img {
796
+ width: 100%;
797
+ max-height: 10rem;
798
+ }
799
+ `),b=v=>{const A=d.url(v,Ze.Marquee),N=()=>p(`/games/${v.id}`);return _.jsx(K1,{className:"ZRomulatorGameTile-root",fashion:y,name:v.id,onActivate:N,children:_.jsx(at,{justify:{content:"center"},align:{items:"center"},height:Re.Full,children:_.jsx(jo,{className:"ZRomulatorGameTile-marquee",src:A})})},v.id)};return _.jsx(Zh,{className:me(".ZRomulatorGameList-root",h),GridProps:{columns:{xl:"1fr 1fr 1fr 1fr 1fr 1fr",lg:"1fr 1fr 1fr 1fr",md:"1fr 1fr 1fr",sm:"1fr 1fr",xs:"1fr"},gap:j.Medium},dataSource:f,renderItem:b,value:u,onValueChange:o})}const h6=new vh().ascending("name").build(),m6=new Bn().size(24).sort(h6).build();function p6(){const[n,a]=R.useState(m6);return _.jsxs(at,{className:"ZRomulatorGamesPage-root",gap:j.Medium,width:Re.Full,children:[_.jsx(Li,{}),_.jsx(_n,{width:Re.Full,TitleProps:{avatar:_.jsx(nt,{name:"gamepad",width:j.Medium}),heading:"Games",subHeading:"Browse your library"},children:_.jsx(P1,{value:n,onValueChange:a})})]})}function y6(){const[n,a]=R.useState(!1),i=R.useMemo(()=>a.bind(null,!0),[]),u=R.useMemo(()=>a.bind(null,!1),[]),{secondary:o}=Le(),f=Bi(),d=y=>{f(y),u()};return _.jsxs("div",{className:"ZRomulatorMenu-root",children:[_.jsx(Ni,{name:"toggler",onClick:i,label:_.jsx(nt,{name:"bars",width:j.ExtraSmall})}),_.jsx(dC,{name:"navigation",open:n,onClose:u,anchor:_b.Right,fashion:o,renderHeader:()=>_.jsx(wr,{avatar:_.jsx(nt,{name:"bars"}),heading:_.jsx(D1,{compact:!0,children:"Menu"}),suffix:_.jsx(Ni,{label:_.jsx(nt,{name:"xmark",width:j.ExtraSmall}),onClick:u})}),children:_.jsxs(sC,{compact:!0,children:[_.jsx(Sd,{name:"systems",cursor:"pointer",interactive:!0,onClick:d.bind(null,"/systems"),children:_.jsx(wr,{avatar:_.jsx(nt,{name:"puzzle-piece"}),heading:_.jsx(Wl,{compact:!0,children:"Systems"}),subHeading:_.jsx(ka,{children:"Your games organized by systems"})})}),_.jsx(Sd,{name:"games",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/games"),children:_.jsx(wr,{avatar:_.jsx(nt,{name:"gamepad"}),heading:_.jsx(Wl,{compact:!0,children:"Games"}),subHeading:_.jsx(ka,{children:"Browse your library"})})}),_.jsx(Sd,{name:"settings",interactive:!0,cursor:"pointer",onClick:d.bind(null,"/settings"),children:_.jsx(wr,{avatar:_.jsx(nt,{name:"gear"}),heading:_.jsx(Wl,{compact:!0,children:"Settings"}),subHeading:_.jsx(ka,{children:"Modify configs and options"})})})]})})]})}function g6(){const n=new Bo().build(),a=new $h,i=`${n.api}/configs`;return new Hh(a,i)}const b6=R.createContext(g6()),Gh=()=>R.useContext(b6),v6=n=>{const a=Gh();return _h(()=>a.get(n),[n])};function _6(){const{id:n}=Bh(),[a,i]=v6(n),u=VA(a),o=W([],u?.metadata),f=Gh(),d=R.useCallback(p=>_.jsx(bC,{metadata:p},p.id),[]),y=async p=>{try{const h=await f.update(u.id,{contents:p});i(h)}catch{}};return _.jsxs(at,{className:"ZRomulatorSettingPage-root",gap:j.Medium,children:[_.jsx(Li,{}),_.jsx(wC,{value:u?.contents,onValueChange:y,children:_.jsxs(_n,{TitleProps:{avatar:_.jsx(nt,{name:u?.avatar,width:j.Medium}),heading:u?.name,subHeading:u?.description,suffix:_.jsxs(at,{orientation:Ln.Horizontal,gap:j.Medium,children:[_.jsx(fb,{type:"reset",ButtonProps:{label:_.jsx(nt,{name:"rotate-left",tooltip:"Reset"})}}),_.jsx(fb,{type:"submit",ButtonProps:{label:_.jsx(nt,{name:"save",tooltip:"Save"})}})]})},children:[_.jsx(qo,{disabled:!Ri(a)}),o.map(d)]})})]})}function w6(){const{body:n}=Le(),a=Bi(),i=Gh(),[u]=R.useState(new Bn().build()),o=f=>_.jsx(qh,{className:"ZRomulatorSettingsPage-tile",fashion:n,interactive:!0,cursor:"pointer",padding:j.Medium,"data-name":f.id,onClick:()=>a(f.id),children:_.jsx(at,{gap:j.Medium,children:_.jsx(wr,{avatar:_.jsx(nt,{name:f.avatar,width:j.Medium}),heading:_.jsx(Wl,{compact:!0,children:f.name}),subHeading:_.jsx(ka,{children:f.description})})})},f.id);return _.jsxs(at,{gap:j.Medium,children:[_.jsx(Li,{}),_.jsx(_n,{TitleProps:{heading:_.jsx(Wl,{compact:!0,children:"Settings"}),subHeading:_.jsx(ka,{compact:!0,children:"Modify configs and options"}),avatar:_.jsx(nt,{name:"gear",width:j.Medium})},children:_.jsx(Zh,{className:"ZRomulatorSettingsPage-root",GridProps:{columns:{xl:"1fr 1fr 1fr",lg:"1fr 1fr",sm:"1fr"},gap:j.Medium},SearchProps:!1,dataSource:i,value:u,renderItem:o})})]})}class S6{endpoint(){const{api:a}=new Bo().build();return new qt().parse(a).append("systems").build()}async retrieve(a){return(await this._rest.get()).retrieve(a)}async count(a){return(await this._rest.get()).count(a)}async get(a){return(await this._rest.get()).get(a)}constructor(a){this._rest=new ux(async()=>Promise.resolve(new Hh(a,this.endpoint())))}}function x6(){return new S6(new $h)}const E6=R.createContext(x6()),W1=()=>R.useContext(E6),T6=n=>{const a=W1();return _h(()=>a.get(n),[n])},O6={[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"},A6={[vr.Cartridge]:"Cartridge",[vr.Cd]:"CD",[vr.FloppyDisk]:"Floppy Disk",[vr.Pcb]:"PCB",[vr.Unknown]:"?"},R6={[br.Disk]:"Disk",[br.File]:"File",[br.Folder]:"Folder",[br.ReadOnlyMemory]:"ROM",[br.Unknown]:"?"};function M6(){const{id:n}=Bh(),{error:a}=Le(),[i]=T6(W("",n)),u=R.useMemo(()=>new Di().subject("system").equal().value(n).build(),[n]),o=R.useMemo(()=>new Bn().size(36).filter(u).build(),[u]),[f,d]=KA(o),y=R.useMemo(()=>Object.values(wn),[]),p=(N,C,x)=>_.jsxs(_.Fragment,{children:[_.jsxs(jh,{children:[N,":"]}),_.jsx(ka,{compact:!0,className:`ZRomulatorSystemPage-${fv(N)}`,"data-value":C,children:W(C,x)})]}),h=N=>{const{name:C,company:x,classification:z,productionYears:G}=N,{hardwareType:E,mediaFormat:U,contentType:Y}=z,{start:Z,end:J}=G,B=O6[E],ue=A6[U],te=R6[Y];return _.jsx(_n,{name:"info",TitleProps:{avatar:_.jsx(nt,{name:"puzzle-piece",width:j.Medium}),heading:"Information",subHeading:"Details about this system"},children:_.jsxs(xr,{columns:"auto auto",gap:j.Medium,width:Re.Fit,align:{items:"center"},children:[p("Name",C),p("Company",x),p("Hardware Type",E,B),p("Media Format",U,ue),p("Content Type",Y,te),p("Production Start",String(Z)),p("Production End",String(J),dv(String(J)))]})})},b=N=>{const{extensions:C}=N;return _.jsx(_n,{name:"game-list",TitleProps:{avatar:_.jsx(nt,{name:"gamepad",width:j.Medium}),heading:"Games",subHeading:C.join(", ")},children:_.jsx(P1,{value:f,onValueChange:d})})},v=N=>y.map(C=>_.jsx(J1,{identifier:N.id,type:C},C)),A=()=>Ri(i)?_.jsx(qo,{name:"system-loading",height:j.Large}):iu(i)?_.jsx(Dh,{fashion:a,heading:"Cannot load System",message:i.message}):_.jsxs(xr,{columns:{xl:"1fr auto",md:"1fr"},gap:j.Medium,align:{items:"start"},children:[b(i),_.jsxs(at,{gap:j.Medium,children:[h(i),v(i)]})]});return _.jsxs(at,{gap:j.Medium,className:"ZRomulatorSystemPage-root",children:[_.jsx(Li,{}),A()]})}const C6=new vh().ascending("generation").ascending("name").build(),N6=new Bn().size(12).sort(C6).build();function z6(){const{body:n}=Le(),a=Bi(),i=W1(),u=Lo(),[o,f]=R.useState(N6),d=Ke(Be`
800
+ .ZRomulatorSystemsPage-tile {
801
+ height: 10rem;
802
+ }
803
+
804
+ .ZRomulatorSystemsPage-wheel > img {
805
+ width: 100%;
806
+ max-height: 10rem;
807
+ }
808
+ `),y=p=>{const h=u.url(p,wn.Wheel),b=()=>a(p.id);return _.jsx(K1,{className:"ZRomulatorSystemsPage-tile",fashion:n,name:p.id,onActivate:b,children:_.jsx(at,{justify:{content:"center"},align:{items:"center"},height:Re.Full,width:Re.Full,children:_.jsx(jo,{className:"ZRomulatorSystemsPage-wheel",src:h})})},p.id)};return _.jsxs(at,{className:d,gap:j.Medium,children:[_.jsx(Li,{}),_.jsx(_n,{width:Re.Full,TitleProps:{avatar:_.jsx(nt,{name:"puzzle-piece",width:j.Medium}),heading:"Systems",subHeading:"Your games organized by system"},children:_.jsx(Zh,{className:"ZRomulatorSystemsPage-root",GridProps:{columns:{xl:"1fr 1fr 1fr 1fr 1fr 1fr",lg:"1fr 1fr 1fr 1fr",md:"1fr 1fr 1fr",sm:"1fr 1fr",xs:"1fr"},gap:j.Medium},dataSource:i,renderItem:y,value:o,onValueChange:f})})]})}function $6(){return _.jsx(jo,{src:"/png/romulator-256x256.png",width:j.Medium})}function D6(){return _.jsxs("div",{className:"ZRomulatorTitle-root",children:[_.jsx(RM,{compact:!0,children:"Romulator"}),_.jsx(ka,{compact:!0,children:"Organize your Games"})]})}const U6=V4();function q6(){return _.jsx(N1.Provider,{value:U6,children:_.jsx(zM,{TitleProps:{avatar:_.jsx($6,{}),prefix:_.jsx(D6,{}),suffix:_.jsx(y6,{})},children:_.jsxs(FM,{children:[_.jsx(Xa,{path:"/settings",element:_.jsx(w6,{})}),_.jsx(Xa,{path:"/settings/:id",element:_.jsx(_6,{})}),_.jsx(Xa,{path:"/systems",element:_.jsx(z6,{})}),_.jsx(Xa,{path:"/systems/:id",element:_.jsx(M6,{})}),_.jsx(Xa,{path:"/games",element:_.jsx(p6,{})}),_.jsx(Xa,{path:"/games/:id",element:_.jsx(d6,{})}),_.jsx(Xa,{path:"",element:_.jsx(JM,{to:"/systems"})}),_.jsx(Xa,{path:"*",element:_.jsx(HC,{})})]})})})}const j6=n6.createRoot(document.getElementById("zthunworks-romulator"));j6.render(_.jsx(k4.StrictMode,{children:_.jsx(KM,{children:_.jsx(q6,{})})}))});export default B6();